]> git.saurik.com Git - wxWidgets.git/blob - configure
No real changes, just avoid overloaded virtual wxWebView::SetPage().
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37 as_nl='
38 '
39 export as_nl
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in #(
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 '
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
70 fi
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
73 fi
74
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # IFS
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
90 IFS=" "" $as_nl"
91
92 # Find who we are. Look in the path if we contain no directory separator.
93 as_myself=
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
104
105 ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110 as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
141 _as_can_reexec=no; export _as_can_reexec;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
146 BASH_ENV=/dev/null
147 ENV=/dev/null
148 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 case $- in # ((((
150 *v*x* | *x*v* ) as_opts=-vx ;;
151 *v* ) as_opts=-v ;;
152 *x* ) as_opts=-x ;;
153 * ) as_opts= ;;
154 esac
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 as_fn_exit 255
160 fi
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec=; unset _as_can_reexec;}
163 if test "x$CONFIG_SHELL" = x; then
164 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 emulate sh
166 NULLCMD=:
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 setopt NO_GLOB_SUBST
171 else
172 case \`(set -o) 2>/dev/null\` in #(
173 *posix*) :
174 set -o posix ;; #(
175 *) :
176 ;;
177 esac
178 fi
179 "
180 as_required="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
185
186 exitcode=0
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192
193 else
194 exitcode=1; echo positional parameters were not saved.
195 fi
196 test x\$exitcode = x0 || exit 1
197 test -x / || exit 1"
198 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev/null; then :
204 as_have_required=yes
205 else
206 as_have_required=no
207 fi
208 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209
210 else
211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
212 as_found=false
213 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 do
215 IFS=$as_save_IFS
216 test -z "$as_dir" && as_dir=.
217 as_found=:
218 case $as_dir in #(
219 /*)
220 for as_base in sh bash ksh sh5; do
221 # Try only shells that exist, to save several forks.
222 as_shell=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
225 CONFIG_SHELL=$as_shell as_have_required=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
227 break 2
228 fi
229 fi
230 done;;
231 esac
232 as_found=false
233 done
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
237 fi; }
238 IFS=$as_save_IFS
239
240
241 if test "x$CONFIG_SHELL" != x; then :
242 export CONFIG_SHELL
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
247 BASH_ENV=/dev/null
248 ENV=/dev/null
249 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
250 case $- in # ((((
251 *v*x* | *x*v* ) as_opts=-vx ;;
252 *v* ) as_opts=-v ;;
253 *x* ) as_opts=-x ;;
254 * ) as_opts= ;;
255 esac
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 exit 255
261 fi
262
263 if test x$as_have_required = xno; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x${ZSH_VERSION+set} = xset ; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
310 {
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315
316 # as_fn_mkdir_p
317 # -------------
318 # Create "$as_dir" as a directory, including parents if necessary.
319 as_fn_mkdir_p ()
320 {
321
322 case $as_dir in #(
323 -*) as_dir=./$as_dir;;
324 esac
325 test -d "$as_dir" || eval $as_mkdir_p || {
326 as_dirs=
327 while :; do
328 case $as_dir in #(
329 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 *) as_qdir=$as_dir;;
331 esac
332 as_dirs="'$as_qdir' $as_dirs"
333 as_dir=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
340 s//\1/
341 q
342 }
343 /^X\(\/\/\)[^/].*/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)$/{
348 s//\1/
349 q
350 }
351 /^X\(\/\).*/{
352 s//\1/
353 q
354 }
355 s/.*/./; q'`
356 test -d "$as_dir" && break
357 done
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360
361
362 } # as_fn_mkdir_p
363
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p ()
368 {
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
376 # implementations.
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
378 eval 'as_fn_append ()
379 {
380 eval $1+=\$2
381 }'
382 else
383 as_fn_append ()
384 {
385 eval $1=\$$1\$2
386 }
387 fi # as_fn_append
388
389 # as_fn_arith ARG...
390 # ------------------
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
395 eval 'as_fn_arith ()
396 {
397 as_val=$(( $* ))
398 }'
399 else
400 as_fn_arith ()
401 {
402 as_val=`expr "$@" || test $? -eq 1`
403 }
404 fi # as_fn_arith
405
406
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
412 as_fn_error ()
413 {
414 as_status=$1; test $as_status -eq 0 && as_status=1
415 if test "$4"; then
416 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 fi
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit $as_status
421 } # as_fn_error
422
423 if expr a : '\(a\)' >/dev/null 2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 as_expr=expr
426 else
427 as_expr=false
428 fi
429
430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 as_basename=basename
432 else
433 as_basename=false
434 fi
435
436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_dirname=dirname
438 else
439 as_dirname=false
440 fi
441
442 as_me=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 $as_echo X/"$0" |
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
448 s//\1/
449 q
450 }
451 /^X\/\(\/\/\)$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\).*/{
456 s//\1/
457 q
458 }
459 s/.*/./; q'`
460
461 # Avoid depending upon Character Ranges.
462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits='0123456789'
466 as_cr_alnum=$as_cr_Letters$as_cr_digits
467
468
469 as_lineno_1=$LINENO as_lineno_1a=$LINENO
470 as_lineno_2=$LINENO as_lineno_2a=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
474 sed -n '
475 p
476 /[$]LINENO/=
477 ' <$as_myself |
478 sed '
479 s/[$]LINENO.*/&-/
480 t lineno
481 b
482 :lineno
483 N
484 :loop
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
486 t loop
487 s/-\n.*//
488 ' >$as_me.lineno &&
489 chmod +x "$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec=no; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
499 . "./$as_me.lineno"
500 # Exit status is that of the last command.
501 exit
502 }
503
504 ECHO_C= ECHO_N= ECHO_T=
505 case `echo -n x` in #(((((
506 -n*)
507 case `echo 'xy\c'` in
508 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
509 xy) ECHO_C='\c';;
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
511 ECHO_T=' ';;
512 esac;;
513 *)
514 ECHO_N='-n';;
515 esac
516
517 rm -f conf$$ conf$$.exe conf$$.file
518 if test -d conf$$.dir; then
519 rm -f conf$$.dir/conf$$.file
520 else
521 rm -f conf$$.dir
522 mkdir conf$$.dir 2>/dev/null
523 fi
524 if (echo >conf$$.file) 2>/dev/null; then
525 if ln -s conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s='ln -s'
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
532 as_ln_s='cp -pR'
533 elif ln conf$$.file conf$$ 2>/dev/null; then
534 as_ln_s=ln
535 else
536 as_ln_s='cp -pR'
537 fi
538 else
539 as_ln_s='cp -pR'
540 fi
541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
542 rmdir conf$$.dir 2>/dev/null
543
544 if mkdir -p . 2>/dev/null; then
545 as_mkdir_p='mkdir -p "$as_dir"'
546 else
547 test -d ./-p && rmdir ./-p
548 as_mkdir_p=false
549 fi
550
551 as_test_x='test -x'
552 as_executable_p=as_fn_executable_p
553
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559
560
561 test -n "$DJDIR" || exec 7<&0 </dev/null
562 exec 6>&1
563
564 # Name of the host.
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568
569 #
570 # Initializations.
571 #
572 ac_default_prefix=/usr/local
573 ac_clean_files=
574 ac_config_libobj_dir=.
575 LIBOBJS=
576 cross_compiling=no
577 subdirs=
578 MFLAGS=
579 MAKEFLAGS=
580
581 # Identity of this package.
582 PACKAGE_NAME='wxWidgets'
583 PACKAGE_TARNAME='wxwidgets'
584 PACKAGE_VERSION='2.9.5'
585 PACKAGE_STRING='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
587 PACKAGE_URL=''
588
589 ac_unique_file="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default="\
592 #include <stdio.h>
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
595 #endif
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
598 #endif
599 #ifdef STDC_HEADERS
600 # include <stdlib.h>
601 # include <stddef.h>
602 #else
603 # ifdef HAVE_STDLIB_H
604 # include <stdlib.h>
605 # endif
606 #endif
607 #ifdef HAVE_STRING_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 # include <memory.h>
610 # endif
611 # include <string.h>
612 #endif
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
615 #endif
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
618 #endif
619 #ifdef HAVE_STDINT_H
620 # include <stdint.h>
621 #endif
622 #ifdef HAVE_UNISTD_H
623 # include <unistd.h>
624 #endif"
625
626 enable_option_checking=no
627 ac_subst_vars='LTLIBOBJS
628 LIBOBJS
629 CPPUNIT_CONFIG
630 DLLTOOL
631 GCC
632 MACSETFILE
633 POSTLINK_COMMAND
634 LIBWXMACRES
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
637 RESPROGRAMOBJ
638 RESFLAGS
639 RESCOMP
640 WX_VERSION_TAG
641 DMALLOC_LIBS
642 OPENGL_LIBS
643 LDFLAGS_GL
644 SAMPLES_SUBDIRS
645 DISTDIR
646 GUIDIST
647 WXCONFIG_RESFLAGS
648 WXCONFIG_LDFLAGS_GUI
649 WXCONFIG_LDFLAGS
650 WXCONFIG_RPATH
651 WXCONFIG_LIBS
652 WXCONFIG_CXXFLAGS
653 WXCONFIG_CFLAGS
654 WXCONFIG_CPPFLAGS
655 WX_CHARTYPE
656 WX_SUBVERSION
657 WX_VERSION
658 WX_RELEASE
659 WIDGET_SET
660 cross_compiling
661 TOOLCHAIN_FULLNAME
662 TOOLCHAIN_NAME
663 TOOLKIT_DIR
664 TOOLKIT
665 WIN32INSTALL
666 AFMINSTALL
667 USE_GUI
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
670 SHARED
671 DEREZ
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
678 COND_WXUSE_ZLIB_BUILTIN
679 COND_WXUSE_REGEX_BUILTIN
680 COND_WXUSE_LIBTIFF_BUILTIN
681 COND_WXUSE_LIBPNG_BUILTIN
682 COND_WXUSE_LIBJPEG_BUILTIN
683 COND_WXUSE_EXPAT_BUILTIN
684 COND_WXUNIV_1
685 COND_WXUNIV_0
686 COND_WITH_PLUGIN_SDL_1
687 COND_WINDOWS_IMPLIB_1
688 COND_USE_XRC_1
689 COND_USE_THREADS_1
690 COND_USE_THREADS_0
691 COND_USE_STC_1
692 COND_USE_SOVERSOLARIS_1
693 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
694 COND_USE_SOVERSION_0
695 COND_USE_SOVERLINUX_1
696 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
697 COND_USE_SOTWOSYMLINKS_1
698 COND_USE_RTTI_1
699 COND_USE_RTTI_0
700 COND_USE_PLUGINS_0
701 COND_USE_PCH_1
702 COND_USE_OPENGL_1
703 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
704 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
705 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
706 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
708 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
709 COND_USE_GUI_1_WXUNIV_1
710 COND_USE_GUI_1_WXUNIV_0
711 COND_USE_GUI_1_USE_OPENGL_1
712 COND_USE_GUI_1
713 COND_USE_GUI_0
714 COND_USE_EXCEPTIONS_1
715 COND_USE_EXCEPTIONS_0
716 COND_USE_CAIRO_1
717 COND_UNICODE_1
718 COND_TOOLKIT_X11_USE_GUI_1
719 COND_TOOLKIT_X11
720 COND_TOOLKIT_WINCE_WXUNIV_0
721 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
722 COND_TOOLKIT_WINCE_USE_GUI_1
723 COND_TOOLKIT_WINCE
724 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_PM_USE_GUI_1
726 COND_TOOLKIT_PM
727 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
728 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
729 COND_TOOLKIT_OSX_IPHONE
730 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
731 COND_TOOLKIT_OSX_COCOA
732 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
733 COND_TOOLKIT_OSX_CARBON
734 COND_TOOLKIT_MSW_WXUNIV_0
735 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
736 COND_TOOLKIT_MSW_USE_GUI_1
737 COND_TOOLKIT_MSW
738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
739 COND_TOOLKIT_MOTIF_USE_GUI_1
740 COND_TOOLKIT_MOTIF
741 COND_TOOLKIT_MAC
742 COND_TOOLKIT_GTK_USE_GUI_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
747 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
750 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
752 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
753 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
754 COND_TOOLKIT_GTK
755 COND_TOOLKIT_DFB_USE_GUI_1
756 COND_TOOLKIT_DFB
757 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
758 COND_TOOLKIT_COCOA_USE_GUI_1
759 COND_TOOLKIT_COCOA
760 COND_TOOLKIT_
761 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
762 COND_SHARED_1
763 COND_SHARED_0_wxUSE_ZLIB_builtin
764 COND_SHARED_0_wxUSE_REGEX_builtin
765 COND_SHARED_0_wxUSE_EXPAT_builtin
766 COND_SHARED_0_USE_STC_1
767 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
769 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
770 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
771 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
772 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
773 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
774 COND_SHARED_0
775 COND_PLATFORM_WIN32_1_SHARED_0
776 COND_PLATFORM_WIN32_1
777 COND_PLATFORM_WIN32_0
778 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
779 COND_PLATFORM_UNIX_1_USE_GUI_1
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
782 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
783 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
784 COND_PLATFORM_UNIX_1
785 COND_PLATFORM_UNIX_0
786 COND_PLATFORM_OS2_1
787 COND_PLATFORM_MSDOS_1
788 COND_PLATFORM_MSDOS_0
789 COND_PLATFORM_MAC_1
790 COND_PLATFORM_MAC_0
791 COND_PLATFORM_MACOS_1
792 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
793 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
794 COND_PLATFORM_MACOSX_1_USE_GUI_1
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
798 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
800 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
802 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
804 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
805 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
806 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
807 COND_PLATFORM_MACOSX_1
808 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
809 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
810 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
811 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
812 COND_MONOLITHIC_1_SHARED_1
813 COND_MONOLITHIC_1_SHARED_0
814 COND_MONOLITHIC_1
815 COND_MONOLITHIC_0_USE_XRC_1
816 COND_MONOLITHIC_0_USE_WEBVIEW_1
817 COND_MONOLITHIC_0_USE_STC_1
818 COND_MONOLITHIC_0_USE_RICHTEXT_1
819 COND_MONOLITHIC_0_USE_RIBBON_1
820 COND_MONOLITHIC_0_USE_QA_1
821 COND_MONOLITHIC_0_USE_PROPGRID_1
822 COND_MONOLITHIC_0_USE_MEDIA_1
823 COND_MONOLITHIC_0_USE_HTML_1
824 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
825 COND_MONOLITHIC_0_USE_GUI_1
826 COND_MONOLITHIC_0_USE_AUI_1
827 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
828 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
829 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
830 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
831 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
835 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
840 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
841 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
842 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
843 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
850 COND_MONOLITHIC_0_SHARED_0
851 COND_MONOLITHIC_0
852 COND_ICC_PCH_1
853 COND_GCC_PCH_1
854 COND_DEPS_TRACKING_1
855 COND_DEPS_TRACKING_0
856 COND_DEBUG_INFO_1
857 COND_DEBUG_INFO_0
858 COND_DEBUG_FLAG_1
859 COND_DEBUG_FLAG_0
860 COND_BUILD_release_UNICODE_1
861 COND_BUILD_release_UNICODE_0
862 COND_BUILD_release_DEBUG_INFO_default
863 COND_BUILD_release
864 COND_BUILD_debug_UNICODE_1
865 COND_BUILD_debug_UNICODE_0
866 COND_BUILD_debug_DEBUG_INFO_default
867 COND_BUILD_debug_DEBUG_FLAG_default
868 COND_BUILD_debug
869 COND_BUILD_RELEASE_UNICODE_1
870 COND_BUILD_RELEASE_UNICODE_0
871 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
872 COND_BUILD_RELEASE
873 COND_BUILD_DEBUG_UNICODE_1
874 COND_BUILD_DEBUG_UNICODE_0
875 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
876 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
877 COND_BUILD_DEBUG
878 BK_MAKE_PCH
879 ICC_PCH_USE_SWITCH
880 ICC_PCH_CREATE_SWITCH
881 ICC_PCH
882 GCC_PCH
883 OBJCXXFLAGS
884 SETFILE
885 REZ
886 WINDRES
887 BK_DEPS
888 DEPS_TRACKING
889 SONAME_FLAG
890 USE_SOTWOSYMLINKS
891 USE_MACVERSION
892 USE_SOVERCYGWIN
893 USE_SOVERSOLARIS
894 USE_SOVERLINUX
895 USE_SOVERSION
896 WINDOWS_IMPLIB
897 PIC_FLAG
898 SHARED_LD_MODULE_CXX
899 SHARED_LD_MODULE_CC
900 SHARED_LD_CXX
901 SHARED_LD_CC
902 AIX_CXX_LD
903 dlldir
904 DLLPREFIX_MODULE
905 DLLPREFIX
906 LIBEXT
907 LIBPREFIX
908 DLLIMP_SUFFIX
909 SO_SUFFIX_MODULE
910 SO_SUFFIX
911 PLATFORM_BEOS
912 PLATFORM_OS2
913 PLATFORM_MACOSX
914 PLATFORM_MACOS
915 PLATFORM_MAC
916 PLATFORM_MSDOS
917 PLATFORM_WIN32
918 PLATFORM_UNIX
919 IF_GNU_MAKE
920 LDFLAGS_GUI
921 INSTALL_DIR
922 NM
923 STRIP
924 AROPTIONS
925 MAKE_SET
926 SET_MAKE
927 LN_S
928 INSTALL_DATA
929 INSTALL_SCRIPT
930 INSTALL_PROGRAM
931 RANLIB
932 CPPUNIT_LIBS
933 CPPUNIT_CFLAGS
934 HOST_SUFFIX
935 HEADER_PAD_OPTION
936 SAMPLES_RPATH_FLAG
937 DYLIB_RPATH_POSTLINK
938 DYLIB_RPATH_INSTALL
939 TOOLKIT_VERSION
940 TOOLKIT_LOWERCASE
941 DEBUG_FLAG
942 DEBUG_INFO
943 UNICODE
944 EXTRALIBS_HILDON
945 EXTRALIBS_GNOMEVFS
946 EXTRALIBS_GNOMEPRINT
947 EXTRALIBS_GTKPRINT
948 WITH_PLUGIN_SDL
949 EXTRALIBS_STC
950 EXTRALIBS_SDL
951 EXTRALIBS_OPENGL
952 EXTRALIBS_GUI
953 EXTRALIBS_MEDIA
954 EXTRALIBS_HTML
955 EXTRALIBS_XML
956 EXTRALIBS
957 CXXWARNINGS
958 USE_PLUGINS
959 MONOLITHIC
960 WXUNIV
961 WX_LIB_FLAVOUR
962 WX_FLAVOUR
963 OFFICIAL_BUILD
964 VENDOR
965 wxUSE_LIBTIFF
966 wxUSE_LIBPNG
967 wxUSE_LIBJPEG
968 wxUSE_EXPAT
969 wxUSE_REGEX
970 wxUSE_ZLIB
971 STD_GUI_LIBS
972 STD_BASE_LIBS
973 BUILT_WX_LIBS
974 ALL_WX_LIBS
975 GST_LIBS
976 GST_CFLAGS
977 CAIRO_LIBS
978 CAIRO_CFLAGS
979 WEBKIT_LIBS
980 WEBKIT_CFLAGS
981 COND_PYTHON
982 PYTHON
983 HILDON2_LIBS
984 HILDON2_CFLAGS
985 HILDON_LIBS
986 HILDON_CFLAGS
987 GNOMEVFS_LIBS
988 GNOMEVFS_CFLAGS
989 LIBGNOMEPRINTUI_LIBS
990 LIBGNOMEPRINTUI_CFLAGS
991 GTKPRINT_LIBS
992 GTKPRINT_CFLAGS
993 SDL_LIBS
994 SDL_CFLAGS
995 SDL_CONFIG
996 GXX_VERSION
997 LIBICONV
998 CXXFLAGS_VISIBILITY
999 CFLAGS_VISIBILITY
1000 MesaGL_LIBS
1001 MesaGL_CFLAGS
1002 GLU_LIBS
1003 GLU_CFLAGS
1004 GL_LIBS
1005 GL_CFLAGS
1006 SM_LIBS
1007 SM_CFLAGS
1008 Xxf86vm_LIBS
1009 Xxf86vm_CFLAGS
1010 Xinerama_LIBS
1011 Xinerama_CFLAGS
1012 PANGOXFT_LIBS
1013 PANGOXFT_CFLAGS
1014 PANGOFT2_LIBS
1015 PANGOFT2_CFLAGS
1016 PANGOX_LIBS
1017 PANGOX_CFLAGS
1018 X_EXTRA_LIBS
1019 X_LIBS
1020 X_PRE_LIBS
1021 X_CFLAGS
1022 XMKMF
1023 DIRECTFB_LIBS
1024 DIRECTFB_CFLAGS
1025 GTK_CONFIG
1026 GTK_LIBS
1027 GTK_CFLAGS
1028 PKG_CONFIG
1029 subdirs
1030 CXXCPP
1031 AR
1032 ac_ct_CXX
1033 CXXFLAGS
1034 CXX
1035 EGREP
1036 GREP
1037 CPP
1038 OBJEXT
1039 EXEEXT
1040 ac_ct_CC
1041 CPPFLAGS
1042 LDFLAGS
1043 CFLAGS
1044 CC
1045 wx_top_builddir
1046 host_os
1047 host_vendor
1048 host_cpu
1049 host
1050 build_os
1051 build_vendor
1052 build_cpu
1053 build
1054 target_alias
1055 host_alias
1056 build_alias
1057 LIBS
1058 ECHO_T
1059 ECHO_N
1060 ECHO_C
1061 DEFS
1062 mandir
1063 localedir
1064 libdir
1065 psdir
1066 pdfdir
1067 dvidir
1068 htmldir
1069 infodir
1070 docdir
1071 oldincludedir
1072 includedir
1073 localstatedir
1074 sharedstatedir
1075 sysconfdir
1076 datadir
1077 datarootdir
1078 libexecdir
1079 sbindir
1080 bindir
1081 program_transform_name
1082 prefix
1083 exec_prefix
1084 PACKAGE_URL
1085 PACKAGE_BUGREPORT
1086 PACKAGE_STRING
1087 PACKAGE_VERSION
1088 PACKAGE_TARNAME
1089 PACKAGE_NAME
1090 PATH_SEPARATOR
1091 SHELL'
1092 ac_subst_files=''
1093 ac_user_opts='
1094 enable_option_checking
1095 enable_gui
1096 enable_monolithic
1097 enable_plugins
1098 with_subdirs
1099 with_flavour
1100 enable_official_build
1101 enable_vendor
1102 enable_all_features
1103 enable_universal
1104 with_themes
1105 with_gtk
1106 with_motif
1107 with_osx_carbon
1108 with_osx_cocoa
1109 with_osx_iphone
1110 with_osx
1111 with_carbon
1112 with_cocoa
1113 with_iphone
1114 with_mac
1115 with_old_cocoa
1116 with_wine
1117 with_msw
1118 with_pm
1119 with_directfb
1120 with_microwin
1121 with_x11
1122 enable_nanox
1123 enable_gpe
1124 with_libpng
1125 with_libjpeg
1126 with_libtiff
1127 with_libxpm
1128 with_libiconv
1129 with_libmspack
1130 with_gtkprint
1131 with_gnomeprint
1132 with_gnomevfs
1133 with_hildon
1134 with_opengl
1135 with_dmalloc
1136 with_sdl
1137 with_regex
1138 with_zlib
1139 with_expat
1140 with_macosx_sdk
1141 with_macosx_version_min
1142 enable_debug
1143 enable_debug_flag
1144 enable_debug_info
1145 enable_debug_gdb
1146 enable_debug_cntxt
1147 enable_mem_tracing
1148 enable_shared
1149 enable_stl
1150 enable_std_containers
1151 enable_std_iostreams
1152 enable_std_string
1153 enable_std_string_conv_in_wxstring
1154 enable_unicode
1155 enable_mslu
1156 enable_utf8
1157 enable_utf8only
1158 enable_extended_rtti
1159 enable_omf
1160 enable_optimise
1161 enable_profile
1162 enable_no_rtti
1163 enable_no_exceptions
1164 enable_permissive
1165 enable_no_deps
1166 enable_vararg_macros
1167 enable_universal_binary
1168 enable_macosx_arch
1169 enable_compat26
1170 enable_compat28
1171 enable_rpath
1172 enable_objc_uniquifying
1173 enable_visibility
1174 enable_tls
1175 enable_intl
1176 enable_xlocale
1177 enable_config
1178 enable_protocols
1179 enable_ftp
1180 enable_http
1181 enable_fileproto
1182 enable_sockets
1183 enable_ipv6
1184 enable_ole
1185 enable_dataobj
1186 enable_ipc
1187 enable_baseevtloop
1188 enable_epollloop
1189 enable_selectloop
1190 enable_any
1191 enable_apple_ieee
1192 enable_arcstream
1193 enable_base64
1194 enable_backtrace
1195 enable_catch_segvs
1196 enable_cmdline
1197 enable_datetime
1198 enable_debugreport
1199 enable_dialupman
1200 enable_dynlib
1201 enable_dynamicloader
1202 enable_exceptions
1203 enable_ffile
1204 enable_file
1205 enable_filehistory
1206 enable_filesystem
1207 enable_fontenum
1208 enable_fontmap
1209 enable_fs_archive
1210 enable_fs_inet
1211 enable_fs_zip
1212 enable_fswatcher
1213 enable_geometry
1214 enable_log
1215 enable_longlong
1216 enable_mimetype
1217 enable_printfposparam
1218 enable_snglinst
1219 enable_sound
1220 enable_stdpaths
1221 enable_stopwatch
1222 enable_streams
1223 enable_sysoptions
1224 enable_tarstream
1225 enable_textbuf
1226 enable_textfile
1227 enable_timer
1228 enable_variant
1229 enable_zipstream
1230 enable_url
1231 enable_protocol
1232 enable_protocol_http
1233 enable_protocol_ftp
1234 enable_protocol_file
1235 enable_threads
1236 enable_iniconf
1237 enable_regkey
1238 enable_docview
1239 enable_help
1240 enable_mshtmlhelp
1241 enable_html
1242 enable_htmlhelp
1243 enable_xrc
1244 enable_aui
1245 enable_propgrid
1246 enable_ribbon
1247 enable_stc
1248 enable_constraints
1249 enable_loggui
1250 enable_logwin
1251 enable_logdialog
1252 enable_mdi
1253 enable_mdidoc
1254 enable_mediactrl
1255 enable_gstreamer8
1256 enable_richtext
1257 enable_postscript
1258 enable_printarch
1259 enable_svg
1260 enable_webkit
1261 enable_webview
1262 enable_graphics_ctx
1263 enable_clipboard
1264 enable_dnd
1265 enable_controls
1266 enable_markup
1267 enable_accel
1268 enable_animatectrl
1269 enable_bannerwindow
1270 enable_artstd
1271 enable_arttango
1272 enable_bmpbutton
1273 enable_bmpcombobox
1274 enable_button
1275 enable_calendar
1276 enable_caret
1277 enable_checkbox
1278 enable_checklst
1279 enable_choice
1280 enable_choicebook
1281 enable_collpane
1282 enable_colourpicker
1283 enable_combobox
1284 enable_comboctrl
1285 enable_commandlinkbutton
1286 enable_dataviewctrl
1287 enable_datepick
1288 enable_detect_sm
1289 enable_dirpicker
1290 enable_display
1291 enable_editablebox
1292 enable_filectrl
1293 enable_filepicker
1294 enable_fontpicker
1295 enable_gauge
1296 enable_grid
1297 enable_headerctrl
1298 enable_hyperlink
1299 enable_imaglist
1300 enable_infobar
1301 enable_listbook
1302 enable_listbox
1303 enable_listctrl
1304 enable_notebook
1305 enable_notifmsg
1306 enable_odcombobox
1307 enable_popupwin
1308 enable_radiobox
1309 enable_radiobtn
1310 enable_richmsgdlg
1311 enable_richtooltip
1312 enable_rearrangectrl
1313 enable_sash
1314 enable_scrollbar
1315 enable_searchctrl
1316 enable_slider
1317 enable_spinbtn
1318 enable_spinctrl
1319 enable_splitter
1320 enable_statbmp
1321 enable_statbox
1322 enable_statline
1323 enable_stattext
1324 enable_statusbar
1325 enable_taskbaricon
1326 enable_tbarnative
1327 enable_textctrl
1328 enable_tipwindow
1329 enable_togglebtn
1330 enable_toolbar
1331 enable_toolbook
1332 enable_treebook
1333 enable_treectrl
1334 enable_treelist
1335 enable_commondlg
1336 enable_aboutdlg
1337 enable_choicedlg
1338 enable_coldlg
1339 enable_filedlg
1340 enable_finddlg
1341 enable_fontdlg
1342 enable_dirdlg
1343 enable_msgdlg
1344 enable_numberdlg
1345 enable_splash
1346 enable_textdlg
1347 enable_tipdlg
1348 enable_progressdlg
1349 enable_wizarddlg
1350 enable_menus
1351 enable_miniframe
1352 enable_tooltips
1353 enable_splines
1354 enable_mousewheel
1355 enable_validators
1356 enable_busyinfo
1357 enable_hotkey
1358 enable_joystick
1359 enable_metafile
1360 enable_dragimage
1361 enable_accessibility
1362 enable_uiactionsim
1363 enable_dctransform
1364 enable_webviewwebkit
1365 enable_palette
1366 enable_image
1367 enable_gif
1368 enable_pcx
1369 enable_tga
1370 enable_iff
1371 enable_pnm
1372 enable_xpm
1373 enable_ico_cur
1374 enable_dccache
1375 enable_ps_in_msw
1376 enable_ownerdrawn
1377 enable_uxtheme
1378 enable_wxdib
1379 enable_webviewie
1380 enable_autoidman
1381 enable_largefile
1382 enable_gtktest
1383 with_gtk_prefix
1384 with_gtk_exec_prefix
1385 with_x
1386 with_libiconv_prefix
1387 with_sdl_prefix
1388 with_sdl_exec_prefix
1389 enable_sdltest
1390 enable_dependency_tracking
1391 enable_precomp_headers
1392 with_cppunit_prefix
1393 with_cppunit_exec_prefix
1394 '
1395 ac_precious_vars='build_alias
1396 host_alias
1397 target_alias
1398 CC
1399 CFLAGS
1400 LDFLAGS
1401 LIBS
1402 CPPFLAGS
1403 CPP
1404 CXX
1405 CXXFLAGS
1406 CCC
1407 CXXCPP
1408 PKG_CONFIG
1409 DIRECTFB_CFLAGS
1410 DIRECTFB_LIBS
1411 XMKMF
1412 PANGOX_CFLAGS
1413 PANGOX_LIBS
1414 PANGOFT2_CFLAGS
1415 PANGOFT2_LIBS
1416 PANGOXFT_CFLAGS
1417 PANGOXFT_LIBS
1418 Xinerama_CFLAGS
1419 Xinerama_LIBS
1420 Xxf86vm_CFLAGS
1421 Xxf86vm_LIBS
1422 SM_CFLAGS
1423 SM_LIBS
1424 GL_CFLAGS
1425 GL_LIBS
1426 GLU_CFLAGS
1427 GLU_LIBS
1428 MesaGL_CFLAGS
1429 MesaGL_LIBS
1430 GTKPRINT_CFLAGS
1431 GTKPRINT_LIBS
1432 LIBGNOMEPRINTUI_CFLAGS
1433 LIBGNOMEPRINTUI_LIBS
1434 GNOMEVFS_CFLAGS
1435 GNOMEVFS_LIBS
1436 HILDON_CFLAGS
1437 HILDON_LIBS
1438 HILDON2_CFLAGS
1439 HILDON2_LIBS
1440 WEBKIT_CFLAGS
1441 WEBKIT_LIBS
1442 CAIRO_CFLAGS
1443 CAIRO_LIBS
1444 GST_CFLAGS
1445 GST_LIBS'
1446 ac_subdirs_all='src/tiff
1447 src/expat'
1448
1449 # Initialize some variables set by options.
1450 ac_init_help=
1451 ac_init_version=false
1452 ac_unrecognized_opts=
1453 ac_unrecognized_sep=
1454 # The variables have the same names as the options, with
1455 # dashes changed to underlines.
1456 cache_file=/dev/null
1457 exec_prefix=NONE
1458 no_create=
1459 no_recursion=
1460 prefix=NONE
1461 program_prefix=NONE
1462 program_suffix=NONE
1463 program_transform_name=s,x,x,
1464 silent=
1465 site=
1466 srcdir=
1467 verbose=
1468 x_includes=NONE
1469 x_libraries=NONE
1470
1471 # Installation directory options.
1472 # These are left unexpanded so users can "make install exec_prefix=/foo"
1473 # and all the variables that are supposed to be based on exec_prefix
1474 # by default will actually change.
1475 # Use braces instead of parens because sh, perl, etc. also accept them.
1476 # (The list follows the same order as the GNU Coding Standards.)
1477 bindir='${exec_prefix}/bin'
1478 sbindir='${exec_prefix}/sbin'
1479 libexecdir='${exec_prefix}/libexec'
1480 datarootdir='${prefix}/share'
1481 datadir='${datarootdir}'
1482 sysconfdir='${prefix}/etc'
1483 sharedstatedir='${prefix}/com'
1484 localstatedir='${prefix}/var'
1485 includedir='${prefix}/include'
1486 oldincludedir='/usr/include'
1487 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1488 infodir='${datarootdir}/info'
1489 htmldir='${docdir}'
1490 dvidir='${docdir}'
1491 pdfdir='${docdir}'
1492 psdir='${docdir}'
1493 libdir='${exec_prefix}/lib'
1494 localedir='${datarootdir}/locale'
1495 mandir='${datarootdir}/man'
1496
1497 ac_prev=
1498 ac_dashdash=
1499 for ac_option
1500 do
1501 # If the previous option needs an argument, assign it.
1502 if test -n "$ac_prev"; then
1503 eval $ac_prev=\$ac_option
1504 ac_prev=
1505 continue
1506 fi
1507
1508 case $ac_option in
1509 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1510 *=) ac_optarg= ;;
1511 *) ac_optarg=yes ;;
1512 esac
1513
1514 # Accept the important Cygnus configure options, so we can diagnose typos.
1515
1516 case $ac_dashdash$ac_option in
1517 --)
1518 ac_dashdash=yes ;;
1519
1520 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1521 ac_prev=bindir ;;
1522 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1523 bindir=$ac_optarg ;;
1524
1525 -build | --build | --buil | --bui | --bu)
1526 ac_prev=build_alias ;;
1527 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1528 build_alias=$ac_optarg ;;
1529
1530 -cache-file | --cache-file | --cache-fil | --cache-fi \
1531 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1532 ac_prev=cache_file ;;
1533 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1534 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1535 cache_file=$ac_optarg ;;
1536
1537 --config-cache | -C)
1538 cache_file=config.cache ;;
1539
1540 -datadir | --datadir | --datadi | --datad)
1541 ac_prev=datadir ;;
1542 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1543 datadir=$ac_optarg ;;
1544
1545 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1546 | --dataroo | --dataro | --datar)
1547 ac_prev=datarootdir ;;
1548 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1549 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1550 datarootdir=$ac_optarg ;;
1551
1552 -disable-* | --disable-*)
1553 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1554 # Reject names that are not valid shell variable names.
1555 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1556 as_fn_error $? "invalid feature name: $ac_useropt"
1557 ac_useropt_orig=$ac_useropt
1558 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1559 case $ac_user_opts in
1560 *"
1561 "enable_$ac_useropt"
1562 "*) ;;
1563 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1564 ac_unrecognized_sep=', ';;
1565 esac
1566 eval enable_$ac_useropt=no ;;
1567
1568 -docdir | --docdir | --docdi | --doc | --do)
1569 ac_prev=docdir ;;
1570 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1571 docdir=$ac_optarg ;;
1572
1573 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1574 ac_prev=dvidir ;;
1575 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1576 dvidir=$ac_optarg ;;
1577
1578 -enable-* | --enable-*)
1579 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1580 # Reject names that are not valid shell variable names.
1581 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1582 as_fn_error $? "invalid feature name: $ac_useropt"
1583 ac_useropt_orig=$ac_useropt
1584 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1585 case $ac_user_opts in
1586 *"
1587 "enable_$ac_useropt"
1588 "*) ;;
1589 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1590 ac_unrecognized_sep=', ';;
1591 esac
1592 eval enable_$ac_useropt=\$ac_optarg ;;
1593
1594 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1595 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1596 | --exec | --exe | --ex)
1597 ac_prev=exec_prefix ;;
1598 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1599 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1600 | --exec=* | --exe=* | --ex=*)
1601 exec_prefix=$ac_optarg ;;
1602
1603 -gas | --gas | --ga | --g)
1604 # Obsolete; use --with-gas.
1605 with_gas=yes ;;
1606
1607 -help | --help | --hel | --he | -h)
1608 ac_init_help=long ;;
1609 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1610 ac_init_help=recursive ;;
1611 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1612 ac_init_help=short ;;
1613
1614 -host | --host | --hos | --ho)
1615 ac_prev=host_alias ;;
1616 -host=* | --host=* | --hos=* | --ho=*)
1617 host_alias=$ac_optarg ;;
1618
1619 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1620 ac_prev=htmldir ;;
1621 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1622 | --ht=*)
1623 htmldir=$ac_optarg ;;
1624
1625 -includedir | --includedir | --includedi | --included | --include \
1626 | --includ | --inclu | --incl | --inc)
1627 ac_prev=includedir ;;
1628 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1629 | --includ=* | --inclu=* | --incl=* | --inc=*)
1630 includedir=$ac_optarg ;;
1631
1632 -infodir | --infodir | --infodi | --infod | --info | --inf)
1633 ac_prev=infodir ;;
1634 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1635 infodir=$ac_optarg ;;
1636
1637 -libdir | --libdir | --libdi | --libd)
1638 ac_prev=libdir ;;
1639 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1640 libdir=$ac_optarg ;;
1641
1642 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1643 | --libexe | --libex | --libe)
1644 ac_prev=libexecdir ;;
1645 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1646 | --libexe=* | --libex=* | --libe=*)
1647 libexecdir=$ac_optarg ;;
1648
1649 -localedir | --localedir | --localedi | --localed | --locale)
1650 ac_prev=localedir ;;
1651 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1652 localedir=$ac_optarg ;;
1653
1654 -localstatedir | --localstatedir | --localstatedi | --localstated \
1655 | --localstate | --localstat | --localsta | --localst | --locals)
1656 ac_prev=localstatedir ;;
1657 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1658 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1659 localstatedir=$ac_optarg ;;
1660
1661 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1662 ac_prev=mandir ;;
1663 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1664 mandir=$ac_optarg ;;
1665
1666 -nfp | --nfp | --nf)
1667 # Obsolete; use --without-fp.
1668 with_fp=no ;;
1669
1670 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1671 | --no-cr | --no-c | -n)
1672 no_create=yes ;;
1673
1674 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1675 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1676 no_recursion=yes ;;
1677
1678 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1679 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1680 | --oldin | --oldi | --old | --ol | --o)
1681 ac_prev=oldincludedir ;;
1682 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1683 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1684 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1685 oldincludedir=$ac_optarg ;;
1686
1687 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1688 ac_prev=prefix ;;
1689 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1690 prefix=$ac_optarg ;;
1691
1692 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1693 | --program-pre | --program-pr | --program-p)
1694 ac_prev=program_prefix ;;
1695 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1696 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1697 program_prefix=$ac_optarg ;;
1698
1699 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1700 | --program-suf | --program-su | --program-s)
1701 ac_prev=program_suffix ;;
1702 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1703 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1704 program_suffix=$ac_optarg ;;
1705
1706 -program-transform-name | --program-transform-name \
1707 | --program-transform-nam | --program-transform-na \
1708 | --program-transform-n | --program-transform- \
1709 | --program-transform | --program-transfor \
1710 | --program-transfo | --program-transf \
1711 | --program-trans | --program-tran \
1712 | --progr-tra | --program-tr | --program-t)
1713 ac_prev=program_transform_name ;;
1714 -program-transform-name=* | --program-transform-name=* \
1715 | --program-transform-nam=* | --program-transform-na=* \
1716 | --program-transform-n=* | --program-transform-=* \
1717 | --program-transform=* | --program-transfor=* \
1718 | --program-transfo=* | --program-transf=* \
1719 | --program-trans=* | --program-tran=* \
1720 | --progr-tra=* | --program-tr=* | --program-t=*)
1721 program_transform_name=$ac_optarg ;;
1722
1723 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1724 ac_prev=pdfdir ;;
1725 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1726 pdfdir=$ac_optarg ;;
1727
1728 -psdir | --psdir | --psdi | --psd | --ps)
1729 ac_prev=psdir ;;
1730 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1731 psdir=$ac_optarg ;;
1732
1733 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1734 | -silent | --silent | --silen | --sile | --sil)
1735 silent=yes ;;
1736
1737 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1738 ac_prev=sbindir ;;
1739 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1740 | --sbi=* | --sb=*)
1741 sbindir=$ac_optarg ;;
1742
1743 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1744 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1745 | --sharedst | --shareds | --shared | --share | --shar \
1746 | --sha | --sh)
1747 ac_prev=sharedstatedir ;;
1748 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1749 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1750 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1751 | --sha=* | --sh=*)
1752 sharedstatedir=$ac_optarg ;;
1753
1754 -site | --site | --sit)
1755 ac_prev=site ;;
1756 -site=* | --site=* | --sit=*)
1757 site=$ac_optarg ;;
1758
1759 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1760 ac_prev=srcdir ;;
1761 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1762 srcdir=$ac_optarg ;;
1763
1764 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1765 | --syscon | --sysco | --sysc | --sys | --sy)
1766 ac_prev=sysconfdir ;;
1767 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1768 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1769 sysconfdir=$ac_optarg ;;
1770
1771 -target | --target | --targe | --targ | --tar | --ta | --t)
1772 ac_prev=target_alias ;;
1773 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1774 target_alias=$ac_optarg ;;
1775
1776 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1777 verbose=yes ;;
1778
1779 -version | --version | --versio | --versi | --vers | -V)
1780 ac_init_version=: ;;
1781
1782 -with-* | --with-*)
1783 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1786 as_fn_error $? "invalid package name: $ac_useropt"
1787 ac_useropt_orig=$ac_useropt
1788 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1790 *"
1791 "with_$ac_useropt"
1792 "*) ;;
1793 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1794 ac_unrecognized_sep=', ';;
1795 esac
1796 eval with_$ac_useropt=\$ac_optarg ;;
1797
1798 -without-* | --without-*)
1799 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1800 # Reject names that are not valid shell variable names.
1801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1802 as_fn_error $? "invalid package name: $ac_useropt"
1803 ac_useropt_orig=$ac_useropt
1804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1805 case $ac_user_opts in
1806 *"
1807 "with_$ac_useropt"
1808 "*) ;;
1809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1810 ac_unrecognized_sep=', ';;
1811 esac
1812 eval with_$ac_useropt=no ;;
1813
1814 --x)
1815 # Obsolete; use --with-x.
1816 with_x=yes ;;
1817
1818 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1819 | --x-incl | --x-inc | --x-in | --x-i)
1820 ac_prev=x_includes ;;
1821 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1822 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1823 x_includes=$ac_optarg ;;
1824
1825 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1826 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1827 ac_prev=x_libraries ;;
1828 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1829 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1830 x_libraries=$ac_optarg ;;
1831
1832 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1833 Try \`$0 --help' for more information"
1834 ;;
1835
1836 *=*)
1837 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1838 # Reject names that are not valid shell variable names.
1839 case $ac_envvar in #(
1840 '' | [0-9]* | *[!_$as_cr_alnum]* )
1841 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1842 esac
1843 eval $ac_envvar=\$ac_optarg
1844 export $ac_envvar ;;
1845
1846 *)
1847 # FIXME: should be removed in autoconf 3.0.
1848 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1849 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1850 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1851 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1852 ;;
1853
1854 esac
1855 done
1856
1857 if test -n "$ac_prev"; then
1858 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1859 as_fn_error $? "missing argument to $ac_option"
1860 fi
1861
1862 if test -n "$ac_unrecognized_opts"; then
1863 case $enable_option_checking in
1864 no) ;;
1865 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1866 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1867 esac
1868 fi
1869
1870 # Check all directory arguments for consistency.
1871 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1872 datadir sysconfdir sharedstatedir localstatedir includedir \
1873 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1874 libdir localedir mandir
1875 do
1876 eval ac_val=\$$ac_var
1877 # Remove trailing slashes.
1878 case $ac_val in
1879 */ )
1880 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1881 eval $ac_var=\$ac_val;;
1882 esac
1883 # Be sure to have absolute directory names.
1884 case $ac_val in
1885 [\\/$]* | ?:[\\/]* ) continue;;
1886 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1887 esac
1888 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1889 done
1890
1891 # There might be people who depend on the old broken behavior: `$host'
1892 # used to hold the argument of --host etc.
1893 # FIXME: To remove some day.
1894 build=$build_alias
1895 host=$host_alias
1896 target=$target_alias
1897
1898 # FIXME: To remove some day.
1899 if test "x$host_alias" != x; then
1900 if test "x$build_alias" = x; then
1901 cross_compiling=maybe
1902 elif test "x$build_alias" != "x$host_alias"; then
1903 cross_compiling=yes
1904 fi
1905 fi
1906
1907 ac_tool_prefix=
1908 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1909
1910 test "$silent" = yes && exec 6>/dev/null
1911
1912
1913 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1914 ac_ls_di=`ls -di .` &&
1915 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1916 as_fn_error $? "working directory cannot be determined"
1917 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1918 as_fn_error $? "pwd does not report name of working directory"
1919
1920
1921 # Find the source files, if location was not specified.
1922 if test -z "$srcdir"; then
1923 ac_srcdir_defaulted=yes
1924 # Try the directory containing this script, then the parent directory.
1925 ac_confdir=`$as_dirname -- "$as_myself" ||
1926 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1927 X"$as_myself" : 'X\(//\)[^/]' \| \
1928 X"$as_myself" : 'X\(//\)$' \| \
1929 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1930 $as_echo X"$as_myself" |
1931 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1932 s//\1/
1933 q
1934 }
1935 /^X\(\/\/\)[^/].*/{
1936 s//\1/
1937 q
1938 }
1939 /^X\(\/\/\)$/{
1940 s//\1/
1941 q
1942 }
1943 /^X\(\/\).*/{
1944 s//\1/
1945 q
1946 }
1947 s/.*/./; q'`
1948 srcdir=$ac_confdir
1949 if test ! -r "$srcdir/$ac_unique_file"; then
1950 srcdir=..
1951 fi
1952 else
1953 ac_srcdir_defaulted=no
1954 fi
1955 if test ! -r "$srcdir/$ac_unique_file"; then
1956 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1957 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1958 fi
1959 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1960 ac_abs_confdir=`(
1961 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1962 pwd)`
1963 # When building in place, set srcdir=.
1964 if test "$ac_abs_confdir" = "$ac_pwd"; then
1965 srcdir=.
1966 fi
1967 # Remove unnecessary trailing slashes from srcdir.
1968 # Double slashes in file names in object file debugging info
1969 # mess up M-x gdb in Emacs.
1970 case $srcdir in
1971 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1972 esac
1973 for ac_var in $ac_precious_vars; do
1974 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1975 eval ac_env_${ac_var}_value=\$${ac_var}
1976 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1977 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1978 done
1979
1980 #
1981 # Report the --help message.
1982 #
1983 if test "$ac_init_help" = "long"; then
1984 # Omit some internal or obsolete options to make the list less imposing.
1985 # This message is too long to be a string in the A/UX 3.1 sh.
1986 cat <<_ACEOF
1987 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1988
1989 Usage: $0 [OPTION]... [VAR=VALUE]...
1990
1991 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1992 VAR=VALUE. See below for descriptions of some of the useful variables.
1993
1994 Defaults for the options are specified in brackets.
1995
1996 Configuration:
1997 -h, --help display this help and exit
1998 --help=short display options specific to this package
1999 --help=recursive display the short help of all the included packages
2000 -V, --version display version information and exit
2001 -q, --quiet, --silent do not print \`checking ...' messages
2002 --cache-file=FILE cache test results in FILE [disabled]
2003 -C, --config-cache alias for \`--cache-file=config.cache'
2004 -n, --no-create do not create output files
2005 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2006
2007 Installation directories:
2008 --prefix=PREFIX install architecture-independent files in PREFIX
2009 [$ac_default_prefix]
2010 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2011 [PREFIX]
2012
2013 By default, \`make install' will install all the files in
2014 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2015 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2016 for instance \`--prefix=\$HOME'.
2017
2018 For better control, use the options below.
2019
2020 Fine tuning of the installation directories:
2021 --bindir=DIR user executables [EPREFIX/bin]
2022 --sbindir=DIR system admin executables [EPREFIX/sbin]
2023 --libexecdir=DIR program executables [EPREFIX/libexec]
2024 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2025 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2026 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2027 --libdir=DIR object code libraries [EPREFIX/lib]
2028 --includedir=DIR C header files [PREFIX/include]
2029 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2030 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2031 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2032 --infodir=DIR info documentation [DATAROOTDIR/info]
2033 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2034 --mandir=DIR man documentation [DATAROOTDIR/man]
2035 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2036 --htmldir=DIR html documentation [DOCDIR]
2037 --dvidir=DIR dvi documentation [DOCDIR]
2038 --pdfdir=DIR pdf documentation [DOCDIR]
2039 --psdir=DIR ps documentation [DOCDIR]
2040 _ACEOF
2041
2042 cat <<\_ACEOF
2043
2044 X features:
2045 --x-includes=DIR X include files are in DIR
2046 --x-libraries=DIR X library files are in DIR
2047
2048 System types:
2049 --build=BUILD configure for building on BUILD [guessed]
2050 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2051 _ACEOF
2052 fi
2053
2054 if test -n "$ac_init_help"; then
2055 case $ac_init_help in
2056 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2057 esac
2058 cat <<\_ACEOF
2059
2060 Optional Features:
2061 --disable-option-checking ignore unrecognized --enable/--with options
2062 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2063 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2064 --disable-gui don't build GUI parts of the library
2065 --enable-monolithic build wxWidgets as single library
2066 --enable-plugins build parts of wxWidgets as loadable components
2067 --enable-official_build official build of wxWidgets (win32 DLL only)
2068 --enable-vendor=VENDOR vendor name (win32 DLL only)
2069 --disable-all-features disable all optional features to build minimal library
2070 --enable-universal use wxWidgets GUI controls instead of native ones
2071 --enable-nanox use NanoX
2072 --enable-gpe use GNOME PDA Environment features if possible
2073 --enable-debug build library for debugging
2074 --disable-debug_flag disable all debugging support
2075 --enable-debug_info generate debug information
2076 --enable-debug_gdb create code with extra GDB debugging information
2077 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2078 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2079 --disable-shared create static library instead of shared
2080 --enable-stl use standard C++ classes for everything
2081 --enable-std_containers use standard C++ container classes
2082 --enable-std_iostreams use standard C++ stream classes
2083 --enable-std_string use standard C++ string classes
2084 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2085 --disable-unicode compile without Unicode support
2086 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2087 --enable-utf8 use UTF-8 representation for strings (Unix only)
2088 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2089 --enable-extended_rtti use extended RTTI (XTI)
2090 --enable-omf use OMF object format
2091 --disable-optimise compile without optimisations
2092 --enable-profile create code with profiling information
2093 --enable-no_rtti create code without RTTI information
2094 --enable-no_exceptions create code without C++ exceptions handling
2095 --enable-permissive compile code disregarding strict ANSI
2096 --enable-no_deps create code without dependency information
2097 --disable-vararg_macros don't use vararg macros, even if they are supported
2098 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2099 --enable-macosx_arch=ARCH build for just the specified architecture
2100 --enable-compat26 enable wxWidgets 2.6 compatibility
2101 --disable-compat28 disable wxWidgets 2.8 compatibility
2102 --disable-rpath disable use of rpath for uninstalled builds
2103 --enable-objc_uniquifying enable Objective-C class name uniquifying
2104 --disable-visibility disable use of ELF symbols visibility even if supported
2105 --disable-tls disable use of compiler TLS support
2106 --enable-intl use internationalization system
2107 --enable-xlocale use x-locale support (requires wxLocale)
2108 --enable-config use wxConfig (and derived) classes
2109 --enable-protocols use wxProtocol and derived classes
2110 --enable-ftp use wxFTP (requires wxProtocol
2111 --enable-http use wxHTTP (requires wxProtocol
2112 --enable-fileproto use wxFileProto class (requires wxProtocol
2113 --enable-sockets use socket/network classes
2114 --enable-ipv6 enable IPv6 support in wxSocket
2115 --enable-ole use OLE classes (Win32 only)
2116 --enable-dataobj use data object classes
2117 --enable-ipc use interprocess communication (wxSocket etc.)
2118 --enable-baseevtloop use event loop in console programs too
2119 --enable-epollloop use wxEpollDispatcher class (Linux only)
2120 --enable-selectloop use wxSelectDispatcher class
2121 --enable-any use wxAny class
2122 --enable-apple_ieee use the Apple IEEE codec
2123 --enable-arcstream use wxArchive streams
2124 --enable-base64 use base64 encoding/decoding functions
2125 --enable-backtrace use wxStackWalker class for getting backtraces
2126 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2127 --enable-cmdline use wxCmdLineParser class
2128 --enable-datetime use wxDateTime class
2129 --enable-debugreport use wxDebugReport class
2130 --enable-dialupman use dialup network classes
2131 --enable-dynlib use wxLibrary class for DLL loading
2132 --enable-dynamicloader use (new) wxDynamicLibrary class
2133 --enable-exceptions build exception-safe library
2134 --enable-ffile use wxFFile class
2135 --enable-file use wxFile class
2136 --enable-filehistory use wxFileHistory class
2137 --enable-filesystem use virtual file systems classes
2138 --enable-fontenum use wxFontEnumerator class
2139 --enable-fontmap use font encodings conversion classes
2140 --enable-fs_archive use virtual archive filesystems
2141 --enable-fs_inet use virtual HTTP/FTP filesystems
2142 --enable-fs_zip now replaced by fs_archive
2143 --enable-fswatcher use wxFileSystemWatcher class
2144 --enable-geometry use geometry class
2145 --enable-log use logging system
2146 --enable-longlong use wxLongLong class
2147 --enable-mimetype use wxMimeTypesManager
2148 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2149 --enable-snglinst use wxSingleInstanceChecker class
2150 --enable-sound use wxSound class
2151 --enable-stdpaths use wxStandardPaths class
2152 --enable-stopwatch use wxStopWatch class
2153 --enable-streams use wxStream etc classes
2154 --enable-sysoptions use wxSystemOptions
2155 --enable-tarstream use wxTar streams
2156 --enable-textbuf use wxTextBuffer class
2157 --enable-textfile use wxTextFile class
2158 --enable-timer use wxTimer class
2159 --enable-variant use wxVariant class
2160 --enable-zipstream use wxZip streams
2161 --enable-url use wxURL class
2162 --enable-protocol use wxProtocol class
2163 --enable-protocol-http HTTP support in wxProtocol
2164 --enable-protocol-ftp FTP support in wxProtocol
2165 --enable-protocol-file FILE support in wxProtocol
2166 --enable-threads use threads
2167 --enable-iniconf use wxIniConfig (Win32 only)
2168 --enable-regkey use wxRegKey class (Win32 only)
2169 --enable-docview use document view architecture
2170 --enable-help use help subsystem
2171 --enable-mshtmlhelp use MS HTML Help (win32)
2172 --enable-html use wxHTML sub-library
2173 --enable-htmlhelp use wxHTML-based help
2174 --enable-xrc use XRC resources sub-library
2175 --enable-aui use AUI docking library
2176 --enable-propgrid use wxPropertyGrid library
2177 --enable-ribbon use wxRibbon library
2178 --enable-stc use wxStyledTextCtrl library
2179 --enable-constraints use layout-constraints system
2180 --enable-loggui use standard GUI logger
2181 --enable-logwin use wxLogWindow
2182 --enable-logdialog use wxLogDialog
2183 --enable-mdi use multiple document interface architecture
2184 --enable-mdidoc use docview architecture with MDI
2185 --enable-mediactrl use wxMediaCtrl class
2186 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2187 --enable-richtext use wxRichTextCtrl
2188 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2189 --enable-printarch use printing architecture
2190 --enable-svg use wxSVGFileDC device context
2191 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2192 --enable-webview use wxWebView library
2193 --enable-graphics_ctx use graphics context 2D drawing API
2194 --enable-clipboard use wxClipboard class
2195 --enable-dnd use Drag'n'Drop classes
2196 --disable-controls disable compilation of all standard controls
2197 --enable-markup support wxControl::SetLabelMarkup
2198 --enable-accel use accelerators
2199 --enable-animatectrl use wxAnimationCtrl class
2200 --enable-bannerwindow use wxBannerWindow class
2201 --enable-artstd use standard XPM icons in wxArtProvider
2202 --enable-arttango use Tango icons in wxArtProvider
2203 --enable-bmpbutton use wxBitmapButton class
2204 --enable-bmpcombobox use wxBitmapComboBox class
2205 --enable-button use wxButton class
2206 --enable-calendar use wxCalendarCtrl class
2207 --enable-caret use wxCaret class
2208 --enable-checkbox use wxCheckBox class
2209 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2210 --enable-choice use wxChoice class
2211 --enable-choicebook use wxChoicebook class
2212 --enable-collpane use wxCollapsiblePane class
2213 --enable-colourpicker use wxColourPickerCtrl class
2214 --enable-combobox use wxComboBox class
2215 --enable-comboctrl use wxComboCtrl class
2216 --enable-commandlinkbutton use wxCommmandLinkButton class
2217 --enable-dataviewctrl use wxDataViewCtrl class
2218 --enable-datepick use wxDatePickerCtrl class
2219 --enable-detect_sm use code to detect X11 session manager
2220 --enable-dirpicker use wxDirPickerCtrl class
2221 --enable-display use wxDisplay class
2222 --enable-editablebox use wxEditableListBox class
2223 --enable-filectrl use wxFileCtrl class
2224 --enable-filepicker use wxFilePickerCtrl class
2225 --enable-fontpicker use wxFontPickerCtrl class
2226 --enable-gauge use wxGauge class
2227 --enable-grid use wxGrid class
2228 --enable-headerctrl use wxHeaderCtrl class
2229 --enable-hyperlink use wxHyperlinkCtrl class
2230 --enable-imaglist use wxImageList class
2231 --enable-infobar use wxInfoBar class
2232 --enable-listbook use wxListbook class
2233 --enable-listbox use wxListBox class
2234 --enable-listctrl use wxListCtrl class
2235 --enable-notebook use wxNotebook class
2236 --enable-notifmsg use wxNotificationMessage class
2237 --enable-odcombobox use wxOwnerDrawnComboBox class
2238 --enable-popupwin use wxPopUpWindow class
2239 --enable-radiobox use wxRadioBox class
2240 --enable-radiobtn use wxRadioButton class
2241 --enable-richmsgdlg use wxRichMessageDialog class
2242 --enable-richtooltip use wxRichToolTip class
2243 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2244 --enable-sash use wxSashWindow class
2245 --enable-scrollbar use wxScrollBar class and scrollable windows
2246 --enable-searchctrl use wxSearchCtrl class
2247 --enable-slider use wxSlider class
2248 --enable-spinbtn use wxSpinButton class
2249 --enable-spinctrl use wxSpinCtrl class
2250 --enable-splitter use wxSplitterWindow class
2251 --enable-statbmp use wxStaticBitmap class
2252 --enable-statbox use wxStaticBox class
2253 --enable-statline use wxStaticLine class
2254 --enable-stattext use wxStaticText class
2255 --enable-statusbar use wxStatusBar class
2256 --enable-taskbaricon use wxTaskBarIcon class
2257 --enable-tbarnative use native wxToolBar class
2258 --enable-textctrl use wxTextCtrl class
2259 --enable-timepick use wxTimePickerCtrl class
2260 --enable-tipwindow use wxTipWindow class
2261 --enable-togglebtn use wxToggleButton class
2262 --enable-toolbar use wxToolBar class
2263 --enable-toolbook use wxToolbook class
2264 --enable-treebook use wxTreebook class
2265 --enable-treectrl use wxTreeCtrl class
2266 --enable-treelist use wxTreeListCtrl class
2267 --enable-commondlg use all common dialogs
2268 --enable-aboutdlg use wxAboutBox
2269 --enable-choicedlg use wxChoiceDialog
2270 --enable-coldlg use wxColourDialog
2271 --enable-filedlg use wxFileDialog
2272 --enable-finddlg use wxFindReplaceDialog
2273 --enable-fontdlg use wxFontDialog
2274 --enable-dirdlg use wxDirDialog
2275 --enable-msgdlg use wxMessageDialog
2276 --enable-numberdlg use wxNumberEntryDialog
2277 --enable-splash use wxSplashScreen
2278 --enable-textdlg use wxTextDialog
2279 --enable-tipdlg use startup tips
2280 --enable-progressdlg use wxProgressDialog
2281 --enable-wizarddlg use wxWizard
2282 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2283 --enable-miniframe use wxMiniFrame class
2284 --enable-tooltips use wxToolTip class
2285 --enable-splines use spline drawing code
2286 --enable-mousewheel use mousewheel
2287 --enable-validators use wxValidator and derived classes
2288 --enable-busyinfo use wxBusyInfo
2289 --enable-hotkey use wxWindow::RegisterHotKey()
2290 --enable-joystick use wxJoystick
2291 --enable-metafiles use wxMetaFile
2292 --enable-dragimage use wxDragImage
2293 --enable-accessibility enable accessibility support
2294 --enable-uiactionsim use wxUIActionSimulator (experimental)
2295 --enable-dctransform use wxDC::SetTransformMatrix and related
2296 --enable-webview_webkit use wxWebView WebKit backend
2297 --enable-palette use wxPalette class
2298 --enable-image use wxImage class
2299 --enable-gif use gif images (GIF file format)
2300 --enable-pcx use pcx images (PCX file format)
2301 --enable-tga use tga images (TGA file format)
2302 --enable-iff use iff images (IFF file format)
2303 --enable-pnm use pnm images (PNM file format)
2304 --enable-xpm use xpm images (XPM file format)
2305 --enable-ico_cur use Windows ICO and CUR formats
2306 --enable-dccache cache temporary wxDC objects (Win32 only)
2307 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2308 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2309 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2310 --enable-wxdib use wxDIB class (Win32 only)
2311 --enable-webview_ie use wxWebView IE backend (Win32 only)
2312 --enable-autoidman use automatic ids management
2313 --disable-largefile omit support for large files
2314 --disable-gtktest do not try to compile and run a test GTK+ program
2315 --disable-gtktest Do not try to compile and run a test GTK program
2316 --disable-sdltest Do not try to compile and run a test SDL program
2317 --enable-omf use OMF object format (OS/2)
2318 --disable-dependency-tracking
2319 don't use dependency tracking even if the compiler
2320 can
2321 --disable-precomp-headers
2322 don't use precompiled headers even if compiler can
2323
2324 Optional Packages:
2325 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2326 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2327 --without-subdirs don't generate makefiles for samples/demos/...
2328 --with-flavour=NAME specify a name to identify this build
2329 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2330 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2331 --with-motif use Motif/Lesstif
2332 --with-osx_carbon use Mac OS X (Carbon)
2333 --with-osx_cocoa use Mac OS X (Cocoa)
2334 --with-osx_iphone use iPhone OS X port
2335 --with-osx use Mac OS X (default port, currently Carbon)
2336 --with-carbon same as --with-osx_carbon
2337 --with-cocoa same as --with-osx_cocoa
2338 --with-iphone same as --with-osx_iphone
2339 --with-mac same as --with-osx
2340 --with-old_cocoa use old, deprecated, Cocoa port
2341 --with-wine use Wine
2342 --with-msw use MS-Windows
2343 --with-pm use OS/2 Presentation Manager
2344 --with-directfb use DirectFB
2345 --with-microwin use MicroWindows
2346 --with-x11 use X11
2347 --with-libpng use libpng (PNG image format)
2348 --with-libjpeg use libjpeg (JPEG file format)
2349 --with-libtiff use libtiff (TIFF file format)
2350 --with-libxpm use libxpm (XPM file format)
2351 --with-libiconv use libiconv (character conversion)
2352 --with-libmspack use libmspack (CHM help files loading)
2353 --without-gtkprint don't use GTK printing support
2354 --without-gnomeprint don't use GNOME printing libraries
2355 --with-gnomevfs use GNOME VFS for associating MIME types
2356 --with-hildon use Hildon framework for Nokia 770/800/810
2357 --with-opengl use OpenGL (or Mesa)
2358 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2359 --with-sdl use SDL for audio on Unix
2360 --with-regex enable support for wxRegEx class
2361 --with-zlib use zlib for LZW compression
2362 --with-expat enable XML support using expat parser
2363 --with-macosx-sdk=PATH use an OS X SDK at PATH
2364 --with-macosx-version-min=VER build binaries which require at least this OS X version
2365 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2366 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2367 --with-x use the X Window System
2368 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2369 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2370 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2371 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2372 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2373
2374 Some influential environment variables:
2375 CC C compiler command
2376 CFLAGS C compiler flags
2377 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2378 nonstandard directory <lib dir>
2379 LIBS libraries to pass to the linker, e.g. -l<library>
2380 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2381 you have headers in a nonstandard directory <include dir>
2382 CPP C preprocessor
2383 CXX C++ compiler command
2384 CXXFLAGS C++ compiler flags
2385 CXXCPP C++ preprocessor
2386 PKG_CONFIG path to pkg-config utility
2387 DIRECTFB_CFLAGS
2388 C compiler flags for DIRECTFB, overriding pkg-config
2389 DIRECTFB_LIBS
2390 linker flags for DIRECTFB, overriding pkg-config
2391 XMKMF Path to xmkmf, Makefile generator for X Window System
2392 PANGOX_CFLAGS
2393 C compiler flags for PANGOX, overriding pkg-config
2394 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2395 PANGOFT2_CFLAGS
2396 C compiler flags for PANGOFT2, overriding pkg-config
2397 PANGOFT2_LIBS
2398 linker flags for PANGOFT2, overriding pkg-config
2399 PANGOXFT_CFLAGS
2400 C compiler flags for PANGOXFT, overriding pkg-config
2401 PANGOXFT_LIBS
2402 linker flags for PANGOXFT, overriding pkg-config
2403 Xinerama_CFLAGS
2404 C compiler flags for Xinerama, overriding pkg-config
2405 Xinerama_LIBS
2406 linker flags for Xinerama, overriding pkg-config
2407 Xxf86vm_CFLAGS
2408 C compiler flags for Xxf86vm, overriding pkg-config
2409 Xxf86vm_LIBS
2410 linker flags for Xxf86vm, overriding pkg-config
2411 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2412 SM_LIBS linker flags for SM, overriding pkg-config
2413 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2414 GL_LIBS linker flags for GL, overriding pkg-config
2415 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2416 GLU_LIBS linker flags for GLU, overriding pkg-config
2417 MesaGL_CFLAGS
2418 C compiler flags for MesaGL, overriding pkg-config
2419 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2420 GTKPRINT_CFLAGS
2421 C compiler flags for GTKPRINT, overriding pkg-config
2422 GTKPRINT_LIBS
2423 linker flags for GTKPRINT, overriding pkg-config
2424 LIBGNOMEPRINTUI_CFLAGS
2425 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2426 LIBGNOMEPRINTUI_LIBS
2427 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2428 GNOMEVFS_CFLAGS
2429 C compiler flags for GNOMEVFS, overriding pkg-config
2430 GNOMEVFS_LIBS
2431 linker flags for GNOMEVFS, overriding pkg-config
2432 HILDON_CFLAGS
2433 C compiler flags for HILDON, overriding pkg-config
2434 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2435 HILDON2_CFLAGS
2436 C compiler flags for HILDON2, overriding pkg-config
2437 HILDON2_LIBS
2438 linker flags for HILDON2, overriding pkg-config
2439 WEBKIT_CFLAGS
2440 C compiler flags for WEBKIT, overriding pkg-config
2441 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2442 CAIRO_CFLAGS
2443 C compiler flags for CAIRO, overriding pkg-config
2444 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2445 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2446 GST_LIBS linker flags for GST, overriding pkg-config
2447
2448 Use these variables to override the choices made by `configure' or to help
2449 it to find libraries and programs with nonstandard names/locations.
2450
2451 Report bugs to <wx-dev@lists.wxwidgets.org>.
2452 _ACEOF
2453 ac_status=$?
2454 fi
2455
2456 if test "$ac_init_help" = "recursive"; then
2457 # If there are subdirs, report their specific --help.
2458 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2459 test -d "$ac_dir" ||
2460 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2461 continue
2462 ac_builddir=.
2463
2464 case "$ac_dir" in
2465 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2466 *)
2467 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2468 # A ".." for each directory in $ac_dir_suffix.
2469 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2470 case $ac_top_builddir_sub in
2471 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2472 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2473 esac ;;
2474 esac
2475 ac_abs_top_builddir=$ac_pwd
2476 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2477 # for backward compatibility:
2478 ac_top_builddir=$ac_top_build_prefix
2479
2480 case $srcdir in
2481 .) # We are building in place.
2482 ac_srcdir=.
2483 ac_top_srcdir=$ac_top_builddir_sub
2484 ac_abs_top_srcdir=$ac_pwd ;;
2485 [\\/]* | ?:[\\/]* ) # Absolute name.
2486 ac_srcdir=$srcdir$ac_dir_suffix;
2487 ac_top_srcdir=$srcdir
2488 ac_abs_top_srcdir=$srcdir ;;
2489 *) # Relative name.
2490 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2491 ac_top_srcdir=$ac_top_build_prefix$srcdir
2492 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2493 esac
2494 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2495
2496 cd "$ac_dir" || { ac_status=$?; continue; }
2497 # Check for guested configure.
2498 if test -f "$ac_srcdir/configure.gnu"; then
2499 echo &&
2500 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2501 elif test -f "$ac_srcdir/configure"; then
2502 echo &&
2503 $SHELL "$ac_srcdir/configure" --help=recursive
2504 else
2505 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2506 fi || ac_status=$?
2507 cd "$ac_pwd" || { ac_status=$?; break; }
2508 done
2509 fi
2510
2511 test -n "$ac_init_help" && exit $ac_status
2512 if $ac_init_version; then
2513 cat <<\_ACEOF
2514 wxWidgets configure 2.9.5
2515 generated by GNU Autoconf 2.69
2516
2517 Copyright (C) 2012 Free Software Foundation, Inc.
2518 This configure script is free software; the Free Software Foundation
2519 gives unlimited permission to copy, distribute and modify it.
2520 _ACEOF
2521 exit
2522 fi
2523
2524 ## ------------------------ ##
2525 ## Autoconf initialization. ##
2526 ## ------------------------ ##
2527
2528 # ac_fn_c_try_compile LINENO
2529 # --------------------------
2530 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2531 ac_fn_c_try_compile ()
2532 {
2533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2534 rm -f conftest.$ac_objext
2535 if { { ac_try="$ac_compile"
2536 case "(($ac_try" in
2537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2538 *) ac_try_echo=$ac_try;;
2539 esac
2540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2541 $as_echo "$ac_try_echo"; } >&5
2542 (eval "$ac_compile") 2>conftest.err
2543 ac_status=$?
2544 if test -s conftest.err; then
2545 grep -v '^ *+' conftest.err >conftest.er1
2546 cat conftest.er1 >&5
2547 mv -f conftest.er1 conftest.err
2548 fi
2549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2550 test $ac_status = 0; } && {
2551 test -z "$ac_c_werror_flag" ||
2552 test ! -s conftest.err
2553 } && test -s conftest.$ac_objext; then :
2554 ac_retval=0
2555 else
2556 $as_echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2558
2559 ac_retval=1
2560 fi
2561 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2562 as_fn_set_status $ac_retval
2563
2564 } # ac_fn_c_try_compile
2565
2566 # ac_fn_c_try_cpp LINENO
2567 # ----------------------
2568 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2569 ac_fn_c_try_cpp ()
2570 {
2571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2572 if { { ac_try="$ac_cpp conftest.$ac_ext"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2580 ac_status=$?
2581 if test -s conftest.err; then
2582 grep -v '^ *+' conftest.err >conftest.er1
2583 cat conftest.er1 >&5
2584 mv -f conftest.er1 conftest.err
2585 fi
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; } > conftest.i && {
2588 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2589 test ! -s conftest.err
2590 }; then :
2591 ac_retval=0
2592 else
2593 $as_echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2595
2596 ac_retval=1
2597 fi
2598 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2599 as_fn_set_status $ac_retval
2600
2601 } # ac_fn_c_try_cpp
2602
2603 # ac_fn_cxx_try_compile LINENO
2604 # ----------------------------
2605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2606 ac_fn_cxx_try_compile ()
2607 {
2608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2609 rm -f conftest.$ac_objext
2610 if { { ac_try="$ac_compile"
2611 case "(($ac_try" in
2612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2614 esac
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_compile") 2>conftest.err
2618 ac_status=$?
2619 if test -s conftest.err; then
2620 grep -v '^ *+' conftest.err >conftest.er1
2621 cat conftest.er1 >&5
2622 mv -f conftest.er1 conftest.err
2623 fi
2624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2625 test $ac_status = 0; } && {
2626 test -z "$ac_cxx_werror_flag" ||
2627 test ! -s conftest.err
2628 } && test -s conftest.$ac_objext; then :
2629 ac_retval=0
2630 else
2631 $as_echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.$ac_ext >&5
2633
2634 ac_retval=1
2635 fi
2636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2637 as_fn_set_status $ac_retval
2638
2639 } # ac_fn_cxx_try_compile
2640
2641 # ac_fn_c_try_link LINENO
2642 # -----------------------
2643 # Try to link conftest.$ac_ext, and return whether this succeeded.
2644 ac_fn_c_try_link ()
2645 {
2646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2647 rm -f conftest.$ac_objext conftest$ac_exeext
2648 if { { ac_try="$ac_link"
2649 case "(($ac_try" in
2650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2651 *) ac_try_echo=$ac_try;;
2652 esac
2653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2654 $as_echo "$ac_try_echo"; } >&5
2655 (eval "$ac_link") 2>conftest.err
2656 ac_status=$?
2657 if test -s conftest.err; then
2658 grep -v '^ *+' conftest.err >conftest.er1
2659 cat conftest.er1 >&5
2660 mv -f conftest.er1 conftest.err
2661 fi
2662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2663 test $ac_status = 0; } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest$ac_exeext && {
2667 test "$cross_compiling" = yes ||
2668 test -x conftest$ac_exeext
2669 }; then :
2670 ac_retval=0
2671 else
2672 $as_echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2674
2675 ac_retval=1
2676 fi
2677 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2678 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2679 # interfere with the next link command; also delete a directory that is
2680 # left behind by Apple's compiler. We do this before executing the actions.
2681 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2683 as_fn_set_status $ac_retval
2684
2685 } # ac_fn_c_try_link
2686
2687 # ac_fn_cxx_try_link LINENO
2688 # -------------------------
2689 # Try to link conftest.$ac_ext, and return whether this succeeded.
2690 ac_fn_cxx_try_link ()
2691 {
2692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2693 rm -f conftest.$ac_objext conftest$ac_exeext
2694 if { { ac_try="$ac_link"
2695 case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 $as_echo "$ac_try_echo"; } >&5
2701 (eval "$ac_link") 2>conftest.err
2702 ac_status=$?
2703 if test -s conftest.err; then
2704 grep -v '^ *+' conftest.err >conftest.er1
2705 cat conftest.er1 >&5
2706 mv -f conftest.er1 conftest.err
2707 fi
2708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } && {
2710 test -z "$ac_cxx_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest$ac_exeext && {
2713 test "$cross_compiling" = yes ||
2714 test -x conftest$ac_exeext
2715 }; then :
2716 ac_retval=0
2717 else
2718 $as_echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.$ac_ext >&5
2720
2721 ac_retval=1
2722 fi
2723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2725 # interfere with the next link command; also delete a directory that is
2726 # left behind by Apple's compiler. We do this before executing the actions.
2727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2729 as_fn_set_status $ac_retval
2730
2731 } # ac_fn_cxx_try_link
2732
2733 # ac_fn_c_try_run LINENO
2734 # ----------------------
2735 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2736 # that executables *can* be run.
2737 ac_fn_c_try_run ()
2738 {
2739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2740 if { { ac_try="$ac_link"
2741 case "(($ac_try" in
2742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2744 esac
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_link") 2>&5
2748 ac_status=$?
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2751 { { case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2756 $as_echo "$ac_try_echo"; } >&5
2757 (eval "$ac_try") 2>&5
2758 ac_status=$?
2759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2760 test $ac_status = 0; }; }; then :
2761 ac_retval=0
2762 else
2763 $as_echo "$as_me: program exited with status $ac_status" >&5
2764 $as_echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.$ac_ext >&5
2766
2767 ac_retval=$ac_status
2768 fi
2769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2771 as_fn_set_status $ac_retval
2772
2773 } # ac_fn_c_try_run
2774
2775 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2776 # -------------------------------------------------------
2777 # Tests whether HEADER exists and can be compiled using the include files in
2778 # INCLUDES, setting the cache variable VAR accordingly.
2779 ac_fn_c_check_header_compile ()
2780 {
2781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2783 $as_echo_n "checking for $2... " >&6; }
2784 if eval \${$3+:} false; then :
2785 $as_echo_n "(cached) " >&6
2786 else
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2789 $4
2790 #include <$2>
2791 _ACEOF
2792 if ac_fn_c_try_compile "$LINENO"; then :
2793 eval "$3=yes"
2794 else
2795 eval "$3=no"
2796 fi
2797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2798 fi
2799 eval ac_res=\$$3
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2801 $as_echo "$ac_res" >&6; }
2802 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2803
2804 } # ac_fn_c_check_header_compile
2805
2806 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2807 # --------------------------------------------
2808 # Tries to find the compile-time value of EXPR in a program that includes
2809 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2810 # computed
2811 ac_fn_c_compute_int ()
2812 {
2813 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2814 if test "$cross_compiling" = yes; then
2815 # Depending upon the size, compute the lo and hi bounds.
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2818 $4
2819 int
2820 main ()
2821 {
2822 static int test_array [1 - 2 * !(($2) >= 0)];
2823 test_array [0] = 0;
2824 return test_array [0];
2825
2826 ;
2827 return 0;
2828 }
2829 _ACEOF
2830 if ac_fn_c_try_compile "$LINENO"; then :
2831 ac_lo=0 ac_mid=0
2832 while :; do
2833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2834 /* end confdefs.h. */
2835 $4
2836 int
2837 main ()
2838 {
2839 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2840 test_array [0] = 0;
2841 return test_array [0];
2842
2843 ;
2844 return 0;
2845 }
2846 _ACEOF
2847 if ac_fn_c_try_compile "$LINENO"; then :
2848 ac_hi=$ac_mid; break
2849 else
2850 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2851 if test $ac_lo -le $ac_mid; then
2852 ac_lo= ac_hi=
2853 break
2854 fi
2855 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2856 fi
2857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 done
2859 else
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2862 $4
2863 int
2864 main ()
2865 {
2866 static int test_array [1 - 2 * !(($2) < 0)];
2867 test_array [0] = 0;
2868 return test_array [0];
2869
2870 ;
2871 return 0;
2872 }
2873 _ACEOF
2874 if ac_fn_c_try_compile "$LINENO"; then :
2875 ac_hi=-1 ac_mid=-1
2876 while :; do
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2879 $4
2880 int
2881 main ()
2882 {
2883 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2884 test_array [0] = 0;
2885 return test_array [0];
2886
2887 ;
2888 return 0;
2889 }
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 ac_lo=$ac_mid; break
2893 else
2894 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2895 if test $ac_mid -le $ac_hi; then
2896 ac_lo= ac_hi=
2897 break
2898 fi
2899 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2900 fi
2901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2902 done
2903 else
2904 ac_lo= ac_hi=
2905 fi
2906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2907 fi
2908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2909 # Binary search between lo and hi bounds.
2910 while test "x$ac_lo" != "x$ac_hi"; do
2911 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2913 /* end confdefs.h. */
2914 $4
2915 int
2916 main ()
2917 {
2918 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2919 test_array [0] = 0;
2920 return test_array [0];
2921
2922 ;
2923 return 0;
2924 }
2925 _ACEOF
2926 if ac_fn_c_try_compile "$LINENO"; then :
2927 ac_hi=$ac_mid
2928 else
2929 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2930 fi
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 done
2933 case $ac_lo in #((
2934 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2935 '') ac_retval=1 ;;
2936 esac
2937 else
2938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2939 /* end confdefs.h. */
2940 $4
2941 static long int longval () { return $2; }
2942 static unsigned long int ulongval () { return $2; }
2943 #include <stdio.h>
2944 #include <stdlib.h>
2945 int
2946 main ()
2947 {
2948
2949 FILE *f = fopen ("conftest.val", "w");
2950 if (! f)
2951 return 1;
2952 if (($2) < 0)
2953 {
2954 long int i = longval ();
2955 if (i != ($2))
2956 return 1;
2957 fprintf (f, "%ld", i);
2958 }
2959 else
2960 {
2961 unsigned long int i = ulongval ();
2962 if (i != ($2))
2963 return 1;
2964 fprintf (f, "%lu", i);
2965 }
2966 /* Do not output a trailing newline, as this causes \r\n confusion
2967 on some platforms. */
2968 return ferror (f) || fclose (f) != 0;
2969
2970 ;
2971 return 0;
2972 }
2973 _ACEOF
2974 if ac_fn_c_try_run "$LINENO"; then :
2975 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2976 else
2977 ac_retval=1
2978 fi
2979 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2980 conftest.$ac_objext conftest.beam conftest.$ac_ext
2981 rm -f conftest.val
2982
2983 fi
2984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2985 as_fn_set_status $ac_retval
2986
2987 } # ac_fn_c_compute_int
2988
2989 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2990 # ---------------------------------------------------------
2991 # Tests whether HEADER exists and can be compiled using the include files in
2992 # INCLUDES, setting the cache variable VAR accordingly.
2993 ac_fn_cxx_check_header_compile ()
2994 {
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2997 $as_echo_n "checking for $2... " >&6; }
2998 if eval \${$3+:} false; then :
2999 $as_echo_n "(cached) " >&6
3000 else
3001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3002 /* end confdefs.h. */
3003 $4
3004 #include <$2>
3005 _ACEOF
3006 if ac_fn_cxx_try_compile "$LINENO"; then :
3007 eval "$3=yes"
3008 else
3009 eval "$3=no"
3010 fi
3011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3012 fi
3013 eval ac_res=\$$3
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3015 $as_echo "$ac_res" >&6; }
3016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3017
3018 } # ac_fn_cxx_check_header_compile
3019
3020 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3021 # ---------------------------------------------
3022 # Tests whether TYPE exists after having included INCLUDES, setting cache
3023 # variable VAR accordingly.
3024 ac_fn_cxx_check_type ()
3025 {
3026 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3028 $as_echo_n "checking for $2... " >&6; }
3029 if eval \${$3+:} false; then :
3030 $as_echo_n "(cached) " >&6
3031 else
3032 eval "$3=no"
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3035 $4
3036 int
3037 main ()
3038 {
3039 if (sizeof ($2))
3040 return 0;
3041 ;
3042 return 0;
3043 }
3044 _ACEOF
3045 if ac_fn_cxx_try_compile "$LINENO"; then :
3046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3047 /* end confdefs.h. */
3048 $4
3049 int
3050 main ()
3051 {
3052 if (sizeof (($2)))
3053 return 0;
3054 ;
3055 return 0;
3056 }
3057 _ACEOF
3058 if ac_fn_cxx_try_compile "$LINENO"; then :
3059
3060 else
3061 eval "$3=yes"
3062 fi
3063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3064 fi
3065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3066 fi
3067 eval ac_res=\$$3
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3069 $as_echo "$ac_res" >&6; }
3070 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3071
3072 } # ac_fn_cxx_check_type
3073
3074 # ac_fn_cxx_try_cpp LINENO
3075 # ------------------------
3076 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3077 ac_fn_cxx_try_cpp ()
3078 {
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 if { { ac_try="$ac_cpp conftest.$ac_ext"
3081 case "(($ac_try" in
3082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3084 esac
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3088 ac_status=$?
3089 if test -s conftest.err; then
3090 grep -v '^ *+' conftest.err >conftest.er1
3091 cat conftest.er1 >&5
3092 mv -f conftest.er1 conftest.err
3093 fi
3094 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3095 test $ac_status = 0; } > conftest.i && {
3096 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3097 test ! -s conftest.err
3098 }; then :
3099 ac_retval=0
3100 else
3101 $as_echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.$ac_ext >&5
3103
3104 ac_retval=1
3105 fi
3106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3107 as_fn_set_status $ac_retval
3108
3109 } # ac_fn_cxx_try_cpp
3110
3111 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3112 # ---------------------------------------------------------
3113 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3114 # the include files in INCLUDES and setting the cache variable VAR
3115 # accordingly.
3116 ac_fn_cxx_check_header_mongrel ()
3117 {
3118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3119 if eval \${$3+:} false; then :
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3121 $as_echo_n "checking for $2... " >&6; }
3122 if eval \${$3+:} false; then :
3123 $as_echo_n "(cached) " >&6
3124 fi
3125 eval ac_res=\$$3
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3127 $as_echo "$ac_res" >&6; }
3128 else
3129 # Is the header compilable?
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3131 $as_echo_n "checking $2 usability... " >&6; }
3132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3134 $4
3135 #include <$2>
3136 _ACEOF
3137 if ac_fn_cxx_try_compile "$LINENO"; then :
3138 ac_header_compiler=yes
3139 else
3140 ac_header_compiler=no
3141 fi
3142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3144 $as_echo "$ac_header_compiler" >&6; }
3145
3146 # Is the header present?
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3148 $as_echo_n "checking $2 presence... " >&6; }
3149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3151 #include <$2>
3152 _ACEOF
3153 if ac_fn_cxx_try_cpp "$LINENO"; then :
3154 ac_header_preproc=yes
3155 else
3156 ac_header_preproc=no
3157 fi
3158 rm -f conftest.err conftest.i conftest.$ac_ext
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3160 $as_echo "$ac_header_preproc" >&6; }
3161
3162 # So? What about this header?
3163 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3164 yes:no: )
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3166 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3169 ;;
3170 no:yes:* )
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3172 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3174 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3176 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3178 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3180 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3181 ( $as_echo "## ----------------------------------------- ##
3182 ## Report this to wx-dev@lists.wxwidgets.org ##
3183 ## ----------------------------------------- ##"
3184 ) | sed "s/^/$as_me: WARNING: /" >&2
3185 ;;
3186 esac
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3188 $as_echo_n "checking for $2... " >&6; }
3189 if eval \${$3+:} false; then :
3190 $as_echo_n "(cached) " >&6
3191 else
3192 eval "$3=\$ac_header_compiler"
3193 fi
3194 eval ac_res=\$$3
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 $as_echo "$ac_res" >&6; }
3197 fi
3198 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3199
3200 } # ac_fn_cxx_check_header_mongrel
3201
3202 # ac_fn_c_check_func LINENO FUNC VAR
3203 # ----------------------------------
3204 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3205 ac_fn_c_check_func ()
3206 {
3207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3209 $as_echo_n "checking for $2... " >&6; }
3210 if eval \${$3+:} false; then :
3211 $as_echo_n "(cached) " >&6
3212 else
3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3215 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3217 #define $2 innocuous_$2
3218
3219 /* System header to define __stub macros and hopefully few prototypes,
3220 which can conflict with char $2 (); below.
3221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3222 <limits.h> exists even on freestanding compilers. */
3223
3224 #ifdef __STDC__
3225 # include <limits.h>
3226 #else
3227 # include <assert.h>
3228 #endif
3229
3230 #undef $2
3231
3232 /* Override any GCC internal prototype to avoid an error.
3233 Use char because int might match the return type of a GCC
3234 builtin and then its argument prototype would still apply. */
3235 #ifdef __cplusplus
3236 extern "C"
3237 #endif
3238 char $2 ();
3239 /* The GNU C library defines this for functions which it implements
3240 to always fail with ENOSYS. Some functions are actually named
3241 something starting with __ and the normal name is an alias. */
3242 #if defined __stub_$2 || defined __stub___$2
3243 choke me
3244 #endif
3245
3246 int
3247 main ()
3248 {
3249 return $2 ();
3250 ;
3251 return 0;
3252 }
3253 _ACEOF
3254 if ac_fn_c_try_link "$LINENO"; then :
3255 eval "$3=yes"
3256 else
3257 eval "$3=no"
3258 fi
3259 rm -f core conftest.err conftest.$ac_objext \
3260 conftest$ac_exeext conftest.$ac_ext
3261 fi
3262 eval ac_res=\$$3
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3264 $as_echo "$ac_res" >&6; }
3265 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3266
3267 } # ac_fn_c_check_func
3268
3269 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3270 # -------------------------------------------
3271 # Tests whether TYPE exists after having included INCLUDES, setting cache
3272 # variable VAR accordingly.
3273 ac_fn_c_check_type ()
3274 {
3275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3277 $as_echo_n "checking for $2... " >&6; }
3278 if eval \${$3+:} false; then :
3279 $as_echo_n "(cached) " >&6
3280 else
3281 eval "$3=no"
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3284 $4
3285 int
3286 main ()
3287 {
3288 if (sizeof ($2))
3289 return 0;
3290 ;
3291 return 0;
3292 }
3293 _ACEOF
3294 if ac_fn_c_try_compile "$LINENO"; then :
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3297 $4
3298 int
3299 main ()
3300 {
3301 if (sizeof (($2)))
3302 return 0;
3303 ;
3304 return 0;
3305 }
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"; then :
3308
3309 else
3310 eval "$3=yes"
3311 fi
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3313 fi
3314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 fi
3316 eval ac_res=\$$3
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3318 $as_echo "$ac_res" >&6; }
3319 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3320
3321 } # ac_fn_c_check_type
3322
3323 # ac_fn_cxx_try_run LINENO
3324 # ------------------------
3325 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3326 # that executables *can* be run.
3327 ac_fn_cxx_try_run ()
3328 {
3329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3330 if { { ac_try="$ac_link"
3331 case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3334 esac
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_link") 2>&5
3338 ac_status=$?
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3341 { { case "(($ac_try" in
3342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3344 esac
3345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3346 $as_echo "$ac_try_echo"; } >&5
3347 (eval "$ac_try") 2>&5
3348 ac_status=$?
3349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3350 test $ac_status = 0; }; }; then :
3351 ac_retval=0
3352 else
3353 $as_echo "$as_me: program exited with status $ac_status" >&5
3354 $as_echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3356
3357 ac_retval=$ac_status
3358 fi
3359 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3360 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3361 as_fn_set_status $ac_retval
3362
3363 } # ac_fn_cxx_try_run
3364 cat >config.log <<_ACEOF
3365 This file contains any messages produced by compilers while
3366 running configure, to aid debugging if configure makes a mistake.
3367
3368 It was created by wxWidgets $as_me 2.9.5, which was
3369 generated by GNU Autoconf 2.69. Invocation command line was
3370
3371 $ $0 $@
3372
3373 _ACEOF
3374 exec 5>>config.log
3375 {
3376 cat <<_ASUNAME
3377 ## --------- ##
3378 ## Platform. ##
3379 ## --------- ##
3380
3381 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3382 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3383 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3384 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3385 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3386
3387 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3388 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3389
3390 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3391 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3392 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3393 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3394 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3395 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3396 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3397
3398 _ASUNAME
3399
3400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401 for as_dir in $PATH
3402 do
3403 IFS=$as_save_IFS
3404 test -z "$as_dir" && as_dir=.
3405 $as_echo "PATH: $as_dir"
3406 done
3407 IFS=$as_save_IFS
3408
3409 } >&5
3410
3411 cat >&5 <<_ACEOF
3412
3413
3414 ## ----------- ##
3415 ## Core tests. ##
3416 ## ----------- ##
3417
3418 _ACEOF
3419
3420
3421 # Keep a trace of the command line.
3422 # Strip out --no-create and --no-recursion so they do not pile up.
3423 # Strip out --silent because we don't want to record it for future runs.
3424 # Also quote any args containing shell meta-characters.
3425 # Make two passes to allow for proper duplicate-argument suppression.
3426 ac_configure_args=
3427 ac_configure_args0=
3428 ac_configure_args1=
3429 ac_must_keep_next=false
3430 for ac_pass in 1 2
3431 do
3432 for ac_arg
3433 do
3434 case $ac_arg in
3435 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3437 | -silent | --silent | --silen | --sile | --sil)
3438 continue ;;
3439 *\'*)
3440 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3441 esac
3442 case $ac_pass in
3443 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3444 2)
3445 as_fn_append ac_configure_args1 " '$ac_arg'"
3446 if test $ac_must_keep_next = true; then
3447 ac_must_keep_next=false # Got value, back to normal.
3448 else
3449 case $ac_arg in
3450 *=* | --config-cache | -C | -disable-* | --disable-* \
3451 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3452 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3453 | -with-* | --with-* | -without-* | --without-* | --x)
3454 case "$ac_configure_args0 " in
3455 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3456 esac
3457 ;;
3458 -* ) ac_must_keep_next=true ;;
3459 esac
3460 fi
3461 as_fn_append ac_configure_args " '$ac_arg'"
3462 ;;
3463 esac
3464 done
3465 done
3466 { ac_configure_args0=; unset ac_configure_args0;}
3467 { ac_configure_args1=; unset ac_configure_args1;}
3468
3469 # When interrupted or exit'd, cleanup temporary files, and complete
3470 # config.log. We remove comments because anyway the quotes in there
3471 # would cause problems or look ugly.
3472 # WARNING: Use '\'' to represent an apostrophe within the trap.
3473 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3474 trap 'exit_status=$?
3475 # Save into config.log some information that might help in debugging.
3476 {
3477 echo
3478
3479 $as_echo "## ---------------- ##
3480 ## Cache variables. ##
3481 ## ---------------- ##"
3482 echo
3483 # The following way of writing the cache mishandles newlines in values,
3484 (
3485 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3486 eval ac_val=\$$ac_var
3487 case $ac_val in #(
3488 *${as_nl}*)
3489 case $ac_var in #(
3490 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3491 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3492 esac
3493 case $ac_var in #(
3494 _ | IFS | as_nl) ;; #(
3495 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3496 *) { eval $ac_var=; unset $ac_var;} ;;
3497 esac ;;
3498 esac
3499 done
3500 (set) 2>&1 |
3501 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3502 *${as_nl}ac_space=\ *)
3503 sed -n \
3504 "s/'\''/'\''\\\\'\'''\''/g;
3505 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3506 ;; #(
3507 *)
3508 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3509 ;;
3510 esac |
3511 sort
3512 )
3513 echo
3514
3515 $as_echo "## ----------------- ##
3516 ## Output variables. ##
3517 ## ----------------- ##"
3518 echo
3519 for ac_var in $ac_subst_vars
3520 do
3521 eval ac_val=\$$ac_var
3522 case $ac_val in
3523 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3524 esac
3525 $as_echo "$ac_var='\''$ac_val'\''"
3526 done | sort
3527 echo
3528
3529 if test -n "$ac_subst_files"; then
3530 $as_echo "## ------------------- ##
3531 ## File substitutions. ##
3532 ## ------------------- ##"
3533 echo
3534 for ac_var in $ac_subst_files
3535 do
3536 eval ac_val=\$$ac_var
3537 case $ac_val in
3538 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3539 esac
3540 $as_echo "$ac_var='\''$ac_val'\''"
3541 done | sort
3542 echo
3543 fi
3544
3545 if test -s confdefs.h; then
3546 $as_echo "## ----------- ##
3547 ## confdefs.h. ##
3548 ## ----------- ##"
3549 echo
3550 cat confdefs.h
3551 echo
3552 fi
3553 test "$ac_signal" != 0 &&
3554 $as_echo "$as_me: caught signal $ac_signal"
3555 $as_echo "$as_me: exit $exit_status"
3556 } >&5
3557 rm -f core *.core core.conftest.* &&
3558 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3559 exit $exit_status
3560 ' 0
3561 for ac_signal in 1 2 13 15; do
3562 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3563 done
3564 ac_signal=0
3565
3566 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3567 rm -f -r conftest* confdefs.h
3568
3569 $as_echo "/* confdefs.h */" > confdefs.h
3570
3571 # Predefined preprocessor variables.
3572
3573 cat >>confdefs.h <<_ACEOF
3574 #define PACKAGE_NAME "$PACKAGE_NAME"
3575 _ACEOF
3576
3577 cat >>confdefs.h <<_ACEOF
3578 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3579 _ACEOF
3580
3581 cat >>confdefs.h <<_ACEOF
3582 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3583 _ACEOF
3584
3585 cat >>confdefs.h <<_ACEOF
3586 #define PACKAGE_STRING "$PACKAGE_STRING"
3587 _ACEOF
3588
3589 cat >>confdefs.h <<_ACEOF
3590 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3591 _ACEOF
3592
3593 cat >>confdefs.h <<_ACEOF
3594 #define PACKAGE_URL "$PACKAGE_URL"
3595 _ACEOF
3596
3597
3598 # Let the site file select an alternate cache file if it wants to.
3599 # Prefer an explicitly selected file to automatically selected ones.
3600 ac_site_file1=NONE
3601 ac_site_file2=NONE
3602 if test -n "$CONFIG_SITE"; then
3603 # We do not want a PATH search for config.site.
3604 case $CONFIG_SITE in #((
3605 -*) ac_site_file1=./$CONFIG_SITE;;
3606 */*) ac_site_file1=$CONFIG_SITE;;
3607 *) ac_site_file1=./$CONFIG_SITE;;
3608 esac
3609 elif test "x$prefix" != xNONE; then
3610 ac_site_file1=$prefix/share/config.site
3611 ac_site_file2=$prefix/etc/config.site
3612 else
3613 ac_site_file1=$ac_default_prefix/share/config.site
3614 ac_site_file2=$ac_default_prefix/etc/config.site
3615 fi
3616 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3617 do
3618 test "x$ac_site_file" = xNONE && continue
3619 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3621 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3622 sed 's/^/| /' "$ac_site_file" >&5
3623 . "$ac_site_file" \
3624 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 as_fn_error $? "failed to load site script $ac_site_file
3627 See \`config.log' for more details" "$LINENO" 5; }
3628 fi
3629 done
3630
3631 if test -r "$cache_file"; then
3632 # Some versions of bash will fail to source /dev/null (special files
3633 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3634 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3636 $as_echo "$as_me: loading cache $cache_file" >&6;}
3637 case $cache_file in
3638 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3639 *) . "./$cache_file";;
3640 esac
3641 fi
3642 else
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3644 $as_echo "$as_me: creating cache $cache_file" >&6;}
3645 >$cache_file
3646 fi
3647
3648 # Check that the precious variables saved in the cache have kept the same
3649 # value.
3650 ac_cache_corrupted=false
3651 for ac_var in $ac_precious_vars; do
3652 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3653 eval ac_new_set=\$ac_env_${ac_var}_set
3654 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3655 eval ac_new_val=\$ac_env_${ac_var}_value
3656 case $ac_old_set,$ac_new_set in
3657 set,)
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3659 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3660 ac_cache_corrupted=: ;;
3661 ,set)
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3663 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3664 ac_cache_corrupted=: ;;
3665 ,);;
3666 *)
3667 if test "x$ac_old_val" != "x$ac_new_val"; then
3668 # differences in whitespace do not lead to failure.
3669 ac_old_val_w=`echo x $ac_old_val`
3670 ac_new_val_w=`echo x $ac_new_val`
3671 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3673 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3674 ac_cache_corrupted=:
3675 else
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3677 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3678 eval $ac_var=\$ac_old_val
3679 fi
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3681 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3683 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3684 fi;;
3685 esac
3686 # Pass precious variables to config.status.
3687 if test "$ac_new_set" = set; then
3688 case $ac_new_val in
3689 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3690 *) ac_arg=$ac_var=$ac_new_val ;;
3691 esac
3692 case " $ac_configure_args " in
3693 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3694 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3695 esac
3696 fi
3697 done
3698 if $ac_cache_corrupted; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3702 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3703 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3704 fi
3705 ## -------------------- ##
3706 ## Main body of script. ##
3707 ## -------------------- ##
3708
3709 ac_ext=c
3710 ac_cpp='$CPP $CPPFLAGS'
3711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714
3715
3716
3717
3718
3719 ac_aux_dir=
3720 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3721 if test -f "$ac_dir/install-sh"; then
3722 ac_aux_dir=$ac_dir
3723 ac_install_sh="$ac_aux_dir/install-sh -c"
3724 break
3725 elif test -f "$ac_dir/install.sh"; then
3726 ac_aux_dir=$ac_dir
3727 ac_install_sh="$ac_aux_dir/install.sh -c"
3728 break
3729 elif test -f "$ac_dir/shtool"; then
3730 ac_aux_dir=$ac_dir
3731 ac_install_sh="$ac_aux_dir/shtool install -c"
3732 break
3733 fi
3734 done
3735 if test -z "$ac_aux_dir"; then
3736 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3737 fi
3738
3739 # These three variables are undocumented and unsupported,
3740 # and are intended to be withdrawn in a future Autoconf release.
3741 # They can cause serious problems if a builder's source tree is in a directory
3742 # whose full name contains unusual characters.
3743 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3744 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3745 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3746
3747
3748 # Make sure we can run config.sub.
3749 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3750 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3751
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3753 $as_echo_n "checking build system type... " >&6; }
3754 if ${ac_cv_build+:} false; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 ac_build_alias=$build_alias
3758 test "x$ac_build_alias" = x &&
3759 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3760 test "x$ac_build_alias" = x &&
3761 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3762 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3763 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3764
3765 fi
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3767 $as_echo "$ac_cv_build" >&6; }
3768 case $ac_cv_build in
3769 *-*-*) ;;
3770 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3771 esac
3772 build=$ac_cv_build
3773 ac_save_IFS=$IFS; IFS='-'
3774 set x $ac_cv_build
3775 shift
3776 build_cpu=$1
3777 build_vendor=$2
3778 shift; shift
3779 # Remember, the first character of IFS is used to create $*,
3780 # except with old shells:
3781 build_os=$*
3782 IFS=$ac_save_IFS
3783 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3784
3785
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3787 $as_echo_n "checking host system type... " >&6; }
3788 if ${ac_cv_host+:} false; then :
3789 $as_echo_n "(cached) " >&6
3790 else
3791 if test "x$host_alias" = x; then
3792 ac_cv_host=$ac_cv_build
3793 else
3794 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3795 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3796 fi
3797
3798 fi
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3800 $as_echo "$ac_cv_host" >&6; }
3801 case $ac_cv_host in
3802 *-*-*) ;;
3803 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3804 esac
3805 host=$ac_cv_host
3806 ac_save_IFS=$IFS; IFS='-'
3807 set x $ac_cv_host
3808 shift
3809 host_cpu=$1
3810 host_vendor=$2
3811 shift; shift
3812 # Remember, the first character of IFS is used to create $*,
3813 # except with old shells:
3814 host_os=$*
3815 IFS=$ac_save_IFS
3816 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3817
3818
3819
3820 if test "$cross_compiling" != "no"; then
3821 HOST_PREFIX="${host_alias}-"
3822 HOST_SUFFIX="-$host_alias"
3823 else
3824 HOST_PREFIX=
3825 HOST_SUFFIX=
3826 fi
3827
3828
3829 wx_major_version_number=2
3830 wx_minor_version_number=9
3831 wx_release_number=5
3832 wx_subrelease_number=0
3833
3834 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3835 WX_VERSION=$WX_RELEASE.$wx_release_number
3836 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3837
3838 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3839
3840
3841 wx_top_builddir="`pwd`"
3842
3843
3844
3845
3846 USE_UNIX=1
3847 USE_OS2=0
3848 USE_WIN32=0
3849 USE_DOS=0
3850 USE_BEOS=0
3851 USE_MAC=0
3852
3853 USE_AIX=
3854 USE_BSD= USE_DARWIN= USE_FREEBSD=
3855 USE_GNU= USE_HPUX=
3856 USE_LINUX=
3857 USE_NETBSD=
3858 USE_OPENBSD=
3859 USE_OSF= USE_SGI=
3860 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3861 USE_ULTRIX=
3862 USE_UNIXWARE=
3863
3864 USE_ALPHA=
3865
3866 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3867
3868 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3869
3870 DEFAULT_wxUSE_OLD_COCOA=0
3871 DEFAULT_wxUSE_GTK=0
3872 DEFAULT_wxUSE_OSX_CARBON=0
3873 DEFAULT_wxUSE_OSX_COCOA=0
3874 DEFAULT_wxUSE_OSX_IPHONE=0
3875 DEFAULT_wxUSE_MICROWIN=0
3876 DEFAULT_wxUSE_MOTIF=0
3877 DEFAULT_wxUSE_MSW=0
3878 DEFAULT_wxUSE_PM=0
3879 DEFAULT_wxUSE_X11=0
3880 DEFAULT_wxUSE_DFB=0
3881
3882 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3883 DEFAULT_DEFAULT_wxUSE_GTK=0
3884 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3885 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3886 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3887 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3888 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3889 DEFAULT_DEFAULT_wxUSE_MSW=0
3890 DEFAULT_DEFAULT_wxUSE_PM=0
3891 DEFAULT_DEFAULT_wxUSE_X11=0
3892 DEFAULT_DEFAULT_wxUSE_DFB=0
3893
3894 PROGRAM_EXT=
3895 SAMPLES_RPATH_FLAG=
3896 DYLIB_RPATH_INSTALL=
3897 DYLIB_RPATH_POSTLINK=
3898
3899 DEFAULT_STD_FLAG=yes
3900
3901 case "${host}" in
3902 *-hp-hpux* )
3903 USE_HPUX=1
3904 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3905 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3906 $as_echo "#define __HPUX__ 1" >>confdefs.h
3907
3908
3909 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3910 ;;
3911 *-*-linux* )
3912 USE_LINUX=1
3913 $as_echo "#define __LINUX__ 1" >>confdefs.h
3914
3915 TMP=`uname -m`
3916 if test "x$TMP" = "xalpha"; then
3917 USE_ALPHA=1
3918 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3919
3920 fi
3921 DEFAULT_DEFAULT_wxUSE_GTK=1
3922 ;;
3923 *-*-gnu* | *-*-k*bsd*-gnu )
3924 USE_GNU=1
3925 TMP=`uname -m`
3926 if test "x$TMP" = "xalpha"; then
3927 USE_ALPHA=1
3928 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3929
3930 fi
3931 DEFAULT_DEFAULT_wxUSE_GTK=1
3932 ;;
3933 *-*-irix5* | *-*-irix6* )
3934 USE_SGI=1
3935 USE_SVR4=1
3936 $as_echo "#define __SGI__ 1" >>confdefs.h
3937
3938 $as_echo "#define __SVR4__ 1" >>confdefs.h
3939
3940 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3941 ;;
3942 *-*-qnx*)
3943 USE_QNX=1
3944 $as_echo "#define __QNX__ 1" >>confdefs.h
3945
3946 DEFAULT_DEFAULT_wxUSE_X11=1
3947 ;;
3948 *-*-solaris2* )
3949 USE_SUN=1
3950 USE_SOLARIS=1
3951 USE_SVR4=1
3952 $as_echo "#define __SUN__ 1" >>confdefs.h
3953
3954 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3955
3956 $as_echo "#define __SVR4__ 1" >>confdefs.h
3957
3958 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3959 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3960 ;;
3961 *-*-sunos4* )
3962 USE_SUN=1
3963 USE_SUNOS=1
3964 USE_BSD=1
3965 $as_echo "#define __SUN__ 1" >>confdefs.h
3966
3967 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3968
3969 $as_echo "#define __BSD__ 1" >>confdefs.h
3970
3971 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3972 ;;
3973 *-*-freebsd*)
3974 USE_BSD=1
3975 USE_FREEBSD=1
3976 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3977
3978 $as_echo "#define __BSD__ 1" >>confdefs.h
3979
3980 DEFAULT_DEFAULT_wxUSE_GTK=1
3981 ;;
3982 *-*-openbsd*|*-*-mirbsd*)
3983 USE_BSD=1
3984 USE_OPENBSD=1
3985 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3986
3987 $as_echo "#define __BSD__ 1" >>confdefs.h
3988
3989 DEFAULT_DEFAULT_wxUSE_GTK=1
3990 ;;
3991 *-*-netbsd*)
3992 USE_BSD=1
3993 USE_NETBSD=1
3994 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3995
3996 $as_echo "#define __BSD__ 1" >>confdefs.h
3997
3998 DEFAULT_DEFAULT_wxUSE_GTK=1
3999 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4000
4001 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
4002 ;;
4003 *-*-osf* )
4004 USE_ALPHA=1
4005 USE_OSF=1
4006 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4007
4008 $as_echo "#define __OSF__ 1" >>confdefs.h
4009
4010 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4011 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
4012 ;;
4013 *-*-dgux5* )
4014 USE_ALPHA=1
4015 USE_SVR4=1
4016 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4017
4018 $as_echo "#define __SVR4__ 1" >>confdefs.h
4019
4020 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4021 ;;
4022 *-*-sysv5* )
4023 USE_SYSV=1
4024 USE_SVR4=1
4025 $as_echo "#define __SYSV__ 1" >>confdefs.h
4026
4027 $as_echo "#define __SVR4__ 1" >>confdefs.h
4028
4029 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4030 ;;
4031 *-*-aix* )
4032 USE_AIX=1
4033 USE_SYSV=1
4034 USE_SVR4=1
4035 $as_echo "#define __AIX__ 1" >>confdefs.h
4036
4037 $as_echo "#define __SYSV__ 1" >>confdefs.h
4038
4039 $as_echo "#define __SVR4__ 1" >>confdefs.h
4040
4041 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4042 ;;
4043
4044 *-*-*UnixWare*)
4045 USE_SYSV=1
4046 USE_SVR4=1
4047 USE_UNIXWARE=1
4048 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4049
4050 ;;
4051
4052 *-*-cygwin* | *-*-mingw32* )
4053 PROGRAM_EXT=".exe"
4054 DEFAULT_DEFAULT_wxUSE_MSW=1
4055 ;;
4056
4057 *-pc-msdosdjgpp )
4058 USE_UNIX=0
4059 USE_DOS=1
4060 $as_echo "#define __DOS__ 1" >>confdefs.h
4061
4062 PROGRAM_EXT=".exe"
4063 ;;
4064
4065 *-pc-os2_emx | *-pc-os2-emx )
4066 $as_echo "#define __EMX__ 1" >>confdefs.h
4067
4068 USE_OS2=1
4069 $as_echo "#define __OS2__ 1" >>confdefs.h
4070
4071 PROGRAM_EXT=".exe"
4072 DEFAULT_DEFAULT_wxUSE_PM=1
4073 CXX=gcc
4074 LDFLAGS="$LDFLAGS -Zcrtdll"
4075 ac_executable_extensions=".exe"
4076 export ac_executable_extensions
4077 ac_save_IFS="$IFS"
4078 IFS='\\'
4079 ac_TEMP_PATH=
4080 for ac_dir in $PATH; do
4081 IFS=$ac_save_IFS
4082 if test -z "$ac_TEMP_PATH"; then
4083 ac_TEMP_PATH="$ac_dir"
4084 else
4085 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4086 fi
4087 done
4088 export PATH="$ac_TEMP_PATH"
4089 unset ac_TEMP_PATH
4090 DEFAULT_STD_FLAG=no
4091 ;;
4092
4093 arm-apple-darwin*)
4094 USE_BSD=1
4095 USE_DARWIN=1
4096 $as_echo "#define __BSD__ 1" >>confdefs.h
4097
4098 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4099
4100 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4101 ;;
4102
4103 *-*-darwin* )
4104 USE_BSD=1
4105 USE_DARWIN=1
4106 $as_echo "#define __BSD__ 1" >>confdefs.h
4107
4108 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4109
4110 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4111
4112 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4113 ;;
4114
4115 *-*-beos* )
4116 USE_BEOS=1
4117 $as_echo "#define __BEOS__ 1" >>confdefs.h
4118
4119 ;;
4120
4121 *)
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4123 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4125 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4126
4127 DEFAULT_DEFAULT_wxUSE_X11=1
4128 DEFAULT_wxUSE_SHARED=no
4129 esac
4130
4131
4132
4133 DEFAULT_wxUSE_ALL_FEATURES=yes
4134
4135 DEFAULT_wxUSE_STD_CONTAINERS=no
4136 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4137 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4138
4139 DEFAULT_wxUSE_DMALLOC=no
4140 DEFAULT_wxUSE_LIBGNOMEVFS=no
4141 DEFAULT_wxUSE_LIBHILDON=no
4142 DEFAULT_wxUSE_LIBHILDON2=no
4143 DEFAULT_wxUSE_LIBMSPACK=no
4144 DEFAULT_wxUSE_LIBSDL=no
4145
4146 DEFAULT_wxUSE_ACCESSIBILITY=no
4147 DEFAULT_wxUSE_IPV6=no
4148 DEFAULT_wxUSE_GSTREAMER8=no
4149 DEFAULT_wxUSE_UNICODE_UTF8=no
4150 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4151
4152 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4153 DEFAULT_wxUSE_OPENGL=auto
4154 DEFAULT_wxUSE_MEDIACTRL=auto
4155 DEFAULT_wxUSE_COMPILER_TLS=auto
4156 DEFAULT_wxUSE_HOTKEY=auto
4157 DEFAULT_wxUSE_METAFILE=auto
4158
4159 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4160 DEFAULT_wxUSE_MAC_ARCH=no
4161
4162 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4163
4164 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4165
4166
4167
4168
4169
4170 enablestring=disable
4171 defaultval=
4172 if test -z "$defaultval"; then
4173 if test x"$enablestring" = xdisable; then
4174 defaultval=yes
4175 else
4176 defaultval=no
4177 fi
4178 fi
4179
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4181 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4182 # Check whether --enable-gui was given.
4183 if test "${enable_gui+set}" = set; then :
4184 enableval=$enable_gui;
4185 if test "$enableval" = yes; then
4186 wx_cv_use_gui='wxUSE_GUI=yes'
4187 else
4188 wx_cv_use_gui='wxUSE_GUI=no'
4189 fi
4190
4191 else
4192
4193 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4194
4195 fi
4196
4197
4198 eval "$wx_cv_use_gui"
4199
4200 if test x"$enablestring" = xdisable; then
4201 if test $wxUSE_GUI = no; then
4202 result=yes
4203 else
4204 result=no
4205 fi
4206 else
4207 result=$wxUSE_GUI
4208 fi
4209
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4211 $as_echo "$result" >&6; }
4212
4213
4214 enablestring=
4215 defaultval=
4216 if test -z "$defaultval"; then
4217 if test x"$enablestring" = xdisable; then
4218 defaultval=yes
4219 else
4220 defaultval=no
4221 fi
4222 fi
4223
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4225 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4226 # Check whether --enable-monolithic was given.
4227 if test "${enable_monolithic+set}" = set; then :
4228 enableval=$enable_monolithic;
4229 if test "$enableval" = yes; then
4230 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4231 else
4232 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4233 fi
4234
4235 else
4236
4237 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4238
4239 fi
4240
4241
4242 eval "$wx_cv_use_monolithic"
4243
4244 if test x"$enablestring" = xdisable; then
4245 if test $wxUSE_MONOLITHIC = no; then
4246 result=yes
4247 else
4248 result=no
4249 fi
4250 else
4251 result=$wxUSE_MONOLITHIC
4252 fi
4253
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4255 $as_echo "$result" >&6; }
4256
4257
4258 enablestring=
4259 defaultval=
4260 if test -z "$defaultval"; then
4261 if test x"$enablestring" = xdisable; then
4262 defaultval=yes
4263 else
4264 defaultval=no
4265 fi
4266 fi
4267
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4269 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4270 # Check whether --enable-plugins was given.
4271 if test "${enable_plugins+set}" = set; then :
4272 enableval=$enable_plugins;
4273 if test "$enableval" = yes; then
4274 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4275 else
4276 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4277 fi
4278
4279 else
4280
4281 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4282
4283 fi
4284
4285
4286 eval "$wx_cv_use_plugins"
4287
4288 if test x"$enablestring" = xdisable; then
4289 if test $wxUSE_PLUGINS = no; then
4290 result=yes
4291 else
4292 result=no
4293 fi
4294 else
4295 result=$wxUSE_PLUGINS
4296 fi
4297
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4299 $as_echo "$result" >&6; }
4300
4301
4302 withstring=without
4303 defaultval=$wxUSE_ALL_FEATURES
4304 if test -z "$defaultval"; then
4305 if test x"$withstring" = xwithout; then
4306 defaultval=yes
4307 else
4308 defaultval=no
4309 fi
4310 fi
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4312 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4313
4314 # Check whether --with-subdirs was given.
4315 if test "${with_subdirs+set}" = set; then :
4316 withval=$with_subdirs;
4317 if test "$withval" = yes; then
4318 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4319 else
4320 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4321 fi
4322
4323 else
4324
4325 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4326
4327 fi
4328
4329
4330 eval "$wx_cv_use_subdirs"
4331
4332 if test x"$withstring" = xwithout; then
4333 if test $wxWITH_SUBDIRS = yes; then
4334 result=no
4335 else
4336 result=yes
4337 fi
4338 else
4339 result=$wxWITH_SUBDIRS
4340 fi
4341
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4343 $as_echo "$result" >&6; }
4344
4345
4346 # Check whether --with-flavour was given.
4347 if test "${with_flavour+set}" = set; then :
4348 withval=$with_flavour; WX_FLAVOUR="$withval"
4349 fi
4350
4351
4352 enablestring=
4353 defaultval=
4354 if test -z "$defaultval"; then
4355 if test x"$enablestring" = xdisable; then
4356 defaultval=yes
4357 else
4358 defaultval=no
4359 fi
4360 fi
4361
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4363 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4364 # Check whether --enable-official_build was given.
4365 if test "${enable_official_build+set}" = set; then :
4366 enableval=$enable_official_build;
4367 if test "$enableval" = yes; then
4368 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4369 else
4370 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4371 fi
4372
4373 else
4374
4375 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4376
4377 fi
4378
4379
4380 eval "$wx_cv_use_official_build"
4381
4382 if test x"$enablestring" = xdisable; then
4383 if test $wxUSE_OFFICIAL_BUILD = no; then
4384 result=yes
4385 else
4386 result=no
4387 fi
4388 else
4389 result=$wxUSE_OFFICIAL_BUILD
4390 fi
4391
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4393 $as_echo "$result" >&6; }
4394
4395 # Check whether --enable-vendor was given.
4396 if test "${enable_vendor+set}" = set; then :
4397 enableval=$enable_vendor; VENDOR="$enableval"
4398 fi
4399
4400 if test "x$VENDOR" = "x"; then
4401 VENDOR="custom"
4402 fi
4403
4404
4405 enablestring=disable
4406 defaultval=
4407 if test -z "$defaultval"; then
4408 if test x"$enablestring" = xdisable; then
4409 defaultval=yes
4410 else
4411 defaultval=no
4412 fi
4413 fi
4414
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4416 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4417 # Check whether --enable-all-features was given.
4418 if test "${enable_all_features+set}" = set; then :
4419 enableval=$enable_all_features;
4420 if test "$enableval" = yes; then
4421 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4422 else
4423 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4424 fi
4425
4426 else
4427
4428 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4429
4430 fi
4431
4432
4433 eval "$wx_cv_use_all_features"
4434
4435 if test x"$enablestring" = xdisable; then
4436 if test $wxUSE_ALL_FEATURES = no; then
4437 result=yes
4438 else
4439 result=no
4440 fi
4441 else
4442 result=$wxUSE_ALL_FEATURES
4443 fi
4444
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4446 $as_echo "$result" >&6; }
4447
4448
4449 if test "$wxUSE_ALL_FEATURES" = "no"; then
4450 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4451 DEFAULT_wxUSE_MEDIACTRL=no
4452 fi
4453
4454
4455 if test "$wxUSE_GUI" = "yes"; then
4456
4457
4458 enablestring=
4459 defaultval=
4460 if test -z "$defaultval"; then
4461 if test x"$enablestring" = xdisable; then
4462 defaultval=yes
4463 else
4464 defaultval=no
4465 fi
4466 fi
4467
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4469 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4470 # Check whether --enable-universal was given.
4471 if test "${enable_universal+set}" = set; then :
4472 enableval=$enable_universal;
4473 if test "$enableval" = yes; then
4474 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4475 else
4476 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4477 fi
4478
4479 else
4480
4481 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4482
4483 fi
4484
4485
4486 eval "$wx_cv_use_universal"
4487
4488 if test x"$enablestring" = xdisable; then
4489 if test $wxUSE_UNIVERSAL = no; then
4490 result=yes
4491 else
4492 result=no
4493 fi
4494 else
4495 result=$wxUSE_UNIVERSAL
4496 fi
4497
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4499 $as_echo "$result" >&6; }
4500
4501 if test "$wxUSE_UNIVERSAL" = "yes"; then
4502
4503 # Check whether --with-themes was given.
4504 if test "${with_themes+set}" = set; then :
4505 withval=$with_themes; wxUNIV_THEMES="$withval"
4506 fi
4507
4508 fi
4509
4510
4511 # Check whether --with-gtk was given.
4512 if test "${with_gtk+set}" = set; then :
4513 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4514 fi
4515
4516
4517 # Check whether --with-motif was given.
4518 if test "${with_motif+set}" = set; then :
4519 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4520 fi
4521
4522
4523 # Check whether --with-osx_carbon was given.
4524 if test "${with_osx_carbon+set}" = set; then :
4525 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4526 fi
4527
4528
4529 # Check whether --with-osx_cocoa was given.
4530 if test "${with_osx_cocoa+set}" = set; then :
4531 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4532 fi
4533
4534
4535 # Check whether --with-osx_iphone was given.
4536 if test "${with_osx_iphone+set}" = set; then :
4537 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4538 fi
4539
4540
4541 # Check whether --with-osx was given.
4542 if test "${with_osx+set}" = set; then :
4543 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4544 fi
4545
4546
4547 # Check whether --with-carbon was given.
4548 if test "${with_carbon+set}" = set; then :
4549 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4550 fi
4551
4552
4553 # Check whether --with-cocoa was given.
4554 if test "${with_cocoa+set}" = set; then :
4555 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4556 fi
4557
4558
4559 # Check whether --with-iphone was given.
4560 if test "${with_iphone+set}" = set; then :
4561 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4562 fi
4563
4564
4565 # Check whether --with-mac was given.
4566 if test "${with_mac+set}" = set; then :
4567 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4568 fi
4569
4570
4571 # Check whether --with-old_cocoa was given.
4572 if test "${with_old_cocoa+set}" = set; then :
4573 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4574 fi
4575
4576
4577 # Check whether --with-wine was given.
4578 if test "${with_wine+set}" = set; then :
4579 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4580 fi
4581
4582
4583 # Check whether --with-msw was given.
4584 if test "${with_msw+set}" = set; then :
4585 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4586 fi
4587
4588
4589 # Check whether --with-pm was given.
4590 if test "${with_pm+set}" = set; then :
4591 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4592 fi
4593
4594
4595 # Check whether --with-directfb was given.
4596 if test "${with_directfb+set}" = set; then :
4597 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4598 fi
4599
4600
4601 # Check whether --with-microwin was given.
4602 if test "${with_microwin+set}" = set; then :
4603 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4604 fi
4605
4606
4607 # Check whether --with-x11 was given.
4608 if test "${with_x11+set}" = set; then :
4609 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4610 fi
4611
4612
4613 enablestring=
4614 defaultval=
4615 if test -z "$defaultval"; then
4616 if test x"$enablestring" = xdisable; then
4617 defaultval=yes
4618 else
4619 defaultval=no
4620 fi
4621 fi
4622
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4624 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4625 # Check whether --enable-nanox was given.
4626 if test "${enable_nanox+set}" = set; then :
4627 enableval=$enable_nanox;
4628 if test "$enableval" = yes; then
4629 wx_cv_use_nanox='wxUSE_NANOX=yes'
4630 else
4631 wx_cv_use_nanox='wxUSE_NANOX=no'
4632 fi
4633
4634 else
4635
4636 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4637
4638 fi
4639
4640
4641 eval "$wx_cv_use_nanox"
4642
4643 if test x"$enablestring" = xdisable; then
4644 if test $wxUSE_NANOX = no; then
4645 result=yes
4646 else
4647 result=no
4648 fi
4649 else
4650 result=$wxUSE_NANOX
4651 fi
4652
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4654 $as_echo "$result" >&6; }
4655
4656
4657 enablestring=
4658 defaultval=
4659 if test -z "$defaultval"; then
4660 if test x"$enablestring" = xdisable; then
4661 defaultval=yes
4662 else
4663 defaultval=no
4664 fi
4665 fi
4666
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4668 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4669 # Check whether --enable-gpe was given.
4670 if test "${enable_gpe+set}" = set; then :
4671 enableval=$enable_gpe;
4672 if test "$enableval" = yes; then
4673 wx_cv_use_gpe='wxUSE_GPE=yes'
4674 else
4675 wx_cv_use_gpe='wxUSE_GPE=no'
4676 fi
4677
4678 else
4679
4680 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4681
4682 fi
4683
4684
4685 eval "$wx_cv_use_gpe"
4686
4687 if test x"$enablestring" = xdisable; then
4688 if test $wxUSE_GPE = no; then
4689 result=yes
4690 else
4691 result=no
4692 fi
4693 else
4694 result=$wxUSE_GPE
4695 fi
4696
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4698 $as_echo "$result" >&6; }
4699
4700
4701
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4703 $as_echo_n "checking for toolkit... " >&6; }
4704
4705
4706
4707 # In Wine, we need to default to MSW, not GTK or MOTIF
4708 if test "$wxUSE_WINE" = "yes"; then
4709 DEFAULT_DEFAULT_wxUSE_GTK=0
4710 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4711 DEFAULT_DEFAULT_wxUSE_MSW=1
4712 wxUSE_SHARED=no
4713 CC=${CC:-winegcc}
4714 CXX=${CXX:-wineg++}
4715 fi
4716
4717
4718 if test "$wxUSE_GUI" = "yes"; then
4719
4720 if test "$USE_BEOS" = 1; then
4721 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4722 fi
4723
4724 if test "$TOOLKIT_GIVEN" = 1; then
4725 for toolkit in $ALL_TOOLKITS; do
4726 var=wxUSE_$toolkit
4727 eval "value=\$${var}"
4728 if test "x$value" = "xno"; then
4729 eval "$var=0"
4730 elif test "x$value" != "x"; then
4731 eval "$var=1"
4732 fi
4733
4734 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4735 eval "wx${toolkit}_VERSION=$value"
4736 fi
4737 done
4738 else
4739 for toolkit in $ALL_TOOLKITS; do
4740 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4741 eval "wxUSE_$toolkit=\$${var}"
4742 done
4743 fi
4744
4745 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4746 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4747 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4748
4749 case "${host}" in
4750 *-pc-os2_emx | *-pc-os2-emx )
4751 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4752 esac
4753
4754 case "$NUM_TOOLKITS" in
4755 1)
4756 ;;
4757 0)
4758 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4759 ;;
4760 *)
4761 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4762 esac
4763
4764 for toolkit in $ALL_TOOLKITS; do
4765 var=wxUSE_$toolkit
4766 eval "value=\$${var}"
4767 if test "$value" = 1; then
4768 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4770 $as_echo "$toolkit_echo" >&6; }
4771 fi
4772 done
4773 else
4774 if test "x$host_alias" != "x"; then
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4776 $as_echo "base ($host_alias hosted) only" >&6; }
4777 else
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4779 $as_echo "base only" >&6; }
4780 fi
4781 fi
4782
4783 wxUSE_MAC=0
4784 if test "$wxUSE_OSX_CARBON" = 1 \
4785 -o "$wxUSE_OSX_COCOA" = 1 \
4786 -o "$wxUSE_OSX_IPHONE" = 1; then
4787 wxUSE_MAC=1
4788 fi
4789
4790
4791
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4793 $as_echo_n "checking for --with-libpng... " >&6; }
4794
4795 # Check whether --with-libpng was given.
4796 if test "${with_libpng+set}" = set; then :
4797 withval=$with_libpng;
4798 if test "$withval" = yes; then
4799 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4800 elif test "$withval" = no; then
4801 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4802 elif test "$withval" = sys; then
4803 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4804 elif test "$withval" = builtin; then
4805 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4806 else
4807 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4808 fi
4809
4810 else
4811
4812 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4813
4814 fi
4815
4816
4817 eval "$wx_cv_use_libpng"
4818
4819 if test "$wxUSE_LIBPNG" = yes; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4821 $as_echo "yes" >&6; }
4822 elif test "$wxUSE_LIBPNG" = no; then
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4825 elif test "$wxUSE_LIBPNG" = sys; then
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4827 $as_echo "system version" >&6; }
4828 elif test "$wxUSE_LIBPNG" = builtin; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4830 $as_echo "builtin version" >&6; }
4831 else
4832 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4833 fi
4834
4835
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4837 $as_echo_n "checking for --with-libjpeg... " >&6; }
4838
4839 # Check whether --with-libjpeg was given.
4840 if test "${with_libjpeg+set}" = set; then :
4841 withval=$with_libjpeg;
4842 if test "$withval" = yes; then
4843 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4844 elif test "$withval" = no; then
4845 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4846 elif test "$withval" = sys; then
4847 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4848 elif test "$withval" = builtin; then
4849 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4850 else
4851 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4852 fi
4853
4854 else
4855
4856 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4857
4858 fi
4859
4860
4861 eval "$wx_cv_use_libjpeg"
4862
4863 if test "$wxUSE_LIBJPEG" = yes; then
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4865 $as_echo "yes" >&6; }
4866 elif test "$wxUSE_LIBJPEG" = no; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4868 $as_echo "no" >&6; }
4869 elif test "$wxUSE_LIBJPEG" = sys; then
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4871 $as_echo "system version" >&6; }
4872 elif test "$wxUSE_LIBJPEG" = builtin; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4874 $as_echo "builtin version" >&6; }
4875 else
4876 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4877 fi
4878
4879
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4881 $as_echo_n "checking for --with-libtiff... " >&6; }
4882
4883 # Check whether --with-libtiff was given.
4884 if test "${with_libtiff+set}" = set; then :
4885 withval=$with_libtiff;
4886 if test "$withval" = yes; then
4887 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4888 elif test "$withval" = no; then
4889 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4890 elif test "$withval" = sys; then
4891 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4892 elif test "$withval" = builtin; then
4893 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4894 else
4895 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4896 fi
4897
4898 else
4899
4900 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4901
4902 fi
4903
4904
4905 eval "$wx_cv_use_libtiff"
4906
4907 if test "$wxUSE_LIBTIFF" = yes; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4909 $as_echo "yes" >&6; }
4910 elif test "$wxUSE_LIBTIFF" = no; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4913 elif test "$wxUSE_LIBTIFF" = sys; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4915 $as_echo "system version" >&6; }
4916 elif test "$wxUSE_LIBTIFF" = builtin; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4918 $as_echo "builtin version" >&6; }
4919 else
4920 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4921 fi
4922
4923
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4925 $as_echo_n "checking for --with-libxpm... " >&6; }
4926
4927 # Check whether --with-libxpm was given.
4928 if test "${with_libxpm+set}" = set; then :
4929 withval=$with_libxpm;
4930 if test "$withval" = yes; then
4931 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4932 elif test "$withval" = no; then
4933 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4934 elif test "$withval" = sys; then
4935 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4936 elif test "$withval" = builtin; then
4937 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4938 else
4939 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4940 fi
4941
4942 else
4943
4944 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4945
4946 fi
4947
4948
4949 eval "$wx_cv_use_libxpm"
4950
4951 if test "$wxUSE_LIBXPM" = yes; then
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4953 $as_echo "yes" >&6; }
4954 elif test "$wxUSE_LIBXPM" = no; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4956 $as_echo "no" >&6; }
4957 elif test "$wxUSE_LIBXPM" = sys; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4959 $as_echo "system version" >&6; }
4960 elif test "$wxUSE_LIBXPM" = builtin; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4962 $as_echo "builtin version" >&6; }
4963 else
4964 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4965 fi
4966
4967
4968 withstring=
4969 defaultval=$wxUSE_ALL_FEATURES
4970 if test -z "$defaultval"; then
4971 if test x"$withstring" = xwithout; then
4972 defaultval=yes
4973 else
4974 defaultval=no
4975 fi
4976 fi
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4978 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4979
4980 # Check whether --with-libiconv was given.
4981 if test "${with_libiconv+set}" = set; then :
4982 withval=$with_libiconv;
4983 if test "$withval" = yes; then
4984 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4985 else
4986 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4987 fi
4988
4989 else
4990
4991 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4992
4993 fi
4994
4995
4996 eval "$wx_cv_use_libiconv"
4997
4998 if test x"$withstring" = xwithout; then
4999 if test $wxUSE_LIBICONV = yes; then
5000 result=no
5001 else
5002 result=yes
5003 fi
5004 else
5005 result=$wxUSE_LIBICONV
5006 fi
5007
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5009 $as_echo "$result" >&6; }
5010
5011
5012 withstring=
5013 defaultval=$wxUSE_ALL_FEATURES
5014 if test -z "$defaultval"; then
5015 if test x"$withstring" = xwithout; then
5016 defaultval=yes
5017 else
5018 defaultval=no
5019 fi
5020 fi
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5022 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5023
5024 # Check whether --with-libmspack was given.
5025 if test "${with_libmspack+set}" = set; then :
5026 withval=$with_libmspack;
5027 if test "$withval" = yes; then
5028 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5029 else
5030 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5031 fi
5032
5033 else
5034
5035 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5036
5037 fi
5038
5039
5040 eval "$wx_cv_use_libmspack"
5041
5042 if test x"$withstring" = xwithout; then
5043 if test $wxUSE_LIBMSPACK = yes; then
5044 result=no
5045 else
5046 result=yes
5047 fi
5048 else
5049 result=$wxUSE_LIBMSPACK
5050 fi
5051
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5053 $as_echo "$result" >&6; }
5054
5055
5056 withstring=without
5057 defaultval=$wxUSE_ALL_FEATURES
5058 if test -z "$defaultval"; then
5059 if test x"$withstring" = xwithout; then
5060 defaultval=yes
5061 else
5062 defaultval=no
5063 fi
5064 fi
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5066 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5067
5068 # Check whether --with-gtkprint was given.
5069 if test "${with_gtkprint+set}" = set; then :
5070 withval=$with_gtkprint;
5071 if test "$withval" = yes; then
5072 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5073 else
5074 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5075 fi
5076
5077 else
5078
5079 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5080
5081 fi
5082
5083
5084 eval "$wx_cv_use_gtkprint"
5085
5086 if test x"$withstring" = xwithout; then
5087 if test $wxUSE_GTKPRINT = yes; then
5088 result=no
5089 else
5090 result=yes
5091 fi
5092 else
5093 result=$wxUSE_GTKPRINT
5094 fi
5095
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5097 $as_echo "$result" >&6; }
5098
5099
5100 withstring=without
5101 defaultval=$wxUSE_ALL_FEATURES
5102 if test -z "$defaultval"; then
5103 if test x"$withstring" = xwithout; then
5104 defaultval=yes
5105 else
5106 defaultval=no
5107 fi
5108 fi
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5110 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5111
5112 # Check whether --with-gnomeprint was given.
5113 if test "${with_gnomeprint+set}" = set; then :
5114 withval=$with_gnomeprint;
5115 if test "$withval" = yes; then
5116 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5117 else
5118 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5119 fi
5120
5121 else
5122
5123 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5124
5125 fi
5126
5127
5128 eval "$wx_cv_use_gnomeprint"
5129
5130 if test x"$withstring" = xwithout; then
5131 if test $wxUSE_LIBGNOMEPRINT = yes; then
5132 result=no
5133 else
5134 result=yes
5135 fi
5136 else
5137 result=$wxUSE_LIBGNOMEPRINT
5138 fi
5139
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5141 $as_echo "$result" >&6; }
5142
5143
5144 withstring=
5145 defaultval=$wxUSE_ALL_FEATURES
5146 if test -z "$defaultval"; then
5147 if test x"$withstring" = xwithout; then
5148 defaultval=yes
5149 else
5150 defaultval=no
5151 fi
5152 fi
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5154 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5155
5156 # Check whether --with-gnomevfs was given.
5157 if test "${with_gnomevfs+set}" = set; then :
5158 withval=$with_gnomevfs;
5159 if test "$withval" = yes; then
5160 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5161 else
5162 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5163 fi
5164
5165 else
5166
5167 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5168
5169 fi
5170
5171
5172 eval "$wx_cv_use_gnomevfs"
5173
5174 if test x"$withstring" = xwithout; then
5175 if test $wxUSE_LIBGNOMEVFS = yes; then
5176 result=no
5177 else
5178 result=yes
5179 fi
5180 else
5181 result=$wxUSE_LIBGNOMEVFS
5182 fi
5183
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5185 $as_echo "$result" >&6; }
5186
5187
5188 withstring=
5189 defaultval=$wxUSE_ALL_FEATURES
5190 if test -z "$defaultval"; then
5191 if test x"$withstring" = xwithout; then
5192 defaultval=yes
5193 else
5194 defaultval=no
5195 fi
5196 fi
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5198 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5199
5200 # Check whether --with-hildon was given.
5201 if test "${with_hildon+set}" = set; then :
5202 withval=$with_hildon;
5203 if test "$withval" = yes; then
5204 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5205 else
5206 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5207 fi
5208
5209 else
5210
5211 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5212
5213 fi
5214
5215
5216 eval "$wx_cv_use_hildon"
5217
5218 if test x"$withstring" = xwithout; then
5219 if test $wxUSE_LIBHILDON = yes; then
5220 result=no
5221 else
5222 result=yes
5223 fi
5224 else
5225 result=$wxUSE_LIBHILDON
5226 fi
5227
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5229 $as_echo "$result" >&6; }
5230
5231
5232 withstring=
5233 defaultval=$wxUSE_ALL_FEATURES
5234 if test -z "$defaultval"; then
5235 if test x"$withstring" = xwithout; then
5236 defaultval=yes
5237 else
5238 defaultval=no
5239 fi
5240 fi
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5242 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5243
5244 # Check whether --with-opengl was given.
5245 if test "${with_opengl+set}" = set; then :
5246 withval=$with_opengl;
5247 if test "$withval" = yes; then
5248 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5249 else
5250 wx_cv_use_opengl='wxUSE_OPENGL=no'
5251 fi
5252
5253 else
5254
5255 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5256
5257 fi
5258
5259
5260 eval "$wx_cv_use_opengl"
5261
5262 if test x"$withstring" = xwithout; then
5263 if test $wxUSE_OPENGL = yes; then
5264 result=no
5265 else
5266 result=yes
5267 fi
5268 else
5269 result=$wxUSE_OPENGL
5270 fi
5271
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5273 $as_echo "$result" >&6; }
5274
5275
5276 fi
5277
5278
5279 withstring=
5280 defaultval=$wxUSE_ALL_FEATURES
5281 if test -z "$defaultval"; then
5282 if test x"$withstring" = xwithout; then
5283 defaultval=yes
5284 else
5285 defaultval=no
5286 fi
5287 fi
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5289 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5290
5291 # Check whether --with-dmalloc was given.
5292 if test "${with_dmalloc+set}" = set; then :
5293 withval=$with_dmalloc;
5294 if test "$withval" = yes; then
5295 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5296 else
5297 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5298 fi
5299
5300 else
5301
5302 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5303
5304 fi
5305
5306
5307 eval "$wx_cv_use_dmalloc"
5308
5309 if test x"$withstring" = xwithout; then
5310 if test $wxUSE_DMALLOC = yes; then
5311 result=no
5312 else
5313 result=yes
5314 fi
5315 else
5316 result=$wxUSE_DMALLOC
5317 fi
5318
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5320 $as_echo "$result" >&6; }
5321
5322
5323 withstring=
5324 defaultval=$wxUSE_ALL_FEATURES
5325 if test -z "$defaultval"; then
5326 if test x"$withstring" = xwithout; then
5327 defaultval=yes
5328 else
5329 defaultval=no
5330 fi
5331 fi
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5333 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5334
5335 # Check whether --with-sdl was given.
5336 if test "${with_sdl+set}" = set; then :
5337 withval=$with_sdl;
5338 if test "$withval" = yes; then
5339 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5340 else
5341 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5342 fi
5343
5344 else
5345
5346 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5347
5348 fi
5349
5350
5351 eval "$wx_cv_use_sdl"
5352
5353 if test x"$withstring" = xwithout; then
5354 if test $wxUSE_LIBSDL = yes; then
5355 result=no
5356 else
5357 result=yes
5358 fi
5359 else
5360 result=$wxUSE_LIBSDL
5361 fi
5362
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5364 $as_echo "$result" >&6; }
5365
5366
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5368 $as_echo_n "checking for --with-regex... " >&6; }
5369
5370 # Check whether --with-regex was given.
5371 if test "${with_regex+set}" = set; then :
5372 withval=$with_regex;
5373 if test "$withval" = yes; then
5374 wx_cv_use_regex='wxUSE_REGEX=yes'
5375 elif test "$withval" = no; then
5376 wx_cv_use_regex='wxUSE_REGEX=no'
5377 elif test "$withval" = sys; then
5378 wx_cv_use_regex='wxUSE_REGEX=sys'
5379 elif test "$withval" = builtin; then
5380 wx_cv_use_regex='wxUSE_REGEX=builtin'
5381 else
5382 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5383 fi
5384
5385 else
5386
5387 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5388
5389 fi
5390
5391
5392 eval "$wx_cv_use_regex"
5393
5394 if test "$wxUSE_REGEX" = yes; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5396 $as_echo "yes" >&6; }
5397 elif test "$wxUSE_REGEX" = no; then
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5400 elif test "$wxUSE_REGEX" = sys; then
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5402 $as_echo "system version" >&6; }
5403 elif test "$wxUSE_REGEX" = builtin; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5405 $as_echo "builtin version" >&6; }
5406 else
5407 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5408 fi
5409
5410
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5412 $as_echo_n "checking for --with-zlib... " >&6; }
5413
5414 # Check whether --with-zlib was given.
5415 if test "${with_zlib+set}" = set; then :
5416 withval=$with_zlib;
5417 if test "$withval" = yes; then
5418 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5419 elif test "$withval" = no; then
5420 wx_cv_use_zlib='wxUSE_ZLIB=no'
5421 elif test "$withval" = sys; then
5422 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5423 elif test "$withval" = builtin; then
5424 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5425 else
5426 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5427 fi
5428
5429 else
5430
5431 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5432
5433 fi
5434
5435
5436 eval "$wx_cv_use_zlib"
5437
5438 if test "$wxUSE_ZLIB" = yes; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5440 $as_echo "yes" >&6; }
5441 elif test "$wxUSE_ZLIB" = no; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443 $as_echo "no" >&6; }
5444 elif test "$wxUSE_ZLIB" = sys; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5446 $as_echo "system version" >&6; }
5447 elif test "$wxUSE_ZLIB" = builtin; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5449 $as_echo "builtin version" >&6; }
5450 else
5451 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5452 fi
5453
5454
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5456 $as_echo_n "checking for --with-expat... " >&6; }
5457
5458 # Check whether --with-expat was given.
5459 if test "${with_expat+set}" = set; then :
5460 withval=$with_expat;
5461 if test "$withval" = yes; then
5462 wx_cv_use_expat='wxUSE_EXPAT=yes'
5463 elif test "$withval" = no; then
5464 wx_cv_use_expat='wxUSE_EXPAT=no'
5465 elif test "$withval" = sys; then
5466 wx_cv_use_expat='wxUSE_EXPAT=sys'
5467 elif test "$withval" = builtin; then
5468 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5469 else
5470 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5471 fi
5472
5473 else
5474
5475 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5476
5477 fi
5478
5479
5480 eval "$wx_cv_use_expat"
5481
5482 if test "$wxUSE_EXPAT" = yes; then
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5484 $as_echo "yes" >&6; }
5485 elif test "$wxUSE_EXPAT" = no; then
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487 $as_echo "no" >&6; }
5488 elif test "$wxUSE_EXPAT" = sys; then
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5490 $as_echo "system version" >&6; }
5491 elif test "$wxUSE_EXPAT" = builtin; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5493 $as_echo "builtin version" >&6; }
5494 else
5495 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5496 fi
5497
5498
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5500 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5501
5502 # Check whether --with-macosx-sdk was given.
5503 if test "${with_macosx_sdk+set}" = set; then :
5504 withval=$with_macosx_sdk;
5505 wxUSE_MACOSX_SDK=$withval
5506 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5507
5508 fi
5509
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5511 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5512
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5514 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5515
5516 # Check whether --with-macosx-version-min was given.
5517 if test "${with_macosx_version_min+set}" = set; then :
5518 withval=$with_macosx_version_min;
5519 wxUSE_MACOSX_VERSION_MIN=$withval
5520 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5521
5522 fi
5523
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5525 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5526
5527
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5529 $as_echo_n "checking for --enable-debug... " >&6; }
5530 # Check whether --enable-debug was given.
5531 if test "${enable_debug+set}" = set; then :
5532 enableval=$enable_debug;
5533 if test "$enableval" = yes; then
5534 wxUSE_DEBUG=yes
5535 elif test "$enableval" = no; then
5536 wxUSE_DEBUG=no
5537 elif test "$enableval" = max; then
5538 wxUSE_DEBUG=yes
5539 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5540 else
5541 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5542 fi
5543
5544 else
5545 wxUSE_DEBUG=default
5546
5547 fi
5548
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5550 $as_echo "${enable_debug-default}" >&6; }
5551
5552 case "$wxUSE_DEBUG" in
5553 yes)
5554 DEFAULT_wxUSE_DEBUG_FLAG=yes
5555 DEFAULT_wxUSE_DEBUG_INFO=yes
5556
5557 DEFAULT_wxUSE_OPTIMISE=no
5558 ;;
5559
5560 no)
5561 DEFAULT_wxUSE_DEBUG_FLAG=no
5562 DEFAULT_wxUSE_DEBUG_INFO=no
5563 ;;
5564
5565 default)
5566 DEFAULT_wxUSE_DEBUG_FLAG=yes
5567 DEFAULT_wxUSE_DEBUG_INFO=no
5568 ;;
5569 esac
5570
5571
5572 enablestring=disable
5573 defaultval=
5574 if test -z "$defaultval"; then
5575 if test x"$enablestring" = xdisable; then
5576 defaultval=yes
5577 else
5578 defaultval=no
5579 fi
5580 fi
5581
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5583 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5584 # Check whether --enable-debug_flag was given.
5585 if test "${enable_debug_flag+set}" = set; then :
5586 enableval=$enable_debug_flag;
5587 if test "$enableval" = yes; then
5588 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5589 else
5590 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5591 fi
5592
5593 else
5594
5595 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5596
5597 fi
5598
5599
5600 eval "$wx_cv_use_debug_flag"
5601
5602 if test x"$enablestring" = xdisable; then
5603 if test $wxUSE_DEBUG_FLAG = no; then
5604 result=yes
5605 else
5606 result=no
5607 fi
5608 else
5609 result=$wxUSE_DEBUG_FLAG
5610 fi
5611
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5613 $as_echo "$result" >&6; }
5614
5615
5616 enablestring=
5617 defaultval=
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5620 defaultval=yes
5621 else
5622 defaultval=no
5623 fi
5624 fi
5625
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5627 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5628 # Check whether --enable-debug_info was given.
5629 if test "${enable_debug_info+set}" = set; then :
5630 enableval=$enable_debug_info;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5633 else
5634 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5635 fi
5636
5637 else
5638
5639 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5640
5641 fi
5642
5643
5644 eval "$wx_cv_use_debug_info"
5645
5646 if test x"$enablestring" = xdisable; then
5647 if test $wxUSE_DEBUG_INFO = no; then
5648 result=yes
5649 else
5650 result=no
5651 fi
5652 else
5653 result=$wxUSE_DEBUG_INFO
5654 fi
5655
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5657 $as_echo "$result" >&6; }
5658
5659
5660
5661
5662 enablestring=
5663 defaultval=
5664 if test -z "$defaultval"; then
5665 if test x"$enablestring" = xdisable; then
5666 defaultval=yes
5667 else
5668 defaultval=no
5669 fi
5670 fi
5671
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5673 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5674 # Check whether --enable-debug_gdb was given.
5675 if test "${enable_debug_gdb+set}" = set; then :
5676 enableval=$enable_debug_gdb;
5677 if test "$enableval" = yes; then
5678 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5679 else
5680 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5681 fi
5682
5683 else
5684
5685 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5686
5687 fi
5688
5689
5690 eval "$wx_cv_use_debug_gdb"
5691
5692 if test x"$enablestring" = xdisable; then
5693 if test $wxUSE_DEBUG_GDB = no; then
5694 result=yes
5695 else
5696 result=no
5697 fi
5698 else
5699 result=$wxUSE_DEBUG_GDB
5700 fi
5701
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5703 $as_echo "$result" >&6; }
5704
5705
5706 enablestring=
5707 defaultval=
5708 if test -z "$defaultval"; then
5709 if test x"$enablestring" = xdisable; then
5710 defaultval=yes
5711 else
5712 defaultval=no
5713 fi
5714 fi
5715
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5717 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5718 # Check whether --enable-debug_cntxt was given.
5719 if test "${enable_debug_cntxt+set}" = set; then :
5720 enableval=$enable_debug_cntxt;
5721 if test "$enableval" = yes; then
5722 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5723 else
5724 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5725 fi
5726
5727 else
5728
5729 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5730
5731 fi
5732
5733
5734 eval "$wx_cv_use_debug_cntxt"
5735
5736 if test x"$enablestring" = xdisable; then
5737 if test $wxUSE_DEBUG_CONTEXT = no; then
5738 result=yes
5739 else
5740 result=no
5741 fi
5742 else
5743 result=$wxUSE_DEBUG_CONTEXT
5744 fi
5745
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5747 $as_echo "$result" >&6; }
5748
5749
5750 enablestring=
5751 defaultval=
5752 if test -z "$defaultval"; then
5753 if test x"$enablestring" = xdisable; then
5754 defaultval=yes
5755 else
5756 defaultval=no
5757 fi
5758 fi
5759
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5761 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5762 # Check whether --enable-mem_tracing was given.
5763 if test "${enable_mem_tracing+set}" = set; then :
5764 enableval=$enable_mem_tracing;
5765 if test "$enableval" = yes; then
5766 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5767 else
5768 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5769 fi
5770
5771 else
5772
5773 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5774
5775 fi
5776
5777
5778 eval "$wx_cv_use_mem_tracing"
5779
5780 if test x"$enablestring" = xdisable; then
5781 if test $wxUSE_MEM_TRACING = no; then
5782 result=yes
5783 else
5784 result=no
5785 fi
5786 else
5787 result=$wxUSE_MEM_TRACING
5788 fi
5789
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5791 $as_echo "$result" >&6; }
5792
5793
5794
5795
5796 enablestring=disable
5797 defaultval=
5798 if test -z "$defaultval"; then
5799 if test x"$enablestring" = xdisable; then
5800 defaultval=yes
5801 else
5802 defaultval=no
5803 fi
5804 fi
5805
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5807 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5808 # Check whether --enable-shared was given.
5809 if test "${enable_shared+set}" = set; then :
5810 enableval=$enable_shared;
5811 if test "$enableval" = yes; then
5812 wx_cv_use_shared='wxUSE_SHARED=yes'
5813 else
5814 wx_cv_use_shared='wxUSE_SHARED=no'
5815 fi
5816
5817 else
5818
5819 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5820
5821 fi
5822
5823
5824 eval "$wx_cv_use_shared"
5825
5826 if test x"$enablestring" = xdisable; then
5827 if test $wxUSE_SHARED = no; then
5828 result=yes
5829 else
5830 result=no
5831 fi
5832 else
5833 result=$wxUSE_SHARED
5834 fi
5835
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5837 $as_echo "$result" >&6; }
5838
5839
5840 enablestring=
5841 defaultval=
5842 if test -z "$defaultval"; then
5843 if test x"$enablestring" = xdisable; then
5844 defaultval=yes
5845 else
5846 defaultval=no
5847 fi
5848 fi
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5851 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5852 # Check whether --enable-stl was given.
5853 if test "${enable_stl+set}" = set; then :
5854 enableval=$enable_stl;
5855 if test "$enableval" = yes; then
5856 wx_cv_use_stl='wxUSE_STL=yes'
5857 else
5858 wx_cv_use_stl='wxUSE_STL=no'
5859 fi
5860
5861 else
5862
5863 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5864
5865 fi
5866
5867
5868 eval "$wx_cv_use_stl"
5869
5870 if test x"$enablestring" = xdisable; then
5871 if test $wxUSE_STL = no; then
5872 result=yes
5873 else
5874 result=no
5875 fi
5876 else
5877 result=$wxUSE_STL
5878 fi
5879
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5881 $as_echo "$result" >&6; }
5882
5883 if test "$wxUSE_STL" = "yes"; then
5884 DEFAULT_wxUSE_STD_CONTAINERS=yes
5885 DEFAULT_wxUSE_STD_IOSTREAM=yes
5886 DEFAULT_wxUSE_STD_STRING=yes
5887 fi
5888
5889 enablestring=
5890 defaultval=
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5893 defaultval=yes
5894 else
5895 defaultval=no
5896 fi
5897 fi
5898
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5900 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5901 # Check whether --enable-std_containers was given.
5902 if test "${enable_std_containers+set}" = set; then :
5903 enableval=$enable_std_containers;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5906 else
5907 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5908 fi
5909
5910 else
5911
5912 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_std_containers"
5918
5919 if test x"$enablestring" = xdisable; then
5920 if test $wxUSE_STD_CONTAINERS = no; then
5921 result=yes
5922 else
5923 result=no
5924 fi
5925 else
5926 result=$wxUSE_STD_CONTAINERS
5927 fi
5928
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5930 $as_echo "$result" >&6; }
5931
5932
5933 enablestring=
5934 defaultval=
5935 if test -z "$defaultval"; then
5936 if test x"$enablestring" = xdisable; then
5937 defaultval=yes
5938 else
5939 defaultval=no
5940 fi
5941 fi
5942
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5944 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5945 # Check whether --enable-std_iostreams was given.
5946 if test "${enable_std_iostreams+set}" = set; then :
5947 enableval=$enable_std_iostreams;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5950 else
5951 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5952 fi
5953
5954 else
5955
5956 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5957
5958 fi
5959
5960
5961 eval "$wx_cv_use_std_iostreams"
5962
5963 if test x"$enablestring" = xdisable; then
5964 if test $wxUSE_STD_IOSTREAM = no; then
5965 result=yes
5966 else
5967 result=no
5968 fi
5969 else
5970 result=$wxUSE_STD_IOSTREAM
5971 fi
5972
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5974 $as_echo "$result" >&6; }
5975
5976
5977 enablestring=
5978 defaultval=
5979 if test -z "$defaultval"; then
5980 if test x"$enablestring" = xdisable; then
5981 defaultval=yes
5982 else
5983 defaultval=no
5984 fi
5985 fi
5986
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5988 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5989 # Check whether --enable-std_string was given.
5990 if test "${enable_std_string+set}" = set; then :
5991 enableval=$enable_std_string;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5994 else
5995 wx_cv_use_std_string='wxUSE_STD_STRING=no'
5996 fi
5997
5998 else
5999
6000 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6001
6002 fi
6003
6004
6005 eval "$wx_cv_use_std_string"
6006
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_STD_STRING = no; then
6009 result=yes
6010 else
6011 result=no
6012 fi
6013 else
6014 result=$wxUSE_STD_STRING
6015 fi
6016
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6018 $as_echo "$result" >&6; }
6019
6020
6021 enablestring=
6022 defaultval=
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6025 defaultval=yes
6026 else
6027 defaultval=no
6028 fi
6029 fi
6030
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6032 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6033 # Check whether --enable-std_string_conv_in_wxstring was given.
6034 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6035 enableval=$enable_std_string_conv_in_wxstring;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6038 else
6039 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6040 fi
6041
6042 else
6043
6044 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6045
6046 fi
6047
6048
6049 eval "$wx_cv_use_std_string_conv_in_wxstring"
6050
6051 if test x"$enablestring" = xdisable; then
6052 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6053 result=yes
6054 else
6055 result=no
6056 fi
6057 else
6058 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6059 fi
6060
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6062 $as_echo "$result" >&6; }
6063
6064
6065 enablestring=disable
6066 defaultval=
6067 if test -z "$defaultval"; then
6068 if test x"$enablestring" = xdisable; then
6069 defaultval=yes
6070 else
6071 defaultval=no
6072 fi
6073 fi
6074
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6076 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6077 # Check whether --enable-unicode was given.
6078 if test "${enable_unicode+set}" = set; then :
6079 enableval=$enable_unicode;
6080 if test "$enableval" = yes; then
6081 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6082 else
6083 wx_cv_use_unicode='wxUSE_UNICODE=no'
6084 fi
6085
6086 else
6087
6088 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6089
6090 fi
6091
6092
6093 eval "$wx_cv_use_unicode"
6094
6095 if test x"$enablestring" = xdisable; then
6096 if test $wxUSE_UNICODE = no; then
6097 result=yes
6098 else
6099 result=no
6100 fi
6101 else
6102 result=$wxUSE_UNICODE
6103 fi
6104
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6106 $as_echo "$result" >&6; }
6107
6108
6109 enablestring=
6110 defaultval=
6111 if test -z "$defaultval"; then
6112 if test x"$enablestring" = xdisable; then
6113 defaultval=yes
6114 else
6115 defaultval=no
6116 fi
6117 fi
6118
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6120 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6121 # Check whether --enable-mslu was given.
6122 if test "${enable_mslu+set}" = set; then :
6123 enableval=$enable_mslu;
6124 if test "$enableval" = yes; then
6125 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6126 else
6127 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6128 fi
6129
6130 else
6131
6132 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6133
6134 fi
6135
6136
6137 eval "$wx_cv_use_mslu"
6138
6139 if test x"$enablestring" = xdisable; then
6140 if test $wxUSE_UNICODE_MSLU = no; then
6141 result=yes
6142 else
6143 result=no
6144 fi
6145 else
6146 result=$wxUSE_UNICODE_MSLU
6147 fi
6148
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6150 $as_echo "$result" >&6; }
6151
6152
6153 enablestring=
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6155 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6156 # Check whether --enable-utf8 was given.
6157 if test "${enable_utf8+set}" = set; then :
6158 enableval=$enable_utf8;
6159 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6160
6161 else
6162
6163 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6164
6165 fi
6166
6167
6168 eval "$wx_cv_use_utf8"
6169
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6171 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6172
6173
6174 enablestring=
6175 defaultval=
6176 if test -z "$defaultval"; then
6177 if test x"$enablestring" = xdisable; then
6178 defaultval=yes
6179 else
6180 defaultval=no
6181 fi
6182 fi
6183
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6185 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6186 # Check whether --enable-utf8only was given.
6187 if test "${enable_utf8only+set}" = set; then :
6188 enableval=$enable_utf8only;
6189 if test "$enableval" = yes; then
6190 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6191 else
6192 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6193 fi
6194
6195 else
6196
6197 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6198
6199 fi
6200
6201
6202 eval "$wx_cv_use_utf8only"
6203
6204 if test x"$enablestring" = xdisable; then
6205 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6206 result=yes
6207 else
6208 result=no
6209 fi
6210 else
6211 result=$wxUSE_UNICODE_UTF8_LOCALE
6212 fi
6213
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6215 $as_echo "$result" >&6; }
6216
6217
6218 enablestring=
6219 defaultval=
6220 if test -z "$defaultval"; then
6221 if test x"$enablestring" = xdisable; then
6222 defaultval=yes
6223 else
6224 defaultval=no
6225 fi
6226 fi
6227
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6229 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6230 # Check whether --enable-extended_rtti was given.
6231 if test "${enable_extended_rtti+set}" = set; then :
6232 enableval=$enable_extended_rtti;
6233 if test "$enableval" = yes; then
6234 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6235 else
6236 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6237 fi
6238
6239 else
6240
6241 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6242
6243 fi
6244
6245
6246 eval "$wx_cv_use_extended_rtti"
6247
6248 if test x"$enablestring" = xdisable; then
6249 if test $wxUSE_EXTENDED_RTTI = no; then
6250 result=yes
6251 else
6252 result=no
6253 fi
6254 else
6255 result=$wxUSE_EXTENDED_RTTI
6256 fi
6257
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6259 $as_echo "$result" >&6; }
6260
6261 if test "$USE_OS2" = 1; then
6262 DEFAULT_wxUSE_OMF=no
6263
6264 enablestring=
6265 defaultval=
6266 if test -z "$defaultval"; then
6267 if test x"$enablestring" = xdisable; then
6268 defaultval=yes
6269 else
6270 defaultval=no
6271 fi
6272 fi
6273
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6275 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6276 # Check whether --enable-omf was given.
6277 if test "${enable_omf+set}" = set; then :
6278 enableval=$enable_omf;
6279 if test "$enableval" = yes; then
6280 wx_cv_use_omf='wxUSE_OMF=yes'
6281 else
6282 wx_cv_use_omf='wxUSE_OMF=no'
6283 fi
6284
6285 else
6286
6287 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6288
6289 fi
6290
6291
6292 eval "$wx_cv_use_omf"
6293
6294 if test x"$enablestring" = xdisable; then
6295 if test $wxUSE_OMF = no; then
6296 result=yes
6297 else
6298 result=no
6299 fi
6300 else
6301 result=$wxUSE_OMF
6302 fi
6303
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6305 $as_echo "$result" >&6; }
6306
6307 fi
6308
6309
6310 enablestring=disable
6311 defaultval=
6312 if test -z "$defaultval"; then
6313 if test x"$enablestring" = xdisable; then
6314 defaultval=yes
6315 else
6316 defaultval=no
6317 fi
6318 fi
6319
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6321 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6322 # Check whether --enable-optimise was given.
6323 if test "${enable_optimise+set}" = set; then :
6324 enableval=$enable_optimise;
6325 if test "$enableval" = yes; then
6326 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6327 else
6328 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6329 fi
6330
6331 else
6332
6333 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6334
6335 fi
6336
6337
6338 eval "$wx_cv_use_optimise"
6339
6340 if test x"$enablestring" = xdisable; then
6341 if test $wxUSE_OPTIMISE = no; then
6342 result=yes
6343 else
6344 result=no
6345 fi
6346 else
6347 result=$wxUSE_OPTIMISE
6348 fi
6349
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6351 $as_echo "$result" >&6; }
6352
6353
6354
6355 enablestring=
6356 defaultval=
6357 if test -z "$defaultval"; then
6358 if test x"$enablestring" = xdisable; then
6359 defaultval=yes
6360 else
6361 defaultval=no
6362 fi
6363 fi
6364
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6366 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6367 # Check whether --enable-profile was given.
6368 if test "${enable_profile+set}" = set; then :
6369 enableval=$enable_profile;
6370 if test "$enableval" = yes; then
6371 wx_cv_use_profile='wxUSE_PROFILE=yes'
6372 else
6373 wx_cv_use_profile='wxUSE_PROFILE=no'
6374 fi
6375
6376 else
6377
6378 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6379
6380 fi
6381
6382
6383 eval "$wx_cv_use_profile"
6384
6385 if test x"$enablestring" = xdisable; then
6386 if test $wxUSE_PROFILE = no; then
6387 result=yes
6388 else
6389 result=no
6390 fi
6391 else
6392 result=$wxUSE_PROFILE
6393 fi
6394
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6396 $as_echo "$result" >&6; }
6397
6398
6399 enablestring=
6400 defaultval=
6401 if test -z "$defaultval"; then
6402 if test x"$enablestring" = xdisable; then
6403 defaultval=yes
6404 else
6405 defaultval=no
6406 fi
6407 fi
6408
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6410 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6411 # Check whether --enable-no_rtti was given.
6412 if test "${enable_no_rtti+set}" = set; then :
6413 enableval=$enable_no_rtti;
6414 if test "$enableval" = yes; then
6415 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6416 else
6417 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6418 fi
6419
6420 else
6421
6422 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6423
6424 fi
6425
6426
6427 eval "$wx_cv_use_no_rtti"
6428
6429 if test x"$enablestring" = xdisable; then
6430 if test $wxUSE_NO_RTTI = no; then
6431 result=yes
6432 else
6433 result=no
6434 fi
6435 else
6436 result=$wxUSE_NO_RTTI
6437 fi
6438
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6440 $as_echo "$result" >&6; }
6441
6442
6443 enablestring=
6444 defaultval=
6445 if test -z "$defaultval"; then
6446 if test x"$enablestring" = xdisable; then
6447 defaultval=yes
6448 else
6449 defaultval=no
6450 fi
6451 fi
6452
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6454 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6455 # Check whether --enable-no_exceptions was given.
6456 if test "${enable_no_exceptions+set}" = set; then :
6457 enableval=$enable_no_exceptions;
6458 if test "$enableval" = yes; then
6459 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6460 else
6461 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6462 fi
6463
6464 else
6465
6466 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6467
6468 fi
6469
6470
6471 eval "$wx_cv_use_no_exceptions"
6472
6473 if test x"$enablestring" = xdisable; then
6474 if test $wxUSE_NO_EXCEPTIONS = no; then
6475 result=yes
6476 else
6477 result=no
6478 fi
6479 else
6480 result=$wxUSE_NO_EXCEPTIONS
6481 fi
6482
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6484 $as_echo "$result" >&6; }
6485
6486
6487 enablestring=
6488 defaultval=
6489 if test -z "$defaultval"; then
6490 if test x"$enablestring" = xdisable; then
6491 defaultval=yes
6492 else
6493 defaultval=no
6494 fi
6495 fi
6496
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6498 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6499 # Check whether --enable-permissive was given.
6500 if test "${enable_permissive+set}" = set; then :
6501 enableval=$enable_permissive;
6502 if test "$enableval" = yes; then
6503 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6504 else
6505 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6506 fi
6507
6508 else
6509
6510 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6511
6512 fi
6513
6514
6515 eval "$wx_cv_use_permissive"
6516
6517 if test x"$enablestring" = xdisable; then
6518 if test $wxUSE_PERMISSIVE = no; then
6519 result=yes
6520 else
6521 result=no
6522 fi
6523 else
6524 result=$wxUSE_PERMISSIVE
6525 fi
6526
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6528 $as_echo "$result" >&6; }
6529
6530
6531 enablestring=
6532 defaultval=
6533 if test -z "$defaultval"; then
6534 if test x"$enablestring" = xdisable; then
6535 defaultval=yes
6536 else
6537 defaultval=no
6538 fi
6539 fi
6540
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6542 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6543 # Check whether --enable-no_deps was given.
6544 if test "${enable_no_deps+set}" = set; then :
6545 enableval=$enable_no_deps;
6546 if test "$enableval" = yes; then
6547 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6548 else
6549 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6550 fi
6551
6552 else
6553
6554 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6555
6556 fi
6557
6558
6559 eval "$wx_cv_use_no_deps"
6560
6561 if test x"$enablestring" = xdisable; then
6562 if test $wxUSE_NO_DEPS = no; then
6563 result=yes
6564 else
6565 result=no
6566 fi
6567 else
6568 result=$wxUSE_NO_DEPS
6569 fi
6570
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6572 $as_echo "$result" >&6; }
6573
6574
6575 enablestring=disable
6576 defaultval=
6577 if test -z "$defaultval"; then
6578 if test x"$enablestring" = xdisable; then
6579 defaultval=yes
6580 else
6581 defaultval=no
6582 fi
6583 fi
6584
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6586 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6587 # Check whether --enable-vararg_macros was given.
6588 if test "${enable_vararg_macros+set}" = set; then :
6589 enableval=$enable_vararg_macros;
6590 if test "$enableval" = yes; then
6591 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6592 else
6593 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6594 fi
6595
6596 else
6597
6598 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6599
6600 fi
6601
6602
6603 eval "$wx_cv_use_vararg_macros"
6604
6605 if test x"$enablestring" = xdisable; then
6606 if test $wxUSE_VARARG_MACROS = no; then
6607 result=yes
6608 else
6609 result=no
6610 fi
6611 else
6612 result=$wxUSE_VARARG_MACROS
6613 fi
6614
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6616 $as_echo "$result" >&6; }
6617
6618
6619
6620 enablestring=
6621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6622 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6623 # Check whether --enable-universal_binary was given.
6624 if test "${enable_universal_binary+set}" = set; then :
6625 enableval=$enable_universal_binary;
6626 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6627
6628 else
6629
6630 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6631
6632 fi
6633
6634
6635 eval "$wx_cv_use_universal_binary"
6636
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6638 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6639
6640
6641 enablestring=
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6643 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6644 # Check whether --enable-macosx_arch was given.
6645 if test "${enable_macosx_arch+set}" = set; then :
6646 enableval=$enable_macosx_arch;
6647 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6648
6649 else
6650
6651 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6652
6653 fi
6654
6655
6656 eval "$wx_cv_use_macosx_arch"
6657
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6659 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6660
6661
6662
6663 enablestring=
6664 defaultval=
6665 if test -z "$defaultval"; then
6666 if test x"$enablestring" = xdisable; then
6667 defaultval=yes
6668 else
6669 defaultval=no
6670 fi
6671 fi
6672
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6674 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6675 # Check whether --enable-compat26 was given.
6676 if test "${enable_compat26+set}" = set; then :
6677 enableval=$enable_compat26;
6678 if test "$enableval" = yes; then
6679 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6680 else
6681 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6682 fi
6683
6684 else
6685
6686 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6687
6688 fi
6689
6690
6691 eval "$wx_cv_use_compat26"
6692
6693 if test x"$enablestring" = xdisable; then
6694 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6695 result=yes
6696 else
6697 result=no
6698 fi
6699 else
6700 result=$WXWIN_COMPATIBILITY_2_6
6701 fi
6702
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6704 $as_echo "$result" >&6; }
6705
6706
6707 enablestring=disable
6708 defaultval=
6709 if test -z "$defaultval"; then
6710 if test x"$enablestring" = xdisable; then
6711 defaultval=yes
6712 else
6713 defaultval=no
6714 fi
6715 fi
6716
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6718 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6719 # Check whether --enable-compat28 was given.
6720 if test "${enable_compat28+set}" = set; then :
6721 enableval=$enable_compat28;
6722 if test "$enableval" = yes; then
6723 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6724 else
6725 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6726 fi
6727
6728 else
6729
6730 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6731
6732 fi
6733
6734
6735 eval "$wx_cv_use_compat28"
6736
6737 if test x"$enablestring" = xdisable; then
6738 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6739 result=yes
6740 else
6741 result=no
6742 fi
6743 else
6744 result=$WXWIN_COMPATIBILITY_2_8
6745 fi
6746
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6748 $as_echo "$result" >&6; }
6749
6750
6751
6752 enablestring=disable
6753 defaultval=
6754 if test -z "$defaultval"; then
6755 if test x"$enablestring" = xdisable; then
6756 defaultval=yes
6757 else
6758 defaultval=no
6759 fi
6760 fi
6761
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6763 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6764 # Check whether --enable-rpath was given.
6765 if test "${enable_rpath+set}" = set; then :
6766 enableval=$enable_rpath;
6767 if test "$enableval" = yes; then
6768 wx_cv_use_rpath='wxUSE_RPATH=yes'
6769 else
6770 wx_cv_use_rpath='wxUSE_RPATH=no'
6771 fi
6772
6773 else
6774
6775 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6776
6777 fi
6778
6779
6780 eval "$wx_cv_use_rpath"
6781
6782 if test x"$enablestring" = xdisable; then
6783 if test $wxUSE_RPATH = no; then
6784 result=yes
6785 else
6786 result=no
6787 fi
6788 else
6789 result=$wxUSE_RPATH
6790 fi
6791
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6793 $as_echo "$result" >&6; }
6794
6795
6796
6797 enablestring=
6798 defaultval=
6799 if test -z "$defaultval"; then
6800 if test x"$enablestring" = xdisable; then
6801 defaultval=yes
6802 else
6803 defaultval=no
6804 fi
6805 fi
6806
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6808 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6809 # Check whether --enable-objc_uniquifying was given.
6810 if test "${enable_objc_uniquifying+set}" = set; then :
6811 enableval=$enable_objc_uniquifying;
6812 if test "$enableval" = yes; then
6813 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6814 else
6815 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6816 fi
6817
6818 else
6819
6820 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6821
6822 fi
6823
6824
6825 eval "$wx_cv_use_objc_uniquifying"
6826
6827 if test x"$enablestring" = xdisable; then
6828 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6829 result=yes
6830 else
6831 result=no
6832 fi
6833 else
6834 result=$wxUSE_OBJC_UNIQUIFYING
6835 fi
6836
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6838 $as_echo "$result" >&6; }
6839
6840
6841
6842 enablestring=disable
6843 defaultval=
6844 if test -z "$defaultval"; then
6845 if test x"$enablestring" = xdisable; then
6846 defaultval=yes
6847 else
6848 defaultval=no
6849 fi
6850 fi
6851
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6853 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6854 # Check whether --enable-visibility was given.
6855 if test "${enable_visibility+set}" = set; then :
6856 enableval=$enable_visibility;
6857 if test "$enableval" = yes; then
6858 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6859 else
6860 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6861 fi
6862
6863 else
6864
6865 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6866
6867 fi
6868
6869
6870 eval "$wx_cv_use_visibility"
6871
6872 if test x"$enablestring" = xdisable; then
6873 if test $wxUSE_VISIBILITY = no; then
6874 result=yes
6875 else
6876 result=no
6877 fi
6878 else
6879 result=$wxUSE_VISIBILITY
6880 fi
6881
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6883 $as_echo "$result" >&6; }
6884
6885
6886 enablestring=disable
6887 defaultval=
6888 if test -z "$defaultval"; then
6889 if test x"$enablestring" = xdisable; then
6890 defaultval=yes
6891 else
6892 defaultval=no
6893 fi
6894 fi
6895
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6897 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6898 # Check whether --enable-tls was given.
6899 if test "${enable_tls+set}" = set; then :
6900 enableval=$enable_tls;
6901 if test "$enableval" = yes; then
6902 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6903 else
6904 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6905 fi
6906
6907 else
6908
6909 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6910
6911 fi
6912
6913
6914 eval "$wx_cv_use_tls"
6915
6916 if test x"$enablestring" = xdisable; then
6917 if test $wxUSE_COMPILER_TLS = no; then
6918 result=yes
6919 else
6920 result=no
6921 fi
6922 else
6923 result=$wxUSE_COMPILER_TLS
6924 fi
6925
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6927 $as_echo "$result" >&6; }
6928
6929
6930
6931
6932 enablestring=
6933 defaultval=$wxUSE_ALL_FEATURES
6934 if test -z "$defaultval"; then
6935 if test x"$enablestring" = xdisable; then
6936 defaultval=yes
6937 else
6938 defaultval=no
6939 fi
6940 fi
6941
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6943 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6944 # Check whether --enable-intl was given.
6945 if test "${enable_intl+set}" = set; then :
6946 enableval=$enable_intl;
6947 if test "$enableval" = yes; then
6948 wx_cv_use_intl='wxUSE_INTL=yes'
6949 else
6950 wx_cv_use_intl='wxUSE_INTL=no'
6951 fi
6952
6953 else
6954
6955 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6956
6957 fi
6958
6959
6960 eval "$wx_cv_use_intl"
6961
6962 if test x"$enablestring" = xdisable; then
6963 if test $wxUSE_INTL = no; then
6964 result=yes
6965 else
6966 result=no
6967 fi
6968 else
6969 result=$wxUSE_INTL
6970 fi
6971
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6973 $as_echo "$result" >&6; }
6974
6975
6976 enablestring=
6977 defaultval=$wxUSE_ALL_FEATURES
6978 if test -z "$defaultval"; then
6979 if test x"$enablestring" = xdisable; then
6980 defaultval=yes
6981 else
6982 defaultval=no
6983 fi
6984 fi
6985
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6987 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6988 # Check whether --enable-xlocale was given.
6989 if test "${enable_xlocale+set}" = set; then :
6990 enableval=$enable_xlocale;
6991 if test "$enableval" = yes; then
6992 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6993 else
6994 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6995 fi
6996
6997 else
6998
6999 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7000
7001 fi
7002
7003
7004 eval "$wx_cv_use_xlocale"
7005
7006 if test x"$enablestring" = xdisable; then
7007 if test $wxUSE_XLOCALE = no; then
7008 result=yes
7009 else
7010 result=no
7011 fi
7012 else
7013 result=$wxUSE_XLOCALE
7014 fi
7015
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7017 $as_echo "$result" >&6; }
7018
7019
7020 enablestring=
7021 defaultval=$wxUSE_ALL_FEATURES
7022 if test -z "$defaultval"; then
7023 if test x"$enablestring" = xdisable; then
7024 defaultval=yes
7025 else
7026 defaultval=no
7027 fi
7028 fi
7029
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7031 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7032 # Check whether --enable-config was given.
7033 if test "${enable_config+set}" = set; then :
7034 enableval=$enable_config;
7035 if test "$enableval" = yes; then
7036 wx_cv_use_config='wxUSE_CONFIG=yes'
7037 else
7038 wx_cv_use_config='wxUSE_CONFIG=no'
7039 fi
7040
7041 else
7042
7043 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7044
7045 fi
7046
7047
7048 eval "$wx_cv_use_config"
7049
7050 if test x"$enablestring" = xdisable; then
7051 if test $wxUSE_CONFIG = no; then
7052 result=yes
7053 else
7054 result=no
7055 fi
7056 else
7057 result=$wxUSE_CONFIG
7058 fi
7059
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7061 $as_echo "$result" >&6; }
7062
7063
7064
7065 enablestring=
7066 defaultval=$wxUSE_ALL_FEATURES
7067 if test -z "$defaultval"; then
7068 if test x"$enablestring" = xdisable; then
7069 defaultval=yes
7070 else
7071 defaultval=no
7072 fi
7073 fi
7074
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7076 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7077 # Check whether --enable-protocols was given.
7078 if test "${enable_protocols+set}" = set; then :
7079 enableval=$enable_protocols;
7080 if test "$enableval" = yes; then
7081 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7082 else
7083 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7084 fi
7085
7086 else
7087
7088 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7089
7090 fi
7091
7092
7093 eval "$wx_cv_use_protocols"
7094
7095 if test x"$enablestring" = xdisable; then
7096 if test $wxUSE_PROTOCOL = no; then
7097 result=yes
7098 else
7099 result=no
7100 fi
7101 else
7102 result=$wxUSE_PROTOCOL
7103 fi
7104
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7106 $as_echo "$result" >&6; }
7107
7108
7109 enablestring=
7110 defaultval=$wxUSE_ALL_FEATURES
7111 if test -z "$defaultval"; then
7112 if test x"$enablestring" = xdisable; then
7113 defaultval=yes
7114 else
7115 defaultval=no
7116 fi
7117 fi
7118
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7120 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7121 # Check whether --enable-ftp was given.
7122 if test "${enable_ftp+set}" = set; then :
7123 enableval=$enable_ftp;
7124 if test "$enableval" = yes; then
7125 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7126 else
7127 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7128 fi
7129
7130 else
7131
7132 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7133
7134 fi
7135
7136
7137 eval "$wx_cv_use_ftp"
7138
7139 if test x"$enablestring" = xdisable; then
7140 if test $wxUSE_PROTOCOL_FTP = no; then
7141 result=yes
7142 else
7143 result=no
7144 fi
7145 else
7146 result=$wxUSE_PROTOCOL_FTP
7147 fi
7148
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7150 $as_echo "$result" >&6; }
7151
7152
7153 enablestring=
7154 defaultval=$wxUSE_ALL_FEATURES
7155 if test -z "$defaultval"; then
7156 if test x"$enablestring" = xdisable; then
7157 defaultval=yes
7158 else
7159 defaultval=no
7160 fi
7161 fi
7162
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7164 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7165 # Check whether --enable-http was given.
7166 if test "${enable_http+set}" = set; then :
7167 enableval=$enable_http;
7168 if test "$enableval" = yes; then
7169 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7170 else
7171 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7172 fi
7173
7174 else
7175
7176 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7177
7178 fi
7179
7180
7181 eval "$wx_cv_use_http"
7182
7183 if test x"$enablestring" = xdisable; then
7184 if test $wxUSE_PROTOCOL_HTTP = no; then
7185 result=yes
7186 else
7187 result=no
7188 fi
7189 else
7190 result=$wxUSE_PROTOCOL_HTTP
7191 fi
7192
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7194 $as_echo "$result" >&6; }
7195
7196
7197 enablestring=
7198 defaultval=$wxUSE_ALL_FEATURES
7199 if test -z "$defaultval"; then
7200 if test x"$enablestring" = xdisable; then
7201 defaultval=yes
7202 else
7203 defaultval=no
7204 fi
7205 fi
7206
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7208 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7209 # Check whether --enable-fileproto was given.
7210 if test "${enable_fileproto+set}" = set; then :
7211 enableval=$enable_fileproto;
7212 if test "$enableval" = yes; then
7213 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7214 else
7215 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7216 fi
7217
7218 else
7219
7220 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7221
7222 fi
7223
7224
7225 eval "$wx_cv_use_fileproto"
7226
7227 if test x"$enablestring" = xdisable; then
7228 if test $wxUSE_PROTOCOL_FILE = no; then
7229 result=yes
7230 else
7231 result=no
7232 fi
7233 else
7234 result=$wxUSE_PROTOCOL_FILE
7235 fi
7236
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7238 $as_echo "$result" >&6; }
7239
7240
7241 enablestring=
7242 defaultval=$wxUSE_ALL_FEATURES
7243 if test -z "$defaultval"; then
7244 if test x"$enablestring" = xdisable; then
7245 defaultval=yes
7246 else
7247 defaultval=no
7248 fi
7249 fi
7250
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7252 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7253 # Check whether --enable-sockets was given.
7254 if test "${enable_sockets+set}" = set; then :
7255 enableval=$enable_sockets;
7256 if test "$enableval" = yes; then
7257 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7258 else
7259 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7260 fi
7261
7262 else
7263
7264 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7265
7266 fi
7267
7268
7269 eval "$wx_cv_use_sockets"
7270
7271 if test x"$enablestring" = xdisable; then
7272 if test $wxUSE_SOCKETS = no; then
7273 result=yes
7274 else
7275 result=no
7276 fi
7277 else
7278 result=$wxUSE_SOCKETS
7279 fi
7280
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7282 $as_echo "$result" >&6; }
7283
7284
7285 enablestring=
7286 defaultval=$wxUSE_ALL_FEATURES
7287 if test -z "$defaultval"; then
7288 if test x"$enablestring" = xdisable; then
7289 defaultval=yes
7290 else
7291 defaultval=no
7292 fi
7293 fi
7294
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7296 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7297 # Check whether --enable-ipv6 was given.
7298 if test "${enable_ipv6+set}" = set; then :
7299 enableval=$enable_ipv6;
7300 if test "$enableval" = yes; then
7301 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7302 else
7303 wx_cv_use_ipv6='wxUSE_IPV6=no'
7304 fi
7305
7306 else
7307
7308 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7309
7310 fi
7311
7312
7313 eval "$wx_cv_use_ipv6"
7314
7315 if test x"$enablestring" = xdisable; then
7316 if test $wxUSE_IPV6 = no; then
7317 result=yes
7318 else
7319 result=no
7320 fi
7321 else
7322 result=$wxUSE_IPV6
7323 fi
7324
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7326 $as_echo "$result" >&6; }
7327
7328
7329 enablestring=
7330 defaultval=$wxUSE_ALL_FEATURES
7331 if test -z "$defaultval"; then
7332 if test x"$enablestring" = xdisable; then
7333 defaultval=yes
7334 else
7335 defaultval=no
7336 fi
7337 fi
7338
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7340 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7341 # Check whether --enable-ole was given.
7342 if test "${enable_ole+set}" = set; then :
7343 enableval=$enable_ole;
7344 if test "$enableval" = yes; then
7345 wx_cv_use_ole='wxUSE_OLE=yes'
7346 else
7347 wx_cv_use_ole='wxUSE_OLE=no'
7348 fi
7349
7350 else
7351
7352 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7353
7354 fi
7355
7356
7357 eval "$wx_cv_use_ole"
7358
7359 if test x"$enablestring" = xdisable; then
7360 if test $wxUSE_OLE = no; then
7361 result=yes
7362 else
7363 result=no
7364 fi
7365 else
7366 result=$wxUSE_OLE
7367 fi
7368
7369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7370 $as_echo "$result" >&6; }
7371
7372
7373 enablestring=
7374 defaultval=$wxUSE_ALL_FEATURES
7375 if test -z "$defaultval"; then
7376 if test x"$enablestring" = xdisable; then
7377 defaultval=yes
7378 else
7379 defaultval=no
7380 fi
7381 fi
7382
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7384 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7385 # Check whether --enable-dataobj was given.
7386 if test "${enable_dataobj+set}" = set; then :
7387 enableval=$enable_dataobj;
7388 if test "$enableval" = yes; then
7389 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7390 else
7391 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7392 fi
7393
7394 else
7395
7396 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7397
7398 fi
7399
7400
7401 eval "$wx_cv_use_dataobj"
7402
7403 if test x"$enablestring" = xdisable; then
7404 if test $wxUSE_DATAOBJ = no; then
7405 result=yes
7406 else
7407 result=no
7408 fi
7409 else
7410 result=$wxUSE_DATAOBJ
7411 fi
7412
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7414 $as_echo "$result" >&6; }
7415
7416
7417
7418 enablestring=
7419 defaultval=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x"$enablestring" = xdisable; then
7422 defaultval=yes
7423 else
7424 defaultval=no
7425 fi
7426 fi
7427
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7429 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7430 # Check whether --enable-ipc was given.
7431 if test "${enable_ipc+set}" = set; then :
7432 enableval=$enable_ipc;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_ipc='wxUSE_IPC=yes'
7435 else
7436 wx_cv_use_ipc='wxUSE_IPC=no'
7437 fi
7438
7439 else
7440
7441 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7442
7443 fi
7444
7445
7446 eval "$wx_cv_use_ipc"
7447
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_IPC = no; then
7450 result=yes
7451 else
7452 result=no
7453 fi
7454 else
7455 result=$wxUSE_IPC
7456 fi
7457
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7459 $as_echo "$result" >&6; }
7460
7461
7462
7463 enablestring=
7464 defaultval=$wxUSE_ALL_FEATURES
7465 if test -z "$defaultval"; then
7466 if test x"$enablestring" = xdisable; then
7467 defaultval=yes
7468 else
7469 defaultval=no
7470 fi
7471 fi
7472
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7474 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7475 # Check whether --enable-baseevtloop was given.
7476 if test "${enable_baseevtloop+set}" = set; then :
7477 enableval=$enable_baseevtloop;
7478 if test "$enableval" = yes; then
7479 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7480 else
7481 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7482 fi
7483
7484 else
7485
7486 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7487
7488 fi
7489
7490
7491 eval "$wx_cv_use_baseevtloop"
7492
7493 if test x"$enablestring" = xdisable; then
7494 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7495 result=yes
7496 else
7497 result=no
7498 fi
7499 else
7500 result=$wxUSE_CONSOLE_EVENTLOOP
7501 fi
7502
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7504 $as_echo "$result" >&6; }
7505
7506
7507 enablestring=
7508 defaultval=$wxUSE_ALL_FEATURES
7509 if test -z "$defaultval"; then
7510 if test x"$enablestring" = xdisable; then
7511 defaultval=yes
7512 else
7513 defaultval=no
7514 fi
7515 fi
7516
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7518 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7519 # Check whether --enable-epollloop was given.
7520 if test "${enable_epollloop+set}" = set; then :
7521 enableval=$enable_epollloop;
7522 if test "$enableval" = yes; then
7523 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7524 else
7525 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7526 fi
7527
7528 else
7529
7530 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7531
7532 fi
7533
7534
7535 eval "$wx_cv_use_epollloop"
7536
7537 if test x"$enablestring" = xdisable; then
7538 if test $wxUSE_EPOLL_DISPATCHER = no; then
7539 result=yes
7540 else
7541 result=no
7542 fi
7543 else
7544 result=$wxUSE_EPOLL_DISPATCHER
7545 fi
7546
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7548 $as_echo "$result" >&6; }
7549
7550
7551 enablestring=
7552 defaultval=$wxUSE_ALL_FEATURES
7553 if test -z "$defaultval"; then
7554 if test x"$enablestring" = xdisable; then
7555 defaultval=yes
7556 else
7557 defaultval=no
7558 fi
7559 fi
7560
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7562 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7563 # Check whether --enable-selectloop was given.
7564 if test "${enable_selectloop+set}" = set; then :
7565 enableval=$enable_selectloop;
7566 if test "$enableval" = yes; then
7567 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7568 else
7569 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7570 fi
7571
7572 else
7573
7574 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7575
7576 fi
7577
7578
7579 eval "$wx_cv_use_selectloop"
7580
7581 if test x"$enablestring" = xdisable; then
7582 if test $wxUSE_SELECT_DISPATCHER = no; then
7583 result=yes
7584 else
7585 result=no
7586 fi
7587 else
7588 result=$wxUSE_SELECT_DISPATCHER
7589 fi
7590
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7592 $as_echo "$result" >&6; }
7593
7594
7595
7596 enablestring=
7597 defaultval=$wxUSE_ALL_FEATURES
7598 if test -z "$defaultval"; then
7599 if test x"$enablestring" = xdisable; then
7600 defaultval=yes
7601 else
7602 defaultval=no
7603 fi
7604 fi
7605
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7607 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7608 # Check whether --enable-any was given.
7609 if test "${enable_any+set}" = set; then :
7610 enableval=$enable_any;
7611 if test "$enableval" = yes; then
7612 wx_cv_use_any='wxUSE_ANY=yes'
7613 else
7614 wx_cv_use_any='wxUSE_ANY=no'
7615 fi
7616
7617 else
7618
7619 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7620
7621 fi
7622
7623
7624 eval "$wx_cv_use_any"
7625
7626 if test x"$enablestring" = xdisable; then
7627 if test $wxUSE_ANY = no; then
7628 result=yes
7629 else
7630 result=no
7631 fi
7632 else
7633 result=$wxUSE_ANY
7634 fi
7635
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7637 $as_echo "$result" >&6; }
7638
7639
7640 enablestring=
7641 defaultval=$wxUSE_ALL_FEATURES
7642 if test -z "$defaultval"; then
7643 if test x"$enablestring" = xdisable; then
7644 defaultval=yes
7645 else
7646 defaultval=no
7647 fi
7648 fi
7649
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7651 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7652 # Check whether --enable-apple_ieee was given.
7653 if test "${enable_apple_ieee+set}" = set; then :
7654 enableval=$enable_apple_ieee;
7655 if test "$enableval" = yes; then
7656 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7657 else
7658 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7659 fi
7660
7661 else
7662
7663 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7664
7665 fi
7666
7667
7668 eval "$wx_cv_use_apple_ieee"
7669
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_APPLE_IEEE = no; then
7672 result=yes
7673 else
7674 result=no
7675 fi
7676 else
7677 result=$wxUSE_APPLE_IEEE
7678 fi
7679
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7681 $as_echo "$result" >&6; }
7682
7683
7684 enablestring=
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7688 defaultval=yes
7689 else
7690 defaultval=no
7691 fi
7692 fi
7693
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7695 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7696 # Check whether --enable-arcstream was given.
7697 if test "${enable_arcstream+set}" = set; then :
7698 enableval=$enable_arcstream;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7701 else
7702 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7703 fi
7704
7705 else
7706
7707 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7708
7709 fi
7710
7711
7712 eval "$wx_cv_use_arcstream"
7713
7714 if test x"$enablestring" = xdisable; then
7715 if test $wxUSE_ARCHIVE_STREAMS = no; then
7716 result=yes
7717 else
7718 result=no
7719 fi
7720 else
7721 result=$wxUSE_ARCHIVE_STREAMS
7722 fi
7723
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7725 $as_echo "$result" >&6; }
7726
7727
7728 enablestring=
7729 defaultval=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x"$enablestring" = xdisable; then
7732 defaultval=yes
7733 else
7734 defaultval=no
7735 fi
7736 fi
7737
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7739 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7740 # Check whether --enable-base64 was given.
7741 if test "${enable_base64+set}" = set; then :
7742 enableval=$enable_base64;
7743 if test "$enableval" = yes; then
7744 wx_cv_use_base64='wxUSE_BASE64=yes'
7745 else
7746 wx_cv_use_base64='wxUSE_BASE64=no'
7747 fi
7748
7749 else
7750
7751 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7752
7753 fi
7754
7755
7756 eval "$wx_cv_use_base64"
7757
7758 if test x"$enablestring" = xdisable; then
7759 if test $wxUSE_BASE64 = no; then
7760 result=yes
7761 else
7762 result=no
7763 fi
7764 else
7765 result=$wxUSE_BASE64
7766 fi
7767
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7769 $as_echo "$result" >&6; }
7770
7771
7772 enablestring=
7773 defaultval=$wxUSE_ALL_FEATURES
7774 if test -z "$defaultval"; then
7775 if test x"$enablestring" = xdisable; then
7776 defaultval=yes
7777 else
7778 defaultval=no
7779 fi
7780 fi
7781
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7783 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7784 # Check whether --enable-backtrace was given.
7785 if test "${enable_backtrace+set}" = set; then :
7786 enableval=$enable_backtrace;
7787 if test "$enableval" = yes; then
7788 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7789 else
7790 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7791 fi
7792
7793 else
7794
7795 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7796
7797 fi
7798
7799
7800 eval "$wx_cv_use_backtrace"
7801
7802 if test x"$enablestring" = xdisable; then
7803 if test $wxUSE_STACKWALKER = no; then
7804 result=yes
7805 else
7806 result=no
7807 fi
7808 else
7809 result=$wxUSE_STACKWALKER
7810 fi
7811
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7813 $as_echo "$result" >&6; }
7814
7815
7816 enablestring=
7817 defaultval=$wxUSE_ALL_FEATURES
7818 if test -z "$defaultval"; then
7819 if test x"$enablestring" = xdisable; then
7820 defaultval=yes
7821 else
7822 defaultval=no
7823 fi
7824 fi
7825
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7827 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7828 # Check whether --enable-catch_segvs was given.
7829 if test "${enable_catch_segvs+set}" = set; then :
7830 enableval=$enable_catch_segvs;
7831 if test "$enableval" = yes; then
7832 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7833 else
7834 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7835 fi
7836
7837 else
7838
7839 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7840
7841 fi
7842
7843
7844 eval "$wx_cv_use_catch_segvs"
7845
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7848 result=yes
7849 else
7850 result=no
7851 fi
7852 else
7853 result=$wxUSE_ON_FATAL_EXCEPTION
7854 fi
7855
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7857 $as_echo "$result" >&6; }
7858
7859
7860 enablestring=
7861 defaultval=$wxUSE_ALL_FEATURES
7862 if test -z "$defaultval"; then
7863 if test x"$enablestring" = xdisable; then
7864 defaultval=yes
7865 else
7866 defaultval=no
7867 fi
7868 fi
7869
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7871 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7872 # Check whether --enable-cmdline was given.
7873 if test "${enable_cmdline+set}" = set; then :
7874 enableval=$enable_cmdline;
7875 if test "$enableval" = yes; then
7876 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7877 else
7878 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7879 fi
7880
7881 else
7882
7883 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7884
7885 fi
7886
7887
7888 eval "$wx_cv_use_cmdline"
7889
7890 if test x"$enablestring" = xdisable; then
7891 if test $wxUSE_CMDLINE_PARSER = no; then
7892 result=yes
7893 else
7894 result=no
7895 fi
7896 else
7897 result=$wxUSE_CMDLINE_PARSER
7898 fi
7899
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7901 $as_echo "$result" >&6; }
7902
7903
7904 enablestring=
7905 defaultval=$wxUSE_ALL_FEATURES
7906 if test -z "$defaultval"; then
7907 if test x"$enablestring" = xdisable; then
7908 defaultval=yes
7909 else
7910 defaultval=no
7911 fi
7912 fi
7913
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7915 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7916 # Check whether --enable-datetime was given.
7917 if test "${enable_datetime+set}" = set; then :
7918 enableval=$enable_datetime;
7919 if test "$enableval" = yes; then
7920 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7921 else
7922 wx_cv_use_datetime='wxUSE_DATETIME=no'
7923 fi
7924
7925 else
7926
7927 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7928
7929 fi
7930
7931
7932 eval "$wx_cv_use_datetime"
7933
7934 if test x"$enablestring" = xdisable; then
7935 if test $wxUSE_DATETIME = no; then
7936 result=yes
7937 else
7938 result=no
7939 fi
7940 else
7941 result=$wxUSE_DATETIME
7942 fi
7943
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7945 $as_echo "$result" >&6; }
7946
7947
7948 enablestring=
7949 defaultval=$wxUSE_ALL_FEATURES
7950 if test -z "$defaultval"; then
7951 if test x"$enablestring" = xdisable; then
7952 defaultval=yes
7953 else
7954 defaultval=no
7955 fi
7956 fi
7957
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7959 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7960 # Check whether --enable-debugreport was given.
7961 if test "${enable_debugreport+set}" = set; then :
7962 enableval=$enable_debugreport;
7963 if test "$enableval" = yes; then
7964 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7965 else
7966 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7967 fi
7968
7969 else
7970
7971 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7972
7973 fi
7974
7975
7976 eval "$wx_cv_use_debugreport"
7977
7978 if test x"$enablestring" = xdisable; then
7979 if test $wxUSE_DEBUGREPORT = no; then
7980 result=yes
7981 else
7982 result=no
7983 fi
7984 else
7985 result=$wxUSE_DEBUGREPORT
7986 fi
7987
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7989 $as_echo "$result" >&6; }
7990
7991
7992 enablestring=
7993 defaultval=$wxUSE_ALL_FEATURES
7994 if test -z "$defaultval"; then
7995 if test x"$enablestring" = xdisable; then
7996 defaultval=yes
7997 else
7998 defaultval=no
7999 fi
8000 fi
8001
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8003 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8004 # Check whether --enable-dialupman was given.
8005 if test "${enable_dialupman+set}" = set; then :
8006 enableval=$enable_dialupman;
8007 if test "$enableval" = yes; then
8008 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
8009 else
8010 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
8011 fi
8012
8013 else
8014
8015 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8016
8017 fi
8018
8019
8020 eval "$wx_cv_use_dialupman"
8021
8022 if test x"$enablestring" = xdisable; then
8023 if test $wxUSE_DIALUP_MANAGER = no; then
8024 result=yes
8025 else
8026 result=no
8027 fi
8028 else
8029 result=$wxUSE_DIALUP_MANAGER
8030 fi
8031
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8033 $as_echo "$result" >&6; }
8034
8035
8036 enablestring=
8037 defaultval=$wxUSE_ALL_FEATURES
8038 if test -z "$defaultval"; then
8039 if test x"$enablestring" = xdisable; then
8040 defaultval=yes
8041 else
8042 defaultval=no
8043 fi
8044 fi
8045
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8047 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8048 # Check whether --enable-dynlib was given.
8049 if test "${enable_dynlib+set}" = set; then :
8050 enableval=$enable_dynlib;
8051 if test "$enableval" = yes; then
8052 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8053 else
8054 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8055 fi
8056
8057 else
8058
8059 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8060
8061 fi
8062
8063
8064 eval "$wx_cv_use_dynlib"
8065
8066 if test x"$enablestring" = xdisable; then
8067 if test $wxUSE_DYNLIB_CLASS = no; then
8068 result=yes
8069 else
8070 result=no
8071 fi
8072 else
8073 result=$wxUSE_DYNLIB_CLASS
8074 fi
8075
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8077 $as_echo "$result" >&6; }
8078
8079
8080 enablestring=
8081 defaultval=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x"$enablestring" = xdisable; then
8084 defaultval=yes
8085 else
8086 defaultval=no
8087 fi
8088 fi
8089
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8091 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8092 # Check whether --enable-dynamicloader was given.
8093 if test "${enable_dynamicloader+set}" = set; then :
8094 enableval=$enable_dynamicloader;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8097 else
8098 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8099 fi
8100
8101 else
8102
8103 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8104
8105 fi
8106
8107
8108 eval "$wx_cv_use_dynamicloader"
8109
8110 if test x"$enablestring" = xdisable; then
8111 if test $wxUSE_DYNAMIC_LOADER = no; then
8112 result=yes
8113 else
8114 result=no
8115 fi
8116 else
8117 result=$wxUSE_DYNAMIC_LOADER
8118 fi
8119
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8121 $as_echo "$result" >&6; }
8122
8123
8124 enablestring=
8125 defaultval=$wxUSE_ALL_FEATURES
8126 if test -z "$defaultval"; then
8127 if test x"$enablestring" = xdisable; then
8128 defaultval=yes
8129 else
8130 defaultval=no
8131 fi
8132 fi
8133
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8135 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8136 # Check whether --enable-exceptions was given.
8137 if test "${enable_exceptions+set}" = set; then :
8138 enableval=$enable_exceptions;
8139 if test "$enableval" = yes; then
8140 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8141 else
8142 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8143 fi
8144
8145 else
8146
8147 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8148
8149 fi
8150
8151
8152 eval "$wx_cv_use_exceptions"
8153
8154 if test x"$enablestring" = xdisable; then
8155 if test $wxUSE_EXCEPTIONS = no; then
8156 result=yes
8157 else
8158 result=no
8159 fi
8160 else
8161 result=$wxUSE_EXCEPTIONS
8162 fi
8163
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8165 $as_echo "$result" >&6; }
8166
8167
8168 enablestring=
8169 defaultval=$wxUSE_ALL_FEATURES
8170 if test -z "$defaultval"; then
8171 if test x"$enablestring" = xdisable; then
8172 defaultval=yes
8173 else
8174 defaultval=no
8175 fi
8176 fi
8177
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8179 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8180 # Check whether --enable-ffile was given.
8181 if test "${enable_ffile+set}" = set; then :
8182 enableval=$enable_ffile;
8183 if test "$enableval" = yes; then
8184 wx_cv_use_ffile='wxUSE_FFILE=yes'
8185 else
8186 wx_cv_use_ffile='wxUSE_FFILE=no'
8187 fi
8188
8189 else
8190
8191 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8192
8193 fi
8194
8195
8196 eval "$wx_cv_use_ffile"
8197
8198 if test x"$enablestring" = xdisable; then
8199 if test $wxUSE_FFILE = no; then
8200 result=yes
8201 else
8202 result=no
8203 fi
8204 else
8205 result=$wxUSE_FFILE
8206 fi
8207
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8209 $as_echo "$result" >&6; }
8210
8211
8212 enablestring=
8213 defaultval=$wxUSE_ALL_FEATURES
8214 if test -z "$defaultval"; then
8215 if test x"$enablestring" = xdisable; then
8216 defaultval=yes
8217 else
8218 defaultval=no
8219 fi
8220 fi
8221
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8223 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8224 # Check whether --enable-file was given.
8225 if test "${enable_file+set}" = set; then :
8226 enableval=$enable_file;
8227 if test "$enableval" = yes; then
8228 wx_cv_use_file='wxUSE_FILE=yes'
8229 else
8230 wx_cv_use_file='wxUSE_FILE=no'
8231 fi
8232
8233 else
8234
8235 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8236
8237 fi
8238
8239
8240 eval "$wx_cv_use_file"
8241
8242 if test x"$enablestring" = xdisable; then
8243 if test $wxUSE_FILE = no; then
8244 result=yes
8245 else
8246 result=no
8247 fi
8248 else
8249 result=$wxUSE_FILE
8250 fi
8251
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8253 $as_echo "$result" >&6; }
8254
8255
8256 enablestring=
8257 defaultval=$wxUSE_ALL_FEATURES
8258 if test -z "$defaultval"; then
8259 if test x"$enablestring" = xdisable; then
8260 defaultval=yes
8261 else
8262 defaultval=no
8263 fi
8264 fi
8265
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8267 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8268 # Check whether --enable-filehistory was given.
8269 if test "${enable_filehistory+set}" = set; then :
8270 enableval=$enable_filehistory;
8271 if test "$enableval" = yes; then
8272 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8273 else
8274 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8275 fi
8276
8277 else
8278
8279 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8280
8281 fi
8282
8283
8284 eval "$wx_cv_use_filehistory"
8285
8286 if test x"$enablestring" = xdisable; then
8287 if test $wxUSE_FILE_HISTORY = no; then
8288 result=yes
8289 else
8290 result=no
8291 fi
8292 else
8293 result=$wxUSE_FILE_HISTORY
8294 fi
8295
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8297 $as_echo "$result" >&6; }
8298
8299
8300 enablestring=
8301 defaultval=$wxUSE_ALL_FEATURES
8302 if test -z "$defaultval"; then
8303 if test x"$enablestring" = xdisable; then
8304 defaultval=yes
8305 else
8306 defaultval=no
8307 fi
8308 fi
8309
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8311 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8312 # Check whether --enable-filesystem was given.
8313 if test "${enable_filesystem+set}" = set; then :
8314 enableval=$enable_filesystem;
8315 if test "$enableval" = yes; then
8316 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8317 else
8318 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8319 fi
8320
8321 else
8322
8323 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8324
8325 fi
8326
8327
8328 eval "$wx_cv_use_filesystem"
8329
8330 if test x"$enablestring" = xdisable; then
8331 if test $wxUSE_FILESYSTEM = no; then
8332 result=yes
8333 else
8334 result=no
8335 fi
8336 else
8337 result=$wxUSE_FILESYSTEM
8338 fi
8339
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8341 $as_echo "$result" >&6; }
8342
8343
8344 enablestring=
8345 defaultval=$wxUSE_ALL_FEATURES
8346 if test -z "$defaultval"; then
8347 if test x"$enablestring" = xdisable; then
8348 defaultval=yes
8349 else
8350 defaultval=no
8351 fi
8352 fi
8353
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8355 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8356 # Check whether --enable-fontenum was given.
8357 if test "${enable_fontenum+set}" = set; then :
8358 enableval=$enable_fontenum;
8359 if test "$enableval" = yes; then
8360 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8361 else
8362 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8363 fi
8364
8365 else
8366
8367 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8368
8369 fi
8370
8371
8372 eval "$wx_cv_use_fontenum"
8373
8374 if test x"$enablestring" = xdisable; then
8375 if test $wxUSE_FONTENUM = no; then
8376 result=yes
8377 else
8378 result=no
8379 fi
8380 else
8381 result=$wxUSE_FONTENUM
8382 fi
8383
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8385 $as_echo "$result" >&6; }
8386
8387
8388 enablestring=
8389 defaultval=$wxUSE_ALL_FEATURES
8390 if test -z "$defaultval"; then
8391 if test x"$enablestring" = xdisable; then
8392 defaultval=yes
8393 else
8394 defaultval=no
8395 fi
8396 fi
8397
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8399 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8400 # Check whether --enable-fontmap was given.
8401 if test "${enable_fontmap+set}" = set; then :
8402 enableval=$enable_fontmap;
8403 if test "$enableval" = yes; then
8404 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8405 else
8406 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8407 fi
8408
8409 else
8410
8411 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8412
8413 fi
8414
8415
8416 eval "$wx_cv_use_fontmap"
8417
8418 if test x"$enablestring" = xdisable; then
8419 if test $wxUSE_FONTMAP = no; then
8420 result=yes
8421 else
8422 result=no
8423 fi
8424 else
8425 result=$wxUSE_FONTMAP
8426 fi
8427
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8429 $as_echo "$result" >&6; }
8430
8431
8432 enablestring=
8433 defaultval=$wxUSE_ALL_FEATURES
8434 if test -z "$defaultval"; then
8435 if test x"$enablestring" = xdisable; then
8436 defaultval=yes
8437 else
8438 defaultval=no
8439 fi
8440 fi
8441
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8443 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8444 # Check whether --enable-fs_archive was given.
8445 if test "${enable_fs_archive+set}" = set; then :
8446 enableval=$enable_fs_archive;
8447 if test "$enableval" = yes; then
8448 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8449 else
8450 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8451 fi
8452
8453 else
8454
8455 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8456
8457 fi
8458
8459
8460 eval "$wx_cv_use_fs_archive"
8461
8462 if test x"$enablestring" = xdisable; then
8463 if test $wxUSE_FS_ARCHIVE = no; then
8464 result=yes
8465 else
8466 result=no
8467 fi
8468 else
8469 result=$wxUSE_FS_ARCHIVE
8470 fi
8471
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8473 $as_echo "$result" >&6; }
8474
8475
8476 enablestring=
8477 defaultval=$wxUSE_ALL_FEATURES
8478 if test -z "$defaultval"; then
8479 if test x"$enablestring" = xdisable; then
8480 defaultval=yes
8481 else
8482 defaultval=no
8483 fi
8484 fi
8485
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8487 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8488 # Check whether --enable-fs_inet was given.
8489 if test "${enable_fs_inet+set}" = set; then :
8490 enableval=$enable_fs_inet;
8491 if test "$enableval" = yes; then
8492 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8493 else
8494 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8495 fi
8496
8497 else
8498
8499 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8500
8501 fi
8502
8503
8504 eval "$wx_cv_use_fs_inet"
8505
8506 if test x"$enablestring" = xdisable; then
8507 if test $wxUSE_FS_INET = no; then
8508 result=yes
8509 else
8510 result=no
8511 fi
8512 else
8513 result=$wxUSE_FS_INET
8514 fi
8515
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8517 $as_echo "$result" >&6; }
8518
8519
8520 enablestring=
8521 defaultval=$wxUSE_ALL_FEATURES
8522 if test -z "$defaultval"; then
8523 if test x"$enablestring" = xdisable; then
8524 defaultval=yes
8525 else
8526 defaultval=no
8527 fi
8528 fi
8529
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8531 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8532 # Check whether --enable-fs_zip was given.
8533 if test "${enable_fs_zip+set}" = set; then :
8534 enableval=$enable_fs_zip;
8535 if test "$enableval" = yes; then
8536 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8537 else
8538 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8539 fi
8540
8541 else
8542
8543 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8544
8545 fi
8546
8547
8548 eval "$wx_cv_use_fs_zip"
8549
8550 if test x"$enablestring" = xdisable; then
8551 if test $wxUSE_FS_ZIP = no; then
8552 result=yes
8553 else
8554 result=no
8555 fi
8556 else
8557 result=$wxUSE_FS_ZIP
8558 fi
8559
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8561 $as_echo "$result" >&6; }
8562
8563
8564 enablestring=
8565 defaultval=$wxUSE_ALL_FEATURES
8566 if test -z "$defaultval"; then
8567 if test x"$enablestring" = xdisable; then
8568 defaultval=yes
8569 else
8570 defaultval=no
8571 fi
8572 fi
8573
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8575 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8576 # Check whether --enable-fswatcher was given.
8577 if test "${enable_fswatcher+set}" = set; then :
8578 enableval=$enable_fswatcher;
8579 if test "$enableval" = yes; then
8580 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8581 else
8582 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8583 fi
8584
8585 else
8586
8587 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8588
8589 fi
8590
8591
8592 eval "$wx_cv_use_fswatcher"
8593
8594 if test x"$enablestring" = xdisable; then
8595 if test $wxUSE_FSWATCHER = no; then
8596 result=yes
8597 else
8598 result=no
8599 fi
8600 else
8601 result=$wxUSE_FSWATCHER
8602 fi
8603
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8605 $as_echo "$result" >&6; }
8606
8607
8608 enablestring=
8609 defaultval=$wxUSE_ALL_FEATURES
8610 if test -z "$defaultval"; then
8611 if test x"$enablestring" = xdisable; then
8612 defaultval=yes
8613 else
8614 defaultval=no
8615 fi
8616 fi
8617
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8619 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8620 # Check whether --enable-geometry was given.
8621 if test "${enable_geometry+set}" = set; then :
8622 enableval=$enable_geometry;
8623 if test "$enableval" = yes; then
8624 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8625 else
8626 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8627 fi
8628
8629 else
8630
8631 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8632
8633 fi
8634
8635
8636 eval "$wx_cv_use_geometry"
8637
8638 if test x"$enablestring" = xdisable; then
8639 if test $wxUSE_GEOMETRY = no; then
8640 result=yes
8641 else
8642 result=no
8643 fi
8644 else
8645 result=$wxUSE_GEOMETRY
8646 fi
8647
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8649 $as_echo "$result" >&6; }
8650
8651
8652 enablestring=
8653 defaultval=$wxUSE_ALL_FEATURES
8654 if test -z "$defaultval"; then
8655 if test x"$enablestring" = xdisable; then
8656 defaultval=yes
8657 else
8658 defaultval=no
8659 fi
8660 fi
8661
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8663 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8664 # Check whether --enable-log was given.
8665 if test "${enable_log+set}" = set; then :
8666 enableval=$enable_log;
8667 if test "$enableval" = yes; then
8668 wx_cv_use_log='wxUSE_LOG=yes'
8669 else
8670 wx_cv_use_log='wxUSE_LOG=no'
8671 fi
8672
8673 else
8674
8675 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8676
8677 fi
8678
8679
8680 eval "$wx_cv_use_log"
8681
8682 if test x"$enablestring" = xdisable; then
8683 if test $wxUSE_LOG = no; then
8684 result=yes
8685 else
8686 result=no
8687 fi
8688 else
8689 result=$wxUSE_LOG
8690 fi
8691
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8693 $as_echo "$result" >&6; }
8694
8695
8696 enablestring=
8697 defaultval=$wxUSE_ALL_FEATURES
8698 if test -z "$defaultval"; then
8699 if test x"$enablestring" = xdisable; then
8700 defaultval=yes
8701 else
8702 defaultval=no
8703 fi
8704 fi
8705
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8707 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8708 # Check whether --enable-longlong was given.
8709 if test "${enable_longlong+set}" = set; then :
8710 enableval=$enable_longlong;
8711 if test "$enableval" = yes; then
8712 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8713 else
8714 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8715 fi
8716
8717 else
8718
8719 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8720
8721 fi
8722
8723
8724 eval "$wx_cv_use_longlong"
8725
8726 if test x"$enablestring" = xdisable; then
8727 if test $wxUSE_LONGLONG = no; then
8728 result=yes
8729 else
8730 result=no
8731 fi
8732 else
8733 result=$wxUSE_LONGLONG
8734 fi
8735
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8737 $as_echo "$result" >&6; }
8738
8739
8740 enablestring=
8741 defaultval=$wxUSE_ALL_FEATURES
8742 if test -z "$defaultval"; then
8743 if test x"$enablestring" = xdisable; then
8744 defaultval=yes
8745 else
8746 defaultval=no
8747 fi
8748 fi
8749
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8751 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8752 # Check whether --enable-mimetype was given.
8753 if test "${enable_mimetype+set}" = set; then :
8754 enableval=$enable_mimetype;
8755 if test "$enableval" = yes; then
8756 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8757 else
8758 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8759 fi
8760
8761 else
8762
8763 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8764
8765 fi
8766
8767
8768 eval "$wx_cv_use_mimetype"
8769
8770 if test x"$enablestring" = xdisable; then
8771 if test $wxUSE_MIMETYPE = no; then
8772 result=yes
8773 else
8774 result=no
8775 fi
8776 else
8777 result=$wxUSE_MIMETYPE
8778 fi
8779
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8781 $as_echo "$result" >&6; }
8782
8783
8784 enablestring=
8785 defaultval=$wxUSE_ALL_FEATURES
8786 if test -z "$defaultval"; then
8787 if test x"$enablestring" = xdisable; then
8788 defaultval=yes
8789 else
8790 defaultval=no
8791 fi
8792 fi
8793
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8795 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8796 # Check whether --enable-printfposparam was given.
8797 if test "${enable_printfposparam+set}" = set; then :
8798 enableval=$enable_printfposparam;
8799 if test "$enableval" = yes; then
8800 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8801 else
8802 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8803 fi
8804
8805 else
8806
8807 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8808
8809 fi
8810
8811
8812 eval "$wx_cv_use_printfposparam"
8813
8814 if test x"$enablestring" = xdisable; then
8815 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8816 result=yes
8817 else
8818 result=no
8819 fi
8820 else
8821 result=$wxUSE_PRINTF_POS_PARAMS
8822 fi
8823
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8825 $as_echo "$result" >&6; }
8826
8827
8828 enablestring=
8829 defaultval=$wxUSE_ALL_FEATURES
8830 if test -z "$defaultval"; then
8831 if test x"$enablestring" = xdisable; then
8832 defaultval=yes
8833 else
8834 defaultval=no
8835 fi
8836 fi
8837
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8839 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8840 # Check whether --enable-snglinst was given.
8841 if test "${enable_snglinst+set}" = set; then :
8842 enableval=$enable_snglinst;
8843 if test "$enableval" = yes; then
8844 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8845 else
8846 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8847 fi
8848
8849 else
8850
8851 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8852
8853 fi
8854
8855
8856 eval "$wx_cv_use_snglinst"
8857
8858 if test x"$enablestring" = xdisable; then
8859 if test $wxUSE_SNGLINST_CHECKER = no; then
8860 result=yes
8861 else
8862 result=no
8863 fi
8864 else
8865 result=$wxUSE_SNGLINST_CHECKER
8866 fi
8867
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8869 $as_echo "$result" >&6; }
8870
8871
8872 enablestring=
8873 defaultval=$wxUSE_ALL_FEATURES
8874 if test -z "$defaultval"; then
8875 if test x"$enablestring" = xdisable; then
8876 defaultval=yes
8877 else
8878 defaultval=no
8879 fi
8880 fi
8881
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8883 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8884 # Check whether --enable-sound was given.
8885 if test "${enable_sound+set}" = set; then :
8886 enableval=$enable_sound;
8887 if test "$enableval" = yes; then
8888 wx_cv_use_sound='wxUSE_SOUND=yes'
8889 else
8890 wx_cv_use_sound='wxUSE_SOUND=no'
8891 fi
8892
8893 else
8894
8895 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8896
8897 fi
8898
8899
8900 eval "$wx_cv_use_sound"
8901
8902 if test x"$enablestring" = xdisable; then
8903 if test $wxUSE_SOUND = no; then
8904 result=yes
8905 else
8906 result=no
8907 fi
8908 else
8909 result=$wxUSE_SOUND
8910 fi
8911
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8913 $as_echo "$result" >&6; }
8914
8915
8916 enablestring=
8917 defaultval=$wxUSE_ALL_FEATURES
8918 if test -z "$defaultval"; then
8919 if test x"$enablestring" = xdisable; then
8920 defaultval=yes
8921 else
8922 defaultval=no
8923 fi
8924 fi
8925
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8927 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8928 # Check whether --enable-stdpaths was given.
8929 if test "${enable_stdpaths+set}" = set; then :
8930 enableval=$enable_stdpaths;
8931 if test "$enableval" = yes; then
8932 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8933 else
8934 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8935 fi
8936
8937 else
8938
8939 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8940
8941 fi
8942
8943
8944 eval "$wx_cv_use_stdpaths"
8945
8946 if test x"$enablestring" = xdisable; then
8947 if test $wxUSE_STDPATHS = no; then
8948 result=yes
8949 else
8950 result=no
8951 fi
8952 else
8953 result=$wxUSE_STDPATHS
8954 fi
8955
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8957 $as_echo "$result" >&6; }
8958
8959
8960 enablestring=
8961 defaultval=$wxUSE_ALL_FEATURES
8962 if test -z "$defaultval"; then
8963 if test x"$enablestring" = xdisable; then
8964 defaultval=yes
8965 else
8966 defaultval=no
8967 fi
8968 fi
8969
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8971 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8972 # Check whether --enable-stopwatch was given.
8973 if test "${enable_stopwatch+set}" = set; then :
8974 enableval=$enable_stopwatch;
8975 if test "$enableval" = yes; then
8976 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8977 else
8978 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8979 fi
8980
8981 else
8982
8983 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8984
8985 fi
8986
8987
8988 eval "$wx_cv_use_stopwatch"
8989
8990 if test x"$enablestring" = xdisable; then
8991 if test $wxUSE_STOPWATCH = no; then
8992 result=yes
8993 else
8994 result=no
8995 fi
8996 else
8997 result=$wxUSE_STOPWATCH
8998 fi
8999
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9001 $as_echo "$result" >&6; }
9002
9003
9004 enablestring=
9005 defaultval=$wxUSE_ALL_FEATURES
9006 if test -z "$defaultval"; then
9007 if test x"$enablestring" = xdisable; then
9008 defaultval=yes
9009 else
9010 defaultval=no
9011 fi
9012 fi
9013
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9015 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9016 # Check whether --enable-streams was given.
9017 if test "${enable_streams+set}" = set; then :
9018 enableval=$enable_streams;
9019 if test "$enableval" = yes; then
9020 wx_cv_use_streams='wxUSE_STREAMS=yes'
9021 else
9022 wx_cv_use_streams='wxUSE_STREAMS=no'
9023 fi
9024
9025 else
9026
9027 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9028
9029 fi
9030
9031
9032 eval "$wx_cv_use_streams"
9033
9034 if test x"$enablestring" = xdisable; then
9035 if test $wxUSE_STREAMS = no; then
9036 result=yes
9037 else
9038 result=no
9039 fi
9040 else
9041 result=$wxUSE_STREAMS
9042 fi
9043
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9045 $as_echo "$result" >&6; }
9046
9047
9048 enablestring=
9049 defaultval=$wxUSE_ALL_FEATURES
9050 if test -z "$defaultval"; then
9051 if test x"$enablestring" = xdisable; then
9052 defaultval=yes
9053 else
9054 defaultval=no
9055 fi
9056 fi
9057
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9059 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9060 # Check whether --enable-sysoptions was given.
9061 if test "${enable_sysoptions+set}" = set; then :
9062 enableval=$enable_sysoptions;
9063 if test "$enableval" = yes; then
9064 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9065 else
9066 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9067 fi
9068
9069 else
9070
9071 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9072
9073 fi
9074
9075
9076 eval "$wx_cv_use_sysoptions"
9077
9078 if test x"$enablestring" = xdisable; then
9079 if test $wxUSE_SYSTEM_OPTIONS = no; then
9080 result=yes
9081 else
9082 result=no
9083 fi
9084 else
9085 result=$wxUSE_SYSTEM_OPTIONS
9086 fi
9087
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9089 $as_echo "$result" >&6; }
9090
9091
9092 enablestring=
9093 defaultval=$wxUSE_ALL_FEATURES
9094 if test -z "$defaultval"; then
9095 if test x"$enablestring" = xdisable; then
9096 defaultval=yes
9097 else
9098 defaultval=no
9099 fi
9100 fi
9101
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9103 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9104 # Check whether --enable-tarstream was given.
9105 if test "${enable_tarstream+set}" = set; then :
9106 enableval=$enable_tarstream;
9107 if test "$enableval" = yes; then
9108 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9109 else
9110 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9111 fi
9112
9113 else
9114
9115 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9116
9117 fi
9118
9119
9120 eval "$wx_cv_use_tarstream"
9121
9122 if test x"$enablestring" = xdisable; then
9123 if test $wxUSE_TARSTREAM = no; then
9124 result=yes
9125 else
9126 result=no
9127 fi
9128 else
9129 result=$wxUSE_TARSTREAM
9130 fi
9131
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9133 $as_echo "$result" >&6; }
9134
9135
9136 enablestring=
9137 defaultval=$wxUSE_ALL_FEATURES
9138 if test -z "$defaultval"; then
9139 if test x"$enablestring" = xdisable; then
9140 defaultval=yes
9141 else
9142 defaultval=no
9143 fi
9144 fi
9145
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9147 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9148 # Check whether --enable-textbuf was given.
9149 if test "${enable_textbuf+set}" = set; then :
9150 enableval=$enable_textbuf;
9151 if test "$enableval" = yes; then
9152 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9153 else
9154 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9155 fi
9156
9157 else
9158
9159 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9160
9161 fi
9162
9163
9164 eval "$wx_cv_use_textbuf"
9165
9166 if test x"$enablestring" = xdisable; then
9167 if test $wxUSE_TEXTBUFFER = no; then
9168 result=yes
9169 else
9170 result=no
9171 fi
9172 else
9173 result=$wxUSE_TEXTBUFFER
9174 fi
9175
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9177 $as_echo "$result" >&6; }
9178
9179
9180 enablestring=
9181 defaultval=$wxUSE_ALL_FEATURES
9182 if test -z "$defaultval"; then
9183 if test x"$enablestring" = xdisable; then
9184 defaultval=yes
9185 else
9186 defaultval=no
9187 fi
9188 fi
9189
9190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9191 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9192 # Check whether --enable-textfile was given.
9193 if test "${enable_textfile+set}" = set; then :
9194 enableval=$enable_textfile;
9195 if test "$enableval" = yes; then
9196 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9197 else
9198 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9199 fi
9200
9201 else
9202
9203 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9204
9205 fi
9206
9207
9208 eval "$wx_cv_use_textfile"
9209
9210 if test x"$enablestring" = xdisable; then
9211 if test $wxUSE_TEXTFILE = no; then
9212 result=yes
9213 else
9214 result=no
9215 fi
9216 else
9217 result=$wxUSE_TEXTFILE
9218 fi
9219
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9221 $as_echo "$result" >&6; }
9222
9223
9224 enablestring=
9225 defaultval=$wxUSE_ALL_FEATURES
9226 if test -z "$defaultval"; then
9227 if test x"$enablestring" = xdisable; then
9228 defaultval=yes
9229 else
9230 defaultval=no
9231 fi
9232 fi
9233
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9235 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9236 # Check whether --enable-timer was given.
9237 if test "${enable_timer+set}" = set; then :
9238 enableval=$enable_timer;
9239 if test "$enableval" = yes; then
9240 wx_cv_use_timer='wxUSE_TIMER=yes'
9241 else
9242 wx_cv_use_timer='wxUSE_TIMER=no'
9243 fi
9244
9245 else
9246
9247 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9248
9249 fi
9250
9251
9252 eval "$wx_cv_use_timer"
9253
9254 if test x"$enablestring" = xdisable; then
9255 if test $wxUSE_TIMER = no; then
9256 result=yes
9257 else
9258 result=no
9259 fi
9260 else
9261 result=$wxUSE_TIMER
9262 fi
9263
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9265 $as_echo "$result" >&6; }
9266
9267
9268 enablestring=
9269 defaultval=$wxUSE_ALL_FEATURES
9270 if test -z "$defaultval"; then
9271 if test x"$enablestring" = xdisable; then
9272 defaultval=yes
9273 else
9274 defaultval=no
9275 fi
9276 fi
9277
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9279 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9280 # Check whether --enable-variant was given.
9281 if test "${enable_variant+set}" = set; then :
9282 enableval=$enable_variant;
9283 if test "$enableval" = yes; then
9284 wx_cv_use_variant='wxUSE_VARIANT=yes'
9285 else
9286 wx_cv_use_variant='wxUSE_VARIANT=no'
9287 fi
9288
9289 else
9290
9291 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9292
9293 fi
9294
9295
9296 eval "$wx_cv_use_variant"
9297
9298 if test x"$enablestring" = xdisable; then
9299 if test $wxUSE_VARIANT = no; then
9300 result=yes
9301 else
9302 result=no
9303 fi
9304 else
9305 result=$wxUSE_VARIANT
9306 fi
9307
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9309 $as_echo "$result" >&6; }
9310
9311
9312 enablestring=
9313 defaultval=$wxUSE_ALL_FEATURES
9314 if test -z "$defaultval"; then
9315 if test x"$enablestring" = xdisable; then
9316 defaultval=yes
9317 else
9318 defaultval=no
9319 fi
9320 fi
9321
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9323 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9324 # Check whether --enable-zipstream was given.
9325 if test "${enable_zipstream+set}" = set; then :
9326 enableval=$enable_zipstream;
9327 if test "$enableval" = yes; then
9328 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9329 else
9330 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9331 fi
9332
9333 else
9334
9335 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9336
9337 fi
9338
9339
9340 eval "$wx_cv_use_zipstream"
9341
9342 if test x"$enablestring" = xdisable; then
9343 if test $wxUSE_ZIPSTREAM = no; then
9344 result=yes
9345 else
9346 result=no
9347 fi
9348 else
9349 result=$wxUSE_ZIPSTREAM
9350 fi
9351
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9353 $as_echo "$result" >&6; }
9354
9355
9356
9357 enablestring=
9358 defaultval=$wxUSE_ALL_FEATURES
9359 if test -z "$defaultval"; then
9360 if test x"$enablestring" = xdisable; then
9361 defaultval=yes
9362 else
9363 defaultval=no
9364 fi
9365 fi
9366
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9368 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9369 # Check whether --enable-url was given.
9370 if test "${enable_url+set}" = set; then :
9371 enableval=$enable_url;
9372 if test "$enableval" = yes; then
9373 wx_cv_use_url='wxUSE_URL=yes'
9374 else
9375 wx_cv_use_url='wxUSE_URL=no'
9376 fi
9377
9378 else
9379
9380 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9381
9382 fi
9383
9384
9385 eval "$wx_cv_use_url"
9386
9387 if test x"$enablestring" = xdisable; then
9388 if test $wxUSE_URL = no; then
9389 result=yes
9390 else
9391 result=no
9392 fi
9393 else
9394 result=$wxUSE_URL
9395 fi
9396
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9398 $as_echo "$result" >&6; }
9399
9400
9401 enablestring=
9402 defaultval=$wxUSE_ALL_FEATURES
9403 if test -z "$defaultval"; then
9404 if test x"$enablestring" = xdisable; then
9405 defaultval=yes
9406 else
9407 defaultval=no
9408 fi
9409 fi
9410
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9412 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9413 # Check whether --enable-protocol was given.
9414 if test "${enable_protocol+set}" = set; then :
9415 enableval=$enable_protocol;
9416 if test "$enableval" = yes; then
9417 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9418 else
9419 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9420 fi
9421
9422 else
9423
9424 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9425
9426 fi
9427
9428
9429 eval "$wx_cv_use_protocol"
9430
9431 if test x"$enablestring" = xdisable; then
9432 if test $wxUSE_PROTOCOL = no; then
9433 result=yes
9434 else
9435 result=no
9436 fi
9437 else
9438 result=$wxUSE_PROTOCOL
9439 fi
9440
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9442 $as_echo "$result" >&6; }
9443
9444
9445 enablestring=
9446 defaultval=$wxUSE_ALL_FEATURES
9447 if test -z "$defaultval"; then
9448 if test x"$enablestring" = xdisable; then
9449 defaultval=yes
9450 else
9451 defaultval=no
9452 fi
9453 fi
9454
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9456 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9457 # Check whether --enable-protocol_http was given.
9458 if test "${enable_protocol_http+set}" = set; then :
9459 enableval=$enable_protocol_http;
9460 if test "$enableval" = yes; then
9461 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9462 else
9463 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9464 fi
9465
9466 else
9467
9468 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9469
9470 fi
9471
9472
9473 eval "$wx_cv_use_protocol_http"
9474
9475 if test x"$enablestring" = xdisable; then
9476 if test $wxUSE_PROTOCOL_HTTP = no; then
9477 result=yes
9478 else
9479 result=no
9480 fi
9481 else
9482 result=$wxUSE_PROTOCOL_HTTP
9483 fi
9484
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9486 $as_echo "$result" >&6; }
9487
9488
9489 enablestring=
9490 defaultval=$wxUSE_ALL_FEATURES
9491 if test -z "$defaultval"; then
9492 if test x"$enablestring" = xdisable; then
9493 defaultval=yes
9494 else
9495 defaultval=no
9496 fi
9497 fi
9498
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9500 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9501 # Check whether --enable-protocol_ftp was given.
9502 if test "${enable_protocol_ftp+set}" = set; then :
9503 enableval=$enable_protocol_ftp;
9504 if test "$enableval" = yes; then
9505 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9506 else
9507 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9508 fi
9509
9510 else
9511
9512 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9513
9514 fi
9515
9516
9517 eval "$wx_cv_use_protocol_ftp"
9518
9519 if test x"$enablestring" = xdisable; then
9520 if test $wxUSE_PROTOCOL_FTP = no; then
9521 result=yes
9522 else
9523 result=no
9524 fi
9525 else
9526 result=$wxUSE_PROTOCOL_FTP
9527 fi
9528
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9530 $as_echo "$result" >&6; }
9531
9532
9533 enablestring=
9534 defaultval=$wxUSE_ALL_FEATURES
9535 if test -z "$defaultval"; then
9536 if test x"$enablestring" = xdisable; then
9537 defaultval=yes
9538 else
9539 defaultval=no
9540 fi
9541 fi
9542
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9544 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9545 # Check whether --enable-protocol_file was given.
9546 if test "${enable_protocol_file+set}" = set; then :
9547 enableval=$enable_protocol_file;
9548 if test "$enableval" = yes; then
9549 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9550 else
9551 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9552 fi
9553
9554 else
9555
9556 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9557
9558 fi
9559
9560
9561 eval "$wx_cv_use_protocol_file"
9562
9563 if test x"$enablestring" = xdisable; then
9564 if test $wxUSE_PROTOCOL_FILE = no; then
9565 result=yes
9566 else
9567 result=no
9568 fi
9569 else
9570 result=$wxUSE_PROTOCOL_FILE
9571 fi
9572
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9574 $as_echo "$result" >&6; }
9575
9576
9577
9578 enablestring=
9579 defaultval=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x"$enablestring" = xdisable; then
9582 defaultval=yes
9583 else
9584 defaultval=no
9585 fi
9586 fi
9587
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9589 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9590 # Check whether --enable-threads was given.
9591 if test "${enable_threads+set}" = set; then :
9592 enableval=$enable_threads;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_threads='wxUSE_THREADS=yes'
9595 else
9596 wx_cv_use_threads='wxUSE_THREADS=no'
9597 fi
9598
9599 else
9600
9601 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9602
9603 fi
9604
9605
9606 eval "$wx_cv_use_threads"
9607
9608 if test x"$enablestring" = xdisable; then
9609 if test $wxUSE_THREADS = no; then
9610 result=yes
9611 else
9612 result=no
9613 fi
9614 else
9615 result=$wxUSE_THREADS
9616 fi
9617
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9619 $as_echo "$result" >&6; }
9620
9621
9622
9623 enablestring=
9624 defaultval=
9625 if test -z "$defaultval"; then
9626 if test x"$enablestring" = xdisable; then
9627 defaultval=yes
9628 else
9629 defaultval=no
9630 fi
9631 fi
9632
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9634 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9635 # Check whether --enable-iniconf was given.
9636 if test "${enable_iniconf+set}" = set; then :
9637 enableval=$enable_iniconf;
9638 if test "$enableval" = yes; then
9639 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9640 else
9641 wx_cv_use_iniconf='wxUSE_INICONF=no'
9642 fi
9643
9644 else
9645
9646 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9647
9648 fi
9649
9650
9651 eval "$wx_cv_use_iniconf"
9652
9653 if test x"$enablestring" = xdisable; then
9654 if test $wxUSE_INICONF = no; then
9655 result=yes
9656 else
9657 result=no
9658 fi
9659 else
9660 result=$wxUSE_INICONF
9661 fi
9662
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9664 $as_echo "$result" >&6; }
9665
9666
9667 enablestring=
9668 defaultval=$wxUSE_ALL_FEATURES
9669 if test -z "$defaultval"; then
9670 if test x"$enablestring" = xdisable; then
9671 defaultval=yes
9672 else
9673 defaultval=no
9674 fi
9675 fi
9676
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9678 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9679 # Check whether --enable-regkey was given.
9680 if test "${enable_regkey+set}" = set; then :
9681 enableval=$enable_regkey;
9682 if test "$enableval" = yes; then
9683 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9684 else
9685 wx_cv_use_regkey='wxUSE_REGKEY=no'
9686 fi
9687
9688 else
9689
9690 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9691
9692 fi
9693
9694
9695 eval "$wx_cv_use_regkey"
9696
9697 if test x"$enablestring" = xdisable; then
9698 if test $wxUSE_REGKEY = no; then
9699 result=yes
9700 else
9701 result=no
9702 fi
9703 else
9704 result=$wxUSE_REGKEY
9705 fi
9706
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9708 $as_echo "$result" >&6; }
9709
9710
9711 if test "$wxUSE_GUI" = "yes"; then
9712
9713
9714
9715 enablestring=
9716 defaultval=$wxUSE_ALL_FEATURES
9717 if test -z "$defaultval"; then
9718 if test x"$enablestring" = xdisable; then
9719 defaultval=yes
9720 else
9721 defaultval=no
9722 fi
9723 fi
9724
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9726 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9727 # Check whether --enable-docview was given.
9728 if test "${enable_docview+set}" = set; then :
9729 enableval=$enable_docview;
9730 if test "$enableval" = yes; then
9731 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9732 else
9733 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9734 fi
9735
9736 else
9737
9738 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9739
9740 fi
9741
9742
9743 eval "$wx_cv_use_docview"
9744
9745 if test x"$enablestring" = xdisable; then
9746 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9747 result=yes
9748 else
9749 result=no
9750 fi
9751 else
9752 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9753 fi
9754
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9756 $as_echo "$result" >&6; }
9757
9758
9759 enablestring=
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9763 defaultval=yes
9764 else
9765 defaultval=no
9766 fi
9767 fi
9768
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9770 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9771 # Check whether --enable-help was given.
9772 if test "${enable_help+set}" = set; then :
9773 enableval=$enable_help;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_help='wxUSE_HELP=yes'
9776 else
9777 wx_cv_use_help='wxUSE_HELP=no'
9778 fi
9779
9780 else
9781
9782 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9783
9784 fi
9785
9786
9787 eval "$wx_cv_use_help"
9788
9789 if test x"$enablestring" = xdisable; then
9790 if test $wxUSE_HELP = no; then
9791 result=yes
9792 else
9793 result=no
9794 fi
9795 else
9796 result=$wxUSE_HELP
9797 fi
9798
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9800 $as_echo "$result" >&6; }
9801
9802
9803 enablestring=
9804 defaultval=$wxUSE_ALL_FEATURES
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9807 defaultval=yes
9808 else
9809 defaultval=no
9810 fi
9811 fi
9812
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9814 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9815 # Check whether --enable-mshtmlhelp was given.
9816 if test "${enable_mshtmlhelp+set}" = set; then :
9817 enableval=$enable_mshtmlhelp;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9820 else
9821 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9822 fi
9823
9824 else
9825
9826 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9827
9828 fi
9829
9830
9831 eval "$wx_cv_use_mshtmlhelp"
9832
9833 if test x"$enablestring" = xdisable; then
9834 if test $wxUSE_MS_HTML_HELP = no; then
9835 result=yes
9836 else
9837 result=no
9838 fi
9839 else
9840 result=$wxUSE_MS_HTML_HELP
9841 fi
9842
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9844 $as_echo "$result" >&6; }
9845
9846
9847 enablestring=
9848 defaultval=$wxUSE_ALL_FEATURES
9849 if test -z "$defaultval"; then
9850 if test x"$enablestring" = xdisable; then
9851 defaultval=yes
9852 else
9853 defaultval=no
9854 fi
9855 fi
9856
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9858 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9859 # Check whether --enable-html was given.
9860 if test "${enable_html+set}" = set; then :
9861 enableval=$enable_html;
9862 if test "$enableval" = yes; then
9863 wx_cv_use_html='wxUSE_HTML=yes'
9864 else
9865 wx_cv_use_html='wxUSE_HTML=no'
9866 fi
9867
9868 else
9869
9870 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9871
9872 fi
9873
9874
9875 eval "$wx_cv_use_html"
9876
9877 if test x"$enablestring" = xdisable; then
9878 if test $wxUSE_HTML = no; then
9879 result=yes
9880 else
9881 result=no
9882 fi
9883 else
9884 result=$wxUSE_HTML
9885 fi
9886
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9888 $as_echo "$result" >&6; }
9889
9890
9891 enablestring=
9892 defaultval=$wxUSE_ALL_FEATURES
9893 if test -z "$defaultval"; then
9894 if test x"$enablestring" = xdisable; then
9895 defaultval=yes
9896 else
9897 defaultval=no
9898 fi
9899 fi
9900
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9902 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9903 # Check whether --enable-htmlhelp was given.
9904 if test "${enable_htmlhelp+set}" = set; then :
9905 enableval=$enable_htmlhelp;
9906 if test "$enableval" = yes; then
9907 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9908 else
9909 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9910 fi
9911
9912 else
9913
9914 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9915
9916 fi
9917
9918
9919 eval "$wx_cv_use_htmlhelp"
9920
9921 if test x"$enablestring" = xdisable; then
9922 if test $wxUSE_WXHTML_HELP = no; then
9923 result=yes
9924 else
9925 result=no
9926 fi
9927 else
9928 result=$wxUSE_WXHTML_HELP
9929 fi
9930
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9932 $as_echo "$result" >&6; }
9933
9934
9935 enablestring=
9936 defaultval=$wxUSE_ALL_FEATURES
9937 if test -z "$defaultval"; then
9938 if test x"$enablestring" = xdisable; then
9939 defaultval=yes
9940 else
9941 defaultval=no
9942 fi
9943 fi
9944
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9946 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9947 # Check whether --enable-xrc was given.
9948 if test "${enable_xrc+set}" = set; then :
9949 enableval=$enable_xrc;
9950 if test "$enableval" = yes; then
9951 wx_cv_use_xrc='wxUSE_XRC=yes'
9952 else
9953 wx_cv_use_xrc='wxUSE_XRC=no'
9954 fi
9955
9956 else
9957
9958 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9959
9960 fi
9961
9962
9963 eval "$wx_cv_use_xrc"
9964
9965 if test x"$enablestring" = xdisable; then
9966 if test $wxUSE_XRC = no; then
9967 result=yes
9968 else
9969 result=no
9970 fi
9971 else
9972 result=$wxUSE_XRC
9973 fi
9974
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9976 $as_echo "$result" >&6; }
9977
9978
9979 enablestring=
9980 defaultval=$wxUSE_ALL_FEATURES
9981 if test -z "$defaultval"; then
9982 if test x"$enablestring" = xdisable; then
9983 defaultval=yes
9984 else
9985 defaultval=no
9986 fi
9987 fi
9988
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9990 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9991 # Check whether --enable-aui was given.
9992 if test "${enable_aui+set}" = set; then :
9993 enableval=$enable_aui;
9994 if test "$enableval" = yes; then
9995 wx_cv_use_aui='wxUSE_AUI=yes'
9996 else
9997 wx_cv_use_aui='wxUSE_AUI=no'
9998 fi
9999
10000 else
10001
10002 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10003
10004 fi
10005
10006
10007 eval "$wx_cv_use_aui"
10008
10009 if test x"$enablestring" = xdisable; then
10010 if test $wxUSE_AUI = no; then
10011 result=yes
10012 else
10013 result=no
10014 fi
10015 else
10016 result=$wxUSE_AUI
10017 fi
10018
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10020 $as_echo "$result" >&6; }
10021
10022
10023 enablestring=
10024 defaultval=$wxUSE_ALL_FEATURES
10025 if test -z "$defaultval"; then
10026 if test x"$enablestring" = xdisable; then
10027 defaultval=yes
10028 else
10029 defaultval=no
10030 fi
10031 fi
10032
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10034 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10035 # Check whether --enable-propgrid was given.
10036 if test "${enable_propgrid+set}" = set; then :
10037 enableval=$enable_propgrid;
10038 if test "$enableval" = yes; then
10039 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10040 else
10041 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10042 fi
10043
10044 else
10045
10046 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10047
10048 fi
10049
10050
10051 eval "$wx_cv_use_propgrid"
10052
10053 if test x"$enablestring" = xdisable; then
10054 if test $wxUSE_PROPGRID = no; then
10055 result=yes
10056 else
10057 result=no
10058 fi
10059 else
10060 result=$wxUSE_PROPGRID
10061 fi
10062
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10064 $as_echo "$result" >&6; }
10065
10066
10067 enablestring=
10068 defaultval=$wxUSE_ALL_FEATURES
10069 if test -z "$defaultval"; then
10070 if test x"$enablestring" = xdisable; then
10071 defaultval=yes
10072 else
10073 defaultval=no
10074 fi
10075 fi
10076
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10078 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10079 # Check whether --enable-ribbon was given.
10080 if test "${enable_ribbon+set}" = set; then :
10081 enableval=$enable_ribbon;
10082 if test "$enableval" = yes; then
10083 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10084 else
10085 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10086 fi
10087
10088 else
10089
10090 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10091
10092 fi
10093
10094
10095 eval "$wx_cv_use_ribbon"
10096
10097 if test x"$enablestring" = xdisable; then
10098 if test $wxUSE_RIBBON = no; then
10099 result=yes
10100 else
10101 result=no
10102 fi
10103 else
10104 result=$wxUSE_RIBBON
10105 fi
10106
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10108 $as_echo "$result" >&6; }
10109
10110
10111 enablestring=
10112 defaultval=$wxUSE_ALL_FEATURES
10113 if test -z "$defaultval"; then
10114 if test x"$enablestring" = xdisable; then
10115 defaultval=yes
10116 else
10117 defaultval=no
10118 fi
10119 fi
10120
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10122 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10123 # Check whether --enable-stc was given.
10124 if test "${enable_stc+set}" = set; then :
10125 enableval=$enable_stc;
10126 if test "$enableval" = yes; then
10127 wx_cv_use_stc='wxUSE_STC=yes'
10128 else
10129 wx_cv_use_stc='wxUSE_STC=no'
10130 fi
10131
10132 else
10133
10134 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10135
10136 fi
10137
10138
10139 eval "$wx_cv_use_stc"
10140
10141 if test x"$enablestring" = xdisable; then
10142 if test $wxUSE_STC = no; then
10143 result=yes
10144 else
10145 result=no
10146 fi
10147 else
10148 result=$wxUSE_STC
10149 fi
10150
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10152 $as_echo "$result" >&6; }
10153
10154
10155 enablestring=
10156 defaultval=$wxUSE_ALL_FEATURES
10157 if test -z "$defaultval"; then
10158 if test x"$enablestring" = xdisable; then
10159 defaultval=yes
10160 else
10161 defaultval=no
10162 fi
10163 fi
10164
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10166 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10167 # Check whether --enable-constraints was given.
10168 if test "${enable_constraints+set}" = set; then :
10169 enableval=$enable_constraints;
10170 if test "$enableval" = yes; then
10171 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10172 else
10173 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10174 fi
10175
10176 else
10177
10178 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10179
10180 fi
10181
10182
10183 eval "$wx_cv_use_constraints"
10184
10185 if test x"$enablestring" = xdisable; then
10186 if test $wxUSE_CONSTRAINTS = no; then
10187 result=yes
10188 else
10189 result=no
10190 fi
10191 else
10192 result=$wxUSE_CONSTRAINTS
10193 fi
10194
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10196 $as_echo "$result" >&6; }
10197
10198
10199 enablestring=
10200 defaultval=$wxUSE_ALL_FEATURES
10201 if test -z "$defaultval"; then
10202 if test x"$enablestring" = xdisable; then
10203 defaultval=yes
10204 else
10205 defaultval=no
10206 fi
10207 fi
10208
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10210 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10211 # Check whether --enable-loggui was given.
10212 if test "${enable_loggui+set}" = set; then :
10213 enableval=$enable_loggui;
10214 if test "$enableval" = yes; then
10215 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10216 else
10217 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10218 fi
10219
10220 else
10221
10222 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10223
10224 fi
10225
10226
10227 eval "$wx_cv_use_loggui"
10228
10229 if test x"$enablestring" = xdisable; then
10230 if test $wxUSE_LOGGUI = no; then
10231 result=yes
10232 else
10233 result=no
10234 fi
10235 else
10236 result=$wxUSE_LOGGUI
10237 fi
10238
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10240 $as_echo "$result" >&6; }
10241
10242
10243 enablestring=
10244 defaultval=$wxUSE_ALL_FEATURES
10245 if test -z "$defaultval"; then
10246 if test x"$enablestring" = xdisable; then
10247 defaultval=yes
10248 else
10249 defaultval=no
10250 fi
10251 fi
10252
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10254 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10255 # Check whether --enable-logwin was given.
10256 if test "${enable_logwin+set}" = set; then :
10257 enableval=$enable_logwin;
10258 if test "$enableval" = yes; then
10259 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10260 else
10261 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10262 fi
10263
10264 else
10265
10266 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10267
10268 fi
10269
10270
10271 eval "$wx_cv_use_logwin"
10272
10273 if test x"$enablestring" = xdisable; then
10274 if test $wxUSE_LOGWINDOW = no; then
10275 result=yes
10276 else
10277 result=no
10278 fi
10279 else
10280 result=$wxUSE_LOGWINDOW
10281 fi
10282
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10284 $as_echo "$result" >&6; }
10285
10286
10287 enablestring=
10288 defaultval=$wxUSE_ALL_FEATURES
10289 if test -z "$defaultval"; then
10290 if test x"$enablestring" = xdisable; then
10291 defaultval=yes
10292 else
10293 defaultval=no
10294 fi
10295 fi
10296
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10298 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10299 # Check whether --enable-logdialog was given.
10300 if test "${enable_logdialog+set}" = set; then :
10301 enableval=$enable_logdialog;
10302 if test "$enableval" = yes; then
10303 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10304 else
10305 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10306 fi
10307
10308 else
10309
10310 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10311
10312 fi
10313
10314
10315 eval "$wx_cv_use_logdialog"
10316
10317 if test x"$enablestring" = xdisable; then
10318 if test $wxUSE_LOGDIALOG = no; then
10319 result=yes
10320 else
10321 result=no
10322 fi
10323 else
10324 result=$wxUSE_LOGDIALOG
10325 fi
10326
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10328 $as_echo "$result" >&6; }
10329
10330
10331 enablestring=
10332 defaultval=$wxUSE_ALL_FEATURES
10333 if test -z "$defaultval"; then
10334 if test x"$enablestring" = xdisable; then
10335 defaultval=yes
10336 else
10337 defaultval=no
10338 fi
10339 fi
10340
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10342 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10343 # Check whether --enable-mdi was given.
10344 if test "${enable_mdi+set}" = set; then :
10345 enableval=$enable_mdi;
10346 if test "$enableval" = yes; then
10347 wx_cv_use_mdi='wxUSE_MDI=yes'
10348 else
10349 wx_cv_use_mdi='wxUSE_MDI=no'
10350 fi
10351
10352 else
10353
10354 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10355
10356 fi
10357
10358
10359 eval "$wx_cv_use_mdi"
10360
10361 if test x"$enablestring" = xdisable; then
10362 if test $wxUSE_MDI = no; then
10363 result=yes
10364 else
10365 result=no
10366 fi
10367 else
10368 result=$wxUSE_MDI
10369 fi
10370
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10372 $as_echo "$result" >&6; }
10373
10374
10375 enablestring=
10376 defaultval=$wxUSE_ALL_FEATURES
10377 if test -z "$defaultval"; then
10378 if test x"$enablestring" = xdisable; then
10379 defaultval=yes
10380 else
10381 defaultval=no
10382 fi
10383 fi
10384
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10386 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10387 # Check whether --enable-mdidoc was given.
10388 if test "${enable_mdidoc+set}" = set; then :
10389 enableval=$enable_mdidoc;
10390 if test "$enableval" = yes; then
10391 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10392 else
10393 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10394 fi
10395
10396 else
10397
10398 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10399
10400 fi
10401
10402
10403 eval "$wx_cv_use_mdidoc"
10404
10405 if test x"$enablestring" = xdisable; then
10406 if test $wxUSE_MDI_ARCHITECTURE = no; then
10407 result=yes
10408 else
10409 result=no
10410 fi
10411 else
10412 result=$wxUSE_MDI_ARCHITECTURE
10413 fi
10414
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10416 $as_echo "$result" >&6; }
10417
10418
10419 enablestring=
10420 defaultval=$wxUSE_ALL_FEATURES
10421 if test -z "$defaultval"; then
10422 if test x"$enablestring" = xdisable; then
10423 defaultval=yes
10424 else
10425 defaultval=no
10426 fi
10427 fi
10428
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10430 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10431 # Check whether --enable-mediactrl was given.
10432 if test "${enable_mediactrl+set}" = set; then :
10433 enableval=$enable_mediactrl;
10434 if test "$enableval" = yes; then
10435 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10436 else
10437 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10438 fi
10439
10440 else
10441
10442 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10443
10444 fi
10445
10446
10447 eval "$wx_cv_use_mediactrl"
10448
10449 if test x"$enablestring" = xdisable; then
10450 if test $wxUSE_MEDIACTRL = no; then
10451 result=yes
10452 else
10453 result=no
10454 fi
10455 else
10456 result=$wxUSE_MEDIACTRL
10457 fi
10458
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10460 $as_echo "$result" >&6; }
10461
10462
10463 enablestring=
10464 defaultval=$wxUSE_ALL_FEATURES
10465 if test -z "$defaultval"; then
10466 if test x"$enablestring" = xdisable; then
10467 defaultval=yes
10468 else
10469 defaultval=no
10470 fi
10471 fi
10472
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10474 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10475 # Check whether --enable-gstreamer8 was given.
10476 if test "${enable_gstreamer8+set}" = set; then :
10477 enableval=$enable_gstreamer8;
10478 if test "$enableval" = yes; then
10479 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10480 else
10481 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10482 fi
10483
10484 else
10485
10486 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10487
10488 fi
10489
10490
10491 eval "$wx_cv_use_gstreamer8"
10492
10493 if test x"$enablestring" = xdisable; then
10494 if test $wxUSE_GSTREAMER8 = no; then
10495 result=yes
10496 else
10497 result=no
10498 fi
10499 else
10500 result=$wxUSE_GSTREAMER8
10501 fi
10502
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10504 $as_echo "$result" >&6; }
10505
10506
10507 enablestring=
10508 defaultval=$wxUSE_ALL_FEATURES
10509 if test -z "$defaultval"; then
10510 if test x"$enablestring" = xdisable; then
10511 defaultval=yes
10512 else
10513 defaultval=no
10514 fi
10515 fi
10516
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10518 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10519 # Check whether --enable-richtext was given.
10520 if test "${enable_richtext+set}" = set; then :
10521 enableval=$enable_richtext;
10522 if test "$enableval" = yes; then
10523 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10524 else
10525 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10526 fi
10527
10528 else
10529
10530 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10531
10532 fi
10533
10534
10535 eval "$wx_cv_use_richtext"
10536
10537 if test x"$enablestring" = xdisable; then
10538 if test $wxUSE_RICHTEXT = no; then
10539 result=yes
10540 else
10541 result=no
10542 fi
10543 else
10544 result=$wxUSE_RICHTEXT
10545 fi
10546
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10548 $as_echo "$result" >&6; }
10549
10550
10551 enablestring=
10552 defaultval=$wxUSE_ALL_FEATURES
10553 if test -z "$defaultval"; then
10554 if test x"$enablestring" = xdisable; then
10555 defaultval=yes
10556 else
10557 defaultval=no
10558 fi
10559 fi
10560
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10562 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10563 # Check whether --enable-postscript was given.
10564 if test "${enable_postscript+set}" = set; then :
10565 enableval=$enable_postscript;
10566 if test "$enableval" = yes; then
10567 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10568 else
10569 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10570 fi
10571
10572 else
10573
10574 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10575
10576 fi
10577
10578
10579 eval "$wx_cv_use_postscript"
10580
10581 if test x"$enablestring" = xdisable; then
10582 if test $wxUSE_POSTSCRIPT = no; then
10583 result=yes
10584 else
10585 result=no
10586 fi
10587 else
10588 result=$wxUSE_POSTSCRIPT
10589 fi
10590
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10592 $as_echo "$result" >&6; }
10593
10594
10595 enablestring=
10596 defaultval=$wxUSE_ALL_FEATURES
10597 if test -z "$defaultval"; then
10598 if test x"$enablestring" = xdisable; then
10599 defaultval=yes
10600 else
10601 defaultval=no
10602 fi
10603 fi
10604
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10606 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10607 # Check whether --enable-printarch was given.
10608 if test "${enable_printarch+set}" = set; then :
10609 enableval=$enable_printarch;
10610 if test "$enableval" = yes; then
10611 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10612 else
10613 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10614 fi
10615
10616 else
10617
10618 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10619
10620 fi
10621
10622
10623 eval "$wx_cv_use_printarch"
10624
10625 if test x"$enablestring" = xdisable; then
10626 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10627 result=yes
10628 else
10629 result=no
10630 fi
10631 else
10632 result=$wxUSE_PRINTING_ARCHITECTURE
10633 fi
10634
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10636 $as_echo "$result" >&6; }
10637
10638
10639 enablestring=
10640 defaultval=$wxUSE_ALL_FEATURES
10641 if test -z "$defaultval"; then
10642 if test x"$enablestring" = xdisable; then
10643 defaultval=yes
10644 else
10645 defaultval=no
10646 fi
10647 fi
10648
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10650 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10651 # Check whether --enable-svg was given.
10652 if test "${enable_svg+set}" = set; then :
10653 enableval=$enable_svg;
10654 if test "$enableval" = yes; then
10655 wx_cv_use_svg='wxUSE_SVG=yes'
10656 else
10657 wx_cv_use_svg='wxUSE_SVG=no'
10658 fi
10659
10660 else
10661
10662 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10663
10664 fi
10665
10666
10667 eval "$wx_cv_use_svg"
10668
10669 if test x"$enablestring" = xdisable; then
10670 if test $wxUSE_SVG = no; then
10671 result=yes
10672 else
10673 result=no
10674 fi
10675 else
10676 result=$wxUSE_SVG
10677 fi
10678
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10680 $as_echo "$result" >&6; }
10681
10682
10683 enablestring=
10684 defaultval=$wxUSE_ALL_FEATURES
10685 if test -z "$defaultval"; then
10686 if test x"$enablestring" = xdisable; then
10687 defaultval=yes
10688 else
10689 defaultval=no
10690 fi
10691 fi
10692
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10694 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10695 # Check whether --enable-webkit was given.
10696 if test "${enable_webkit+set}" = set; then :
10697 enableval=$enable_webkit;
10698 if test "$enableval" = yes; then
10699 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10700 else
10701 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10702 fi
10703
10704 else
10705
10706 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10707
10708 fi
10709
10710
10711 eval "$wx_cv_use_webkit"
10712
10713 if test x"$enablestring" = xdisable; then
10714 if test $wxUSE_WEBKIT = no; then
10715 result=yes
10716 else
10717 result=no
10718 fi
10719 else
10720 result=$wxUSE_WEBKIT
10721 fi
10722
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10724 $as_echo "$result" >&6; }
10725
10726
10727 enablestring=
10728 defaultval=$wxUSE_ALL_FEATURES
10729 if test -z "$defaultval"; then
10730 if test x"$enablestring" = xdisable; then
10731 defaultval=yes
10732 else
10733 defaultval=no
10734 fi
10735 fi
10736
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10738 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10739 # Check whether --enable-webview was given.
10740 if test "${enable_webview+set}" = set; then :
10741 enableval=$enable_webview;
10742 if test "$enableval" = yes; then
10743 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10744 else
10745 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10746 fi
10747
10748 else
10749
10750 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10751
10752 fi
10753
10754
10755 eval "$wx_cv_use_webview"
10756
10757 if test x"$enablestring" = xdisable; then
10758 if test $wxUSE_WEBVIEW = no; then
10759 result=yes
10760 else
10761 result=no
10762 fi
10763 else
10764 result=$wxUSE_WEBVIEW
10765 fi
10766
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10768 $as_echo "$result" >&6; }
10769
10770
10771 if test "$wxUSE_MAC" != 1; then
10772
10773 enablestring=
10774 defaultval=$wxUSE_ALL_FEATURES
10775 if test -z "$defaultval"; then
10776 if test x"$enablestring" = xdisable; then
10777 defaultval=yes
10778 else
10779 defaultval=no
10780 fi
10781 fi
10782
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10784 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10785 # Check whether --enable-graphics_ctx was given.
10786 if test "${enable_graphics_ctx+set}" = set; then :
10787 enableval=$enable_graphics_ctx;
10788 if test "$enableval" = yes; then
10789 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10790 else
10791 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10792 fi
10793
10794 else
10795
10796 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10797
10798 fi
10799
10800
10801 eval "$wx_cv_use_graphics_ctx"
10802
10803 if test x"$enablestring" = xdisable; then
10804 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10805 result=yes
10806 else
10807 result=no
10808 fi
10809 else
10810 result=$wxUSE_GRAPHICS_CONTEXT
10811 fi
10812
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10814 $as_echo "$result" >&6; }
10815
10816 fi
10817
10818
10819
10820 enablestring=
10821 defaultval=$wxUSE_ALL_FEATURES
10822 if test -z "$defaultval"; then
10823 if test x"$enablestring" = xdisable; then
10824 defaultval=yes
10825 else
10826 defaultval=no
10827 fi
10828 fi
10829
10830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10831 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10832 # Check whether --enable-clipboard was given.
10833 if test "${enable_clipboard+set}" = set; then :
10834 enableval=$enable_clipboard;
10835 if test "$enableval" = yes; then
10836 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10837 else
10838 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10839 fi
10840
10841 else
10842
10843 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10844
10845 fi
10846
10847
10848 eval "$wx_cv_use_clipboard"
10849
10850 if test x"$enablestring" = xdisable; then
10851 if test $wxUSE_CLIPBOARD = no; then
10852 result=yes
10853 else
10854 result=no
10855 fi
10856 else
10857 result=$wxUSE_CLIPBOARD
10858 fi
10859
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10861 $as_echo "$result" >&6; }
10862
10863
10864 enablestring=
10865 defaultval=$wxUSE_ALL_FEATURES
10866 if test -z "$defaultval"; then
10867 if test x"$enablestring" = xdisable; then
10868 defaultval=yes
10869 else
10870 defaultval=no
10871 fi
10872 fi
10873
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10875 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10876 # Check whether --enable-dnd was given.
10877 if test "${enable_dnd+set}" = set; then :
10878 enableval=$enable_dnd;
10879 if test "$enableval" = yes; then
10880 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10881 else
10882 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10883 fi
10884
10885 else
10886
10887 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10888
10889 fi
10890
10891
10892 eval "$wx_cv_use_dnd"
10893
10894 if test x"$enablestring" = xdisable; then
10895 if test $wxUSE_DRAG_AND_DROP = no; then
10896 result=yes
10897 else
10898 result=no
10899 fi
10900 else
10901 result=$wxUSE_DRAG_AND_DROP
10902 fi
10903
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10905 $as_echo "$result" >&6; }
10906
10907
10908
10909 DEFAULT_wxUSE_CONTROLS=none
10910
10911 enablestring=disable
10912 defaultval=
10913 if test -z "$defaultval"; then
10914 if test x"$enablestring" = xdisable; then
10915 defaultval=yes
10916 else
10917 defaultval=no
10918 fi
10919 fi
10920
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10922 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10923 # Check whether --enable-controls was given.
10924 if test "${enable_controls+set}" = set; then :
10925 enableval=$enable_controls;
10926 if test "$enableval" = yes; then
10927 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10928 else
10929 wx_cv_use_controls='wxUSE_CONTROLS=no'
10930 fi
10931
10932 else
10933
10934 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10935
10936 fi
10937
10938
10939 eval "$wx_cv_use_controls"
10940
10941 if test x"$enablestring" = xdisable; then
10942 if test $wxUSE_CONTROLS = no; then
10943 result=yes
10944 else
10945 result=no
10946 fi
10947 else
10948 result=$wxUSE_CONTROLS
10949 fi
10950
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10952 $as_echo "$result" >&6; }
10953
10954
10955 if test "$wxUSE_CONTROLS" = "no"; then
10956 DEFAULT_wxUSE_ACCEL=no
10957 DEFAULT_wxUSE_ANIMATIONCTRL=no
10958 DEFAULT_wxUSE_BANNERWINDOW=no
10959 DEFAULT_wxUSE_BMPBUTTON=no
10960 DEFAULT_wxUSE_BUTTON=no
10961 DEFAULT_wxUSE_CALCTRL=no
10962 DEFAULT_wxUSE_CARET=no
10963 DEFAULT_wxUSE_CHECKBOX=no
10964 DEFAULT_wxUSE_CHECKLISTBOX=no
10965 DEFAULT_wxUSE_CHOICE=no
10966 DEFAULT_wxUSE_CHOICEBOOK=no
10967 DEFAULT_wxUSE_COLLPANE=no
10968 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10969 DEFAULT_wxUSE_COMBOBOX=no
10970 DEFAULT_wxUSE_COMBOBOX=no
10971 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10972 DEFAULT_wxUSE_DATAVIEWCTRL=no
10973 DEFAULT_wxUSE_DATEPICKCTRL=no
10974 DEFAULT_wxUSE_DETECT_SM=no
10975 DEFAULT_wxUSE_DIRPICKERCTRL=no
10976 DEFAULT_wxUSE_DISPLAY=no
10977 DEFAULT_wxUSE_FILECTRL=no
10978 DEFAULT_wxUSE_FILEPICKERCTRL=no
10979 DEFAULT_wxUSE_FONTPICKERCTRL=no
10980 DEFAULT_wxUSE_GAUGE=no
10981 DEFAULT_wxUSE_GRID=no
10982 DEFAULT_wxUSE_HEADERCTRL=no
10983 DEFAULT_wxUSE_HYPERLINKCTRL=no
10984 DEFAULT_wxUSE_IMAGLIST=no
10985 DEFAULT_wxUSE_LISTBOOK=no
10986 DEFAULT_wxUSE_LISTBOX=no
10987 DEFAULT_wxUSE_LISTCTRL=no
10988 DEFAULT_wxUSE_MARKUP=no
10989 DEFAULT_wxUSE_NOTEBOOK=no
10990 DEFAULT_wxUSE_POPUPWIN=no
10991 DEFAULT_wxUSE_RADIOBOX=no
10992 DEFAULT_wxUSE_RADIOBTN=no
10993 DEFAULT_wxUSE_RICHMSGDLG=no
10994 DEFAULT_wxUSE_RICHTOOLTIP=no
10995 DEFAULT_wxUSE_REARRANGECTRL=no
10996 DEFAULT_wxUSE_SASH=no
10997 DEFAULT_wxUSE_SCROLLBAR=no
10998 DEFAULT_wxUSE_SEARCHCTRL=no
10999 DEFAULT_wxUSE_SLIDER=no
11000 DEFAULT_wxUSE_SPINBTN=no
11001 DEFAULT_wxUSE_SPINCTRL=no
11002 DEFAULT_wxUSE_SPLITTER=no
11003 DEFAULT_wxUSE_STATBMP=no
11004 DEFAULT_wxUSE_STATBOX=no
11005 DEFAULT_wxUSE_STATLINE=no
11006 DEFAULT_wxUSE_STATUSBAR=no
11007 DEFAULT_wxUSE_TIMEPICKCTRL=no
11008 DEFAULT_wxUSE_TIPWINDOW=no
11009 DEFAULT_wxUSE_TOGGLEBTN=no
11010 DEFAULT_wxUSE_TOOLBAR=no
11011 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
11012 DEFAULT_wxUSE_TOOLBOOK=no
11013 DEFAULT_wxUSE_TOOLTIPS=no
11014 DEFAULT_wxUSE_TREEBOOK=no
11015 DEFAULT_wxUSE_TREECTRL=no
11016 DEFAULT_wxUSE_TREELISTCTRL=no
11017 fi
11018
11019
11020 enablestring=
11021 defaultval=$wxUSE_ALL_FEATURES
11022 if test -z "$defaultval"; then
11023 if test x"$enablestring" = xdisable; then
11024 defaultval=yes
11025 else
11026 defaultval=no
11027 fi
11028 fi
11029
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11031 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11032 # Check whether --enable-markup was given.
11033 if test "${enable_markup+set}" = set; then :
11034 enableval=$enable_markup;
11035 if test "$enableval" = yes; then
11036 wx_cv_use_markup='wxUSE_MARKUP=yes'
11037 else
11038 wx_cv_use_markup='wxUSE_MARKUP=no'
11039 fi
11040
11041 else
11042
11043 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11044
11045 fi
11046
11047
11048 eval "$wx_cv_use_markup"
11049
11050 if test x"$enablestring" = xdisable; then
11051 if test $wxUSE_MARKUP = no; then
11052 result=yes
11053 else
11054 result=no
11055 fi
11056 else
11057 result=$wxUSE_MARKUP
11058 fi
11059
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11061 $as_echo "$result" >&6; }
11062
11063
11064
11065 enablestring=
11066 defaultval=$wxUSE_ALL_FEATURES
11067 if test -z "$defaultval"; then
11068 if test x"$enablestring" = xdisable; then
11069 defaultval=yes
11070 else
11071 defaultval=no
11072 fi
11073 fi
11074
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11076 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11077 # Check whether --enable-accel was given.
11078 if test "${enable_accel+set}" = set; then :
11079 enableval=$enable_accel;
11080 if test "$enableval" = yes; then
11081 wx_cv_use_accel='wxUSE_ACCEL=yes'
11082 else
11083 wx_cv_use_accel='wxUSE_ACCEL=no'
11084 fi
11085
11086 else
11087
11088 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11089
11090 fi
11091
11092
11093 eval "$wx_cv_use_accel"
11094
11095 if test x"$enablestring" = xdisable; then
11096 if test $wxUSE_ACCEL = no; then
11097 result=yes
11098 else
11099 result=no
11100 fi
11101 else
11102 result=$wxUSE_ACCEL
11103 fi
11104
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11106 $as_echo "$result" >&6; }
11107
11108
11109 enablestring=
11110 defaultval=$wxUSE_ALL_FEATURES
11111 if test -z "$defaultval"; then
11112 if test x"$enablestring" = xdisable; then
11113 defaultval=yes
11114 else
11115 defaultval=no
11116 fi
11117 fi
11118
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11120 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11121 # Check whether --enable-animatectrl was given.
11122 if test "${enable_animatectrl+set}" = set; then :
11123 enableval=$enable_animatectrl;
11124 if test "$enableval" = yes; then
11125 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11126 else
11127 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11128 fi
11129
11130 else
11131
11132 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11133
11134 fi
11135
11136
11137 eval "$wx_cv_use_animatectrl"
11138
11139 if test x"$enablestring" = xdisable; then
11140 if test $wxUSE_ANIMATIONCTRL = no; then
11141 result=yes
11142 else
11143 result=no
11144 fi
11145 else
11146 result=$wxUSE_ANIMATIONCTRL
11147 fi
11148
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11150 $as_echo "$result" >&6; }
11151
11152
11153 enablestring=
11154 defaultval=$wxUSE_ALL_FEATURES
11155 if test -z "$defaultval"; then
11156 if test x"$enablestring" = xdisable; then
11157 defaultval=yes
11158 else
11159 defaultval=no
11160 fi
11161 fi
11162
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11164 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11165 # Check whether --enable-bannerwindow was given.
11166 if test "${enable_bannerwindow+set}" = set; then :
11167 enableval=$enable_bannerwindow;
11168 if test "$enableval" = yes; then
11169 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11170 else
11171 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11172 fi
11173
11174 else
11175
11176 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11177
11178 fi
11179
11180
11181 eval "$wx_cv_use_bannerwindow"
11182
11183 if test x"$enablestring" = xdisable; then
11184 if test $wxUSE_BANNERWINDOW = no; then
11185 result=yes
11186 else
11187 result=no
11188 fi
11189 else
11190 result=$wxUSE_BANNERWINDOW
11191 fi
11192
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11194 $as_echo "$result" >&6; }
11195
11196
11197 enablestring=
11198 defaultval=$wxUSE_ALL_FEATURES
11199 if test -z "$defaultval"; then
11200 if test x"$enablestring" = xdisable; then
11201 defaultval=yes
11202 else
11203 defaultval=no
11204 fi
11205 fi
11206
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11208 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11209 # Check whether --enable-artstd was given.
11210 if test "${enable_artstd+set}" = set; then :
11211 enableval=$enable_artstd;
11212 if test "$enableval" = yes; then
11213 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11214 else
11215 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11216 fi
11217
11218 else
11219
11220 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11221
11222 fi
11223
11224
11225 eval "$wx_cv_use_artstd"
11226
11227 if test x"$enablestring" = xdisable; then
11228 if test $wxUSE_ARTPROVIDER_STD = no; then
11229 result=yes
11230 else
11231 result=no
11232 fi
11233 else
11234 result=$wxUSE_ARTPROVIDER_STD
11235 fi
11236
11237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11238 $as_echo "$result" >&6; }
11239
11240
11241 enablestring=
11242 defaultval=$wxUSE_ALL_FEATURES
11243 if test -z "$defaultval"; then
11244 if test x"$enablestring" = xdisable; then
11245 defaultval=yes
11246 else
11247 defaultval=no
11248 fi
11249 fi
11250
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11252 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11253 # Check whether --enable-arttango was given.
11254 if test "${enable_arttango+set}" = set; then :
11255 enableval=$enable_arttango;
11256 if test "$enableval" = yes; then
11257 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11258 else
11259 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11260 fi
11261
11262 else
11263
11264 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11265
11266 fi
11267
11268
11269 eval "$wx_cv_use_arttango"
11270
11271 if test x"$enablestring" = xdisable; then
11272 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11273 result=yes
11274 else
11275 result=no
11276 fi
11277 else
11278 result=$wxUSE_ARTPROVIDER_TANGO
11279 fi
11280
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11282 $as_echo "$result" >&6; }
11283
11284
11285 enablestring=
11286 defaultval=$wxUSE_ALL_FEATURES
11287 if test -z "$defaultval"; then
11288 if test x"$enablestring" = xdisable; then
11289 defaultval=yes
11290 else
11291 defaultval=no
11292 fi
11293 fi
11294
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11296 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11297 # Check whether --enable-bmpbutton was given.
11298 if test "${enable_bmpbutton+set}" = set; then :
11299 enableval=$enable_bmpbutton;
11300 if test "$enableval" = yes; then
11301 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11302 else
11303 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11304 fi
11305
11306 else
11307
11308 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11309
11310 fi
11311
11312
11313 eval "$wx_cv_use_bmpbutton"
11314
11315 if test x"$enablestring" = xdisable; then
11316 if test $wxUSE_BMPBUTTON = no; then
11317 result=yes
11318 else
11319 result=no
11320 fi
11321 else
11322 result=$wxUSE_BMPBUTTON
11323 fi
11324
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11326 $as_echo "$result" >&6; }
11327
11328
11329 enablestring=
11330 defaultval=$wxUSE_ALL_FEATURES
11331 if test -z "$defaultval"; then
11332 if test x"$enablestring" = xdisable; then
11333 defaultval=yes
11334 else
11335 defaultval=no
11336 fi
11337 fi
11338
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11340 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11341 # Check whether --enable-bmpcombobox was given.
11342 if test "${enable_bmpcombobox+set}" = set; then :
11343 enableval=$enable_bmpcombobox;
11344 if test "$enableval" = yes; then
11345 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11346 else
11347 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11348 fi
11349
11350 else
11351
11352 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11353
11354 fi
11355
11356
11357 eval "$wx_cv_use_bmpcombobox"
11358
11359 if test x"$enablestring" = xdisable; then
11360 if test $wxUSE_BITMAPCOMBOBOX = no; then
11361 result=yes
11362 else
11363 result=no
11364 fi
11365 else
11366 result=$wxUSE_BITMAPCOMBOBOX
11367 fi
11368
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11370 $as_echo "$result" >&6; }
11371
11372
11373 enablestring=
11374 defaultval=$wxUSE_ALL_FEATURES
11375 if test -z "$defaultval"; then
11376 if test x"$enablestring" = xdisable; then
11377 defaultval=yes
11378 else
11379 defaultval=no
11380 fi
11381 fi
11382
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11384 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11385 # Check whether --enable-button was given.
11386 if test "${enable_button+set}" = set; then :
11387 enableval=$enable_button;
11388 if test "$enableval" = yes; then
11389 wx_cv_use_button='wxUSE_BUTTON=yes'
11390 else
11391 wx_cv_use_button='wxUSE_BUTTON=no'
11392 fi
11393
11394 else
11395
11396 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11397
11398 fi
11399
11400
11401 eval "$wx_cv_use_button"
11402
11403 if test x"$enablestring" = xdisable; then
11404 if test $wxUSE_BUTTON = no; then
11405 result=yes
11406 else
11407 result=no
11408 fi
11409 else
11410 result=$wxUSE_BUTTON
11411 fi
11412
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11414 $as_echo "$result" >&6; }
11415
11416
11417 enablestring=
11418 defaultval=$wxUSE_ALL_FEATURES
11419 if test -z "$defaultval"; then
11420 if test x"$enablestring" = xdisable; then
11421 defaultval=yes
11422 else
11423 defaultval=no
11424 fi
11425 fi
11426
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11428 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11429 # Check whether --enable-calendar was given.
11430 if test "${enable_calendar+set}" = set; then :
11431 enableval=$enable_calendar;
11432 if test "$enableval" = yes; then
11433 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11434 else
11435 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11436 fi
11437
11438 else
11439
11440 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11441
11442 fi
11443
11444
11445 eval "$wx_cv_use_calendar"
11446
11447 if test x"$enablestring" = xdisable; then
11448 if test $wxUSE_CALCTRL = no; then
11449 result=yes
11450 else
11451 result=no
11452 fi
11453 else
11454 result=$wxUSE_CALCTRL
11455 fi
11456
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11458 $as_echo "$result" >&6; }
11459
11460
11461 enablestring=
11462 defaultval=$wxUSE_ALL_FEATURES
11463 if test -z "$defaultval"; then
11464 if test x"$enablestring" = xdisable; then
11465 defaultval=yes
11466 else
11467 defaultval=no
11468 fi
11469 fi
11470
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11472 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11473 # Check whether --enable-caret was given.
11474 if test "${enable_caret+set}" = set; then :
11475 enableval=$enable_caret;
11476 if test "$enableval" = yes; then
11477 wx_cv_use_caret='wxUSE_CARET=yes'
11478 else
11479 wx_cv_use_caret='wxUSE_CARET=no'
11480 fi
11481
11482 else
11483
11484 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11485
11486 fi
11487
11488
11489 eval "$wx_cv_use_caret"
11490
11491 if test x"$enablestring" = xdisable; then
11492 if test $wxUSE_CARET = no; then
11493 result=yes
11494 else
11495 result=no
11496 fi
11497 else
11498 result=$wxUSE_CARET
11499 fi
11500
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11502 $as_echo "$result" >&6; }
11503
11504
11505 enablestring=
11506 defaultval=$wxUSE_ALL_FEATURES
11507 if test -z "$defaultval"; then
11508 if test x"$enablestring" = xdisable; then
11509 defaultval=yes
11510 else
11511 defaultval=no
11512 fi
11513 fi
11514
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11516 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11517 # Check whether --enable-checkbox was given.
11518 if test "${enable_checkbox+set}" = set; then :
11519 enableval=$enable_checkbox;
11520 if test "$enableval" = yes; then
11521 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11522 else
11523 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11524 fi
11525
11526 else
11527
11528 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11529
11530 fi
11531
11532
11533 eval "$wx_cv_use_checkbox"
11534
11535 if test x"$enablestring" = xdisable; then
11536 if test $wxUSE_CHECKBOX = no; then
11537 result=yes
11538 else
11539 result=no
11540 fi
11541 else
11542 result=$wxUSE_CHECKBOX
11543 fi
11544
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11546 $as_echo "$result" >&6; }
11547
11548
11549 enablestring=
11550 defaultval=$wxUSE_ALL_FEATURES
11551 if test -z "$defaultval"; then
11552 if test x"$enablestring" = xdisable; then
11553 defaultval=yes
11554 else
11555 defaultval=no
11556 fi
11557 fi
11558
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11560 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11561 # Check whether --enable-checklst was given.
11562 if test "${enable_checklst+set}" = set; then :
11563 enableval=$enable_checklst;
11564 if test "$enableval" = yes; then
11565 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11566 else
11567 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11568 fi
11569
11570 else
11571
11572 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11573
11574 fi
11575
11576
11577 eval "$wx_cv_use_checklst"
11578
11579 if test x"$enablestring" = xdisable; then
11580 if test $wxUSE_CHECKLST = no; then
11581 result=yes
11582 else
11583 result=no
11584 fi
11585 else
11586 result=$wxUSE_CHECKLST
11587 fi
11588
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11590 $as_echo "$result" >&6; }
11591
11592
11593 enablestring=
11594 defaultval=$wxUSE_ALL_FEATURES
11595 if test -z "$defaultval"; then
11596 if test x"$enablestring" = xdisable; then
11597 defaultval=yes
11598 else
11599 defaultval=no
11600 fi
11601 fi
11602
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11604 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11605 # Check whether --enable-choice was given.
11606 if test "${enable_choice+set}" = set; then :
11607 enableval=$enable_choice;
11608 if test "$enableval" = yes; then
11609 wx_cv_use_choice='wxUSE_CHOICE=yes'
11610 else
11611 wx_cv_use_choice='wxUSE_CHOICE=no'
11612 fi
11613
11614 else
11615
11616 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11617
11618 fi
11619
11620
11621 eval "$wx_cv_use_choice"
11622
11623 if test x"$enablestring" = xdisable; then
11624 if test $wxUSE_CHOICE = no; then
11625 result=yes
11626 else
11627 result=no
11628 fi
11629 else
11630 result=$wxUSE_CHOICE
11631 fi
11632
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11634 $as_echo "$result" >&6; }
11635
11636
11637 enablestring=
11638 defaultval=$wxUSE_ALL_FEATURES
11639 if test -z "$defaultval"; then
11640 if test x"$enablestring" = xdisable; then
11641 defaultval=yes
11642 else
11643 defaultval=no
11644 fi
11645 fi
11646
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11648 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11649 # Check whether --enable-choicebook was given.
11650 if test "${enable_choicebook+set}" = set; then :
11651 enableval=$enable_choicebook;
11652 if test "$enableval" = yes; then
11653 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11654 else
11655 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11656 fi
11657
11658 else
11659
11660 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11661
11662 fi
11663
11664
11665 eval "$wx_cv_use_choicebook"
11666
11667 if test x"$enablestring" = xdisable; then
11668 if test $wxUSE_CHOICEBOOK = no; then
11669 result=yes
11670 else
11671 result=no
11672 fi
11673 else
11674 result=$wxUSE_CHOICEBOOK
11675 fi
11676
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11678 $as_echo "$result" >&6; }
11679
11680
11681 enablestring=
11682 defaultval=$wxUSE_ALL_FEATURES
11683 if test -z "$defaultval"; then
11684 if test x"$enablestring" = xdisable; then
11685 defaultval=yes
11686 else
11687 defaultval=no
11688 fi
11689 fi
11690
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11692 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11693 # Check whether --enable-collpane was given.
11694 if test "${enable_collpane+set}" = set; then :
11695 enableval=$enable_collpane;
11696 if test "$enableval" = yes; then
11697 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11698 else
11699 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11700 fi
11701
11702 else
11703
11704 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11705
11706 fi
11707
11708
11709 eval "$wx_cv_use_collpane"
11710
11711 if test x"$enablestring" = xdisable; then
11712 if test $wxUSE_COLLPANE = no; then
11713 result=yes
11714 else
11715 result=no
11716 fi
11717 else
11718 result=$wxUSE_COLLPANE
11719 fi
11720
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11722 $as_echo "$result" >&6; }
11723
11724
11725 enablestring=
11726 defaultval=$wxUSE_ALL_FEATURES
11727 if test -z "$defaultval"; then
11728 if test x"$enablestring" = xdisable; then
11729 defaultval=yes
11730 else
11731 defaultval=no
11732 fi
11733 fi
11734
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11736 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11737 # Check whether --enable-colourpicker was given.
11738 if test "${enable_colourpicker+set}" = set; then :
11739 enableval=$enable_colourpicker;
11740 if test "$enableval" = yes; then
11741 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11742 else
11743 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11744 fi
11745
11746 else
11747
11748 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11749
11750 fi
11751
11752
11753 eval "$wx_cv_use_colourpicker"
11754
11755 if test x"$enablestring" = xdisable; then
11756 if test $wxUSE_COLOURPICKERCTRL = no; then
11757 result=yes
11758 else
11759 result=no
11760 fi
11761 else
11762 result=$wxUSE_COLOURPICKERCTRL
11763 fi
11764
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11766 $as_echo "$result" >&6; }
11767
11768
11769 enablestring=
11770 defaultval=$wxUSE_ALL_FEATURES
11771 if test -z "$defaultval"; then
11772 if test x"$enablestring" = xdisable; then
11773 defaultval=yes
11774 else
11775 defaultval=no
11776 fi
11777 fi
11778
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11780 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11781 # Check whether --enable-combobox was given.
11782 if test "${enable_combobox+set}" = set; then :
11783 enableval=$enable_combobox;
11784 if test "$enableval" = yes; then
11785 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11786 else
11787 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11788 fi
11789
11790 else
11791
11792 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11793
11794 fi
11795
11796
11797 eval "$wx_cv_use_combobox"
11798
11799 if test x"$enablestring" = xdisable; then
11800 if test $wxUSE_COMBOBOX = no; then
11801 result=yes
11802 else
11803 result=no
11804 fi
11805 else
11806 result=$wxUSE_COMBOBOX
11807 fi
11808
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11810 $as_echo "$result" >&6; }
11811
11812
11813 enablestring=
11814 defaultval=$wxUSE_ALL_FEATURES
11815 if test -z "$defaultval"; then
11816 if test x"$enablestring" = xdisable; then
11817 defaultval=yes
11818 else
11819 defaultval=no
11820 fi
11821 fi
11822
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11824 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11825 # Check whether --enable-comboctrl was given.
11826 if test "${enable_comboctrl+set}" = set; then :
11827 enableval=$enable_comboctrl;
11828 if test "$enableval" = yes; then
11829 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11830 else
11831 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11832 fi
11833
11834 else
11835
11836 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11837
11838 fi
11839
11840
11841 eval "$wx_cv_use_comboctrl"
11842
11843 if test x"$enablestring" = xdisable; then
11844 if test $wxUSE_COMBOCTRL = no; then
11845 result=yes
11846 else
11847 result=no
11848 fi
11849 else
11850 result=$wxUSE_COMBOCTRL
11851 fi
11852
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11854 $as_echo "$result" >&6; }
11855
11856
11857 enablestring=
11858 defaultval=$wxUSE_ALL_FEATURES
11859 if test -z "$defaultval"; then
11860 if test x"$enablestring" = xdisable; then
11861 defaultval=yes
11862 else
11863 defaultval=no
11864 fi
11865 fi
11866
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11868 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11869 # Check whether --enable-commandlinkbutton was given.
11870 if test "${enable_commandlinkbutton+set}" = set; then :
11871 enableval=$enable_commandlinkbutton;
11872 if test "$enableval" = yes; then
11873 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11874 else
11875 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11876 fi
11877
11878 else
11879
11880 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11881
11882 fi
11883
11884
11885 eval "$wx_cv_use_commandlinkbutton"
11886
11887 if test x"$enablestring" = xdisable; then
11888 if test $wxUSE_COMMANDLINKBUTTON = no; then
11889 result=yes
11890 else
11891 result=no
11892 fi
11893 else
11894 result=$wxUSE_COMMANDLINKBUTTON
11895 fi
11896
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11898 $as_echo "$result" >&6; }
11899
11900
11901 enablestring=
11902 defaultval=$wxUSE_ALL_FEATURES
11903 if test -z "$defaultval"; then
11904 if test x"$enablestring" = xdisable; then
11905 defaultval=yes
11906 else
11907 defaultval=no
11908 fi
11909 fi
11910
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11912 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11913 # Check whether --enable-dataviewctrl was given.
11914 if test "${enable_dataviewctrl+set}" = set; then :
11915 enableval=$enable_dataviewctrl;
11916 if test "$enableval" = yes; then
11917 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11918 else
11919 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11920 fi
11921
11922 else
11923
11924 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11925
11926 fi
11927
11928
11929 eval "$wx_cv_use_dataviewctrl"
11930
11931 if test x"$enablestring" = xdisable; then
11932 if test $wxUSE_DATAVIEWCTRL = no; then
11933 result=yes
11934 else
11935 result=no
11936 fi
11937 else
11938 result=$wxUSE_DATAVIEWCTRL
11939 fi
11940
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11942 $as_echo "$result" >&6; }
11943
11944
11945 enablestring=
11946 defaultval=$wxUSE_ALL_FEATURES
11947 if test -z "$defaultval"; then
11948 if test x"$enablestring" = xdisable; then
11949 defaultval=yes
11950 else
11951 defaultval=no
11952 fi
11953 fi
11954
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11956 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11957 # Check whether --enable-datepick was given.
11958 if test "${enable_datepick+set}" = set; then :
11959 enableval=$enable_datepick;
11960 if test "$enableval" = yes; then
11961 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11962 else
11963 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11964 fi
11965
11966 else
11967
11968 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11969
11970 fi
11971
11972
11973 eval "$wx_cv_use_datepick"
11974
11975 if test x"$enablestring" = xdisable; then
11976 if test $wxUSE_DATEPICKCTRL = no; then
11977 result=yes
11978 else
11979 result=no
11980 fi
11981 else
11982 result=$wxUSE_DATEPICKCTRL
11983 fi
11984
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11986 $as_echo "$result" >&6; }
11987
11988
11989 enablestring=
11990 defaultval=$wxUSE_ALL_FEATURES
11991 if test -z "$defaultval"; then
11992 if test x"$enablestring" = xdisable; then
11993 defaultval=yes
11994 else
11995 defaultval=no
11996 fi
11997 fi
11998
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12000 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12001 # Check whether --enable-detect_sm was given.
12002 if test "${enable_detect_sm+set}" = set; then :
12003 enableval=$enable_detect_sm;
12004 if test "$enableval" = yes; then
12005 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
12006 else
12007 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
12008 fi
12009
12010 else
12011
12012 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12013
12014 fi
12015
12016
12017 eval "$wx_cv_use_detect_sm"
12018
12019 if test x"$enablestring" = xdisable; then
12020 if test $wxUSE_DETECT_SM = no; then
12021 result=yes
12022 else
12023 result=no
12024 fi
12025 else
12026 result=$wxUSE_DETECT_SM
12027 fi
12028
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12030 $as_echo "$result" >&6; }
12031
12032
12033 enablestring=
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12037 defaultval=yes
12038 else
12039 defaultval=no
12040 fi
12041 fi
12042
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12044 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12045 # Check whether --enable-dirpicker was given.
12046 if test "${enable_dirpicker+set}" = set; then :
12047 enableval=$enable_dirpicker;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12050 else
12051 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12052 fi
12053
12054 else
12055
12056 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12057
12058 fi
12059
12060
12061 eval "$wx_cv_use_dirpicker"
12062
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_DIRPICKERCTRL = no; then
12065 result=yes
12066 else
12067 result=no
12068 fi
12069 else
12070 result=$wxUSE_DIRPICKERCTRL
12071 fi
12072
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12074 $as_echo "$result" >&6; }
12075
12076
12077 enablestring=
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12081 defaultval=yes
12082 else
12083 defaultval=no
12084 fi
12085 fi
12086
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12088 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12089 # Check whether --enable-display was given.
12090 if test "${enable_display+set}" = set; then :
12091 enableval=$enable_display;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_display='wxUSE_DISPLAY=yes'
12094 else
12095 wx_cv_use_display='wxUSE_DISPLAY=no'
12096 fi
12097
12098 else
12099
12100 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12101
12102 fi
12103
12104
12105 eval "$wx_cv_use_display"
12106
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_DISPLAY = no; then
12109 result=yes
12110 else
12111 result=no
12112 fi
12113 else
12114 result=$wxUSE_DISPLAY
12115 fi
12116
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12118 $as_echo "$result" >&6; }
12119
12120
12121 enablestring=
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12125 defaultval=yes
12126 else
12127 defaultval=no
12128 fi
12129 fi
12130
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12132 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12133 # Check whether --enable-editablebox was given.
12134 if test "${enable_editablebox+set}" = set; then :
12135 enableval=$enable_editablebox;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12138 else
12139 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12140 fi
12141
12142 else
12143
12144 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12145
12146 fi
12147
12148
12149 eval "$wx_cv_use_editablebox"
12150
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_EDITABLELISTBOX = no; then
12153 result=yes
12154 else
12155 result=no
12156 fi
12157 else
12158 result=$wxUSE_EDITABLELISTBOX
12159 fi
12160
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12162 $as_echo "$result" >&6; }
12163
12164
12165 enablestring=
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12169 defaultval=yes
12170 else
12171 defaultval=no
12172 fi
12173 fi
12174
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12176 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12177 # Check whether --enable-filectrl was given.
12178 if test "${enable_filectrl+set}" = set; then :
12179 enableval=$enable_filectrl;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12182 else
12183 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12184 fi
12185
12186 else
12187
12188 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12189
12190 fi
12191
12192
12193 eval "$wx_cv_use_filectrl"
12194
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_FILECTRL = no; then
12197 result=yes
12198 else
12199 result=no
12200 fi
12201 else
12202 result=$wxUSE_FILECTRL
12203 fi
12204
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12206 $as_echo "$result" >&6; }
12207
12208
12209 enablestring=
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12213 defaultval=yes
12214 else
12215 defaultval=no
12216 fi
12217 fi
12218
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12220 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12221 # Check whether --enable-filepicker was given.
12222 if test "${enable_filepicker+set}" = set; then :
12223 enableval=$enable_filepicker;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12226 else
12227 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12228 fi
12229
12230 else
12231
12232 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12233
12234 fi
12235
12236
12237 eval "$wx_cv_use_filepicker"
12238
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_FILEPICKERCTRL = no; then
12241 result=yes
12242 else
12243 result=no
12244 fi
12245 else
12246 result=$wxUSE_FILEPICKERCTRL
12247 fi
12248
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12250 $as_echo "$result" >&6; }
12251
12252
12253 enablestring=
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12257 defaultval=yes
12258 else
12259 defaultval=no
12260 fi
12261 fi
12262
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12264 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12265 # Check whether --enable-fontpicker was given.
12266 if test "${enable_fontpicker+set}" = set; then :
12267 enableval=$enable_fontpicker;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12270 else
12271 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12272 fi
12273
12274 else
12275
12276 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12277
12278 fi
12279
12280
12281 eval "$wx_cv_use_fontpicker"
12282
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_FONTPICKERCTRL = no; then
12285 result=yes
12286 else
12287 result=no
12288 fi
12289 else
12290 result=$wxUSE_FONTPICKERCTRL
12291 fi
12292
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12294 $as_echo "$result" >&6; }
12295
12296
12297 enablestring=
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12301 defaultval=yes
12302 else
12303 defaultval=no
12304 fi
12305 fi
12306
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12308 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12309 # Check whether --enable-gauge was given.
12310 if test "${enable_gauge+set}" = set; then :
12311 enableval=$enable_gauge;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12314 else
12315 wx_cv_use_gauge='wxUSE_GAUGE=no'
12316 fi
12317
12318 else
12319
12320 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12321
12322 fi
12323
12324
12325 eval "$wx_cv_use_gauge"
12326
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_GAUGE = no; then
12329 result=yes
12330 else
12331 result=no
12332 fi
12333 else
12334 result=$wxUSE_GAUGE
12335 fi
12336
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12338 $as_echo "$result" >&6; }
12339
12340
12341 enablestring=
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12345 defaultval=yes
12346 else
12347 defaultval=no
12348 fi
12349 fi
12350
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12352 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12353 # Check whether --enable-grid was given.
12354 if test "${enable_grid+set}" = set; then :
12355 enableval=$enable_grid;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_grid='wxUSE_GRID=yes'
12358 else
12359 wx_cv_use_grid='wxUSE_GRID=no'
12360 fi
12361
12362 else
12363
12364 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12365
12366 fi
12367
12368
12369 eval "$wx_cv_use_grid"
12370
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_GRID = no; then
12373 result=yes
12374 else
12375 result=no
12376 fi
12377 else
12378 result=$wxUSE_GRID
12379 fi
12380
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12382 $as_echo "$result" >&6; }
12383
12384
12385 enablestring=
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12389 defaultval=yes
12390 else
12391 defaultval=no
12392 fi
12393 fi
12394
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12396 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12397 # Check whether --enable-headerctrl was given.
12398 if test "${enable_headerctrl+set}" = set; then :
12399 enableval=$enable_headerctrl;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12402 else
12403 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12404 fi
12405
12406 else
12407
12408 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12409
12410 fi
12411
12412
12413 eval "$wx_cv_use_headerctrl"
12414
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_HEADERCTRL = no; then
12417 result=yes
12418 else
12419 result=no
12420 fi
12421 else
12422 result=$wxUSE_HEADERCTRL
12423 fi
12424
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12426 $as_echo "$result" >&6; }
12427
12428
12429 enablestring=
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12433 defaultval=yes
12434 else
12435 defaultval=no
12436 fi
12437 fi
12438
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12440 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12441 # Check whether --enable-hyperlink was given.
12442 if test "${enable_hyperlink+set}" = set; then :
12443 enableval=$enable_hyperlink;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12446 else
12447 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12448 fi
12449
12450 else
12451
12452 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12453
12454 fi
12455
12456
12457 eval "$wx_cv_use_hyperlink"
12458
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_HYPERLINKCTRL = no; then
12461 result=yes
12462 else
12463 result=no
12464 fi
12465 else
12466 result=$wxUSE_HYPERLINKCTRL
12467 fi
12468
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12470 $as_echo "$result" >&6; }
12471
12472
12473 enablestring=
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12477 defaultval=yes
12478 else
12479 defaultval=no
12480 fi
12481 fi
12482
12483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12484 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12485 # Check whether --enable-imaglist was given.
12486 if test "${enable_imaglist+set}" = set; then :
12487 enableval=$enable_imaglist;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12490 else
12491 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12492 fi
12493
12494 else
12495
12496 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12497
12498 fi
12499
12500
12501 eval "$wx_cv_use_imaglist"
12502
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_IMAGLIST = no; then
12505 result=yes
12506 else
12507 result=no
12508 fi
12509 else
12510 result=$wxUSE_IMAGLIST
12511 fi
12512
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12514 $as_echo "$result" >&6; }
12515
12516
12517 enablestring=
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12521 defaultval=yes
12522 else
12523 defaultval=no
12524 fi
12525 fi
12526
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12528 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12529 # Check whether --enable-infobar was given.
12530 if test "${enable_infobar+set}" = set; then :
12531 enableval=$enable_infobar;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12534 else
12535 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12536 fi
12537
12538 else
12539
12540 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12541
12542 fi
12543
12544
12545 eval "$wx_cv_use_infobar"
12546
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_INFOBAR = no; then
12549 result=yes
12550 else
12551 result=no
12552 fi
12553 else
12554 result=$wxUSE_INFOBAR
12555 fi
12556
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12558 $as_echo "$result" >&6; }
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12572 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12573 # Check whether --enable-listbook was given.
12574 if test "${enable_listbook+set}" = set; then :
12575 enableval=$enable_listbook;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12578 else
12579 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12580 fi
12581
12582 else
12583
12584 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_listbook"
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_LISTBOOK = no; then
12593 result=yes
12594 else
12595 result=no
12596 fi
12597 else
12598 result=$wxUSE_LISTBOOK
12599 fi
12600
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12602 $as_echo "$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12616 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12617 # Check whether --enable-listbox was given.
12618 if test "${enable_listbox+set}" = set; then :
12619 enableval=$enable_listbox;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12622 else
12623 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12624 fi
12625
12626 else
12627
12628 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12629
12630 fi
12631
12632
12633 eval "$wx_cv_use_listbox"
12634
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_LISTBOX = no; then
12637 result=yes
12638 else
12639 result=no
12640 fi
12641 else
12642 result=$wxUSE_LISTBOX
12643 fi
12644
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12646 $as_echo "$result" >&6; }
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12660 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12661 # Check whether --enable-listctrl was given.
12662 if test "${enable_listctrl+set}" = set; then :
12663 enableval=$enable_listctrl;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12666 else
12667 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_listctrl"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_LISTCTRL = no; then
12681 result=yes
12682 else
12683 result=no
12684 fi
12685 else
12686 result=$wxUSE_LISTCTRL
12687 fi
12688
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12690 $as_echo "$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12704 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12705 # Check whether --enable-notebook was given.
12706 if test "${enable_notebook+set}" = set; then :
12707 enableval=$enable_notebook;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12710 else
12711 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_notebook"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_NOTEBOOK = no; then
12725 result=yes
12726 else
12727 result=no
12728 fi
12729 else
12730 result=$wxUSE_NOTEBOOK
12731 fi
12732
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12734 $as_echo "$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12748 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12749 # Check whether --enable-notifmsg was given.
12750 if test "${enable_notifmsg+set}" = set; then :
12751 enableval=$enable_notifmsg;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12754 else
12755 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_notifmsg"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12769 result=yes
12770 else
12771 result=no
12772 fi
12773 else
12774 result=$wxUSE_NOTIFICATION_MESSAGE
12775 fi
12776
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12778 $as_echo "$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12792 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12793 # Check whether --enable-odcombobox was given.
12794 if test "${enable_odcombobox+set}" = set; then :
12795 enableval=$enable_odcombobox;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12798 else
12799 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_odcombobox"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_ODCOMBOBOX = no; then
12813 result=yes
12814 else
12815 result=no
12816 fi
12817 else
12818 result=$wxUSE_ODCOMBOBOX
12819 fi
12820
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12822 $as_echo "$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12836 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12837 # Check whether --enable-popupwin was given.
12838 if test "${enable_popupwin+set}" = set; then :
12839 enableval=$enable_popupwin;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12842 else
12843 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_popupwin"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_POPUPWIN = no; then
12857 result=yes
12858 else
12859 result=no
12860 fi
12861 else
12862 result=$wxUSE_POPUPWIN
12863 fi
12864
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12866 $as_echo "$result" >&6; }
12867
12868
12869 enablestring=
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12873 defaultval=yes
12874 else
12875 defaultval=no
12876 fi
12877 fi
12878
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12880 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12881 # Check whether --enable-radiobox was given.
12882 if test "${enable_radiobox+set}" = set; then :
12883 enableval=$enable_radiobox;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12886 else
12887 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12888 fi
12889
12890 else
12891
12892 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12893
12894 fi
12895
12896
12897 eval "$wx_cv_use_radiobox"
12898
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_RADIOBOX = no; then
12901 result=yes
12902 else
12903 result=no
12904 fi
12905 else
12906 result=$wxUSE_RADIOBOX
12907 fi
12908
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12910 $as_echo "$result" >&6; }
12911
12912
12913 enablestring=
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12917 defaultval=yes
12918 else
12919 defaultval=no
12920 fi
12921 fi
12922
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12924 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12925 # Check whether --enable-radiobtn was given.
12926 if test "${enable_radiobtn+set}" = set; then :
12927 enableval=$enable_radiobtn;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12930 else
12931 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12932 fi
12933
12934 else
12935
12936 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12937
12938 fi
12939
12940
12941 eval "$wx_cv_use_radiobtn"
12942
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_RADIOBTN = no; then
12945 result=yes
12946 else
12947 result=no
12948 fi
12949 else
12950 result=$wxUSE_RADIOBTN
12951 fi
12952
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12954 $as_echo "$result" >&6; }
12955
12956
12957 enablestring=
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12961 defaultval=yes
12962 else
12963 defaultval=no
12964 fi
12965 fi
12966
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12968 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12969 # Check whether --enable-richmsgdlg was given.
12970 if test "${enable_richmsgdlg+set}" = set; then :
12971 enableval=$enable_richmsgdlg;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12974 else
12975 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12976 fi
12977
12978 else
12979
12980 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12981
12982 fi
12983
12984
12985 eval "$wx_cv_use_richmsgdlg"
12986
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_RICHMSGDLG = no; then
12989 result=yes
12990 else
12991 result=no
12992 fi
12993 else
12994 result=$wxUSE_RICHMSGDLG
12995 fi
12996
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12998 $as_echo "$result" >&6; }
12999
13000
13001 enablestring=
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13005 defaultval=yes
13006 else
13007 defaultval=no
13008 fi
13009 fi
13010
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13012 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13013 # Check whether --enable-richtooltip was given.
13014 if test "${enable_richtooltip+set}" = set; then :
13015 enableval=$enable_richtooltip;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
13018 else
13019 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
13020 fi
13021
13022 else
13023
13024 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13025
13026 fi
13027
13028
13029 eval "$wx_cv_use_richtooltip"
13030
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_RICHTOOLTIP = no; then
13033 result=yes
13034 else
13035 result=no
13036 fi
13037 else
13038 result=$wxUSE_RICHTOOLTIP
13039 fi
13040
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13042 $as_echo "$result" >&6; }
13043
13044
13045 enablestring=
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13049 defaultval=yes
13050 else
13051 defaultval=no
13052 fi
13053 fi
13054
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13056 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13057 # Check whether --enable-rearrangectrl was given.
13058 if test "${enable_rearrangectrl+set}" = set; then :
13059 enableval=$enable_rearrangectrl;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13062 else
13063 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13064 fi
13065
13066 else
13067
13068 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13069
13070 fi
13071
13072
13073 eval "$wx_cv_use_rearrangectrl"
13074
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_REARRANGECTRL = no; then
13077 result=yes
13078 else
13079 result=no
13080 fi
13081 else
13082 result=$wxUSE_REARRANGECTRL
13083 fi
13084
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13086 $as_echo "$result" >&6; }
13087
13088
13089 enablestring=
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13093 defaultval=yes
13094 else
13095 defaultval=no
13096 fi
13097 fi
13098
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13100 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13101 # Check whether --enable-sash was given.
13102 if test "${enable_sash+set}" = set; then :
13103 enableval=$enable_sash;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_sash='wxUSE_SASH=yes'
13106 else
13107 wx_cv_use_sash='wxUSE_SASH=no'
13108 fi
13109
13110 else
13111
13112 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13113
13114 fi
13115
13116
13117 eval "$wx_cv_use_sash"
13118
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_SASH = no; then
13121 result=yes
13122 else
13123 result=no
13124 fi
13125 else
13126 result=$wxUSE_SASH
13127 fi
13128
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13130 $as_echo "$result" >&6; }
13131
13132
13133 enablestring=
13134 defaultval=$wxUSE_ALL_FEATURES
13135 if test -z "$defaultval"; then
13136 if test x"$enablestring" = xdisable; then
13137 defaultval=yes
13138 else
13139 defaultval=no
13140 fi
13141 fi
13142
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13144 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13145 # Check whether --enable-scrollbar was given.
13146 if test "${enable_scrollbar+set}" = set; then :
13147 enableval=$enable_scrollbar;
13148 if test "$enableval" = yes; then
13149 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13150 else
13151 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13152 fi
13153
13154 else
13155
13156 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13157
13158 fi
13159
13160
13161 eval "$wx_cv_use_scrollbar"
13162
13163 if test x"$enablestring" = xdisable; then
13164 if test $wxUSE_SCROLLBAR = no; then
13165 result=yes
13166 else
13167 result=no
13168 fi
13169 else
13170 result=$wxUSE_SCROLLBAR
13171 fi
13172
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13174 $as_echo "$result" >&6; }
13175
13176
13177 enablestring=
13178 defaultval=$wxUSE_ALL_FEATURES
13179 if test -z "$defaultval"; then
13180 if test x"$enablestring" = xdisable; then
13181 defaultval=yes
13182 else
13183 defaultval=no
13184 fi
13185 fi
13186
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13188 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13189 # Check whether --enable-searchctrl was given.
13190 if test "${enable_searchctrl+set}" = set; then :
13191 enableval=$enable_searchctrl;
13192 if test "$enableval" = yes; then
13193 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13194 else
13195 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13196 fi
13197
13198 else
13199
13200 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13201
13202 fi
13203
13204
13205 eval "$wx_cv_use_searchctrl"
13206
13207 if test x"$enablestring" = xdisable; then
13208 if test $wxUSE_SEARCHCTRL = no; then
13209 result=yes
13210 else
13211 result=no
13212 fi
13213 else
13214 result=$wxUSE_SEARCHCTRL
13215 fi
13216
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13218 $as_echo "$result" >&6; }
13219
13220
13221 enablestring=
13222 defaultval=$wxUSE_ALL_FEATURES
13223 if test -z "$defaultval"; then
13224 if test x"$enablestring" = xdisable; then
13225 defaultval=yes
13226 else
13227 defaultval=no
13228 fi
13229 fi
13230
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13232 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13233 # Check whether --enable-slider was given.
13234 if test "${enable_slider+set}" = set; then :
13235 enableval=$enable_slider;
13236 if test "$enableval" = yes; then
13237 wx_cv_use_slider='wxUSE_SLIDER=yes'
13238 else
13239 wx_cv_use_slider='wxUSE_SLIDER=no'
13240 fi
13241
13242 else
13243
13244 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13245
13246 fi
13247
13248
13249 eval "$wx_cv_use_slider"
13250
13251 if test x"$enablestring" = xdisable; then
13252 if test $wxUSE_SLIDER = no; then
13253 result=yes
13254 else
13255 result=no
13256 fi
13257 else
13258 result=$wxUSE_SLIDER
13259 fi
13260
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13262 $as_echo "$result" >&6; }
13263
13264
13265 enablestring=
13266 defaultval=$wxUSE_ALL_FEATURES
13267 if test -z "$defaultval"; then
13268 if test x"$enablestring" = xdisable; then
13269 defaultval=yes
13270 else
13271 defaultval=no
13272 fi
13273 fi
13274
13275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13276 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13277 # Check whether --enable-spinbtn was given.
13278 if test "${enable_spinbtn+set}" = set; then :
13279 enableval=$enable_spinbtn;
13280 if test "$enableval" = yes; then
13281 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13282 else
13283 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13284 fi
13285
13286 else
13287
13288 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13289
13290 fi
13291
13292
13293 eval "$wx_cv_use_spinbtn"
13294
13295 if test x"$enablestring" = xdisable; then
13296 if test $wxUSE_SPINBTN = no; then
13297 result=yes
13298 else
13299 result=no
13300 fi
13301 else
13302 result=$wxUSE_SPINBTN
13303 fi
13304
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13306 $as_echo "$result" >&6; }
13307
13308
13309 enablestring=
13310 defaultval=$wxUSE_ALL_FEATURES
13311 if test -z "$defaultval"; then
13312 if test x"$enablestring" = xdisable; then
13313 defaultval=yes
13314 else
13315 defaultval=no
13316 fi
13317 fi
13318
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13320 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13321 # Check whether --enable-spinctrl was given.
13322 if test "${enable_spinctrl+set}" = set; then :
13323 enableval=$enable_spinctrl;
13324 if test "$enableval" = yes; then
13325 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13326 else
13327 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13328 fi
13329
13330 else
13331
13332 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13333
13334 fi
13335
13336
13337 eval "$wx_cv_use_spinctrl"
13338
13339 if test x"$enablestring" = xdisable; then
13340 if test $wxUSE_SPINCTRL = no; then
13341 result=yes
13342 else
13343 result=no
13344 fi
13345 else
13346 result=$wxUSE_SPINCTRL
13347 fi
13348
13349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13350 $as_echo "$result" >&6; }
13351
13352
13353 enablestring=
13354 defaultval=$wxUSE_ALL_FEATURES
13355 if test -z "$defaultval"; then
13356 if test x"$enablestring" = xdisable; then
13357 defaultval=yes
13358 else
13359 defaultval=no
13360 fi
13361 fi
13362
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13364 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13365 # Check whether --enable-splitter was given.
13366 if test "${enable_splitter+set}" = set; then :
13367 enableval=$enable_splitter;
13368 if test "$enableval" = yes; then
13369 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13370 else
13371 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13372 fi
13373
13374 else
13375
13376 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13377
13378 fi
13379
13380
13381 eval "$wx_cv_use_splitter"
13382
13383 if test x"$enablestring" = xdisable; then
13384 if test $wxUSE_SPLITTER = no; then
13385 result=yes
13386 else
13387 result=no
13388 fi
13389 else
13390 result=$wxUSE_SPLITTER
13391 fi
13392
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13394 $as_echo "$result" >&6; }
13395
13396
13397 enablestring=
13398 defaultval=$wxUSE_ALL_FEATURES
13399 if test -z "$defaultval"; then
13400 if test x"$enablestring" = xdisable; then
13401 defaultval=yes
13402 else
13403 defaultval=no
13404 fi
13405 fi
13406
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13408 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13409 # Check whether --enable-statbmp was given.
13410 if test "${enable_statbmp+set}" = set; then :
13411 enableval=$enable_statbmp;
13412 if test "$enableval" = yes; then
13413 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13414 else
13415 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13416 fi
13417
13418 else
13419
13420 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13421
13422 fi
13423
13424
13425 eval "$wx_cv_use_statbmp"
13426
13427 if test x"$enablestring" = xdisable; then
13428 if test $wxUSE_STATBMP = no; then
13429 result=yes
13430 else
13431 result=no
13432 fi
13433 else
13434 result=$wxUSE_STATBMP
13435 fi
13436
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13438 $as_echo "$result" >&6; }
13439
13440
13441 enablestring=
13442 defaultval=$wxUSE_ALL_FEATURES
13443 if test -z "$defaultval"; then
13444 if test x"$enablestring" = xdisable; then
13445 defaultval=yes
13446 else
13447 defaultval=no
13448 fi
13449 fi
13450
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13452 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13453 # Check whether --enable-statbox was given.
13454 if test "${enable_statbox+set}" = set; then :
13455 enableval=$enable_statbox;
13456 if test "$enableval" = yes; then
13457 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13458 else
13459 wx_cv_use_statbox='wxUSE_STATBOX=no'
13460 fi
13461
13462 else
13463
13464 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13465
13466 fi
13467
13468
13469 eval "$wx_cv_use_statbox"
13470
13471 if test x"$enablestring" = xdisable; then
13472 if test $wxUSE_STATBOX = no; then
13473 result=yes
13474 else
13475 result=no
13476 fi
13477 else
13478 result=$wxUSE_STATBOX
13479 fi
13480
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13482 $as_echo "$result" >&6; }
13483
13484
13485 enablestring=
13486 defaultval=$wxUSE_ALL_FEATURES
13487 if test -z "$defaultval"; then
13488 if test x"$enablestring" = xdisable; then
13489 defaultval=yes
13490 else
13491 defaultval=no
13492 fi
13493 fi
13494
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13496 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13497 # Check whether --enable-statline was given.
13498 if test "${enable_statline+set}" = set; then :
13499 enableval=$enable_statline;
13500 if test "$enableval" = yes; then
13501 wx_cv_use_statline='wxUSE_STATLINE=yes'
13502 else
13503 wx_cv_use_statline='wxUSE_STATLINE=no'
13504 fi
13505
13506 else
13507
13508 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13509
13510 fi
13511
13512
13513 eval "$wx_cv_use_statline"
13514
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_STATLINE = no; then
13517 result=yes
13518 else
13519 result=no
13520 fi
13521 else
13522 result=$wxUSE_STATLINE
13523 fi
13524
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13526 $as_echo "$result" >&6; }
13527
13528
13529 enablestring=
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13533 defaultval=yes
13534 else
13535 defaultval=no
13536 fi
13537 fi
13538
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13540 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13541 # Check whether --enable-stattext was given.
13542 if test "${enable_stattext+set}" = set; then :
13543 enableval=$enable_stattext;
13544 if test "$enableval" = yes; then
13545 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13546 else
13547 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13548 fi
13549
13550 else
13551
13552 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13553
13554 fi
13555
13556
13557 eval "$wx_cv_use_stattext"
13558
13559 if test x"$enablestring" = xdisable; then
13560 if test $wxUSE_STATTEXT = no; then
13561 result=yes
13562 else
13563 result=no
13564 fi
13565 else
13566 result=$wxUSE_STATTEXT
13567 fi
13568
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13570 $as_echo "$result" >&6; }
13571
13572
13573 enablestring=
13574 defaultval=$wxUSE_ALL_FEATURES
13575 if test -z "$defaultval"; then
13576 if test x"$enablestring" = xdisable; then
13577 defaultval=yes
13578 else
13579 defaultval=no
13580 fi
13581 fi
13582
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13584 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13585 # Check whether --enable-statusbar was given.
13586 if test "${enable_statusbar+set}" = set; then :
13587 enableval=$enable_statusbar;
13588 if test "$enableval" = yes; then
13589 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13590 else
13591 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13592 fi
13593
13594 else
13595
13596 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13597
13598 fi
13599
13600
13601 eval "$wx_cv_use_statusbar"
13602
13603 if test x"$enablestring" = xdisable; then
13604 if test $wxUSE_STATUSBAR = no; then
13605 result=yes
13606 else
13607 result=no
13608 fi
13609 else
13610 result=$wxUSE_STATUSBAR
13611 fi
13612
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13614 $as_echo "$result" >&6; }
13615
13616
13617 enablestring=
13618 defaultval=$wxUSE_ALL_FEATURES
13619 if test -z "$defaultval"; then
13620 if test x"$enablestring" = xdisable; then
13621 defaultval=yes
13622 else
13623 defaultval=no
13624 fi
13625 fi
13626
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13628 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13629 # Check whether --enable-taskbaricon was given.
13630 if test "${enable_taskbaricon+set}" = set; then :
13631 enableval=$enable_taskbaricon;
13632 if test "$enableval" = yes; then
13633 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13634 else
13635 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13636 fi
13637
13638 else
13639
13640 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13641
13642 fi
13643
13644
13645 eval "$wx_cv_use_taskbaricon"
13646
13647 if test x"$enablestring" = xdisable; then
13648 if test $wxUSE_TASKBARICON = no; then
13649 result=yes
13650 else
13651 result=no
13652 fi
13653 else
13654 result=$wxUSE_TASKBARICON
13655 fi
13656
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13658 $as_echo "$result" >&6; }
13659
13660
13661 enablestring=
13662 defaultval=$wxUSE_ALL_FEATURES
13663 if test -z "$defaultval"; then
13664 if test x"$enablestring" = xdisable; then
13665 defaultval=yes
13666 else
13667 defaultval=no
13668 fi
13669 fi
13670
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13672 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13673 # Check whether --enable-tbarnative was given.
13674 if test "${enable_tbarnative+set}" = set; then :
13675 enableval=$enable_tbarnative;
13676 if test "$enableval" = yes; then
13677 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13678 else
13679 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13680 fi
13681
13682 else
13683
13684 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13685
13686 fi
13687
13688
13689 eval "$wx_cv_use_tbarnative"
13690
13691 if test x"$enablestring" = xdisable; then
13692 if test $wxUSE_TOOLBAR_NATIVE = no; then
13693 result=yes
13694 else
13695 result=no
13696 fi
13697 else
13698 result=$wxUSE_TOOLBAR_NATIVE
13699 fi
13700
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13702 $as_echo "$result" >&6; }
13703
13704
13705 enablestring=
13706 defaultval=$wxUSE_ALL_FEATURES
13707 if test -z "$defaultval"; then
13708 if test x"$enablestring" = xdisable; then
13709 defaultval=yes
13710 else
13711 defaultval=no
13712 fi
13713 fi
13714
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13716 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13717 # Check whether --enable-textctrl was given.
13718 if test "${enable_textctrl+set}" = set; then :
13719 enableval=$enable_textctrl;
13720 if test "$enableval" = yes; then
13721 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13722 else
13723 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13724 fi
13725
13726 else
13727
13728 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13729
13730 fi
13731
13732
13733 eval "$wx_cv_use_textctrl"
13734
13735 if test x"$enablestring" = xdisable; then
13736 if test $wxUSE_TEXTCTRL = no; then
13737 result=yes
13738 else
13739 result=no
13740 fi
13741 else
13742 result=$wxUSE_TEXTCTRL
13743 fi
13744
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13746 $as_echo "$result" >&6; }
13747
13748
13749 enablestring=
13750 defaultval=$wxUSE_ALL_FEATURES
13751 if test -z "$defaultval"; then
13752 if test x"$enablestring" = xdisable; then
13753 defaultval=yes
13754 else
13755 defaultval=no
13756 fi
13757 fi
13758
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13760 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13761 # Check whether --enable-datepick was given.
13762 if test "${enable_datepick+set}" = set; then :
13763 enableval=$enable_datepick;
13764 if test "$enableval" = yes; then
13765 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13766 else
13767 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13768 fi
13769
13770 else
13771
13772 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13773
13774 fi
13775
13776
13777 eval "$wx_cv_use_datepick"
13778
13779 if test x"$enablestring" = xdisable; then
13780 if test $wxUSE_TIMEPICKCTRL = no; then
13781 result=yes
13782 else
13783 result=no
13784 fi
13785 else
13786 result=$wxUSE_TIMEPICKCTRL
13787 fi
13788
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13790 $as_echo "$result" >&6; }
13791
13792
13793 enablestring=
13794 defaultval=$wxUSE_ALL_FEATURES
13795 if test -z "$defaultval"; then
13796 if test x"$enablestring" = xdisable; then
13797 defaultval=yes
13798 else
13799 defaultval=no
13800 fi
13801 fi
13802
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13804 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13805 # Check whether --enable-tipwindow was given.
13806 if test "${enable_tipwindow+set}" = set; then :
13807 enableval=$enable_tipwindow;
13808 if test "$enableval" = yes; then
13809 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13810 else
13811 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13812 fi
13813
13814 else
13815
13816 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13817
13818 fi
13819
13820
13821 eval "$wx_cv_use_tipwindow"
13822
13823 if test x"$enablestring" = xdisable; then
13824 if test $wxUSE_TIPWINDOW = no; then
13825 result=yes
13826 else
13827 result=no
13828 fi
13829 else
13830 result=$wxUSE_TIPWINDOW
13831 fi
13832
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13834 $as_echo "$result" >&6; }
13835
13836
13837 enablestring=
13838 defaultval=$wxUSE_ALL_FEATURES
13839 if test -z "$defaultval"; then
13840 if test x"$enablestring" = xdisable; then
13841 defaultval=yes
13842 else
13843 defaultval=no
13844 fi
13845 fi
13846
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13848 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13849 # Check whether --enable-togglebtn was given.
13850 if test "${enable_togglebtn+set}" = set; then :
13851 enableval=$enable_togglebtn;
13852 if test "$enableval" = yes; then
13853 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13854 else
13855 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13856 fi
13857
13858 else
13859
13860 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13861
13862 fi
13863
13864
13865 eval "$wx_cv_use_togglebtn"
13866
13867 if test x"$enablestring" = xdisable; then
13868 if test $wxUSE_TOGGLEBTN = no; then
13869 result=yes
13870 else
13871 result=no
13872 fi
13873 else
13874 result=$wxUSE_TOGGLEBTN
13875 fi
13876
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13878 $as_echo "$result" >&6; }
13879
13880
13881 enablestring=
13882 defaultval=$wxUSE_ALL_FEATURES
13883 if test -z "$defaultval"; then
13884 if test x"$enablestring" = xdisable; then
13885 defaultval=yes
13886 else
13887 defaultval=no
13888 fi
13889 fi
13890
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13892 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13893 # Check whether --enable-toolbar was given.
13894 if test "${enable_toolbar+set}" = set; then :
13895 enableval=$enable_toolbar;
13896 if test "$enableval" = yes; then
13897 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13898 else
13899 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13900 fi
13901
13902 else
13903
13904 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13905
13906 fi
13907
13908
13909 eval "$wx_cv_use_toolbar"
13910
13911 if test x"$enablestring" = xdisable; then
13912 if test $wxUSE_TOOLBAR = no; then
13913 result=yes
13914 else
13915 result=no
13916 fi
13917 else
13918 result=$wxUSE_TOOLBAR
13919 fi
13920
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13922 $as_echo "$result" >&6; }
13923
13924
13925 enablestring=
13926 defaultval=$wxUSE_ALL_FEATURES
13927 if test -z "$defaultval"; then
13928 if test x"$enablestring" = xdisable; then
13929 defaultval=yes
13930 else
13931 defaultval=no
13932 fi
13933 fi
13934
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13936 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13937 # Check whether --enable-toolbook was given.
13938 if test "${enable_toolbook+set}" = set; then :
13939 enableval=$enable_toolbook;
13940 if test "$enableval" = yes; then
13941 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13942 else
13943 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13944 fi
13945
13946 else
13947
13948 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13949
13950 fi
13951
13952
13953 eval "$wx_cv_use_toolbook"
13954
13955 if test x"$enablestring" = xdisable; then
13956 if test $wxUSE_TOOLBOOK = no; then
13957 result=yes
13958 else
13959 result=no
13960 fi
13961 else
13962 result=$wxUSE_TOOLBOOK
13963 fi
13964
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13966 $as_echo "$result" >&6; }
13967
13968
13969 enablestring=
13970 defaultval=$wxUSE_ALL_FEATURES
13971 if test -z "$defaultval"; then
13972 if test x"$enablestring" = xdisable; then
13973 defaultval=yes
13974 else
13975 defaultval=no
13976 fi
13977 fi
13978
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13980 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13981 # Check whether --enable-treebook was given.
13982 if test "${enable_treebook+set}" = set; then :
13983 enableval=$enable_treebook;
13984 if test "$enableval" = yes; then
13985 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13986 else
13987 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13988 fi
13989
13990 else
13991
13992 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13993
13994 fi
13995
13996
13997 eval "$wx_cv_use_treebook"
13998
13999 if test x"$enablestring" = xdisable; then
14000 if test $wxUSE_TREEBOOK = no; then
14001 result=yes
14002 else
14003 result=no
14004 fi
14005 else
14006 result=$wxUSE_TREEBOOK
14007 fi
14008
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14010 $as_echo "$result" >&6; }
14011
14012
14013 enablestring=
14014 defaultval=$wxUSE_ALL_FEATURES
14015 if test -z "$defaultval"; then
14016 if test x"$enablestring" = xdisable; then
14017 defaultval=yes
14018 else
14019 defaultval=no
14020 fi
14021 fi
14022
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14024 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14025 # Check whether --enable-treectrl was given.
14026 if test "${enable_treectrl+set}" = set; then :
14027 enableval=$enable_treectrl;
14028 if test "$enableval" = yes; then
14029 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14030 else
14031 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14032 fi
14033
14034 else
14035
14036 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14037
14038 fi
14039
14040
14041 eval "$wx_cv_use_treectrl"
14042
14043 if test x"$enablestring" = xdisable; then
14044 if test $wxUSE_TREECTRL = no; then
14045 result=yes
14046 else
14047 result=no
14048 fi
14049 else
14050 result=$wxUSE_TREECTRL
14051 fi
14052
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14054 $as_echo "$result" >&6; }
14055
14056
14057 enablestring=
14058 defaultval=$wxUSE_ALL_FEATURES
14059 if test -z "$defaultval"; then
14060 if test x"$enablestring" = xdisable; then
14061 defaultval=yes
14062 else
14063 defaultval=no
14064 fi
14065 fi
14066
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14068 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14069 # Check whether --enable-treelist was given.
14070 if test "${enable_treelist+set}" = set; then :
14071 enableval=$enable_treelist;
14072 if test "$enableval" = yes; then
14073 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14074 else
14075 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14076 fi
14077
14078 else
14079
14080 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14081
14082 fi
14083
14084
14085 eval "$wx_cv_use_treelist"
14086
14087 if test x"$enablestring" = xdisable; then
14088 if test $wxUSE_TREELISTCTRL = no; then
14089 result=yes
14090 else
14091 result=no
14092 fi
14093 else
14094 result=$wxUSE_TREELISTCTRL
14095 fi
14096
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14098 $as_echo "$result" >&6; }
14099
14100
14101
14102
14103 enablestring=
14104 defaultval=$wxUSE_ALL_FEATURES
14105 if test -z "$defaultval"; then
14106 if test x"$enablestring" = xdisable; then
14107 defaultval=yes
14108 else
14109 defaultval=no
14110 fi
14111 fi
14112
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14114 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14115 # Check whether --enable-commondlg was given.
14116 if test "${enable_commondlg+set}" = set; then :
14117 enableval=$enable_commondlg;
14118 if test "$enableval" = yes; then
14119 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14120 else
14121 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14122 fi
14123
14124 else
14125
14126 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14127
14128 fi
14129
14130
14131 eval "$wx_cv_use_commondlg"
14132
14133 if test x"$enablestring" = xdisable; then
14134 if test $wxUSE_COMMONDLGS = no; then
14135 result=yes
14136 else
14137 result=no
14138 fi
14139 else
14140 result=$wxUSE_COMMONDLGS
14141 fi
14142
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14144 $as_echo "$result" >&6; }
14145
14146
14147 enablestring=
14148 defaultval=$wxUSE_ALL_FEATURES
14149 if test -z "$defaultval"; then
14150 if test x"$enablestring" = xdisable; then
14151 defaultval=yes
14152 else
14153 defaultval=no
14154 fi
14155 fi
14156
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14158 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14159 # Check whether --enable-aboutdlg was given.
14160 if test "${enable_aboutdlg+set}" = set; then :
14161 enableval=$enable_aboutdlg;
14162 if test "$enableval" = yes; then
14163 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14164 else
14165 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14166 fi
14167
14168 else
14169
14170 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14171
14172 fi
14173
14174
14175 eval "$wx_cv_use_aboutdlg"
14176
14177 if test x"$enablestring" = xdisable; then
14178 if test $wxUSE_ABOUTDLG = no; then
14179 result=yes
14180 else
14181 result=no
14182 fi
14183 else
14184 result=$wxUSE_ABOUTDLG
14185 fi
14186
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14188 $as_echo "$result" >&6; }
14189
14190
14191 enablestring=
14192 defaultval=$wxUSE_ALL_FEATURES
14193 if test -z "$defaultval"; then
14194 if test x"$enablestring" = xdisable; then
14195 defaultval=yes
14196 else
14197 defaultval=no
14198 fi
14199 fi
14200
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14202 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14203 # Check whether --enable-choicedlg was given.
14204 if test "${enable_choicedlg+set}" = set; then :
14205 enableval=$enable_choicedlg;
14206 if test "$enableval" = yes; then
14207 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14208 else
14209 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14210 fi
14211
14212 else
14213
14214 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14215
14216 fi
14217
14218
14219 eval "$wx_cv_use_choicedlg"
14220
14221 if test x"$enablestring" = xdisable; then
14222 if test $wxUSE_CHOICEDLG = no; then
14223 result=yes
14224 else
14225 result=no
14226 fi
14227 else
14228 result=$wxUSE_CHOICEDLG
14229 fi
14230
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14232 $as_echo "$result" >&6; }
14233
14234
14235 enablestring=
14236 defaultval=$wxUSE_ALL_FEATURES
14237 if test -z "$defaultval"; then
14238 if test x"$enablestring" = xdisable; then
14239 defaultval=yes
14240 else
14241 defaultval=no
14242 fi
14243 fi
14244
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14246 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14247 # Check whether --enable-coldlg was given.
14248 if test "${enable_coldlg+set}" = set; then :
14249 enableval=$enable_coldlg;
14250 if test "$enableval" = yes; then
14251 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14252 else
14253 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14254 fi
14255
14256 else
14257
14258 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14259
14260 fi
14261
14262
14263 eval "$wx_cv_use_coldlg"
14264
14265 if test x"$enablestring" = xdisable; then
14266 if test $wxUSE_COLOURDLG = no; then
14267 result=yes
14268 else
14269 result=no
14270 fi
14271 else
14272 result=$wxUSE_COLOURDLG
14273 fi
14274
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14276 $as_echo "$result" >&6; }
14277
14278
14279 enablestring=
14280 defaultval=$wxUSE_ALL_FEATURES
14281 if test -z "$defaultval"; then
14282 if test x"$enablestring" = xdisable; then
14283 defaultval=yes
14284 else
14285 defaultval=no
14286 fi
14287 fi
14288
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14290 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14291 # Check whether --enable-filedlg was given.
14292 if test "${enable_filedlg+set}" = set; then :
14293 enableval=$enable_filedlg;
14294 if test "$enableval" = yes; then
14295 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14296 else
14297 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14298 fi
14299
14300 else
14301
14302 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14303
14304 fi
14305
14306
14307 eval "$wx_cv_use_filedlg"
14308
14309 if test x"$enablestring" = xdisable; then
14310 if test $wxUSE_FILEDLG = no; then
14311 result=yes
14312 else
14313 result=no
14314 fi
14315 else
14316 result=$wxUSE_FILEDLG
14317 fi
14318
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14320 $as_echo "$result" >&6; }
14321
14322
14323 enablestring=
14324 defaultval=$wxUSE_ALL_FEATURES
14325 if test -z "$defaultval"; then
14326 if test x"$enablestring" = xdisable; then
14327 defaultval=yes
14328 else
14329 defaultval=no
14330 fi
14331 fi
14332
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14334 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14335 # Check whether --enable-finddlg was given.
14336 if test "${enable_finddlg+set}" = set; then :
14337 enableval=$enable_finddlg;
14338 if test "$enableval" = yes; then
14339 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14340 else
14341 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14342 fi
14343
14344 else
14345
14346 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14347
14348 fi
14349
14350
14351 eval "$wx_cv_use_finddlg"
14352
14353 if test x"$enablestring" = xdisable; then
14354 if test $wxUSE_FINDREPLDLG = no; then
14355 result=yes
14356 else
14357 result=no
14358 fi
14359 else
14360 result=$wxUSE_FINDREPLDLG
14361 fi
14362
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14364 $as_echo "$result" >&6; }
14365
14366
14367 enablestring=
14368 defaultval=$wxUSE_ALL_FEATURES
14369 if test -z "$defaultval"; then
14370 if test x"$enablestring" = xdisable; then
14371 defaultval=yes
14372 else
14373 defaultval=no
14374 fi
14375 fi
14376
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14378 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14379 # Check whether --enable-fontdlg was given.
14380 if test "${enable_fontdlg+set}" = set; then :
14381 enableval=$enable_fontdlg;
14382 if test "$enableval" = yes; then
14383 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14384 else
14385 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14386 fi
14387
14388 else
14389
14390 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14391
14392 fi
14393
14394
14395 eval "$wx_cv_use_fontdlg"
14396
14397 if test x"$enablestring" = xdisable; then
14398 if test $wxUSE_FONTDLG = no; then
14399 result=yes
14400 else
14401 result=no
14402 fi
14403 else
14404 result=$wxUSE_FONTDLG
14405 fi
14406
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14408 $as_echo "$result" >&6; }
14409
14410
14411 enablestring=
14412 defaultval=$wxUSE_ALL_FEATURES
14413 if test -z "$defaultval"; then
14414 if test x"$enablestring" = xdisable; then
14415 defaultval=yes
14416 else
14417 defaultval=no
14418 fi
14419 fi
14420
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14422 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14423 # Check whether --enable-dirdlg was given.
14424 if test "${enable_dirdlg+set}" = set; then :
14425 enableval=$enable_dirdlg;
14426 if test "$enableval" = yes; then
14427 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14428 else
14429 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14430 fi
14431
14432 else
14433
14434 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14435
14436 fi
14437
14438
14439 eval "$wx_cv_use_dirdlg"
14440
14441 if test x"$enablestring" = xdisable; then
14442 if test $wxUSE_DIRDLG = no; then
14443 result=yes
14444 else
14445 result=no
14446 fi
14447 else
14448 result=$wxUSE_DIRDLG
14449 fi
14450
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14452 $as_echo "$result" >&6; }
14453
14454
14455 enablestring=
14456 defaultval=$wxUSE_ALL_FEATURES
14457 if test -z "$defaultval"; then
14458 if test x"$enablestring" = xdisable; then
14459 defaultval=yes
14460 else
14461 defaultval=no
14462 fi
14463 fi
14464
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14466 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14467 # Check whether --enable-msgdlg was given.
14468 if test "${enable_msgdlg+set}" = set; then :
14469 enableval=$enable_msgdlg;
14470 if test "$enableval" = yes; then
14471 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14472 else
14473 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14474 fi
14475
14476 else
14477
14478 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14479
14480 fi
14481
14482
14483 eval "$wx_cv_use_msgdlg"
14484
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_MSGDLG = no; then
14487 result=yes
14488 else
14489 result=no
14490 fi
14491 else
14492 result=$wxUSE_MSGDLG
14493 fi
14494
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14496 $as_echo "$result" >&6; }
14497
14498
14499 enablestring=
14500 defaultval=$wxUSE_ALL_FEATURES
14501 if test -z "$defaultval"; then
14502 if test x"$enablestring" = xdisable; then
14503 defaultval=yes
14504 else
14505 defaultval=no
14506 fi
14507 fi
14508
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14510 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14511 # Check whether --enable-numberdlg was given.
14512 if test "${enable_numberdlg+set}" = set; then :
14513 enableval=$enable_numberdlg;
14514 if test "$enableval" = yes; then
14515 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14516 else
14517 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14518 fi
14519
14520 else
14521
14522 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14523
14524 fi
14525
14526
14527 eval "$wx_cv_use_numberdlg"
14528
14529 if test x"$enablestring" = xdisable; then
14530 if test $wxUSE_NUMBERDLG = no; then
14531 result=yes
14532 else
14533 result=no
14534 fi
14535 else
14536 result=$wxUSE_NUMBERDLG
14537 fi
14538
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14540 $as_echo "$result" >&6; }
14541
14542
14543 enablestring=
14544 defaultval=$wxUSE_ALL_FEATURES
14545 if test -z "$defaultval"; then
14546 if test x"$enablestring" = xdisable; then
14547 defaultval=yes
14548 else
14549 defaultval=no
14550 fi
14551 fi
14552
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14554 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14555 # Check whether --enable-splash was given.
14556 if test "${enable_splash+set}" = set; then :
14557 enableval=$enable_splash;
14558 if test "$enableval" = yes; then
14559 wx_cv_use_splash='wxUSE_SPLASH=yes'
14560 else
14561 wx_cv_use_splash='wxUSE_SPLASH=no'
14562 fi
14563
14564 else
14565
14566 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14567
14568 fi
14569
14570
14571 eval "$wx_cv_use_splash"
14572
14573 if test x"$enablestring" = xdisable; then
14574 if test $wxUSE_SPLASH = no; then
14575 result=yes
14576 else
14577 result=no
14578 fi
14579 else
14580 result=$wxUSE_SPLASH
14581 fi
14582
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14584 $as_echo "$result" >&6; }
14585
14586
14587 enablestring=
14588 defaultval=$wxUSE_ALL_FEATURES
14589 if test -z "$defaultval"; then
14590 if test x"$enablestring" = xdisable; then
14591 defaultval=yes
14592 else
14593 defaultval=no
14594 fi
14595 fi
14596
14597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14598 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14599 # Check whether --enable-textdlg was given.
14600 if test "${enable_textdlg+set}" = set; then :
14601 enableval=$enable_textdlg;
14602 if test "$enableval" = yes; then
14603 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14604 else
14605 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14606 fi
14607
14608 else
14609
14610 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14611
14612 fi
14613
14614
14615 eval "$wx_cv_use_textdlg"
14616
14617 if test x"$enablestring" = xdisable; then
14618 if test $wxUSE_TEXTDLG = no; then
14619 result=yes
14620 else
14621 result=no
14622 fi
14623 else
14624 result=$wxUSE_TEXTDLG
14625 fi
14626
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14628 $as_echo "$result" >&6; }
14629
14630
14631 enablestring=
14632 defaultval=$wxUSE_ALL_FEATURES
14633 if test -z "$defaultval"; then
14634 if test x"$enablestring" = xdisable; then
14635 defaultval=yes
14636 else
14637 defaultval=no
14638 fi
14639 fi
14640
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14642 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14643 # Check whether --enable-tipdlg was given.
14644 if test "${enable_tipdlg+set}" = set; then :
14645 enableval=$enable_tipdlg;
14646 if test "$enableval" = yes; then
14647 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14648 else
14649 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14650 fi
14651
14652 else
14653
14654 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14655
14656 fi
14657
14658
14659 eval "$wx_cv_use_tipdlg"
14660
14661 if test x"$enablestring" = xdisable; then
14662 if test $wxUSE_STARTUP_TIPS = no; then
14663 result=yes
14664 else
14665 result=no
14666 fi
14667 else
14668 result=$wxUSE_STARTUP_TIPS
14669 fi
14670
14671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14672 $as_echo "$result" >&6; }
14673
14674
14675 enablestring=
14676 defaultval=$wxUSE_ALL_FEATURES
14677 if test -z "$defaultval"; then
14678 if test x"$enablestring" = xdisable; then
14679 defaultval=yes
14680 else
14681 defaultval=no
14682 fi
14683 fi
14684
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14686 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14687 # Check whether --enable-progressdlg was given.
14688 if test "${enable_progressdlg+set}" = set; then :
14689 enableval=$enable_progressdlg;
14690 if test "$enableval" = yes; then
14691 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14692 else
14693 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14694 fi
14695
14696 else
14697
14698 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14699
14700 fi
14701
14702
14703 eval "$wx_cv_use_progressdlg"
14704
14705 if test x"$enablestring" = xdisable; then
14706 if test $wxUSE_PROGRESSDLG = no; then
14707 result=yes
14708 else
14709 result=no
14710 fi
14711 else
14712 result=$wxUSE_PROGRESSDLG
14713 fi
14714
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14716 $as_echo "$result" >&6; }
14717
14718
14719 enablestring=
14720 defaultval=$wxUSE_ALL_FEATURES
14721 if test -z "$defaultval"; then
14722 if test x"$enablestring" = xdisable; then
14723 defaultval=yes
14724 else
14725 defaultval=no
14726 fi
14727 fi
14728
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14730 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14731 # Check whether --enable-wizarddlg was given.
14732 if test "${enable_wizarddlg+set}" = set; then :
14733 enableval=$enable_wizarddlg;
14734 if test "$enableval" = yes; then
14735 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14736 else
14737 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14738 fi
14739
14740 else
14741
14742 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14743
14744 fi
14745
14746
14747 eval "$wx_cv_use_wizarddlg"
14748
14749 if test x"$enablestring" = xdisable; then
14750 if test $wxUSE_WIZARDDLG = no; then
14751 result=yes
14752 else
14753 result=no
14754 fi
14755 else
14756 result=$wxUSE_WIZARDDLG
14757 fi
14758
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14760 $as_echo "$result" >&6; }
14761
14762
14763
14764
14765 enablestring=
14766 defaultval=$wxUSE_ALL_FEATURES
14767 if test -z "$defaultval"; then
14768 if test x"$enablestring" = xdisable; then
14769 defaultval=yes
14770 else
14771 defaultval=no
14772 fi
14773 fi
14774
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14776 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14777 # Check whether --enable-menus was given.
14778 if test "${enable_menus+set}" = set; then :
14779 enableval=$enable_menus;
14780 if test "$enableval" = yes; then
14781 wx_cv_use_menus='wxUSE_MENUS=yes'
14782 else
14783 wx_cv_use_menus='wxUSE_MENUS=no'
14784 fi
14785
14786 else
14787
14788 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14789
14790 fi
14791
14792
14793 eval "$wx_cv_use_menus"
14794
14795 if test x"$enablestring" = xdisable; then
14796 if test $wxUSE_MENUS = no; then
14797 result=yes
14798 else
14799 result=no
14800 fi
14801 else
14802 result=$wxUSE_MENUS
14803 fi
14804
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14806 $as_echo "$result" >&6; }
14807
14808
14809 enablestring=
14810 defaultval=$wxUSE_ALL_FEATURES
14811 if test -z "$defaultval"; then
14812 if test x"$enablestring" = xdisable; then
14813 defaultval=yes
14814 else
14815 defaultval=no
14816 fi
14817 fi
14818
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14820 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14821 # Check whether --enable-miniframe was given.
14822 if test "${enable_miniframe+set}" = set; then :
14823 enableval=$enable_miniframe;
14824 if test "$enableval" = yes; then
14825 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14826 else
14827 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14828 fi
14829
14830 else
14831
14832 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14833
14834 fi
14835
14836
14837 eval "$wx_cv_use_miniframe"
14838
14839 if test x"$enablestring" = xdisable; then
14840 if test $wxUSE_MINIFRAME = no; then
14841 result=yes
14842 else
14843 result=no
14844 fi
14845 else
14846 result=$wxUSE_MINIFRAME
14847 fi
14848
14849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14850 $as_echo "$result" >&6; }
14851
14852
14853 enablestring=
14854 defaultval=$wxUSE_ALL_FEATURES
14855 if test -z "$defaultval"; then
14856 if test x"$enablestring" = xdisable; then
14857 defaultval=yes
14858 else
14859 defaultval=no
14860 fi
14861 fi
14862
14863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14864 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14865 # Check whether --enable-tooltips was given.
14866 if test "${enable_tooltips+set}" = set; then :
14867 enableval=$enable_tooltips;
14868 if test "$enableval" = yes; then
14869 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14870 else
14871 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14872 fi
14873
14874 else
14875
14876 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14877
14878 fi
14879
14880
14881 eval "$wx_cv_use_tooltips"
14882
14883 if test x"$enablestring" = xdisable; then
14884 if test $wxUSE_TOOLTIPS = no; then
14885 result=yes
14886 else
14887 result=no
14888 fi
14889 else
14890 result=$wxUSE_TOOLTIPS
14891 fi
14892
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14894 $as_echo "$result" >&6; }
14895
14896
14897 enablestring=
14898 defaultval=$wxUSE_ALL_FEATURES
14899 if test -z "$defaultval"; then
14900 if test x"$enablestring" = xdisable; then
14901 defaultval=yes
14902 else
14903 defaultval=no
14904 fi
14905 fi
14906
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14908 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14909 # Check whether --enable-splines was given.
14910 if test "${enable_splines+set}" = set; then :
14911 enableval=$enable_splines;
14912 if test "$enableval" = yes; then
14913 wx_cv_use_splines='wxUSE_SPLINES=yes'
14914 else
14915 wx_cv_use_splines='wxUSE_SPLINES=no'
14916 fi
14917
14918 else
14919
14920 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14921
14922 fi
14923
14924
14925 eval "$wx_cv_use_splines"
14926
14927 if test x"$enablestring" = xdisable; then
14928 if test $wxUSE_SPLINES = no; then
14929 result=yes
14930 else
14931 result=no
14932 fi
14933 else
14934 result=$wxUSE_SPLINES
14935 fi
14936
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14938 $as_echo "$result" >&6; }
14939
14940
14941 enablestring=
14942 defaultval=$wxUSE_ALL_FEATURES
14943 if test -z "$defaultval"; then
14944 if test x"$enablestring" = xdisable; then
14945 defaultval=yes
14946 else
14947 defaultval=no
14948 fi
14949 fi
14950
14951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14952 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14953 # Check whether --enable-mousewheel was given.
14954 if test "${enable_mousewheel+set}" = set; then :
14955 enableval=$enable_mousewheel;
14956 if test "$enableval" = yes; then
14957 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14958 else
14959 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14960 fi
14961
14962 else
14963
14964 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14965
14966 fi
14967
14968
14969 eval "$wx_cv_use_mousewheel"
14970
14971 if test x"$enablestring" = xdisable; then
14972 if test $wxUSE_MOUSEWHEEL = no; then
14973 result=yes
14974 else
14975 result=no
14976 fi
14977 else
14978 result=$wxUSE_MOUSEWHEEL
14979 fi
14980
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14982 $as_echo "$result" >&6; }
14983
14984
14985 enablestring=
14986 defaultval=$wxUSE_ALL_FEATURES
14987 if test -z "$defaultval"; then
14988 if test x"$enablestring" = xdisable; then
14989 defaultval=yes
14990 else
14991 defaultval=no
14992 fi
14993 fi
14994
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14996 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14997 # Check whether --enable-validators was given.
14998 if test "${enable_validators+set}" = set; then :
14999 enableval=$enable_validators;
15000 if test "$enableval" = yes; then
15001 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
15002 else
15003 wx_cv_use_validators='wxUSE_VALIDATORS=no'
15004 fi
15005
15006 else
15007
15008 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15009
15010 fi
15011
15012
15013 eval "$wx_cv_use_validators"
15014
15015 if test x"$enablestring" = xdisable; then
15016 if test $wxUSE_VALIDATORS = no; then
15017 result=yes
15018 else
15019 result=no
15020 fi
15021 else
15022 result=$wxUSE_VALIDATORS
15023 fi
15024
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15026 $as_echo "$result" >&6; }
15027
15028
15029 enablestring=
15030 defaultval=$wxUSE_ALL_FEATURES
15031 if test -z "$defaultval"; then
15032 if test x"$enablestring" = xdisable; then
15033 defaultval=yes
15034 else
15035 defaultval=no
15036 fi
15037 fi
15038
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15040 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15041 # Check whether --enable-busyinfo was given.
15042 if test "${enable_busyinfo+set}" = set; then :
15043 enableval=$enable_busyinfo;
15044 if test "$enableval" = yes; then
15045 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15046 else
15047 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15048 fi
15049
15050 else
15051
15052 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15053
15054 fi
15055
15056
15057 eval "$wx_cv_use_busyinfo"
15058
15059 if test x"$enablestring" = xdisable; then
15060 if test $wxUSE_BUSYINFO = no; then
15061 result=yes
15062 else
15063 result=no
15064 fi
15065 else
15066 result=$wxUSE_BUSYINFO
15067 fi
15068
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15070 $as_echo "$result" >&6; }
15071
15072
15073 enablestring=
15074 defaultval=$wxUSE_ALL_FEATURES
15075 if test -z "$defaultval"; then
15076 if test x"$enablestring" = xdisable; then
15077 defaultval=yes
15078 else
15079 defaultval=no
15080 fi
15081 fi
15082
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15084 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15085 # Check whether --enable-hotkey was given.
15086 if test "${enable_hotkey+set}" = set; then :
15087 enableval=$enable_hotkey;
15088 if test "$enableval" = yes; then
15089 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15090 else
15091 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15092 fi
15093
15094 else
15095
15096 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15097
15098 fi
15099
15100
15101 eval "$wx_cv_use_hotkey"
15102
15103 if test x"$enablestring" = xdisable; then
15104 if test $wxUSE_HOTKEY = no; then
15105 result=yes
15106 else
15107 result=no
15108 fi
15109 else
15110 result=$wxUSE_HOTKEY
15111 fi
15112
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15114 $as_echo "$result" >&6; }
15115
15116
15117 enablestring=
15118 defaultval=$wxUSE_ALL_FEATURES
15119 if test -z "$defaultval"; then
15120 if test x"$enablestring" = xdisable; then
15121 defaultval=yes
15122 else
15123 defaultval=no
15124 fi
15125 fi
15126
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15128 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15129 # Check whether --enable-joystick was given.
15130 if test "${enable_joystick+set}" = set; then :
15131 enableval=$enable_joystick;
15132 if test "$enableval" = yes; then
15133 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15134 else
15135 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15136 fi
15137
15138 else
15139
15140 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15141
15142 fi
15143
15144
15145 eval "$wx_cv_use_joystick"
15146
15147 if test x"$enablestring" = xdisable; then
15148 if test $wxUSE_JOYSTICK = no; then
15149 result=yes
15150 else
15151 result=no
15152 fi
15153 else
15154 result=$wxUSE_JOYSTICK
15155 fi
15156
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15158 $as_echo "$result" >&6; }
15159
15160
15161 enablestring=
15162 defaultval=$wxUSE_ALL_FEATURES
15163 if test -z "$defaultval"; then
15164 if test x"$enablestring" = xdisable; then
15165 defaultval=yes
15166 else
15167 defaultval=no
15168 fi
15169 fi
15170
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15172 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15173 # Check whether --enable-metafile was given.
15174 if test "${enable_metafile+set}" = set; then :
15175 enableval=$enable_metafile;
15176 if test "$enableval" = yes; then
15177 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15178 else
15179 wx_cv_use_metafile='wxUSE_METAFILE=no'
15180 fi
15181
15182 else
15183
15184 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15185
15186 fi
15187
15188
15189 eval "$wx_cv_use_metafile"
15190
15191 if test x"$enablestring" = xdisable; then
15192 if test $wxUSE_METAFILE = no; then
15193 result=yes
15194 else
15195 result=no
15196 fi
15197 else
15198 result=$wxUSE_METAFILE
15199 fi
15200
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15202 $as_echo "$result" >&6; }
15203
15204
15205 enablestring=
15206 defaultval=$wxUSE_ALL_FEATURES
15207 if test -z "$defaultval"; then
15208 if test x"$enablestring" = xdisable; then
15209 defaultval=yes
15210 else
15211 defaultval=no
15212 fi
15213 fi
15214
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15216 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15217 # Check whether --enable-dragimage was given.
15218 if test "${enable_dragimage+set}" = set; then :
15219 enableval=$enable_dragimage;
15220 if test "$enableval" = yes; then
15221 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15222 else
15223 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15224 fi
15225
15226 else
15227
15228 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15229
15230 fi
15231
15232
15233 eval "$wx_cv_use_dragimage"
15234
15235 if test x"$enablestring" = xdisable; then
15236 if test $wxUSE_DRAGIMAGE = no; then
15237 result=yes
15238 else
15239 result=no
15240 fi
15241 else
15242 result=$wxUSE_DRAGIMAGE
15243 fi
15244
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15246 $as_echo "$result" >&6; }
15247
15248
15249 enablestring=
15250 defaultval=$wxUSE_ALL_FEATURES
15251 if test -z "$defaultval"; then
15252 if test x"$enablestring" = xdisable; then
15253 defaultval=yes
15254 else
15255 defaultval=no
15256 fi
15257 fi
15258
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15260 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15261 # Check whether --enable-accessibility was given.
15262 if test "${enable_accessibility+set}" = set; then :
15263 enableval=$enable_accessibility;
15264 if test "$enableval" = yes; then
15265 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15266 else
15267 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15268 fi
15269
15270 else
15271
15272 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15273
15274 fi
15275
15276
15277 eval "$wx_cv_use_accessibility"
15278
15279 if test x"$enablestring" = xdisable; then
15280 if test $wxUSE_ACCESSIBILITY = no; then
15281 result=yes
15282 else
15283 result=no
15284 fi
15285 else
15286 result=$wxUSE_ACCESSIBILITY
15287 fi
15288
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15290 $as_echo "$result" >&6; }
15291
15292
15293 enablestring=
15294 defaultval=$wxUSE_ALL_FEATURES
15295 if test -z "$defaultval"; then
15296 if test x"$enablestring" = xdisable; then
15297 defaultval=yes
15298 else
15299 defaultval=no
15300 fi
15301 fi
15302
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15304 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15305 # Check whether --enable-uiactionsim was given.
15306 if test "${enable_uiactionsim+set}" = set; then :
15307 enableval=$enable_uiactionsim;
15308 if test "$enableval" = yes; then
15309 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15310 else
15311 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15312 fi
15313
15314 else
15315
15316 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15317
15318 fi
15319
15320
15321 eval "$wx_cv_use_uiactionsim"
15322
15323 if test x"$enablestring" = xdisable; then
15324 if test $wxUSE_UIACTIONSIMULATOR = no; then
15325 result=yes
15326 else
15327 result=no
15328 fi
15329 else
15330 result=$wxUSE_UIACTIONSIMULATOR
15331 fi
15332
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15334 $as_echo "$result" >&6; }
15335
15336
15337 enablestring=
15338 defaultval=$wxUSE_ALL_FEATURES
15339 if test -z "$defaultval"; then
15340 if test x"$enablestring" = xdisable; then
15341 defaultval=yes
15342 else
15343 defaultval=no
15344 fi
15345 fi
15346
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15348 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15349 # Check whether --enable-dctransform was given.
15350 if test "${enable_dctransform+set}" = set; then :
15351 enableval=$enable_dctransform;
15352 if test "$enableval" = yes; then
15353 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15354 else
15355 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15356 fi
15357
15358 else
15359
15360 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15361
15362 fi
15363
15364
15365 eval "$wx_cv_use_dctransform"
15366
15367 if test x"$enablestring" = xdisable; then
15368 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15369 result=yes
15370 else
15371 result=no
15372 fi
15373 else
15374 result=$wxUSE_DC_TRANSFORM_MATRIX
15375 fi
15376
15377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15378 $as_echo "$result" >&6; }
15379
15380
15381 enablestring=
15382 defaultval=$wxUSE_ALL_FEATURES
15383 if test -z "$defaultval"; then
15384 if test x"$enablestring" = xdisable; then
15385 defaultval=yes
15386 else
15387 defaultval=no
15388 fi
15389 fi
15390
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15392 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15393 # Check whether --enable-webviewwebkit was given.
15394 if test "${enable_webviewwebkit+set}" = set; then :
15395 enableval=$enable_webviewwebkit;
15396 if test "$enableval" = yes; then
15397 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15398 else
15399 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15400 fi
15401
15402 else
15403
15404 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15405
15406 fi
15407
15408
15409 eval "$wx_cv_use_webviewwebkit"
15410
15411 if test x"$enablestring" = xdisable; then
15412 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15413 result=yes
15414 else
15415 result=no
15416 fi
15417 else
15418 result=$wxUSE_WEBVIEW_WEBKIT
15419 fi
15420
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15422 $as_echo "$result" >&6; }
15423
15424
15425
15426
15427 enablestring=
15428 defaultval=$wxUSE_ALL_FEATURES
15429 if test -z "$defaultval"; then
15430 if test x"$enablestring" = xdisable; then
15431 defaultval=yes
15432 else
15433 defaultval=no
15434 fi
15435 fi
15436
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15438 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15439 # Check whether --enable-palette was given.
15440 if test "${enable_palette+set}" = set; then :
15441 enableval=$enable_palette;
15442 if test "$enableval" = yes; then
15443 wx_cv_use_palette='wxUSE_PALETTE=yes'
15444 else
15445 wx_cv_use_palette='wxUSE_PALETTE=no'
15446 fi
15447
15448 else
15449
15450 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15451
15452 fi
15453
15454
15455 eval "$wx_cv_use_palette"
15456
15457 if test x"$enablestring" = xdisable; then
15458 if test $wxUSE_PALETTE = no; then
15459 result=yes
15460 else
15461 result=no
15462 fi
15463 else
15464 result=$wxUSE_PALETTE
15465 fi
15466
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15468 $as_echo "$result" >&6; }
15469
15470
15471 enablestring=
15472 defaultval=$wxUSE_ALL_FEATURES
15473 if test -z "$defaultval"; then
15474 if test x"$enablestring" = xdisable; then
15475 defaultval=yes
15476 else
15477 defaultval=no
15478 fi
15479 fi
15480
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15482 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15483 # Check whether --enable-image was given.
15484 if test "${enable_image+set}" = set; then :
15485 enableval=$enable_image;
15486 if test "$enableval" = yes; then
15487 wx_cv_use_image='wxUSE_IMAGE=yes'
15488 else
15489 wx_cv_use_image='wxUSE_IMAGE=no'
15490 fi
15491
15492 else
15493
15494 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15495
15496 fi
15497
15498
15499 eval "$wx_cv_use_image"
15500
15501 if test x"$enablestring" = xdisable; then
15502 if test $wxUSE_IMAGE = no; then
15503 result=yes
15504 else
15505 result=no
15506 fi
15507 else
15508 result=$wxUSE_IMAGE
15509 fi
15510
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15512 $as_echo "$result" >&6; }
15513
15514
15515 enablestring=
15516 defaultval=$wxUSE_ALL_FEATURES
15517 if test -z "$defaultval"; then
15518 if test x"$enablestring" = xdisable; then
15519 defaultval=yes
15520 else
15521 defaultval=no
15522 fi
15523 fi
15524
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15526 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15527 # Check whether --enable-gif was given.
15528 if test "${enable_gif+set}" = set; then :
15529 enableval=$enable_gif;
15530 if test "$enableval" = yes; then
15531 wx_cv_use_gif='wxUSE_GIF=yes'
15532 else
15533 wx_cv_use_gif='wxUSE_GIF=no'
15534 fi
15535
15536 else
15537
15538 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15539
15540 fi
15541
15542
15543 eval "$wx_cv_use_gif"
15544
15545 if test x"$enablestring" = xdisable; then
15546 if test $wxUSE_GIF = no; then
15547 result=yes
15548 else
15549 result=no
15550 fi
15551 else
15552 result=$wxUSE_GIF
15553 fi
15554
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15556 $as_echo "$result" >&6; }
15557
15558
15559 enablestring=
15560 defaultval=$wxUSE_ALL_FEATURES
15561 if test -z "$defaultval"; then
15562 if test x"$enablestring" = xdisable; then
15563 defaultval=yes
15564 else
15565 defaultval=no
15566 fi
15567 fi
15568
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15570 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15571 # Check whether --enable-pcx was given.
15572 if test "${enable_pcx+set}" = set; then :
15573 enableval=$enable_pcx;
15574 if test "$enableval" = yes; then
15575 wx_cv_use_pcx='wxUSE_PCX=yes'
15576 else
15577 wx_cv_use_pcx='wxUSE_PCX=no'
15578 fi
15579
15580 else
15581
15582 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15583
15584 fi
15585
15586
15587 eval "$wx_cv_use_pcx"
15588
15589 if test x"$enablestring" = xdisable; then
15590 if test $wxUSE_PCX = no; then
15591 result=yes
15592 else
15593 result=no
15594 fi
15595 else
15596 result=$wxUSE_PCX
15597 fi
15598
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15600 $as_echo "$result" >&6; }
15601
15602
15603 enablestring=
15604 defaultval=$wxUSE_ALL_FEATURES
15605 if test -z "$defaultval"; then
15606 if test x"$enablestring" = xdisable; then
15607 defaultval=yes
15608 else
15609 defaultval=no
15610 fi
15611 fi
15612
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15614 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15615 # Check whether --enable-tga was given.
15616 if test "${enable_tga+set}" = set; then :
15617 enableval=$enable_tga;
15618 if test "$enableval" = yes; then
15619 wx_cv_use_tga='wxUSE_TGA=yes'
15620 else
15621 wx_cv_use_tga='wxUSE_TGA=no'
15622 fi
15623
15624 else
15625
15626 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15627
15628 fi
15629
15630
15631 eval "$wx_cv_use_tga"
15632
15633 if test x"$enablestring" = xdisable; then
15634 if test $wxUSE_TGA = no; then
15635 result=yes
15636 else
15637 result=no
15638 fi
15639 else
15640 result=$wxUSE_TGA
15641 fi
15642
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15644 $as_echo "$result" >&6; }
15645
15646
15647 enablestring=
15648 defaultval=$wxUSE_ALL_FEATURES
15649 if test -z "$defaultval"; then
15650 if test x"$enablestring" = xdisable; then
15651 defaultval=yes
15652 else
15653 defaultval=no
15654 fi
15655 fi
15656
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15658 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15659 # Check whether --enable-iff was given.
15660 if test "${enable_iff+set}" = set; then :
15661 enableval=$enable_iff;
15662 if test "$enableval" = yes; then
15663 wx_cv_use_iff='wxUSE_IFF=yes'
15664 else
15665 wx_cv_use_iff='wxUSE_IFF=no'
15666 fi
15667
15668 else
15669
15670 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15671
15672 fi
15673
15674
15675 eval "$wx_cv_use_iff"
15676
15677 if test x"$enablestring" = xdisable; then
15678 if test $wxUSE_IFF = no; then
15679 result=yes
15680 else
15681 result=no
15682 fi
15683 else
15684 result=$wxUSE_IFF
15685 fi
15686
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15688 $as_echo "$result" >&6; }
15689
15690
15691 enablestring=
15692 defaultval=$wxUSE_ALL_FEATURES
15693 if test -z "$defaultval"; then
15694 if test x"$enablestring" = xdisable; then
15695 defaultval=yes
15696 else
15697 defaultval=no
15698 fi
15699 fi
15700
15701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15702 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15703 # Check whether --enable-pnm was given.
15704 if test "${enable_pnm+set}" = set; then :
15705 enableval=$enable_pnm;
15706 if test "$enableval" = yes; then
15707 wx_cv_use_pnm='wxUSE_PNM=yes'
15708 else
15709 wx_cv_use_pnm='wxUSE_PNM=no'
15710 fi
15711
15712 else
15713
15714 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15715
15716 fi
15717
15718
15719 eval "$wx_cv_use_pnm"
15720
15721 if test x"$enablestring" = xdisable; then
15722 if test $wxUSE_PNM = no; then
15723 result=yes
15724 else
15725 result=no
15726 fi
15727 else
15728 result=$wxUSE_PNM
15729 fi
15730
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15732 $as_echo "$result" >&6; }
15733
15734
15735 enablestring=
15736 defaultval=$wxUSE_ALL_FEATURES
15737 if test -z "$defaultval"; then
15738 if test x"$enablestring" = xdisable; then
15739 defaultval=yes
15740 else
15741 defaultval=no
15742 fi
15743 fi
15744
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15746 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15747 # Check whether --enable-xpm was given.
15748 if test "${enable_xpm+set}" = set; then :
15749 enableval=$enable_xpm;
15750 if test "$enableval" = yes; then
15751 wx_cv_use_xpm='wxUSE_XPM=yes'
15752 else
15753 wx_cv_use_xpm='wxUSE_XPM=no'
15754 fi
15755
15756 else
15757
15758 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15759
15760 fi
15761
15762
15763 eval "$wx_cv_use_xpm"
15764
15765 if test x"$enablestring" = xdisable; then
15766 if test $wxUSE_XPM = no; then
15767 result=yes
15768 else
15769 result=no
15770 fi
15771 else
15772 result=$wxUSE_XPM
15773 fi
15774
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15776 $as_echo "$result" >&6; }
15777
15778
15779 enablestring=
15780 defaultval=$wxUSE_ALL_FEATURES
15781 if test -z "$defaultval"; then
15782 if test x"$enablestring" = xdisable; then
15783 defaultval=yes
15784 else
15785 defaultval=no
15786 fi
15787 fi
15788
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15790 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15791 # Check whether --enable-ico_cur was given.
15792 if test "${enable_ico_cur+set}" = set; then :
15793 enableval=$enable_ico_cur;
15794 if test "$enableval" = yes; then
15795 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15796 else
15797 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15798 fi
15799
15800 else
15801
15802 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15803
15804 fi
15805
15806
15807 eval "$wx_cv_use_ico_cur"
15808
15809 if test x"$enablestring" = xdisable; then
15810 if test $wxUSE_ICO_CUR = no; then
15811 result=yes
15812 else
15813 result=no
15814 fi
15815 else
15816 result=$wxUSE_ICO_CUR
15817 fi
15818
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15820 $as_echo "$result" >&6; }
15821
15822
15823
15824
15825 enablestring=
15826 defaultval=$wxUSE_ALL_FEATURES
15827 if test -z "$defaultval"; then
15828 if test x"$enablestring" = xdisable; then
15829 defaultval=yes
15830 else
15831 defaultval=no
15832 fi
15833 fi
15834
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15836 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15837 # Check whether --enable-dccache was given.
15838 if test "${enable_dccache+set}" = set; then :
15839 enableval=$enable_dccache;
15840 if test "$enableval" = yes; then
15841 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15842 else
15843 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15844 fi
15845
15846 else
15847
15848 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15849
15850 fi
15851
15852
15853 eval "$wx_cv_use_dccache"
15854
15855 if test x"$enablestring" = xdisable; then
15856 if test $wxUSE_DC_CACHEING = no; then
15857 result=yes
15858 else
15859 result=no
15860 fi
15861 else
15862 result=$wxUSE_DC_CACHEING
15863 fi
15864
15865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15866 $as_echo "$result" >&6; }
15867
15868
15869 enablestring=
15870 defaultval=$wxUSE_ALL_FEATURES
15871 if test -z "$defaultval"; then
15872 if test x"$enablestring" = xdisable; then
15873 defaultval=yes
15874 else
15875 defaultval=no
15876 fi
15877 fi
15878
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15880 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15881 # Check whether --enable-ps-in-msw was given.
15882 if test "${enable_ps_in_msw+set}" = set; then :
15883 enableval=$enable_ps_in_msw;
15884 if test "$enableval" = yes; then
15885 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15886 else
15887 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15888 fi
15889
15890 else
15891
15892 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15893
15894 fi
15895
15896
15897 eval "$wx_cv_use_ps_in_msw"
15898
15899 if test x"$enablestring" = xdisable; then
15900 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15901 result=yes
15902 else
15903 result=no
15904 fi
15905 else
15906 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15907 fi
15908
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15910 $as_echo "$result" >&6; }
15911
15912
15913 enablestring=
15914 defaultval=$wxUSE_ALL_FEATURES
15915 if test -z "$defaultval"; then
15916 if test x"$enablestring" = xdisable; then
15917 defaultval=yes
15918 else
15919 defaultval=no
15920 fi
15921 fi
15922
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15924 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15925 # Check whether --enable-ownerdrawn was given.
15926 if test "${enable_ownerdrawn+set}" = set; then :
15927 enableval=$enable_ownerdrawn;
15928 if test "$enableval" = yes; then
15929 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15930 else
15931 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15932 fi
15933
15934 else
15935
15936 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15937
15938 fi
15939
15940
15941 eval "$wx_cv_use_ownerdrawn"
15942
15943 if test x"$enablestring" = xdisable; then
15944 if test $wxUSE_OWNER_DRAWN = no; then
15945 result=yes
15946 else
15947 result=no
15948 fi
15949 else
15950 result=$wxUSE_OWNER_DRAWN
15951 fi
15952
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15954 $as_echo "$result" >&6; }
15955
15956
15957 enablestring=
15958 defaultval=$wxUSE_ALL_FEATURES
15959 if test -z "$defaultval"; then
15960 if test x"$enablestring" = xdisable; then
15961 defaultval=yes
15962 else
15963 defaultval=no
15964 fi
15965 fi
15966
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15968 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15969 # Check whether --enable-uxtheme was given.
15970 if test "${enable_uxtheme+set}" = set; then :
15971 enableval=$enable_uxtheme;
15972 if test "$enableval" = yes; then
15973 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15974 else
15975 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15976 fi
15977
15978 else
15979
15980 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15981
15982 fi
15983
15984
15985 eval "$wx_cv_use_uxtheme"
15986
15987 if test x"$enablestring" = xdisable; then
15988 if test $wxUSE_UXTHEME = no; then
15989 result=yes
15990 else
15991 result=no
15992 fi
15993 else
15994 result=$wxUSE_UXTHEME
15995 fi
15996
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15998 $as_echo "$result" >&6; }
15999
16000
16001 enablestring=
16002 defaultval=$wxUSE_ALL_FEATURES
16003 if test -z "$defaultval"; then
16004 if test x"$enablestring" = xdisable; then
16005 defaultval=yes
16006 else
16007 defaultval=no
16008 fi
16009 fi
16010
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
16012 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
16013 # Check whether --enable-wxdib was given.
16014 if test "${enable_wxdib+set}" = set; then :
16015 enableval=$enable_wxdib;
16016 if test "$enableval" = yes; then
16017 wx_cv_use_wxdib='wxUSE_DIB=yes'
16018 else
16019 wx_cv_use_wxdib='wxUSE_DIB=no'
16020 fi
16021
16022 else
16023
16024 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16025
16026 fi
16027
16028
16029 eval "$wx_cv_use_wxdib"
16030
16031 if test x"$enablestring" = xdisable; then
16032 if test $wxUSE_DIB = no; then
16033 result=yes
16034 else
16035 result=no
16036 fi
16037 else
16038 result=$wxUSE_DIB
16039 fi
16040
16041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16042 $as_echo "$result" >&6; }
16043
16044
16045 enablestring=
16046 defaultval=$wxUSE_ALL_FEATURES
16047 if test -z "$defaultval"; then
16048 if test x"$enablestring" = xdisable; then
16049 defaultval=yes
16050 else
16051 defaultval=no
16052 fi
16053 fi
16054
16055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16056 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16057 # Check whether --enable-webviewie was given.
16058 if test "${enable_webviewie+set}" = set; then :
16059 enableval=$enable_webviewie;
16060 if test "$enableval" = yes; then
16061 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16062 else
16063 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16064 fi
16065
16066 else
16067
16068 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16069
16070 fi
16071
16072
16073 eval "$wx_cv_use_webviewie"
16074
16075 if test x"$enablestring" = xdisable; then
16076 if test $wxUSE_WEBVIEW_IE = no; then
16077 result=yes
16078 else
16079 result=no
16080 fi
16081 else
16082 result=$wxUSE_WEBVIEW_IE
16083 fi
16084
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16086 $as_echo "$result" >&6; }
16087
16088
16089 if test "$wxUSE_MSW" != 1; then
16090 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16091 fi
16092
16093
16094 enablestring=
16095 defaultval=$wxUSE_ALL_FEATURES
16096 if test -z "$defaultval"; then
16097 if test x"$enablestring" = xdisable; then
16098 defaultval=yes
16099 else
16100 defaultval=no
16101 fi
16102 fi
16103
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16105 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16106 # Check whether --enable-autoidman was given.
16107 if test "${enable_autoidman+set}" = set; then :
16108 enableval=$enable_autoidman;
16109 if test "$enableval" = yes; then
16110 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16111 else
16112 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16113 fi
16114
16115 else
16116
16117 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16118
16119 fi
16120
16121
16122 eval "$wx_cv_use_autoidman"
16123
16124 if test x"$enablestring" = xdisable; then
16125 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16126 result=yes
16127 else
16128 result=no
16129 fi
16130 else
16131 result=$wxUSE_AUTOID_MANAGEMENT
16132 fi
16133
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16135 $as_echo "$result" >&6; }
16136
16137
16138 fi
16139
16140
16141 cat >confcache <<\_ACEOF
16142 # This file is a shell script that caches the results of configure
16143 # tests run on this system so they can be shared between configure
16144 # scripts and configure runs, see configure's option --config-cache.
16145 # It is not useful on other systems. If it contains results you don't
16146 # want to keep, you may remove or edit it.
16147 #
16148 # config.status only pays attention to the cache file if you give it
16149 # the --recheck option to rerun configure.
16150 #
16151 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16152 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16153 # following values.
16154
16155 _ACEOF
16156
16157 # The following way of writing the cache mishandles newlines in values,
16158 # but we know of no workaround that is simple, portable, and efficient.
16159 # So, we kill variables containing newlines.
16160 # Ultrix sh set writes to stderr and can't be redirected directly,
16161 # and sets the high bit in the cache file unless we assign to the vars.
16162 (
16163 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16164 eval ac_val=\$$ac_var
16165 case $ac_val in #(
16166 *${as_nl}*)
16167 case $ac_var in #(
16168 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16169 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16170 esac
16171 case $ac_var in #(
16172 _ | IFS | as_nl) ;; #(
16173 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16174 *) { eval $ac_var=; unset $ac_var;} ;;
16175 esac ;;
16176 esac
16177 done
16178
16179 (set) 2>&1 |
16180 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16181 *${as_nl}ac_space=\ *)
16182 # `set' does not quote correctly, so add quotes: double-quote
16183 # substitution turns \\\\ into \\, and sed turns \\ into \.
16184 sed -n \
16185 "s/'/'\\\\''/g;
16186 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16187 ;; #(
16188 *)
16189 # `set' quotes correctly as required by POSIX, so do not add quotes.
16190 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16191 ;;
16192 esac |
16193 sort
16194 ) |
16195 sed '
16196 /^ac_cv_env_/b end
16197 t clear
16198 :clear
16199 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16200 t end
16201 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16202 :end' >>confcache
16203 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16204 if test -w "$cache_file"; then
16205 if test "x$cache_file" != "x/dev/null"; then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16207 $as_echo "$as_me: updating cache $cache_file" >&6;}
16208 if test ! -f "$cache_file" || test -h "$cache_file"; then
16209 cat confcache >"$cache_file"
16210 else
16211 case $cache_file in #(
16212 */* | ?:*)
16213 mv -f confcache "$cache_file"$$ &&
16214 mv -f "$cache_file"$$ "$cache_file" ;; #(
16215 *)
16216 mv -f confcache "$cache_file" ;;
16217 esac
16218 fi
16219 fi
16220 else
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16222 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16223 fi
16224 fi
16225 rm -f confcache
16226
16227 CFLAGS=${CFLAGS:=}
16228 ac_ext=c
16229 ac_cpp='$CPP $CPPFLAGS'
16230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16233 if test -n "$ac_tool_prefix"; then
16234 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16235 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16237 $as_echo_n "checking for $ac_word... " >&6; }
16238 if ${ac_cv_prog_CC+:} false; then :
16239 $as_echo_n "(cached) " >&6
16240 else
16241 if test -n "$CC"; then
16242 ac_cv_prog_CC="$CC" # Let the user override the test.
16243 else
16244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16245 for as_dir in $PATH
16246 do
16247 IFS=$as_save_IFS
16248 test -z "$as_dir" && as_dir=.
16249 for ac_exec_ext in '' $ac_executable_extensions; do
16250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16251 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16253 break 2
16254 fi
16255 done
16256 done
16257 IFS=$as_save_IFS
16258
16259 fi
16260 fi
16261 CC=$ac_cv_prog_CC
16262 if test -n "$CC"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16264 $as_echo "$CC" >&6; }
16265 else
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16267 $as_echo "no" >&6; }
16268 fi
16269
16270
16271 fi
16272 if test -z "$ac_cv_prog_CC"; then
16273 ac_ct_CC=$CC
16274 # Extract the first word of "gcc", so it can be a program name with args.
16275 set dummy gcc; ac_word=$2
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16277 $as_echo_n "checking for $ac_word... " >&6; }
16278 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16279 $as_echo_n "(cached) " >&6
16280 else
16281 if test -n "$ac_ct_CC"; then
16282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16283 else
16284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16285 for as_dir in $PATH
16286 do
16287 IFS=$as_save_IFS
16288 test -z "$as_dir" && as_dir=.
16289 for ac_exec_ext in '' $ac_executable_extensions; do
16290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16291 ac_cv_prog_ac_ct_CC="gcc"
16292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16293 break 2
16294 fi
16295 done
16296 done
16297 IFS=$as_save_IFS
16298
16299 fi
16300 fi
16301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16302 if test -n "$ac_ct_CC"; then
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16304 $as_echo "$ac_ct_CC" >&6; }
16305 else
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16307 $as_echo "no" >&6; }
16308 fi
16309
16310 if test "x$ac_ct_CC" = x; then
16311 CC=""
16312 else
16313 case $cross_compiling:$ac_tool_warned in
16314 yes:)
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16317 ac_tool_warned=yes ;;
16318 esac
16319 CC=$ac_ct_CC
16320 fi
16321 else
16322 CC="$ac_cv_prog_CC"
16323 fi
16324
16325 if test -z "$CC"; then
16326 if test -n "$ac_tool_prefix"; then
16327 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16328 set dummy ${ac_tool_prefix}cc; ac_word=$2
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16330 $as_echo_n "checking for $ac_word... " >&6; }
16331 if ${ac_cv_prog_CC+:} false; then :
16332 $as_echo_n "(cached) " >&6
16333 else
16334 if test -n "$CC"; then
16335 ac_cv_prog_CC="$CC" # Let the user override the test.
16336 else
16337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16338 for as_dir in $PATH
16339 do
16340 IFS=$as_save_IFS
16341 test -z "$as_dir" && as_dir=.
16342 for ac_exec_ext in '' $ac_executable_extensions; do
16343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16344 ac_cv_prog_CC="${ac_tool_prefix}cc"
16345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16346 break 2
16347 fi
16348 done
16349 done
16350 IFS=$as_save_IFS
16351
16352 fi
16353 fi
16354 CC=$ac_cv_prog_CC
16355 if test -n "$CC"; then
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16357 $as_echo "$CC" >&6; }
16358 else
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16360 $as_echo "no" >&6; }
16361 fi
16362
16363
16364 fi
16365 fi
16366 if test -z "$CC"; then
16367 # Extract the first word of "cc", so it can be a program name with args.
16368 set dummy cc; ac_word=$2
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16370 $as_echo_n "checking for $ac_word... " >&6; }
16371 if ${ac_cv_prog_CC+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 if test -n "$CC"; then
16375 ac_cv_prog_CC="$CC" # Let the user override the test.
16376 else
16377 ac_prog_rejected=no
16378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16379 for as_dir in $PATH
16380 do
16381 IFS=$as_save_IFS
16382 test -z "$as_dir" && as_dir=.
16383 for ac_exec_ext in '' $ac_executable_extensions; do
16384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16385 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16386 ac_prog_rejected=yes
16387 continue
16388 fi
16389 ac_cv_prog_CC="cc"
16390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16391 break 2
16392 fi
16393 done
16394 done
16395 IFS=$as_save_IFS
16396
16397 if test $ac_prog_rejected = yes; then
16398 # We found a bogon in the path, so make sure we never use it.
16399 set dummy $ac_cv_prog_CC
16400 shift
16401 if test $# != 0; then
16402 # We chose a different compiler from the bogus one.
16403 # However, it has the same basename, so the bogon will be chosen
16404 # first if we set CC to just the basename; use the full file name.
16405 shift
16406 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16407 fi
16408 fi
16409 fi
16410 fi
16411 CC=$ac_cv_prog_CC
16412 if test -n "$CC"; then
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16414 $as_echo "$CC" >&6; }
16415 else
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16417 $as_echo "no" >&6; }
16418 fi
16419
16420
16421 fi
16422 if test -z "$CC"; then
16423 if test -n "$ac_tool_prefix"; then
16424 for ac_prog in cl.exe
16425 do
16426 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16427 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16429 $as_echo_n "checking for $ac_word... " >&6; }
16430 if ${ac_cv_prog_CC+:} false; then :
16431 $as_echo_n "(cached) " >&6
16432 else
16433 if test -n "$CC"; then
16434 ac_cv_prog_CC="$CC" # Let the user override the test.
16435 else
16436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16437 for as_dir in $PATH
16438 do
16439 IFS=$as_save_IFS
16440 test -z "$as_dir" && as_dir=.
16441 for ac_exec_ext in '' $ac_executable_extensions; do
16442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16443 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16445 break 2
16446 fi
16447 done
16448 done
16449 IFS=$as_save_IFS
16450
16451 fi
16452 fi
16453 CC=$ac_cv_prog_CC
16454 if test -n "$CC"; then
16455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16456 $as_echo "$CC" >&6; }
16457 else
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16459 $as_echo "no" >&6; }
16460 fi
16461
16462
16463 test -n "$CC" && break
16464 done
16465 fi
16466 if test -z "$CC"; then
16467 ac_ct_CC=$CC
16468 for ac_prog in cl.exe
16469 do
16470 # Extract the first word of "$ac_prog", so it can be a program name with args.
16471 set dummy $ac_prog; ac_word=$2
16472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16473 $as_echo_n "checking for $ac_word... " >&6; }
16474 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16475 $as_echo_n "(cached) " >&6
16476 else
16477 if test -n "$ac_ct_CC"; then
16478 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16479 else
16480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16481 for as_dir in $PATH
16482 do
16483 IFS=$as_save_IFS
16484 test -z "$as_dir" && as_dir=.
16485 for ac_exec_ext in '' $ac_executable_extensions; do
16486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16487 ac_cv_prog_ac_ct_CC="$ac_prog"
16488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16489 break 2
16490 fi
16491 done
16492 done
16493 IFS=$as_save_IFS
16494
16495 fi
16496 fi
16497 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16498 if test -n "$ac_ct_CC"; then
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16500 $as_echo "$ac_ct_CC" >&6; }
16501 else
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16503 $as_echo "no" >&6; }
16504 fi
16505
16506
16507 test -n "$ac_ct_CC" && break
16508 done
16509
16510 if test "x$ac_ct_CC" = x; then
16511 CC=""
16512 else
16513 case $cross_compiling:$ac_tool_warned in
16514 yes:)
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16516 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16517 ac_tool_warned=yes ;;
16518 esac
16519 CC=$ac_ct_CC
16520 fi
16521 fi
16522
16523 fi
16524
16525
16526 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16527 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16528 as_fn_error $? "no acceptable C compiler found in \$PATH
16529 See \`config.log' for more details" "$LINENO" 5; }
16530
16531 # Provide some information about the compiler.
16532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16533 set X $ac_compile
16534 ac_compiler=$2
16535 for ac_option in --version -v -V -qversion; do
16536 { { ac_try="$ac_compiler $ac_option >&5"
16537 case "(($ac_try" in
16538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16539 *) ac_try_echo=$ac_try;;
16540 esac
16541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16542 $as_echo "$ac_try_echo"; } >&5
16543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16544 ac_status=$?
16545 if test -s conftest.err; then
16546 sed '10a\
16547 ... rest of stderr output deleted ...
16548 10q' conftest.err >conftest.er1
16549 cat conftest.er1 >&5
16550 fi
16551 rm -f conftest.er1 conftest.err
16552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16553 test $ac_status = 0; }
16554 done
16555
16556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16557 /* end confdefs.h. */
16558
16559 int
16560 main ()
16561 {
16562
16563 ;
16564 return 0;
16565 }
16566 _ACEOF
16567 ac_clean_files_save=$ac_clean_files
16568 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16569 # Try to create an executable without -o first, disregard a.out.
16570 # It will help us diagnose broken compilers, and finding out an intuition
16571 # of exeext.
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16573 $as_echo_n "checking whether the C compiler works... " >&6; }
16574 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16575
16576 # The possible output files:
16577 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16578
16579 ac_rmfiles=
16580 for ac_file in $ac_files
16581 do
16582 case $ac_file in
16583 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16584 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16585 esac
16586 done
16587 rm -f $ac_rmfiles
16588
16589 if { { ac_try="$ac_link_default"
16590 case "(($ac_try" in
16591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16592 *) ac_try_echo=$ac_try;;
16593 esac
16594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16595 $as_echo "$ac_try_echo"; } >&5
16596 (eval "$ac_link_default") 2>&5
16597 ac_status=$?
16598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16599 test $ac_status = 0; }; then :
16600 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16601 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16602 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16603 # so that the user can short-circuit this test for compilers unknown to
16604 # Autoconf.
16605 for ac_file in $ac_files ''
16606 do
16607 test -f "$ac_file" || continue
16608 case $ac_file in
16609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16610 ;;
16611 [ab].out )
16612 # We found the default executable, but exeext='' is most
16613 # certainly right.
16614 break;;
16615 *.* )
16616 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16617 then :; else
16618 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16619 fi
16620 # We set ac_cv_exeext here because the later test for it is not
16621 # safe: cross compilers may not add the suffix if given an `-o'
16622 # argument, so we may need to know it at that point already.
16623 # Even if this section looks crufty: it has the advantage of
16624 # actually working.
16625 break;;
16626 * )
16627 break;;
16628 esac
16629 done
16630 test "$ac_cv_exeext" = no && ac_cv_exeext=
16631
16632 else
16633 ac_file=''
16634 fi
16635 if test -z "$ac_file"; then :
16636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16637 $as_echo "no" >&6; }
16638 $as_echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16640
16641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16643 as_fn_error 77 "C compiler cannot create executables
16644 See \`config.log' for more details" "$LINENO" 5; }
16645 else
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16647 $as_echo "yes" >&6; }
16648 fi
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16650 $as_echo_n "checking for C compiler default output file name... " >&6; }
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16652 $as_echo "$ac_file" >&6; }
16653 ac_exeext=$ac_cv_exeext
16654
16655 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16656 ac_clean_files=$ac_clean_files_save
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16658 $as_echo_n "checking for suffix of executables... " >&6; }
16659 if { { ac_try="$ac_link"
16660 case "(($ac_try" in
16661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16662 *) ac_try_echo=$ac_try;;
16663 esac
16664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16665 $as_echo "$ac_try_echo"; } >&5
16666 (eval "$ac_link") 2>&5
16667 ac_status=$?
16668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16669 test $ac_status = 0; }; then :
16670 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16671 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16672 # work properly (i.e., refer to `conftest.exe'), while it won't with
16673 # `rm'.
16674 for ac_file in conftest.exe conftest conftest.*; do
16675 test -f "$ac_file" || continue
16676 case $ac_file in
16677 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16678 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16679 break;;
16680 * ) break;;
16681 esac
16682 done
16683 else
16684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16686 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16687 See \`config.log' for more details" "$LINENO" 5; }
16688 fi
16689 rm -f conftest conftest$ac_cv_exeext
16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16691 $as_echo "$ac_cv_exeext" >&6; }
16692
16693 rm -f conftest.$ac_ext
16694 EXEEXT=$ac_cv_exeext
16695 ac_exeext=$EXEEXT
16696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16697 /* end confdefs.h. */
16698 #include <stdio.h>
16699 int
16700 main ()
16701 {
16702 FILE *f = fopen ("conftest.out", "w");
16703 return ferror (f) || fclose (f) != 0;
16704
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 ac_clean_files="$ac_clean_files conftest.out"
16710 # Check that the compiler produces executables we can run. If not, either
16711 # the compiler is broken, or we cross compile.
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16713 $as_echo_n "checking whether we are cross compiling... " >&6; }
16714 if test "$cross_compiling" != yes; then
16715 { { ac_try="$ac_link"
16716 case "(($ac_try" in
16717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16718 *) ac_try_echo=$ac_try;;
16719 esac
16720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16721 $as_echo "$ac_try_echo"; } >&5
16722 (eval "$ac_link") 2>&5
16723 ac_status=$?
16724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16725 test $ac_status = 0; }
16726 if { ac_try='./conftest$ac_cv_exeext'
16727 { { case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16732 $as_echo "$ac_try_echo"; } >&5
16733 (eval "$ac_try") 2>&5
16734 ac_status=$?
16735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16736 test $ac_status = 0; }; }; then
16737 cross_compiling=no
16738 else
16739 if test "$cross_compiling" = maybe; then
16740 cross_compiling=yes
16741 else
16742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16744 as_fn_error $? "cannot run C compiled programs.
16745 If you meant to cross compile, use \`--host'.
16746 See \`config.log' for more details" "$LINENO" 5; }
16747 fi
16748 fi
16749 fi
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16751 $as_echo "$cross_compiling" >&6; }
16752
16753 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16754 ac_clean_files=$ac_clean_files_save
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16756 $as_echo_n "checking for suffix of object files... " >&6; }
16757 if ${ac_cv_objext+:} false; then :
16758 $as_echo_n "(cached) " >&6
16759 else
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762
16763 int
16764 main ()
16765 {
16766
16767 ;
16768 return 0;
16769 }
16770 _ACEOF
16771 rm -f conftest.o conftest.obj
16772 if { { ac_try="$ac_compile"
16773 case "(($ac_try" in
16774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16775 *) ac_try_echo=$ac_try;;
16776 esac
16777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16778 $as_echo "$ac_try_echo"; } >&5
16779 (eval "$ac_compile") 2>&5
16780 ac_status=$?
16781 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16782 test $ac_status = 0; }; then :
16783 for ac_file in conftest.o conftest.obj conftest.*; do
16784 test -f "$ac_file" || continue;
16785 case $ac_file in
16786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16787 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16788 break;;
16789 esac
16790 done
16791 else
16792 $as_echo "$as_me: failed program was:" >&5
16793 sed 's/^/| /' conftest.$ac_ext >&5
16794
16795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16797 as_fn_error $? "cannot compute suffix of object files: cannot compile
16798 See \`config.log' for more details" "$LINENO" 5; }
16799 fi
16800 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16801 fi
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16803 $as_echo "$ac_cv_objext" >&6; }
16804 OBJEXT=$ac_cv_objext
16805 ac_objext=$OBJEXT
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16807 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16808 if ${ac_cv_c_compiler_gnu+:} false; then :
16809 $as_echo_n "(cached) " >&6
16810 else
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16813
16814 int
16815 main ()
16816 {
16817 #ifndef __GNUC__
16818 choke me
16819 #endif
16820
16821 ;
16822 return 0;
16823 }
16824 _ACEOF
16825 if ac_fn_c_try_compile "$LINENO"; then :
16826 ac_compiler_gnu=yes
16827 else
16828 ac_compiler_gnu=no
16829 fi
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16832
16833 fi
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16835 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16836 if test $ac_compiler_gnu = yes; then
16837 GCC=yes
16838 else
16839 GCC=
16840 fi
16841 ac_test_CFLAGS=${CFLAGS+set}
16842 ac_save_CFLAGS=$CFLAGS
16843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16844 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16845 if ${ac_cv_prog_cc_g+:} false; then :
16846 $as_echo_n "(cached) " >&6
16847 else
16848 ac_save_c_werror_flag=$ac_c_werror_flag
16849 ac_c_werror_flag=yes
16850 ac_cv_prog_cc_g=no
16851 CFLAGS="-g"
16852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16854
16855 int
16856 main ()
16857 {
16858
16859 ;
16860 return 0;
16861 }
16862 _ACEOF
16863 if ac_fn_c_try_compile "$LINENO"; then :
16864 ac_cv_prog_cc_g=yes
16865 else
16866 CFLAGS=""
16867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16868 /* end confdefs.h. */
16869
16870 int
16871 main ()
16872 {
16873
16874 ;
16875 return 0;
16876 }
16877 _ACEOF
16878 if ac_fn_c_try_compile "$LINENO"; then :
16879
16880 else
16881 ac_c_werror_flag=$ac_save_c_werror_flag
16882 CFLAGS="-g"
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885
16886 int
16887 main ()
16888 {
16889
16890 ;
16891 return 0;
16892 }
16893 _ACEOF
16894 if ac_fn_c_try_compile "$LINENO"; then :
16895 ac_cv_prog_cc_g=yes
16896 fi
16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16898 fi
16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16900 fi
16901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16902 ac_c_werror_flag=$ac_save_c_werror_flag
16903 fi
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16905 $as_echo "$ac_cv_prog_cc_g" >&6; }
16906 if test "$ac_test_CFLAGS" = set; then
16907 CFLAGS=$ac_save_CFLAGS
16908 elif test $ac_cv_prog_cc_g = yes; then
16909 if test "$GCC" = yes; then
16910 CFLAGS="-g -O2"
16911 else
16912 CFLAGS="-g"
16913 fi
16914 else
16915 if test "$GCC" = yes; then
16916 CFLAGS="-O2"
16917 else
16918 CFLAGS=
16919 fi
16920 fi
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16922 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16923 if ${ac_cv_prog_cc_c89+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_cv_prog_cc_c89=no
16927 ac_save_CC=$CC
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 #include <stdarg.h>
16931 #include <stdio.h>
16932 struct stat;
16933 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16934 struct buf { int x; };
16935 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16936 static char *e (p, i)
16937 char **p;
16938 int i;
16939 {
16940 return p[i];
16941 }
16942 static char *f (char * (*g) (char **, int), char **p, ...)
16943 {
16944 char *s;
16945 va_list v;
16946 va_start (v,p);
16947 s = g (p, va_arg (v,int));
16948 va_end (v);
16949 return s;
16950 }
16951
16952 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16953 function prototypes and stuff, but not '\xHH' hex character constants.
16954 These don't provoke an error unfortunately, instead are silently treated
16955 as 'x'. The following induces an error, until -std is added to get
16956 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16957 array size at least. It's necessary to write '\x00'==0 to get something
16958 that's true only with -std. */
16959 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16960
16961 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16962 inside strings and character constants. */
16963 #define FOO(x) 'x'
16964 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16965
16966 int test (int i, double x);
16967 struct s1 {int (*f) (int a);};
16968 struct s2 {int (*f) (double a);};
16969 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16970 int argc;
16971 char **argv;
16972 int
16973 main ()
16974 {
16975 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16976 ;
16977 return 0;
16978 }
16979 _ACEOF
16980 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16981 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16982 do
16983 CC="$ac_save_CC $ac_arg"
16984 if ac_fn_c_try_compile "$LINENO"; then :
16985 ac_cv_prog_cc_c89=$ac_arg
16986 fi
16987 rm -f core conftest.err conftest.$ac_objext
16988 test "x$ac_cv_prog_cc_c89" != "xno" && break
16989 done
16990 rm -f conftest.$ac_ext
16991 CC=$ac_save_CC
16992
16993 fi
16994 # AC_CACHE_VAL
16995 case "x$ac_cv_prog_cc_c89" in
16996 x)
16997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16998 $as_echo "none needed" >&6; } ;;
16999 xno)
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17001 $as_echo "unsupported" >&6; } ;;
17002 *)
17003 CC="$CC $ac_cv_prog_cc_c89"
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17005 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17006 esac
17007 if test "x$ac_cv_prog_cc_c89" != xno; then :
17008
17009 fi
17010
17011 ac_ext=c
17012 ac_cpp='$CPP $CPPFLAGS'
17013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17016
17017
17018
17019
17020
17021
17022
17023
17024 ac_ext=c
17025 ac_cpp='$CPP $CPPFLAGS'
17026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17029
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17031 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17032 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
17033 $as_echo_n "(cached) " >&6
17034 else
17035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17036 /* end confdefs.h. */
17037
17038 int
17039 main ()
17040 {
17041
17042 #ifndef __INTEL_COMPILER
17043 choke me
17044 #endif
17045
17046 ;
17047 return 0;
17048 }
17049 _ACEOF
17050 if ac_fn_c_try_compile "$LINENO"; then :
17051 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17052 else
17053 bakefile_cv_c_compiler___INTEL_COMPILER=no
17054
17055 fi
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057
17058
17059 fi
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17061 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17062 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17063 :; INTELCC=yes
17064 else
17065 :;
17066 fi
17067 ac_ext=c
17068 ac_cpp='$CPP $CPPFLAGS'
17069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17072
17073
17074
17075
17076 if test "$INTELCC" = "yes"; then
17077
17078
17079 ac_ext=c
17080 ac_cpp='$CPP $CPPFLAGS'
17081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17084
17085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17086 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17087 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
17088 $as_echo_n "(cached) " >&6
17089 else
17090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17091 /* end confdefs.h. */
17092
17093 int
17094 main ()
17095 {
17096
17097 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17098 choke me
17099 #endif
17100
17101 ;
17102 return 0;
17103 }
17104 _ACEOF
17105 if ac_fn_c_try_compile "$LINENO"; then :
17106 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17107 else
17108 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17109
17110 fi
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112
17113
17114 fi
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17116 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17117 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17118 :; INTELCC8=yes
17119 else
17120 :;
17121 fi
17122 ac_ext=c
17123 ac_cpp='$CPP $CPPFLAGS'
17124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17127
17128
17129
17130
17131
17132 ac_ext=c
17133 ac_cpp='$CPP $CPPFLAGS'
17134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17137
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17139 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17140 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
17141 $as_echo_n "(cached) " >&6
17142 else
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145
17146 int
17147 main ()
17148 {
17149
17150 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17151 choke me
17152 #endif
17153
17154 ;
17155 return 0;
17156 }
17157 _ACEOF
17158 if ac_fn_c_try_compile "$LINENO"; then :
17159 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17160 else
17161 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17162
17163 fi
17164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165
17166
17167 fi
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17169 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17170 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17171 :; INTELCC10=yes
17172 else
17173 :;
17174 fi
17175 ac_ext=c
17176 ac_cpp='$CPP $CPPFLAGS'
17177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17180
17181
17182
17183 fi
17184
17185 if test "x$GCC" != "xyes"; then
17186 if test "xCC" = "xC"; then
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17188 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17189 if ${bakefile_cv_c_exto+:} false; then :
17190 $as_echo_n "(cached) " >&6
17191 else
17192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17193 /* end confdefs.h. */
17194
17195 int
17196 main ()
17197 {
17198
17199 ;
17200 return 0;
17201 }
17202 _ACEOF
17203 rm -f conftest.$ac_objext conftest.$ac_ext.o
17204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17205 (eval $ac_compile) 2>&5
17206 ac_status=$?
17207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17208 test $ac_status = 0; }; then :
17209 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17210 case $ac_file in
17211 conftest.$ac_ext.o)
17212 bakefile_cv_c_exto="-ext o"
17213 ;;
17214 *)
17215 ;;
17216 esac
17217 done
17218 else
17219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17221 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17222 See \`config.log' for more details" "$LINENO" 5; }
17223
17224 fi
17225 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17226
17227 fi
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17229 $as_echo "$bakefile_cv_c_exto" >&6; }
17230 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17231 if test "c" = "c"; then
17232 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17233 fi
17234 if test "c" = "cxx"; then
17235 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17236 fi
17237 fi
17238
17239 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17240 unset ac_cv_prog_cc_g
17241 ac_test_CFLAGS=${CFLAGS+set}
17242 ac_save_CFLAGS=$CFLAGS
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17244 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17245 if ${ac_cv_prog_cc_g+:} false; then :
17246 $as_echo_n "(cached) " >&6
17247 else
17248 ac_save_c_werror_flag=$ac_c_werror_flag
17249 ac_c_werror_flag=yes
17250 ac_cv_prog_cc_g=no
17251 CFLAGS="-g"
17252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17253 /* end confdefs.h. */
17254
17255 int
17256 main ()
17257 {
17258
17259 ;
17260 return 0;
17261 }
17262 _ACEOF
17263 if ac_fn_c_try_compile "$LINENO"; then :
17264 ac_cv_prog_cc_g=yes
17265 else
17266 CFLAGS=""
17267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17268 /* end confdefs.h. */
17269
17270 int
17271 main ()
17272 {
17273
17274 ;
17275 return 0;
17276 }
17277 _ACEOF
17278 if ac_fn_c_try_compile "$LINENO"; then :
17279
17280 else
17281 ac_c_werror_flag=$ac_save_c_werror_flag
17282 CFLAGS="-g"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17285
17286 int
17287 main ()
17288 {
17289
17290 ;
17291 return 0;
17292 }
17293 _ACEOF
17294 if ac_fn_c_try_compile "$LINENO"; then :
17295 ac_cv_prog_cc_g=yes
17296 fi
17297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17298 fi
17299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17300 fi
17301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17302 ac_c_werror_flag=$ac_save_c_werror_flag
17303 fi
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17305 $as_echo "$ac_cv_prog_cc_g" >&6; }
17306 if test "$ac_test_CFLAGS" = set; then
17307 CFLAGS=$ac_save_CFLAGS
17308 elif test $ac_cv_prog_cc_g = yes; then
17309 if test "$GCC" = yes; then
17310 CFLAGS="-g -O2"
17311 else
17312 CFLAGS="-g"
17313 fi
17314 else
17315 if test "$GCC" = yes; then
17316 CFLAGS="-O2"
17317 else
17318 CFLAGS=
17319 fi
17320 fi
17321 fi
17322 fi
17323
17324 case `uname -s` in
17325 AIX*)
17326
17327
17328 ac_ext=c
17329 ac_cpp='$CPP $CPPFLAGS'
17330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17333
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17335 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17336 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341
17342 int
17343 main ()
17344 {
17345
17346 #ifndef __xlC__
17347 choke me
17348 #endif
17349
17350 ;
17351 return 0;
17352 }
17353 _ACEOF
17354 if ac_fn_c_try_compile "$LINENO"; then :
17355 bakefile_cv_c_compiler___xlC__=yes
17356 else
17357 bakefile_cv_c_compiler___xlC__=no
17358
17359 fi
17360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17361
17362
17363 fi
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17365 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17366 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17367 :; XLCC=yes
17368 else
17369 :;
17370 fi
17371 ac_ext=c
17372 ac_cpp='$CPP $CPPFLAGS'
17373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17376
17377
17378
17379 ;;
17380
17381 Darwin)
17382
17383
17384 ac_ext=c
17385 ac_cpp='$CPP $CPPFLAGS'
17386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17389
17390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17391 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17392 if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
17393 $as_echo_n "(cached) " >&6
17394 else
17395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17396 /* end confdefs.h. */
17397
17398 int
17399 main ()
17400 {
17401
17402 #ifndef __MWERKS__
17403 choke me
17404 #endif
17405
17406 ;
17407 return 0;
17408 }
17409 _ACEOF
17410 if ac_fn_c_try_compile "$LINENO"; then :
17411 bakefile_cv_c_compiler___MWERKS__=yes
17412 else
17413 bakefile_cv_c_compiler___MWERKS__=no
17414
17415 fi
17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17417
17418
17419 fi
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17421 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17422 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17423 :; MWCC=yes
17424 else
17425 :;
17426 fi
17427 ac_ext=c
17428 ac_cpp='$CPP $CPPFLAGS'
17429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17432
17433
17434
17435 if test "$MWCC" != "yes"; then
17436
17437
17438 ac_ext=c
17439 ac_cpp='$CPP $CPPFLAGS'
17440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17443
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17445 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17446 if ${bakefile_cv_c_compiler___xlC__+:} false; then :
17447 $as_echo_n "(cached) " >&6
17448 else
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451
17452 int
17453 main ()
17454 {
17455
17456 #ifndef __xlC__
17457 choke me
17458 #endif
17459
17460 ;
17461 return 0;
17462 }
17463 _ACEOF
17464 if ac_fn_c_try_compile "$LINENO"; then :
17465 bakefile_cv_c_compiler___xlC__=yes
17466 else
17467 bakefile_cv_c_compiler___xlC__=no
17468
17469 fi
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471
17472
17473 fi
17474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17475 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17476 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17477 :; XLCC=yes
17478 else
17479 :;
17480 fi
17481 ac_ext=c
17482 ac_cpp='$CPP $CPPFLAGS'
17483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17486
17487
17488
17489 fi
17490 ;;
17491
17492 IRIX*)
17493
17494
17495 ac_ext=c
17496 ac_cpp='$CPP $CPPFLAGS'
17497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17500
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17502 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17503 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508
17509 int
17510 main ()
17511 {
17512
17513 #ifndef _SGI_COMPILER_VERSION
17514 choke me
17515 #endif
17516
17517 ;
17518 return 0;
17519 }
17520 _ACEOF
17521 if ac_fn_c_try_compile "$LINENO"; then :
17522 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17523 else
17524 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17525
17526 fi
17527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528
17529
17530 fi
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17532 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17533 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17534 :; SGICC=yes
17535 else
17536 :;
17537 fi
17538 ac_ext=c
17539 ac_cpp='$CPP $CPPFLAGS'
17540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17543
17544
17545
17546 ;;
17547
17548 Linux*)
17549 if test "$INTELCC" != "yes"; then
17550
17551
17552 ac_ext=c
17553 ac_cpp='$CPP $CPPFLAGS'
17554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17557
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17559 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17560 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17564 /* end confdefs.h. */
17565
17566 int
17567 main ()
17568 {
17569
17570 #ifndef __SUNPRO_C
17571 choke me
17572 #endif
17573
17574 ;
17575 return 0;
17576 }
17577 _ACEOF
17578 if ac_fn_c_try_compile "$LINENO"; then :
17579 bakefile_cv_c_compiler___SUNPRO_C=yes
17580 else
17581 bakefile_cv_c_compiler___SUNPRO_C=no
17582
17583 fi
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585
17586
17587 fi
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17589 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17590 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17591 :; SUNCC=yes
17592 else
17593 :;
17594 fi
17595 ac_ext=c
17596 ac_cpp='$CPP $CPPFLAGS'
17597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17600
17601
17602
17603 fi
17604 ;;
17605
17606 HP-UX*)
17607
17608
17609 ac_ext=c
17610 ac_cpp='$CPP $CPPFLAGS'
17611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17614
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17616 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17617 if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
17618 $as_echo_n "(cached) " >&6
17619 else
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622
17623 int
17624 main ()
17625 {
17626
17627 #ifndef __HP_cc
17628 choke me
17629 #endif
17630
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636 bakefile_cv_c_compiler___HP_cc=yes
17637 else
17638 bakefile_cv_c_compiler___HP_cc=no
17639
17640 fi
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642
17643
17644 fi
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17646 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17647 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17648 :; HPCC=yes
17649 else
17650 :;
17651 fi
17652 ac_ext=c
17653 ac_cpp='$CPP $CPPFLAGS'
17654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17657
17658
17659
17660 ;;
17661
17662 OSF1)
17663
17664
17665 ac_ext=c
17666 ac_cpp='$CPP $CPPFLAGS'
17667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17670
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17672 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17673 if ${bakefile_cv_c_compiler___DECC+:} false; then :
17674 $as_echo_n "(cached) " >&6
17675 else
17676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17677 /* end confdefs.h. */
17678
17679 int
17680 main ()
17681 {
17682
17683 #ifndef __DECC
17684 choke me
17685 #endif
17686
17687 ;
17688 return 0;
17689 }
17690 _ACEOF
17691 if ac_fn_c_try_compile "$LINENO"; then :
17692 bakefile_cv_c_compiler___DECC=yes
17693 else
17694 bakefile_cv_c_compiler___DECC=no
17695
17696 fi
17697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698
17699
17700 fi
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17702 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17703 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17704 :; COMPAQCC=yes
17705 else
17706 :;
17707 fi
17708 ac_ext=c
17709 ac_cpp='$CPP $CPPFLAGS'
17710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17713
17714
17715
17716 ;;
17717
17718 SunOS)
17719
17720
17721 ac_ext=c
17722 ac_cpp='$CPP $CPPFLAGS'
17723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17726
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17728 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17729 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
17730 $as_echo_n "(cached) " >&6
17731 else
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17734
17735 int
17736 main ()
17737 {
17738
17739 #ifndef __SUNPRO_C
17740 choke me
17741 #endif
17742
17743 ;
17744 return 0;
17745 }
17746 _ACEOF
17747 if ac_fn_c_try_compile "$LINENO"; then :
17748 bakefile_cv_c_compiler___SUNPRO_C=yes
17749 else
17750 bakefile_cv_c_compiler___SUNPRO_C=no
17751
17752 fi
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754
17755
17756 fi
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17758 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17759 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17760 :; SUNCC=yes
17761 else
17762 :;
17763 fi
17764 ac_ext=c
17765 ac_cpp='$CPP $CPPFLAGS'
17766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17769
17770
17771
17772 ;;
17773 esac
17774 fi
17775
17776
17777
17778 ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17784 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17785 # On Suns, sometimes $CPP names a directory.
17786 if test -n "$CPP" && test -d "$CPP"; then
17787 CPP=
17788 fi
17789 if test -z "$CPP"; then
17790 if ${ac_cv_prog_CPP+:} false; then :
17791 $as_echo_n "(cached) " >&6
17792 else
17793 # Double quotes because CPP needs to be expanded
17794 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17795 do
17796 ac_preproc_ok=false
17797 for ac_c_preproc_warn_flag in '' yes
17798 do
17799 # Use a header file that comes with gcc, so configuring glibc
17800 # with a fresh cross-compiler works.
17801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17802 # <limits.h> exists even on freestanding compilers.
17803 # On the NeXT, cc -E runs the code through the compiler's parser,
17804 # not just through cpp. "Syntax error" is here to catch this case.
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17807 #ifdef __STDC__
17808 # include <limits.h>
17809 #else
17810 # include <assert.h>
17811 #endif
17812 Syntax error
17813 _ACEOF
17814 if ac_fn_c_try_cpp "$LINENO"; then :
17815
17816 else
17817 # Broken: fails on valid input.
17818 continue
17819 fi
17820 rm -f conftest.err conftest.i conftest.$ac_ext
17821
17822 # OK, works on sane cases. Now check whether nonexistent headers
17823 # can be detected and how.
17824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825 /* end confdefs.h. */
17826 #include <ac_nonexistent.h>
17827 _ACEOF
17828 if ac_fn_c_try_cpp "$LINENO"; then :
17829 # Broken: success on invalid input.
17830 continue
17831 else
17832 # Passes both tests.
17833 ac_preproc_ok=:
17834 break
17835 fi
17836 rm -f conftest.err conftest.i conftest.$ac_ext
17837
17838 done
17839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17840 rm -f conftest.i conftest.err conftest.$ac_ext
17841 if $ac_preproc_ok; then :
17842 break
17843 fi
17844
17845 done
17846 ac_cv_prog_CPP=$CPP
17847
17848 fi
17849 CPP=$ac_cv_prog_CPP
17850 else
17851 ac_cv_prog_CPP=$CPP
17852 fi
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17854 $as_echo "$CPP" >&6; }
17855 ac_preproc_ok=false
17856 for ac_c_preproc_warn_flag in '' yes
17857 do
17858 # Use a header file that comes with gcc, so configuring glibc
17859 # with a fresh cross-compiler works.
17860 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17861 # <limits.h> exists even on freestanding compilers.
17862 # On the NeXT, cc -E runs the code through the compiler's parser,
17863 # not just through cpp. "Syntax error" is here to catch this case.
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17866 #ifdef __STDC__
17867 # include <limits.h>
17868 #else
17869 # include <assert.h>
17870 #endif
17871 Syntax error
17872 _ACEOF
17873 if ac_fn_c_try_cpp "$LINENO"; then :
17874
17875 else
17876 # Broken: fails on valid input.
17877 continue
17878 fi
17879 rm -f conftest.err conftest.i conftest.$ac_ext
17880
17881 # OK, works on sane cases. Now check whether nonexistent headers
17882 # can be detected and how.
17883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17885 #include <ac_nonexistent.h>
17886 _ACEOF
17887 if ac_fn_c_try_cpp "$LINENO"; then :
17888 # Broken: success on invalid input.
17889 continue
17890 else
17891 # Passes both tests.
17892 ac_preproc_ok=:
17893 break
17894 fi
17895 rm -f conftest.err conftest.i conftest.$ac_ext
17896
17897 done
17898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17899 rm -f conftest.i conftest.err conftest.$ac_ext
17900 if $ac_preproc_ok; then :
17901
17902 else
17903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17905 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17906 See \`config.log' for more details" "$LINENO" 5; }
17907 fi
17908
17909 ac_ext=c
17910 ac_cpp='$CPP $CPPFLAGS'
17911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17914
17915
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17917 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17918 if ${ac_cv_path_GREP+:} false; then :
17919 $as_echo_n "(cached) " >&6
17920 else
17921 if test -z "$GREP"; then
17922 ac_path_GREP_found=false
17923 # Loop through the user's path and test for each of PROGNAME-LIST
17924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17925 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17926 do
17927 IFS=$as_save_IFS
17928 test -z "$as_dir" && as_dir=.
17929 for ac_prog in grep ggrep; do
17930 for ac_exec_ext in '' $ac_executable_extensions; do
17931 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17932 as_fn_executable_p "$ac_path_GREP" || continue
17933 # Check for GNU ac_path_GREP and select it if it is found.
17934 # Check for GNU $ac_path_GREP
17935 case `"$ac_path_GREP" --version 2>&1` in
17936 *GNU*)
17937 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17938 *)
17939 ac_count=0
17940 $as_echo_n 0123456789 >"conftest.in"
17941 while :
17942 do
17943 cat "conftest.in" "conftest.in" >"conftest.tmp"
17944 mv "conftest.tmp" "conftest.in"
17945 cp "conftest.in" "conftest.nl"
17946 $as_echo 'GREP' >> "conftest.nl"
17947 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17948 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17949 as_fn_arith $ac_count + 1 && ac_count=$as_val
17950 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17951 # Best one so far, save it but keep looking for a better one
17952 ac_cv_path_GREP="$ac_path_GREP"
17953 ac_path_GREP_max=$ac_count
17954 fi
17955 # 10*(2^10) chars as input seems more than enough
17956 test $ac_count -gt 10 && break
17957 done
17958 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17959 esac
17960
17961 $ac_path_GREP_found && break 3
17962 done
17963 done
17964 done
17965 IFS=$as_save_IFS
17966 if test -z "$ac_cv_path_GREP"; then
17967 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17968 fi
17969 else
17970 ac_cv_path_GREP=$GREP
17971 fi
17972
17973 fi
17974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17975 $as_echo "$ac_cv_path_GREP" >&6; }
17976 GREP="$ac_cv_path_GREP"
17977
17978
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17980 $as_echo_n "checking for egrep... " >&6; }
17981 if ${ac_cv_path_EGREP+:} false; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17984 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17985 then ac_cv_path_EGREP="$GREP -E"
17986 else
17987 if test -z "$EGREP"; then
17988 ac_path_EGREP_found=false
17989 # Loop through the user's path and test for each of PROGNAME-LIST
17990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17992 do
17993 IFS=$as_save_IFS
17994 test -z "$as_dir" && as_dir=.
17995 for ac_prog in egrep; do
17996 for ac_exec_ext in '' $ac_executable_extensions; do
17997 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17998 as_fn_executable_p "$ac_path_EGREP" || continue
17999 # Check for GNU ac_path_EGREP and select it if it is found.
18000 # Check for GNU $ac_path_EGREP
18001 case `"$ac_path_EGREP" --version 2>&1` in
18002 *GNU*)
18003 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18004 *)
18005 ac_count=0
18006 $as_echo_n 0123456789 >"conftest.in"
18007 while :
18008 do
18009 cat "conftest.in" "conftest.in" >"conftest.tmp"
18010 mv "conftest.tmp" "conftest.in"
18011 cp "conftest.in" "conftest.nl"
18012 $as_echo 'EGREP' >> "conftest.nl"
18013 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18014 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18015 as_fn_arith $ac_count + 1 && ac_count=$as_val
18016 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18017 # Best one so far, save it but keep looking for a better one
18018 ac_cv_path_EGREP="$ac_path_EGREP"
18019 ac_path_EGREP_max=$ac_count
18020 fi
18021 # 10*(2^10) chars as input seems more than enough
18022 test $ac_count -gt 10 && break
18023 done
18024 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18025 esac
18026
18027 $ac_path_EGREP_found && break 3
18028 done
18029 done
18030 done
18031 IFS=$as_save_IFS
18032 if test -z "$ac_cv_path_EGREP"; then
18033 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18034 fi
18035 else
18036 ac_cv_path_EGREP=$EGREP
18037 fi
18038
18039 fi
18040 fi
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18042 $as_echo "$ac_cv_path_EGREP" >&6; }
18043 EGREP="$ac_cv_path_EGREP"
18044
18045
18046 if test $ac_cv_c_compiler_gnu = yes; then
18047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18048 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18049 if ${ac_cv_prog_gcc_traditional+:} false; then :
18050 $as_echo_n "(cached) " >&6
18051 else
18052 ac_pattern="Autoconf.*'x'"
18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18055 #include <sgtty.h>
18056 Autoconf TIOCGETP
18057 _ACEOF
18058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18059 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18060 ac_cv_prog_gcc_traditional=yes
18061 else
18062 ac_cv_prog_gcc_traditional=no
18063 fi
18064 rm -f conftest*
18065
18066
18067 if test $ac_cv_prog_gcc_traditional = no; then
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18070 #include <termio.h>
18071 Autoconf TCGETA
18072 _ACEOF
18073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18074 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18075 ac_cv_prog_gcc_traditional=yes
18076 fi
18077 rm -f conftest*
18078
18079 fi
18080 fi
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18082 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18083 if test $ac_cv_prog_gcc_traditional = yes; then
18084 CC="$CC -traditional"
18085 fi
18086 fi
18087
18088
18089 CXXFLAGS=${CXXFLAGS:=}
18090 ac_ext=cpp
18091 ac_cpp='$CXXCPP $CPPFLAGS'
18092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18095 if test -z "$CXX"; then
18096 if test -n "$CCC"; then
18097 CXX=$CCC
18098 else
18099 if test -n "$ac_tool_prefix"; then
18100 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18101 do
18102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18105 $as_echo_n "checking for $ac_word... " >&6; }
18106 if ${ac_cv_prog_CXX+:} false; then :
18107 $as_echo_n "(cached) " >&6
18108 else
18109 if test -n "$CXX"; then
18110 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18111 else
18112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18113 for as_dir in $PATH
18114 do
18115 IFS=$as_save_IFS
18116 test -z "$as_dir" && as_dir=.
18117 for ac_exec_ext in '' $ac_executable_extensions; do
18118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18119 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18121 break 2
18122 fi
18123 done
18124 done
18125 IFS=$as_save_IFS
18126
18127 fi
18128 fi
18129 CXX=$ac_cv_prog_CXX
18130 if test -n "$CXX"; then
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18132 $as_echo "$CXX" >&6; }
18133 else
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18135 $as_echo "no" >&6; }
18136 fi
18137
18138
18139 test -n "$CXX" && break
18140 done
18141 fi
18142 if test -z "$CXX"; then
18143 ac_ct_CXX=$CXX
18144 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18145 do
18146 # Extract the first word of "$ac_prog", so it can be a program name with args.
18147 set dummy $ac_prog; ac_word=$2
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18149 $as_echo_n "checking for $ac_word... " >&6; }
18150 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18153 if test -n "$ac_ct_CXX"; then
18154 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18155 else
18156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18157 for as_dir in $PATH
18158 do
18159 IFS=$as_save_IFS
18160 test -z "$as_dir" && as_dir=.
18161 for ac_exec_ext in '' $ac_executable_extensions; do
18162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18163 ac_cv_prog_ac_ct_CXX="$ac_prog"
18164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18165 break 2
18166 fi
18167 done
18168 done
18169 IFS=$as_save_IFS
18170
18171 fi
18172 fi
18173 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18174 if test -n "$ac_ct_CXX"; then
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18176 $as_echo "$ac_ct_CXX" >&6; }
18177 else
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18179 $as_echo "no" >&6; }
18180 fi
18181
18182
18183 test -n "$ac_ct_CXX" && break
18184 done
18185
18186 if test "x$ac_ct_CXX" = x; then
18187 CXX="g++"
18188 else
18189 case $cross_compiling:$ac_tool_warned in
18190 yes:)
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18193 ac_tool_warned=yes ;;
18194 esac
18195 CXX=$ac_ct_CXX
18196 fi
18197 fi
18198
18199 fi
18200 fi
18201 # Provide some information about the compiler.
18202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18203 set X $ac_compile
18204 ac_compiler=$2
18205 for ac_option in --version -v -V -qversion; do
18206 { { ac_try="$ac_compiler $ac_option >&5"
18207 case "(($ac_try" in
18208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18209 *) ac_try_echo=$ac_try;;
18210 esac
18211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18212 $as_echo "$ac_try_echo"; } >&5
18213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18214 ac_status=$?
18215 if test -s conftest.err; then
18216 sed '10a\
18217 ... rest of stderr output deleted ...
18218 10q' conftest.err >conftest.er1
18219 cat conftest.er1 >&5
18220 fi
18221 rm -f conftest.er1 conftest.err
18222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18223 test $ac_status = 0; }
18224 done
18225
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18227 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18228 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18229 $as_echo_n "(cached) " >&6
18230 else
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18233
18234 int
18235 main ()
18236 {
18237 #ifndef __GNUC__
18238 choke me
18239 #endif
18240
18241 ;
18242 return 0;
18243 }
18244 _ACEOF
18245 if ac_fn_cxx_try_compile "$LINENO"; then :
18246 ac_compiler_gnu=yes
18247 else
18248 ac_compiler_gnu=no
18249 fi
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18252
18253 fi
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18255 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18256 if test $ac_compiler_gnu = yes; then
18257 GXX=yes
18258 else
18259 GXX=
18260 fi
18261 ac_test_CXXFLAGS=${CXXFLAGS+set}
18262 ac_save_CXXFLAGS=$CXXFLAGS
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18264 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18265 if ${ac_cv_prog_cxx_g+:} false; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18268 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18269 ac_cxx_werror_flag=yes
18270 ac_cv_prog_cxx_g=no
18271 CXXFLAGS="-g"
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18274
18275 int
18276 main ()
18277 {
18278
18279 ;
18280 return 0;
18281 }
18282 _ACEOF
18283 if ac_fn_cxx_try_compile "$LINENO"; then :
18284 ac_cv_prog_cxx_g=yes
18285 else
18286 CXXFLAGS=""
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18289
18290 int
18291 main ()
18292 {
18293
18294 ;
18295 return 0;
18296 }
18297 _ACEOF
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18299
18300 else
18301 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18302 CXXFLAGS="-g"
18303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18305
18306 int
18307 main ()
18308 {
18309
18310 ;
18311 return 0;
18312 }
18313 _ACEOF
18314 if ac_fn_cxx_try_compile "$LINENO"; then :
18315 ac_cv_prog_cxx_g=yes
18316 fi
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18318 fi
18319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18320 fi
18321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18323 fi
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18325 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18326 if test "$ac_test_CXXFLAGS" = set; then
18327 CXXFLAGS=$ac_save_CXXFLAGS
18328 elif test $ac_cv_prog_cxx_g = yes; then
18329 if test "$GXX" = yes; then
18330 CXXFLAGS="-g -O2"
18331 else
18332 CXXFLAGS="-g"
18333 fi
18334 else
18335 if test "$GXX" = yes; then
18336 CXXFLAGS="-O2"
18337 else
18338 CXXFLAGS=
18339 fi
18340 fi
18341 ac_ext=c
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18346
18347
18348
18349
18350
18351
18352
18353
18354 ac_ext=cpp
18355 ac_cpp='$CXXCPP $CPPFLAGS'
18356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18359
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18361 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18362 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18363 $as_echo_n "(cached) " >&6
18364 else
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18367
18368 int
18369 main ()
18370 {
18371
18372 #ifndef __INTEL_COMPILER
18373 choke me
18374 #endif
18375
18376 ;
18377 return 0;
18378 }
18379 _ACEOF
18380 if ac_fn_cxx_try_compile "$LINENO"; then :
18381 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18382 else
18383 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18384
18385 fi
18386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387
18388
18389 fi
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18391 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18392 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18393 :; INTELCXX=yes
18394 else
18395 :;
18396 fi
18397 ac_ext=c
18398 ac_cpp='$CPP $CPPFLAGS'
18399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18402
18403
18404
18405
18406 if test "$INTELCXX" = "yes"; then
18407
18408
18409 ac_ext=cpp
18410 ac_cpp='$CXXCPP $CPPFLAGS'
18411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18414
18415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18416 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18417 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18418 $as_echo_n "(cached) " >&6
18419 else
18420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18421 /* end confdefs.h. */
18422
18423 int
18424 main ()
18425 {
18426
18427 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18428 choke me
18429 #endif
18430
18431 ;
18432 return 0;
18433 }
18434 _ACEOF
18435 if ac_fn_cxx_try_compile "$LINENO"; then :
18436 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18437 else
18438 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18439
18440 fi
18441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18442
18443
18444 fi
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18446 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18447 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18448 :; INTELCXX8=yes
18449 else
18450 :;
18451 fi
18452 ac_ext=c
18453 ac_cpp='$CPP $CPPFLAGS'
18454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18457
18458
18459
18460
18461
18462 ac_ext=cpp
18463 ac_cpp='$CXXCPP $CPPFLAGS'
18464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18467
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18469 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18470 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18471 $as_echo_n "(cached) " >&6
18472 else
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475
18476 int
18477 main ()
18478 {
18479
18480 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18481 choke me
18482 #endif
18483
18484 ;
18485 return 0;
18486 }
18487 _ACEOF
18488 if ac_fn_cxx_try_compile "$LINENO"; then :
18489 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18490 else
18491 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18492
18493 fi
18494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18495
18496
18497 fi
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18499 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18500 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18501 :; INTELCXX10=yes
18502 else
18503 :;
18504 fi
18505 ac_ext=c
18506 ac_cpp='$CPP $CPPFLAGS'
18507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18510
18511
18512
18513 fi
18514
18515 if test "x$GCXX" != "xyes"; then
18516 if test "xCXX" = "xC"; then
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18518 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18519 if ${bakefile_cv_c_exto+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524
18525 int
18526 main ()
18527 {
18528
18529 ;
18530 return 0;
18531 }
18532 _ACEOF
18533 rm -f conftest.$ac_objext conftest.$ac_ext.o
18534 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18535 (eval $ac_compile) 2>&5
18536 ac_status=$?
18537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18538 test $ac_status = 0; }; then :
18539 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18540 case $ac_file in
18541 conftest.$ac_ext.o)
18542 bakefile_cv_c_exto="-ext o"
18543 ;;
18544 *)
18545 ;;
18546 esac
18547 done
18548 else
18549 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18551 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18552 See \`config.log' for more details" "$LINENO" 5; }
18553
18554 fi
18555 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18556
18557 fi
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18559 $as_echo "$bakefile_cv_c_exto" >&6; }
18560 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18561 if test "c" = "c"; then
18562 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18563 fi
18564 if test "c" = "cxx"; then
18565 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18566 fi
18567 fi
18568
18569 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18570 unset ac_cv_prog_cc_g
18571 ac_test_CFLAGS=${CFLAGS+set}
18572 ac_save_CFLAGS=$CFLAGS
18573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18574 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18575 if ${ac_cv_prog_cc_g+:} false; then :
18576 $as_echo_n "(cached) " >&6
18577 else
18578 ac_save_c_werror_flag=$ac_c_werror_flag
18579 ac_c_werror_flag=yes
18580 ac_cv_prog_cc_g=no
18581 CFLAGS="-g"
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584
18585 int
18586 main ()
18587 {
18588
18589 ;
18590 return 0;
18591 }
18592 _ACEOF
18593 if ac_fn_c_try_compile "$LINENO"; then :
18594 ac_cv_prog_cc_g=yes
18595 else
18596 CFLAGS=""
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599
18600 int
18601 main ()
18602 {
18603
18604 ;
18605 return 0;
18606 }
18607 _ACEOF
18608 if ac_fn_c_try_compile "$LINENO"; then :
18609
18610 else
18611 ac_c_werror_flag=$ac_save_c_werror_flag
18612 CFLAGS="-g"
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614 /* end confdefs.h. */
18615
18616 int
18617 main ()
18618 {
18619
18620 ;
18621 return 0;
18622 }
18623 _ACEOF
18624 if ac_fn_c_try_compile "$LINENO"; then :
18625 ac_cv_prog_cc_g=yes
18626 fi
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18628 fi
18629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18630 fi
18631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18632 ac_c_werror_flag=$ac_save_c_werror_flag
18633 fi
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18635 $as_echo "$ac_cv_prog_cc_g" >&6; }
18636 if test "$ac_test_CFLAGS" = set; then
18637 CFLAGS=$ac_save_CFLAGS
18638 elif test $ac_cv_prog_cc_g = yes; then
18639 if test "$GCC" = yes; then
18640 CFLAGS="-g -O2"
18641 else
18642 CFLAGS="-g"
18643 fi
18644 else
18645 if test "$GCC" = yes; then
18646 CFLAGS="-O2"
18647 else
18648 CFLAGS=
18649 fi
18650 fi
18651 fi
18652 fi
18653
18654 case `uname -s` in
18655 AIX*)
18656
18657
18658 ac_ext=cpp
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18663
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18665 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18666 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18667 $as_echo_n "(cached) " >&6
18668 else
18669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18670 /* end confdefs.h. */
18671
18672 int
18673 main ()
18674 {
18675
18676 #ifndef __xlC__
18677 choke me
18678 #endif
18679
18680 ;
18681 return 0;
18682 }
18683 _ACEOF
18684 if ac_fn_cxx_try_compile "$LINENO"; then :
18685 bakefile_cv_cxx_compiler___xlC__=yes
18686 else
18687 bakefile_cv_cxx_compiler___xlC__=no
18688
18689 fi
18690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18691
18692
18693 fi
18694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18695 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18696 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18697 :; XLCXX=yes
18698 else
18699 :;
18700 fi
18701 ac_ext=c
18702 ac_cpp='$CPP $CPPFLAGS'
18703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18706
18707
18708
18709 ;;
18710
18711 Darwin)
18712
18713
18714 ac_ext=cpp
18715 ac_cpp='$CXXCPP $CPPFLAGS'
18716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18719
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18721 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18722 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18723 $as_echo_n "(cached) " >&6
18724 else
18725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18726 /* end confdefs.h. */
18727
18728 int
18729 main ()
18730 {
18731
18732 #ifndef __MWERKS__
18733 choke me
18734 #endif
18735
18736 ;
18737 return 0;
18738 }
18739 _ACEOF
18740 if ac_fn_cxx_try_compile "$LINENO"; then :
18741 bakefile_cv_cxx_compiler___MWERKS__=yes
18742 else
18743 bakefile_cv_cxx_compiler___MWERKS__=no
18744
18745 fi
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747
18748
18749 fi
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18751 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18752 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18753 :; MWCXX=yes
18754 else
18755 :;
18756 fi
18757 ac_ext=c
18758 ac_cpp='$CPP $CPPFLAGS'
18759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18762
18763
18764
18765 if test "$MWCXX" != "yes"; then
18766
18767
18768 ac_ext=cpp
18769 ac_cpp='$CXXCPP $CPPFLAGS'
18770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18773
18774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18775 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18776 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18777 $as_echo_n "(cached) " >&6
18778 else
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781
18782 int
18783 main ()
18784 {
18785
18786 #ifndef __xlC__
18787 choke me
18788 #endif
18789
18790 ;
18791 return 0;
18792 }
18793 _ACEOF
18794 if ac_fn_cxx_try_compile "$LINENO"; then :
18795 bakefile_cv_cxx_compiler___xlC__=yes
18796 else
18797 bakefile_cv_cxx_compiler___xlC__=no
18798
18799 fi
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801
18802
18803 fi
18804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18805 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18806 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18807 :; XLCXX=yes
18808 else
18809 :;
18810 fi
18811 ac_ext=c
18812 ac_cpp='$CPP $CPPFLAGS'
18813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18816
18817
18818
18819 fi
18820 ;;
18821
18822 IRIX*)
18823
18824
18825 ac_ext=cpp
18826 ac_cpp='$CXXCPP $CPPFLAGS'
18827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18830
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18832 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18833 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18834 $as_echo_n "(cached) " >&6
18835 else
18836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18837 /* end confdefs.h. */
18838
18839 int
18840 main ()
18841 {
18842
18843 #ifndef _SGI_COMPILER_VERSION
18844 choke me
18845 #endif
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 if ac_fn_cxx_try_compile "$LINENO"; then :
18852 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18853 else
18854 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18855
18856 fi
18857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858
18859
18860 fi
18861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18862 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18863 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18864 :; SGICXX=yes
18865 else
18866 :;
18867 fi
18868 ac_ext=c
18869 ac_cpp='$CPP $CPPFLAGS'
18870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18873
18874
18875
18876 ;;
18877
18878 Linux*)
18879 if test "$INTELCXX" != "yes"; then
18880
18881
18882 ac_ext=cpp
18883 ac_cpp='$CXXCPP $CPPFLAGS'
18884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18887
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18889 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18890 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18891 $as_echo_n "(cached) " >&6
18892 else
18893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18895
18896 int
18897 main ()
18898 {
18899
18900 #ifndef __SUNPRO_CC
18901 choke me
18902 #endif
18903
18904 ;
18905 return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18910 else
18911 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18912
18913 fi
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915
18916
18917 fi
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18919 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18920 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18921 :; SUNCXX=yes
18922 else
18923 :;
18924 fi
18925 ac_ext=c
18926 ac_cpp='$CPP $CPPFLAGS'
18927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930
18931
18932
18933 fi
18934 ;;
18935
18936 HP-UX*)
18937
18938
18939 ac_ext=cpp
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18944
18945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18946 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18947 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
18948 $as_echo_n "(cached) " >&6
18949 else
18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18951 /* end confdefs.h. */
18952
18953 int
18954 main ()
18955 {
18956
18957 #ifndef __HP_aCC
18958 choke me
18959 #endif
18960
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 if ac_fn_cxx_try_compile "$LINENO"; then :
18966 bakefile_cv_cxx_compiler___HP_aCC=yes
18967 else
18968 bakefile_cv_cxx_compiler___HP_aCC=no
18969
18970 fi
18971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18972
18973
18974 fi
18975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18976 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18977 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18978 :; HPCXX=yes
18979 else
18980 :;
18981 fi
18982 ac_ext=c
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18987
18988
18989
18990 ;;
18991
18992 OSF1)
18993
18994
18995 ac_ext=cpp
18996 ac_cpp='$CXXCPP $CPPFLAGS'
18997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19000
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19002 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19003 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19004 $as_echo_n "(cached) " >&6
19005 else
19006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19007 /* end confdefs.h. */
19008
19009 int
19010 main ()
19011 {
19012
19013 #ifndef __DECCXX
19014 choke me
19015 #endif
19016
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 if ac_fn_cxx_try_compile "$LINENO"; then :
19022 bakefile_cv_cxx_compiler___DECCXX=yes
19023 else
19024 bakefile_cv_cxx_compiler___DECCXX=no
19025
19026 fi
19027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19028
19029
19030 fi
19031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19032 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19033 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19034 :; COMPAQCXX=yes
19035 else
19036 :;
19037 fi
19038 ac_ext=c
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19043
19044
19045
19046 ;;
19047
19048 SunOS)
19049
19050
19051 ac_ext=cpp
19052 ac_cpp='$CXXCPP $CPPFLAGS'
19053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19056
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19058 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19059 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19060 $as_echo_n "(cached) " >&6
19061 else
19062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19064
19065 int
19066 main ()
19067 {
19068
19069 #ifndef __SUNPRO_CC
19070 choke me
19071 #endif
19072
19073 ;
19074 return 0;
19075 }
19076 _ACEOF
19077 if ac_fn_cxx_try_compile "$LINENO"; then :
19078 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19079 else
19080 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19081
19082 fi
19083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19084
19085
19086 fi
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19088 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19089 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19090 :; SUNCXX=yes
19091 else
19092 :;
19093 fi
19094 ac_ext=c
19095 ac_cpp='$CPP $CPPFLAGS'
19096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19099
19100
19101
19102 ;;
19103 esac
19104 fi
19105
19106
19107
19108 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19109 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19110 fi
19111
19112 if test "x$SUNCXX" != xyes; then
19113 if test -n "$ac_tool_prefix"; then
19114 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19115 set dummy ${ac_tool_prefix}ar; ac_word=$2
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19117 $as_echo_n "checking for $ac_word... " >&6; }
19118 if ${ac_cv_prog_AR+:} false; then :
19119 $as_echo_n "(cached) " >&6
19120 else
19121 if test -n "$AR"; then
19122 ac_cv_prog_AR="$AR" # Let the user override the test.
19123 else
19124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19125 for as_dir in $PATH
19126 do
19127 IFS=$as_save_IFS
19128 test -z "$as_dir" && as_dir=.
19129 for ac_exec_ext in '' $ac_executable_extensions; do
19130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19131 ac_cv_prog_AR="${ac_tool_prefix}ar"
19132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19133 break 2
19134 fi
19135 done
19136 done
19137 IFS=$as_save_IFS
19138
19139 fi
19140 fi
19141 AR=$ac_cv_prog_AR
19142 if test -n "$AR"; then
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19144 $as_echo "$AR" >&6; }
19145 else
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19147 $as_echo "no" >&6; }
19148 fi
19149
19150
19151 fi
19152 if test -z "$ac_cv_prog_AR"; then
19153 ac_ct_AR=$AR
19154 # Extract the first word of "ar", so it can be a program name with args.
19155 set dummy ar; ac_word=$2
19156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19157 $as_echo_n "checking for $ac_word... " >&6; }
19158 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19159 $as_echo_n "(cached) " >&6
19160 else
19161 if test -n "$ac_ct_AR"; then
19162 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19163 else
19164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19165 for as_dir in $PATH
19166 do
19167 IFS=$as_save_IFS
19168 test -z "$as_dir" && as_dir=.
19169 for ac_exec_ext in '' $ac_executable_extensions; do
19170 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19171 ac_cv_prog_ac_ct_AR="ar"
19172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19173 break 2
19174 fi
19175 done
19176 done
19177 IFS=$as_save_IFS
19178
19179 fi
19180 fi
19181 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19182 if test -n "$ac_ct_AR"; then
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19184 $as_echo "$ac_ct_AR" >&6; }
19185 else
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19187 $as_echo "no" >&6; }
19188 fi
19189
19190 if test "x$ac_ct_AR" = x; then
19191 AR=""
19192 else
19193 case $cross_compiling:$ac_tool_warned in
19194 yes:)
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19197 ac_tool_warned=yes ;;
19198 esac
19199 AR=$ac_ct_AR
19200 fi
19201 else
19202 AR="$ac_cv_prog_AR"
19203 fi
19204
19205 if test "x$AR" = "x" ; then
19206 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19207 fi
19208 fi
19209
19210
19211 if test "$wxUSE_MAC" = 1; then
19212
19213 retest_macosx_linking=no
19214
19215 OSX_ARCH_OPTS=""
19216
19217 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19218 if test "x$wxUSE_MAC_ARCH" != xno; then
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19220 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19221 fi
19222
19223 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19224 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19225 else OSX_ARCH_OPTS="ppc,i386"
19226 if test "$wxUSE_OSX_COCOA" = 1; then
19227 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19228 fi
19229 fi
19230
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19232 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19234 $as_echo "$OSX_ARCH_OPTS" >&6; }
19235
19236 retest_macosx_linking=yes
19237 else
19238 if test "x$wxUSE_MAC_ARCH" != xno; then
19239 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19240 fi
19241 fi
19242
19243 if test "x$OSX_ARCH_OPTS" != "x"; then
19244 if echo $OSX_ARCH_OPTS | grep -q ","; then
19245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19246 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19247 disable_macosx_deps=yes
19248
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19250 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19251 bk_use_pch=no
19252 fi
19253
19254 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19255
19256 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19257 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19258 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19259 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19260 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19261 fi
19262
19263 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19264 wxUSE_MACOSX_SDK=
19265 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19266 # TODO: Search for most recent SDK and use it.
19267 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19268 fi
19269
19270
19271 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19273 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19274 if ! test -d "$wxUSE_MACOSX_SDK"; then
19275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19277 as_fn_error $? "not found
19278 See \`config.log' for more details" "$LINENO" 5; }
19279 else
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19281 $as_echo "exists" >&6; }
19282 fi
19283 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19284 retest_macosx_linking=yes
19285 fi
19286
19287 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19288 wxUSE_MACOSX_VERSION_MIN=
19289 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19290 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19292 $as_echo_n "checking SDK deployment version... " >&6; }
19293
19294 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/'`
19295
19296 # If that failed, try again with the new key
19297 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19298
19299 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/'`
19300
19301 fi
19302
19303 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19304 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19306 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19307 else
19308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19309 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19310 wxUSE_MACOSX_VERSION_MIN=
19311 fi
19312 else
19313 wxUSE_MACOSX_VERSION_MIN=
19314 fi
19315 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19316 wxUSE_MACOSX_VERSION_MIN=10.5
19317 fi
19318
19319 if test "x$MACOSX_SDK_OPTS" != "x"; then
19320 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19321 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19322 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19323 retest_macosx_linking=yes
19324 fi
19325
19326 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19327 if test "$wxUSE_OSX_IPHONE" = 1; then
19328 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19329 else
19330 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19331 fi
19332 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19333 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19334 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19335 retest_macosx_linking=yes
19336 fi
19337
19338 if test "x$retest_macosx_linking" = "xyes"; then
19339 ac_ext=c
19340 ac_cpp='$CPP $CPPFLAGS'
19341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19344
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19346 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19348 /* end confdefs.h. */
19349
19350 int
19351 main ()
19352 {
19353
19354 ;
19355 return 0;
19356 }
19357 _ACEOF
19358 if ac_fn_c_try_link "$LINENO"; then :
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19360 $as_echo "yes" >&6; }
19361 else
19362 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19363 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19364 as_fn_error $? "no. Try a different SDK
19365 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19366 fi
19367 rm -f core conftest.err conftest.$ac_objext \
19368 conftest$ac_exeext conftest.$ac_ext
19369 ac_ext=c
19370 ac_cpp='$CPP $CPPFLAGS'
19371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19374
19375
19376 ac_ext=cpp
19377 ac_cpp='$CXXCPP $CPPFLAGS'
19378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19381
19382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19383 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386
19387 int
19388 main ()
19389 {
19390
19391 ;
19392 return 0;
19393 }
19394 _ACEOF
19395 if ac_fn_cxx_try_link "$LINENO"; then :
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19397 $as_echo "yes" >&6; }
19398 else
19399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19401 as_fn_error $? "no. Try a different SDK
19402 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19403 fi
19404 rm -f core conftest.err conftest.$ac_objext \
19405 conftest$ac_exeext conftest.$ac_ext
19406 ac_ext=c
19407 ac_cpp='$CPP $CPPFLAGS'
19408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19411
19412 fi
19413
19414 fi
19415 case "${host}" in
19416
19417 *-*-darwin* )
19418 INSTALL_PROGRAM="cp -fp"
19419 INSTALL_DATA="cp -fp"
19420 ;;
19421 *)
19422 ;;
19423 esac
19424
19425
19426 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19427 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19428
19429
19430 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19431 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19432 fi
19433
19434 if test "x$USE_AIX" = "x1"; then
19435 if test "x$XLCXX" = "xyes"; then
19436 CXXFLAGS="-qunique $CXXFLAGS"
19437 fi
19438
19439 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19440 fi
19441
19442 case "${host}" in
19443 powerpc-*-darwin* )
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19445 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448
19449 int
19450 main ()
19451 {
19452 #ifndef __POWERPC__
19453 choke me for lack of PowerPC
19454 #endif
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 if ac_fn_c_try_compile "$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}: result: no" >&5
19465 $as_echo "no" >&6; }
19466 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19467
19468
19469 fi
19470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 ;;
19472 esac
19473
19474 case "${host}" in
19475 *-*-darwin* )
19476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19477 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19479 /* end confdefs.h. */
19480 #include <CoreFoundation/CFBase.h>
19481
19482 int
19483 main ()
19484 {
19485
19486 ;
19487 return 0;
19488 }
19489 _ACEOF
19490 if ac_fn_c_try_compile "$LINENO"; then :
19491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19492 $as_echo "yes" >&6; }
19493 else
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19495 $as_echo "no" >&6; }
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19497 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19500 #define __CF_USE_FRAMEWORK_INCLUDES__
19501 #include <CoreFoundation/CFBase.h>
19502
19503 int
19504 main ()
19505 {
19506
19507 ;
19508 return 0;
19509 }
19510 _ACEOF
19511 if ac_fn_c_try_compile "$LINENO"; then :
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19513 $as_echo "yes" >&6; }
19514 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19515 else
19516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19518 as_fn_error $? "no. CoreFoundation not available.
19519 See \`config.log' for more details" "$LINENO" 5; }
19520
19521 fi
19522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19523
19524
19525 fi
19526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19527 ;;
19528 esac
19529
19530 wants_win32=0
19531 doesnt_want_win32=0
19532 case "${host}" in
19533 *-*-cygwin*)
19534 if test "$wxUSE_MSW" = 1 ; then
19535 wants_win32=1
19536 else
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19538 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19539 if ${wx_cv_nocygwin+:} false; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542
19543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19544 /* end confdefs.h. */
19545
19546 int
19547 main ()
19548 {
19549
19550 #ifdef __MINGW32__
19551 choke me
19552 #endif
19553
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 if ac_fn_c_try_compile "$LINENO"; then :
19559 wx_cv_nocygwin=no
19560 else
19561 wx_cv_nocygwin=yes
19562
19563 fi
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19565
19566
19567 fi
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19569 $as_echo "$wx_cv_nocygwin" >&6; }
19570
19571 if test "$wx_cv_nocygwin" = "yes"; then
19572 wants_win32=1
19573 else
19574 doesnt_want_win32=1
19575 fi
19576 fi
19577 if test "$wants_win32" = 1 ; then
19578 BAKEFILE_FORCE_PLATFORM=win32
19579 fi
19580 ;;
19581 *-*-mingw*)
19582 wants_win32=1
19583 ;;
19584 esac
19585
19586 if test "$wxUSE_WINE" = "yes"; then
19587 wants_win32=1
19588 LDFLAGS_GUI="-mwindows"
19589 fi
19590
19591 if test "$wants_win32" = 1 ; then
19592 USE_UNIX=0
19593 USE_WIN32=1
19594 $as_echo "#define __WIN32__ 1" >>confdefs.h
19595
19596 $as_echo "#define __WIN95__ 1" >>confdefs.h
19597
19598 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19599
19600 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19601
19602 $as_echo "#define STRICT 1" >>confdefs.h
19603
19604 fi
19605 if test "$doesnt_want_win32" = 1 ; then
19606 USE_UNIX=1
19607 USE_WIN32=0
19608 fi
19609
19610 if test "$USE_UNIX" = 1 ; then
19611 wxUSE_UNIX=yes
19612 $as_echo "#define __UNIX__ 1" >>confdefs.h
19613
19614 fi
19615
19616 case "${host}" in
19617 *-pc-os2_emx | *-pc-os2-emx )
19618 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19620 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19621 if ${ac_cv_lib_cExt_drand48+:} false; then :
19622 $as_echo_n "(cached) " >&6
19623 else
19624 ac_check_lib_save_LIBS=$LIBS
19625 LIBS="-lcExt $LIBS"
19626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19627 /* end confdefs.h. */
19628
19629 /* Override any GCC internal prototype to avoid an error.
19630 Use char because int might match the return type of a GCC
19631 builtin and then its argument prototype would still apply. */
19632 #ifdef __cplusplus
19633 extern "C"
19634 #endif
19635 char drand48 ();
19636 int
19637 main ()
19638 {
19639 return drand48 ();
19640 ;
19641 return 0;
19642 }
19643 _ACEOF
19644 if ac_fn_c_try_link "$LINENO"; then :
19645 ac_cv_lib_cExt_drand48=yes
19646 else
19647 ac_cv_lib_cExt_drand48=no
19648 fi
19649 rm -f core conftest.err conftest.$ac_objext \
19650 conftest$ac_exeext conftest.$ac_ext
19651 LIBS=$ac_check_lib_save_LIBS
19652 fi
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19654 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19655 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19656 LIBS="$LIBS -lcExt"
19657 fi
19658
19659 else
19660 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19661 fi
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19663 $as_echo_n "checking for gcc/libc version... " >&6; }
19664 if ${wx_cv_gccversion+:} false; then :
19665 $as_echo_n "(cached) " >&6
19666 else
19667
19668 if test "$cross_compiling" = yes; then :
19669 wx_cv_gccversion="EMX2"
19670
19671 else
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674
19675 #include <stdio.h>
19676
19677 int main()
19678 {
19679 FILE *f=fopen("conftestval", "w");
19680 if (!f) exit(1);
19681 fprintf(f,
19682 #if (__GNUC__ < 3)
19683 "EMX2"
19684 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19685 "EMX3"
19686 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19687 "Innotek5"
19688 #else
19689 "Innotek6"
19690 #endif
19691 );
19692 exit(0);
19693 }
19694
19695 _ACEOF
19696 if ac_fn_c_try_run "$LINENO"; then :
19697 wx_cv_gccversion=`cat conftestval`
19698 else
19699 wx_cv_gccversion="EMX2"
19700 fi
19701 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19702 conftest.$ac_objext conftest.beam conftest.$ac_ext
19703 fi
19704
19705
19706 fi
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19708 $as_echo "$wx_cv_gccversion" >&6; }
19709 if test "$wx_cv_gccversion" = "EMX2"; then
19710 LIBS="$LIBS -lstdcpp"
19711 LDFLAGS="$LDFLAGS -Zsysv-signals"
19712 else
19713 if test "$wx_cv_gccversion" = "EMX3"; then
19714 LIBS="$LIBS -lstdcxx -lgcc"
19715 LDFLAGS="$LDFLAGS -Zsysv-signals"
19716 else
19717 LIBS="$LIBS -lstdc++"
19718 fi
19719 fi
19720 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19722 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19723 wxUSE_OMF=yes
19724 enable_omf=yes
19725 fi
19726 ;;
19727 *)
19728
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19730 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19731 if ${ac_cv_string_strcasecmp+:} false; then :
19732 $as_echo_n "(cached) " >&6
19733 else
19734
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737
19738 #include <string.h>
19739
19740 int
19741 main ()
19742 {
19743
19744 strcasecmp("foo", "bar");
19745
19746 ;
19747 return 0;
19748 }
19749 _ACEOF
19750 if ac_fn_c_try_link "$LINENO"; then :
19751 ac_cv_string_strcasecmp=yes
19752 else
19753 ac_cv_string_strcasecmp=no
19754
19755 fi
19756 rm -f core conftest.err conftest.$ac_objext \
19757 conftest$ac_exeext conftest.$ac_ext
19758
19759 fi
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19761 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19762
19763 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19764 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19765
19766 else
19767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19768 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19769 if ${ac_cv_strings_strcasecmp+:} false; then :
19770 $as_echo_n "(cached) " >&6
19771 else
19772
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775
19776 #include <strings.h>
19777
19778 int
19779 main ()
19780 {
19781
19782 strcasecmp("foo", "bar");
19783
19784 ;
19785 return 0;
19786 }
19787 _ACEOF
19788 if ac_fn_c_try_link "$LINENO"; then :
19789 ac_cv_strings_strcasecmp=yes
19790 else
19791 ac_cv_strings_strcasecmp=no
19792
19793 fi
19794 rm -f core conftest.err conftest.$ac_objext \
19795 conftest$ac_exeext conftest.$ac_ext
19796
19797 fi
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19799 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19800
19801 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19802 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19803
19804 else
19805 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19806 fi
19807 fi
19808
19809 ;;
19810 esac
19811
19812
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19814 $as_echo_n "checking for ANSI C header files... " >&6; }
19815 if ${ac_cv_header_stdc+:} false; then :
19816 $as_echo_n "(cached) " >&6
19817 else
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820 #include <stdlib.h>
19821 #include <stdarg.h>
19822 #include <string.h>
19823 #include <float.h>
19824
19825 int
19826 main ()
19827 {
19828
19829 ;
19830 return 0;
19831 }
19832 _ACEOF
19833 if ac_fn_c_try_compile "$LINENO"; then :
19834 ac_cv_header_stdc=yes
19835 else
19836 ac_cv_header_stdc=no
19837 fi
19838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19839
19840 if test $ac_cv_header_stdc = yes; then
19841 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19843 /* end confdefs.h. */
19844 #include <string.h>
19845
19846 _ACEOF
19847 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19848 $EGREP "memchr" >/dev/null 2>&1; then :
19849
19850 else
19851 ac_cv_header_stdc=no
19852 fi
19853 rm -f conftest*
19854
19855 fi
19856
19857 if test $ac_cv_header_stdc = yes; then
19858 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19860 /* end confdefs.h. */
19861 #include <stdlib.h>
19862
19863 _ACEOF
19864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19865 $EGREP "free" >/dev/null 2>&1; then :
19866
19867 else
19868 ac_cv_header_stdc=no
19869 fi
19870 rm -f conftest*
19871
19872 fi
19873
19874 if test $ac_cv_header_stdc = yes; then
19875 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19876 if test "$cross_compiling" = yes; then :
19877 :
19878 else
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19881 #include <ctype.h>
19882 #include <stdlib.h>
19883 #if ((' ' & 0x0FF) == 0x020)
19884 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19885 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19886 #else
19887 # define ISLOWER(c) \
19888 (('a' <= (c) && (c) <= 'i') \
19889 || ('j' <= (c) && (c) <= 'r') \
19890 || ('s' <= (c) && (c) <= 'z'))
19891 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19892 #endif
19893
19894 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19895 int
19896 main ()
19897 {
19898 int i;
19899 for (i = 0; i < 256; i++)
19900 if (XOR (islower (i), ISLOWER (i))
19901 || toupper (i) != TOUPPER (i))
19902 return 2;
19903 return 0;
19904 }
19905 _ACEOF
19906 if ac_fn_c_try_run "$LINENO"; then :
19907
19908 else
19909 ac_cv_header_stdc=no
19910 fi
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19912 conftest.$ac_objext conftest.beam conftest.$ac_ext
19913 fi
19914
19915 fi
19916 fi
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19918 $as_echo "$ac_cv_header_stdc" >&6; }
19919 if test $ac_cv_header_stdc = yes; then
19920
19921 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19922
19923 fi
19924
19925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19926 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19927 inttypes.h stdint.h unistd.h
19928 do :
19929 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19930 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19931 "
19932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19933 cat >>confdefs.h <<_ACEOF
19934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19935 _ACEOF
19936
19937 fi
19938
19939 done
19940
19941
19942 for ac_header in langinfo.h wchar.h
19943 do :
19944 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19945 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19946 "
19947 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19948 cat >>confdefs.h <<_ACEOF
19949 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19950 _ACEOF
19951
19952 fi
19953
19954 done
19955
19956
19957 if test "$ac_cv_header_wchar_h" != "yes"; then
19958 for ac_header in wcstr.h
19959 do :
19960 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19961 "
19962 if test "x$ac_cv_header_wcstr_h" = xyes; then :
19963 cat >>confdefs.h <<_ACEOF
19964 #define HAVE_WCSTR_H 1
19965 _ACEOF
19966
19967 fi
19968
19969 done
19970
19971 fi
19972
19973 case "${host}" in
19974 *-pc-os2_emx | *-pc-os2-emx )
19975 if test $ac_cv_header_langinfo_h = "yes" \
19976 -a \( "$wx_cv_gccversion" = "EMX2" \
19977 -o "$wx_cv_gccversion" = "EMX3" \
19978 -o "$wx_cv_gccversion" = "Innotek5" \); then
19979 LIBS="$LIBS -lintl"
19980 fi
19981 ;;
19982 esac
19983
19984 if test "$USE_UNIX" = 1 ; then
19985 for ac_header in sys/select.h
19986 do :
19987 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19988 "
19989 if test "x$ac_cv_header_sys_select_h" = xyes; then :
19990 cat >>confdefs.h <<_ACEOF
19991 #define HAVE_SYS_SELECT_H 1
19992 _ACEOF
19993
19994 fi
19995
19996 done
19997
19998 fi
19999
20000
20001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20002 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20003 if ${ac_cv_c_const+:} false; then :
20004 $as_echo_n "(cached) " >&6
20005 else
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20008
20009 int
20010 main ()
20011 {
20012
20013 #ifndef __cplusplus
20014 /* Ultrix mips cc rejects this sort of thing. */
20015 typedef int charset[2];
20016 const charset cs = { 0, 0 };
20017 /* SunOS 4.1.1 cc rejects this. */
20018 char const *const *pcpcc;
20019 char **ppc;
20020 /* NEC SVR4.0.2 mips cc rejects this. */
20021 struct point {int x, y;};
20022 static struct point const zero = {0,0};
20023 /* AIX XL C 1.02.0.0 rejects this.
20024 It does not let you subtract one const X* pointer from another in
20025 an arm of an if-expression whose if-part is not a constant
20026 expression */
20027 const char *g = "string";
20028 pcpcc = &g + (g ? g-g : 0);
20029 /* HPUX 7.0 cc rejects these. */
20030 ++pcpcc;
20031 ppc = (char**) pcpcc;
20032 pcpcc = (char const *const *) ppc;
20033 { /* SCO 3.2v4 cc rejects this sort of thing. */
20034 char tx;
20035 char *t = &tx;
20036 char const *s = 0 ? (char *) 0 : (char const *) 0;
20037
20038 *t++ = 0;
20039 if (s) return 0;
20040 }
20041 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20042 int x[] = {25, 17};
20043 const int *foo = &x[0];
20044 ++foo;
20045 }
20046 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20047 typedef const int *iptr;
20048 iptr p = 0;
20049 ++p;
20050 }
20051 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20052 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20053 struct s { int j; const int *ap[3]; } bx;
20054 struct s *b = &bx; b->j = 5;
20055 }
20056 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20057 const int foo = 10;
20058 if (!foo) return 0;
20059 }
20060 return !cs[0] && !zero.x;
20061 #endif
20062
20063 ;
20064 return 0;
20065 }
20066 _ACEOF
20067 if ac_fn_c_try_compile "$LINENO"; then :
20068 ac_cv_c_const=yes
20069 else
20070 ac_cv_c_const=no
20071 fi
20072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20073 fi
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20075 $as_echo "$ac_cv_c_const" >&6; }
20076 if test $ac_cv_c_const = no; then
20077
20078 $as_echo "#define const /**/" >>confdefs.h
20079
20080 fi
20081
20082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20083 $as_echo_n "checking for inline... " >&6; }
20084 if ${ac_cv_c_inline+:} false; then :
20085 $as_echo_n "(cached) " >&6
20086 else
20087 ac_cv_c_inline=no
20088 for ac_kw in inline __inline__ __inline; do
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #ifndef __cplusplus
20092 typedef int foo_t;
20093 static $ac_kw foo_t static_foo () {return 0; }
20094 $ac_kw foo_t foo () {return 0; }
20095 #endif
20096
20097 _ACEOF
20098 if ac_fn_c_try_compile "$LINENO"; then :
20099 ac_cv_c_inline=$ac_kw
20100 fi
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 test "$ac_cv_c_inline" != no && break
20103 done
20104
20105 fi
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20107 $as_echo "$ac_cv_c_inline" >&6; }
20108
20109 case $ac_cv_c_inline in
20110 inline | yes) ;;
20111 *)
20112 case $ac_cv_c_inline in
20113 no) ac_val=;;
20114 *) ac_val=$ac_cv_c_inline;;
20115 esac
20116 cat >>confdefs.h <<_ACEOF
20117 #ifndef __cplusplus
20118 #define inline $ac_val
20119 #endif
20120 _ACEOF
20121 ;;
20122 esac
20123
20124
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20130 $as_echo_n "checking size of short... " >&6; }
20131 if ${ac_cv_sizeof_short+:} false; then :
20132 $as_echo_n "(cached) " >&6
20133 else
20134 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20135
20136 else
20137 if test "$ac_cv_type_short" = yes; then
20138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20140 as_fn_error 77 "cannot compute sizeof (short)
20141 See \`config.log' for more details" "$LINENO" 5; }
20142 else
20143 ac_cv_sizeof_short=0
20144 fi
20145 fi
20146
20147 fi
20148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20149 $as_echo "$ac_cv_sizeof_short" >&6; }
20150
20151
20152
20153 cat >>confdefs.h <<_ACEOF
20154 #define SIZEOF_SHORT $ac_cv_sizeof_short
20155 _ACEOF
20156
20157
20158 # The cast to long int works around a bug in the HP C Compiler
20159 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20160 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20161 # This bug is HP SR number 8606223364.
20162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20163 $as_echo_n "checking size of void *... " >&6; }
20164 if ${ac_cv_sizeof_void_p+:} false; then :
20165 $as_echo_n "(cached) " >&6
20166 else
20167 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20168
20169 else
20170 if test "$ac_cv_type_void_p" = yes; then
20171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20173 as_fn_error 77 "cannot compute sizeof (void *)
20174 See \`config.log' for more details" "$LINENO" 5; }
20175 else
20176 ac_cv_sizeof_void_p=0
20177 fi
20178 fi
20179
20180 fi
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20182 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20183
20184
20185
20186 cat >>confdefs.h <<_ACEOF
20187 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20188 _ACEOF
20189
20190
20191 # The cast to long int works around a bug in the HP C Compiler
20192 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20193 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20194 # This bug is HP SR number 8606223364.
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20196 $as_echo_n "checking size of int... " >&6; }
20197 if ${ac_cv_sizeof_int+:} false; then :
20198 $as_echo_n "(cached) " >&6
20199 else
20200 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20201
20202 else
20203 if test "$ac_cv_type_int" = yes; then
20204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20206 as_fn_error 77 "cannot compute sizeof (int)
20207 See \`config.log' for more details" "$LINENO" 5; }
20208 else
20209 ac_cv_sizeof_int=0
20210 fi
20211 fi
20212
20213 fi
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20215 $as_echo "$ac_cv_sizeof_int" >&6; }
20216
20217
20218
20219 cat >>confdefs.h <<_ACEOF
20220 #define SIZEOF_INT $ac_cv_sizeof_int
20221 _ACEOF
20222
20223
20224 # The cast to long int works around a bug in the HP C Compiler
20225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20227 # This bug is HP SR number 8606223364.
20228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20229 $as_echo_n "checking size of long... " >&6; }
20230 if ${ac_cv_sizeof_long+:} false; then :
20231 $as_echo_n "(cached) " >&6
20232 else
20233 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20234
20235 else
20236 if test "$ac_cv_type_long" = yes; then
20237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20239 as_fn_error 77 "cannot compute sizeof (long)
20240 See \`config.log' for more details" "$LINENO" 5; }
20241 else
20242 ac_cv_sizeof_long=0
20243 fi
20244 fi
20245
20246 fi
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20248 $as_echo "$ac_cv_sizeof_long" >&6; }
20249
20250
20251
20252 cat >>confdefs.h <<_ACEOF
20253 #define SIZEOF_LONG $ac_cv_sizeof_long
20254 _ACEOF
20255
20256
20257 # The cast to long int works around a bug in the HP C Compiler
20258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20260 # This bug is HP SR number 8606223364.
20261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20262 $as_echo_n "checking size of size_t... " >&6; }
20263 if ${ac_cv_sizeof_size_t+:} false; then :
20264 $as_echo_n "(cached) " >&6
20265 else
20266 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20267
20268 else
20269 if test "$ac_cv_type_size_t" = yes; then
20270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20272 as_fn_error 77 "cannot compute sizeof (size_t)
20273 See \`config.log' for more details" "$LINENO" 5; }
20274 else
20275 ac_cv_sizeof_size_t=0
20276 fi
20277 fi
20278
20279 fi
20280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20281 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20282
20283
20284
20285 cat >>confdefs.h <<_ACEOF
20286 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20287 _ACEOF
20288
20289
20290
20291 case "${host}" in
20292 arm-*-linux* )
20293 # The cast to long int works around a bug in the HP C Compiler
20294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20296 # This bug is HP SR number 8606223364.
20297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20298 $as_echo_n "checking size of long long... " >&6; }
20299 if ${ac_cv_sizeof_long_long+:} false; then :
20300 $as_echo_n "(cached) " >&6
20301 else
20302 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20303
20304 else
20305 if test "$ac_cv_type_long_long" = yes; then
20306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20308 as_fn_error 77 "cannot compute sizeof (long long)
20309 See \`config.log' for more details" "$LINENO" 5; }
20310 else
20311 ac_cv_sizeof_long_long=0
20312 fi
20313 fi
20314
20315 fi
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20317 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20318
20319
20320
20321 cat >>confdefs.h <<_ACEOF
20322 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20323 _ACEOF
20324
20325
20326 ;;
20327 *-hp-hpux* )
20328 # The cast to long int works around a bug in the HP C Compiler
20329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20331 # This bug is HP SR number 8606223364.
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20333 $as_echo_n "checking size of long long... " >&6; }
20334 if ${ac_cv_sizeof_long_long+:} false; then :
20335 $as_echo_n "(cached) " >&6
20336 else
20337 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20338
20339 else
20340 if test "$ac_cv_type_long_long" = yes; then
20341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20343 as_fn_error 77 "cannot compute sizeof (long long)
20344 See \`config.log' for more details" "$LINENO" 5; }
20345 else
20346 ac_cv_sizeof_long_long=0
20347 fi
20348 fi
20349
20350 fi
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20352 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20353
20354
20355
20356 cat >>confdefs.h <<_ACEOF
20357 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20358 _ACEOF
20359
20360
20361 if test "$ac_cv_sizeof_long_long" != 0; then
20362 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20363 fi
20364 ;;
20365 * )
20366 # The cast to long int works around a bug in the HP C Compiler
20367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20369 # This bug is HP SR number 8606223364.
20370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20371 $as_echo_n "checking size of long long... " >&6; }
20372 if ${ac_cv_sizeof_long_long+:} false; then :
20373 $as_echo_n "(cached) " >&6
20374 else
20375 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20376
20377 else
20378 if test "$ac_cv_type_long_long" = yes; then
20379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20381 as_fn_error 77 "cannot compute sizeof (long long)
20382 See \`config.log' for more details" "$LINENO" 5; }
20383 else
20384 ac_cv_sizeof_long_long=0
20385 fi
20386 fi
20387
20388 fi
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20390 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20391
20392
20393
20394 cat >>confdefs.h <<_ACEOF
20395 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20396 _ACEOF
20397
20398
20399 esac
20400
20401 # The cast to long int works around a bug in the HP C Compiler
20402 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20403 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20404 # This bug is HP SR number 8606223364.
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20406 $as_echo_n "checking size of wchar_t... " >&6; }
20407 if ${ac_cv_sizeof_wchar_t+:} false; then :
20408 $as_echo_n "(cached) " >&6
20409 else
20410 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20411 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20412 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20413 # error \"fake wchar_t\"
20414 #endif
20415 #ifdef HAVE_WCHAR_H
20416 # ifdef __CYGWIN__
20417 # include <stddef.h>
20418 # endif
20419 # include <wchar.h>
20420 #endif
20421 #ifdef HAVE_STDLIB_H
20422 # include <stdlib.h>
20423 #endif
20424 #include <stdio.h>
20425
20426
20427 "; then :
20428
20429 else
20430 if test "$ac_cv_type_wchar_t" = yes; then
20431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20433 as_fn_error 77 "cannot compute sizeof (wchar_t)
20434 See \`config.log' for more details" "$LINENO" 5; }
20435 else
20436 ac_cv_sizeof_wchar_t=0
20437 fi
20438 fi
20439
20440 fi
20441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20442 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20443
20444
20445
20446 cat >>confdefs.h <<_ACEOF
20447 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20448 _ACEOF
20449
20450
20451 if test "$ac_cv_sizeof_wchar_t" = 0; then
20452 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20453 fi
20454 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20455
20456
20457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20458 $as_echo_n "checking for va_copy... " >&6; }
20459 if ${wx_cv_func_va_copy+:} false; then :
20460 $as_echo_n "(cached) " >&6
20461 else
20462
20463 ac_ext=cpp
20464 ac_cpp='$CXXCPP $CPPFLAGS'
20465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20468
20469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20470 /* end confdefs.h. */
20471
20472
20473 #include <stdarg.h>
20474 void foo(char *f, ...)
20475 {
20476 va_list ap1, ap2;
20477 va_start(ap1, f);
20478 va_copy(ap2, ap1);
20479 va_end(ap2);
20480 va_end(ap1);
20481 }
20482 int main()
20483 {
20484 foo("hi", 17);
20485 return 0;
20486 }
20487
20488 _ACEOF
20489 if ac_fn_cxx_try_link "$LINENO"; then :
20490 wx_cv_func_va_copy=yes
20491 else
20492 wx_cv_func_va_copy=no
20493
20494 fi
20495 rm -f core conftest.err conftest.$ac_objext \
20496 conftest$ac_exeext conftest.$ac_ext
20497 ac_ext=c
20498 ac_cpp='$CPP $CPPFLAGS'
20499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502
20503
20504
20505 fi
20506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20507 $as_echo "$wx_cv_func_va_copy" >&6; }
20508
20509 if test $wx_cv_func_va_copy = "yes"; then
20510 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20511
20512 else
20513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20514 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20515 if ${wx_cv_type_va_list_lvalue+:} false; then :
20516 $as_echo_n "(cached) " >&6
20517 else
20518
20519 if test "$cross_compiling" = yes; then :
20520 wx_cv_type_va_list_lvalue=yes
20521
20522 else
20523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20524 /* end confdefs.h. */
20525
20526
20527 #include <stdarg.h>
20528 int foo(char *f, ...)
20529 {
20530 va_list ap1, ap2;
20531 va_start(ap1, f);
20532 ap2 = ap1;
20533 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20534 return 1;
20535 va_end(ap2);
20536 va_end(ap1);
20537 return 0;
20538 }
20539 int main()
20540 {
20541 return foo("hi", 17);
20542 }
20543
20544 _ACEOF
20545 if ac_fn_c_try_run "$LINENO"; then :
20546 wx_cv_type_va_list_lvalue=yes
20547 else
20548 wx_cv_type_va_list_lvalue=no
20549 fi
20550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20551 conftest.$ac_objext conftest.beam conftest.$ac_ext
20552 fi
20553
20554
20555
20556 fi
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20558 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20559
20560 if test $wx_cv_type_va_list_lvalue != "yes"; then
20561 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20562
20563 fi
20564 fi
20565
20566 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20567
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20569 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20570 if ${wx_cv_have_variadic_macros+:} false; then :
20571 $as_echo_n "(cached) " >&6
20572 else
20573
20574 ac_ext=cpp
20575 ac_cpp='$CXXCPP $CPPFLAGS'
20576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20579
20580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20581 /* end confdefs.h. */
20582
20583
20584 #include <stdio.h>
20585 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20586
20587 int
20588 main ()
20589 {
20590
20591 test("%s %d %p", "test", 1, 0);
20592
20593
20594 ;
20595 return 0;
20596 }
20597 _ACEOF
20598 if ac_fn_cxx_try_compile "$LINENO"; then :
20599 wx_cv_have_variadic_macros=yes
20600 else
20601 wx_cv_have_variadic_macros=no
20602
20603 fi
20604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20605 ac_ext=c
20606 ac_cpp='$CPP $CPPFLAGS'
20607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20610
20611
20612
20613 fi
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20615 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20616
20617 if test $wx_cv_have_variadic_macros = "yes"; then
20618 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20619
20620 fi
20621
20622 fi
20623
20624 LARGEFILE_CPPFLAGS=
20625 # Check whether --enable-largefile was given.
20626 if test "${enable_largefile+set}" = set; then :
20627 enableval=$enable_largefile;
20628 fi
20629
20630 if test "$enable_largefile" != no; then
20631 wx_largefile=no
20632
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20634 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20635 if ${ac_cv_sys_file_offset_bits+:} false; then :
20636 $as_echo_n "(cached) " >&6
20637 else
20638
20639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20640 /* end confdefs.h. */
20641 #define _FILE_OFFSET_BITS 64
20642 #include <sys/types.h>
20643 int
20644 main ()
20645 {
20646 typedef struct {
20647 unsigned int field: sizeof(off_t) == 8;
20648 } wxlf;
20649
20650 ;
20651 return 0;
20652 }
20653 _ACEOF
20654 if ac_fn_c_try_compile "$LINENO"; then :
20655 ac_cv_sys_file_offset_bits=64
20656 else
20657 ac_cv_sys_file_offset_bits=no
20658 fi
20659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20660
20661
20662 fi
20663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20664 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20665
20666 if test "$ac_cv_sys_file_offset_bits" != no; then
20667 wx_largefile=yes
20668 cat >>confdefs.h <<_ACEOF
20669 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20670 _ACEOF
20671
20672 fi
20673
20674 if test "x$wx_largefile" != "xyes"; then
20675
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20677 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20678 if ${ac_cv_sys_large_files+:} false; then :
20679 $as_echo_n "(cached) " >&6
20680 else
20681
20682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20683 /* end confdefs.h. */
20684 #define _LARGE_FILES 1
20685 #include <sys/types.h>
20686 int
20687 main ()
20688 {
20689 typedef struct {
20690 unsigned int field: sizeof(off_t) == 8;
20691 } wxlf;
20692
20693 ;
20694 return 0;
20695 }
20696 _ACEOF
20697 if ac_fn_c_try_compile "$LINENO"; then :
20698 ac_cv_sys_large_files=1
20699 else
20700 ac_cv_sys_large_files=no
20701 fi
20702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20703
20704
20705 fi
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20707 $as_echo "$ac_cv_sys_large_files" >&6; }
20708
20709 if test "$ac_cv_sys_large_files" != no; then
20710 wx_largefile=yes
20711 cat >>confdefs.h <<_ACEOF
20712 #define _LARGE_FILES $ac_cv_sys_large_files
20713 _ACEOF
20714
20715 fi
20716
20717 fi
20718
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20720 $as_echo_n "checking if large file support is available... " >&6; }
20721 if test "x$wx_largefile" = "xyes"; then
20722 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20723
20724 fi
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20726 $as_echo "$wx_largefile" >&6; }
20727 fi
20728
20729 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20730 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20731 elif test "$ac_cv_sys_large_files" = 1; then
20732 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20733 fi
20734
20735 if test -n "$LARGEFILE_CPPFLAGS"; then
20736 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20737
20738 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20740 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20741 if ${wx_cv_STDC_EXT_required+:} false; then :
20742 $as_echo_n "(cached) " >&6
20743 else
20744
20745 ac_ext=cpp
20746 ac_cpp='$CXXCPP $CPPFLAGS'
20747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20750
20751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20753
20754 int
20755 main ()
20756 {
20757
20758 #ifndef __STDC_EXT__
20759 choke me
20760 #endif
20761
20762 ;
20763 return 0;
20764 }
20765 _ACEOF
20766 if ac_fn_cxx_try_compile "$LINENO"; then :
20767 wx_cv_STDC_EXT_required=no
20768 else
20769 wx_cv_STDC_EXT_required=yes
20770
20771 fi
20772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20773 ac_ext=c
20774 ac_cpp='$CPP $CPPFLAGS'
20775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20778
20779
20780
20781 fi
20782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20783 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20784 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20785 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20786 fi
20787 fi
20788 fi
20789
20790 ac_ext=cpp
20791 ac_cpp='$CXXCPP $CPPFLAGS'
20792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20795
20796 old_CPPFLAGS="$CPPFLAGS"
20797 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20799 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20800 if ${ac_cv_sys_largefile_source+:} false; then :
20801 $as_echo_n "(cached) " >&6
20802 else
20803 while :; do
20804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20806 #include <sys/types.h> /* for off_t */
20807 #include <stdio.h>
20808 int
20809 main ()
20810 {
20811 int (*fp) (FILE *, off_t, int) = fseeko;
20812 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20813 ;
20814 return 0;
20815 }
20816 _ACEOF
20817 if ac_fn_cxx_try_link "$LINENO"; then :
20818 ac_cv_sys_largefile_source=no; break
20819 fi
20820 rm -f core conftest.err conftest.$ac_objext \
20821 conftest$ac_exeext conftest.$ac_ext
20822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20824 #define _LARGEFILE_SOURCE 1
20825 #include <sys/types.h> /* for off_t */
20826 #include <stdio.h>
20827 int
20828 main ()
20829 {
20830 int (*fp) (FILE *, off_t, int) = fseeko;
20831 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20832 ;
20833 return 0;
20834 }
20835 _ACEOF
20836 if ac_fn_cxx_try_link "$LINENO"; then :
20837 ac_cv_sys_largefile_source=1; break
20838 fi
20839 rm -f core conftest.err conftest.$ac_objext \
20840 conftest$ac_exeext conftest.$ac_ext
20841 ac_cv_sys_largefile_source=unknown
20842 break
20843 done
20844 fi
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20846 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20847 case $ac_cv_sys_largefile_source in #(
20848 no | unknown) ;;
20849 *)
20850 cat >>confdefs.h <<_ACEOF
20851 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20852 _ACEOF
20853 ;;
20854 esac
20855 rm -rf conftest*
20856
20857 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20858 # in glibc 2.1.3, but that breaks too many other things.
20859 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20860 if test $ac_cv_sys_largefile_source != unknown; then
20861
20862 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20863
20864 fi
20865
20866 CPPFLAGS="$old_CPPFLAGS"
20867 ac_ext=c
20868 ac_cpp='$CPP $CPPFLAGS'
20869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20872
20873 if test "$ac_cv_sys_largefile_source" != no; then
20874 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20875 fi
20876
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20878 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20879 if ${ac_cv_c_bigendian+:} false; then :
20880 $as_echo_n "(cached) " >&6
20881 else
20882 ac_cv_c_bigendian=unknown
20883 # See if sys/param.h defines the BYTE_ORDER macro.
20884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20886 #include <sys/types.h>
20887 #include <sys/param.h>
20888 int
20889 main ()
20890 {
20891
20892 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20893 bogus endian macros
20894 #endif
20895 ;
20896 return 0;
20897 }
20898 _ACEOF
20899 if ac_fn_c_try_compile "$LINENO"; then :
20900 # It does; now see whether it defined to BIG_ENDIAN or not.
20901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20902 /* end confdefs.h. */
20903 #include <sys/types.h>
20904 #include <sys/param.h>
20905 int
20906 main ()
20907 {
20908
20909 #if BYTE_ORDER != BIG_ENDIAN
20910 not big endian
20911 #endif
20912 ;
20913 return 0;
20914 }
20915 _ACEOF
20916 if ac_fn_c_try_compile "$LINENO"; then :
20917 ac_cv_c_bigendian=yes
20918 else
20919 ac_cv_c_bigendian=no
20920 fi
20921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20922 fi
20923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20924 if test $ac_cv_c_bigendian = unknown; then
20925 if test "$cross_compiling" = yes; then :
20926 ac_cv_c_bigendian=unknown
20927 else
20928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20929 /* end confdefs.h. */
20930 main () {
20931 /* Are we little or big endian? From Harbison&Steele. */
20932 union
20933 {
20934 long l;
20935 char c[sizeof (long)];
20936 } u;
20937 u.l = 1;
20938 exit (u.c[sizeof (long) - 1] == 1);
20939 }
20940 _ACEOF
20941 if ac_fn_c_try_run "$LINENO"; then :
20942 ac_cv_c_bigendian=no
20943 else
20944 ac_cv_c_bigendian=yes
20945 fi
20946 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20947 conftest.$ac_objext conftest.beam conftest.$ac_ext
20948 fi
20949
20950 fi
20951 fi
20952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20953 $as_echo "$ac_cv_c_bigendian" >&6; }
20954 if test $ac_cv_c_bigendian = unknown; then
20955 { $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
20956 $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;}
20957 fi
20958 if test $ac_cv_c_bigendian = yes; then
20959 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20960
20961 fi
20962
20963
20964
20965
20966 ac_ext=cpp
20967 ac_cpp='$CXXCPP $CPPFLAGS'
20968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20971
20972
20973 for ac_header in iostream
20974 do :
20975 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
20976 "
20977 if test "x$ac_cv_header_iostream" = xyes; then :
20978 cat >>confdefs.h <<_ACEOF
20979 #define HAVE_IOSTREAM 1
20980 _ACEOF
20981
20982 fi
20983
20984 done
20985
20986
20987 if test "$ac_cv_header_iostream" = "yes" ; then
20988 :
20989 else
20990 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20991
20992 fi
20993
20994 ac_ext=c
20995 ac_cpp='$CPP $CPPFLAGS'
20996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20999
21000
21001
21002
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21004 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21005 if ${wx_cv_explicit+:} false; then :
21006 $as_echo_n "(cached) " >&6
21007 else
21008
21009
21010 ac_ext=cpp
21011 ac_cpp='$CXXCPP $CPPFLAGS'
21012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21015
21016
21017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21018 /* end confdefs.h. */
21019
21020 class Foo { public: explicit Foo(int) {} };
21021
21022 int
21023 main ()
21024 {
21025
21026 return 0;
21027
21028 ;
21029 return 0;
21030 }
21031 _ACEOF
21032 if ac_fn_cxx_try_compile "$LINENO"; then :
21033
21034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21036
21037 class Foo { public: explicit Foo(int) {} };
21038 static void TakeFoo(const Foo& foo) { }
21039
21040 int
21041 main ()
21042 {
21043
21044 TakeFoo(17);
21045 return 0;
21046
21047 ;
21048 return 0;
21049 }
21050 _ACEOF
21051 if ac_fn_cxx_try_compile "$LINENO"; then :
21052 wx_cv_explicit=no
21053 else
21054 wx_cv_explicit=yes
21055
21056 fi
21057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058
21059 else
21060 wx_cv_explicit=no
21061
21062 fi
21063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21064
21065 ac_ext=c
21066 ac_cpp='$CPP $CPPFLAGS'
21067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21070
21071
21072 fi
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21074 $as_echo "$wx_cv_explicit" >&6; }
21075
21076 if test "$wx_cv_explicit" = "yes"; then
21077 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21078
21079 fi
21080
21081
21082 if test "x$SUNCXX" = xyes; then
21083 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21084 fi
21085
21086 if test "x$SUNCC" = xyes; then
21087 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21088 fi
21089
21090 if test "x$SGICC" = "xyes"; then
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21092 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21093 if ${wx_cv_prog_sgicc744+:} false; then :
21094 $as_echo_n "(cached) " >&6
21095 else
21096
21097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21098 /* end confdefs.h. */
21099
21100 int
21101 main ()
21102 {
21103
21104 #if _SGI_COMPILER_VERSION >= 744
21105 chock me: mipsPro is 7.4.4 or later
21106 #endif
21107
21108 ;
21109 return 0;
21110 }
21111 _ACEOF
21112 if ac_fn_c_try_compile "$LINENO"; then :
21113 wx_cv_prog_sgicc744=no
21114 else
21115 wx_cv_prog_sgicc744=yes
21116
21117 fi
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21119
21120
21121 fi
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21123 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21124
21125 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21126 CFLAGS="-woff 3970 $CFLAGS"
21127 fi
21128 fi
21129 if test "x$SGICXX" = "xyes"; then
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21131 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21132 if ${wx_cv_prog_sgicxx744+:} false; then :
21133 $as_echo_n "(cached) " >&6
21134 else
21135
21136 ac_ext=cpp
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21141
21142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21143 /* end confdefs.h. */
21144
21145 int
21146 main ()
21147 {
21148
21149 #if _SGI_COMPILER_VERSION >= 744
21150 chock me: mipsPro is 7.4.4 or later
21151 #endif
21152
21153 ;
21154 return 0;
21155 }
21156 _ACEOF
21157 if ac_fn_cxx_try_compile "$LINENO"; then :
21158 wx_cv_prog_sgicxx744=no
21159 else
21160 wx_cv_prog_sgicxx744=yes
21161
21162 fi
21163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21164 ac_ext=c
21165 ac_cpp='$CPP $CPPFLAGS'
21166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21169
21170
21171
21172 fi
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21174 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21175
21176 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21177 CXXFLAGS="-woff 3970 $CXXFLAGS"
21178 fi
21179 fi
21180
21181 if test "x$HPCC" = "xyes"; then
21182 CFLAGS="+W 2011,2450 $CFLAGS"
21183 fi
21184 if test "x$HPCXX" = "xyes"; then
21185 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21186 fi
21187
21188 if test "x$COMPAQCXX" = "xyes"; then
21189 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21190 fi
21191
21192 ac_ext=cpp
21193 ac_cpp='$CXXCPP $CPPFLAGS'
21194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21197
21198
21199 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21200 if test "$wxUSE_UNICODE" = "yes"; then
21201 std_string="std::wstring"
21202 char_type="wchar_t"
21203 else
21204 std_string="std::string"
21205 char_type="char"
21206 fi
21207
21208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21209 $as_echo_n "checking for $std_string in <string>... " >&6; }
21210 if ${wx_cv_class_stdstring+:} false; then :
21211 $as_echo_n "(cached) " >&6
21212 else
21213
21214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21216 #include <string>
21217 int
21218 main ()
21219 {
21220 $std_string foo;
21221 ;
21222 return 0;
21223 }
21224 _ACEOF
21225 if ac_fn_cxx_try_compile "$LINENO"; then :
21226 wx_cv_class_stdstring=yes
21227 else
21228 wx_cv_class_stdstring=no
21229
21230 fi
21231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21232
21233
21234 fi
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21236 $as_echo "$wx_cv_class_stdstring" >&6; }
21237
21238 if test "$wx_cv_class_stdstring" = yes; then
21239 if test "$wxUSE_UNICODE" = "yes"; then
21240 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21241
21242 fi
21243 else
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21245 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21246 if ${wx_cv_class_stdbasicstring+:} false; then :
21247 $as_echo_n "(cached) " >&6
21248 else
21249
21250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h. */
21252
21253 #ifdef HAVE_WCHAR_H
21254 # ifdef __CYGWIN__
21255 # include <stddef.h>
21256 # endif
21257 # include <wchar.h>
21258 #endif
21259 #ifdef HAVE_STDLIB_H
21260 # include <stdlib.h>
21261 #endif
21262 #include <stdio.h>
21263 #include <string>
21264
21265 int
21266 main ()
21267 {
21268 std::basic_string<$char_type> foo;
21269 const $char_type* dummy = foo.c_str();
21270 ;
21271 return 0;
21272 }
21273 _ACEOF
21274 if ac_fn_cxx_try_compile "$LINENO"; then :
21275 wx_cv_class_stdbasicstring=yes
21276 else
21277 wx_cv_class_stdbasicstring=no
21278
21279 fi
21280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21281
21282
21283 fi
21284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21285 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21286
21287 if test "$wx_cv_class_stdbasicstring" != yes; then
21288 if test "$wxUSE_STL" = "yes"; then
21289 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21290 elif test "$wxUSE_STD_STRING" = "yes"; then
21291 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21292 else
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21294 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21295 wxUSE_STD_STRING=no
21296 fi
21297 fi
21298 fi
21299 fi
21300
21301 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21302 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21303 "
21304 if test "x$ac_cv_type_std__istream" = xyes; then :
21305
21306 cat >>confdefs.h <<_ACEOF
21307 #define HAVE_STD__ISTREAM 1
21308 _ACEOF
21309
21310
21311 else
21312 wxUSE_STD_IOSTREAM=no
21313 fi
21314 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21315 "
21316 if test "x$ac_cv_type_std__ostream" = xyes; then :
21317
21318 cat >>confdefs.h <<_ACEOF
21319 #define HAVE_STD__OSTREAM 1
21320 _ACEOF
21321
21322
21323 else
21324 wxUSE_STD_IOSTREAM=no
21325 fi
21326
21327
21328 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21329 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21330 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21331 else
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21333 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21334 fi
21335 fi
21336 fi
21337
21338 if test "$wxUSE_STL" = "yes"; then
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21340 $as_echo_n "checking for basic STL functionality... " >&6; }
21341 if ${wx_cv_lib_stl+:} false; then :
21342 $as_echo_n "(cached) " >&6
21343 else
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21346 #include <string>
21347 #include <functional>
21348 #include <algorithm>
21349 #include <vector>
21350 #include <list>
21351 int
21352 main ()
21353 {
21354 std::vector<int> moo;
21355 std::list<int> foo;
21356 std::vector<int>::iterator it =
21357 std::find_if(moo.begin(), moo.end(),
21358 std::bind2nd(std::less<int>(), 3));
21359 ;
21360 return 0;
21361 }
21362 _ACEOF
21363 if ac_fn_cxx_try_compile "$LINENO"; then :
21364 wx_cv_lib_stl=yes
21365 else
21366 wx_cv_lib_stl=no
21367
21368 fi
21369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21370
21371 fi
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21373 $as_echo "$wx_cv_lib_stl" >&6; }
21374
21375 if test "$wx_cv_lib_stl" != yes; then
21376 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21377 fi
21378
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21380 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21381 if ${wx_cv_func_stdstring_compare+:} false; then :
21382 $as_echo_n "(cached) " >&6
21383 else
21384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21385 /* end confdefs.h. */
21386 #include <string>
21387 int
21388 main ()
21389 {
21390 std::string foo, bar;
21391 foo.compare(bar);
21392 foo.compare(1, 1, bar);
21393 foo.compare(1, 1, bar, 1, 1);
21394 foo.compare("");
21395 foo.compare(1, 1, "");
21396 foo.compare(1, 1, "", 2);
21397 ;
21398 return 0;
21399 }
21400 _ACEOF
21401 if ac_fn_cxx_try_compile "$LINENO"; then :
21402 wx_cv_func_stdstring_compare=yes
21403 else
21404 wx_cv_func_stdstring_compare=no
21405
21406 fi
21407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21408
21409 fi
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21411 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21412
21413 if test "$wx_cv_func_stdstring_compare" = yes; then
21414 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21415
21416 fi
21417
21418 if test "$wx_cv_class_gnuhashmapset" = yes; then
21419 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21420
21421 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21422
21423 fi
21424
21425 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21426
21427 "
21428 if test "x$ac_cv_header_unordered_map" = xyes; then :
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21430 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21431 if ${wx_cv_class_stdunorderedmapset+:} false; then :
21432 $as_echo_n "(cached) " >&6
21433 else
21434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21435 /* end confdefs.h. */
21436 #include <unordered_map>
21437 #include <unordered_set>
21438 int
21439 main ()
21440 {
21441 std::unordered_map<double*, char*> test1;
21442 std::unordered_set<char*> test2;
21443 ;
21444 return 0;
21445 }
21446 _ACEOF
21447 if ac_fn_cxx_try_compile "$LINENO"; then :
21448 wx_cv_class_stdunorderedmapset=yes
21449 else
21450 wx_cv_class_stdunorderedmapset=no
21451 fi
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453
21454
21455 fi
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21457 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21458 fi
21459
21460
21461
21462 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21463 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21464
21465 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21466
21467 else
21468 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21469
21470 "
21471 if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21473 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21474 if ${wx_cv_class_tr1unorderedmapset+:} false; then :
21475 $as_echo_n "(cached) " >&6
21476 else
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 #include <tr1/unordered_map>
21480 #include <tr1/unordered_set>
21481 int
21482 main ()
21483 {
21484 std::tr1::unordered_map<double*, char*> test1;
21485 std::tr1::unordered_set<char*> test2;
21486 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21487 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21488 #endif
21489 ;
21490 return 0;
21491 }
21492 _ACEOF
21493 if ac_fn_cxx_try_compile "$LINENO"; then :
21494 wx_cv_class_tr1unorderedmapset=yes
21495 else
21496 wx_cv_class_tr1unorderedmapset=no
21497 fi
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499
21500
21501 fi
21502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21503 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21504 fi
21505
21506
21507
21508 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21509 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21510
21511 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21512
21513 else
21514 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21515
21516 "
21517 if test "x$ac_cv_header_hash_map" = xyes; then :
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21519 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21520 if ${wx_cv_class_stdhashmapset+:} false; then :
21521 $as_echo_n "(cached) " >&6
21522 else
21523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21525 #include <hash_map>
21526 #include <hash_set>
21527 int
21528 main ()
21529 {
21530 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21531 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 if ac_fn_cxx_try_compile "$LINENO"; then :
21537 wx_cv_class_stdhashmapset=yes
21538 else
21539 wx_cv_class_stdhashmapset=no
21540 fi
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21542
21543
21544 fi
21545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21546 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21547 fi
21548
21549
21550
21551 if test "$wx_cv_class_stdhashmapset" = yes; then
21552 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21553
21554 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21555
21556 fi
21557
21558 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21559
21560 "
21561 if test "x$ac_cv_header_ext_hash_map" = xyes; then :
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21563 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21564 if ${wx_cv_class_gnuhashmapset+:} false; then :
21565 $as_echo_n "(cached) " >&6
21566 else
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21569 #include <ext/hash_map>
21570 #include <ext/hash_set>
21571 int
21572 main ()
21573 {
21574 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21575 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21576 ;
21577 return 0;
21578 }
21579 _ACEOF
21580 if ac_fn_cxx_try_compile "$LINENO"; then :
21581 wx_cv_class_gnuhashmapset=yes
21582 else
21583 wx_cv_class_gnuhashmapset=no
21584 fi
21585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21586
21587
21588 fi
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21590 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21591 fi
21592
21593
21594
21595 fi
21596 fi
21597 fi
21598
21599 ac_ext=cpp
21600 ac_cpp='$CXXCPP $CPPFLAGS'
21601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21605 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21606 if test -z "$CXXCPP"; then
21607 if ${ac_cv_prog_CXXCPP+:} false; then :
21608 $as_echo_n "(cached) " >&6
21609 else
21610 # Double quotes because CXXCPP needs to be expanded
21611 for CXXCPP in "$CXX -E" "/lib/cpp"
21612 do
21613 ac_preproc_ok=false
21614 for ac_cxx_preproc_warn_flag in '' yes
21615 do
21616 # Use a header file that comes with gcc, so configuring glibc
21617 # with a fresh cross-compiler works.
21618 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21619 # <limits.h> exists even on freestanding compilers.
21620 # On the NeXT, cc -E runs the code through the compiler's parser,
21621 # not just through cpp. "Syntax error" is here to catch this case.
21622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21623 /* end confdefs.h. */
21624 #ifdef __STDC__
21625 # include <limits.h>
21626 #else
21627 # include <assert.h>
21628 #endif
21629 Syntax error
21630 _ACEOF
21631 if ac_fn_cxx_try_cpp "$LINENO"; then :
21632
21633 else
21634 # Broken: fails on valid input.
21635 continue
21636 fi
21637 rm -f conftest.err conftest.i conftest.$ac_ext
21638
21639 # OK, works on sane cases. Now check whether nonexistent headers
21640 # can be detected and how.
21641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21642 /* end confdefs.h. */
21643 #include <ac_nonexistent.h>
21644 _ACEOF
21645 if ac_fn_cxx_try_cpp "$LINENO"; then :
21646 # Broken: success on invalid input.
21647 continue
21648 else
21649 # Passes both tests.
21650 ac_preproc_ok=:
21651 break
21652 fi
21653 rm -f conftest.err conftest.i conftest.$ac_ext
21654
21655 done
21656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21657 rm -f conftest.i conftest.err conftest.$ac_ext
21658 if $ac_preproc_ok; then :
21659 break
21660 fi
21661
21662 done
21663 ac_cv_prog_CXXCPP=$CXXCPP
21664
21665 fi
21666 CXXCPP=$ac_cv_prog_CXXCPP
21667 else
21668 ac_cv_prog_CXXCPP=$CXXCPP
21669 fi
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21671 $as_echo "$CXXCPP" >&6; }
21672 ac_preproc_ok=false
21673 for ac_cxx_preproc_warn_flag in '' yes
21674 do
21675 # Use a header file that comes with gcc, so configuring glibc
21676 # with a fresh cross-compiler works.
21677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21678 # <limits.h> exists even on freestanding compilers.
21679 # On the NeXT, cc -E runs the code through the compiler's parser,
21680 # not just through cpp. "Syntax error" is here to catch this case.
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21683 #ifdef __STDC__
21684 # include <limits.h>
21685 #else
21686 # include <assert.h>
21687 #endif
21688 Syntax error
21689 _ACEOF
21690 if ac_fn_cxx_try_cpp "$LINENO"; then :
21691
21692 else
21693 # Broken: fails on valid input.
21694 continue
21695 fi
21696 rm -f conftest.err conftest.i conftest.$ac_ext
21697
21698 # OK, works on sane cases. Now check whether nonexistent headers
21699 # can be detected and how.
21700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21701 /* end confdefs.h. */
21702 #include <ac_nonexistent.h>
21703 _ACEOF
21704 if ac_fn_cxx_try_cpp "$LINENO"; then :
21705 # Broken: success on invalid input.
21706 continue
21707 else
21708 # Passes both tests.
21709 ac_preproc_ok=:
21710 break
21711 fi
21712 rm -f conftest.err conftest.i conftest.$ac_ext
21713
21714 done
21715 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21716 rm -f conftest.i conftest.err conftest.$ac_ext
21717 if $ac_preproc_ok; then :
21718
21719 else
21720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21722 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21723 See \`config.log' for more details" "$LINENO" 5; }
21724 fi
21725
21726 ac_ext=cpp
21727 ac_cpp='$CXXCPP $CPPFLAGS'
21728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21731
21732
21733 for ac_header in type_traits tr1/type_traits
21734 do :
21735 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21736 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21737 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21738 cat >>confdefs.h <<_ACEOF
21739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21740 _ACEOF
21741
21742 fi
21743
21744 done
21745
21746
21747
21748
21749 if test -n "$GCC"; then
21750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21751 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21752 if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
21753 $as_echo_n "(cached) " >&6
21754 else
21755
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758
21759 int
21760 main ()
21761 {
21762
21763 unsigned int value=0;
21764 /* wxAtomicInc doesn't use return value here */
21765 __sync_fetch_and_add(&value, 2);
21766 __sync_sub_and_fetch(&value, 1);
21767 /* but wxAtomicDec does, so mimic that: */
21768 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21769
21770 ;
21771 return 0;
21772 }
21773 _ACEOF
21774 if ac_fn_cxx_try_link "$LINENO"; then :
21775 wx_cv_cc_gcc_atomic_builtins=yes
21776 else
21777 wx_cv_cc_gcc_atomic_builtins=no
21778 fi
21779 rm -f core conftest.err conftest.$ac_objext \
21780 conftest$ac_exeext conftest.$ac_ext
21781
21782 fi
21783
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21785 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21786 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21787 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21788
21789 fi
21790 fi
21791
21792
21793 ac_ext=c
21794 ac_cpp='$CPP $CPPFLAGS'
21795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21798
21799
21800
21801 SEARCH_INCLUDE="\
21802 /usr/local/include \
21803 /usr/local/X11/include \
21804 /usr/local/include/X11 \
21805 /usr/local/X11R7/include \
21806 /usr/local/X11R6/include \
21807 /usr/local/include/X11R7 \
21808 /usr/local/include/X11R6 \
21809 \
21810 /usr/Motif-2.1/include \
21811 /usr/Motif-1.2/include \
21812 /usr/include/Motif1.2 \
21813 \
21814 /usr/dt/include \
21815 /usr/openwin/include \
21816 \
21817 /usr/include/Xm \
21818 \
21819 /usr/X11R7/include \
21820 /usr/X11R6/include \
21821 /usr/X11R6.4/include \
21822 \
21823 /usr/include/X11R7 \
21824 /usr/include/X11R6 \
21825 \
21826 /usr/X11/include \
21827 /usr/include/X11 \
21828 \
21829 /usr/XFree86/include/X11 \
21830 /usr/pkg/include \
21831 \
21832 /usr/local/X1R5/include \
21833 /usr/local/include/X11R5 \
21834 /usr/X11R5/include \
21835 /usr/include/X11R5 \
21836 \
21837 /usr/local/X11R4/include \
21838 /usr/local/include/X11R4 \
21839 /usr/X11R4/include \
21840 /usr/include/X11R4 \
21841 \
21842 /usr/openwin/share/include"
21843
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21845 $as_echo_n "checking for libraries directories... " >&6; }
21846
21847 case "${host}" in
21848 *-*-irix6* )
21849 if ${wx_cv_std_libpath+:} false; then :
21850 $as_echo_n "(cached) " >&6
21851 else
21852
21853 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21854 for e in a so sl dylib dll.a; do
21855 libc="$d/libc.$e"
21856 if test -f $libc; then
21857 save_LIBS="$LIBS"
21858 LIBS="$libc"
21859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21860 /* end confdefs.h. */
21861
21862 int main() { return 0; }
21863
21864 _ACEOF
21865 if ac_fn_c_try_link "$LINENO"; then :
21866 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21867 fi
21868 rm -f core conftest.err conftest.$ac_objext \
21869 conftest$ac_exeext conftest.$ac_ext
21870 LIBS="$save_LIBS"
21871 if test "x$wx_cv_std_libpath" != "x"; then
21872 break 2
21873 fi
21874 fi
21875 done
21876 done
21877
21878
21879 fi
21880
21881 ;;
21882
21883 *-*-solaris2* )
21884 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21885 wx_cv_std_libpath="lib/64"
21886 fi
21887 ;;
21888
21889 *-*-linux* )
21890 if test "$ac_cv_sizeof_void_p" = 8; then
21891 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21892 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21893 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21894 wx_cv_std_libpath="lib64"
21895 fi
21896 else
21897 case "${host}" in
21898 i*86-*-linux* )
21899 if test -d '/usr/lib/i386-linux-gnu'; then
21900 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21901 fi
21902 esac
21903 fi
21904
21905 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21906 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21907 fi
21908 ;;
21909 esac
21910
21911 if test -z "$wx_cv_std_libpath"; then
21912 wx_cv_std_libpath="lib"
21913 fi
21914
21915 if test -z "$wx_cv_std_libfullpath"; then
21916 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21917 fi
21918
21919
21920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21921 $as_echo "$wx_cv_std_libfullpath" >&6; }
21922
21923 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21924
21925 if test "$build" != "$host" -a "$GCC" = yes; then
21926 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21927 cross_root=`dirname $cross_root`
21928 cross_root=`dirname $cross_root`
21929
21930 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21931 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21932 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21933
21934 if test -z "$PKG_CONFIG_PATH"; then
21935 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21936 export PKG_CONFIG_PATH
21937 fi
21938
21939 if test -z "$x_includes" -o "$x_includes" = NONE; then
21940
21941 ac_find_includes=
21942 for ac_dir in $SEARCH_INCLUDE /usr/include
21943 do
21944 if test -f "$ac_dir/X11/Intrinsic.h"; then
21945 ac_find_includes=$ac_dir
21946 break
21947 fi
21948 done
21949
21950 x_includes=$ac_find_includes
21951 fi
21952 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
21953
21954 ac_find_libraries=
21955 for ac_dir in $SEARCH_LIB
21956 do
21957 for ac_extension in a so sl dylib dll.a; do
21958 if test -f "$ac_dir/libXt.$ac_extension"; then
21959 ac_find_libraries=$ac_dir
21960 break 2
21961 fi
21962 done
21963 done
21964
21965 x_libraries=$ac_find_libraries
21966 fi
21967 fi
21968 fi
21969
21970
21971 cat >confcache <<\_ACEOF
21972 # This file is a shell script that caches the results of configure
21973 # tests run on this system so they can be shared between configure
21974 # scripts and configure runs, see configure's option --config-cache.
21975 # It is not useful on other systems. If it contains results you don't
21976 # want to keep, you may remove or edit it.
21977 #
21978 # config.status only pays attention to the cache file if you give it
21979 # the --recheck option to rerun configure.
21980 #
21981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21983 # following values.
21984
21985 _ACEOF
21986
21987 # The following way of writing the cache mishandles newlines in values,
21988 # but we know of no workaround that is simple, portable, and efficient.
21989 # So, we kill variables containing newlines.
21990 # Ultrix sh set writes to stderr and can't be redirected directly,
21991 # and sets the high bit in the cache file unless we assign to the vars.
21992 (
21993 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21994 eval ac_val=\$$ac_var
21995 case $ac_val in #(
21996 *${as_nl}*)
21997 case $ac_var in #(
21998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22000 esac
22001 case $ac_var in #(
22002 _ | IFS | as_nl) ;; #(
22003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22004 *) { eval $ac_var=; unset $ac_var;} ;;
22005 esac ;;
22006 esac
22007 done
22008
22009 (set) 2>&1 |
22010 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22011 *${as_nl}ac_space=\ *)
22012 # `set' does not quote correctly, so add quotes: double-quote
22013 # substitution turns \\\\ into \\, and sed turns \\ into \.
22014 sed -n \
22015 "s/'/'\\\\''/g;
22016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22017 ;; #(
22018 *)
22019 # `set' quotes correctly as required by POSIX, so do not add quotes.
22020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22021 ;;
22022 esac |
22023 sort
22024 ) |
22025 sed '
22026 /^ac_cv_env_/b end
22027 t clear
22028 :clear
22029 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22030 t end
22031 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22032 :end' >>confcache
22033 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22034 if test -w "$cache_file"; then
22035 if test "x$cache_file" != "x/dev/null"; then
22036 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22037 $as_echo "$as_me: updating cache $cache_file" >&6;}
22038 if test ! -f "$cache_file" || test -h "$cache_file"; then
22039 cat confcache >"$cache_file"
22040 else
22041 case $cache_file in #(
22042 */* | ?:*)
22043 mv -f confcache "$cache_file"$$ &&
22044 mv -f "$cache_file"$$ "$cache_file" ;; #(
22045 *)
22046 mv -f confcache "$cache_file" ;;
22047 esac
22048 fi
22049 fi
22050 else
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22052 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22053 fi
22054 fi
22055 rm -f confcache
22056
22057 have_cos=0
22058 have_floor=0
22059 for ac_func in cos
22060 do :
22061 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22062 if test "x$ac_cv_func_cos" = xyes; then :
22063 cat >>confdefs.h <<_ACEOF
22064 #define HAVE_COS 1
22065 _ACEOF
22066 have_cos=1
22067 fi
22068 done
22069
22070 for ac_func in floor
22071 do :
22072 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22073 if test "x$ac_cv_func_floor" = xyes; then :
22074 cat >>confdefs.h <<_ACEOF
22075 #define HAVE_FLOOR 1
22076 _ACEOF
22077 have_floor=1
22078 fi
22079 done
22080
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22082 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22083 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22085 $as_echo "yes" >&6; }
22086 else
22087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22088 $as_echo "no" >&6; }
22089 LIBS="$LIBS -lm"
22090 # use different functions to avoid configure caching
22091 have_sin=0
22092 have_ceil=0
22093 for ac_func in sin
22094 do :
22095 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22096 if test "x$ac_cv_func_sin" = xyes; then :
22097 cat >>confdefs.h <<_ACEOF
22098 #define HAVE_SIN 1
22099 _ACEOF
22100 have_sin=1
22101 fi
22102 done
22103
22104 for ac_func in ceil
22105 do :
22106 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22107 if test "x$ac_cv_func_ceil" = xyes; then :
22108 cat >>confdefs.h <<_ACEOF
22109 #define HAVE_CEIL 1
22110 _ACEOF
22111 have_ceil=1
22112 fi
22113 done
22114
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22116 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22117 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22119 $as_echo "yes" >&6; }
22120 else
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22122 $as_echo "no" >&6; }
22123 # not sure we should warn the user, crash, etc.
22124 fi
22125 fi
22126
22127 ac_ext=cpp
22128 ac_cpp='$CXXCPP $CPPFLAGS'
22129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22132
22133 if test "wxUSE_UNICODE" = "yes"; then
22134
22135 for wx_func in wcstoull
22136 do
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22138 $as_echo_n "checking for $wx_func... " >&6; }
22139 if eval \${wx_cv_func_$wx_func+:} false; then :
22140 $as_echo_n "(cached) " >&6
22141 else
22142
22143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22145
22146
22147
22148 $ac_includes_default
22149
22150 int
22151 main ()
22152 {
22153
22154 #ifndef $wx_func
22155 &$wx_func;
22156 #endif
22157
22158
22159 ;
22160 return 0;
22161 }
22162
22163 _ACEOF
22164 if ac_fn_cxx_try_link "$LINENO"; then :
22165 eval wx_cv_func_$wx_func=yes
22166 else
22167 eval wx_cv_func_$wx_func=no
22168 fi
22169 rm -f core conftest.err conftest.$ac_objext \
22170 conftest$ac_exeext conftest.$ac_ext
22171
22172 fi
22173 eval ac_res=\$wx_cv_func_$wx_func
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22175 $as_echo "$ac_res" >&6; }
22176
22177 if eval test \$wx_cv_func_$wx_func = yes
22178 then
22179 cat >>confdefs.h <<_ACEOF
22180 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22181 _ACEOF
22182
22183
22184 else
22185 :
22186
22187 fi
22188 done
22189
22190 else
22191
22192 for wx_func in strtoull
22193 do
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22195 $as_echo_n "checking for $wx_func... " >&6; }
22196 if eval \${wx_cv_func_$wx_func+:} false; then :
22197 $as_echo_n "(cached) " >&6
22198 else
22199
22200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22201 /* end confdefs.h. */
22202
22203
22204
22205 $ac_includes_default
22206
22207 int
22208 main ()
22209 {
22210
22211 #ifndef $wx_func
22212 &$wx_func;
22213 #endif
22214
22215
22216 ;
22217 return 0;
22218 }
22219
22220 _ACEOF
22221 if ac_fn_cxx_try_link "$LINENO"; then :
22222 eval wx_cv_func_$wx_func=yes
22223 else
22224 eval wx_cv_func_$wx_func=no
22225 fi
22226 rm -f core conftest.err conftest.$ac_objext \
22227 conftest$ac_exeext conftest.$ac_ext
22228
22229 fi
22230 eval ac_res=\$wx_cv_func_$wx_func
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22232 $as_echo "$ac_res" >&6; }
22233
22234 if eval test \$wx_cv_func_$wx_func = yes
22235 then
22236 cat >>confdefs.h <<_ACEOF
22237 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22238 _ACEOF
22239
22240
22241 else
22242 :
22243
22244 fi
22245 done
22246
22247 fi
22248 ac_ext=c
22249 ac_cpp='$CPP $CPPFLAGS'
22250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22253
22254
22255
22256
22257 if test "$wxUSE_REGEX" != "no"; then
22258 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22259
22260
22261 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22263 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22264 wxUSE_REGEX=builtin
22265 fi
22266
22267 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22268 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22269 "
22270 if test "x$ac_cv_header_regex_h" = xyes; then :
22271 for ac_func in regcomp re_search
22272 do :
22273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22276 cat >>confdefs.h <<_ACEOF
22277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22278 _ACEOF
22279
22280 fi
22281 done
22282
22283 fi
22284
22285
22286
22287 if test "x$ac_cv_func_regcomp" != "xyes"; then
22288 if test "$wxUSE_REGEX" = "sys" ; then
22289 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22290 else
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22292 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22293 wxUSE_REGEX=builtin
22294 fi
22295 else
22296 wxUSE_REGEX=sys
22297 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22298
22299 fi
22300 fi
22301 fi
22302
22303
22304 ZLIB_LINK=
22305 if test "$wxUSE_ZLIB" != "no" ; then
22306 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22307
22308
22309 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22310 if test "$USE_DARWIN" = 1; then
22311 system_zlib_h_ok="yes"
22312 else
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22314 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22315 if ${ac_cv_header_zlib_h+:} false; then :
22316 $as_echo_n "(cached) " >&6
22317 else
22318 if test "$cross_compiling" = yes; then :
22319 unset ac_cv_header_zlib_h
22320
22321 else
22322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22323 /* end confdefs.h. */
22324
22325 #include <zlib.h>
22326 #include <stdio.h>
22327
22328 int main()
22329 {
22330 FILE *f=fopen("conftestval", "w");
22331 if (!f) exit(1);
22332 fprintf(f, "%s",
22333 ZLIB_VERSION[0] == '1' &&
22334 (ZLIB_VERSION[2] > '1' ||
22335 (ZLIB_VERSION[2] == '1' &&
22336 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22337 exit(0);
22338 }
22339
22340 _ACEOF
22341 if ac_fn_c_try_run "$LINENO"; then :
22342 ac_cv_header_zlib_h=`cat conftestval`
22343 else
22344 ac_cv_header_zlib_h=no
22345 fi
22346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22347 conftest.$ac_objext conftest.beam conftest.$ac_ext
22348 fi
22349
22350
22351 fi
22352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22353 $as_echo "$ac_cv_header_zlib_h" >&6; }
22354 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22355 "
22356 if test "x$ac_cv_header_zlib_h" = xyes; then :
22357
22358 fi
22359
22360
22361
22362 system_zlib_h_ok=$ac_cv_header_zlib_h
22363 fi
22364
22365 if test "$system_zlib_h_ok" = "yes"; then
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22367 $as_echo_n "checking for deflate in -lz... " >&6; }
22368 if ${ac_cv_lib_z_deflate+:} false; then :
22369 $as_echo_n "(cached) " >&6
22370 else
22371 ac_check_lib_save_LIBS=$LIBS
22372 LIBS="-lz $LIBS"
22373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22374 /* end confdefs.h. */
22375
22376 /* Override any GCC internal prototype to avoid an error.
22377 Use char because int might match the return type of a GCC
22378 builtin and then its argument prototype would still apply. */
22379 #ifdef __cplusplus
22380 extern "C"
22381 #endif
22382 char deflate ();
22383 int
22384 main ()
22385 {
22386 return deflate ();
22387 ;
22388 return 0;
22389 }
22390 _ACEOF
22391 if ac_fn_c_try_link "$LINENO"; then :
22392 ac_cv_lib_z_deflate=yes
22393 else
22394 ac_cv_lib_z_deflate=no
22395 fi
22396 rm -f core conftest.err conftest.$ac_objext \
22397 conftest$ac_exeext conftest.$ac_ext
22398 LIBS=$ac_check_lib_save_LIBS
22399 fi
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22401 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22402 if test "x$ac_cv_lib_z_deflate" = xyes; then :
22403 ZLIB_LINK=" -lz"
22404 fi
22405
22406 fi
22407
22408 if test "x$ZLIB_LINK" = "x" ; then
22409 if test "$wxUSE_ZLIB" = "sys" ; then
22410 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22411 else
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22413 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22414 wxUSE_ZLIB=builtin
22415 fi
22416 else
22417 wxUSE_ZLIB=sys
22418 fi
22419 fi
22420 fi
22421
22422
22423 PNG_LINK=
22424 if test "$wxUSE_LIBPNG" != "no" ; then
22425 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22426
22427
22428 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22430 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22431 wxUSE_LIBPNG=builtin
22432 fi
22433
22434 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22436 $as_echo_n "checking for png.h > 0.90... " >&6; }
22437 if ${ac_cv_header_png_h+:} false; then :
22438 $as_echo_n "(cached) " >&6
22439 else
22440 if test "$cross_compiling" = yes; then :
22441 unset ac_cv_header_png_h
22442
22443 else
22444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22445 /* end confdefs.h. */
22446
22447 #include <png.h>
22448 #include <stdio.h>
22449
22450 int main()
22451 {
22452 FILE *f=fopen("conftestval", "w");
22453 if (!f) exit(1);
22454 fprintf(f, "%s",
22455 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22456 exit(0);
22457 }
22458
22459 _ACEOF
22460 if ac_fn_c_try_run "$LINENO"; then :
22461 ac_cv_header_png_h=`cat conftestval`
22462 else
22463 ac_cv_header_png_h=no
22464 fi
22465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22466 conftest.$ac_objext conftest.beam conftest.$ac_ext
22467 fi
22468
22469
22470 fi
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22472 $as_echo "$ac_cv_header_png_h" >&6; }
22473 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22474 "
22475 if test "x$ac_cv_header_png_h" = xyes; then :
22476
22477 fi
22478
22479
22480
22481 if test "$ac_cv_header_png_h" = "yes"; then
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22483 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22484 if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
22485 $as_echo_n "(cached) " >&6
22486 else
22487 ac_check_lib_save_LIBS=$LIBS
22488 LIBS="-lpng -lz -lm $LIBS"
22489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22490 /* end confdefs.h. */
22491
22492 /* Override any GCC internal prototype to avoid an error.
22493 Use char because int might match the return type of a GCC
22494 builtin and then its argument prototype would still apply. */
22495 #ifdef __cplusplus
22496 extern "C"
22497 #endif
22498 char png_sig_cmp ();
22499 int
22500 main ()
22501 {
22502 return png_sig_cmp ();
22503 ;
22504 return 0;
22505 }
22506 _ACEOF
22507 if ac_fn_c_try_link "$LINENO"; then :
22508 ac_cv_lib_png_png_sig_cmp=yes
22509 else
22510 ac_cv_lib_png_png_sig_cmp=no
22511 fi
22512 rm -f core conftest.err conftest.$ac_objext \
22513 conftest$ac_exeext conftest.$ac_ext
22514 LIBS=$ac_check_lib_save_LIBS
22515 fi
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22517 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22518 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
22519 PNG_LINK=" -lpng -lz"
22520 fi
22521
22522 fi
22523
22524 if test "x$PNG_LINK" = "x" ; then
22525 if test "$wxUSE_LIBPNG" = "sys" ; then
22526 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22527 else
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22529 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22530 wxUSE_LIBPNG=builtin
22531 fi
22532 else
22533 wxUSE_LIBPNG=sys
22534 fi
22535 fi
22536 fi
22537
22538
22539 JPEG_LINK=
22540 if test "$wxUSE_LIBJPEG" != "no" ; then
22541 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22542
22543
22544 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22546 $as_echo_n "checking for jpeglib.h... " >&6; }
22547 if ${ac_cv_header_jpeglib_h+:} false; then :
22548 $as_echo_n "(cached) " >&6
22549 else
22550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22551 /* end confdefs.h. */
22552
22553 #undef HAVE_STDLIB_H
22554 #include <stdio.h>
22555 #include <jpeglib.h>
22556
22557 int
22558 main ()
22559 {
22560
22561
22562 ;
22563 return 0;
22564 }
22565 _ACEOF
22566 if ac_fn_c_try_compile "$LINENO"; then :
22567 ac_cv_header_jpeglib_h=yes
22568 else
22569 ac_cv_header_jpeglib_h=no
22570
22571 fi
22572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22573
22574 fi
22575
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22577 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22578
22579 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22581 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22582 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
22583 $as_echo_n "(cached) " >&6
22584 else
22585 ac_check_lib_save_LIBS=$LIBS
22586 LIBS="-ljpeg $LIBS"
22587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22588 /* end confdefs.h. */
22589
22590 /* Override any GCC internal prototype to avoid an error.
22591 Use char because int might match the return type of a GCC
22592 builtin and then its argument prototype would still apply. */
22593 #ifdef __cplusplus
22594 extern "C"
22595 #endif
22596 char jpeg_read_header ();
22597 int
22598 main ()
22599 {
22600 return jpeg_read_header ();
22601 ;
22602 return 0;
22603 }
22604 _ACEOF
22605 if ac_fn_c_try_link "$LINENO"; then :
22606 ac_cv_lib_jpeg_jpeg_read_header=yes
22607 else
22608 ac_cv_lib_jpeg_jpeg_read_header=no
22609 fi
22610 rm -f core conftest.err conftest.$ac_objext \
22611 conftest$ac_exeext conftest.$ac_ext
22612 LIBS=$ac_check_lib_save_LIBS
22613 fi
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22615 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22616 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
22617 JPEG_LINK=" -ljpeg"
22618 fi
22619
22620 fi
22621
22622 if test "x$JPEG_LINK" = "x" ; then
22623 if test "$wxUSE_LIBJPEG" = "sys" ; then
22624 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22625 else
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22627 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22628 wxUSE_LIBJPEG=builtin
22629 fi
22630 else
22631 wxUSE_LIBJPEG=sys
22632
22633 if test "$wxUSE_MSW" = 1; then
22634 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22635 "
22636 if test "x$ac_cv_type_boolean" = xyes; then :
22637
22638 cat >>confdefs.h <<_ACEOF
22639 #define HAVE_BOOLEAN 1
22640 _ACEOF
22641
22642
22643 # The cast to long int works around a bug in the HP C Compiler
22644 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22645 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22646 # This bug is HP SR number 8606223364.
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22648 $as_echo_n "checking size of boolean... " >&6; }
22649 if ${ac_cv_sizeof_boolean+:} false; then :
22650 $as_echo_n "(cached) " >&6
22651 else
22652 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22653 #undef HAVE_BOOLEAN
22654 #include <stdio.h>
22655 #include <jpeglib.h>
22656
22657 "; then :
22658
22659 else
22660 if test "$ac_cv_type_boolean" = yes; then
22661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22663 as_fn_error 77 "cannot compute sizeof (boolean)
22664 See \`config.log' for more details" "$LINENO" 5; }
22665 else
22666 ac_cv_sizeof_boolean=0
22667 fi
22668 fi
22669
22670 fi
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22672 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22673
22674
22675
22676 cat >>confdefs.h <<_ACEOF
22677 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22678 _ACEOF
22679
22680
22681 cat >>confdefs.h <<_ACEOF
22682 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22683 _ACEOF
22684
22685
22686 fi
22687
22688 fi
22689 fi
22690 fi
22691 fi
22692
22693
22694 TIFF_LINK=
22695 TIFF_PREREQ_LINKS=-lm
22696 if test "$wxUSE_LIBTIFF" != "no" ; then
22697 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22698
22699
22700 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22701 if test "$wxUSE_LIBJPEG" = "sys"; then
22702 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22703 fi
22704 if test "$wxUSE_ZLIB" = "sys"; then
22705 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22706 fi
22707 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22708
22709 "
22710 if test "x$ac_cv_header_tiffio_h" = xyes; then :
22711
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22713 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22714 if ${ac_cv_lib_tiff_TIFFError+:} false; then :
22715 $as_echo_n "(cached) " >&6
22716 else
22717 ac_check_lib_save_LIBS=$LIBS
22718 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22721
22722 /* Override any GCC internal prototype to avoid an error.
22723 Use char because int might match the return type of a GCC
22724 builtin and then its argument prototype would still apply. */
22725 #ifdef __cplusplus
22726 extern "C"
22727 #endif
22728 char TIFFError ();
22729 int
22730 main ()
22731 {
22732 return TIFFError ();
22733 ;
22734 return 0;
22735 }
22736 _ACEOF
22737 if ac_fn_c_try_link "$LINENO"; then :
22738 ac_cv_lib_tiff_TIFFError=yes
22739 else
22740 ac_cv_lib_tiff_TIFFError=no
22741 fi
22742 rm -f core conftest.err conftest.$ac_objext \
22743 conftest$ac_exeext conftest.$ac_ext
22744 LIBS=$ac_check_lib_save_LIBS
22745 fi
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22747 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22748 if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
22749 TIFF_LINK=" -ltiff"
22750 fi
22751
22752
22753 fi
22754
22755
22756
22757 if test "x$TIFF_LINK" = "x" ; then
22758 if test "$wxUSE_LIBTIFF" = "sys" ; then
22759 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22760 else
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22762 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22763 wxUSE_LIBTIFF=builtin
22764 fi
22765 else
22766 wxUSE_LIBTIFF=sys
22767 fi
22768 fi
22769 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22770 if test "$wxUSE_LIBJPEG" = "no"; then
22771 ac_configure_args="$ac_configure_args --disable-jpeg"
22772 fi
22773
22774
22775 subdirs="$subdirs src/tiff"
22776
22777 fi
22778 fi
22779
22780
22781 if test "$wxUSE_EXPAT" != "no"; then
22782 wxUSE_XML=yes
22783 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22784
22785 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22786
22787
22788 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22789 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22790 "
22791 if test "x$ac_cv_header_expat_h" = xyes; then :
22792 found_expat_h=1
22793 fi
22794
22795
22796 if test "x$found_expat_h" = "x1"; then
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22798 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22799 if ${wx_cv_expat_is_not_broken+:} false; then :
22800 $as_echo_n "(cached) " >&6
22801 else
22802
22803 ac_ext=cpp
22804 ac_cpp='$CXXCPP $CPPFLAGS'
22805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22808
22809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22810 /* end confdefs.h. */
22811 #include <expat.h>
22812 int
22813 main ()
22814 {
22815
22816 ;
22817 return 0;
22818 }
22819 _ACEOF
22820 if ac_fn_cxx_try_compile "$LINENO"; then :
22821 wx_cv_expat_is_not_broken=yes
22822 else
22823 wx_cv_expat_is_not_broken=no
22824
22825 fi
22826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22827 ac_ext=c
22828 ac_cpp='$CPP $CPPFLAGS'
22829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22832
22833
22834
22835 fi
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22837 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22838 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22840 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22841 if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
22842 $as_echo_n "(cached) " >&6
22843 else
22844 ac_check_lib_save_LIBS=$LIBS
22845 LIBS="-lexpat $LIBS"
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h. */
22848
22849 /* Override any GCC internal prototype to avoid an error.
22850 Use char because int might match the return type of a GCC
22851 builtin and then its argument prototype would still apply. */
22852 #ifdef __cplusplus
22853 extern "C"
22854 #endif
22855 char XML_ParserCreate ();
22856 int
22857 main ()
22858 {
22859 return XML_ParserCreate ();
22860 ;
22861 return 0;
22862 }
22863 _ACEOF
22864 if ac_fn_c_try_link "$LINENO"; then :
22865 ac_cv_lib_expat_XML_ParserCreate=yes
22866 else
22867 ac_cv_lib_expat_XML_ParserCreate=no
22868 fi
22869 rm -f core conftest.err conftest.$ac_objext \
22870 conftest$ac_exeext conftest.$ac_ext
22871 LIBS=$ac_check_lib_save_LIBS
22872 fi
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22874 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22875 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
22876 EXPAT_LINK=" -lexpat"
22877 fi
22878
22879 fi
22880 fi
22881 if test "x$EXPAT_LINK" = "x" ; then
22882 if test "$wxUSE_EXPAT" = "sys" ; then
22883 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22884 else
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22886 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22887 wxUSE_EXPAT=builtin
22888 fi
22889 else
22890 wxUSE_EXPAT=sys
22891 fi
22892 fi
22893 if test "$wxUSE_EXPAT" = "builtin" ; then
22894 subdirs="$subdirs src/expat"
22895
22896 fi
22897 fi
22898
22899
22900
22901 if test "$wxUSE_LIBMSPACK" != "no"; then
22902 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22903 "
22904 if test "x$ac_cv_header_mspack_h" = xyes; then :
22905 found_mspack_h=1
22906 fi
22907
22908
22909 if test "x$found_mspack_h" = "x1"; then
22910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22911 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22912 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
22913 $as_echo_n "(cached) " >&6
22914 else
22915 ac_check_lib_save_LIBS=$LIBS
22916 LIBS="-lmspack $LIBS"
22917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22918 /* end confdefs.h. */
22919
22920 /* Override any GCC internal prototype to avoid an error.
22921 Use char because int might match the return type of a GCC
22922 builtin and then its argument prototype would still apply. */
22923 #ifdef __cplusplus
22924 extern "C"
22925 #endif
22926 char mspack_create_chm_decompressor ();
22927 int
22928 main ()
22929 {
22930 return mspack_create_chm_decompressor ();
22931 ;
22932 return 0;
22933 }
22934 _ACEOF
22935 if ac_fn_c_try_link "$LINENO"; then :
22936 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22937 else
22938 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22939 fi
22940 rm -f core conftest.err conftest.$ac_objext \
22941 conftest$ac_exeext conftest.$ac_ext
22942 LIBS=$ac_check_lib_save_LIBS
22943 fi
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22945 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22946 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
22947 MSPACK_LINK=" -lmspack"
22948 fi
22949
22950 fi
22951 if test "x$MSPACK_LINK" = "x" ; then
22952 wxUSE_LIBMSPACK=no
22953 fi
22954 fi
22955
22956 if test "$wxUSE_LIBMSPACK" != "no"; then
22957 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22958
22959 fi
22960
22961
22962
22963 AFMINSTALL=
22964 WIN32INSTALL=
22965
22966 TOOLKIT=
22967 TOOLKIT_INCLUDE=
22968 WIDGET_SET=
22969
22970 if test "$USE_WIN32" = 1 ; then
22971 for ac_header in w32api.h
22972 do :
22973 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22974 "
22975 if test "x$ac_cv_header_w32api_h" = xyes; then :
22976 cat >>confdefs.h <<_ACEOF
22977 #define HAVE_W32API_H 1
22978 _ACEOF
22979
22980 fi
22981
22982 done
22983
22984 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
22985 "
22986 if test "x$ac_cv_header_windows_h" = xyes; then :
22987
22988 else
22989
22990 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22991
22992 fi
22993
22994
22995
22996 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22997 case "${host}" in
22998 x86_64-*-mingw32* )
22999 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23000 ;;
23001 esac
23002 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23003 LIBS="$LIBS -loleacc"
23004 fi
23005
23006 case "${host}" in
23007 *-*-cygwin* )
23008 LIBS="$LIBS -lkernel32 -luser32"
23009 esac
23010
23011 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23012 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23013
23014 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23015
23016 WIN32INSTALL=win32install
23017 fi
23018
23019 if test "$wxUSE_GUI" = "yes"; then
23020 USE_GUI=1
23021
23022 GUI_TK_LIBRARY=
23023
23024 WXGTK1=
23025 WXGTK127=
23026 WXGTK2=
23027 WXGTK3=
23028 WXGPE=
23029
23030 if test "$wxUSE_OLD_COCOA" = 1 ; then
23031 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23033 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23034 wxUSE_PRINTING_ARCHITECTURE=no
23035 fi
23036 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23038 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23039 wxUSE_DRAG_AND_DROP=no
23040 fi
23041 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23043 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23044 wxUSE_DRAGIMAGE=no
23045 fi
23046 fi
23047
23048 if test "$wxUSE_MSW" = 1 ; then
23049 TOOLKIT=MSW
23050 GUIDIST=MSW_DIST
23051
23052 case "${host}" in
23053 *-*-mingw32* )
23054 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23055 esac
23056 fi
23057
23058 if test "$wxUSE_GTK" = 1; then
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23060 $as_echo_n "checking for GTK+ version... " >&6; }
23061
23062 gtk_version_cached=1
23063 if ${wx_cv_lib_gtk+:} false; then :
23064 $as_echo_n "(cached) " >&6
23065 else
23066
23067 gtk_version_cached=0
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23069 $as_echo "" >&6; }
23070
23071 GTK_MODULES=
23072 if test "$wxUSE_THREADS" = "yes"; then
23073 GTK_MODULES=gthread
23074 fi
23075
23076 if test -z "$wxGTK_VERSION"; then
23077 wxGTK_VERSION=any
23078 fi
23079
23080 wx_cv_lib_gtk=
23081 if test "x$wxGTK_VERSION" != "x1"
23082 then
23083 case "${host}" in
23084 *-*-solaris2* )
23085 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23086 enable_gtktest=no
23087 fi
23088 esac
23089
23090 if test "$wxGTK_VERSION" != 3; then
23091 # Check whether --enable-gtktest was given.
23092 if test "${enable_gtktest+set}" = set; then :
23093 enableval=$enable_gtktest;
23094 else
23095 enable_gtktest=yes
23096 fi
23097
23098
23099 pkg_config_args=gtk+-2.0
23100 for module in . $GTK_MODULES
23101 do
23102 case "$module" in
23103 gthread)
23104 pkg_config_args="$pkg_config_args gthread-2.0"
23105 ;;
23106 esac
23107 done
23108
23109 no_gtk=""
23110
23111 # Extract the first word of "pkg-config", so it can be a program name with args.
23112 set dummy pkg-config; ac_word=$2
23113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23114 $as_echo_n "checking for $ac_word... " >&6; }
23115 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23116 $as_echo_n "(cached) " >&6
23117 else
23118 case $PKG_CONFIG in
23119 [\\/]* | ?:[\\/]*)
23120 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23121 ;;
23122 *)
23123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23124 for as_dir in $PATH
23125 do
23126 IFS=$as_save_IFS
23127 test -z "$as_dir" && as_dir=.
23128 for ac_exec_ext in '' $ac_executable_extensions; do
23129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23130 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23132 break 2
23133 fi
23134 done
23135 done
23136 IFS=$as_save_IFS
23137
23138 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23139 ;;
23140 esac
23141 fi
23142 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23143 if test -n "$PKG_CONFIG"; then
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23145 $as_echo "$PKG_CONFIG" >&6; }
23146 else
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23148 $as_echo "no" >&6; }
23149 fi
23150
23151
23152
23153 if test x$PKG_CONFIG != xno ; then
23154 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23155 :
23156 else
23157 echo "*** pkg-config too old; version 0.7 or better required."
23158 no_gtk=yes
23159 PKG_CONFIG=no
23160 fi
23161 else
23162 no_gtk=yes
23163 fi
23164
23165 min_gtk_version=2.6.0
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23167 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23168
23169 if test x$PKG_CONFIG != xno ; then
23170 ## don't try to run the test against uninstalled libtool libs
23171 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23172 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23173 enable_gtktest=no
23174 fi
23175
23176 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23177 :
23178 else
23179 no_gtk=yes
23180 fi
23181 fi
23182
23183 if test x"$no_gtk" = x ; then
23184 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23185 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23186 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23187 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23188 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23189 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23190 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23191 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23192 if test "x$enable_gtktest" = "xyes" ; then
23193 ac_save_CFLAGS="$CFLAGS"
23194 ac_save_LIBS="$LIBS"
23195 CFLAGS="$CFLAGS $GTK_CFLAGS"
23196 LIBS="$GTK_LIBS $LIBS"
23197 rm -f conf.gtktest
23198 if test "$cross_compiling" = yes; then :
23199 echo $ac_n "cross compiling; assumed OK... $ac_c"
23200 else
23201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23202 /* end confdefs.h. */
23203
23204 #include <gtk/gtk.h>
23205 #include <stdio.h>
23206 #include <stdlib.h>
23207
23208 int
23209 main ()
23210 {
23211 int major, minor, micro;
23212 char *tmp_version;
23213
23214 system ("touch conf.gtktest");
23215
23216 /* HP/UX 9 (%@#!) writes to sscanf strings */
23217 tmp_version = g_strdup("$min_gtk_version");
23218 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23219 printf("%s, bad version string\n", "$min_gtk_version");
23220 exit(1);
23221 }
23222
23223 if ((gtk_major_version != $gtk_config_major_version) ||
23224 (gtk_minor_version != $gtk_config_minor_version) ||
23225 (gtk_micro_version != $gtk_config_micro_version))
23226 {
23227 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23228 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23229 gtk_major_version, gtk_minor_version, gtk_micro_version);
23230 printf ("*** was found! If pkg-config was correct, then it is best\n");
23231 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23232 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23233 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23234 printf("*** required on your system.\n");
23235 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23236 printf("*** to point to the correct configuration files\n");
23237 }
23238 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23239 (gtk_minor_version != GTK_MINOR_VERSION) ||
23240 (gtk_micro_version != GTK_MICRO_VERSION))
23241 {
23242 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23243 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23244 printf("*** library (version %d.%d.%d)\n",
23245 gtk_major_version, gtk_minor_version, gtk_micro_version);
23246 }
23247 else
23248 {
23249 if ((gtk_major_version > major) ||
23250 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23251 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23252 {
23253 return 0;
23254 }
23255 else
23256 {
23257 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23258 gtk_major_version, gtk_minor_version, gtk_micro_version);
23259 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23260 major, minor, micro);
23261 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23262 printf("***\n");
23263 printf("*** If you have already installed a sufficiently new version, this error\n");
23264 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23265 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23266 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23267 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23268 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23269 printf("*** so that the correct libraries are found at run-time))\n");
23270 }
23271 }
23272 return 1;
23273 }
23274
23275 _ACEOF
23276 if ac_fn_c_try_run "$LINENO"; then :
23277
23278 else
23279 no_gtk=yes
23280 fi
23281 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23282 conftest.$ac_objext conftest.beam conftest.$ac_ext
23283 fi
23284
23285 CFLAGS="$ac_save_CFLAGS"
23286 LIBS="$ac_save_LIBS"
23287 fi
23288 fi
23289 if test "x$no_gtk" = x ; then
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23291 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23292 wx_cv_lib_gtk=2.0
23293 else
23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23295 $as_echo "no" >&6; }
23296 if test "$PKG_CONFIG" = "no" ; then
23297 echo "*** A new enough version of pkg-config was not found."
23298 echo "*** See http://pkgconfig.sourceforge.net"
23299 else
23300 if test -f conf.gtktest ; then
23301 :
23302 else
23303 echo "*** Could not run GTK+ test program, checking why..."
23304 ac_save_CFLAGS="$CFLAGS"
23305 ac_save_LIBS="$LIBS"
23306 CFLAGS="$CFLAGS $GTK_CFLAGS"
23307 LIBS="$LIBS $GTK_LIBS"
23308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23309 /* end confdefs.h. */
23310
23311 #include <gtk/gtk.h>
23312 #include <stdio.h>
23313
23314 int
23315 main ()
23316 {
23317 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23318 ;
23319 return 0;
23320 }
23321 _ACEOF
23322 if ac_fn_c_try_link "$LINENO"; then :
23323 echo "*** The test program compiled, but did not run. This usually means"
23324 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23325 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23326 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23327 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23328 echo "*** is required on your system"
23329 echo "***"
23330 echo "*** If you have an old version installed, it is best to remove it, although"
23331 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23332 else
23333 echo "*** The test program failed to compile or link. See the file config.log for the"
23334 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23335 fi
23336 rm -f core conftest.err conftest.$ac_objext \
23337 conftest$ac_exeext conftest.$ac_ext
23338 CFLAGS="$ac_save_CFLAGS"
23339 LIBS="$ac_save_LIBS"
23340 fi
23341 fi
23342 GTK_CFLAGS=""
23343 GTK_LIBS=""
23344 :
23345 fi
23346
23347
23348 rm -f conf.gtktest
23349
23350 fi
23351 if test -z "$wx_cv_lib_gtk"; then
23352 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23353 # Check whether --enable-gtktest was given.
23354 if test "${enable_gtktest+set}" = set; then :
23355 enableval=$enable_gtktest;
23356 else
23357 enable_gtktest=yes
23358 fi
23359
23360
23361 pkg_config_args=gtk+-3.0
23362 for module in . $GTK_MODULES
23363 do
23364 case "$module" in
23365 gthread)
23366 pkg_config_args="$pkg_config_args gthread-2.0"
23367 ;;
23368 esac
23369 done
23370
23371 no_gtk=""
23372
23373 # Extract the first word of "pkg-config", so it can be a program name with args.
23374 set dummy pkg-config; ac_word=$2
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23376 $as_echo_n "checking for $ac_word... " >&6; }
23377 if ${ac_cv_path_PKG_CONFIG+:} false; then :
23378 $as_echo_n "(cached) " >&6
23379 else
23380 case $PKG_CONFIG in
23381 [\\/]* | ?:[\\/]*)
23382 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23383 ;;
23384 *)
23385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23386 for as_dir in $PATH
23387 do
23388 IFS=$as_save_IFS
23389 test -z "$as_dir" && as_dir=.
23390 for ac_exec_ext in '' $ac_executable_extensions; do
23391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23392 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23394 break 2
23395 fi
23396 done
23397 done
23398 IFS=$as_save_IFS
23399
23400 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23401 ;;
23402 esac
23403 fi
23404 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23405 if test -n "$PKG_CONFIG"; then
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23407 $as_echo "$PKG_CONFIG" >&6; }
23408 else
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23410 $as_echo "no" >&6; }
23411 fi
23412
23413
23414
23415 if test x$PKG_CONFIG != xno ; then
23416 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23417 :
23418 else
23419 echo "*** pkg-config too old; version 0.7 or better required."
23420 no_gtk=yes
23421 PKG_CONFIG=no
23422 fi
23423 else
23424 no_gtk=yes
23425 fi
23426
23427 min_gtk_version=3.0.0
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23429 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23430
23431 if test x$PKG_CONFIG != xno ; then
23432 ## don't try to run the test against uninstalled libtool libs
23433 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23434 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23435 enable_gtktest=no
23436 fi
23437
23438 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23439 :
23440 else
23441 no_gtk=yes
23442 fi
23443 fi
23444
23445 if test x"$no_gtk" = x ; then
23446 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23447 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23448 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23450 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23452 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23454 if test "x$enable_gtktest" = "xyes" ; then
23455 ac_save_CFLAGS="$CFLAGS"
23456 ac_save_LIBS="$LIBS"
23457 CFLAGS="$CFLAGS $GTK_CFLAGS"
23458 LIBS="$GTK_LIBS $LIBS"
23459 rm -f conf.gtktest
23460 if test "$cross_compiling" = yes; then :
23461 echo $ac_n "cross compiling; assumed OK... $ac_c"
23462 else
23463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23464 /* end confdefs.h. */
23465
23466 #include <gtk/gtk.h>
23467 #include <stdio.h>
23468 #include <stdlib.h>
23469
23470 int
23471 main ()
23472 {
23473 int major, minor, micro;
23474 char *tmp_version;
23475
23476 fclose (fopen ("conf.gtktest", "w"));
23477
23478 /* HP/UX 9 (%@#!) writes to sscanf strings */
23479 tmp_version = g_strdup("$min_gtk_version");
23480 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23481 printf("%s, bad version string\n", "$min_gtk_version");
23482 exit(1);
23483 }
23484
23485 if ((gtk_major_version != $gtk_config_major_version) ||
23486 (gtk_minor_version != $gtk_config_minor_version) ||
23487 (gtk_micro_version != $gtk_config_micro_version))
23488 {
23489 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23490 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23491 gtk_major_version, gtk_minor_version, gtk_micro_version);
23492 printf ("*** was found! If pkg-config was correct, then it is best\n");
23493 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23494 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23495 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23496 printf("*** required on your system.\n");
23497 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23498 printf("*** to point to the correct configuration files\n");
23499 }
23500 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23501 (gtk_minor_version != GTK_MINOR_VERSION) ||
23502 (gtk_micro_version != GTK_MICRO_VERSION))
23503 {
23504 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23505 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23506 printf("*** library (version %d.%d.%d)\n",
23507 gtk_major_version, gtk_minor_version, gtk_micro_version);
23508 }
23509 else
23510 {
23511 if ((gtk_major_version > major) ||
23512 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23513 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23514 {
23515 return 0;
23516 }
23517 else
23518 {
23519 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23520 gtk_major_version, gtk_minor_version, gtk_micro_version);
23521 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23522 major, minor, micro);
23523 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23524 printf("***\n");
23525 printf("*** If you have already installed a sufficiently new version, this error\n");
23526 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23527 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23528 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23529 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23530 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23531 printf("*** so that the correct libraries are found at run-time))\n");
23532 }
23533 }
23534 return 1;
23535 }
23536
23537 _ACEOF
23538 if ac_fn_c_try_run "$LINENO"; then :
23539
23540 else
23541 no_gtk=yes
23542 fi
23543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23544 conftest.$ac_objext conftest.beam conftest.$ac_ext
23545 fi
23546
23547 CFLAGS="$ac_save_CFLAGS"
23548 LIBS="$ac_save_LIBS"
23549 fi
23550 fi
23551 if test "x$no_gtk" = x ; then
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23553 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23554 wx_cv_lib_gtk=3
23555 else
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23557 $as_echo "no" >&6; }
23558 if test "$PKG_CONFIG" = "no" ; then
23559 echo "*** A new enough version of pkg-config was not found."
23560 echo "*** See http://pkgconfig.sourceforge.net"
23561 else
23562 if test -f conf.gtktest ; then
23563 :
23564 else
23565 echo "*** Could not run GTK+ test program, checking why..."
23566 ac_save_CFLAGS="$CFLAGS"
23567 ac_save_LIBS="$LIBS"
23568 CFLAGS="$CFLAGS $GTK_CFLAGS"
23569 LIBS="$LIBS $GTK_LIBS"
23570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23571 /* end confdefs.h. */
23572
23573 #include <gtk/gtk.h>
23574 #include <stdio.h>
23575
23576 int
23577 main ()
23578 {
23579 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23580 ;
23581 return 0;
23582 }
23583 _ACEOF
23584 if ac_fn_c_try_link "$LINENO"; then :
23585 echo "*** The test program compiled, but did not run. This usually means"
23586 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23587 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23588 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23589 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23590 echo "*** is required on your system"
23591 echo "***"
23592 echo "*** If you have an old version installed, it is best to remove it, although"
23593 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23594 else
23595 echo "*** The test program failed to compile or link. See the file config.log for the"
23596 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23597 fi
23598 rm -f core conftest.err conftest.$ac_objext \
23599 conftest$ac_exeext conftest.$ac_ext
23600 CFLAGS="$ac_save_CFLAGS"
23601 LIBS="$ac_save_LIBS"
23602 fi
23603 fi
23604 GTK_CFLAGS=""
23605 GTK_LIBS=""
23606 :
23607 fi
23608
23609
23610 rm -f conf.gtktest
23611
23612 fi
23613 fi
23614 fi
23615
23616 if test -z "$wx_cv_lib_gtk"; then
23617 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23618
23619 # Check whether --with-gtk-prefix was given.
23620 if test "${with_gtk_prefix+set}" = set; then :
23621 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23622 else
23623 gtk_config_prefix=""
23624 fi
23625
23626
23627 # Check whether --with-gtk-exec-prefix was given.
23628 if test "${with_gtk_exec_prefix+set}" = set; then :
23629 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23630 else
23631 gtk_config_exec_prefix=""
23632 fi
23633
23634 # Check whether --enable-gtktest was given.
23635 if test "${enable_gtktest+set}" = set; then :
23636 enableval=$enable_gtktest;
23637 else
23638 enable_gtktest=yes
23639 fi
23640
23641
23642 for module in . $GTK_MODULES
23643 do
23644 case "$module" in
23645 gthread)
23646 gtk_config_args="$gtk_config_args gthread"
23647 ;;
23648 esac
23649 done
23650
23651 if test x$gtk_config_exec_prefix != x ; then
23652 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23653 if test x${GTK_CONFIG+set} != xset ; then
23654 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23655 fi
23656 fi
23657 if test x$gtk_config_prefix != x ; then
23658 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23659 if test x${GTK_CONFIG+set} != xset ; then
23660 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23661 fi
23662 fi
23663
23664 # Extract the first word of "gtk-config", so it can be a program name with args.
23665 set dummy gtk-config; ac_word=$2
23666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23667 $as_echo_n "checking for $ac_word... " >&6; }
23668 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23669 $as_echo_n "(cached) " >&6
23670 else
23671 case $GTK_CONFIG in
23672 [\\/]* | ?:[\\/]*)
23673 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23674 ;;
23675 *)
23676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23677 for as_dir in $PATH
23678 do
23679 IFS=$as_save_IFS
23680 test -z "$as_dir" && as_dir=.
23681 for ac_exec_ext in '' $ac_executable_extensions; do
23682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23683 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23685 break 2
23686 fi
23687 done
23688 done
23689 IFS=$as_save_IFS
23690
23691 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23692 ;;
23693 esac
23694 fi
23695 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23696 if test -n "$GTK_CONFIG"; then
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23698 $as_echo "$GTK_CONFIG" >&6; }
23699 else
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23701 $as_echo "no" >&6; }
23702 fi
23703
23704
23705 min_gtk_version=1.2.7
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23707 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23708 no_gtk=""
23709 if test "$GTK_CONFIG" = "no" ; then
23710 no_gtk=yes
23711 else
23712 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23713 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23714 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23716 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23718 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23720 if test "x$enable_gtktest" = "xyes" ; then
23721 ac_save_CFLAGS="$CFLAGS"
23722 ac_save_LIBS="$LIBS"
23723 CFLAGS="$CFLAGS $GTK_CFLAGS"
23724 LIBS="$GTK_LIBS $LIBS"
23725 rm -f conf.gtktest
23726 if test "$cross_compiling" = yes; then :
23727 echo $ac_n "cross compiling; assumed OK... $ac_c"
23728 else
23729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23730 /* end confdefs.h. */
23731
23732 #include <gtk/gtk.h>
23733 #include <stdio.h>
23734 #include <stdlib.h>
23735
23736 int
23737 main ()
23738 {
23739 int major, minor, micro;
23740 char *tmp_version;
23741
23742 system ("touch conf.gtktest");
23743
23744 /* HP/UX 9 (%@#!) writes to sscanf strings */
23745 tmp_version = g_strdup("$min_gtk_version");
23746 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23747 printf("%s, bad version string\n", "$min_gtk_version");
23748 exit(1);
23749 }
23750
23751 if ((gtk_major_version != $gtk_config_major_version) ||
23752 (gtk_minor_version != $gtk_config_minor_version) ||
23753 (gtk_micro_version != $gtk_config_micro_version))
23754 {
23755 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23756 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23757 gtk_major_version, gtk_minor_version, gtk_micro_version);
23758 printf ("*** was found! If gtk-config was correct, then it is best\n");
23759 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23760 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23761 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23762 printf("*** required on your system.\n");
23763 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23764 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23765 printf("*** before re-running configure\n");
23766 }
23767 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23769 (gtk_minor_version != GTK_MINOR_VERSION) ||
23770 (gtk_micro_version != GTK_MICRO_VERSION))
23771 {
23772 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23774 printf("*** library (version %d.%d.%d)\n",
23775 gtk_major_version, gtk_minor_version, gtk_micro_version);
23776 }
23777 #endif /* defined (GTK_MAJOR_VERSION) ... */
23778 else
23779 {
23780 if ((gtk_major_version > major) ||
23781 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23782 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23783 {
23784 return 0;
23785 }
23786 else
23787 {
23788 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23789 gtk_major_version, gtk_minor_version, gtk_micro_version);
23790 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23791 major, minor, micro);
23792 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23793 printf("***\n");
23794 printf("*** If you have already installed a sufficiently new version, this error\n");
23795 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23796 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23797 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23798 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23799 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23800 printf("*** so that the correct libraries are found at run-time))\n");
23801 }
23802 }
23803 return 1;
23804 }
23805
23806 _ACEOF
23807 if ac_fn_c_try_run "$LINENO"; then :
23808
23809 else
23810 no_gtk=yes
23811 fi
23812 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23813 conftest.$ac_objext conftest.beam conftest.$ac_ext
23814 fi
23815
23816 CFLAGS="$ac_save_CFLAGS"
23817 LIBS="$ac_save_LIBS"
23818 fi
23819 fi
23820 if test "x$no_gtk" = x ; then
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23822 $as_echo "yes" >&6; }
23823 wx_cv_lib_gtk=1.2.7
23824 else
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23826 $as_echo "no" >&6; }
23827 if test "$GTK_CONFIG" = "no" ; then
23828 echo "*** The gtk-config script installed by GTK could not be found"
23829 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23830 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23831 echo "*** full path to gtk-config."
23832 else
23833 if test -f conf.gtktest ; then
23834 :
23835 else
23836 echo "*** Could not run GTK test program, checking why..."
23837 CFLAGS="$CFLAGS $GTK_CFLAGS"
23838 LIBS="$LIBS $GTK_LIBS"
23839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23840 /* end confdefs.h. */
23841
23842 #include <gtk/gtk.h>
23843 #include <stdio.h>
23844
23845 int
23846 main ()
23847 {
23848 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23849 ;
23850 return 0;
23851 }
23852 _ACEOF
23853 if ac_fn_c_try_link "$LINENO"; then :
23854 echo "*** The test program compiled, but did not run. This usually means"
23855 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23856 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23857 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23858 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23859 echo "*** is required on your system"
23860 echo "***"
23861 echo "*** If you have an old version installed, it is best to remove it, although"
23862 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23863 echo "***"
23864 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23865 echo "*** came with the system with the command"
23866 echo "***"
23867 echo "*** rpm --erase --nodeps gtk gtk-devel"
23868 else
23869 echo "*** The test program failed to compile or link. See the file config.log for the"
23870 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23871 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23872 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23873 fi
23874 rm -f core conftest.err conftest.$ac_objext \
23875 conftest$ac_exeext conftest.$ac_ext
23876 CFLAGS="$ac_save_CFLAGS"
23877 LIBS="$ac_save_LIBS"
23878 fi
23879 fi
23880 GTK_CFLAGS=""
23881 GTK_LIBS=""
23882 :
23883 fi
23884
23885
23886 rm -f conf.gtktest
23887
23888
23889 if test -z "$wx_cv_lib_gtk"; then
23890
23891 # Check whether --with-gtk-prefix was given.
23892 if test "${with_gtk_prefix+set}" = set; then :
23893 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23894 else
23895 gtk_config_prefix=""
23896 fi
23897
23898
23899 # Check whether --with-gtk-exec-prefix was given.
23900 if test "${with_gtk_exec_prefix+set}" = set; then :
23901 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23902 else
23903 gtk_config_exec_prefix=""
23904 fi
23905
23906 # Check whether --enable-gtktest was given.
23907 if test "${enable_gtktest+set}" = set; then :
23908 enableval=$enable_gtktest;
23909 else
23910 enable_gtktest=yes
23911 fi
23912
23913
23914 for module in . $GTK_MODULES
23915 do
23916 case "$module" in
23917 gthread)
23918 gtk_config_args="$gtk_config_args gthread"
23919 ;;
23920 esac
23921 done
23922
23923 if test x$gtk_config_exec_prefix != x ; then
23924 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23925 if test x${GTK_CONFIG+set} != xset ; then
23926 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23927 fi
23928 fi
23929 if test x$gtk_config_prefix != x ; then
23930 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23931 if test x${GTK_CONFIG+set} != xset ; then
23932 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23933 fi
23934 fi
23935
23936 # Extract the first word of "gtk-config", so it can be a program name with args.
23937 set dummy gtk-config; ac_word=$2
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23939 $as_echo_n "checking for $ac_word... " >&6; }
23940 if ${ac_cv_path_GTK_CONFIG+:} false; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23943 case $GTK_CONFIG in
23944 [\\/]* | ?:[\\/]*)
23945 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23946 ;;
23947 *)
23948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23949 for as_dir in $PATH
23950 do
23951 IFS=$as_save_IFS
23952 test -z "$as_dir" && as_dir=.
23953 for ac_exec_ext in '' $ac_executable_extensions; do
23954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23955 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23957 break 2
23958 fi
23959 done
23960 done
23961 IFS=$as_save_IFS
23962
23963 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23964 ;;
23965 esac
23966 fi
23967 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23968 if test -n "$GTK_CONFIG"; then
23969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23970 $as_echo "$GTK_CONFIG" >&6; }
23971 else
23972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23973 $as_echo "no" >&6; }
23974 fi
23975
23976
23977 min_gtk_version=1.2.3
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23979 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23980 no_gtk=""
23981 if test "$GTK_CONFIG" = "no" ; then
23982 no_gtk=yes
23983 else
23984 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23985 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23986 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23988 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23990 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23992 if test "x$enable_gtktest" = "xyes" ; then
23993 ac_save_CFLAGS="$CFLAGS"
23994 ac_save_LIBS="$LIBS"
23995 CFLAGS="$CFLAGS $GTK_CFLAGS"
23996 LIBS="$GTK_LIBS $LIBS"
23997 rm -f conf.gtktest
23998 if test "$cross_compiling" = yes; then :
23999 echo $ac_n "cross compiling; assumed OK... $ac_c"
24000 else
24001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24002 /* end confdefs.h. */
24003
24004 #include <gtk/gtk.h>
24005 #include <stdio.h>
24006 #include <stdlib.h>
24007
24008 int
24009 main ()
24010 {
24011 int major, minor, micro;
24012 char *tmp_version;
24013
24014 system ("touch conf.gtktest");
24015
24016 /* HP/UX 9 (%@#!) writes to sscanf strings */
24017 tmp_version = g_strdup("$min_gtk_version");
24018 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24019 printf("%s, bad version string\n", "$min_gtk_version");
24020 exit(1);
24021 }
24022
24023 if ((gtk_major_version != $gtk_config_major_version) ||
24024 (gtk_minor_version != $gtk_config_minor_version) ||
24025 (gtk_micro_version != $gtk_config_micro_version))
24026 {
24027 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24028 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24029 gtk_major_version, gtk_minor_version, gtk_micro_version);
24030 printf ("*** was found! If gtk-config was correct, then it is best\n");
24031 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24032 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24033 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24034 printf("*** required on your system.\n");
24035 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24036 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24037 printf("*** before re-running configure\n");
24038 }
24039 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24040 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24041 (gtk_minor_version != GTK_MINOR_VERSION) ||
24042 (gtk_micro_version != GTK_MICRO_VERSION))
24043 {
24044 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24045 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24046 printf("*** library (version %d.%d.%d)\n",
24047 gtk_major_version, gtk_minor_version, gtk_micro_version);
24048 }
24049 #endif /* defined (GTK_MAJOR_VERSION) ... */
24050 else
24051 {
24052 if ((gtk_major_version > major) ||
24053 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24054 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24055 {
24056 return 0;
24057 }
24058 else
24059 {
24060 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24061 gtk_major_version, gtk_minor_version, gtk_micro_version);
24062 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24063 major, minor, micro);
24064 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24065 printf("***\n");
24066 printf("*** If you have already installed a sufficiently new version, this error\n");
24067 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24068 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24069 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24070 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24071 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24072 printf("*** so that the correct libraries are found at run-time))\n");
24073 }
24074 }
24075 return 1;
24076 }
24077
24078 _ACEOF
24079 if ac_fn_c_try_run "$LINENO"; then :
24080
24081 else
24082 no_gtk=yes
24083 fi
24084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24085 conftest.$ac_objext conftest.beam conftest.$ac_ext
24086 fi
24087
24088 CFLAGS="$ac_save_CFLAGS"
24089 LIBS="$ac_save_LIBS"
24090 fi
24091 fi
24092 if test "x$no_gtk" = x ; then
24093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24094 $as_echo "yes" >&6; }
24095 wx_cv_lib_gtk=1.2.3
24096 else
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24098 $as_echo "no" >&6; }
24099 if test "$GTK_CONFIG" = "no" ; then
24100 echo "*** The gtk-config script installed by GTK could not be found"
24101 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24102 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24103 echo "*** full path to gtk-config."
24104 else
24105 if test -f conf.gtktest ; then
24106 :
24107 else
24108 echo "*** Could not run GTK test program, checking why..."
24109 CFLAGS="$CFLAGS $GTK_CFLAGS"
24110 LIBS="$LIBS $GTK_LIBS"
24111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24113
24114 #include <gtk/gtk.h>
24115 #include <stdio.h>
24116
24117 int
24118 main ()
24119 {
24120 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24121 ;
24122 return 0;
24123 }
24124 _ACEOF
24125 if ac_fn_c_try_link "$LINENO"; then :
24126 echo "*** The test program compiled, but did not run. This usually means"
24127 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24128 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24129 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24130 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24131 echo "*** is required on your system"
24132 echo "***"
24133 echo "*** If you have an old version installed, it is best to remove it, although"
24134 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24135 echo "***"
24136 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24137 echo "*** came with the system with the command"
24138 echo "***"
24139 echo "*** rpm --erase --nodeps gtk gtk-devel"
24140 else
24141 echo "*** The test program failed to compile or link. See the file config.log for the"
24142 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24143 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24144 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24145 fi
24146 rm -f core conftest.err conftest.$ac_objext \
24147 conftest$ac_exeext conftest.$ac_ext
24148 CFLAGS="$ac_save_CFLAGS"
24149 LIBS="$ac_save_LIBS"
24150 fi
24151 fi
24152 GTK_CFLAGS=""
24153 GTK_LIBS=""
24154 :
24155 fi
24156
24157
24158 rm -f conf.gtktest
24159
24160 fi
24161 fi
24162 fi
24163
24164 if test -z "$wx_cv_lib_gtk"; then
24165 wx_cv_lib_gtk=none
24166 else
24167 GTK_LIBS="$GTK_LIBS -lX11"
24168
24169 wx_cv_cflags_gtk=$GTK_CFLAGS
24170 wx_cv_libs_gtk=$GTK_LIBS
24171 fi
24172
24173
24174 fi
24175
24176
24177 if test "$gtk_version_cached" = 1; then
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24179 $as_echo "$wx_cv_lib_gtk" >&6; }
24180 fi
24181
24182 case "$wx_cv_lib_gtk" in
24183 3) WXGTK3=1
24184 TOOLKIT_VERSION=3
24185 ;;
24186 2.0) WXGTK2=1
24187 TOOLKIT_VERSION=2
24188 ;;
24189 1.2.7) WXGTK127=1
24190 WXGTK1=1
24191 ;;
24192 1.2*) WXGTK1=1 ;;
24193 *) as_fn_error $? "
24194 The development files for GTK+ were not found. For GTK+ 2, please
24195 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24196 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24197 and that the version is 1.2.3 or above. Also check that the
24198 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24199 --libs' are in the LD_LIBRARY_PATH or equivalent.
24200 " "$LINENO" 5
24201 ;;
24202 esac
24203
24204 if test "$WXGTK3" = 1; then
24205 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24206
24207 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24208
24209 elif test "$WXGTK2" = 1; then
24210 save_CFLAGS="$CFLAGS"
24211 save_LIBS="$LIBS"
24212 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24213 LIBS="$LIBS $wx_cv_libs_gtk"
24214
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24216 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24218 /* end confdefs.h. */
24219
24220 #include <gtk/gtk.h>
24221
24222 int
24223 main ()
24224 {
24225
24226 #if !GTK_CHECK_VERSION(2,18,0)
24227 Not GTK+ 2.18
24228 #endif
24229
24230 ;
24231 return 0;
24232 }
24233 _ACEOF
24234 if ac_fn_c_try_compile "$LINENO"; then :
24235
24236 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24237
24238 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24239
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24241 $as_echo "yes" >&6; }
24242 ac_wxgtk218=1
24243
24244 else
24245
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24247 $as_echo "no" >&6; }
24248 ac_wxgtk218=0
24249
24250 fi
24251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24252
24253 if test "$ac_wxgtk218" = 0; then
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24255 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24257 /* end confdefs.h. */
24258
24259 #include <gtk/gtk.h>
24260
24261 int
24262 main ()
24263 {
24264
24265 #if !GTK_CHECK_VERSION(2,10,0)
24266 Not GTK+ 2.10
24267 #endif
24268
24269 ;
24270 return 0;
24271 }
24272 _ACEOF
24273 if ac_fn_c_try_compile "$LINENO"; then :
24274
24275 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24276
24277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24278 $as_echo "yes" >&6; }
24279 ac_wxgtk210=1
24280
24281 else
24282
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24284 $as_echo "no" >&6; }
24285 ac_wxgtk210=0
24286
24287 fi
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289 fi
24290
24291 CFLAGS="$save_CFLAGS"
24292 LIBS="$save_LIBS"
24293 else
24294 if test "$wxUSE_UNICODE" = "yes"; then
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24296 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24297 wxUSE_UNICODE=no
24298 fi
24299
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24301 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24302 if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
24303 $as_echo_n "(cached) " >&6
24304 else
24305 ac_check_lib_save_LIBS=$LIBS
24306 LIBS="-lgdk $LIBS"
24307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24308 /* end confdefs.h. */
24309
24310 /* Override any GCC internal prototype to avoid an error.
24311 Use char because int might match the return type of a GCC
24312 builtin and then its argument prototype would still apply. */
24313 #ifdef __cplusplus
24314 extern "C"
24315 #endif
24316 char gdk_im_open ();
24317 int
24318 main ()
24319 {
24320 return gdk_im_open ();
24321 ;
24322 return 0;
24323 }
24324 _ACEOF
24325 if ac_fn_c_try_link "$LINENO"; then :
24326 ac_cv_lib_gdk_gdk_im_open=yes
24327 else
24328 ac_cv_lib_gdk_gdk_im_open=no
24329 fi
24330 rm -f core conftest.err conftest.$ac_objext \
24331 conftest$ac_exeext conftest.$ac_ext
24332 LIBS=$ac_check_lib_save_LIBS
24333 fi
24334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24335 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24336 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
24337 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24338
24339 fi
24340
24341
24342 if test "$USE_DARWIN" != 1; then
24343 for ac_func in poll
24344 do :
24345 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24346 if test "x$ac_cv_func_poll" = xyes; then :
24347 cat >>confdefs.h <<_ACEOF
24348 #define HAVE_POLL 1
24349 _ACEOF
24350
24351 fi
24352 done
24353
24354 fi
24355 fi
24356
24357 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24358 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24359 AFMINSTALL=afminstall
24360 TOOLKIT=GTK
24361 GUIDIST=GTK_DIST
24362
24363 if test "$wxUSE_GPE" = "yes"; then
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24365 $as_echo_n "checking for gpewidget library... " >&6; }
24366
24367 ac_find_libraries=
24368 for ac_dir in $SEARCH_LIB
24369 do
24370 for ac_extension in a so sl dylib dll.a; do
24371 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24372 ac_find_libraries=$ac_dir
24373 break 2
24374 fi
24375 done
24376 done
24377
24378 if test "$ac_find_libraries" != "" ; then
24379
24380 if test "$ac_find_libraries" = "default location"; then
24381 ac_path_to_link=""
24382 else
24383 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24384 result=$?
24385 if test $result = 0; then
24386 ac_path_to_link=""
24387 else
24388 ac_path_to_link=" -L$ac_find_libraries"
24389 fi
24390 fi
24391
24392 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24393 WXGPE=1
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24395 $as_echo "found in $ac_find_libraries" >&6; }
24396 else
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24398 $as_echo "not found" >&6; }
24399 fi
24400
24401 fi
24402 fi
24403
24404 if test "$wxUSE_DFB" = 1; then
24405
24406
24407 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24408 if test -n "$ac_tool_prefix"; then
24409 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24410 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24412 $as_echo_n "checking for $ac_word... " >&6; }
24413 if ${ac_cv_path_PKG_CONFIG+:} false; then :
24414 $as_echo_n "(cached) " >&6
24415 else
24416 case $PKG_CONFIG in
24417 [\\/]* | ?:[\\/]*)
24418 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24419 ;;
24420 *)
24421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24422 for as_dir in $PATH
24423 do
24424 IFS=$as_save_IFS
24425 test -z "$as_dir" && as_dir=.
24426 for ac_exec_ext in '' $ac_executable_extensions; do
24427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24428 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24430 break 2
24431 fi
24432 done
24433 done
24434 IFS=$as_save_IFS
24435
24436 ;;
24437 esac
24438 fi
24439 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24440 if test -n "$PKG_CONFIG"; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24442 $as_echo "$PKG_CONFIG" >&6; }
24443 else
24444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24445 $as_echo "no" >&6; }
24446 fi
24447
24448
24449 fi
24450 if test -z "$ac_cv_path_PKG_CONFIG"; then
24451 ac_pt_PKG_CONFIG=$PKG_CONFIG
24452 # Extract the first word of "pkg-config", so it can be a program name with args.
24453 set dummy pkg-config; ac_word=$2
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24455 $as_echo_n "checking for $ac_word... " >&6; }
24456 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
24457 $as_echo_n "(cached) " >&6
24458 else
24459 case $ac_pt_PKG_CONFIG in
24460 [\\/]* | ?:[\\/]*)
24461 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24462 ;;
24463 *)
24464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24465 for as_dir in $PATH
24466 do
24467 IFS=$as_save_IFS
24468 test -z "$as_dir" && as_dir=.
24469 for ac_exec_ext in '' $ac_executable_extensions; do
24470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24471 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24473 break 2
24474 fi
24475 done
24476 done
24477 IFS=$as_save_IFS
24478
24479 ;;
24480 esac
24481 fi
24482 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24483 if test -n "$ac_pt_PKG_CONFIG"; then
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24485 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24486 else
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24488 $as_echo "no" >&6; }
24489 fi
24490
24491 if test "x$ac_pt_PKG_CONFIG" = x; then
24492 PKG_CONFIG=""
24493 else
24494 case $cross_compiling:$ac_tool_warned in
24495 yes:)
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24498 ac_tool_warned=yes ;;
24499 esac
24500 PKG_CONFIG=$ac_pt_PKG_CONFIG
24501 fi
24502 else
24503 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24504 fi
24505
24506 fi
24507 if test -n "$PKG_CONFIG"; then
24508 _pkg_min_version=0.9.0
24509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24510 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24511 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24513 $as_echo "yes" >&6; }
24514 else
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24516 $as_echo "no" >&6; }
24517 PKG_CONFIG=""
24518 fi
24519
24520 fi
24521
24522
24523 pkg_failed=no
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24525 $as_echo_n "checking for DIRECTFB... " >&6; }
24526
24527 if test -n "$PKG_CONFIG"; then
24528 if test -n "$DIRECTFB_CFLAGS"; then
24529 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24530 else
24531 if test -n "$PKG_CONFIG" && \
24532 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24533 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24534 ac_status=$?
24535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24536 test $ac_status = 0; }; then
24537 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24538 else
24539 pkg_failed=yes
24540 fi
24541 fi
24542 else
24543 pkg_failed=untried
24544 fi
24545 if test -n "$PKG_CONFIG"; then
24546 if test -n "$DIRECTFB_LIBS"; then
24547 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24548 else
24549 if test -n "$PKG_CONFIG" && \
24550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24551 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24552 ac_status=$?
24553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24554 test $ac_status = 0; }; then
24555 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24556 else
24557 pkg_failed=yes
24558 fi
24559 fi
24560 else
24561 pkg_failed=untried
24562 fi
24563
24564
24565
24566 if test $pkg_failed = yes; then
24567
24568 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24569 _pkg_short_errors_supported=yes
24570 else
24571 _pkg_short_errors_supported=no
24572 fi
24573 if test $_pkg_short_errors_supported = yes; then
24574 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24575 else
24576 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24577 fi
24578 # Put the nasty error message in config.log where it belongs
24579 echo "$DIRECTFB_PKG_ERRORS" >&5
24580
24581
24582 as_fn_error $? "DirectFB not found." "$LINENO" 5
24583
24584
24585 elif test $pkg_failed = untried; then
24586
24587 as_fn_error $? "DirectFB not found." "$LINENO" 5
24588
24589
24590 else
24591 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24592 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24594 $as_echo "yes" >&6; }
24595
24596 wxUSE_UNIVERSAL="yes"
24597 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24598 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24599 TOOLKIT=DFB
24600 GUIDIST=DFB_DIST
24601
24602 fi
24603 fi
24604
24605 if test "$wxUSE_MICROWIN" = 1; then
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24607 $as_echo_n "checking for MicroWindows... " >&6; }
24608 if test "x$MICROWINDOWS" = x ; then
24609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24610 $as_echo "not found" >&6; }
24611 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24612 else
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24614 $as_echo "$MICROWINDOWS" >&6; }
24615 fi
24616
24617 if test -f $MICROWINDOWS/lib/libmwin.a; then
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24619 $as_echo "MicroWindows' libraries found." >&6; }
24620 else
24621 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24622 fi
24623
24624 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24625 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24626
24627 wxUSE_UNIVERSAL="yes"
24628
24629 AFMINSTALL=afminstall
24630 TOOLKIT=MICROWIN
24631 GUIDIST=MICROWIN_DIST
24632
24633 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24634 fi
24635
24636 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24638 $as_echo_n "checking for X... " >&6; }
24639
24640
24641 # Check whether --with-x was given.
24642 if test "${with_x+set}" = set; then :
24643 withval=$with_x;
24644 fi
24645
24646 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24647 if test "x$with_x" = xno; then
24648 # The user explicitly disabled X.
24649 have_x=disabled
24650 else
24651 case $x_includes,$x_libraries in #(
24652 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24653 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
24654 $as_echo_n "(cached) " >&6
24655 else
24656 # One or both of the vars are not set, and there is no cached value.
24657 ac_x_includes=no ac_x_libraries=no
24658 rm -f -r conftest.dir
24659 if mkdir conftest.dir; then
24660 cd conftest.dir
24661 cat >Imakefile <<'_ACEOF'
24662 incroot:
24663 @echo incroot='${INCROOT}'
24664 usrlibdir:
24665 @echo usrlibdir='${USRLIBDIR}'
24666 libdir:
24667 @echo libdir='${LIBDIR}'
24668 _ACEOF
24669 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24670 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24671 for ac_var in incroot usrlibdir libdir; do
24672 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24673 done
24674 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24675 for ac_extension in a so sl dylib la dll; do
24676 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24677 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24678 ac_im_usrlibdir=$ac_im_libdir; break
24679 fi
24680 done
24681 # Screen out bogus values from the imake configuration. They are
24682 # bogus both because they are the default anyway, and because
24683 # using them would break gcc on systems where it needs fixed includes.
24684 case $ac_im_incroot in
24685 /usr/include) ac_x_includes= ;;
24686 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24687 esac
24688 case $ac_im_usrlibdir in
24689 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24690 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24691 esac
24692 fi
24693 cd ..
24694 rm -f -r conftest.dir
24695 fi
24696
24697 # Standard set of common directories for X headers.
24698 # Check X11 before X11Rn because it is often a symlink to the current release.
24699 ac_x_header_dirs='
24700 /usr/X11/include
24701 /usr/X11R7/include
24702 /usr/X11R6/include
24703 /usr/X11R5/include
24704 /usr/X11R4/include
24705
24706 /usr/include/X11
24707 /usr/include/X11R7
24708 /usr/include/X11R6
24709 /usr/include/X11R5
24710 /usr/include/X11R4
24711
24712 /usr/local/X11/include
24713 /usr/local/X11R7/include
24714 /usr/local/X11R6/include
24715 /usr/local/X11R5/include
24716 /usr/local/X11R4/include
24717
24718 /usr/local/include/X11
24719 /usr/local/include/X11R7
24720 /usr/local/include/X11R6
24721 /usr/local/include/X11R5
24722 /usr/local/include/X11R4
24723
24724 /usr/X386/include
24725 /usr/x386/include
24726 /usr/XFree86/include/X11
24727
24728 /usr/include
24729 /usr/local/include
24730 /usr/unsupported/include
24731 /usr/athena/include
24732 /usr/local/x11r5/include
24733 /usr/lpp/Xamples/include
24734
24735 /usr/openwin/include
24736 /usr/openwin/share/include'
24737
24738 if test "$ac_x_includes" = no; then
24739 # Guess where to find include files, by looking for Xlib.h.
24740 # First, try using that file with no special directory specified.
24741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24742 /* end confdefs.h. */
24743 #include <X11/Xlib.h>
24744 _ACEOF
24745 if ac_fn_c_try_cpp "$LINENO"; then :
24746 # We can compile using X headers with no special include directory.
24747 ac_x_includes=
24748 else
24749 for ac_dir in $ac_x_header_dirs; do
24750 if test -r "$ac_dir/X11/Xlib.h"; then
24751 ac_x_includes=$ac_dir
24752 break
24753 fi
24754 done
24755 fi
24756 rm -f conftest.err conftest.i conftest.$ac_ext
24757 fi # $ac_x_includes = no
24758
24759 if test "$ac_x_libraries" = no; then
24760 # Check for the libraries.
24761 # See if we find them without any special options.
24762 # Don't add to $LIBS permanently.
24763 ac_save_LIBS=$LIBS
24764 LIBS="-lX11 $LIBS"
24765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24766 /* end confdefs.h. */
24767 #include <X11/Xlib.h>
24768 int
24769 main ()
24770 {
24771 XrmInitialize ()
24772 ;
24773 return 0;
24774 }
24775 _ACEOF
24776 if ac_fn_c_try_link "$LINENO"; then :
24777 LIBS=$ac_save_LIBS
24778 # We can link X programs with no special library path.
24779 ac_x_libraries=
24780 else
24781 LIBS=$ac_save_LIBS
24782 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24783 do
24784 # Don't even attempt the hair of trying to link an X program!
24785 for ac_extension in a so sl dylib la dll; do
24786 if test -r "$ac_dir/libX11.$ac_extension"; then
24787 ac_x_libraries=$ac_dir
24788 break 2
24789 fi
24790 done
24791 done
24792 fi
24793 rm -f core conftest.err conftest.$ac_objext \
24794 conftest$ac_exeext conftest.$ac_ext
24795 fi # $ac_x_libraries = no
24796
24797 case $ac_x_includes,$ac_x_libraries in #(
24798 no,* | *,no | *\'*)
24799 # Didn't find X, or a directory has "'" in its name.
24800 ac_cv_have_x="have_x=no";; #(
24801 *)
24802 # Record where we found X for the cache.
24803 ac_cv_have_x="have_x=yes\
24804 ac_x_includes='$ac_x_includes'\
24805 ac_x_libraries='$ac_x_libraries'"
24806 esac
24807 fi
24808 ;; #(
24809 *) have_x=yes;;
24810 esac
24811 eval "$ac_cv_have_x"
24812 fi # $with_x != no
24813
24814 if test "$have_x" != yes; then
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24816 $as_echo "$have_x" >&6; }
24817 no_x=yes
24818 else
24819 # If each of the values was on the command line, it overrides each guess.
24820 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24821 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24822 # Update the cache value to reflect the command line values.
24823 ac_cv_have_x="have_x=yes\
24824 ac_x_includes='$x_includes'\
24825 ac_x_libraries='$x_libraries'"
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24827 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24828 fi
24829
24830 if test "$no_x" = yes; then
24831 # Not all programs may use this symbol, but it does not hurt to define it.
24832
24833 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24834
24835 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24836 else
24837 if test -n "$x_includes"; then
24838 X_CFLAGS="$X_CFLAGS -I$x_includes"
24839 fi
24840
24841 # It would also be nice to do this for all -L options, not just this one.
24842 if test -n "$x_libraries"; then
24843 X_LIBS="$X_LIBS -L$x_libraries"
24844 # For Solaris; some versions of Sun CC require a space after -R and
24845 # others require no space. Words are not sufficient . . . .
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24847 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24848 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24849 ac_xsave_c_werror_flag=$ac_c_werror_flag
24850 ac_c_werror_flag=yes
24851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24852 /* end confdefs.h. */
24853
24854 int
24855 main ()
24856 {
24857
24858 ;
24859 return 0;
24860 }
24861 _ACEOF
24862 if ac_fn_c_try_link "$LINENO"; then :
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24864 $as_echo "no" >&6; }
24865 X_LIBS="$X_LIBS -R$x_libraries"
24866 else
24867 LIBS="$ac_xsave_LIBS -R $x_libraries"
24868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24869 /* end confdefs.h. */
24870
24871 int
24872 main ()
24873 {
24874
24875 ;
24876 return 0;
24877 }
24878 _ACEOF
24879 if ac_fn_c_try_link "$LINENO"; then :
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24881 $as_echo "yes" >&6; }
24882 X_LIBS="$X_LIBS -R $x_libraries"
24883 else
24884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24885 $as_echo "neither works" >&6; }
24886 fi
24887 rm -f core conftest.err conftest.$ac_objext \
24888 conftest$ac_exeext conftest.$ac_ext
24889 fi
24890 rm -f core conftest.err conftest.$ac_objext \
24891 conftest$ac_exeext conftest.$ac_ext
24892 ac_c_werror_flag=$ac_xsave_c_werror_flag
24893 LIBS=$ac_xsave_LIBS
24894 fi
24895
24896 # Check for system-dependent libraries X programs must link with.
24897 # Do this before checking for the system-independent R6 libraries
24898 # (-lICE), since we may need -lsocket or whatever for X linking.
24899
24900 if test "$ISC" = yes; then
24901 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24902 else
24903 # Martyn Johnson says this is needed for Ultrix, if the X
24904 # libraries were built with DECnet support. And Karl Berry says
24905 # the Alpha needs dnet_stub (dnet does not exist).
24906 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24908 /* end confdefs.h. */
24909
24910 /* Override any GCC internal prototype to avoid an error.
24911 Use char because int might match the return type of a GCC
24912 builtin and then its argument prototype would still apply. */
24913 #ifdef __cplusplus
24914 extern "C"
24915 #endif
24916 char XOpenDisplay ();
24917 int
24918 main ()
24919 {
24920 return XOpenDisplay ();
24921 ;
24922 return 0;
24923 }
24924 _ACEOF
24925 if ac_fn_c_try_link "$LINENO"; then :
24926
24927 else
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24929 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24930 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
24931 $as_echo_n "(cached) " >&6
24932 else
24933 ac_check_lib_save_LIBS=$LIBS
24934 LIBS="-ldnet $LIBS"
24935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24936 /* end confdefs.h. */
24937
24938 /* Override any GCC internal prototype to avoid an error.
24939 Use char because int might match the return type of a GCC
24940 builtin and then its argument prototype would still apply. */
24941 #ifdef __cplusplus
24942 extern "C"
24943 #endif
24944 char dnet_ntoa ();
24945 int
24946 main ()
24947 {
24948 return dnet_ntoa ();
24949 ;
24950 return 0;
24951 }
24952 _ACEOF
24953 if ac_fn_c_try_link "$LINENO"; then :
24954 ac_cv_lib_dnet_dnet_ntoa=yes
24955 else
24956 ac_cv_lib_dnet_dnet_ntoa=no
24957 fi
24958 rm -f core conftest.err conftest.$ac_objext \
24959 conftest$ac_exeext conftest.$ac_ext
24960 LIBS=$ac_check_lib_save_LIBS
24961 fi
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24963 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24964 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
24965 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24966 fi
24967
24968 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24970 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24971 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
24972 $as_echo_n "(cached) " >&6
24973 else
24974 ac_check_lib_save_LIBS=$LIBS
24975 LIBS="-ldnet_stub $LIBS"
24976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24977 /* end confdefs.h. */
24978
24979 /* Override any GCC internal prototype to avoid an error.
24980 Use char because int might match the return type of a GCC
24981 builtin and then its argument prototype would still apply. */
24982 #ifdef __cplusplus
24983 extern "C"
24984 #endif
24985 char dnet_ntoa ();
24986 int
24987 main ()
24988 {
24989 return dnet_ntoa ();
24990 ;
24991 return 0;
24992 }
24993 _ACEOF
24994 if ac_fn_c_try_link "$LINENO"; then :
24995 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24996 else
24997 ac_cv_lib_dnet_stub_dnet_ntoa=no
24998 fi
24999 rm -f core conftest.err conftest.$ac_objext \
25000 conftest$ac_exeext conftest.$ac_ext
25001 LIBS=$ac_check_lib_save_LIBS
25002 fi
25003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25004 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25005 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
25006 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25007 fi
25008
25009 fi
25010 fi
25011 rm -f core conftest.err conftest.$ac_objext \
25012 conftest$ac_exeext conftest.$ac_ext
25013 LIBS="$ac_xsave_LIBS"
25014
25015 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25016 # to get the SysV transport functions.
25017 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25018 # needs -lnsl.
25019 # The nsl library prevents programs from opening the X display
25020 # on Irix 5.2, according to T.E. Dickey.
25021 # The functions gethostbyname, getservbyname, and inet_addr are
25022 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25023 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25024 if test "x$ac_cv_func_gethostbyname" = xyes; then :
25025
25026 fi
25027
25028 if test $ac_cv_func_gethostbyname = no; then
25029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25030 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25031 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
25032 $as_echo_n "(cached) " >&6
25033 else
25034 ac_check_lib_save_LIBS=$LIBS
25035 LIBS="-lnsl $LIBS"
25036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25037 /* end confdefs.h. */
25038
25039 /* Override any GCC internal prototype to avoid an error.
25040 Use char because int might match the return type of a GCC
25041 builtin and then its argument prototype would still apply. */
25042 #ifdef __cplusplus
25043 extern "C"
25044 #endif
25045 char gethostbyname ();
25046 int
25047 main ()
25048 {
25049 return gethostbyname ();
25050 ;
25051 return 0;
25052 }
25053 _ACEOF
25054 if ac_fn_c_try_link "$LINENO"; then :
25055 ac_cv_lib_nsl_gethostbyname=yes
25056 else
25057 ac_cv_lib_nsl_gethostbyname=no
25058 fi
25059 rm -f core conftest.err conftest.$ac_objext \
25060 conftest$ac_exeext conftest.$ac_ext
25061 LIBS=$ac_check_lib_save_LIBS
25062 fi
25063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25064 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25065 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
25066 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25067 fi
25068
25069 if test $ac_cv_lib_nsl_gethostbyname = no; then
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25071 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25072 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
25073 $as_echo_n "(cached) " >&6
25074 else
25075 ac_check_lib_save_LIBS=$LIBS
25076 LIBS="-lbsd $LIBS"
25077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25078 /* end confdefs.h. */
25079
25080 /* Override any GCC internal prototype to avoid an error.
25081 Use char because int might match the return type of a GCC
25082 builtin and then its argument prototype would still apply. */
25083 #ifdef __cplusplus
25084 extern "C"
25085 #endif
25086 char gethostbyname ();
25087 int
25088 main ()
25089 {
25090 return gethostbyname ();
25091 ;
25092 return 0;
25093 }
25094 _ACEOF
25095 if ac_fn_c_try_link "$LINENO"; then :
25096 ac_cv_lib_bsd_gethostbyname=yes
25097 else
25098 ac_cv_lib_bsd_gethostbyname=no
25099 fi
25100 rm -f core conftest.err conftest.$ac_objext \
25101 conftest$ac_exeext conftest.$ac_ext
25102 LIBS=$ac_check_lib_save_LIBS
25103 fi
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25105 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25106 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
25107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25108 fi
25109
25110 fi
25111 fi
25112
25113 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25114 # socket/setsockopt and other routines are undefined under SCO ODT
25115 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25116 # on later versions), says Simon Leinen: it contains gethostby*
25117 # variants that don't use the name server (or something). -lsocket
25118 # must be given before -lnsl if both are needed. We assume that
25119 # if connect needs -lnsl, so does gethostbyname.
25120 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25121 if test "x$ac_cv_func_connect" = xyes; then :
25122
25123 fi
25124
25125 if test $ac_cv_func_connect = no; then
25126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25127 $as_echo_n "checking for connect in -lsocket... " >&6; }
25128 if ${ac_cv_lib_socket_connect+:} false; then :
25129 $as_echo_n "(cached) " >&6
25130 else
25131 ac_check_lib_save_LIBS=$LIBS
25132 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25134 /* end confdefs.h. */
25135
25136 /* Override any GCC internal prototype to avoid an error.
25137 Use char because int might match the return type of a GCC
25138 builtin and then its argument prototype would still apply. */
25139 #ifdef __cplusplus
25140 extern "C"
25141 #endif
25142 char connect ();
25143 int
25144 main ()
25145 {
25146 return connect ();
25147 ;
25148 return 0;
25149 }
25150 _ACEOF
25151 if ac_fn_c_try_link "$LINENO"; then :
25152 ac_cv_lib_socket_connect=yes
25153 else
25154 ac_cv_lib_socket_connect=no
25155 fi
25156 rm -f core conftest.err conftest.$ac_objext \
25157 conftest$ac_exeext conftest.$ac_ext
25158 LIBS=$ac_check_lib_save_LIBS
25159 fi
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25161 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25162 if test "x$ac_cv_lib_socket_connect" = xyes; then :
25163 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25164 fi
25165
25166 fi
25167
25168 # Guillermo Gomez says -lposix is necessary on A/UX.
25169 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25170 if test "x$ac_cv_func_remove" = xyes; then :
25171
25172 fi
25173
25174 if test $ac_cv_func_remove = no; then
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25176 $as_echo_n "checking for remove in -lposix... " >&6; }
25177 if ${ac_cv_lib_posix_remove+:} false; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25180 ac_check_lib_save_LIBS=$LIBS
25181 LIBS="-lposix $LIBS"
25182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25183 /* end confdefs.h. */
25184
25185 /* Override any GCC internal prototype to avoid an error.
25186 Use char because int might match the return type of a GCC
25187 builtin and then its argument prototype would still apply. */
25188 #ifdef __cplusplus
25189 extern "C"
25190 #endif
25191 char remove ();
25192 int
25193 main ()
25194 {
25195 return remove ();
25196 ;
25197 return 0;
25198 }
25199 _ACEOF
25200 if ac_fn_c_try_link "$LINENO"; then :
25201 ac_cv_lib_posix_remove=yes
25202 else
25203 ac_cv_lib_posix_remove=no
25204 fi
25205 rm -f core conftest.err conftest.$ac_objext \
25206 conftest$ac_exeext conftest.$ac_ext
25207 LIBS=$ac_check_lib_save_LIBS
25208 fi
25209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25210 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25211 if test "x$ac_cv_lib_posix_remove" = xyes; then :
25212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25213 fi
25214
25215 fi
25216
25217 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25218 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25219 if test "x$ac_cv_func_shmat" = xyes; then :
25220
25221 fi
25222
25223 if test $ac_cv_func_shmat = no; then
25224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25225 $as_echo_n "checking for shmat in -lipc... " >&6; }
25226 if ${ac_cv_lib_ipc_shmat+:} false; then :
25227 $as_echo_n "(cached) " >&6
25228 else
25229 ac_check_lib_save_LIBS=$LIBS
25230 LIBS="-lipc $LIBS"
25231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25232 /* end confdefs.h. */
25233
25234 /* Override any GCC internal prototype to avoid an error.
25235 Use char because int might match the return type of a GCC
25236 builtin and then its argument prototype would still apply. */
25237 #ifdef __cplusplus
25238 extern "C"
25239 #endif
25240 char shmat ();
25241 int
25242 main ()
25243 {
25244 return shmat ();
25245 ;
25246 return 0;
25247 }
25248 _ACEOF
25249 if ac_fn_c_try_link "$LINENO"; then :
25250 ac_cv_lib_ipc_shmat=yes
25251 else
25252 ac_cv_lib_ipc_shmat=no
25253 fi
25254 rm -f core conftest.err conftest.$ac_objext \
25255 conftest$ac_exeext conftest.$ac_ext
25256 LIBS=$ac_check_lib_save_LIBS
25257 fi
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25259 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25260 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
25261 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25262 fi
25263
25264 fi
25265 fi
25266
25267 # Check for libraries that X11R6 Xt/Xaw programs need.
25268 ac_save_LDFLAGS=$LDFLAGS
25269 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25270 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25271 # check for ICE first), but we must link in the order -lSM -lICE or
25272 # we get undefined symbols. So assume we have SM if we have ICE.
25273 # These have to be linked with before -lX11, unlike the other
25274 # libraries we check for below, so use a different variable.
25275 # John Interrante, Karl Berry
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25277 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25278 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
25279 $as_echo_n "(cached) " >&6
25280 else
25281 ac_check_lib_save_LIBS=$LIBS
25282 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25284 /* end confdefs.h. */
25285
25286 /* Override any GCC internal prototype to avoid an error.
25287 Use char because int might match the return type of a GCC
25288 builtin and then its argument prototype would still apply. */
25289 #ifdef __cplusplus
25290 extern "C"
25291 #endif
25292 char IceConnectionNumber ();
25293 int
25294 main ()
25295 {
25296 return IceConnectionNumber ();
25297 ;
25298 return 0;
25299 }
25300 _ACEOF
25301 if ac_fn_c_try_link "$LINENO"; then :
25302 ac_cv_lib_ICE_IceConnectionNumber=yes
25303 else
25304 ac_cv_lib_ICE_IceConnectionNumber=no
25305 fi
25306 rm -f core conftest.err conftest.$ac_objext \
25307 conftest$ac_exeext conftest.$ac_ext
25308 LIBS=$ac_check_lib_save_LIBS
25309 fi
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25311 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25312 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
25313 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25314 fi
25315
25316 LDFLAGS=$ac_save_LDFLAGS
25317
25318 fi
25319
25320
25321 if test "$no_x" = "yes"; then
25322 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25323 fi
25324
25325 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25326 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25327 AFMINSTALL=afminstall
25328 COMPILED_X_PROGRAM=0
25329
25330 fi
25331
25332 if test "$wxUSE_X11" = 1; then
25333 if test "$wxUSE_NANOX" = "yes"; then
25334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25335 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25336 if test "x$MICROWIN" = x ; then
25337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25338 $as_echo "not found" >&6; }
25339 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25340 else
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25342 $as_echo "$MICROWIN" >&6; }
25343 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25344
25345 fi
25346 fi
25347
25348 if test "$wxUSE_UNICODE" = "yes"; then
25349
25350
25351 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25352 if test -n "$ac_tool_prefix"; then
25353 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25354 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25356 $as_echo_n "checking for $ac_word... " >&6; }
25357 if ${ac_cv_path_PKG_CONFIG+:} false; then :
25358 $as_echo_n "(cached) " >&6
25359 else
25360 case $PKG_CONFIG in
25361 [\\/]* | ?:[\\/]*)
25362 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25363 ;;
25364 *)
25365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25366 for as_dir in $PATH
25367 do
25368 IFS=$as_save_IFS
25369 test -z "$as_dir" && as_dir=.
25370 for ac_exec_ext in '' $ac_executable_extensions; do
25371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25372 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25374 break 2
25375 fi
25376 done
25377 done
25378 IFS=$as_save_IFS
25379
25380 ;;
25381 esac
25382 fi
25383 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25384 if test -n "$PKG_CONFIG"; then
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25386 $as_echo "$PKG_CONFIG" >&6; }
25387 else
25388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25389 $as_echo "no" >&6; }
25390 fi
25391
25392
25393 fi
25394 if test -z "$ac_cv_path_PKG_CONFIG"; then
25395 ac_pt_PKG_CONFIG=$PKG_CONFIG
25396 # Extract the first word of "pkg-config", so it can be a program name with args.
25397 set dummy pkg-config; ac_word=$2
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25399 $as_echo_n "checking for $ac_word... " >&6; }
25400 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
25401 $as_echo_n "(cached) " >&6
25402 else
25403 case $ac_pt_PKG_CONFIG in
25404 [\\/]* | ?:[\\/]*)
25405 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25406 ;;
25407 *)
25408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25409 for as_dir in $PATH
25410 do
25411 IFS=$as_save_IFS
25412 test -z "$as_dir" && as_dir=.
25413 for ac_exec_ext in '' $ac_executable_extensions; do
25414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25415 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25417 break 2
25418 fi
25419 done
25420 done
25421 IFS=$as_save_IFS
25422
25423 ;;
25424 esac
25425 fi
25426 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25427 if test -n "$ac_pt_PKG_CONFIG"; then
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25429 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25430 else
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25432 $as_echo "no" >&6; }
25433 fi
25434
25435 if test "x$ac_pt_PKG_CONFIG" = x; then
25436 PKG_CONFIG=""
25437 else
25438 case $cross_compiling:$ac_tool_warned in
25439 yes:)
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25442 ac_tool_warned=yes ;;
25443 esac
25444 PKG_CONFIG=$ac_pt_PKG_CONFIG
25445 fi
25446 else
25447 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25448 fi
25449
25450 fi
25451 if test -n "$PKG_CONFIG"; then
25452 _pkg_min_version=0.9.0
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25454 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25455 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25457 $as_echo "yes" >&6; }
25458 else
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25460 $as_echo "no" >&6; }
25461 PKG_CONFIG=""
25462 fi
25463
25464 fi
25465
25466
25467 pkg_failed=no
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25469 $as_echo_n "checking for PANGOX... " >&6; }
25470
25471 if test -n "$PKG_CONFIG"; then
25472 if test -n "$PANGOX_CFLAGS"; then
25473 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25474 else
25475 if test -n "$PKG_CONFIG" && \
25476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25477 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25478 ac_status=$?
25479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25480 test $ac_status = 0; }; then
25481 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25482 else
25483 pkg_failed=yes
25484 fi
25485 fi
25486 else
25487 pkg_failed=untried
25488 fi
25489 if test -n "$PKG_CONFIG"; then
25490 if test -n "$PANGOX_LIBS"; then
25491 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25492 else
25493 if test -n "$PKG_CONFIG" && \
25494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25495 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25496 ac_status=$?
25497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25498 test $ac_status = 0; }; then
25499 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25500 else
25501 pkg_failed=yes
25502 fi
25503 fi
25504 else
25505 pkg_failed=untried
25506 fi
25507
25508
25509
25510 if test $pkg_failed = yes; then
25511
25512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25513 _pkg_short_errors_supported=yes
25514 else
25515 _pkg_short_errors_supported=no
25516 fi
25517 if test $_pkg_short_errors_supported = yes; then
25518 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25519 else
25520 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25521 fi
25522 # Put the nasty error message in config.log where it belongs
25523 echo "$PANGOX_PKG_ERRORS" >&5
25524
25525
25526 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25527
25528
25529 elif test $pkg_failed = untried; then
25530
25531 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25532
25533
25534 else
25535 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25536 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25538 $as_echo "yes" >&6; }
25539
25540 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25541 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25542 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25543
25544 fi
25545
25546 pkg_failed=no
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25548 $as_echo_n "checking for PANGOFT2... " >&6; }
25549
25550 if test -n "$PKG_CONFIG"; then
25551 if test -n "$PANGOFT2_CFLAGS"; then
25552 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25553 else
25554 if test -n "$PKG_CONFIG" && \
25555 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25556 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25557 ac_status=$?
25558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25559 test $ac_status = 0; }; then
25560 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25561 else
25562 pkg_failed=yes
25563 fi
25564 fi
25565 else
25566 pkg_failed=untried
25567 fi
25568 if test -n "$PKG_CONFIG"; then
25569 if test -n "$PANGOFT2_LIBS"; then
25570 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25571 else
25572 if test -n "$PKG_CONFIG" && \
25573 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25574 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25575 ac_status=$?
25576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25577 test $ac_status = 0; }; then
25578 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25579 else
25580 pkg_failed=yes
25581 fi
25582 fi
25583 else
25584 pkg_failed=untried
25585 fi
25586
25587
25588
25589 if test $pkg_failed = yes; then
25590
25591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25592 _pkg_short_errors_supported=yes
25593 else
25594 _pkg_short_errors_supported=no
25595 fi
25596 if test $_pkg_short_errors_supported = yes; then
25597 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25598 else
25599 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25600 fi
25601 # Put the nasty error message in config.log where it belongs
25602 echo "$PANGOFT2_PKG_ERRORS" >&5
25603
25604
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25606 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25607 wxUSE_PRINTING_ARCHITECTURE="no"
25608
25609
25610 elif test $pkg_failed = untried; then
25611
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25613 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25614 wxUSE_PRINTING_ARCHITECTURE="no"
25615
25616
25617 else
25618 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25619 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25621 $as_echo "yes" >&6; }
25622
25623 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25624 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25625 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25626
25627 fi
25628
25629 pkg_failed=no
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25631 $as_echo_n "checking for PANGOXFT... " >&6; }
25632
25633 if test -n "$PKG_CONFIG"; then
25634 if test -n "$PANGOXFT_CFLAGS"; then
25635 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25636 else
25637 if test -n "$PKG_CONFIG" && \
25638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25639 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25640 ac_status=$?
25641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25642 test $ac_status = 0; }; then
25643 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25644 else
25645 pkg_failed=yes
25646 fi
25647 fi
25648 else
25649 pkg_failed=untried
25650 fi
25651 if test -n "$PKG_CONFIG"; then
25652 if test -n "$PANGOXFT_LIBS"; then
25653 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25654 else
25655 if test -n "$PKG_CONFIG" && \
25656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25657 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25658 ac_status=$?
25659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25660 test $ac_status = 0; }; then
25661 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25662 else
25663 pkg_failed=yes
25664 fi
25665 fi
25666 else
25667 pkg_failed=untried
25668 fi
25669
25670
25671
25672 if test $pkg_failed = yes; then
25673
25674 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25675 _pkg_short_errors_supported=yes
25676 else
25677 _pkg_short_errors_supported=no
25678 fi
25679 if test $_pkg_short_errors_supported = yes; then
25680 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25681 else
25682 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25683 fi
25684 # Put the nasty error message in config.log where it belongs
25685 echo "$PANGOXFT_PKG_ERRORS" >&5
25686
25687
25688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25689 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25690
25691
25692 elif test $pkg_failed = untried; then
25693
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25695 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25696
25697
25698 else
25699 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25700 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25702 $as_echo "yes" >&6; }
25703
25704 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25705
25706 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25707 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25709
25710 fi
25711 save_LIBS="$LIBS"
25712 LIBS="$LIBS $PANGOX_LIBS"
25713 for ac_func in pango_font_family_is_monospace
25714 do :
25715 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25716 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
25717 cat >>confdefs.h <<_ACEOF
25718 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25719 _ACEOF
25720
25721 fi
25722 done
25723
25724 LIBS="$save_LIBS"
25725 fi
25726
25727 wxUSE_UNIVERSAL="yes"
25728
25729 if test "$wxUSE_NANOX" = "yes"; then
25730 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25731 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"
25732 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25733 else
25734 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25735 fi
25736
25737 TOOLKIT=X11
25738 GUIDIST=X11_DIST
25739 fi
25740
25741 if test "$wxUSE_MOTIF" = 1; then
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25743 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25744
25745 ac_find_includes=
25746 for ac_dir in $SEARCH_INCLUDE /usr/include
25747 do
25748 if test -f "$ac_dir/Xm/Xm.h"; then
25749 ac_find_includes=$ac_dir
25750 break
25751 fi
25752 done
25753
25754 if test "$ac_find_includes" != "" ; then
25755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25756 $as_echo "found in $ac_find_includes" >&6; }
25757
25758 if test "x$ac_find_includes" = "x/usr/include"; then
25759 ac_path_to_include=""
25760 else
25761 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25762 result=$?
25763 if test $result = 0; then
25764 ac_path_to_include=""
25765 else
25766 ac_path_to_include=" -I$ac_find_includes"
25767 fi
25768 fi
25769
25770 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25771 else
25772 save_CFLAGS=$CFLAGS
25773 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25774
25775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25776 /* end confdefs.h. */
25777
25778 #include <Xm/Xm.h>
25779
25780 int
25781 main ()
25782 {
25783
25784 int version;
25785 version = xmUseVersion;
25786
25787 ;
25788 return 0;
25789 }
25790 _ACEOF
25791 if ac_fn_c_try_compile "$LINENO"; then :
25792
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25794 $as_echo "found in default search path" >&6; }
25795 COMPILED_X_PROGRAM=1
25796
25797 else
25798
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25800 $as_echo "no" >&6; }
25801 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25802
25803
25804 fi
25805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25806
25807 CFLAGS=$save_CFLAGS
25808 fi
25809
25810
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25812 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25813
25814 ac_find_libraries=
25815 for ac_dir in $SEARCH_LIB
25816 do
25817 for ac_extension in a so sl dylib dll.a; do
25818 if test -f "$ac_dir/libXm.$ac_extension"; then
25819 ac_find_libraries=$ac_dir
25820 break 2
25821 fi
25822 done
25823 done
25824
25825
25826 if test "x$ac_find_libraries" != "x" ; then
25827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25828 $as_echo "found in $ac_find_libraries" >&6; }
25829
25830
25831 if test "$ac_find_libraries" = "default location"; then
25832 ac_path_to_link=""
25833 else
25834 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25835 result=$?
25836 if test $result = 0; then
25837 ac_path_to_link=""
25838 else
25839 ac_path_to_link=" -L$ac_find_libraries"
25840 fi
25841 fi
25842
25843 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25844 else
25845 save_CFLAGS=$CFLAGS
25846 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25847 save_LIBS="$LIBS"
25848 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25849
25850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25851 /* end confdefs.h. */
25852
25853 #include <Xm/Xm.h>
25854
25855 int
25856 main ()
25857 {
25858
25859 int version;
25860 version = xmUseVersion;
25861
25862 ;
25863 return 0;
25864 }
25865 _ACEOF
25866 if ac_fn_c_try_link "$LINENO"; then :
25867
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25869 $as_echo "found in default search path" >&6; }
25870 COMPILED_X_PROGRAM=1
25871
25872 else
25873
25874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25875 $as_echo "no" >&6; }
25876 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25877
25878
25879 fi
25880 rm -f core conftest.err conftest.$ac_objext \
25881 conftest$ac_exeext conftest.$ac_ext
25882
25883 CFLAGS=$save_CFLAGS
25884 LIBS="$save_LIBS"
25885 fi
25886
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25888 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25889 libp_link=""
25890 libsm_ice_link=""
25891 libs_found=0
25892 for libp in "" " -lXp"; do
25893 if test "$libs_found" = 0; then
25894 for libsm_ice in "" " -lSM -lICE"; do
25895 if test "$libs_found" = 0; then
25896 save_LIBS="$LIBS"
25897 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25898 save_CFLAGS=$CFLAGS
25899 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25900
25901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25902 /* end confdefs.h. */
25903
25904 #include <Xm/Xm.h>
25905 #include <Xm/List.h>
25906
25907 int
25908 main ()
25909 {
25910
25911 XmString string = NULL;
25912 Widget w = NULL;
25913 int position = 0;
25914 XmListAddItem(w, string, position);
25915
25916 ;
25917 return 0;
25918 }
25919 _ACEOF
25920 if ac_fn_c_try_link "$LINENO"; then :
25921
25922 libp_link="$libp"
25923 libsm_ice_link="$libsm_ice"
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25925 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25926 libs_found=1
25927
25928 fi
25929 rm -f core conftest.err conftest.$ac_objext \
25930 conftest$ac_exeext conftest.$ac_ext
25931
25932 LIBS="$save_LIBS"
25933 CFLAGS=$save_CFLAGS
25934 fi
25935 done
25936 fi
25937 done
25938
25939 if test "$libs_found" = 0; then
25940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25941 $as_echo "can't find the right libraries" >&6; }
25942 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
25943 fi
25944
25945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25946 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25947 if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
25948 $as_echo_n "(cached) " >&6
25949 else
25950 ac_check_lib_save_LIBS=$LIBS
25951 LIBS="-lSgm $LIBS"
25952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25953 /* end confdefs.h. */
25954
25955 /* Override any GCC internal prototype to avoid an error.
25956 Use char because int might match the return type of a GCC
25957 builtin and then its argument prototype would still apply. */
25958 #ifdef __cplusplus
25959 extern "C"
25960 #endif
25961 char SgCreateList ();
25962 int
25963 main ()
25964 {
25965 return SgCreateList ();
25966 ;
25967 return 0;
25968 }
25969 _ACEOF
25970 if ac_fn_c_try_link "$LINENO"; then :
25971 ac_cv_lib_Sgm_SgCreateList=yes
25972 else
25973 ac_cv_lib_Sgm_SgCreateList=no
25974 fi
25975 rm -f core conftest.err conftest.$ac_objext \
25976 conftest$ac_exeext conftest.$ac_ext
25977 LIBS=$ac_check_lib_save_LIBS
25978 fi
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25980 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25981 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
25982 libsgm_link=" -lSgm"
25983 fi
25984
25985
25986 save_CFLAGS=$CFLAGS
25987 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25988
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25990 $as_echo_n "checking for Motif 2... " >&6; }
25991 if ${wx_cv_lib_motif2+:} false; then :
25992 $as_echo_n "(cached) " >&6
25993 else
25994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25995 /* end confdefs.h. */
25996
25997 #include <Xm/Xm.h>
25998
25999 int
26000 main ()
26001 {
26002
26003 #if XmVersion < 2000
26004 Not Motif 2
26005 #endif
26006
26007 ;
26008 return 0;
26009 }
26010 _ACEOF
26011 if ac_fn_c_try_compile "$LINENO"; then :
26012 wx_cv_lib_motif2="yes"
26013 else
26014 wx_cv_lib_motif2="no"
26015 fi
26016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26017 fi
26018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26019 $as_echo "$wx_cv_lib_motif2" >&6; }
26020 if test "$wx_cv_lib_motif2" = "yes"; then
26021 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26022
26023 else
26024 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26025
26026 fi
26027
26028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26029 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26030 if ${wx_cv_lib_lesstif+:} false; then :
26031 $as_echo_n "(cached) " >&6
26032 else
26033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26034 /* end confdefs.h. */
26035
26036 #include <Xm/Xm.h>
26037
26038 int
26039 main ()
26040 {
26041
26042 #if !defined(LesstifVersion) || LesstifVersion <= 0
26043 Not Lesstif
26044 #endif
26045
26046 ;
26047 return 0;
26048 }
26049 _ACEOF
26050 if ac_fn_c_try_compile "$LINENO"; then :
26051 wx_cv_lib_lesstif="yes"
26052 else
26053 wx_cv_lib_lesstif="no"
26054 fi
26055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26056
26057 fi
26058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26059 $as_echo "$wx_cv_lib_lesstif" >&6; }
26060 if test "$wx_cv_lib_lesstif" = "yes"; then
26061 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26062
26063 else
26064 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26065
26066 fi
26067
26068 CFLAGS=$save_CFLAGS
26069
26070 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26071 TOOLKIT=MOTIF
26072 GUIDIST=MOTIF_DIST
26073 fi
26074
26075 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26076 if test "$wxUSE_LIBXPM" = "sys"; then
26077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26078 $as_echo_n "checking for Xpm library... " >&6; }
26079
26080 ac_find_libraries=
26081 for ac_dir in $SEARCH_LIB
26082 do
26083 for ac_extension in a so sl dylib dll.a; do
26084 if test -f "$ac_dir/libXpm.$ac_extension"; then
26085 ac_find_libraries=$ac_dir
26086 break 2
26087 fi
26088 done
26089 done
26090
26091 if test "$ac_find_libraries" != "" ; then
26092
26093 if test "$ac_find_libraries" = "default location"; then
26094 ac_path_to_link=""
26095 else
26096 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26097 result=$?
26098 if test $result = 0; then
26099 ac_path_to_link=""
26100 else
26101 ac_path_to_link=" -L$ac_find_libraries"
26102 fi
26103 fi
26104
26105 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26107 $as_echo "found in $ac_find_libraries" >&6; }
26108
26109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26110 $as_echo_n "checking for X11/xpm.h... " >&6; }
26111 if ${wx_cv_x11_xpm_h+:} false; then :
26112 $as_echo_n "(cached) " >&6
26113 else
26114
26115 save_CFLAGS=$CFLAGS
26116 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26117
26118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26119 /* end confdefs.h. */
26120
26121 #include <X11/xpm.h>
26122
26123 int
26124 main ()
26125 {
26126
26127 int version;
26128 version = XpmLibraryVersion();
26129
26130 ;
26131 return 0;
26132 }
26133 _ACEOF
26134 if ac_fn_c_try_compile "$LINENO"; then :
26135 wx_cv_x11_xpm_h=yes
26136 else
26137 wx_cv_x11_xpm_h=no
26138
26139 fi
26140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26141
26142 CFLAGS=$save_CFLAGS
26143
26144
26145 fi
26146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26147 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26148
26149 if test $wx_cv_x11_xpm_h = "yes"; then
26150 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26151 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26152
26153 else
26154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26155 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26156 fi
26157 fi
26158
26159 fi
26160
26161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26162 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26163 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
26164 $as_echo_n "(cached) " >&6
26165 else
26166 ac_check_lib_save_LIBS=$LIBS
26167 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26169 /* end confdefs.h. */
26170
26171 /* Override any GCC internal prototype to avoid an error.
26172 Use char because int might match the return type of a GCC
26173 builtin and then its argument prototype would still apply. */
26174 #ifdef __cplusplus
26175 extern "C"
26176 #endif
26177 char XShapeQueryExtension ();
26178 int
26179 main ()
26180 {
26181 return XShapeQueryExtension ();
26182 ;
26183 return 0;
26184 }
26185 _ACEOF
26186 if ac_fn_c_try_link "$LINENO"; then :
26187 ac_cv_lib_Xext_XShapeQueryExtension=yes
26188 else
26189 ac_cv_lib_Xext_XShapeQueryExtension=no
26190 fi
26191 rm -f core conftest.err conftest.$ac_objext \
26192 conftest$ac_exeext conftest.$ac_ext
26193 LIBS=$ac_check_lib_save_LIBS
26194 fi
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26196 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26197 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
26198
26199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26200 wxHAVE_XEXT_LIB=1
26201
26202 fi
26203
26204
26205 if test "$wxHAVE_XEXT_LIB" = 1; then
26206 save_CFLAGS="$CFLAGS"
26207 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26208
26209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26210 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26212 /* end confdefs.h. */
26213
26214 #include <X11/Xlib.h>
26215 #include <X11/extensions/shape.h>
26216
26217 int
26218 main ()
26219 {
26220
26221 int dummy1, dummy2;
26222 XShapeQueryExtension((Display*)NULL,
26223 (int*)NULL, (int*)NULL);
26224
26225 ;
26226 return 0;
26227 }
26228 _ACEOF
26229 if ac_fn_c_try_compile "$LINENO"; then :
26230
26231 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26232
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26234 $as_echo "found" >&6; }
26235
26236 else
26237
26238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26239 $as_echo "not found" >&6; }
26240
26241 fi
26242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26243 CFLAGS="$save_CFLAGS"
26244
26245 fi
26246 fi
26247
26248 if test "$wxUSE_OSX_CARBON" = 1; then
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26250 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26251 if test "$GCC" = yes; then
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26253 $as_echo "gcc" >&6; }
26254 CPPFLAGS_PASCAL="-fpascal-strings"
26255 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26257 $as_echo "xlc" >&6; }
26258 CPPFLAGS_PASCAL="-qmacpstr"
26259 else
26260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26261 $as_echo "none" >&6; }
26262 fi
26263
26264 if test "x$wxUSE_UNIX" = "xyes"; then
26265 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26266 else
26267 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26268 fi
26269
26270 TOOLKIT=OSX_CARBON
26271 GUIDIST=OSX_CARBON_DIST
26272 WXBASEPORT="_carbon"
26273
26274 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26275 fi
26276
26277 if test "$wxUSE_OSX_COCOA" = 1; then
26278 TOOLKIT=OSX_COCOA
26279 GUIDIST=OSX_COCOA_DIST
26280
26281 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26282 fi
26283
26284 if test "$wxUSE_OSX_IPHONE" = 1; then
26285 TOOLKIT=OSX_IPHONE
26286 fi
26287
26288 if test "$wxUSE_OLD_COCOA" = 1; then
26289 TOOLKIT=COCOA
26290 GUIDIST=COCOA_DIST
26291 fi
26292
26293 if test "$wxUSE_PM" = 1; then
26294 TOOLKIT=PM
26295 GUIDIST=PM_DIST
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26297 $as_echo_n "checking for type SPBCDATA... " >&6; }
26298 if ${wx_cv_spbcdata+:} false; then :
26299 $as_echo_n "(cached) " >&6
26300 else
26301
26302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h. */
26304
26305 #define INCL_PM
26306 #include <os2.h>
26307
26308 int
26309 main ()
26310 {
26311
26312 SPBCDATA test;
26313
26314 ;
26315 return 0;
26316 }
26317 _ACEOF
26318 if ac_fn_c_try_compile "$LINENO"; then :
26319 wx_cv_spbcdata=yes
26320 else
26321 wx_cv_spbcdata=no
26322
26323 fi
26324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26325
26326
26327 fi
26328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26329 $as_echo "$wx_cv_spbcdata" >&6; }
26330
26331 if test $wx_cv_spbcdata = "yes"; then
26332 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26333
26334 fi
26335 fi
26336
26337 if test "$TOOLKIT" = "PM" ; then
26338 TOOLKIT_DIR="os2"
26339 else
26340 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26341 fi
26342
26343 if test "$wxUSE_UNIVERSAL" = "yes"; then
26344 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26345 WIDGET_SET=univ
26346 fi
26347
26348 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26349 DISTDIR="wx\$(TOOLKIT)"
26350 else
26351 USE_GUI=0
26352
26353 TOOLKIT_DIR="base"
26354
26355 if test "$USE_WIN32" = 1 ; then
26356 TOOLKIT="MSW"
26357 fi
26358
26359 GUIDIST="BASE_DIST"
26360 DISTDIR="wxBase"
26361 fi
26362
26363
26364
26365 if test "$wxUSE_GUI" = "yes"; then
26366 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26367 for ac_header in X11/Xlib.h
26368 do :
26369 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26370 "
26371 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
26372 cat >>confdefs.h <<_ACEOF
26373 #define HAVE_X11_XLIB_H 1
26374 _ACEOF
26375
26376 fi
26377
26378 done
26379
26380 for ac_header in X11/XKBlib.h
26381 do :
26382 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26383 #if HAVE_X11_XLIB_H
26384 #include <X11/Xlib.h>
26385 #endif
26386
26387 "
26388 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
26389 cat >>confdefs.h <<_ACEOF
26390 #define HAVE_X11_XKBLIB_H 1
26391 _ACEOF
26392
26393 fi
26394
26395 done
26396
26397 fi
26398 fi
26399
26400
26401
26402 USE_XINERAMA=0
26403 if test "$wxUSE_DISPLAY" = "yes"; then
26404 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26405
26406 ac_find_libraries=
26407
26408 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26409
26410
26411 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26412 if test -n "$ac_tool_prefix"; then
26413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26414 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26416 $as_echo_n "checking for $ac_word... " >&6; }
26417 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26418 $as_echo_n "(cached) " >&6
26419 else
26420 case $PKG_CONFIG in
26421 [\\/]* | ?:[\\/]*)
26422 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26423 ;;
26424 *)
26425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26426 for as_dir in $PATH
26427 do
26428 IFS=$as_save_IFS
26429 test -z "$as_dir" && as_dir=.
26430 for ac_exec_ext in '' $ac_executable_extensions; do
26431 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26432 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26434 break 2
26435 fi
26436 done
26437 done
26438 IFS=$as_save_IFS
26439
26440 ;;
26441 esac
26442 fi
26443 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26444 if test -n "$PKG_CONFIG"; then
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26446 $as_echo "$PKG_CONFIG" >&6; }
26447 else
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26449 $as_echo "no" >&6; }
26450 fi
26451
26452
26453 fi
26454 if test -z "$ac_cv_path_PKG_CONFIG"; then
26455 ac_pt_PKG_CONFIG=$PKG_CONFIG
26456 # Extract the first word of "pkg-config", so it can be a program name with args.
26457 set dummy pkg-config; ac_word=$2
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26459 $as_echo_n "checking for $ac_word... " >&6; }
26460 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26461 $as_echo_n "(cached) " >&6
26462 else
26463 case $ac_pt_PKG_CONFIG in
26464 [\\/]* | ?:[\\/]*)
26465 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26466 ;;
26467 *)
26468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26469 for as_dir in $PATH
26470 do
26471 IFS=$as_save_IFS
26472 test -z "$as_dir" && as_dir=.
26473 for ac_exec_ext in '' $ac_executable_extensions; do
26474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26475 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26477 break 2
26478 fi
26479 done
26480 done
26481 IFS=$as_save_IFS
26482
26483 ;;
26484 esac
26485 fi
26486 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26487 if test -n "$ac_pt_PKG_CONFIG"; then
26488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26489 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26490 else
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26492 $as_echo "no" >&6; }
26493 fi
26494
26495 if test "x$ac_pt_PKG_CONFIG" = x; then
26496 PKG_CONFIG=""
26497 else
26498 case $cross_compiling:$ac_tool_warned in
26499 yes:)
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26502 ac_tool_warned=yes ;;
26503 esac
26504 PKG_CONFIG=$ac_pt_PKG_CONFIG
26505 fi
26506 else
26507 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26508 fi
26509
26510 fi
26511 if test -n "$PKG_CONFIG"; then
26512 _pkg_min_version=0.9.0
26513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26514 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26515 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26517 $as_echo "yes" >&6; }
26518 else
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26520 $as_echo "no" >&6; }
26521 PKG_CONFIG=""
26522 fi
26523
26524 fi 6> /dev/null
26525
26526 pkg_failed=no
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26528 $as_echo_n "checking for Xinerama... " >&6; }
26529
26530 if test -n "$PKG_CONFIG"; then
26531 if test -n "$Xinerama_CFLAGS"; then
26532 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26533 else
26534 if test -n "$PKG_CONFIG" && \
26535 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26536 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26537 ac_status=$?
26538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26539 test $ac_status = 0; }; then
26540 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26541 else
26542 pkg_failed=yes
26543 fi
26544 fi
26545 else
26546 pkg_failed=untried
26547 fi
26548 if test -n "$PKG_CONFIG"; then
26549 if test -n "$Xinerama_LIBS"; then
26550 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26551 else
26552 if test -n "$PKG_CONFIG" && \
26553 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26554 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26555 ac_status=$?
26556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26557 test $ac_status = 0; }; then
26558 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26559 else
26560 pkg_failed=yes
26561 fi
26562 fi
26563 else
26564 pkg_failed=untried
26565 fi
26566
26567
26568
26569 if test $pkg_failed = yes; then
26570
26571 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26572 _pkg_short_errors_supported=yes
26573 else
26574 _pkg_short_errors_supported=no
26575 fi
26576 if test $_pkg_short_errors_supported = yes; then
26577 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26578 else
26579 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26580 fi
26581 # Put the nasty error message in config.log where it belongs
26582 echo "$Xinerama_PKG_ERRORS" >&5
26583
26584
26585 if test "x$ac_find_libraries" = "x"; then
26586 if test "xXineramaQueryScreens" != "x"; then
26587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26588 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26589 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26590 $as_echo_n "(cached) " >&6
26591 else
26592 ac_check_lib_save_LIBS=$LIBS
26593 LIBS="-lXinerama $LIBS"
26594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26595 /* end confdefs.h. */
26596
26597 /* Override any GCC internal prototype to avoid an error.
26598 Use char because int might match the return type of a GCC
26599 builtin and then its argument prototype would still apply. */
26600 #ifdef __cplusplus
26601 extern "C"
26602 #endif
26603 char XineramaQueryScreens ();
26604 int
26605 main ()
26606 {
26607 return XineramaQueryScreens ();
26608 ;
26609 return 0;
26610 }
26611 _ACEOF
26612 if ac_fn_c_try_link "$LINENO"; then :
26613 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26614 else
26615 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26616 fi
26617 rm -f core conftest.err conftest.$ac_objext \
26618 conftest$ac_exeext conftest.$ac_ext
26619 LIBS=$ac_check_lib_save_LIBS
26620 fi
26621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26622 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26623 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26624 ac_find_libraries="std"
26625 fi
26626
26627 fi
26628 fi
26629
26630 if test "x$ac_find_libraries" = "x"; then
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26632 $as_echo_n "checking elsewhere... " >&6; }
26633
26634 ac_find_libraries=
26635 for ac_dir in $SEARCH_LIB
26636 do
26637 for ac_extension in a so sl dylib dll.a; do
26638 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26639 ac_find_libraries=$ac_dir
26640 break 2
26641 fi
26642 done
26643 done
26644
26645 if test "x$ac_find_libraries" != "x"; then
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26647 $as_echo "yes" >&6; }
26648 else
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26650 $as_echo "no" >&6; }
26651 fi
26652 fi
26653
26654 elif test $pkg_failed = untried; then
26655
26656 if test "x$ac_find_libraries" = "x"; then
26657 if test "xXineramaQueryScreens" != "x"; then
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26659 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26660 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
26661 $as_echo_n "(cached) " >&6
26662 else
26663 ac_check_lib_save_LIBS=$LIBS
26664 LIBS="-lXinerama $LIBS"
26665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26666 /* end confdefs.h. */
26667
26668 /* Override any GCC internal prototype to avoid an error.
26669 Use char because int might match the return type of a GCC
26670 builtin and then its argument prototype would still apply. */
26671 #ifdef __cplusplus
26672 extern "C"
26673 #endif
26674 char XineramaQueryScreens ();
26675 int
26676 main ()
26677 {
26678 return XineramaQueryScreens ();
26679 ;
26680 return 0;
26681 }
26682 _ACEOF
26683 if ac_fn_c_try_link "$LINENO"; then :
26684 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26685 else
26686 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26687 fi
26688 rm -f core conftest.err conftest.$ac_objext \
26689 conftest$ac_exeext conftest.$ac_ext
26690 LIBS=$ac_check_lib_save_LIBS
26691 fi
26692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26693 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26694 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
26695 ac_find_libraries="std"
26696 fi
26697
26698 fi
26699 fi
26700
26701 if test "x$ac_find_libraries" = "x"; then
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26703 $as_echo_n "checking elsewhere... " >&6; }
26704
26705 ac_find_libraries=
26706 for ac_dir in $SEARCH_LIB
26707 do
26708 for ac_extension in a so sl dylib dll.a; do
26709 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26710 ac_find_libraries=$ac_dir
26711 break 2
26712 fi
26713 done
26714 done
26715
26716 if test "x$ac_find_libraries" != "x"; then
26717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26718 $as_echo "yes" >&6; }
26719 else
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26721 $as_echo "no" >&6; }
26722 fi
26723 fi
26724
26725 else
26726 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26727 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26729 $as_echo "yes" >&6; }
26730
26731 ac_find_libraries="std"
26732
26733 eval ac_find_cflags=\$Xinerama_CFLAGS
26734 eval fl_libs=\$Xinerama_LIBS
26735
26736 for fl_path in $fl_libs
26737 do
26738 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26739 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26740 fi
26741 done
26742
26743 fi
26744
26745 if test "$ac_find_libraries" != "" ; then
26746 if test "$ac_find_libraries" != "std" ; then
26747
26748 if test "$ac_find_libraries" = "default location"; then
26749 ac_path_to_link=""
26750 else
26751 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26752 result=$?
26753 if test $result = 0; then
26754 ac_path_to_link=""
26755 else
26756 ac_path_to_link=" -L$ac_find_libraries"
26757 fi
26758 fi
26759
26760 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26761 LDFLAGS="$LDFLAGS $ac_path_to_link"
26762 fi
26763 fi
26764 USE_XINERAMA=1
26765 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26766 else
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26768 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26769 wxUSE_DISPLAY="no"
26770 fi
26771 elif test "$wxUSE_MSW" = 1; then
26772 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26773 "
26774 if test "x$ac_cv_header_ddraw_h" = xyes; then :
26775
26776 fi
26777
26778
26779 fi
26780 fi
26781
26782 if test "$wxUSE_DISPLAY" = "yes"; then
26783 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26784
26785 ac_find_libraries=
26786
26787 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26788
26789
26790 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26791 if test -n "$ac_tool_prefix"; then
26792 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26793 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26795 $as_echo_n "checking for $ac_word... " >&6; }
26796 if ${ac_cv_path_PKG_CONFIG+:} false; then :
26797 $as_echo_n "(cached) " >&6
26798 else
26799 case $PKG_CONFIG in
26800 [\\/]* | ?:[\\/]*)
26801 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26802 ;;
26803 *)
26804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26805 for as_dir in $PATH
26806 do
26807 IFS=$as_save_IFS
26808 test -z "$as_dir" && as_dir=.
26809 for ac_exec_ext in '' $ac_executable_extensions; do
26810 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26811 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26813 break 2
26814 fi
26815 done
26816 done
26817 IFS=$as_save_IFS
26818
26819 ;;
26820 esac
26821 fi
26822 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26823 if test -n "$PKG_CONFIG"; then
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26825 $as_echo "$PKG_CONFIG" >&6; }
26826 else
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26828 $as_echo "no" >&6; }
26829 fi
26830
26831
26832 fi
26833 if test -z "$ac_cv_path_PKG_CONFIG"; then
26834 ac_pt_PKG_CONFIG=$PKG_CONFIG
26835 # Extract the first word of "pkg-config", so it can be a program name with args.
26836 set dummy pkg-config; ac_word=$2
26837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26838 $as_echo_n "checking for $ac_word... " >&6; }
26839 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
26840 $as_echo_n "(cached) " >&6
26841 else
26842 case $ac_pt_PKG_CONFIG in
26843 [\\/]* | ?:[\\/]*)
26844 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26845 ;;
26846 *)
26847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26848 for as_dir in $PATH
26849 do
26850 IFS=$as_save_IFS
26851 test -z "$as_dir" && as_dir=.
26852 for ac_exec_ext in '' $ac_executable_extensions; do
26853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26854 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26856 break 2
26857 fi
26858 done
26859 done
26860 IFS=$as_save_IFS
26861
26862 ;;
26863 esac
26864 fi
26865 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26866 if test -n "$ac_pt_PKG_CONFIG"; then
26867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26868 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26869 else
26870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26871 $as_echo "no" >&6; }
26872 fi
26873
26874 if test "x$ac_pt_PKG_CONFIG" = x; then
26875 PKG_CONFIG=""
26876 else
26877 case $cross_compiling:$ac_tool_warned in
26878 yes:)
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26881 ac_tool_warned=yes ;;
26882 esac
26883 PKG_CONFIG=$ac_pt_PKG_CONFIG
26884 fi
26885 else
26886 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26887 fi
26888
26889 fi
26890 if test -n "$PKG_CONFIG"; then
26891 _pkg_min_version=0.9.0
26892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26893 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26894 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26896 $as_echo "yes" >&6; }
26897 else
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26899 $as_echo "no" >&6; }
26900 PKG_CONFIG=""
26901 fi
26902
26903 fi 6> /dev/null
26904
26905 pkg_failed=no
26906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26907 $as_echo_n "checking for Xxf86vm... " >&6; }
26908
26909 if test -n "$PKG_CONFIG"; then
26910 if test -n "$Xxf86vm_CFLAGS"; then
26911 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26912 else
26913 if test -n "$PKG_CONFIG" && \
26914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26915 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26916 ac_status=$?
26917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26918 test $ac_status = 0; }; then
26919 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26920 else
26921 pkg_failed=yes
26922 fi
26923 fi
26924 else
26925 pkg_failed=untried
26926 fi
26927 if test -n "$PKG_CONFIG"; then
26928 if test -n "$Xxf86vm_LIBS"; then
26929 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
26930 else
26931 if test -n "$PKG_CONFIG" && \
26932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26933 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26934 ac_status=$?
26935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26936 test $ac_status = 0; }; then
26937 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26938 else
26939 pkg_failed=yes
26940 fi
26941 fi
26942 else
26943 pkg_failed=untried
26944 fi
26945
26946
26947
26948 if test $pkg_failed = yes; then
26949
26950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26951 _pkg_short_errors_supported=yes
26952 else
26953 _pkg_short_errors_supported=no
26954 fi
26955 if test $_pkg_short_errors_supported = yes; then
26956 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26957 else
26958 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26959 fi
26960 # Put the nasty error message in config.log where it belongs
26961 echo "$Xxf86vm_PKG_ERRORS" >&5
26962
26963
26964 if test "x$ac_find_libraries" = "x"; then
26965 if test "xXF86VidModeQueryExtension" != "x"; then
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26967 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26968 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
26969 $as_echo_n "(cached) " >&6
26970 else
26971 ac_check_lib_save_LIBS=$LIBS
26972 LIBS="-lXxf86vm $LIBS"
26973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26974 /* end confdefs.h. */
26975
26976 /* Override any GCC internal prototype to avoid an error.
26977 Use char because int might match the return type of a GCC
26978 builtin and then its argument prototype would still apply. */
26979 #ifdef __cplusplus
26980 extern "C"
26981 #endif
26982 char XF86VidModeQueryExtension ();
26983 int
26984 main ()
26985 {
26986 return XF86VidModeQueryExtension ();
26987 ;
26988 return 0;
26989 }
26990 _ACEOF
26991 if ac_fn_c_try_link "$LINENO"; then :
26992 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26993 else
26994 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26995 fi
26996 rm -f core conftest.err conftest.$ac_objext \
26997 conftest$ac_exeext conftest.$ac_ext
26998 LIBS=$ac_check_lib_save_LIBS
26999 fi
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27001 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27002 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27003 ac_find_libraries="std"
27004 fi
27005
27006 fi
27007 fi
27008
27009 if test "x$ac_find_libraries" = "x"; then
27010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27011 $as_echo_n "checking elsewhere... " >&6; }
27012
27013 ac_find_libraries=
27014 for ac_dir in $SEARCH_LIB
27015 do
27016 for ac_extension in a so sl dylib dll.a; do
27017 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27018 ac_find_libraries=$ac_dir
27019 break 2
27020 fi
27021 done
27022 done
27023
27024 if test "x$ac_find_libraries" != "x"; then
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27026 $as_echo "yes" >&6; }
27027 else
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27029 $as_echo "no" >&6; }
27030 fi
27031 fi
27032
27033 elif test $pkg_failed = untried; then
27034
27035 if test "x$ac_find_libraries" = "x"; then
27036 if test "xXF86VidModeQueryExtension" != "x"; then
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27038 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27039 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
27040 $as_echo_n "(cached) " >&6
27041 else
27042 ac_check_lib_save_LIBS=$LIBS
27043 LIBS="-lXxf86vm $LIBS"
27044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27045 /* end confdefs.h. */
27046
27047 /* Override any GCC internal prototype to avoid an error.
27048 Use char because int might match the return type of a GCC
27049 builtin and then its argument prototype would still apply. */
27050 #ifdef __cplusplus
27051 extern "C"
27052 #endif
27053 char XF86VidModeQueryExtension ();
27054 int
27055 main ()
27056 {
27057 return XF86VidModeQueryExtension ();
27058 ;
27059 return 0;
27060 }
27061 _ACEOF
27062 if ac_fn_c_try_link "$LINENO"; then :
27063 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27064 else
27065 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27066 fi
27067 rm -f core conftest.err conftest.$ac_objext \
27068 conftest$ac_exeext conftest.$ac_ext
27069 LIBS=$ac_check_lib_save_LIBS
27070 fi
27071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27072 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27073 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
27074 ac_find_libraries="std"
27075 fi
27076
27077 fi
27078 fi
27079
27080 if test "x$ac_find_libraries" = "x"; then
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27082 $as_echo_n "checking elsewhere... " >&6; }
27083
27084 ac_find_libraries=
27085 for ac_dir in $SEARCH_LIB
27086 do
27087 for ac_extension in a so sl dylib dll.a; do
27088 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27089 ac_find_libraries=$ac_dir
27090 break 2
27091 fi
27092 done
27093 done
27094
27095 if test "x$ac_find_libraries" != "x"; then
27096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27097 $as_echo "yes" >&6; }
27098 else
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27100 $as_echo "no" >&6; }
27101 fi
27102 fi
27103
27104 else
27105 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27106 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27108 $as_echo "yes" >&6; }
27109
27110 ac_find_libraries="std"
27111
27112 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27113 eval fl_libs=\$Xxf86vm_LIBS
27114
27115 for fl_path in $fl_libs
27116 do
27117 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27118 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27119 fi
27120 done
27121
27122 fi
27123
27124 if test "$ac_find_libraries" != "" ; then
27125 for ac_header in X11/extensions/xf86vmode.h
27126 do :
27127 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27128 #if HAVE_X11_XLIB_H
27129 #include <X11/Xlib.h>
27130 #endif
27131
27132 "
27133 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
27134 cat >>confdefs.h <<_ACEOF
27135 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27136 _ACEOF
27137
27138 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27139
27140 fi
27141
27142 done
27143
27144 fi
27145 fi
27146 fi
27147
27148 if test "$wxUSE_DETECT_SM" = "yes"; then
27149 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27150
27151 ac_find_libraries=
27152
27153 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27154
27155
27156 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27157 if test -n "$ac_tool_prefix"; then
27158 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27159 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27161 $as_echo_n "checking for $ac_word... " >&6; }
27162 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27163 $as_echo_n "(cached) " >&6
27164 else
27165 case $PKG_CONFIG in
27166 [\\/]* | ?:[\\/]*)
27167 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27168 ;;
27169 *)
27170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27171 for as_dir in $PATH
27172 do
27173 IFS=$as_save_IFS
27174 test -z "$as_dir" && as_dir=.
27175 for ac_exec_ext in '' $ac_executable_extensions; do
27176 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27177 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27179 break 2
27180 fi
27181 done
27182 done
27183 IFS=$as_save_IFS
27184
27185 ;;
27186 esac
27187 fi
27188 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27189 if test -n "$PKG_CONFIG"; then
27190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27191 $as_echo "$PKG_CONFIG" >&6; }
27192 else
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27194 $as_echo "no" >&6; }
27195 fi
27196
27197
27198 fi
27199 if test -z "$ac_cv_path_PKG_CONFIG"; then
27200 ac_pt_PKG_CONFIG=$PKG_CONFIG
27201 # Extract the first word of "pkg-config", so it can be a program name with args.
27202 set dummy pkg-config; ac_word=$2
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27204 $as_echo_n "checking for $ac_word... " >&6; }
27205 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27206 $as_echo_n "(cached) " >&6
27207 else
27208 case $ac_pt_PKG_CONFIG in
27209 [\\/]* | ?:[\\/]*)
27210 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27211 ;;
27212 *)
27213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27214 for as_dir in $PATH
27215 do
27216 IFS=$as_save_IFS
27217 test -z "$as_dir" && as_dir=.
27218 for ac_exec_ext in '' $ac_executable_extensions; do
27219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27220 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27222 break 2
27223 fi
27224 done
27225 done
27226 IFS=$as_save_IFS
27227
27228 ;;
27229 esac
27230 fi
27231 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27232 if test -n "$ac_pt_PKG_CONFIG"; then
27233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27234 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27235 else
27236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27237 $as_echo "no" >&6; }
27238 fi
27239
27240 if test "x$ac_pt_PKG_CONFIG" = x; then
27241 PKG_CONFIG=""
27242 else
27243 case $cross_compiling:$ac_tool_warned in
27244 yes:)
27245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27247 ac_tool_warned=yes ;;
27248 esac
27249 PKG_CONFIG=$ac_pt_PKG_CONFIG
27250 fi
27251 else
27252 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27253 fi
27254
27255 fi
27256 if test -n "$PKG_CONFIG"; then
27257 _pkg_min_version=0.9.0
27258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27259 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27260 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27262 $as_echo "yes" >&6; }
27263 else
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27265 $as_echo "no" >&6; }
27266 PKG_CONFIG=""
27267 fi
27268
27269 fi 6> /dev/null
27270
27271 pkg_failed=no
27272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27273 $as_echo_n "checking for SM... " >&6; }
27274
27275 if test -n "$PKG_CONFIG"; then
27276 if test -n "$SM_CFLAGS"; then
27277 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27278 else
27279 if test -n "$PKG_CONFIG" && \
27280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27281 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27282 ac_status=$?
27283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27284 test $ac_status = 0; }; then
27285 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27286 else
27287 pkg_failed=yes
27288 fi
27289 fi
27290 else
27291 pkg_failed=untried
27292 fi
27293 if test -n "$PKG_CONFIG"; then
27294 if test -n "$SM_LIBS"; then
27295 pkg_cv_SM_LIBS="$SM_LIBS"
27296 else
27297 if test -n "$PKG_CONFIG" && \
27298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27299 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27300 ac_status=$?
27301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27302 test $ac_status = 0; }; then
27303 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27304 else
27305 pkg_failed=yes
27306 fi
27307 fi
27308 else
27309 pkg_failed=untried
27310 fi
27311
27312
27313
27314 if test $pkg_failed = yes; then
27315
27316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27317 _pkg_short_errors_supported=yes
27318 else
27319 _pkg_short_errors_supported=no
27320 fi
27321 if test $_pkg_short_errors_supported = yes; then
27322 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27323 else
27324 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27325 fi
27326 # Put the nasty error message in config.log where it belongs
27327 echo "$SM_PKG_ERRORS" >&5
27328
27329
27330 if test "x$ac_find_libraries" = "x"; then
27331 if test "xSmcOpenConnection" != "x"; then
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27333 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27334 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27335 $as_echo_n "(cached) " >&6
27336 else
27337 ac_check_lib_save_LIBS=$LIBS
27338 LIBS="-lSM $LIBS"
27339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27340 /* end confdefs.h. */
27341
27342 /* Override any GCC internal prototype to avoid an error.
27343 Use char because int might match the return type of a GCC
27344 builtin and then its argument prototype would still apply. */
27345 #ifdef __cplusplus
27346 extern "C"
27347 #endif
27348 char SmcOpenConnection ();
27349 int
27350 main ()
27351 {
27352 return SmcOpenConnection ();
27353 ;
27354 return 0;
27355 }
27356 _ACEOF
27357 if ac_fn_c_try_link "$LINENO"; then :
27358 ac_cv_lib_SM_SmcOpenConnection=yes
27359 else
27360 ac_cv_lib_SM_SmcOpenConnection=no
27361 fi
27362 rm -f core conftest.err conftest.$ac_objext \
27363 conftest$ac_exeext conftest.$ac_ext
27364 LIBS=$ac_check_lib_save_LIBS
27365 fi
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27367 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27368 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27369 ac_find_libraries="std"
27370 fi
27371
27372 fi
27373 fi
27374
27375 if test "x$ac_find_libraries" = "x"; then
27376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27377 $as_echo_n "checking elsewhere... " >&6; }
27378
27379 ac_find_libraries=
27380 for ac_dir in $SEARCH_LIB
27381 do
27382 for ac_extension in a so sl dylib dll.a; do
27383 if test -f "$ac_dir/libSM.$ac_extension"; then
27384 ac_find_libraries=$ac_dir
27385 break 2
27386 fi
27387 done
27388 done
27389
27390 if test "x$ac_find_libraries" != "x"; then
27391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27392 $as_echo "yes" >&6; }
27393 else
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27395 $as_echo "no" >&6; }
27396 fi
27397 fi
27398
27399 elif test $pkg_failed = untried; then
27400
27401 if test "x$ac_find_libraries" = "x"; then
27402 if test "xSmcOpenConnection" != "x"; then
27403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27404 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27405 if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
27406 $as_echo_n "(cached) " >&6
27407 else
27408 ac_check_lib_save_LIBS=$LIBS
27409 LIBS="-lSM $LIBS"
27410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27411 /* end confdefs.h. */
27412
27413 /* Override any GCC internal prototype to avoid an error.
27414 Use char because int might match the return type of a GCC
27415 builtin and then its argument prototype would still apply. */
27416 #ifdef __cplusplus
27417 extern "C"
27418 #endif
27419 char SmcOpenConnection ();
27420 int
27421 main ()
27422 {
27423 return SmcOpenConnection ();
27424 ;
27425 return 0;
27426 }
27427 _ACEOF
27428 if ac_fn_c_try_link "$LINENO"; then :
27429 ac_cv_lib_SM_SmcOpenConnection=yes
27430 else
27431 ac_cv_lib_SM_SmcOpenConnection=no
27432 fi
27433 rm -f core conftest.err conftest.$ac_objext \
27434 conftest$ac_exeext conftest.$ac_ext
27435 LIBS=$ac_check_lib_save_LIBS
27436 fi
27437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27438 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27439 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
27440 ac_find_libraries="std"
27441 fi
27442
27443 fi
27444 fi
27445
27446 if test "x$ac_find_libraries" = "x"; then
27447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27448 $as_echo_n "checking elsewhere... " >&6; }
27449
27450 ac_find_libraries=
27451 for ac_dir in $SEARCH_LIB
27452 do
27453 for ac_extension in a so sl dylib dll.a; do
27454 if test -f "$ac_dir/libSM.$ac_extension"; then
27455 ac_find_libraries=$ac_dir
27456 break 2
27457 fi
27458 done
27459 done
27460
27461 if test "x$ac_find_libraries" != "x"; then
27462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27463 $as_echo "yes" >&6; }
27464 else
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27466 $as_echo "no" >&6; }
27467 fi
27468 fi
27469
27470 else
27471 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27472 SM_LIBS=$pkg_cv_SM_LIBS
27473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27474 $as_echo "yes" >&6; }
27475
27476 ac_find_libraries="std"
27477
27478 eval ac_find_cflags=\$SM_CFLAGS
27479 eval fl_libs=\$SM_LIBS
27480
27481 for fl_path in $fl_libs
27482 do
27483 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27484 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27485 fi
27486 done
27487
27488 fi
27489
27490 if test "$ac_find_libraries" != "" ; then
27491 if test "$ac_find_libraries" != "std" ; then
27492
27493 if test "$ac_find_libraries" = "default location"; then
27494 ac_path_to_link=""
27495 else
27496 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27497 result=$?
27498 if test $result = 0; then
27499 ac_path_to_link=""
27500 else
27501 ac_path_to_link=" -L$ac_find_libraries"
27502 fi
27503 fi
27504
27505 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27506 LDFLAGS="$LDFLAGS $ac_path_to_link"
27507 fi
27508 fi
27509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27510 else
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27512 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27513 wxUSE_DETECT_SM="no"
27514 fi
27515 else
27516 wxUSE_DETECT_SM="no"
27517 fi
27518 fi
27519
27520
27521
27522 USE_OPENGL=0
27523 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27524
27525
27526 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27527 OPENGL_LIBS="-framework OpenGL -framework AGL"
27528 elif test "$wxUSE_MSW" = 1; then
27529 OPENGL_LIBS="-lopengl32 -lglu32"
27530 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27531
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27533 $as_echo_n "checking for OpenGL headers... " >&6; }
27534
27535 ac_find_includes=
27536 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27537 do
27538 if test -f "$ac_dir/GL/gl.h"; then
27539 ac_find_includes=$ac_dir
27540 break
27541 fi
27542 done
27543
27544 if test "$ac_find_includes" != "" ; then
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27546 $as_echo "found in $ac_find_includes" >&6; }
27547
27548 if test "x$ac_find_includes" = "x/usr/include"; then
27549 ac_path_to_include=""
27550 else
27551 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27552 result=$?
27553 if test $result = 0; then
27554 ac_path_to_include=""
27555 else
27556 ac_path_to_include=" -I$ac_find_includes"
27557 fi
27558 fi
27559
27560 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27561 else
27562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27563 $as_echo "not found" >&6; }
27564 fi
27565
27566 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27567 "
27568 if test "x$ac_cv_header_GL_gl_h" = xyes; then :
27569
27570 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27571 "
27572 if test "x$ac_cv_header_GL_glu_h" = xyes; then :
27573
27574 found_gl=0
27575
27576
27577 ac_find_libraries=
27578
27579 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27580
27581
27582 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27583 if test -n "$ac_tool_prefix"; then
27584 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27585 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27587 $as_echo_n "checking for $ac_word... " >&6; }
27588 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27589 $as_echo_n "(cached) " >&6
27590 else
27591 case $PKG_CONFIG in
27592 [\\/]* | ?:[\\/]*)
27593 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27594 ;;
27595 *)
27596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27597 for as_dir in $PATH
27598 do
27599 IFS=$as_save_IFS
27600 test -z "$as_dir" && as_dir=.
27601 for ac_exec_ext in '' $ac_executable_extensions; do
27602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27603 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27605 break 2
27606 fi
27607 done
27608 done
27609 IFS=$as_save_IFS
27610
27611 ;;
27612 esac
27613 fi
27614 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27615 if test -n "$PKG_CONFIG"; then
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27617 $as_echo "$PKG_CONFIG" >&6; }
27618 else
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27620 $as_echo "no" >&6; }
27621 fi
27622
27623
27624 fi
27625 if test -z "$ac_cv_path_PKG_CONFIG"; then
27626 ac_pt_PKG_CONFIG=$PKG_CONFIG
27627 # Extract the first word of "pkg-config", so it can be a program name with args.
27628 set dummy pkg-config; ac_word=$2
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27630 $as_echo_n "checking for $ac_word... " >&6; }
27631 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27632 $as_echo_n "(cached) " >&6
27633 else
27634 case $ac_pt_PKG_CONFIG in
27635 [\\/]* | ?:[\\/]*)
27636 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27637 ;;
27638 *)
27639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27640 for as_dir in $PATH
27641 do
27642 IFS=$as_save_IFS
27643 test -z "$as_dir" && as_dir=.
27644 for ac_exec_ext in '' $ac_executable_extensions; do
27645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27646 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27648 break 2
27649 fi
27650 done
27651 done
27652 IFS=$as_save_IFS
27653
27654 ;;
27655 esac
27656 fi
27657 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27658 if test -n "$ac_pt_PKG_CONFIG"; then
27659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27660 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27661 else
27662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27663 $as_echo "no" >&6; }
27664 fi
27665
27666 if test "x$ac_pt_PKG_CONFIG" = x; then
27667 PKG_CONFIG=""
27668 else
27669 case $cross_compiling:$ac_tool_warned in
27670 yes:)
27671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27673 ac_tool_warned=yes ;;
27674 esac
27675 PKG_CONFIG=$ac_pt_PKG_CONFIG
27676 fi
27677 else
27678 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27679 fi
27680
27681 fi
27682 if test -n "$PKG_CONFIG"; then
27683 _pkg_min_version=0.9.0
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27685 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27686 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27688 $as_echo "yes" >&6; }
27689 else
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27691 $as_echo "no" >&6; }
27692 PKG_CONFIG=""
27693 fi
27694
27695 fi 6> /dev/null
27696
27697 pkg_failed=no
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27699 $as_echo_n "checking for GL... " >&6; }
27700
27701 if test -n "$PKG_CONFIG"; then
27702 if test -n "$GL_CFLAGS"; then
27703 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27704 else
27705 if test -n "$PKG_CONFIG" && \
27706 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27707 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27708 ac_status=$?
27709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27710 test $ac_status = 0; }; then
27711 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27712 else
27713 pkg_failed=yes
27714 fi
27715 fi
27716 else
27717 pkg_failed=untried
27718 fi
27719 if test -n "$PKG_CONFIG"; then
27720 if test -n "$GL_LIBS"; then
27721 pkg_cv_GL_LIBS="$GL_LIBS"
27722 else
27723 if test -n "$PKG_CONFIG" && \
27724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27725 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27726 ac_status=$?
27727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27728 test $ac_status = 0; }; then
27729 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27730 else
27731 pkg_failed=yes
27732 fi
27733 fi
27734 else
27735 pkg_failed=untried
27736 fi
27737
27738
27739
27740 if test $pkg_failed = yes; then
27741
27742 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27743 _pkg_short_errors_supported=yes
27744 else
27745 _pkg_short_errors_supported=no
27746 fi
27747 if test $_pkg_short_errors_supported = yes; then
27748 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27749 else
27750 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27751 fi
27752 # Put the nasty error message in config.log where it belongs
27753 echo "$GL_PKG_ERRORS" >&5
27754
27755
27756 if test "x$ac_find_libraries" = "x"; then
27757 if test "xglBegin" != "x"; then
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27759 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27760 if ${ac_cv_lib_GL_glBegin+:} false; then :
27761 $as_echo_n "(cached) " >&6
27762 else
27763 ac_check_lib_save_LIBS=$LIBS
27764 LIBS="-lGL $LIBS"
27765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27766 /* end confdefs.h. */
27767
27768 /* Override any GCC internal prototype to avoid an error.
27769 Use char because int might match the return type of a GCC
27770 builtin and then its argument prototype would still apply. */
27771 #ifdef __cplusplus
27772 extern "C"
27773 #endif
27774 char glBegin ();
27775 int
27776 main ()
27777 {
27778 return glBegin ();
27779 ;
27780 return 0;
27781 }
27782 _ACEOF
27783 if ac_fn_c_try_link "$LINENO"; then :
27784 ac_cv_lib_GL_glBegin=yes
27785 else
27786 ac_cv_lib_GL_glBegin=no
27787 fi
27788 rm -f core conftest.err conftest.$ac_objext \
27789 conftest$ac_exeext conftest.$ac_ext
27790 LIBS=$ac_check_lib_save_LIBS
27791 fi
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27793 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27794 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27795 ac_find_libraries="std"
27796 fi
27797
27798 fi
27799 fi
27800
27801 if test "x$ac_find_libraries" = "x"; then
27802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27803 $as_echo_n "checking elsewhere... " >&6; }
27804
27805 ac_find_libraries=
27806 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27807 do
27808 for ac_extension in a so sl dylib dll.a; do
27809 if test -f "$ac_dir/libGL.$ac_extension"; then
27810 ac_find_libraries=$ac_dir
27811 break 2
27812 fi
27813 done
27814 done
27815
27816 if test "x$ac_find_libraries" != "x"; then
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27818 $as_echo "yes" >&6; }
27819 else
27820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27821 $as_echo "no" >&6; }
27822 fi
27823 fi
27824
27825 elif test $pkg_failed = untried; then
27826
27827 if test "x$ac_find_libraries" = "x"; then
27828 if test "xglBegin" != "x"; then
27829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27830 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27831 if ${ac_cv_lib_GL_glBegin+:} false; then :
27832 $as_echo_n "(cached) " >&6
27833 else
27834 ac_check_lib_save_LIBS=$LIBS
27835 LIBS="-lGL $LIBS"
27836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27837 /* end confdefs.h. */
27838
27839 /* Override any GCC internal prototype to avoid an error.
27840 Use char because int might match the return type of a GCC
27841 builtin and then its argument prototype would still apply. */
27842 #ifdef __cplusplus
27843 extern "C"
27844 #endif
27845 char glBegin ();
27846 int
27847 main ()
27848 {
27849 return glBegin ();
27850 ;
27851 return 0;
27852 }
27853 _ACEOF
27854 if ac_fn_c_try_link "$LINENO"; then :
27855 ac_cv_lib_GL_glBegin=yes
27856 else
27857 ac_cv_lib_GL_glBegin=no
27858 fi
27859 rm -f core conftest.err conftest.$ac_objext \
27860 conftest$ac_exeext conftest.$ac_ext
27861 LIBS=$ac_check_lib_save_LIBS
27862 fi
27863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27864 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27865 if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
27866 ac_find_libraries="std"
27867 fi
27868
27869 fi
27870 fi
27871
27872 if test "x$ac_find_libraries" = "x"; then
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27874 $as_echo_n "checking elsewhere... " >&6; }
27875
27876 ac_find_libraries=
27877 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27878 do
27879 for ac_extension in a so sl dylib dll.a; do
27880 if test -f "$ac_dir/libGL.$ac_extension"; then
27881 ac_find_libraries=$ac_dir
27882 break 2
27883 fi
27884 done
27885 done
27886
27887 if test "x$ac_find_libraries" != "x"; then
27888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27889 $as_echo "yes" >&6; }
27890 else
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27892 $as_echo "no" >&6; }
27893 fi
27894 fi
27895
27896 else
27897 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27898 GL_LIBS=$pkg_cv_GL_LIBS
27899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27900 $as_echo "yes" >&6; }
27901
27902 ac_find_libraries="std"
27903
27904 eval ac_find_cflags=\$GL_CFLAGS
27905 eval fl_libs=\$GL_LIBS
27906
27907 for fl_path in $fl_libs
27908 do
27909 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27910 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27911 fi
27912 done
27913
27914 fi
27915
27916 if test "$ac_find_libraries" != "" ; then
27917 if test "$ac_find_libraries" != "std" ; then
27918
27919 if test "$ac_find_libraries" = "default location"; then
27920 ac_path_to_link=""
27921 else
27922 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27923 result=$?
27924 if test $result = 0; then
27925 ac_path_to_link=""
27926 else
27927 ac_path_to_link=" -L$ac_find_libraries"
27928 fi
27929 fi
27930
27931 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27932 LDFLAGS_GL="$ac_path_to_link"
27933 fi
27934 fi
27935
27936
27937 ac_find_libraries=
27938
27939 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
27940
27941
27942 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27943 if test -n "$ac_tool_prefix"; then
27944 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27945 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27947 $as_echo_n "checking for $ac_word... " >&6; }
27948 if ${ac_cv_path_PKG_CONFIG+:} false; then :
27949 $as_echo_n "(cached) " >&6
27950 else
27951 case $PKG_CONFIG in
27952 [\\/]* | ?:[\\/]*)
27953 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27954 ;;
27955 *)
27956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27957 for as_dir in $PATH
27958 do
27959 IFS=$as_save_IFS
27960 test -z "$as_dir" && as_dir=.
27961 for ac_exec_ext in '' $ac_executable_extensions; do
27962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27963 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27965 break 2
27966 fi
27967 done
27968 done
27969 IFS=$as_save_IFS
27970
27971 ;;
27972 esac
27973 fi
27974 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27975 if test -n "$PKG_CONFIG"; then
27976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27977 $as_echo "$PKG_CONFIG" >&6; }
27978 else
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27980 $as_echo "no" >&6; }
27981 fi
27982
27983
27984 fi
27985 if test -z "$ac_cv_path_PKG_CONFIG"; then
27986 ac_pt_PKG_CONFIG=$PKG_CONFIG
27987 # Extract the first word of "pkg-config", so it can be a program name with args.
27988 set dummy pkg-config; ac_word=$2
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27990 $as_echo_n "checking for $ac_word... " >&6; }
27991 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
27992 $as_echo_n "(cached) " >&6
27993 else
27994 case $ac_pt_PKG_CONFIG in
27995 [\\/]* | ?:[\\/]*)
27996 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27997 ;;
27998 *)
27999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28000 for as_dir in $PATH
28001 do
28002 IFS=$as_save_IFS
28003 test -z "$as_dir" && as_dir=.
28004 for ac_exec_ext in '' $ac_executable_extensions; do
28005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28006 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28008 break 2
28009 fi
28010 done
28011 done
28012 IFS=$as_save_IFS
28013
28014 ;;
28015 esac
28016 fi
28017 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28018 if test -n "$ac_pt_PKG_CONFIG"; then
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28020 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28021 else
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28023 $as_echo "no" >&6; }
28024 fi
28025
28026 if test "x$ac_pt_PKG_CONFIG" = x; then
28027 PKG_CONFIG=""
28028 else
28029 case $cross_compiling:$ac_tool_warned in
28030 yes:)
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28032 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28033 ac_tool_warned=yes ;;
28034 esac
28035 PKG_CONFIG=$ac_pt_PKG_CONFIG
28036 fi
28037 else
28038 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28039 fi
28040
28041 fi
28042 if test -n "$PKG_CONFIG"; then
28043 _pkg_min_version=0.9.0
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28045 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28046 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28048 $as_echo "yes" >&6; }
28049 else
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28051 $as_echo "no" >&6; }
28052 PKG_CONFIG=""
28053 fi
28054
28055 fi 6> /dev/null
28056
28057 pkg_failed=no
28058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28059 $as_echo_n "checking for GLU... " >&6; }
28060
28061 if test -n "$PKG_CONFIG"; then
28062 if test -n "$GLU_CFLAGS"; then
28063 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28064 else
28065 if test -n "$PKG_CONFIG" && \
28066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28067 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28068 ac_status=$?
28069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28070 test $ac_status = 0; }; then
28071 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28072 else
28073 pkg_failed=yes
28074 fi
28075 fi
28076 else
28077 pkg_failed=untried
28078 fi
28079 if test -n "$PKG_CONFIG"; then
28080 if test -n "$GLU_LIBS"; then
28081 pkg_cv_GLU_LIBS="$GLU_LIBS"
28082 else
28083 if test -n "$PKG_CONFIG" && \
28084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28085 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28086 ac_status=$?
28087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28088 test $ac_status = 0; }; then
28089 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28090 else
28091 pkg_failed=yes
28092 fi
28093 fi
28094 else
28095 pkg_failed=untried
28096 fi
28097
28098
28099
28100 if test $pkg_failed = yes; then
28101
28102 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28103 _pkg_short_errors_supported=yes
28104 else
28105 _pkg_short_errors_supported=no
28106 fi
28107 if test $_pkg_short_errors_supported = yes; then
28108 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28109 else
28110 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28111 fi
28112 # Put the nasty error message in config.log where it belongs
28113 echo "$GLU_PKG_ERRORS" >&5
28114
28115
28116 if test "x$ac_find_libraries" = "x"; then
28117 if test "xgluBeginCurve" != "x"; then
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28119 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28120 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28121 $as_echo_n "(cached) " >&6
28122 else
28123 ac_check_lib_save_LIBS=$LIBS
28124 LIBS="-lGLU $LIBS"
28125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h. */
28127
28128 /* Override any GCC internal prototype to avoid an error.
28129 Use char because int might match the return type of a GCC
28130 builtin and then its argument prototype would still apply. */
28131 #ifdef __cplusplus
28132 extern "C"
28133 #endif
28134 char gluBeginCurve ();
28135 int
28136 main ()
28137 {
28138 return gluBeginCurve ();
28139 ;
28140 return 0;
28141 }
28142 _ACEOF
28143 if ac_fn_c_try_link "$LINENO"; then :
28144 ac_cv_lib_GLU_gluBeginCurve=yes
28145 else
28146 ac_cv_lib_GLU_gluBeginCurve=no
28147 fi
28148 rm -f core conftest.err conftest.$ac_objext \
28149 conftest$ac_exeext conftest.$ac_ext
28150 LIBS=$ac_check_lib_save_LIBS
28151 fi
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28153 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28154 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28155 ac_find_libraries="std"
28156 fi
28157
28158 fi
28159 fi
28160
28161 if test "x$ac_find_libraries" = "x"; then
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28163 $as_echo_n "checking elsewhere... " >&6; }
28164
28165 ac_find_libraries=
28166 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28167 do
28168 for ac_extension in a so sl dylib dll.a; do
28169 if test -f "$ac_dir/libGLU.$ac_extension"; then
28170 ac_find_libraries=$ac_dir
28171 break 2
28172 fi
28173 done
28174 done
28175
28176 if test "x$ac_find_libraries" != "x"; then
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28178 $as_echo "yes" >&6; }
28179 else
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28181 $as_echo "no" >&6; }
28182 fi
28183 fi
28184
28185 elif test $pkg_failed = untried; then
28186
28187 if test "x$ac_find_libraries" = "x"; then
28188 if test "xgluBeginCurve" != "x"; then
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28190 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28191 if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
28192 $as_echo_n "(cached) " >&6
28193 else
28194 ac_check_lib_save_LIBS=$LIBS
28195 LIBS="-lGLU $LIBS"
28196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28197 /* end confdefs.h. */
28198
28199 /* Override any GCC internal prototype to avoid an error.
28200 Use char because int might match the return type of a GCC
28201 builtin and then its argument prototype would still apply. */
28202 #ifdef __cplusplus
28203 extern "C"
28204 #endif
28205 char gluBeginCurve ();
28206 int
28207 main ()
28208 {
28209 return gluBeginCurve ();
28210 ;
28211 return 0;
28212 }
28213 _ACEOF
28214 if ac_fn_c_try_link "$LINENO"; then :
28215 ac_cv_lib_GLU_gluBeginCurve=yes
28216 else
28217 ac_cv_lib_GLU_gluBeginCurve=no
28218 fi
28219 rm -f core conftest.err conftest.$ac_objext \
28220 conftest$ac_exeext conftest.$ac_ext
28221 LIBS=$ac_check_lib_save_LIBS
28222 fi
28223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28224 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28225 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
28226 ac_find_libraries="std"
28227 fi
28228
28229 fi
28230 fi
28231
28232 if test "x$ac_find_libraries" = "x"; then
28233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28234 $as_echo_n "checking elsewhere... " >&6; }
28235
28236 ac_find_libraries=
28237 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28238 do
28239 for ac_extension in a so sl dylib dll.a; do
28240 if test -f "$ac_dir/libGLU.$ac_extension"; then
28241 ac_find_libraries=$ac_dir
28242 break 2
28243 fi
28244 done
28245 done
28246
28247 if test "x$ac_find_libraries" != "x"; then
28248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28249 $as_echo "yes" >&6; }
28250 else
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28252 $as_echo "no" >&6; }
28253 fi
28254 fi
28255
28256 else
28257 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28258 GLU_LIBS=$pkg_cv_GLU_LIBS
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28260 $as_echo "yes" >&6; }
28261
28262 ac_find_libraries="std"
28263
28264 eval ac_find_cflags=\$GLU_CFLAGS
28265 eval fl_libs=\$GLU_LIBS
28266
28267 for fl_path in $fl_libs
28268 do
28269 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28270 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28271 fi
28272 done
28273
28274 fi
28275
28276 if test "$ac_find_libraries" != "" ; then
28277 if test "$ac_find_libraries" != "std" ; then
28278
28279 if test "$ac_find_libraries" = "default location"; then
28280 ac_path_to_link=""
28281 else
28282 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28283 result=$?
28284 if test $result = 0; then
28285 ac_path_to_link=""
28286 else
28287 ac_path_to_link=" -L$ac_find_libraries"
28288 fi
28289 fi
28290
28291 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28292 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28293 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28294 fi
28295 fi
28296
28297 found_gl=1
28298 OPENGL_LIBS="-lGL -lGLU"
28299 fi
28300 fi
28301
28302 if test "$found_gl" != 1; then
28303
28304 ac_find_libraries=
28305
28306 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28307
28308
28309 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28310 if test -n "$ac_tool_prefix"; then
28311 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28312 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28314 $as_echo_n "checking for $ac_word... " >&6; }
28315 if ${ac_cv_path_PKG_CONFIG+:} false; then :
28316 $as_echo_n "(cached) " >&6
28317 else
28318 case $PKG_CONFIG in
28319 [\\/]* | ?:[\\/]*)
28320 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28321 ;;
28322 *)
28323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28324 for as_dir in $PATH
28325 do
28326 IFS=$as_save_IFS
28327 test -z "$as_dir" && as_dir=.
28328 for ac_exec_ext in '' $ac_executable_extensions; do
28329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28330 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28332 break 2
28333 fi
28334 done
28335 done
28336 IFS=$as_save_IFS
28337
28338 ;;
28339 esac
28340 fi
28341 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28342 if test -n "$PKG_CONFIG"; then
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28344 $as_echo "$PKG_CONFIG" >&6; }
28345 else
28346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28347 $as_echo "no" >&6; }
28348 fi
28349
28350
28351 fi
28352 if test -z "$ac_cv_path_PKG_CONFIG"; then
28353 ac_pt_PKG_CONFIG=$PKG_CONFIG
28354 # Extract the first word of "pkg-config", so it can be a program name with args.
28355 set dummy pkg-config; ac_word=$2
28356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28357 $as_echo_n "checking for $ac_word... " >&6; }
28358 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
28359 $as_echo_n "(cached) " >&6
28360 else
28361 case $ac_pt_PKG_CONFIG in
28362 [\\/]* | ?:[\\/]*)
28363 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28364 ;;
28365 *)
28366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28367 for as_dir in $PATH
28368 do
28369 IFS=$as_save_IFS
28370 test -z "$as_dir" && as_dir=.
28371 for ac_exec_ext in '' $ac_executable_extensions; do
28372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28373 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28375 break 2
28376 fi
28377 done
28378 done
28379 IFS=$as_save_IFS
28380
28381 ;;
28382 esac
28383 fi
28384 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28385 if test -n "$ac_pt_PKG_CONFIG"; then
28386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28387 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28388 else
28389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28390 $as_echo "no" >&6; }
28391 fi
28392
28393 if test "x$ac_pt_PKG_CONFIG" = x; then
28394 PKG_CONFIG=""
28395 else
28396 case $cross_compiling:$ac_tool_warned in
28397 yes:)
28398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28399 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28400 ac_tool_warned=yes ;;
28401 esac
28402 PKG_CONFIG=$ac_pt_PKG_CONFIG
28403 fi
28404 else
28405 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28406 fi
28407
28408 fi
28409 if test -n "$PKG_CONFIG"; then
28410 _pkg_min_version=0.9.0
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28412 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28413 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28415 $as_echo "yes" >&6; }
28416 else
28417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28418 $as_echo "no" >&6; }
28419 PKG_CONFIG=""
28420 fi
28421
28422 fi 6> /dev/null
28423
28424 pkg_failed=no
28425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28426 $as_echo_n "checking for MesaGL... " >&6; }
28427
28428 if test -n "$PKG_CONFIG"; then
28429 if test -n "$MesaGL_CFLAGS"; then
28430 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28431 else
28432 if test -n "$PKG_CONFIG" && \
28433 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28434 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28435 ac_status=$?
28436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28437 test $ac_status = 0; }; then
28438 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28439 else
28440 pkg_failed=yes
28441 fi
28442 fi
28443 else
28444 pkg_failed=untried
28445 fi
28446 if test -n "$PKG_CONFIG"; then
28447 if test -n "$MesaGL_LIBS"; then
28448 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28449 else
28450 if test -n "$PKG_CONFIG" && \
28451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28452 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28453 ac_status=$?
28454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28455 test $ac_status = 0; }; then
28456 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28457 else
28458 pkg_failed=yes
28459 fi
28460 fi
28461 else
28462 pkg_failed=untried
28463 fi
28464
28465
28466
28467 if test $pkg_failed = yes; then
28468
28469 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28470 _pkg_short_errors_supported=yes
28471 else
28472 _pkg_short_errors_supported=no
28473 fi
28474 if test $_pkg_short_errors_supported = yes; then
28475 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28476 else
28477 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28478 fi
28479 # Put the nasty error message in config.log where it belongs
28480 echo "$MesaGL_PKG_ERRORS" >&5
28481
28482
28483 if test "x$ac_find_libraries" = "x"; then
28484 if test "xglEnable" != "x"; then
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28486 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28487 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28488 $as_echo_n "(cached) " >&6
28489 else
28490 ac_check_lib_save_LIBS=$LIBS
28491 LIBS="-lMesaGL $LIBS"
28492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28493 /* end confdefs.h. */
28494
28495 /* Override any GCC internal prototype to avoid an error.
28496 Use char because int might match the return type of a GCC
28497 builtin and then its argument prototype would still apply. */
28498 #ifdef __cplusplus
28499 extern "C"
28500 #endif
28501 char glEnable ();
28502 int
28503 main ()
28504 {
28505 return glEnable ();
28506 ;
28507 return 0;
28508 }
28509 _ACEOF
28510 if ac_fn_c_try_link "$LINENO"; then :
28511 ac_cv_lib_MesaGL_glEnable=yes
28512 else
28513 ac_cv_lib_MesaGL_glEnable=no
28514 fi
28515 rm -f core conftest.err conftest.$ac_objext \
28516 conftest$ac_exeext conftest.$ac_ext
28517 LIBS=$ac_check_lib_save_LIBS
28518 fi
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28520 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28521 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28522 ac_find_libraries="std"
28523 fi
28524
28525 fi
28526 fi
28527
28528 if test "x$ac_find_libraries" = "x"; then
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28530 $as_echo_n "checking elsewhere... " >&6; }
28531
28532 ac_find_libraries=
28533 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28534 do
28535 for ac_extension in a so sl dylib dll.a; do
28536 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28537 ac_find_libraries=$ac_dir
28538 break 2
28539 fi
28540 done
28541 done
28542
28543 if test "x$ac_find_libraries" != "x"; then
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28545 $as_echo "yes" >&6; }
28546 else
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28548 $as_echo "no" >&6; }
28549 fi
28550 fi
28551
28552 elif test $pkg_failed = untried; then
28553
28554 if test "x$ac_find_libraries" = "x"; then
28555 if test "xglEnable" != "x"; then
28556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28557 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28558 if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
28559 $as_echo_n "(cached) " >&6
28560 else
28561 ac_check_lib_save_LIBS=$LIBS
28562 LIBS="-lMesaGL $LIBS"
28563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28564 /* end confdefs.h. */
28565
28566 /* Override any GCC internal prototype to avoid an error.
28567 Use char because int might match the return type of a GCC
28568 builtin and then its argument prototype would still apply. */
28569 #ifdef __cplusplus
28570 extern "C"
28571 #endif
28572 char glEnable ();
28573 int
28574 main ()
28575 {
28576 return glEnable ();
28577 ;
28578 return 0;
28579 }
28580 _ACEOF
28581 if ac_fn_c_try_link "$LINENO"; then :
28582 ac_cv_lib_MesaGL_glEnable=yes
28583 else
28584 ac_cv_lib_MesaGL_glEnable=no
28585 fi
28586 rm -f core conftest.err conftest.$ac_objext \
28587 conftest$ac_exeext conftest.$ac_ext
28588 LIBS=$ac_check_lib_save_LIBS
28589 fi
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28591 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28592 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
28593 ac_find_libraries="std"
28594 fi
28595
28596 fi
28597 fi
28598
28599 if test "x$ac_find_libraries" = "x"; then
28600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28601 $as_echo_n "checking elsewhere... " >&6; }
28602
28603 ac_find_libraries=
28604 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28605 do
28606 for ac_extension in a so sl dylib dll.a; do
28607 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28608 ac_find_libraries=$ac_dir
28609 break 2
28610 fi
28611 done
28612 done
28613
28614 if test "x$ac_find_libraries" != "x"; then
28615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28616 $as_echo "yes" >&6; }
28617 else
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28619 $as_echo "no" >&6; }
28620 fi
28621 fi
28622
28623 else
28624 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28625 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28627 $as_echo "yes" >&6; }
28628
28629 ac_find_libraries="std"
28630
28631 eval ac_find_cflags=\$MesaGL_CFLAGS
28632 eval fl_libs=\$MesaGL_LIBS
28633
28634 for fl_path in $fl_libs
28635 do
28636 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28637 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28638 fi
28639 done
28640
28641 fi
28642
28643 if test "$ac_find_libraries" != "" ; then
28644 if test "$ac_find_libraries" != "std" ; then
28645
28646 if test "$ac_find_libraries" = "default location"; then
28647 ac_path_to_link=""
28648 else
28649 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28650 result=$?
28651 if test $result = 0; then
28652 ac_path_to_link=""
28653 else
28654 ac_path_to_link=" -L$ac_find_libraries"
28655 fi
28656 fi
28657
28658 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28659 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28660 fi
28661 fi
28662 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28663 fi
28664 fi
28665
28666 fi
28667
28668
28669
28670 fi
28671
28672
28673
28674 if test "x$OPENGL_LIBS" = "x"; then
28675 if test "$wxUSE_OPENGL" = "yes"; then
28676 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28677 else
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28679 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28680 wxUSE_OPENGL=no
28681 USE_OPENGL=0
28682 fi
28683 fi
28684 else
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28686 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28687 wxUSE_OPENGL="no"
28688 fi
28689
28690 if test "$wxUSE_OPENGL" = "auto"; then
28691 wxUSE_OPENGL=yes
28692 fi
28693
28694 if test "$wxUSE_OPENGL" = "yes"; then
28695 USE_OPENGL=1
28696 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28697
28698 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28699
28700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28701 fi
28702 fi
28703
28704
28705 if test -n "$TOOLKIT" ; then
28706 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28707 fi
28708
28709
28710
28711 if test "$wxUSE_SHARED" = "yes"; then
28712 case "${host}" in
28713 *-pc-msdosdjgpp )
28714 wxUSE_SHARED=no
28715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28716 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28717 ;;
28718 esac
28719 fi
28720
28721 if test "$wxUSE_SHARED" = "yes"; then
28722
28723
28724 case "${host}" in
28725 *-*-cygwin* | *-*-mingw* )
28726 wx_cv_version_script=no
28727 ;;
28728
28729 *)
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28731 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28732 if ${wx_cv_version_script+:} false; then :
28733 $as_echo_n "(cached) " >&6
28734 else
28735
28736 echo "VER_1 { *; };" >conftest.sym
28737 echo "int main() { return 0; }" >conftest.cpp
28738
28739 if { ac_try='
28740 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28741 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28742 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28743 (eval $ac_try) 2>&5
28744 ac_status=$?
28745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28746 test $ac_status = 0; }; } ; then
28747 if test -s conftest.stderr ; then
28748 wx_cv_version_script=no
28749 else
28750 wx_cv_version_script=yes
28751 fi
28752 else
28753 wx_cv_version_script=no
28754 fi
28755
28756 if test $wx_cv_version_script = yes
28757 then
28758 echo "struct B { virtual ~B() { } }; \
28759 struct D : public B { }; \
28760 void F() { D d; }" > conftest.cpp
28761
28762 if { ac_try='
28763 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28764 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28765 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28766 (eval $ac_try) 2>&5
28767 ac_status=$?
28768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28769 test $ac_status = 0; }; } &&
28770 { ac_try='
28771 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28772 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28773 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28774 (eval $ac_try) 2>&5
28775 ac_status=$?
28776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28777 test $ac_status = 0; }; }
28778 then
28779 if { ac_try='
28780 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28781 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28782 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28783 (eval $ac_try) 2>&5
28784 ac_status=$?
28785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28786 test $ac_status = 0; }; }
28787 then
28788 wx_cv_version_script=yes
28789 else
28790 wx_cv_version_script=no
28791 fi
28792 fi
28793 fi
28794
28795 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28796 rm -f conftest1.output conftest2.output conftest3.output
28797
28798 fi
28799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28800 $as_echo "$wx_cv_version_script" >&6; }
28801
28802 if test $wx_cv_version_script = yes ; then
28803 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28804 fi
28805 ;;
28806 esac
28807
28808
28809 if test "$wxUSE_VISIBILITY" != "no"; then
28810
28811
28812 if test -n "$GCC"; then
28813 CFLAGS_VISIBILITY="-fvisibility=hidden"
28814 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28816 $as_echo_n "checking for symbols visibility support... " >&6; }
28817 if ${wx_cv_cc_visibility+:} false; then :
28818 $as_echo_n "(cached) " >&6
28819 else
28820
28821 wx_save_CXXFLAGS="$CXXFLAGS"
28822 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28823 ac_ext=cpp
28824 ac_cpp='$CXXCPP $CPPFLAGS'
28825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28828
28829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28830 /* end confdefs.h. */
28831
28832 /* we need gcc >= 4.0, older versions with visibility support
28833 didn't have class visibility: */
28834 #if defined(__GNUC__) && __GNUC__ < 4
28835 error this gcc is too old;
28836 #endif
28837
28838 /* visibility only makes sense for ELF shared libs: */
28839 #if !defined(__ELF__) && !defined(__APPLE__)
28840 error this platform has no visibility;
28841 #endif
28842
28843 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28844 #if defined(__clang__)
28845 clang compiler is still broken w.r.t. visibility;
28846 #endif
28847
28848 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28849 extern __attribute__((__visibility__("default"))) int exportedvar;
28850 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28851 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28852 class __attribute__((__visibility__("default"))) Foo {
28853 Foo() {}
28854 };
28855
28856 int
28857 main ()
28858 {
28859
28860 ;
28861 return 0;
28862 }
28863 _ACEOF
28864 if ac_fn_cxx_try_compile "$LINENO"; then :
28865 wx_cv_cc_visibility=yes
28866 else
28867 wx_cv_cc_visibility=no
28868 fi
28869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28870 ac_ext=c
28871 ac_cpp='$CPP $CPPFLAGS'
28872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28875
28876 CXXFLAGS="$wx_save_CXXFLAGS"
28877 fi
28878
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28880 $as_echo "$wx_cv_cc_visibility" >&6; }
28881 if test $wx_cv_cc_visibility = yes; then
28882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28883 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28884 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
28885 $as_echo_n "(cached) " >&6
28886 else
28887
28888 wx_save_CXXFLAGS="$CXXFLAGS"
28889 wx_save_LDFLAGS="$LDFLAGS"
28890 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28891 LDFLAGS="$LDFLAGS -shared -fPIC"
28892 ac_ext=cpp
28893 ac_cpp='$CXXCPP $CPPFLAGS'
28894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28897
28898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28899 /* end confdefs.h. */
28900
28901 #include <string>
28902
28903 int
28904 main ()
28905 {
28906
28907 std::string s("hello");
28908 return s.length();
28909
28910 ;
28911 return 0;
28912 }
28913 _ACEOF
28914 if ac_fn_cxx_try_link "$LINENO"; then :
28915 wx_cv_cc_broken_libstdcxx_visibility=no
28916 else
28917 wx_cv_cc_broken_libstdcxx_visibility=yes
28918 fi
28919 rm -f core conftest.err conftest.$ac_objext \
28920 conftest$ac_exeext conftest.$ac_ext
28921 ac_ext=c
28922 ac_cpp='$CPP $CPPFLAGS'
28923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28926
28927 CXXFLAGS="$wx_save_CXXFLAGS"
28928 LDFLAGS="$wx_save_LDFLAGS"
28929 fi
28930
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28932 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28933
28934 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28936 $as_echo_n "checking whether we can work around it... " >&6; }
28937 if ${wx_cv_cc_visibility_workaround+:} false; then :
28938 $as_echo_n "(cached) " >&6
28939 else
28940
28941 ac_ext=cpp
28942 ac_cpp='$CXXCPP $CPPFLAGS'
28943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28946
28947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28948 /* end confdefs.h. */
28949
28950 #pragma GCC visibility push(default)
28951 #include <string>
28952 #pragma GCC visibility pop
28953
28954 int
28955 main ()
28956 {
28957
28958 std::string s("hello");
28959 return s.length();
28960
28961 ;
28962 return 0;
28963 }
28964 _ACEOF
28965 if ac_fn_cxx_try_link "$LINENO"; then :
28966 wx_cv_cc_visibility_workaround=no
28967 else
28968 wx_cv_cc_visibility_workaround=yes
28969 fi
28970 rm -f core conftest.err conftest.$ac_objext \
28971 conftest$ac_exeext conftest.$ac_ext
28972 ac_ext=c
28973 ac_cpp='$CPP $CPPFLAGS'
28974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28977
28978
28979 fi
28980
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28982 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28983
28984 if test $wx_cv_cc_visibility_workaround = no; then
28985 wx_cv_cc_visibility=no
28986 fi
28987 fi
28988 fi
28989
28990 if test $wx_cv_cc_visibility = yes; then
28991 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28992
28993 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28994 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28995
28996 fi
28997 else
28998 CFLAGS_VISIBILITY=""
28999 CXXFLAGS_VISIBILITY=""
29000 fi
29001
29002
29003 fi
29004
29005 fi
29006
29007 if test "x$SUNCXX" = xyes; then
29008 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29009 WXCONFIG_RPATH="-R\$libdir"
29010 else
29011 case "${host}" in
29012 *-*-linux* | *-*-gnu* )
29013 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29014 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29015 ;;
29016
29017 *-*-solaris2* )
29018
29019 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29020
29021 saveLdflags="$LDFLAGS"
29022 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29024 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29026 /* end confdefs.h. */
29027
29028 int
29029 main ()
29030 {
29031
29032 ;
29033 return 0;
29034 }
29035 _ACEOF
29036 if ac_fn_c_try_link "$LINENO"; then :
29037
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29039 $as_echo "yes" >&6; }
29040 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29041 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29042
29043 else
29044
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29046 $as_echo "no" >&6; }
29047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29048 $as_echo_n "checking if the linker accepts -R... " >&6; }
29049 LDFLAGS="$saveLdflags -Wl,-R,/"
29050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29051 /* end confdefs.h. */
29052
29053 int
29054 main ()
29055 {
29056
29057 ;
29058 return 0;
29059 }
29060 _ACEOF
29061 if ac_fn_c_try_link "$LINENO"; then :
29062
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29064 $as_echo "yes" >&6; }
29065 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29066 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29067
29068 else
29069
29070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29071 $as_echo "no" >&6; }
29072
29073 fi
29074 rm -f core conftest.err conftest.$ac_objext \
29075 conftest$ac_exeext conftest.$ac_ext
29076
29077 fi
29078 rm -f core conftest.err conftest.$ac_objext \
29079 conftest$ac_exeext conftest.$ac_ext
29080 LDFLAGS="$saveLdflags"
29081 ;;
29082
29083 *-*-darwin* )
29084 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29085 if test "$install_name_tool" -a -x "$install_name_tool"; then
29086 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29087 cat <<EOF >change-install-names
29088 #!/bin/sh
29089 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29090 for i in \${libnames} ; do
29091 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29092 for dep in \${libnames} ; do
29093 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29094 done
29095 done
29096 EOF
29097 chmod +x change-install-names
29098 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29099 fi
29100
29101 HEADER_PAD_OPTION="-headerpad_max_install_names"
29102 ;;
29103
29104 *-*-cygwin* | *-*-mingw32* )
29105 ;;
29106
29107 *-*-hpux* )
29108 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29109 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29110 ;;
29111
29112 esac
29113 fi
29114
29115 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29116
29117 if test $wxUSE_RPATH = "no"; then
29118 SAMPLES_RPATH_FLAG=''
29119 DYLIB_PATH_POSTLINK=''
29120 WXCONFIG_RPATH=''
29121 fi
29122
29123 SHARED=1
29124
29125 else
29126
29127 config_linkage_component="-static"
29128 SHARED=0
29129
29130 fi
29131
29132
29133 UNICODE=0
29134 lib_unicode_suffix=
29135 WX_CHARTYPE="ansi"
29136 if test "$wxUSE_UNICODE" = "yes"; then
29137 lib_unicode_suffix=u
29138 WX_CHARTYPE="unicode"
29139 UNICODE=1
29140 fi
29141
29142 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29143 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29144
29145 DEBUG_INFO=0
29146 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29147 DEBUG_INFO=1
29148 fi
29149
29150 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29151
29152 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29153
29154 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29155
29156
29157 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29158 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29159 else
29160 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29161 fi
29162 if test "${TOOLKIT_DIR}" = "os2"; then
29163 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29164 else
29165 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29166 fi
29167
29168
29169
29170 if test "$wxUSE_OLD_COCOA" = 1; then
29171
29172 ac_ext=c
29173 ac_cpp='$CPP $CPPFLAGS'
29174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29177
29178 ac_ext=m
29179
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29181 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29183 /* end confdefs.h. */
29184 #include <AppKit/NSEvent.h>
29185 #include <CoreFoundation/CoreFoundation.h>
29186
29187 int
29188 main ()
29189 {
29190
29191 ;
29192 return 0;
29193 }
29194 _ACEOF
29195 if ac_fn_c_try_compile "$LINENO"; then :
29196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29197 $as_echo "no" >&6; }
29198 else
29199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29200 $as_echo "yes" >&6; }
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29202 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29204 /* end confdefs.h. */
29205 #define __Point__ 1
29206 #include <AppKit/NSEvent.h>
29207 #include <CoreFoundation/CoreFoundation.h>
29208
29209 int
29210 main ()
29211 {
29212
29213 ;
29214 return 0;
29215 }
29216 _ACEOF
29217 if ac_fn_c_try_compile "$LINENO"; then :
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29219 $as_echo "yes" >&6; }
29220 $as_echo "#define __Point__ 1" >>confdefs.h
29221
29222
29223 else
29224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29226 as_fn_error $? "no
29227 See \`config.log' for more details" "$LINENO" 5; }
29228
29229 fi
29230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29231
29232 fi
29233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29234 ac_ext=c
29235 ac_cpp='$CPP $CPPFLAGS'
29236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29239
29240 fi
29241
29242
29243 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29244 if test "x$ac_cv_type_mode_t" = xyes; then :
29245
29246 else
29247
29248 cat >>confdefs.h <<_ACEOF
29249 #define mode_t int
29250 _ACEOF
29251
29252 fi
29253
29254 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29255 if test "x$ac_cv_type_off_t" = xyes; then :
29256
29257 else
29258
29259 cat >>confdefs.h <<_ACEOF
29260 #define off_t long int
29261 _ACEOF
29262
29263 fi
29264
29265 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29266 if test "x$ac_cv_type_pid_t" = xyes; then :
29267
29268 else
29269
29270 cat >>confdefs.h <<_ACEOF
29271 #define pid_t int
29272 _ACEOF
29273
29274 fi
29275
29276 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29277 if test "x$ac_cv_type_size_t" = xyes; then :
29278
29279 else
29280
29281 cat >>confdefs.h <<_ACEOF
29282 #define size_t unsigned int
29283 _ACEOF
29284
29285 fi
29286
29287
29288 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29289 if test "x$ac_cv_type_ssize_t" = xyes; then :
29290
29291 cat >>confdefs.h <<_ACEOF
29292 #define HAVE_SSIZE_T 1
29293 _ACEOF
29294
29295
29296 fi
29297
29298
29299 ac_ext=cpp
29300 ac_cpp='$CXXCPP $CPPFLAGS'
29301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29305 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29306 if ${wx_cv_size_t_is_uint+:} false; then :
29307 $as_echo_n "(cached) " >&6
29308 else
29309
29310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29311 /* end confdefs.h. */
29312 #include <stddef.h>
29313 int
29314 main ()
29315 {
29316
29317 return 0; }
29318
29319 struct Foo { void foo(size_t); void foo(unsigned int); };
29320
29321 int bar() {
29322
29323 ;
29324 return 0;
29325 }
29326 _ACEOF
29327 if ac_fn_cxx_try_compile "$LINENO"; then :
29328 wx_cv_size_t_is_uint=no
29329 else
29330 wx_cv_size_t_is_uint=yes
29331
29332 fi
29333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29334
29335
29336 fi
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29338 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29339
29340 if test "$wx_cv_size_t_is_uint" = "yes"; then
29341 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29342
29343 else
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29345 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29346 if ${wx_cv_size_t_is_ulong+:} false; then :
29347 $as_echo_n "(cached) " >&6
29348 else
29349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29350 /* end confdefs.h. */
29351 #include <stddef.h>
29352 int
29353 main ()
29354 {
29355
29356 return 0; }
29357
29358 struct Foo { void foo(size_t); void foo(unsigned long); };
29359
29360 int bar() {
29361
29362 ;
29363 return 0;
29364 }
29365 _ACEOF
29366 if ac_fn_cxx_try_compile "$LINENO"; then :
29367 wx_cv_size_t_is_ulong=no
29368 else
29369 wx_cv_size_t_is_ulong=yes
29370
29371 fi
29372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29373
29374 fi
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29376 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29377
29378 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29379 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29380
29381 fi
29382 fi
29383
29384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29385 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29386 if ${wx_cv_wchar_t_is_separate_type+:} false; then :
29387 $as_echo_n "(cached) " >&6
29388 else
29389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29390 /* end confdefs.h. */
29391 #include <wchar.h>
29392 int
29393 main ()
29394 {
29395
29396 return 0; }
29397
29398 struct Foo { void foo(wchar_t);
29399 void foo(unsigned short);
29400 void foo(unsigned int);
29401 void foo(unsigned long); };
29402
29403 int bar() {
29404
29405 ;
29406 return 0;
29407 }
29408 _ACEOF
29409 if ac_fn_cxx_try_compile "$LINENO"; then :
29410 wx_cv_wchar_t_is_separate_type=yes
29411 else
29412 wx_cv_wchar_t_is_separate_type=no
29413
29414 fi
29415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29416
29417 fi
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29419 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29420
29421 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29422 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29423
29424 else
29425 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29426
29427 fi
29428
29429 ac_ext=c
29430 ac_cpp='$CPP $CPPFLAGS'
29431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29434
29435
29436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29437 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29438 if ${wx_cv_struct_pw_gecos+:} false; then :
29439 $as_echo_n "(cached) " >&6
29440 else
29441
29442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29443 /* end confdefs.h. */
29444 #include <pwd.h>
29445 int
29446 main ()
29447 {
29448
29449 char *p;
29450 struct passwd *pw;
29451 p = pw->pw_gecos;
29452
29453 ;
29454 return 0;
29455 }
29456 _ACEOF
29457 if ac_fn_c_try_compile "$LINENO"; then :
29458
29459 wx_cv_struct_pw_gecos=yes
29460
29461 else
29462
29463 wx_cv_struct_pw_gecos=no
29464
29465
29466 fi
29467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468
29469
29470 fi
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29472 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29473
29474 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29475 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29476
29477 fi
29478
29479
29480 WCSLEN_FOUND=0
29481 WCHAR_LINK=
29482 for ac_func in wcslen
29483 do :
29484 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29485 if test "x$ac_cv_func_wcslen" = xyes; then :
29486 cat >>confdefs.h <<_ACEOF
29487 #define HAVE_WCSLEN 1
29488 _ACEOF
29489 WCSLEN_FOUND=1
29490 fi
29491 done
29492
29493
29494 if test "$WCSLEN_FOUND" = 0; then
29495 if test "$TOOLKIT" = "MSW"; then
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29497 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29498 if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
29499 $as_echo_n "(cached) " >&6
29500 else
29501 ac_check_lib_save_LIBS=$LIBS
29502 LIBS="-lmsvcrt $LIBS"
29503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29504 /* end confdefs.h. */
29505
29506 /* Override any GCC internal prototype to avoid an error.
29507 Use char because int might match the return type of a GCC
29508 builtin and then its argument prototype would still apply. */
29509 #ifdef __cplusplus
29510 extern "C"
29511 #endif
29512 char wcslen ();
29513 int
29514 main ()
29515 {
29516 return wcslen ();
29517 ;
29518 return 0;
29519 }
29520 _ACEOF
29521 if ac_fn_c_try_link "$LINENO"; then :
29522 ac_cv_lib_msvcrt_wcslen=yes
29523 else
29524 ac_cv_lib_msvcrt_wcslen=no
29525 fi
29526 rm -f core conftest.err conftest.$ac_objext \
29527 conftest$ac_exeext conftest.$ac_ext
29528 LIBS=$ac_check_lib_save_LIBS
29529 fi
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29531 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29532 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
29533 WCHAR_OK=1
29534 fi
29535
29536 else
29537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29538 $as_echo_n "checking for wcslen in -lw... " >&6; }
29539 if ${ac_cv_lib_w_wcslen+:} false; then :
29540 $as_echo_n "(cached) " >&6
29541 else
29542 ac_check_lib_save_LIBS=$LIBS
29543 LIBS="-lw $LIBS"
29544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29545 /* end confdefs.h. */
29546
29547 /* Override any GCC internal prototype to avoid an error.
29548 Use char because int might match the return type of a GCC
29549 builtin and then its argument prototype would still apply. */
29550 #ifdef __cplusplus
29551 extern "C"
29552 #endif
29553 char wcslen ();
29554 int
29555 main ()
29556 {
29557 return wcslen ();
29558 ;
29559 return 0;
29560 }
29561 _ACEOF
29562 if ac_fn_c_try_link "$LINENO"; then :
29563 ac_cv_lib_w_wcslen=yes
29564 else
29565 ac_cv_lib_w_wcslen=no
29566 fi
29567 rm -f core conftest.err conftest.$ac_objext \
29568 conftest$ac_exeext conftest.$ac_ext
29569 LIBS=$ac_check_lib_save_LIBS
29570 fi
29571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29572 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29573 if test "x$ac_cv_lib_w_wcslen" = xyes; then :
29574
29575 WCHAR_LINK=" -lw"
29576 WCSLEN_FOUND=1
29577
29578 fi
29579
29580 fi
29581 fi
29582
29583 if test "$WCSLEN_FOUND" = 1; then
29584 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29585
29586 fi
29587
29588 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29589 do :
29590 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29591 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29592 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29593 cat >>confdefs.h <<_ACEOF
29594 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29595 _ACEOF
29596
29597 fi
29598 done
29599
29600
29601 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29602 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29603 fi
29604
29605 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29606 "
29607 if test "x$ac_cv_type_mbstate_t" = xyes; then :
29608
29609 cat >>confdefs.h <<_ACEOF
29610 #define HAVE_MBSTATE_T 1
29611 _ACEOF
29612
29613 for ac_func in wcsrtombs
29614 do :
29615 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29616 if test "x$ac_cv_func_wcsrtombs" = xyes; then :
29617 cat >>confdefs.h <<_ACEOF
29618 #define HAVE_WCSRTOMBS 1
29619 _ACEOF
29620
29621 fi
29622 done
29623
29624 fi
29625
29626
29627 for ac_func in snprintf vsnprintf vsscanf
29628 do :
29629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29631 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29632 cat >>confdefs.h <<_ACEOF
29633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29634 _ACEOF
29635
29636 fi
29637 done
29638
29639
29640 ac_ext=cpp
29641 ac_cpp='$CXXCPP $CPPFLAGS'
29642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29645
29646 if test "$ac_cv_func_vsnprintf" = "yes"; then
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29648 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29649 if ${wx_cv_func_vsnprintf_decl+:} false; then :
29650 $as_echo_n "(cached) " >&6
29651 else
29652
29653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29654 /* end confdefs.h. */
29655
29656 #include <stdio.h>
29657 #include <stdarg.h>
29658
29659 int
29660 main ()
29661 {
29662
29663 char *buf;
29664 va_list ap;
29665 vsnprintf(buf, 10u, "%s", ap);
29666
29667 ;
29668 return 0;
29669 }
29670 _ACEOF
29671 if ac_fn_cxx_try_compile "$LINENO"; then :
29672 wx_cv_func_vsnprintf_decl=yes
29673 else
29674 wx_cv_func_vsnprintf_decl=no
29675
29676 fi
29677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29678
29679
29680 fi
29681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29682 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29683
29684 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29685 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29686
29687
29688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29689 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29690 if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
29691 $as_echo_n "(cached) " >&6
29692 else
29693
29694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29695 /* end confdefs.h. */
29696
29697 #include <stdio.h>
29698 #include <stdarg.h>
29699 #ifdef __MSL__
29700 #if __MSL__ >= 0x6000
29701 namespace std {}
29702 using namespace std;
29703 #endif
29704 #endif
29705
29706 int
29707 main ()
29708 {
29709
29710 char *buf;
29711 va_list ap;
29712 const char *fmt = "%s";
29713 vsnprintf(buf, 10u, fmt, ap);
29714
29715 ;
29716 return 0;
29717 }
29718 _ACEOF
29719 if ac_fn_cxx_try_compile "$LINENO"; then :
29720 wx_cv_func_broken_vsnprintf_decl=no
29721 else
29722 wx_cv_func_broken_vsnprintf_decl=yes
29723
29724 fi
29725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29726
29727
29728 fi
29729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29730 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29731
29732 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29733 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29734
29735 fi
29736 fi
29737 fi
29738
29739 if test "$ac_cv_func_snprintf" = "yes"; then
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29741 $as_echo_n "checking for snprintf declaration... " >&6; }
29742 if ${wx_cv_func_snprintf_decl+:} false; then :
29743 $as_echo_n "(cached) " >&6
29744 else
29745
29746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29747 /* end confdefs.h. */
29748
29749 #include <stdio.h>
29750 #include <stdarg.h>
29751 #ifdef __MSL__
29752 #if __MSL__ >= 0x6000
29753 namespace std {}
29754 using namespace std;
29755 #endif
29756 #endif
29757
29758 int
29759 main ()
29760 {
29761
29762 char *buf;
29763 snprintf(buf, 10u, "%s", "wx");
29764
29765 ;
29766 return 0;
29767 }
29768 _ACEOF
29769 if ac_fn_cxx_try_compile "$LINENO"; then :
29770 wx_cv_func_snprintf_decl=yes
29771 else
29772 wx_cv_func_snprintf_decl=no
29773
29774 fi
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29776
29777
29778 fi
29779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29780 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29781
29782 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29783 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29784
29785 fi
29786
29787 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29788
29789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29790 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29791 if ${wx_cv_func_snprintf_pos_params+:} false; then :
29792 $as_echo_n "(cached) " >&6
29793 else
29794
29795 if test "$cross_compiling" = yes; then :
29796
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29798 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29799 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29800 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29801 wx_cv_func_snprintf_pos_params=no
29802
29803
29804 else
29805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29806 /* end confdefs.h. */
29807
29808 #include <stdio.h>
29809
29810 int main (void)
29811 {
29812 char buffer[128];
29813 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29814 if (strcmp ("2 3 1", buffer) == 0)
29815 exit (0);
29816 exit (1);
29817 }
29818
29819 _ACEOF
29820 if ac_fn_cxx_try_run "$LINENO"; then :
29821 wx_cv_func_snprintf_pos_params=no
29822 else
29823 wx_cv_func_snprintf_pos_params=yes
29824 fi
29825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29826 conftest.$ac_objext conftest.beam conftest.$ac_ext
29827 fi
29828
29829
29830
29831 fi
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29833 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29834
29835 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29836 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29837
29838 fi
29839 fi
29840 fi
29841
29842 if test "$ac_cv_func_vsscanf" = "yes"; then
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29844 $as_echo_n "checking for vsscanf declaration... " >&6; }
29845 if ${wx_cv_func_vsscanf_decl+:} false; then :
29846 $as_echo_n "(cached) " >&6
29847 else
29848
29849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29850 /* end confdefs.h. */
29851
29852 #include <stdio.h>
29853 #include <stdarg.h>
29854 #ifdef __MSL__
29855 #if __MSL__ >= 0x6000
29856 namespace std {}
29857 using namespace std;
29858 #endif
29859 #endif
29860
29861 int
29862 main ()
29863 {
29864
29865 char *buf;
29866 va_list args;
29867 vsscanf(buf, "%s", args);
29868
29869 ;
29870 return 0;
29871 }
29872 _ACEOF
29873 if ac_fn_cxx_try_compile "$LINENO"; then :
29874 wx_cv_func_vsscanf_decl=yes
29875 else
29876 wx_cv_func_vsscanf_decl=no
29877
29878 fi
29879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29880
29881
29882 fi
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29884 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29885
29886 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29887 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29888
29889 fi
29890 fi
29891 ac_ext=c
29892 ac_cpp='$CPP $CPPFLAGS'
29893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29896
29897
29898 if test "$wxUSE_UNICODE" = yes; then
29899
29900 wchar_headers="#include <stdio.h>
29901 #include <wchar.h>"
29902 case "${host}" in
29903 *-*-solaris2* )
29904 for ac_header in widec.h
29905 do :
29906 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29907 "
29908 if test "x$ac_cv_header_widec_h" = xyes; then :
29909 cat >>confdefs.h <<_ACEOF
29910 #define HAVE_WIDEC_H 1
29911 _ACEOF
29912
29913 fi
29914
29915 done
29916
29917 if test "$ac_cv_header_widec_h" = "yes"; then
29918 wchar_headers="$wchar_headers
29919 #include <widec.h>"
29920 fi
29921 esac
29922
29923
29924 for wx_func in putws fputws wprintf vswprintf vswscanf
29925 do
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29927 $as_echo_n "checking for $wx_func... " >&6; }
29928 if eval \${wx_cv_func_$wx_func+:} false; then :
29929 $as_echo_n "(cached) " >&6
29930 else
29931
29932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29933 /* end confdefs.h. */
29934
29935
29936 $wchar_headers
29937 $ac_includes_default
29938
29939 int
29940 main ()
29941 {
29942
29943 #ifndef $wx_func
29944 &$wx_func;
29945 #endif
29946
29947
29948 ;
29949 return 0;
29950 }
29951
29952 _ACEOF
29953 if ac_fn_c_try_link "$LINENO"; then :
29954 eval wx_cv_func_$wx_func=yes
29955 else
29956 eval wx_cv_func_$wx_func=no
29957 fi
29958 rm -f core conftest.err conftest.$ac_objext \
29959 conftest$ac_exeext conftest.$ac_ext
29960
29961 fi
29962 eval ac_res=\$wx_cv_func_$wx_func
29963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29964 $as_echo "$ac_res" >&6; }
29965
29966 if eval test \$wx_cv_func_$wx_func = yes
29967 then
29968 cat >>confdefs.h <<_ACEOF
29969 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29970 _ACEOF
29971
29972
29973 else
29974 :
29975
29976 fi
29977 done
29978
29979
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29981 $as_echo_n "checking for _vsnwprintf... " >&6; }
29982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29983 /* end confdefs.h. */
29984 #include <wchar.h>
29985 int
29986 main ()
29987 {
29988 &_vsnwprintf;
29989 ;
29990 return 0;
29991 }
29992 _ACEOF
29993 if ac_fn_c_try_compile "$LINENO"; then :
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29995 $as_echo "yes" >&6; }
29996 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29997
29998 else
29999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30000 $as_echo "no" >&6; }
30001 fi
30002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30003 fi
30004
30005 if test "$wxUSE_FILE" = "yes"; then
30006
30007 for wx_func in fsync
30008 do
30009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30010 $as_echo_n "checking for $wx_func... " >&6; }
30011 if eval \${wx_cv_func_$wx_func+:} false; then :
30012 $as_echo_n "(cached) " >&6
30013 else
30014
30015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30016 /* end confdefs.h. */
30017
30018
30019
30020 $ac_includes_default
30021
30022 int
30023 main ()
30024 {
30025
30026 #ifndef $wx_func
30027 &$wx_func;
30028 #endif
30029
30030
30031 ;
30032 return 0;
30033 }
30034
30035 _ACEOF
30036 if ac_fn_c_try_link "$LINENO"; then :
30037 eval wx_cv_func_$wx_func=yes
30038 else
30039 eval wx_cv_func_$wx_func=no
30040 fi
30041 rm -f core conftest.err conftest.$ac_objext \
30042 conftest$ac_exeext conftest.$ac_ext
30043
30044 fi
30045 eval ac_res=\$wx_cv_func_$wx_func
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30047 $as_echo "$ac_res" >&6; }
30048
30049 if eval test \$wx_cv_func_$wx_func = yes
30050 then
30051 cat >>confdefs.h <<_ACEOF
30052 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30053 _ACEOF
30054
30055
30056 else
30057 :
30058
30059 fi
30060 done
30061
30062 fi
30063
30064 ac_ext=cpp
30065 ac_cpp='$CXXCPP $CPPFLAGS'
30066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30069
30070
30071 for wx_func in round
30072 do
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30074 $as_echo_n "checking for $wx_func... " >&6; }
30075 if eval \${wx_cv_func_$wx_func+:} false; then :
30076 $as_echo_n "(cached) " >&6
30077 else
30078
30079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30080 /* end confdefs.h. */
30081
30082
30083 #include <math.h>
30084 $ac_includes_default
30085
30086 int
30087 main ()
30088 {
30089
30090 #ifndef $wx_func
30091 &$wx_func;
30092 #endif
30093
30094
30095 ;
30096 return 0;
30097 }
30098
30099 _ACEOF
30100 if ac_fn_cxx_try_link "$LINENO"; then :
30101 eval wx_cv_func_$wx_func=yes
30102 else
30103 eval wx_cv_func_$wx_func=no
30104 fi
30105 rm -f core conftest.err conftest.$ac_objext \
30106 conftest$ac_exeext conftest.$ac_ext
30107
30108 fi
30109 eval ac_res=\$wx_cv_func_$wx_func
30110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30111 $as_echo "$ac_res" >&6; }
30112
30113 if eval test \$wx_cv_func_$wx_func = yes
30114 then
30115 cat >>confdefs.h <<_ACEOF
30116 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30117 _ACEOF
30118
30119
30120 else
30121 :
30122
30123 fi
30124 done
30125
30126 ac_ext=c
30127 ac_cpp='$CPP $CPPFLAGS'
30128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30131
30132
30133 if test "$TOOLKIT" != "MSW"; then
30134
30135 if test "$wxUSE_LIBICONV" != "no" ; then
30136
30137
30138
30139 # Check whether --with-libiconv-prefix was given.
30140 if test "${with_libiconv_prefix+set}" = set; then :
30141 withval=$with_libiconv_prefix;
30142 for dir in `echo "$withval" | tr : ' '`; do
30143 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30144 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30145 done
30146
30147 fi
30148
30149
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30151 $as_echo_n "checking for iconv... " >&6; }
30152 if ${am_cv_func_iconv+:} false; then :
30153 $as_echo_n "(cached) " >&6
30154 else
30155
30156 am_cv_func_iconv="no, consider installing GNU libiconv"
30157 am_cv_lib_iconv=no
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160 #include <stdlib.h>
30161 #include <iconv.h>
30162 int
30163 main ()
30164 {
30165 iconv_t cd = iconv_open("","");
30166 iconv(cd,NULL,NULL,NULL,NULL);
30167 iconv_close(cd);
30168 ;
30169 return 0;
30170 }
30171 _ACEOF
30172 if ac_fn_c_try_link "$LINENO"; then :
30173 am_cv_func_iconv=yes
30174 fi
30175 rm -f core conftest.err conftest.$ac_objext \
30176 conftest$ac_exeext conftest.$ac_ext
30177 if test "$am_cv_func_iconv" != yes; then
30178 am_save_LIBS="$LIBS"
30179 LIBS="$LIBS -liconv"
30180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30181 /* end confdefs.h. */
30182 #include <stdlib.h>
30183 #include <iconv.h>
30184 int
30185 main ()
30186 {
30187 iconv_t cd = iconv_open("","");
30188 iconv(cd,NULL,NULL,NULL,NULL);
30189 iconv_close(cd);
30190 ;
30191 return 0;
30192 }
30193 _ACEOF
30194 if ac_fn_c_try_link "$LINENO"; then :
30195 am_cv_lib_iconv=yes
30196 am_cv_func_iconv=yes
30197 fi
30198 rm -f core conftest.err conftest.$ac_objext \
30199 conftest$ac_exeext conftest.$ac_ext
30200 LIBS="$am_save_LIBS"
30201 fi
30202
30203 fi
30204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30205 $as_echo "$am_cv_func_iconv" >&6; }
30206 if test "$am_cv_func_iconv" = yes; then
30207
30208 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30209
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30211 $as_echo_n "checking if iconv needs const... " >&6; }
30212 if ${wx_cv_func_iconv_const+:} false; then :
30213 $as_echo_n "(cached) " >&6
30214 else
30215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30216 /* end confdefs.h. */
30217
30218 #include <stdlib.h>
30219 #include <iconv.h>
30220 extern
30221 #ifdef __cplusplus
30222 "C"
30223 #endif
30224 #if defined(__STDC__) || defined(__cplusplus)
30225 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30226 #else
30227 size_t iconv();
30228 #endif
30229
30230 int
30231 main ()
30232 {
30233
30234 ;
30235 return 0;
30236 }
30237 _ACEOF
30238 if ac_fn_c_try_compile "$LINENO"; then :
30239 wx_cv_func_iconv_const="no"
30240 else
30241 wx_cv_func_iconv_const="yes"
30242
30243 fi
30244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30245
30246 fi
30247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30248 $as_echo "$wx_cv_func_iconv_const" >&6; }
30249
30250 iconv_const=
30251 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30252 iconv_const="const"
30253 fi
30254
30255
30256 cat >>confdefs.h <<_ACEOF
30257 #define ICONV_CONST $iconv_const
30258 _ACEOF
30259
30260 fi
30261 LIBICONV=
30262 if test "$am_cv_lib_iconv" = yes; then
30263 LIBICONV="-liconv"
30264 fi
30265
30266
30267 LIBS="$LIBICONV $LIBS"
30268 fi
30269
30270 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30271 for ac_func in sigaction
30272 do :
30273 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30274 if test "x$ac_cv_func_sigaction" = xyes; then :
30275 cat >>confdefs.h <<_ACEOF
30276 #define HAVE_SIGACTION 1
30277 _ACEOF
30278
30279 fi
30280 done
30281
30282
30283 if test "$ac_cv_func_sigaction" = "no"; then
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30285 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30286 wxUSE_ON_FATAL_EXCEPTION=no
30287 fi
30288
30289 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30291 $as_echo_n "checking for sa_handler type... " >&6; }
30292 if ${wx_cv_type_sa_handler+:} false; then :
30293 $as_echo_n "(cached) " >&6
30294 else
30295
30296 ac_ext=cpp
30297 ac_cpp='$CXXCPP $CPPFLAGS'
30298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30301
30302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304 #include <signal.h>
30305 int
30306 main ()
30307 {
30308
30309 extern void testSigHandler(int);
30310
30311 struct sigaction sa;
30312 sa.sa_handler = testSigHandler;
30313
30314 ;
30315 return 0;
30316 }
30317 _ACEOF
30318 if ac_fn_cxx_try_compile "$LINENO"; then :
30319
30320 wx_cv_type_sa_handler=int
30321
30322 else
30323
30324 wx_cv_type_sa_handler=void
30325
30326 fi
30327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30328 ac_ext=c
30329 ac_cpp='$CPP $CPPFLAGS'
30330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30333
30334
30335 fi
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30337 $as_echo "$wx_cv_type_sa_handler" >&6; }
30338
30339 cat >>confdefs.h <<_ACEOF
30340 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30341 _ACEOF
30342
30343 fi
30344 fi
30345
30346 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30348 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30349 if ${wx_cv_func_backtrace+:} false; then :
30350 $as_echo_n "(cached) " >&6
30351 else
30352
30353 ac_ext=cpp
30354 ac_cpp='$CXXCPP $CPPFLAGS'
30355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30358
30359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <execinfo.h>
30362 int
30363 main ()
30364 {
30365
30366 void *trace[1];
30367 char **messages;
30368
30369 backtrace(trace, 1);
30370 messages = backtrace_symbols(trace, 1);
30371
30372 ;
30373 return 0;
30374 }
30375 _ACEOF
30376 if ac_fn_cxx_try_compile "$LINENO"; then :
30377 wx_cv_func_backtrace=yes
30378 else
30379 wx_cv_func_backtrace=no
30380
30381 fi
30382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30383 ac_ext=c
30384 ac_cpp='$CPP $CPPFLAGS'
30385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30388
30389
30390
30391 fi
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30393 $as_echo "$wx_cv_func_backtrace" >&6; }
30394
30395
30396 if test "$wx_cv_func_backtrace" = "no"; then
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30398 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30399 wxUSE_STACKWALKER=no
30400 else
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30402 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30403 if ${wx_cv_func_cxa_demangle+:} false; then :
30404 $as_echo_n "(cached) " >&6
30405 else
30406
30407 ac_ext=cpp
30408 ac_cpp='$CXXCPP $CPPFLAGS'
30409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30412
30413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30414 /* end confdefs.h. */
30415 #include <cxxabi.h>
30416 int
30417 main ()
30418 {
30419
30420 int rc;
30421 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30422
30423 ;
30424 return 0;
30425 }
30426 _ACEOF
30427 if ac_fn_cxx_try_link "$LINENO"; then :
30428 wx_cv_func_cxa_demangle=yes
30429 else
30430 wx_cv_func_cxa_demangle=no
30431
30432 fi
30433 rm -f core conftest.err conftest.$ac_objext \
30434 conftest$ac_exeext conftest.$ac_ext
30435 ac_ext=c
30436 ac_cpp='$CPP $CPPFLAGS'
30437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30440
30441
30442
30443 fi
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30445 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30446
30447 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30448 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30449
30450 fi
30451 fi
30452 fi
30453
30454 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30456 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30457 wxUSE_STACKWALKER=no
30458 fi
30459
30460
30461 for ac_func in mkstemp mktemp
30462 do :
30463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30466 cat >>confdefs.h <<_ACEOF
30467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30468 _ACEOF
30469 break
30470 fi
30471 done
30472
30473
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30475 $as_echo_n "checking for statfs... " >&6; }
30476 if ${wx_cv_func_statfs+:} false; then :
30477 $as_echo_n "(cached) " >&6
30478 else
30479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30480 /* end confdefs.h. */
30481
30482 #if defined(__BSD__)
30483 #include <sys/param.h>
30484 #include <sys/mount.h>
30485 #else
30486 #include <sys/vfs.h>
30487 #endif
30488
30489 int
30490 main ()
30491 {
30492
30493 long l;
30494 struct statfs fs;
30495 statfs("/", &fs);
30496 l = fs.f_bsize;
30497 l += fs.f_blocks;
30498 l += fs.f_bavail;
30499
30500 ;
30501 return 0;
30502 }
30503 _ACEOF
30504 if ac_fn_c_try_compile "$LINENO"; then :
30505 wx_cv_func_statfs=yes
30506 else
30507 wx_cv_func_statfs=no
30508
30509 fi
30510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30511
30512 fi
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30514 $as_echo "$wx_cv_func_statfs" >&6; }
30515
30516 if test "$wx_cv_func_statfs" = "yes"; then
30517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30518 $as_echo_n "checking for statfs declaration... " >&6; }
30519 if ${wx_cv_func_statfs_decl+:} false; then :
30520 $as_echo_n "(cached) " >&6
30521 else
30522 ac_ext=cpp
30523 ac_cpp='$CXXCPP $CPPFLAGS'
30524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30527
30528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30529 /* end confdefs.h. */
30530
30531 #if defined(__BSD__)
30532 #include <sys/param.h>
30533 #include <sys/mount.h>
30534 #else
30535 #include <sys/vfs.h>
30536 #endif
30537
30538 int
30539 main ()
30540 {
30541
30542 struct statfs fs;
30543 statfs("", &fs);
30544
30545 ;
30546 return 0;
30547 }
30548 _ACEOF
30549 if ac_fn_cxx_try_compile "$LINENO"; then :
30550 wx_cv_func_statfs_decl=yes
30551 else
30552 wx_cv_func_statfs_decl=no
30553
30554 fi
30555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30556 ac_ext=c
30557 ac_cpp='$CPP $CPPFLAGS'
30558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30561
30562
30563 fi
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30565 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30566
30567 if test "$wx_cv_func_statfs_decl" = "yes"; then
30568 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30569
30570 fi
30571
30572 wx_cv_type_statvfs_t="struct statfs"
30573 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30574
30575 else
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30577 $as_echo_n "checking for statvfs... " >&6; }
30578 if ${wx_cv_func_statvfs+:} false; then :
30579 $as_echo_n "(cached) " >&6
30580 else
30581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30582 /* end confdefs.h. */
30583
30584 #include <stddef.h>
30585 #include <sys/statvfs.h>
30586
30587 int
30588 main ()
30589 {
30590
30591 statvfs("/", NULL);
30592
30593 ;
30594 return 0;
30595 }
30596 _ACEOF
30597 if ac_fn_c_try_compile "$LINENO"; then :
30598 wx_cv_func_statvfs=yes
30599 else
30600 wx_cv_func_statvfs=no
30601
30602 fi
30603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30604
30605 fi
30606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30607 $as_echo "$wx_cv_func_statvfs" >&6; }
30608
30609 if test "$wx_cv_func_statvfs" = "yes"; then
30610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30611 $as_echo_n "checking for statvfs argument type... " >&6; }
30612 if ${wx_cv_type_statvfs_t+:} false; then :
30613 $as_echo_n "(cached) " >&6
30614 else
30615 ac_ext=cpp
30616 ac_cpp='$CXXCPP $CPPFLAGS'
30617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30620
30621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30622 /* end confdefs.h. */
30623
30624 #include <sys/statvfs.h>
30625
30626 int
30627 main ()
30628 {
30629
30630 long l;
30631 statvfs_t fs;
30632 statvfs("/", &fs);
30633 l = fs.f_bsize;
30634 l += fs.f_blocks;
30635 l += fs.f_bavail;
30636
30637 ;
30638 return 0;
30639 }
30640 _ACEOF
30641 if ac_fn_cxx_try_compile "$LINENO"; then :
30642 wx_cv_type_statvfs_t=statvfs_t
30643 else
30644
30645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30646 /* end confdefs.h. */
30647
30648 #include <sys/statvfs.h>
30649
30650 int
30651 main ()
30652 {
30653
30654 long l;
30655 struct statvfs fs;
30656 statvfs("/", &fs);
30657 l = fs.f_bsize;
30658 l += fs.f_blocks;
30659 l += fs.f_bavail;
30660
30661 ;
30662 return 0;
30663 }
30664 _ACEOF
30665 if ac_fn_cxx_try_compile "$LINENO"; then :
30666 wx_cv_type_statvfs_t="struct statvfs"
30667 else
30668 wx_cv_type_statvfs_t="unknown"
30669
30670 fi
30671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30672
30673
30674 fi
30675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30676 ac_ext=c
30677 ac_cpp='$CPP $CPPFLAGS'
30678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30681
30682
30683 fi
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30685 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30686
30687 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30688 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30689
30690 fi
30691 else
30692 wx_cv_type_statvfs_t="unknown"
30693 fi
30694 fi
30695
30696 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30697 cat >>confdefs.h <<_ACEOF
30698 #define WX_STATFS_T $wx_cv_type_statvfs_t
30699 _ACEOF
30700
30701 else
30702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30703 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30704 fi
30705
30706 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30707 for ac_func in fcntl flock
30708 do :
30709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30711 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30712 cat >>confdefs.h <<_ACEOF
30713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30714 _ACEOF
30715 break
30716 fi
30717 done
30718
30719
30720 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30722 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30723 wxUSE_SNGLINST_CHECKER=no
30724 fi
30725 fi
30726
30727 for ac_func in setenv putenv
30728 do :
30729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30731 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30732 cat >>confdefs.h <<_ACEOF
30733 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30734 _ACEOF
30735 break
30736 fi
30737 done
30738
30739 if test "$ac_cv_func_setenv" = "yes"; then
30740 for ac_func in unsetenv
30741 do :
30742 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30743 if test "x$ac_cv_func_unsetenv" = xyes; then :
30744 cat >>confdefs.h <<_ACEOF
30745 #define HAVE_UNSETENV 1
30746 _ACEOF
30747
30748 fi
30749 done
30750
30751 fi
30752
30753 HAVE_SOME_SLEEP_FUNC=0
30754 if test "$USE_BEOS" = 1; then
30755 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30756
30757 HAVE_SOME_SLEEP_FUNC=1
30758 fi
30759
30760 if test "$USE_DARWIN" = 1; then
30761 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30762
30763 HAVE_SOME_SLEEP_FUNC=1
30764 fi
30765
30766 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30767 POSIX4_LINK=
30768 for ac_func in nanosleep
30769 do :
30770 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30771 if test "x$ac_cv_func_nanosleep" = xyes; then :
30772 cat >>confdefs.h <<_ACEOF
30773 #define HAVE_NANOSLEEP 1
30774 _ACEOF
30775 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30776
30777 else
30778
30779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30780 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30781 if ${ac_cv_lib_posix4_nanosleep+:} false; then :
30782 $as_echo_n "(cached) " >&6
30783 else
30784 ac_check_lib_save_LIBS=$LIBS
30785 LIBS="-lposix4 $LIBS"
30786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30787 /* end confdefs.h. */
30788
30789 /* Override any GCC internal prototype to avoid an error.
30790 Use char because int might match the return type of a GCC
30791 builtin and then its argument prototype would still apply. */
30792 #ifdef __cplusplus
30793 extern "C"
30794 #endif
30795 char nanosleep ();
30796 int
30797 main ()
30798 {
30799 return nanosleep ();
30800 ;
30801 return 0;
30802 }
30803 _ACEOF
30804 if ac_fn_c_try_link "$LINENO"; then :
30805 ac_cv_lib_posix4_nanosleep=yes
30806 else
30807 ac_cv_lib_posix4_nanosleep=no
30808 fi
30809 rm -f core conftest.err conftest.$ac_objext \
30810 conftest$ac_exeext conftest.$ac_ext
30811 LIBS=$ac_check_lib_save_LIBS
30812 fi
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30814 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30815 if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
30816
30817 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30818
30819 POSIX4_LINK=" -lposix4"
30820
30821 else
30822
30823
30824 for wx_func in usleep
30825 do
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30827 $as_echo_n "checking for $wx_func... " >&6; }
30828 if eval \${wx_cv_func_$wx_func+:} false; then :
30829 $as_echo_n "(cached) " >&6
30830 else
30831
30832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30833 /* end confdefs.h. */
30834
30835
30836
30837 $ac_includes_default
30838
30839 int
30840 main ()
30841 {
30842
30843 #ifndef $wx_func
30844 &$wx_func;
30845 #endif
30846
30847
30848 ;
30849 return 0;
30850 }
30851
30852 _ACEOF
30853 if ac_fn_c_try_link "$LINENO"; then :
30854 eval wx_cv_func_$wx_func=yes
30855 else
30856 eval wx_cv_func_$wx_func=no
30857 fi
30858 rm -f core conftest.err conftest.$ac_objext \
30859 conftest$ac_exeext conftest.$ac_ext
30860
30861 fi
30862 eval ac_res=\$wx_cv_func_$wx_func
30863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30864 $as_echo "$ac_res" >&6; }
30865
30866 if eval test \$wx_cv_func_$wx_func = yes
30867 then
30868 cat >>confdefs.h <<_ACEOF
30869 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30870 _ACEOF
30871
30872
30873 else
30874 :
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30876 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30877
30878 fi
30879 done
30880
30881
30882
30883 fi
30884
30885
30886
30887 fi
30888 done
30889
30890 fi
30891
30892
30893 for wx_func in uname
30894 do
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30896 $as_echo_n "checking for $wx_func... " >&6; }
30897 if eval \${wx_cv_func_$wx_func+:} false; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30900
30901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30902 /* end confdefs.h. */
30903
30904
30905 #include <sys/utsname.h>
30906 $ac_includes_default
30907
30908 int
30909 main ()
30910 {
30911
30912 #ifndef $wx_func
30913 &$wx_func;
30914 #endif
30915
30916
30917 ;
30918 return 0;
30919 }
30920
30921 _ACEOF
30922 if ac_fn_c_try_link "$LINENO"; then :
30923 eval wx_cv_func_$wx_func=yes
30924 else
30925 eval wx_cv_func_$wx_func=no
30926 fi
30927 rm -f core conftest.err conftest.$ac_objext \
30928 conftest$ac_exeext conftest.$ac_ext
30929
30930 fi
30931 eval ac_res=\$wx_cv_func_$wx_func
30932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30933 $as_echo "$ac_res" >&6; }
30934
30935 if eval test \$wx_cv_func_$wx_func = yes
30936 then
30937 cat >>confdefs.h <<_ACEOF
30938 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30939 _ACEOF
30940
30941
30942 else
30943 :
30944
30945 fi
30946 done
30947
30948 if test "$wx_cv_func_uname" != yes; then
30949
30950 for wx_func in gethostname
30951 do
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30953 $as_echo_n "checking for $wx_func... " >&6; }
30954 if eval \${wx_cv_func_$wx_func+:} false; then :
30955 $as_echo_n "(cached) " >&6
30956 else
30957
30958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30959 /* end confdefs.h. */
30960
30961
30962
30963 $ac_includes_default
30964
30965 int
30966 main ()
30967 {
30968
30969 #ifndef $wx_func
30970 &$wx_func;
30971 #endif
30972
30973
30974 ;
30975 return 0;
30976 }
30977
30978 _ACEOF
30979 if ac_fn_c_try_link "$LINENO"; then :
30980 eval wx_cv_func_$wx_func=yes
30981 else
30982 eval wx_cv_func_$wx_func=no
30983 fi
30984 rm -f core conftest.err conftest.$ac_objext \
30985 conftest$ac_exeext conftest.$ac_ext
30986
30987 fi
30988 eval ac_res=\$wx_cv_func_$wx_func
30989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30990 $as_echo "$ac_res" >&6; }
30991
30992 if eval test \$wx_cv_func_$wx_func = yes
30993 then
30994 cat >>confdefs.h <<_ACEOF
30995 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30996 _ACEOF
30997
30998
30999 else
31000 :
31001
31002 fi
31003 done
31004
31005 fi
31006
31007
31008 for wx_func in strtok_r
31009 do
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31011 $as_echo_n "checking for $wx_func... " >&6; }
31012 if eval \${wx_cv_func_$wx_func+:} false; then :
31013 $as_echo_n "(cached) " >&6
31014 else
31015
31016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31017 /* end confdefs.h. */
31018
31019
31020 #define _REENTRANT
31021 $ac_includes_default
31022
31023 int
31024 main ()
31025 {
31026
31027 #ifndef $wx_func
31028 &$wx_func;
31029 #endif
31030
31031
31032 ;
31033 return 0;
31034 }
31035
31036 _ACEOF
31037 if ac_fn_c_try_link "$LINENO"; then :
31038 eval wx_cv_func_$wx_func=yes
31039 else
31040 eval wx_cv_func_$wx_func=no
31041 fi
31042 rm -f core conftest.err conftest.$ac_objext \
31043 conftest$ac_exeext conftest.$ac_ext
31044
31045 fi
31046 eval ac_res=\$wx_cv_func_$wx_func
31047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31048 $as_echo "$ac_res" >&6; }
31049
31050 if eval test \$wx_cv_func_$wx_func = yes
31051 then
31052 cat >>confdefs.h <<_ACEOF
31053 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31054 _ACEOF
31055
31056
31057 else
31058 :
31059
31060 fi
31061 done
31062
31063
31064 INET_LINK=
31065 for ac_func in inet_addr
31066 do :
31067 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31068 if test "x$ac_cv_func_inet_addr" = xyes; then :
31069 cat >>confdefs.h <<_ACEOF
31070 #define HAVE_INET_ADDR 1
31071 _ACEOF
31072 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31073
31074 else
31075
31076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31077 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31078 if ${ac_cv_lib_nsl_inet_addr+:} false; then :
31079 $as_echo_n "(cached) " >&6
31080 else
31081 ac_check_lib_save_LIBS=$LIBS
31082 LIBS="-lnsl $LIBS"
31083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31084 /* end confdefs.h. */
31085
31086 /* Override any GCC internal prototype to avoid an error.
31087 Use char because int might match the return type of a GCC
31088 builtin and then its argument prototype would still apply. */
31089 #ifdef __cplusplus
31090 extern "C"
31091 #endif
31092 char inet_addr ();
31093 int
31094 main ()
31095 {
31096 return inet_addr ();
31097 ;
31098 return 0;
31099 }
31100 _ACEOF
31101 if ac_fn_c_try_link "$LINENO"; then :
31102 ac_cv_lib_nsl_inet_addr=yes
31103 else
31104 ac_cv_lib_nsl_inet_addr=no
31105 fi
31106 rm -f core conftest.err conftest.$ac_objext \
31107 conftest$ac_exeext conftest.$ac_ext
31108 LIBS=$ac_check_lib_save_LIBS
31109 fi
31110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31111 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31112 if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
31113 INET_LINK="nsl"
31114 else
31115
31116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31117 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31118 if ${ac_cv_lib_resolv_inet_addr+:} false; then :
31119 $as_echo_n "(cached) " >&6
31120 else
31121 ac_check_lib_save_LIBS=$LIBS
31122 LIBS="-lresolv $LIBS"
31123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31124 /* end confdefs.h. */
31125
31126 /* Override any GCC internal prototype to avoid an error.
31127 Use char because int might match the return type of a GCC
31128 builtin and then its argument prototype would still apply. */
31129 #ifdef __cplusplus
31130 extern "C"
31131 #endif
31132 char inet_addr ();
31133 int
31134 main ()
31135 {
31136 return inet_addr ();
31137 ;
31138 return 0;
31139 }
31140 _ACEOF
31141 if ac_fn_c_try_link "$LINENO"; then :
31142 ac_cv_lib_resolv_inet_addr=yes
31143 else
31144 ac_cv_lib_resolv_inet_addr=no
31145 fi
31146 rm -f core conftest.err conftest.$ac_objext \
31147 conftest$ac_exeext conftest.$ac_ext
31148 LIBS=$ac_check_lib_save_LIBS
31149 fi
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31151 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31152 if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
31153 INET_LINK="resolv"
31154 else
31155
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31157 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31158 if ${ac_cv_lib_socket_inet_addr+:} false; then :
31159 $as_echo_n "(cached) " >&6
31160 else
31161 ac_check_lib_save_LIBS=$LIBS
31162 LIBS="-lsocket $LIBS"
31163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31164 /* end confdefs.h. */
31165
31166 /* Override any GCC internal prototype to avoid an error.
31167 Use char because int might match the return type of a GCC
31168 builtin and then its argument prototype would still apply. */
31169 #ifdef __cplusplus
31170 extern "C"
31171 #endif
31172 char inet_addr ();
31173 int
31174 main ()
31175 {
31176 return inet_addr ();
31177 ;
31178 return 0;
31179 }
31180 _ACEOF
31181 if ac_fn_c_try_link "$LINENO"; then :
31182 ac_cv_lib_socket_inet_addr=yes
31183 else
31184 ac_cv_lib_socket_inet_addr=no
31185 fi
31186 rm -f core conftest.err conftest.$ac_objext \
31187 conftest$ac_exeext conftest.$ac_ext
31188 LIBS=$ac_check_lib_save_LIBS
31189 fi
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31191 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31192 if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
31193 INET_LINK="socket"
31194
31195 fi
31196
31197
31198
31199 fi
31200
31201
31202
31203 fi
31204
31205
31206
31207 fi
31208 done
31209
31210
31211 for ac_func in inet_aton
31212 do :
31213 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31214 if test "x$ac_cv_func_inet_aton" = xyes; then :
31215 cat >>confdefs.h <<_ACEOF
31216 #define HAVE_INET_ATON 1
31217 _ACEOF
31218 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31219
31220 else
31221
31222 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31224 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31225 if eval \${$as_ac_Lib+:} false; then :
31226 $as_echo_n "(cached) " >&6
31227 else
31228 ac_check_lib_save_LIBS=$LIBS
31229 LIBS="-l$INET_LINK $LIBS"
31230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h. */
31232
31233 /* Override any GCC internal prototype to avoid an error.
31234 Use char because int might match the return type of a GCC
31235 builtin and then its argument prototype would still apply. */
31236 #ifdef __cplusplus
31237 extern "C"
31238 #endif
31239 char inet_aton ();
31240 int
31241 main ()
31242 {
31243 return inet_aton ();
31244 ;
31245 return 0;
31246 }
31247 _ACEOF
31248 if ac_fn_c_try_link "$LINENO"; then :
31249 eval "$as_ac_Lib=yes"
31250 else
31251 eval "$as_ac_Lib=no"
31252 fi
31253 rm -f core conftest.err conftest.$ac_objext \
31254 conftest$ac_exeext conftest.$ac_ext
31255 LIBS=$ac_check_lib_save_LIBS
31256 fi
31257 eval ac_res=\$$as_ac_Lib
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31259 $as_echo "$ac_res" >&6; }
31260 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31261 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31262
31263 fi
31264
31265
31266 fi
31267 done
31268
31269
31270 if test "x$INET_LINK" != "x"; then
31271 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31272
31273 INET_LINK=" -l$INET_LINK"
31274 fi
31275
31276
31277 for wx_func in fdopen
31278 do
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31280 $as_echo_n "checking for $wx_func... " >&6; }
31281 if eval \${wx_cv_func_$wx_func+:} false; then :
31282 $as_echo_n "(cached) " >&6
31283 else
31284
31285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31286 /* end confdefs.h. */
31287
31288
31289
31290 $ac_includes_default
31291
31292 int
31293 main ()
31294 {
31295
31296 #ifndef $wx_func
31297 &$wx_func;
31298 #endif
31299
31300
31301 ;
31302 return 0;
31303 }
31304
31305 _ACEOF
31306 if ac_fn_c_try_link "$LINENO"; then :
31307 eval wx_cv_func_$wx_func=yes
31308 else
31309 eval wx_cv_func_$wx_func=no
31310 fi
31311 rm -f core conftest.err conftest.$ac_objext \
31312 conftest$ac_exeext conftest.$ac_ext
31313
31314 fi
31315 eval ac_res=\$wx_cv_func_$wx_func
31316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31317 $as_echo "$ac_res" >&6; }
31318
31319 if eval test \$wx_cv_func_$wx_func = yes
31320 then
31321 cat >>confdefs.h <<_ACEOF
31322 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31323 _ACEOF
31324
31325
31326 else
31327 :
31328
31329 fi
31330 done
31331
31332
31333 if test "$wxUSE_TARSTREAM" = "yes"; then
31334
31335 for wx_func in sysconf
31336 do
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31338 $as_echo_n "checking for $wx_func... " >&6; }
31339 if eval \${wx_cv_func_$wx_func+:} false; then :
31340 $as_echo_n "(cached) " >&6
31341 else
31342
31343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31344 /* end confdefs.h. */
31345
31346
31347
31348 $ac_includes_default
31349
31350 int
31351 main ()
31352 {
31353
31354 #ifndef $wx_func
31355 &$wx_func;
31356 #endif
31357
31358
31359 ;
31360 return 0;
31361 }
31362
31363 _ACEOF
31364 if ac_fn_c_try_link "$LINENO"; then :
31365 eval wx_cv_func_$wx_func=yes
31366 else
31367 eval wx_cv_func_$wx_func=no
31368 fi
31369 rm -f core conftest.err conftest.$ac_objext \
31370 conftest$ac_exeext conftest.$ac_ext
31371
31372 fi
31373 eval ac_res=\$wx_cv_func_$wx_func
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31375 $as_echo "$ac_res" >&6; }
31376
31377 if eval test \$wx_cv_func_$wx_func = yes
31378 then
31379 cat >>confdefs.h <<_ACEOF
31380 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31381 _ACEOF
31382
31383
31384 else
31385 :
31386
31387 fi
31388 done
31389
31390
31391
31392 for wx_func in getpwuid_r
31393 do
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31395 $as_echo_n "checking for $wx_func... " >&6; }
31396 if eval \${wx_cv_func_$wx_func+:} false; then :
31397 $as_echo_n "(cached) " >&6
31398 else
31399
31400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31401 /* end confdefs.h. */
31402
31403
31404
31405 #define _REENTRANT
31406 #include <pwd.h>
31407
31408 $ac_includes_default
31409
31410 int
31411 main ()
31412 {
31413
31414 #ifndef $wx_func
31415 &$wx_func;
31416 #endif
31417
31418 struct passwd pw, *ppw;
31419 char buf[1024];
31420 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31421
31422
31423 ;
31424 return 0;
31425 }
31426
31427 _ACEOF
31428 if ac_fn_c_try_link "$LINENO"; then :
31429 eval wx_cv_func_$wx_func=yes
31430 else
31431 eval wx_cv_func_$wx_func=no
31432 fi
31433 rm -f core conftest.err conftest.$ac_objext \
31434 conftest$ac_exeext conftest.$ac_ext
31435
31436 fi
31437 eval ac_res=\$wx_cv_func_$wx_func
31438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31439 $as_echo "$ac_res" >&6; }
31440
31441 if eval test \$wx_cv_func_$wx_func = yes
31442 then
31443 cat >>confdefs.h <<_ACEOF
31444 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31445 _ACEOF
31446
31447
31448 else
31449 :
31450
31451 fi
31452 done
31453
31454
31455
31456 for wx_func in getgrgid_r
31457 do
31458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31459 $as_echo_n "checking for $wx_func... " >&6; }
31460 if eval \${wx_cv_func_$wx_func+:} false; then :
31461 $as_echo_n "(cached) " >&6
31462 else
31463
31464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31465 /* end confdefs.h. */
31466
31467
31468
31469 #define _REENTRANT
31470 #include <grp.h>
31471
31472 $ac_includes_default
31473
31474 int
31475 main ()
31476 {
31477
31478 #ifndef $wx_func
31479 &$wx_func;
31480 #endif
31481
31482 struct group grp, *pgrp;
31483 char buf[1024];
31484 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31485
31486
31487 ;
31488 return 0;
31489 }
31490
31491 _ACEOF
31492 if ac_fn_c_try_link "$LINENO"; then :
31493 eval wx_cv_func_$wx_func=yes
31494 else
31495 eval wx_cv_func_$wx_func=no
31496 fi
31497 rm -f core conftest.err conftest.$ac_objext \
31498 conftest$ac_exeext conftest.$ac_ext
31499
31500 fi
31501 eval ac_res=\$wx_cv_func_$wx_func
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31503 $as_echo "$ac_res" >&6; }
31504
31505 if eval test \$wx_cv_func_$wx_func = yes
31506 then
31507 cat >>confdefs.h <<_ACEOF
31508 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31509 _ACEOF
31510
31511
31512 else
31513 :
31514
31515 fi
31516 done
31517
31518 fi
31519
31520 fi
31521
31522
31523
31524 cat >confcache <<\_ACEOF
31525 # This file is a shell script that caches the results of configure
31526 # tests run on this system so they can be shared between configure
31527 # scripts and configure runs, see configure's option --config-cache.
31528 # It is not useful on other systems. If it contains results you don't
31529 # want to keep, you may remove or edit it.
31530 #
31531 # config.status only pays attention to the cache file if you give it
31532 # the --recheck option to rerun configure.
31533 #
31534 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31535 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31536 # following values.
31537
31538 _ACEOF
31539
31540 # The following way of writing the cache mishandles newlines in values,
31541 # but we know of no workaround that is simple, portable, and efficient.
31542 # So, we kill variables containing newlines.
31543 # Ultrix sh set writes to stderr and can't be redirected directly,
31544 # and sets the high bit in the cache file unless we assign to the vars.
31545 (
31546 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31547 eval ac_val=\$$ac_var
31548 case $ac_val in #(
31549 *${as_nl}*)
31550 case $ac_var in #(
31551 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31552 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31553 esac
31554 case $ac_var in #(
31555 _ | IFS | as_nl) ;; #(
31556 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31557 *) { eval $ac_var=; unset $ac_var;} ;;
31558 esac ;;
31559 esac
31560 done
31561
31562 (set) 2>&1 |
31563 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31564 *${as_nl}ac_space=\ *)
31565 # `set' does not quote correctly, so add quotes: double-quote
31566 # substitution turns \\\\ into \\, and sed turns \\ into \.
31567 sed -n \
31568 "s/'/'\\\\''/g;
31569 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31570 ;; #(
31571 *)
31572 # `set' quotes correctly as required by POSIX, so do not add quotes.
31573 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31574 ;;
31575 esac |
31576 sort
31577 ) |
31578 sed '
31579 /^ac_cv_env_/b end
31580 t clear
31581 :clear
31582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31583 t end
31584 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31585 :end' >>confcache
31586 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31587 if test -w "$cache_file"; then
31588 if test "x$cache_file" != "x/dev/null"; then
31589 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31590 $as_echo "$as_me: updating cache $cache_file" >&6;}
31591 if test ! -f "$cache_file" || test -h "$cache_file"; then
31592 cat confcache >"$cache_file"
31593 else
31594 case $cache_file in #(
31595 */* | ?:*)
31596 mv -f confcache "$cache_file"$$ &&
31597 mv -f "$cache_file"$$ "$cache_file" ;; #(
31598 *)
31599 mv -f confcache "$cache_file" ;;
31600 esac
31601 fi
31602 fi
31603 else
31604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31605 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31606 fi
31607 fi
31608 rm -f confcache
31609
31610
31611 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31612
31613
31614 THREADS_LINK=
31615 THREADS_CFLAGS=
31616
31617 if test "$wxUSE_THREADS" = "yes" ; then
31618 if test "$USE_BEOS" = 1; then
31619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31620 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31621 wxUSE_THREADS="no"
31622 fi
31623 fi
31624
31625 if test "$wxUSE_THREADS" = "yes" ; then
31626
31627
31628 THREAD_OPTS="-pthread"
31629 if test "x$SUNCXX" = xyes; then
31630 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31631 fi
31632
31633 case "${host}" in
31634 *-*-solaris2* | *-*-sunos4* )
31635 if test "x$GCC" = "xyes"; then
31636 THREAD_OPTS="-pthreads $THREAD_OPTS"
31637 fi
31638 ;;
31639 *-*-freebsd*)
31640 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31641 ;;
31642 *-*-darwin* | *-*-cygwin* )
31643 THREAD_OPTS=""
31644 ;;
31645 *-*-aix*)
31646 THREAD_OPTS="pthreads"
31647 ;;
31648 *-hp-hpux* )
31649 if test "x$GCC" = "xyes"; then
31650 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31651 THREAD_OPTS=""
31652 else
31653 THREAD_OPTS="-mt"
31654 fi
31655 ;;
31656
31657 *-*-irix* )
31658 if test "x$GCC" = "xyes"; then
31659 THREAD_OPTS=""
31660 fi
31661 ;;
31662
31663 *-*-qnx*)
31664 THREAD_OPTS=""
31665 ;;
31666
31667 *-*-*UnixWare*)
31668 if test "x$GCC" != "xyes"; then
31669 THREAD_OPTS="-Ethread"
31670 fi
31671 ;;
31672 esac
31673
31674 case "${host}" in
31675 *-*-qnx*)
31676 THREAD_OPTS="none pthread"
31677 ;;
31678
31679 *)
31680 THREAD_OPTS="$THREAD_OPTS pthread none"
31681 ;;
31682 esac
31683
31684 THREADS_OK=no
31685 for flag in $THREAD_OPTS; do
31686 case $flag in
31687 none)
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31689 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31690 ;;
31691
31692 -*)
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31694 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31695 THREADS_CFLAGS="$flag"
31696 ;;
31697
31698 *)
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31700 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31701 THREADS_LINK="-l$flag"
31702 ;;
31703 esac
31704
31705 save_LIBS="$LIBS"
31706 save_CFLAGS="$CFLAGS"
31707 LIBS="$THREADS_LINK $LIBS"
31708 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31709
31710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31711 /* end confdefs.h. */
31712 #include <pthread.h>
31713 int
31714 main ()
31715 {
31716 pthread_create(0,0,0,0);
31717 ;
31718 return 0;
31719 }
31720 _ACEOF
31721 if ac_fn_c_try_link "$LINENO"; then :
31722 THREADS_OK=yes
31723 fi
31724 rm -f core conftest.err conftest.$ac_objext \
31725 conftest$ac_exeext conftest.$ac_ext
31726
31727 LIBS="$save_LIBS"
31728 CFLAGS="$save_CFLAGS"
31729
31730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31731 $as_echo "$THREADS_OK" >&6; }
31732 if test "x$THREADS_OK" = "xyes"; then
31733 break;
31734 fi
31735
31736 THREADS_LINK=""
31737 THREADS_CFLAGS=""
31738 done
31739
31740 if test "x$THREADS_OK" != "xyes"; then
31741 wxUSE_THREADS=no
31742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31743 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31744 else
31745 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31746 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31747 LIBS="$THREADS_LINK $LIBS"
31748
31749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31750 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31751 flag=no
31752 case "${host}" in
31753 *-aix*)
31754 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31755 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31756 flag="-D_THREAD_SAFE"
31757 ;;
31758 *-freebsd*)
31759 flag="-D_THREAD_SAFE"
31760 ;;
31761 *-hp-hpux* )
31762 flag="-D_REENTRANT"
31763 if test "x$GCC" != "xyes"; then
31764 flag="$flag -D_RWSTD_MULTI_THREAD"
31765 fi
31766 ;;
31767 *solaris* | alpha*-osf*)
31768 flag="-D_REENTRANT"
31769 ;;
31770 esac
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31772 $as_echo "${flag}" >&6; }
31773 if test "x$flag" != xno; then
31774 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31775 fi
31776
31777 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31778 fi
31779 fi
31780
31781 if test "$wxUSE_THREADS" = "yes" ; then
31782 for ac_func in pthread_setconcurrency
31783 do :
31784 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31785 if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
31786 cat >>confdefs.h <<_ACEOF
31787 #define HAVE_PTHREAD_SETCONCURRENCY 1
31788 _ACEOF
31789 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31790
31791 else
31792
31793 for ac_func in thr_setconcurrency
31794 do :
31795 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31796 if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
31797 cat >>confdefs.h <<_ACEOF
31798 #define HAVE_THR_SETCONCURRENCY 1
31799 _ACEOF
31800 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31801
31802 else
31803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31804 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31805 fi
31806 done
31807
31808
31809 fi
31810 done
31811
31812
31813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31814 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31815 if ${wx_cv_func_pthread_cleanup+:} false; then :
31816 $as_echo_n "(cached) " >&6
31817 else
31818
31819 ac_ext=cpp
31820 ac_cpp='$CXXCPP $CPPFLAGS'
31821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31824
31825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31826 /* end confdefs.h. */
31827 #include <pthread.h>
31828 void ThreadCleanupFunc(void *p);
31829
31830 int
31831 main ()
31832 {
31833
31834 void *p;
31835 pthread_cleanup_push(ThreadCleanupFunc, p);
31836 pthread_cleanup_pop(0);
31837
31838 ;
31839 return 0;
31840 }
31841 _ACEOF
31842 if ac_fn_cxx_try_compile "$LINENO"; then :
31843
31844 wx_cv_func_pthread_cleanup=yes
31845
31846 else
31847
31848 wx_cv_func_pthread_cleanup=no
31849
31850
31851 fi
31852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31853 ac_ext=c
31854 ac_cpp='$CPP $CPPFLAGS'
31855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31858
31859
31860 fi
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31862 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31863 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31864 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31865
31866 fi
31867
31868 for ac_header in sched.h
31869 do :
31870 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31871 "
31872 if test "x$ac_cv_header_sched_h" = xyes; then :
31873 cat >>confdefs.h <<_ACEOF
31874 #define HAVE_SCHED_H 1
31875 _ACEOF
31876
31877 fi
31878
31879 done
31880
31881 if test "$ac_cv_header_sched_h" = "yes"; then
31882 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31883 if test "x$ac_cv_func_sched_yield" = xyes; then :
31884 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31885
31886 else
31887
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31889 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31890 if ${ac_cv_lib_posix4_sched_yield+:} false; then :
31891 $as_echo_n "(cached) " >&6
31892 else
31893 ac_check_lib_save_LIBS=$LIBS
31894 LIBS="-lposix4 $LIBS"
31895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31896 /* end confdefs.h. */
31897
31898 /* Override any GCC internal prototype to avoid an error.
31899 Use char because int might match the return type of a GCC
31900 builtin and then its argument prototype would still apply. */
31901 #ifdef __cplusplus
31902 extern "C"
31903 #endif
31904 char sched_yield ();
31905 int
31906 main ()
31907 {
31908 return sched_yield ();
31909 ;
31910 return 0;
31911 }
31912 _ACEOF
31913 if ac_fn_c_try_link "$LINENO"; then :
31914 ac_cv_lib_posix4_sched_yield=yes
31915 else
31916 ac_cv_lib_posix4_sched_yield=no
31917 fi
31918 rm -f core conftest.err conftest.$ac_objext \
31919 conftest$ac_exeext conftest.$ac_ext
31920 LIBS=$ac_check_lib_save_LIBS
31921 fi
31922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31923 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31924 if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
31925 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31926 POSIX4_LINK=" -lposix4"
31927 else
31928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31929 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31930
31931 fi
31932
31933
31934
31935 fi
31936
31937 fi
31938
31939 HAVE_PRIOR_FUNCS=0
31940 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31941 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
31942 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31943 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
31944 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31945 if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
31946 HAVE_PRIOR_FUNCS=1
31947 else
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31949 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31950 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
31951 $as_echo_n "(cached) " >&6
31952 else
31953 ac_check_lib_save_LIBS=$LIBS
31954 LIBS="-lposix4 $LIBS"
31955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31956 /* end confdefs.h. */
31957
31958 /* Override any GCC internal prototype to avoid an error.
31959 Use char because int might match the return type of a GCC
31960 builtin and then its argument prototype would still apply. */
31961 #ifdef __cplusplus
31962 extern "C"
31963 #endif
31964 char sched_get_priority_max ();
31965 int
31966 main ()
31967 {
31968 return sched_get_priority_max ();
31969 ;
31970 return 0;
31971 }
31972 _ACEOF
31973 if ac_fn_c_try_link "$LINENO"; then :
31974 ac_cv_lib_posix4_sched_get_priority_max=yes
31975 else
31976 ac_cv_lib_posix4_sched_get_priority_max=no
31977 fi
31978 rm -f core conftest.err conftest.$ac_objext \
31979 conftest$ac_exeext conftest.$ac_ext
31980 LIBS=$ac_check_lib_save_LIBS
31981 fi
31982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31983 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31984 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
31985
31986 HAVE_PRIOR_FUNCS=1
31987 POSIX4_LINK=" -lposix4"
31988
31989 fi
31990
31991
31992 fi
31993
31994
31995 fi
31996
31997
31998 fi
31999
32000
32001 if test "$HAVE_PRIOR_FUNCS" = 1; then
32002 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32003
32004 else
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32006 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32007 fi
32008
32009 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32010 if test "x$ac_cv_func_pthread_cancel" = xyes; then :
32011 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32012
32013 else
32014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32015 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32016 fi
32017
32018
32019 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32020 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
32021 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32022
32023 else
32024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32025 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32026 fi
32027
32028
32029 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32030 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
32031 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32032
32033 fi
32034
32035
32036
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32038 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32039 if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
32040 $as_echo_n "(cached) " >&6
32041 else
32042
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <pthread.h>
32046 int
32047 main ()
32048 {
32049
32050 pthread_mutexattr_t attr;
32051 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32052
32053 ;
32054 return 0;
32055 }
32056 _ACEOF
32057 if ac_fn_c_try_compile "$LINENO"; then :
32058 wx_cv_type_pthread_mutexattr_t=yes
32059 else
32060 wx_cv_type_pthread_mutexattr_t=no
32061
32062 fi
32063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32064
32065 fi
32066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32067 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32068
32069 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32070 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32071
32072
32073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32074 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32075 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
32076 $as_echo_n "(cached) " >&6
32077 else
32078
32079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32080 /* end confdefs.h. */
32081 #include <pthread.h>
32082 int
32083 main ()
32084 {
32085
32086 pthread_mutexattr_t attr;
32087 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32088
32089 ;
32090 return 0;
32091 }
32092 _ACEOF
32093 if ac_fn_c_try_compile "$LINENO"; then :
32094 wx_cv_func_pthread_mutexattr_settype_decl=yes
32095 else
32096 wx_cv_func_pthread_mutexattr_settype_decl=no
32097
32098 fi
32099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32100
32101 fi
32102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32103 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32104 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32105 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32106
32107 fi
32108 else
32109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32110 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32111 if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
32112 $as_echo_n "(cached) " >&6
32113 else
32114
32115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32116 /* end confdefs.h. */
32117 #include <pthread.h>
32118 int
32119 main ()
32120 {
32121
32122 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32123
32124 ;
32125 return 0;
32126 }
32127 _ACEOF
32128 if ac_fn_c_try_compile "$LINENO"; then :
32129
32130 wx_cv_type_pthread_rec_mutex_init=yes
32131
32132 else
32133
32134 wx_cv_type_pthread_rec_mutex_init=no
32135
32136
32137 fi
32138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32139
32140 fi
32141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32142 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32143 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32144 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32145
32146 else
32147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32148 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32149 fi
32150 fi
32151
32152 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32153 if test "$USE_NETBSD" = 1; then
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32155 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32156 wxUSE_COMPILER_TLS=no
32157 else
32158 wxUSE_COMPILER_TLS=yes
32159 fi
32160 fi
32161
32162 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32164 $as_echo_n "checking for __thread keyword... " >&6; }
32165 if ${wx_cv_cc___thread+:} false; then :
32166 $as_echo_n "(cached) " >&6
32167 else
32168
32169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32170 /* end confdefs.h. */
32171 #include <pthread.h>
32172 int
32173 main ()
32174 {
32175
32176 static __thread int n = 0;
32177 static __thread int *p = 0;
32178
32179 ;
32180 return 0;
32181 }
32182 _ACEOF
32183 if ac_fn_c_try_compile "$LINENO"; then :
32184 wx_cv_cc___thread=yes
32185 else
32186 wx_cv_cc___thread=no
32187
32188 fi
32189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32190
32191
32192 fi
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32194 $as_echo "$wx_cv_cc___thread" >&6; }
32195
32196 if test "$wx_cv_cc___thread" = "yes"; then
32197
32198 GXX_VERSION=""
32199
32200
32201
32202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32203 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32204
32205 if test "x$GCC" = "xyes" ; then :
32206
32207 if test -z "" ; then :
32208
32209 ax_gcc_option_test="int main()
32210 {
32211 return 0;
32212 }"
32213
32214 else
32215
32216 ax_gcc_option_test=""
32217
32218 fi
32219
32220 # Dump the test program to file
32221 cat <<EOF > conftest.c
32222 $ax_gcc_option_test
32223 EOF
32224
32225 # Dump back the file to the log, useful for debugging purposes
32226 { ac_try='cat conftest.c 1>&5'
32227 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32228 (eval $ac_try) 2>&5
32229 ac_status=$?
32230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32231 test $ac_status = 0; }; }
32232
32233 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32234 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32235 (eval $ac_try) 2>&5
32236 ac_status=$?
32237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32238 test $ac_status = 0; }; } ; then :
32239
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32241 $as_echo "yes" >&6; }
32242
32243 ax_gcc_version_option=yes
32244
32245
32246 else
32247
32248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32249 $as_echo "no" >&6; }
32250
32251 ax_gcc_version_option=no
32252
32253
32254 fi
32255
32256 else
32257
32258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32259 $as_echo "no gcc available" >&6; }
32260
32261 fi
32262
32263 if test "x$GXX" = "xyes"; then :
32264
32265 if test "x$ax_gxx_version_option" != "no"; then :
32266
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32268 $as_echo_n "checking gxx version... " >&6; }
32269 if ${ax_cv_gxx_version+:} false; then :
32270 $as_echo_n "(cached) " >&6
32271 else
32272
32273 ax_cv_gxx_version="`$CXX -dumpversion`"
32274 if test "x$ax_cv_gxx_version" = "x"; then :
32275
32276 ax_cv_gxx_version=""
32277
32278 fi
32279
32280 fi
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32282 $as_echo "$ax_cv_gxx_version" >&6; }
32283 GXX_VERSION=$ax_cv_gxx_version
32284
32285 fi
32286
32287 fi
32288
32289
32290 if test -n "$ax_cv_gxx_version"; then
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32292 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32293 case "$ax_cv_gxx_version" in
32294 1.* | 2.* | 3.* )
32295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32296 $as_echo "no, it's broken" >&6; }
32297 wx_cv_cc___thread=no
32298 ;;
32299 *)
32300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32301 $as_echo "yes, it works" >&6; }
32302 ;;
32303 esac
32304 fi
32305 fi
32306
32307 if test "$wx_cv_cc___thread" = "yes"; then
32308 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32309
32310 fi
32311 fi
32312 fi
32313
32314 else
32315 if test "$wxUSE_THREADS" = "yes" ; then
32316 case "${host}" in
32317 x86_64-*-mingw32* )
32318 ;;
32319 *-*-mingw32* )
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32321 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32322 if ${wx_cv_cflags_mthread+:} false; then :
32323 $as_echo_n "(cached) " >&6
32324 else
32325
32326 CFLAGS_OLD="$CFLAGS"
32327 CFLAGS="-mthreads $CFLAGS"
32328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32329 /* end confdefs.h. */
32330
32331 int
32332 main ()
32333 {
32334
32335 ;
32336 return 0;
32337 }
32338 _ACEOF
32339 if ac_fn_c_try_compile "$LINENO"; then :
32340 wx_cv_cflags_mthread=yes
32341 else
32342 wx_cv_cflags_mthread=no
32343
32344 fi
32345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32346
32347
32348 fi
32349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32350 $as_echo "$wx_cv_cflags_mthread" >&6; }
32351
32352 if test "$wx_cv_cflags_mthread" = "yes"; then
32353 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32354 LDFLAGS="$LDFLAGS -mthreads"
32355 else
32356 CFLAGS="$CFLAGS_OLD"
32357 fi
32358 ;;
32359 *-pc-os2*emx )
32360 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32361 LDFLAGS="$LDFLAGS -Zmt"
32362 ;;
32363 esac
32364 fi
32365 fi
32366
32367 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32368 if test "x$ac_cv_func_localtime_r" = xyes; then :
32369 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32370
32371 fi
32372
32373 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32374 if test "x$ac_cv_func_gmtime_r" = xyes; then :
32375 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32376
32377 fi
32378
32379
32380
32381
32382 ac_ext=c
32383 ac_cpp='$CPP $CPPFLAGS'
32384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32387
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32389 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32390
32391 if ${ac_cv_func_which_gethostbyname_r+:} false; then :
32392 $as_echo_n "(cached) " >&6
32393 else
32394
32395
32396 ################################################################
32397
32398 ac_cv_func_which_gethostbyname_r=unknown
32399
32400 #
32401 # ONE ARGUMENT (sanity check)
32402 #
32403
32404 # This should fail, as there is no variant of gethostbyname_r() that takes
32405 # a single argument. If it actually compiles, then we can assume that
32406 # netdb.h is not declaring the function, and the compiler is thereby
32407 # assuming an implicit prototype. In which case, we're out of luck.
32408 #
32409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32410 /* end confdefs.h. */
32411 #include <netdb.h>
32412 int
32413 main ()
32414 {
32415
32416 char *name = "www.gnu.org";
32417 (void)gethostbyname_r(name) /* ; */
32418
32419
32420 ;
32421 return 0;
32422 }
32423 _ACEOF
32424 if ac_fn_c_try_compile "$LINENO"; then :
32425 ac_cv_func_which_gethostbyname_r=no
32426
32427 fi
32428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32429
32430 #
32431 # SIX ARGUMENTS
32432 # (e.g. Linux)
32433 #
32434
32435 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32436
32437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32438 /* end confdefs.h. */
32439 #include <netdb.h>
32440 int
32441 main ()
32442 {
32443
32444 char *name = "www.gnu.org";
32445 struct hostent ret, *retp;
32446 char buf[1024];
32447 int buflen = 1024;
32448 int my_h_errno;
32449 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32450
32451
32452 ;
32453 return 0;
32454 }
32455 _ACEOF
32456 if ac_fn_c_try_compile "$LINENO"; then :
32457 ac_cv_func_which_gethostbyname_r=six
32458
32459 fi
32460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32461
32462 fi
32463
32464 #
32465 # FIVE ARGUMENTS
32466 # (e.g. Solaris)
32467 #
32468
32469 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32470
32471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32472 /* end confdefs.h. */
32473 #include <netdb.h>
32474 int
32475 main ()
32476 {
32477
32478 char *name = "www.gnu.org";
32479 struct hostent ret;
32480 char buf[1024];
32481 int buflen = 1024;
32482 int my_h_errno;
32483 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32484
32485
32486 ;
32487 return 0;
32488 }
32489 _ACEOF
32490 if ac_fn_c_try_compile "$LINENO"; then :
32491 ac_cv_func_which_gethostbyname_r=five
32492
32493 fi
32494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32495
32496 fi
32497
32498 #
32499 # THREE ARGUMENTS
32500 # (e.g. AIX, HP-UX, Tru64)
32501 #
32502
32503 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32504
32505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32506 /* end confdefs.h. */
32507 #include <netdb.h>
32508 int
32509 main ()
32510 {
32511
32512 char *name = "www.gnu.org";
32513 struct hostent ret;
32514 struct hostent_data data;
32515 (void)gethostbyname_r(name, &ret, &data) /* ; */
32516
32517
32518 ;
32519 return 0;
32520 }
32521 _ACEOF
32522 if ac_fn_c_try_compile "$LINENO"; then :
32523 ac_cv_func_which_gethostbyname_r=three
32524
32525 fi
32526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32527
32528 fi
32529
32530 ################################################################
32531
32532
32533 fi
32534
32535 case "$ac_cv_func_which_gethostbyname_r" in
32536 three)
32537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32538 $as_echo "three" >&6; }
32539 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32540
32541 ;;
32542
32543 five)
32544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32545 $as_echo "five" >&6; }
32546 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32547
32548 ;;
32549
32550 six)
32551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32552 $as_echo "six" >&6; }
32553 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32554
32555 ;;
32556
32557 no)
32558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32559 $as_echo "cannot find function declaration in netdb.h" >&6; }
32560 ;;
32561
32562 unknown)
32563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32564 $as_echo "can't tell" >&6; }
32565 ;;
32566
32567 *)
32568 as_fn_error $? "internal error" "$LINENO" 5
32569 ;;
32570 esac
32571
32572 ac_ext=c
32573 ac_cpp='$CPP $CPPFLAGS'
32574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32577
32578
32579
32580 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32581 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32582 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32583 if test "x$ac_cv_func_gethostbyname" = xyes; then :
32584 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32585
32586 fi
32587
32588 fi
32589
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32591 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32592 if ${ac_cv_func_which_getservbyname_r+:} false; then :
32593 $as_echo_n "(cached) " >&6
32594 else
32595
32596 ac_ext=cpp
32597 ac_cpp='$CXXCPP $CPPFLAGS'
32598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32601
32602
32603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32604 /* end confdefs.h. */
32605 #include <netdb.h>
32606 int
32607 main ()
32608 {
32609
32610 char *name;
32611 char *proto;
32612 struct servent *se, *res;
32613 char buffer[2048];
32614 int buflen = 2048;
32615 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32616
32617 ;
32618 return 0;
32619 }
32620 _ACEOF
32621 if ac_fn_cxx_try_compile "$LINENO"; then :
32622 ac_cv_func_which_getservbyname_r=six
32623 else
32624
32625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32626 /* end confdefs.h. */
32627 #include <netdb.h>
32628 int
32629 main ()
32630 {
32631
32632 char *name;
32633 char *proto;
32634 struct servent *se;
32635 char buffer[2048];
32636 int buflen = 2048;
32637 (void) getservbyname_r(name, proto, se, buffer, buflen)
32638
32639 ;
32640 return 0;
32641 }
32642 _ACEOF
32643 if ac_fn_cxx_try_compile "$LINENO"; then :
32644 ac_cv_func_which_getservbyname_r=five
32645 else
32646
32647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32648 /* end confdefs.h. */
32649 #include <netdb.h>
32650 int
32651 main ()
32652 {
32653
32654 char *name;
32655 char *proto;
32656 struct servent *se;
32657 struct servent_data data;
32658 (void) getservbyname_r(name, proto, se, &data);
32659
32660 ;
32661 return 0;
32662 }
32663 _ACEOF
32664 if ac_fn_cxx_try_compile "$LINENO"; then :
32665 ac_cv_func_which_getservbyname_r=four
32666 else
32667 ac_cv_func_which_getservbyname_r=no
32668
32669 fi
32670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32671
32672
32673 fi
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675
32676
32677 fi
32678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32679 ac_ext=c
32680 ac_cpp='$CPP $CPPFLAGS'
32681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32684
32685
32686
32687 fi
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32689 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32690
32691 if test $ac_cv_func_which_getservbyname_r = six; then
32692 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32693
32694 elif test $ac_cv_func_which_getservbyname_r = five; then
32695 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32696
32697 elif test $ac_cv_func_which_getservbyname_r = four; then
32698 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32699
32700 fi
32701
32702
32703 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32704 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32705 for ac_func in getservbyname
32706 do :
32707 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32708 if test "x$ac_cv_func_getservbyname" = xyes; then :
32709 cat >>confdefs.h <<_ACEOF
32710 #define HAVE_GETSERVBYNAME 1
32711 _ACEOF
32712 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32713
32714 fi
32715 done
32716
32717 fi
32718
32719 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32720
32721
32722 if test "$wxUSE_THREADS" = "yes"; then
32723 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32724
32725
32726 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32727 else
32728 if test "$wx_cv_func_strtok_r" = "yes"; then
32729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32730 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32731 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32732 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32734 $as_echo "yes" >&6; }
32735 else
32736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32737 $as_echo "no" >&6; }
32738 fi
32739 fi
32740 fi
32741
32742 if test "$WXGTK3" = 1 ; then
32743 cat >>confdefs.h <<_ACEOF
32744 #define __WXGTK3__ 1
32745 _ACEOF
32746
32747 WXGTK2=1
32748 fi
32749 if test "$WXGTK2" = 1 ; then
32750 cat >>confdefs.h <<_ACEOF
32751 #define __WXGTK20__ $WXGTK2
32752 _ACEOF
32753
32754 fi
32755
32756 if test "$WXGTK127" = 1 ; then
32757 cat >>confdefs.h <<_ACEOF
32758 #define __WXGTK127__ $WXGTK127
32759 _ACEOF
32760
32761 fi
32762
32763 if test "$WXGPE" = 1 ; then
32764 cat >>confdefs.h <<_ACEOF
32765 #define __WXGPE__ $WXGPE
32766 _ACEOF
32767
32768 fi
32769
32770 DEBUG_CFLAGS=
32771 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32773 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32774 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32775 DEBUG_CFLAGS="-g"
32776 fi
32777
32778 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32779 wxUSE_DEBUG_INFO=yes
32780 if test "$GCC" = yes; then
32781 DEBUG_CFLAGS="-ggdb"
32782 fi
32783 fi
32784
32785 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32786 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32787
32788 if test "$wxUSE_GTK" = 1 ; then
32789 if test "$WXGTK2" = 1 ; then
32790 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32791 else
32792 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32793 fi
32794 fi
32795 fi
32796
32797 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32798 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32799
32800 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32801
32802 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32803
32804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32805 fi
32806
32807 if test "$wxUSE_DMALLOC" = "yes" ; then
32808 DMALLOC_LIBS="-ldmallocthcxx"
32809 fi
32810
32811 PROFILE_FLAGS=
32812 if test "$wxUSE_PROFILE" = "yes" ; then
32813 PROFILE_FLAGS=" -pg"
32814 fi
32815
32816 if test "$GCC" = "yes" ; then
32817 if test "$wxUSE_NO_RTTI" = "yes" ; then
32818 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32819 fi
32820 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32821 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32822 fi
32823 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32824 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32825 fi
32826
32827 case "${host}" in
32828 powerpc*-*-aix* )
32829 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32830 ;;
32831 *-hppa* )
32832 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32833 ;;
32834 esac
32835 fi
32836
32837 OPTIMISE_CFLAGS=
32838 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32840 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32841 else
32842 if test "$wxUSE_OPTIMISE" = "no" ; then
32843 if test "$GCC" = yes ; then
32844 OPTIMISE_CFLAGS="-O0"
32845 fi
32846 else
32847 if test "$GCC" = yes ; then
32848 case "${host}" in
32849 *-pc-os2_emx | *-pc-os2-emx )
32850 OPTIMISE_CFLAGS="-O2"
32851 ;;
32852 *)
32853 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32854 ;;
32855 esac
32856 else
32857 OPTIMISE_CFLAGS="-O"
32858 fi
32859 fi
32860 fi
32861
32862
32863 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32864 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32865
32866
32867 WXWIN_COMPATIBILITY_2_8="yes"
32868 fi
32869
32870 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32871 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32872
32873 fi
32874
32875
32876 if test "$wxUSE_GUI" = "yes"; then
32877 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32878
32879
32880 fi
32881
32882
32883 if test "$wxUSE_UNIX" = "yes"; then
32884 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32885
32886 fi
32887
32888
32889 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32890
32891 HAVE_DL_FUNCS=0
32892 HAVE_SHL_FUNCS=0
32893 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32894 if test "$USE_DOS" = 1; then
32895 HAVE_DL_FUNCS=0
32896 else
32897 for ac_func in dlopen
32898 do :
32899 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32900 if test "x$ac_cv_func_dlopen" = xyes; then :
32901 cat >>confdefs.h <<_ACEOF
32902 #define HAVE_DLOPEN 1
32903 _ACEOF
32904
32905 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32906
32907 HAVE_DL_FUNCS=1
32908
32909 else
32910
32911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32912 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32913 if ${ac_cv_lib_dl_dlopen+:} false; then :
32914 $as_echo_n "(cached) " >&6
32915 else
32916 ac_check_lib_save_LIBS=$LIBS
32917 LIBS="-ldl $LIBS"
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32920
32921 /* Override any GCC internal prototype to avoid an error.
32922 Use char because int might match the return type of a GCC
32923 builtin and then its argument prototype would still apply. */
32924 #ifdef __cplusplus
32925 extern "C"
32926 #endif
32927 char dlopen ();
32928 int
32929 main ()
32930 {
32931 return dlopen ();
32932 ;
32933 return 0;
32934 }
32935 _ACEOF
32936 if ac_fn_c_try_link "$LINENO"; then :
32937 ac_cv_lib_dl_dlopen=yes
32938 else
32939 ac_cv_lib_dl_dlopen=no
32940 fi
32941 rm -f core conftest.err conftest.$ac_objext \
32942 conftest$ac_exeext conftest.$ac_ext
32943 LIBS=$ac_check_lib_save_LIBS
32944 fi
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32946 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32947 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
32948
32949 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32950
32951 HAVE_DL_FUNCS=1
32952 DL_LINK=" -ldl$DL_LINK"
32953
32954 else
32955
32956 for ac_func in shl_load
32957 do :
32958 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
32959 if test "x$ac_cv_func_shl_load" = xyes; then :
32960 cat >>confdefs.h <<_ACEOF
32961 #define HAVE_SHL_LOAD 1
32962 _ACEOF
32963
32964 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32965
32966 HAVE_SHL_FUNCS=1
32967
32968 else
32969
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32971 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32972 if ${ac_cv_lib_shl_load_dld+:} false; then :
32973 $as_echo_n "(cached) " >&6
32974 else
32975 ac_check_lib_save_LIBS=$LIBS
32976 LIBS="-lshl_load $LIBS"
32977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32978 /* end confdefs.h. */
32979
32980 /* Override any GCC internal prototype to avoid an error.
32981 Use char because int might match the return type of a GCC
32982 builtin and then its argument prototype would still apply. */
32983 #ifdef __cplusplus
32984 extern "C"
32985 #endif
32986 char dld ();
32987 int
32988 main ()
32989 {
32990 return dld ();
32991 ;
32992 return 0;
32993 }
32994 _ACEOF
32995 if ac_fn_c_try_link "$LINENO"; then :
32996 ac_cv_lib_shl_load_dld=yes
32997 else
32998 ac_cv_lib_shl_load_dld=no
32999 fi
33000 rm -f core conftest.err conftest.$ac_objext \
33001 conftest$ac_exeext conftest.$ac_ext
33002 LIBS=$ac_check_lib_save_LIBS
33003 fi
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33005 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33006 if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
33007
33008 HAVE_SHL_FUNCS=1
33009 DL_LINK=" -ldld$DL_LINK"
33010
33011 fi
33012
33013
33014 fi
33015 done
33016
33017
33018 fi
33019
33020
33021 fi
33022 done
33023
33024
33025 if test "$HAVE_DL_FUNCS" = 1; then
33026 for ac_func in dlerror
33027 do :
33028 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33029 if test "x$ac_cv_func_dlerror" = xyes; then :
33030 cat >>confdefs.h <<_ACEOF
33031 #define HAVE_DLERROR 1
33032 _ACEOF
33033 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33034
33035 else
33036
33037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33038 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33039 if ${ac_cv_lib_dl_dlerror+:} false; then :
33040 $as_echo_n "(cached) " >&6
33041 else
33042 ac_check_lib_save_LIBS=$LIBS
33043 LIBS="-ldl $LIBS"
33044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33045 /* end confdefs.h. */
33046
33047 /* Override any GCC internal prototype to avoid an error.
33048 Use char because int might match the return type of a GCC
33049 builtin and then its argument prototype would still apply. */
33050 #ifdef __cplusplus
33051 extern "C"
33052 #endif
33053 char dlerror ();
33054 int
33055 main ()
33056 {
33057 return dlerror ();
33058 ;
33059 return 0;
33060 }
33061 _ACEOF
33062 if ac_fn_c_try_link "$LINENO"; then :
33063 ac_cv_lib_dl_dlerror=yes
33064 else
33065 ac_cv_lib_dl_dlerror=no
33066 fi
33067 rm -f core conftest.err conftest.$ac_objext \
33068 conftest$ac_exeext conftest.$ac_ext
33069 LIBS=$ac_check_lib_save_LIBS
33070 fi
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33072 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33073 if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
33074 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33075
33076 fi
33077
33078
33079
33080 fi
33081 done
33082
33083 fi
33084 fi
33085
33086 if test "$USE_DARWIN" = 1; then
33087 HAVE_DL_FUNCS=1
33088 fi
33089
33090 if test "$HAVE_DL_FUNCS" = 0; then
33091 if test "$HAVE_SHL_FUNCS" = 0; then
33092 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33094 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33095 wxUSE_DYNAMIC_LOADER=no
33096 wxUSE_DYNLIB_CLASS=no
33097 else
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33099 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33100 fi
33101 fi
33102 fi
33103 fi
33104 fi
33105
33106 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33107 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33108
33109 fi
33110 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33111 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33112
33113 fi
33114
33115
33116
33117 if test "$wxUSE_PLUGINS" = "yes" ; then
33118 if test "$wxUSE_SHARED" = "no" ; then
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33120 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33121 wxUSE_PLUGINS=no
33122 fi
33123 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33125 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33126 wxUSE_PLUGINS=no
33127 fi
33128 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33130 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33131 wxUSE_PLUGINS=no
33132 fi
33133 if test "$wxUSE_PLUGINS" = "yes" ; then
33134 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33135
33136 fi
33137 fi
33138
33139
33140 if test "$wxUSE_FSWATCHER" = "yes"; then
33141 if test "$wxUSE_MSW" != "1"; then
33142 if test "$wxUSE_UNIX" = "yes"; then
33143 for ac_header in sys/inotify.h
33144 do :
33145 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33146 "
33147 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
33148 cat >>confdefs.h <<_ACEOF
33149 #define HAVE_SYS_INOTIFY_H 1
33150 _ACEOF
33151
33152 fi
33153
33154 done
33155
33156 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33157 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33158
33159 else
33160 for ac_header in sys/event.h
33161 do :
33162 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33163 "
33164 if test "x$ac_cv_header_sys_event_h" = xyes; then :
33165 cat >>confdefs.h <<_ACEOF
33166 #define HAVE_SYS_EVENT_H 1
33167 _ACEOF
33168
33169 fi
33170
33171 done
33172
33173 if test "$ac_cv_header_sys_event_h" = "yes"; then
33174 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33175
33176 else
33177 wxUSE_FSWATCHER=no
33178 fi
33179 fi
33180 else
33181 wxUSE_FSWATCHER=no
33182 fi
33183 else
33184 if test "$wxUSE_THREADS" != "yes"; then
33185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33186 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33187 wxUSE_FSWATCHER=no
33188 fi
33189 fi
33190
33191 if test "$wxUSE_FSWATCHER" = "yes"; then
33192 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33193
33194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33195 else
33196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33197 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33198 fi
33199 fi
33200
33201
33202 if test "$wxUSE_STL" = "yes"; then
33203 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33204
33205 fi
33206
33207 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33208 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33209
33210 fi
33211
33212 if test "$wxUSE_ANY" = "yes"; then
33213 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33214
33215 fi
33216
33217 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33218 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33219
33220 fi
33221
33222 if test "$wxUSE_TIMER" = "yes"; then
33223 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33224
33225 fi
33226
33227 if test "$USE_UNIX" = 1 ; then
33228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33229 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33230 if ${ac_cv_header_sys_soundcard+:} false; then :
33231 $as_echo_n "(cached) " >&6
33232 else
33233
33234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33235 /* end confdefs.h. */
33236
33237 #include <sys/ioctl.h>
33238 #include <sys/soundcard.h>
33239
33240 int
33241 main ()
33242 {
33243
33244 ioctl(0, SNDCTL_DSP_SPEED, 0);
33245
33246 ;
33247 return 0;
33248 }
33249 _ACEOF
33250 if ac_fn_c_try_link "$LINENO"; then :
33251 ac_cv_header_sys_soundcard=yes
33252 else
33253
33254 saveLibs="$LIBS"
33255 LIBS="$saveLibs -lossaudio"
33256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33257 /* end confdefs.h. */
33258
33259 #include <sys/ioctl.h>
33260 #include <sys/soundcard.h>
33261
33262 int
33263 main ()
33264 {
33265
33266 ioctl(0, SNDCTL_DSP_SPEED, 0);
33267
33268 ;
33269 return 0;
33270 }
33271 _ACEOF
33272 if ac_fn_c_try_link "$LINENO"; then :
33273 ac_cv_header_sys_soundcard=yes
33274 else
33275
33276 LIBS="$saveLibs"
33277 ac_cv_header_sys_soundcard=no
33278
33279
33280 fi
33281 rm -f core conftest.err conftest.$ac_objext \
33282 conftest$ac_exeext conftest.$ac_ext
33283
33284
33285 fi
33286 rm -f core conftest.err conftest.$ac_objext \
33287 conftest$ac_exeext conftest.$ac_ext
33288
33289 fi
33290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33291 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33292
33293 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33294 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33295
33296 fi
33297 fi
33298
33299 WITH_PLUGIN_SDL=0
33300 if test "$wxUSE_SOUND" = "yes"; then
33301 if test "$USE_UNIX" = 1 ; then
33302 if test "$wxUSE_LIBSDL" != "no"; then
33303
33304 # Check whether --with-sdl-prefix was given.
33305 if test "${with_sdl_prefix+set}" = set; then :
33306 withval=$with_sdl_prefix; sdl_prefix="$withval"
33307 else
33308 sdl_prefix=""
33309 fi
33310
33311
33312 # Check whether --with-sdl-exec-prefix was given.
33313 if test "${with_sdl_exec_prefix+set}" = set; then :
33314 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33315 else
33316 sdl_exec_prefix=""
33317 fi
33318
33319 # Check whether --enable-sdltest was given.
33320 if test "${enable_sdltest+set}" = set; then :
33321 enableval=$enable_sdltest;
33322 else
33323 enable_sdltest=yes
33324 fi
33325
33326
33327 if test x$sdl_exec_prefix != x ; then
33328 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33329 if test x${SDL_CONFIG+set} != xset ; then
33330 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33331 fi
33332 fi
33333 if test x$sdl_prefix != x ; then
33334 sdl_args="$sdl_args --prefix=$sdl_prefix"
33335 if test x${SDL_CONFIG+set} != xset ; then
33336 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33337 fi
33338 fi
33339
33340 if test "x$prefix" != xNONE; then
33341 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33342 fi
33343 # Extract the first word of "sdl-config", so it can be a program name with args.
33344 set dummy sdl-config; ac_word=$2
33345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33346 $as_echo_n "checking for $ac_word... " >&6; }
33347 if ${ac_cv_path_SDL_CONFIG+:} false; then :
33348 $as_echo_n "(cached) " >&6
33349 else
33350 case $SDL_CONFIG in
33351 [\\/]* | ?:[\\/]*)
33352 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33353 ;;
33354 *)
33355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33356 for as_dir in $PATH
33357 do
33358 IFS=$as_save_IFS
33359 test -z "$as_dir" && as_dir=.
33360 for ac_exec_ext in '' $ac_executable_extensions; do
33361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33362 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33364 break 2
33365 fi
33366 done
33367 done
33368 IFS=$as_save_IFS
33369
33370 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33371 ;;
33372 esac
33373 fi
33374 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33375 if test -n "$SDL_CONFIG"; then
33376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33377 $as_echo "$SDL_CONFIG" >&6; }
33378 else
33379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33380 $as_echo "no" >&6; }
33381 fi
33382
33383
33384 min_sdl_version=1.2.0
33385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33386 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33387 no_sdl=""
33388 if test "$SDL_CONFIG" = "no" ; then
33389 no_sdl=yes
33390 else
33391 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33392 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33393
33394 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33395 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33396 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33397 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33398 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33399 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33400 if test "x$enable_sdltest" = "xyes" ; then
33401 ac_save_CFLAGS="$CFLAGS"
33402 ac_save_CXXFLAGS="$CXXFLAGS"
33403 ac_save_LIBS="$LIBS"
33404 CFLAGS="$CFLAGS $SDL_CFLAGS"
33405 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33406 LIBS="$LIBS $SDL_LIBS"
33407 rm -f conf.sdltest
33408 if test "$cross_compiling" = yes; then :
33409 echo $ac_n "cross compiling; assumed OK... $ac_c"
33410 else
33411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33412 /* end confdefs.h. */
33413
33414 #include <stdio.h>
33415 #include <stdlib.h>
33416 #include <string.h>
33417 #include "SDL.h"
33418
33419 char*
33420 my_strdup (char *str)
33421 {
33422 char *new_str;
33423
33424 if (str)
33425 {
33426 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33427 strcpy (new_str, str);
33428 }
33429 else
33430 new_str = NULL;
33431
33432 return new_str;
33433 }
33434
33435 int main (int argc, char *argv[])
33436 {
33437 int major, minor, micro;
33438 char *tmp_version;
33439
33440 /* This hangs on some systems (?)
33441 system ("touch conf.sdltest");
33442 */
33443 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33444
33445 /* HP/UX 9 (%@#!) writes to sscanf strings */
33446 tmp_version = my_strdup("$min_sdl_version");
33447 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33448 printf("%s, bad version string\n", "$min_sdl_version");
33449 exit(1);
33450 }
33451
33452 if (($sdl_major_version > major) ||
33453 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33454 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33455 {
33456 return 0;
33457 }
33458 else
33459 {
33460 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33461 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33462 printf("*** best to upgrade to the required version.\n");
33463 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33464 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33465 printf("*** config.cache before re-running configure\n");
33466 return 1;
33467 }
33468 }
33469
33470
33471 _ACEOF
33472 if ac_fn_c_try_run "$LINENO"; then :
33473
33474 else
33475 no_sdl=yes
33476 fi
33477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33478 conftest.$ac_objext conftest.beam conftest.$ac_ext
33479 fi
33480
33481 CFLAGS="$ac_save_CFLAGS"
33482 CXXFLAGS="$ac_save_CXXFLAGS"
33483 LIBS="$ac_save_LIBS"
33484 fi
33485 fi
33486 if test "x$no_sdl" = x ; then
33487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33488 $as_echo "yes" >&6; }
33489
33490 EXTRALIBS_SDL="$SDL_LIBS"
33491 CFLAGS="$SDL_CFLAGS $CFLAGS"
33492 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33493 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33494
33495
33496 else
33497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33498 $as_echo "no" >&6; }
33499 if test "$SDL_CONFIG" = "no" ; then
33500 echo "*** The sdl-config script installed by SDL could not be found"
33501 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33502 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33503 echo "*** full path to sdl-config."
33504 else
33505 if test -f conf.sdltest ; then
33506 :
33507 else
33508 echo "*** Could not run SDL test program, checking why..."
33509 CFLAGS="$CFLAGS $SDL_CFLAGS"
33510 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33511 LIBS="$LIBS $SDL_LIBS"
33512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33513 /* end confdefs.h. */
33514
33515 #include <stdio.h>
33516 #include "SDL.h"
33517
33518 int main(int argc, char *argv[])
33519 { return 0; }
33520 #undef main
33521 #define main K_and_R_C_main
33522
33523 int
33524 main ()
33525 {
33526 return 0;
33527 ;
33528 return 0;
33529 }
33530 _ACEOF
33531 if ac_fn_c_try_link "$LINENO"; then :
33532 echo "*** The test program compiled, but did not run. This usually means"
33533 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33534 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33535 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33536 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33537 echo "*** is required on your system"
33538 echo "***"
33539 echo "*** If you have an old version installed, it is best to remove it, although"
33540 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33541 else
33542 echo "*** The test program failed to compile or link. See the file config.log for the"
33543 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33544 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33545 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33546 fi
33547 rm -f core conftest.err conftest.$ac_objext \
33548 conftest$ac_exeext conftest.$ac_ext
33549 CFLAGS="$ac_save_CFLAGS"
33550 CXXFLAGS="$ac_save_CXXFLAGS"
33551 LIBS="$ac_save_LIBS"
33552 fi
33553 fi
33554 SDL_CFLAGS=""
33555 SDL_LIBS=""
33556 wxUSE_LIBSDL="no"
33557 fi
33558
33559
33560 rm -f conf.sdltest
33561
33562 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33563 WITH_PLUGIN_SDL=1
33564 fi
33565 fi
33566 fi
33567 fi
33568
33569 if test "$wxUSE_SOUND" = "yes"; then
33570 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33571
33572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33573 fi
33574
33575 if test "$WXGTK2" = 1; then
33576
33577
33578 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33579 if test -n "$ac_tool_prefix"; then
33580 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33581 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33583 $as_echo_n "checking for $ac_word... " >&6; }
33584 if ${ac_cv_path_PKG_CONFIG+:} false; then :
33585 $as_echo_n "(cached) " >&6
33586 else
33587 case $PKG_CONFIG in
33588 [\\/]* | ?:[\\/]*)
33589 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33590 ;;
33591 *)
33592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33593 for as_dir in $PATH
33594 do
33595 IFS=$as_save_IFS
33596 test -z "$as_dir" && as_dir=.
33597 for ac_exec_ext in '' $ac_executable_extensions; do
33598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33599 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33601 break 2
33602 fi
33603 done
33604 done
33605 IFS=$as_save_IFS
33606
33607 ;;
33608 esac
33609 fi
33610 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33611 if test -n "$PKG_CONFIG"; then
33612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33613 $as_echo "$PKG_CONFIG" >&6; }
33614 else
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33616 $as_echo "no" >&6; }
33617 fi
33618
33619
33620 fi
33621 if test -z "$ac_cv_path_PKG_CONFIG"; then
33622 ac_pt_PKG_CONFIG=$PKG_CONFIG
33623 # Extract the first word of "pkg-config", so it can be a program name with args.
33624 set dummy pkg-config; ac_word=$2
33625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33626 $as_echo_n "checking for $ac_word... " >&6; }
33627 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
33628 $as_echo_n "(cached) " >&6
33629 else
33630 case $ac_pt_PKG_CONFIG in
33631 [\\/]* | ?:[\\/]*)
33632 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33633 ;;
33634 *)
33635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33636 for as_dir in $PATH
33637 do
33638 IFS=$as_save_IFS
33639 test -z "$as_dir" && as_dir=.
33640 for ac_exec_ext in '' $ac_executable_extensions; do
33641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33642 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33644 break 2
33645 fi
33646 done
33647 done
33648 IFS=$as_save_IFS
33649
33650 ;;
33651 esac
33652 fi
33653 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33654 if test -n "$ac_pt_PKG_CONFIG"; then
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33656 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33657 else
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33659 $as_echo "no" >&6; }
33660 fi
33661
33662 if test "x$ac_pt_PKG_CONFIG" = x; then
33663 PKG_CONFIG=""
33664 else
33665 case $cross_compiling:$ac_tool_warned in
33666 yes:)
33667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33669 ac_tool_warned=yes ;;
33670 esac
33671 PKG_CONFIG=$ac_pt_PKG_CONFIG
33672 fi
33673 else
33674 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33675 fi
33676
33677 fi
33678 if test -n "$PKG_CONFIG"; then
33679 _pkg_min_version=0.9.0
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33681 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33682 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33684 $as_echo "yes" >&6; }
33685 else
33686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33687 $as_echo "no" >&6; }
33688 PKG_CONFIG=""
33689 fi
33690
33691 fi
33692
33693 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33694
33695 if test "$wxUSE_GTKPRINT" = "yes" ; then
33696 if test "$WXGTK3" = 1; then
33697 gtk_unix_print="gtk+-unix-print-3.0"
33698 else
33699 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33700 fi
33701
33702 pkg_failed=no
33703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33704 $as_echo_n "checking for GTKPRINT... " >&6; }
33705
33706 if test -n "$PKG_CONFIG"; then
33707 if test -n "$GTKPRINT_CFLAGS"; then
33708 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33709 else
33710 if test -n "$PKG_CONFIG" && \
33711 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33712 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33713 ac_status=$?
33714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33715 test $ac_status = 0; }; then
33716 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33717 else
33718 pkg_failed=yes
33719 fi
33720 fi
33721 else
33722 pkg_failed=untried
33723 fi
33724 if test -n "$PKG_CONFIG"; then
33725 if test -n "$GTKPRINT_LIBS"; then
33726 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33727 else
33728 if test -n "$PKG_CONFIG" && \
33729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33730 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33731 ac_status=$?
33732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33733 test $ac_status = 0; }; then
33734 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33735 else
33736 pkg_failed=yes
33737 fi
33738 fi
33739 else
33740 pkg_failed=untried
33741 fi
33742
33743
33744
33745 if test $pkg_failed = yes; then
33746
33747 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33748 _pkg_short_errors_supported=yes
33749 else
33750 _pkg_short_errors_supported=no
33751 fi
33752 if test $_pkg_short_errors_supported = yes; then
33753 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33754 else
33755 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33756 fi
33757 # Put the nasty error message in config.log where it belongs
33758 echo "$GTKPRINT_PKG_ERRORS" >&5
33759
33760
33761 { $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
33762 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33763 wxUSE_GTKPRINT="no"
33764
33765
33766 elif test $pkg_failed = untried; then
33767
33768 { $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
33769 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33770 wxUSE_GTKPRINT="no"
33771
33772
33773 else
33774 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33775 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33777 $as_echo "yes" >&6; }
33778
33779 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33780 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33781 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33782
33783
33784 fi
33785 fi
33786
33787 if test "$WXGTK3" = 1; then
33788 wxUSE_LIBGNOMEPRINT=no
33789 fi
33790
33791 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33792
33793
33794 pkg_failed=no
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33796 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33797
33798 if test -n "$PKG_CONFIG"; then
33799 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33800 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33801 else
33802 if test -n "$PKG_CONFIG" && \
33803 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33804 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33805 ac_status=$?
33806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33807 test $ac_status = 0; }; then
33808 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33809 else
33810 pkg_failed=yes
33811 fi
33812 fi
33813 else
33814 pkg_failed=untried
33815 fi
33816 if test -n "$PKG_CONFIG"; then
33817 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33818 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33819 else
33820 if test -n "$PKG_CONFIG" && \
33821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33822 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33823 ac_status=$?
33824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33825 test $ac_status = 0; }; then
33826 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33827 else
33828 pkg_failed=yes
33829 fi
33830 fi
33831 else
33832 pkg_failed=untried
33833 fi
33834
33835
33836
33837 if test $pkg_failed = yes; then
33838
33839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33840 _pkg_short_errors_supported=yes
33841 else
33842 _pkg_short_errors_supported=no
33843 fi
33844 if test $_pkg_short_errors_supported = yes; then
33845 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33846 else
33847 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33848 fi
33849 # Put the nasty error message in config.log where it belongs
33850 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33851
33852
33853 if test "$wxUSE_GTKPRINT" = yes; then
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33855 $as_echo "no" >&6; }
33856 else
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33858 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33859 fi
33860 wxUSE_LIBGNOMEPRINT="no"
33861
33862
33863 elif test $pkg_failed = untried; then
33864
33865 if test "$wxUSE_GTKPRINT" = yes; then
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33867 $as_echo "no" >&6; }
33868 else
33869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33870 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33871 fi
33872 wxUSE_LIBGNOMEPRINT="no"
33873
33874
33875 else
33876 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33877 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33879 $as_echo "yes" >&6; }
33880
33881 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33882 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33883 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33884
33885
33886 fi
33887 fi
33888 fi
33889
33890 if test "$wxUSE_MIMETYPE" = "yes" ; then
33891 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33892
33893
33894 pkg_failed=no
33895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33896 $as_echo_n "checking for GNOMEVFS... " >&6; }
33897
33898 if test -n "$PKG_CONFIG"; then
33899 if test -n "$GNOMEVFS_CFLAGS"; then
33900 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33901 else
33902 if test -n "$PKG_CONFIG" && \
33903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33904 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33905 ac_status=$?
33906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33907 test $ac_status = 0; }; then
33908 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33909 else
33910 pkg_failed=yes
33911 fi
33912 fi
33913 else
33914 pkg_failed=untried
33915 fi
33916 if test -n "$PKG_CONFIG"; then
33917 if test -n "$GNOMEVFS_LIBS"; then
33918 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33919 else
33920 if test -n "$PKG_CONFIG" && \
33921 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33922 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33923 ac_status=$?
33924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33925 test $ac_status = 0; }; then
33926 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33927 else
33928 pkg_failed=yes
33929 fi
33930 fi
33931 else
33932 pkg_failed=untried
33933 fi
33934
33935
33936
33937 if test $pkg_failed = yes; then
33938
33939 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33940 _pkg_short_errors_supported=yes
33941 else
33942 _pkg_short_errors_supported=no
33943 fi
33944 if test $_pkg_short_errors_supported = yes; then
33945 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33946 else
33947 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33948 fi
33949 # Put the nasty error message in config.log where it belongs
33950 echo "$GNOMEVFS_PKG_ERRORS" >&5
33951
33952
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33954 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33955 wxUSE_LIBGNOMEVFS="no"
33956
33957
33958 elif test $pkg_failed = untried; then
33959
33960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33961 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33962 wxUSE_LIBGNOMEVFS="no"
33963
33964
33965 else
33966 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
33967 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
33968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33969 $as_echo "yes" >&6; }
33970
33971 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
33972 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
33973 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33974
33975
33976 fi
33977 fi
33978 fi
33979
33980 if test "$wxUSE_LIBHILDON" = "yes" ; then
33981
33982 pkg_failed=no
33983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33984 $as_echo_n "checking for HILDON... " >&6; }
33985
33986 if test -n "$PKG_CONFIG"; then
33987 if test -n "$HILDON_CFLAGS"; then
33988 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
33989 else
33990 if test -n "$PKG_CONFIG" && \
33991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33992 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33993 ac_status=$?
33994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33995 test $ac_status = 0; }; then
33996 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33997 else
33998 pkg_failed=yes
33999 fi
34000 fi
34001 else
34002 pkg_failed=untried
34003 fi
34004 if test -n "$PKG_CONFIG"; then
34005 if test -n "$HILDON_LIBS"; then
34006 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34007 else
34008 if test -n "$PKG_CONFIG" && \
34009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34010 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34011 ac_status=$?
34012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34013 test $ac_status = 0; }; then
34014 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34015 else
34016 pkg_failed=yes
34017 fi
34018 fi
34019 else
34020 pkg_failed=untried
34021 fi
34022
34023
34024
34025 if test $pkg_failed = yes; then
34026
34027 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34028 _pkg_short_errors_supported=yes
34029 else
34030 _pkg_short_errors_supported=no
34031 fi
34032 if test $_pkg_short_errors_supported = yes; then
34033 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34034 else
34035 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34036 fi
34037 # Put the nasty error message in config.log where it belongs
34038 echo "$HILDON_PKG_ERRORS" >&5
34039
34040
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34042 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34043 wxUSE_LIBHILDON="no"
34044 ac_hildon_lgpl=0
34045
34046
34047 elif test $pkg_failed = untried; then
34048
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34050 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34051 wxUSE_LIBHILDON="no"
34052 ac_hildon_lgpl=0
34053
34054
34055 else
34056 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34057 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34059 $as_echo "yes" >&6; }
34060
34061 EXTRALIBS_HILDON="$HILDON_LIBS"
34062 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34063 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34064 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34065
34066 ac_hildon_lgpl=1
34067
34068 fi
34069
34070 if test "$ac_hildon_lgpl" = 0 ; then
34071
34072 pkg_failed=no
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34074 $as_echo_n "checking for HILDON2... " >&6; }
34075
34076 if test -n "$PKG_CONFIG"; then
34077 if test -n "$HILDON2_CFLAGS"; then
34078 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34079 else
34080 if test -n "$PKG_CONFIG" && \
34081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34082 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34083 ac_status=$?
34084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34085 test $ac_status = 0; }; then
34086 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34087 else
34088 pkg_failed=yes
34089 fi
34090 fi
34091 else
34092 pkg_failed=untried
34093 fi
34094 if test -n "$PKG_CONFIG"; then
34095 if test -n "$HILDON2_LIBS"; then
34096 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34097 else
34098 if test -n "$PKG_CONFIG" && \
34099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34100 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 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_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34105 else
34106 pkg_failed=yes
34107 fi
34108 fi
34109 else
34110 pkg_failed=untried
34111 fi
34112
34113
34114
34115 if test $pkg_failed = yes; then
34116
34117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34118 _pkg_short_errors_supported=yes
34119 else
34120 _pkg_short_errors_supported=no
34121 fi
34122 if test $_pkg_short_errors_supported = yes; then
34123 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34124 else
34125 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34126 fi
34127 # Put the nasty error message in config.log where it belongs
34128 echo "$HILDON2_PKG_ERRORS" >&5
34129
34130
34131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34132 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34133 wxUSE_LIBHILDON2="no"
34134
34135
34136 elif test $pkg_failed = untried; then
34137
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34139 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34140 wxUSE_LIBHILDON2="no"
34141
34142
34143 else
34144 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34145 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34147 $as_echo "yes" >&6; }
34148
34149 EXTRALIBS_HILDON="$HILDON2_LIBS"
34150 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34151 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34152 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34153
34154
34155 fi
34156 fi
34157 fi
34158 fi
34159
34160 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34161 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34162
34163 fi
34164
34165 if test "$wxUSE_STOPWATCH" = "yes"; then
34166 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34167
34168 fi
34169
34170 if test "$wxUSE_DATETIME" = "yes"; then
34171 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34172
34173 fi
34174
34175 if test "$wxUSE_FILE" = "yes"; then
34176 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34177
34178 fi
34179
34180 if test "$wxUSE_FFILE" = "yes"; then
34181 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34182
34183 fi
34184
34185 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34186 if test "$wxUSE_STREAMS" != yes; then
34187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34188 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34189 wxUSE_ARCHIVE_STREAMS=no
34190 else
34191 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34192
34193 fi
34194 fi
34195
34196 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34197 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34199 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34200 elif test "$wxUSE_ZLIB" = "no"; then
34201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34202 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34203 else
34204 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34205
34206 fi
34207 fi
34208
34209 if test "$wxUSE_TARSTREAM" = "yes"; then
34210 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34212 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34213 else
34214 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34215
34216 fi
34217 fi
34218
34219 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34220 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34221
34222 fi
34223
34224 if test "$wxUSE_FILESYSTEM" = "yes"; then
34225 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34227 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34228 wxUSE_FILESYSTEM=no
34229 else
34230 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34231
34232 fi
34233 fi
34234
34235 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34236 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34238 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34239 else
34240 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34241
34242 fi
34243 fi
34244
34245 if test "$wxUSE_FS_ZIP" = "yes"; then
34246 if test "$wxUSE_FS_ARCHIVE" != yes; then
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34248 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34249 else
34250 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34251
34252 fi
34253 fi
34254
34255 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34256 if test "$USE_UNIX" != 1; then
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34258 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34259 wxUSE_ON_FATAL_EXCEPTION=no
34260 else
34261 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34262
34263 fi
34264 fi
34265
34266 if test "$wxUSE_STACKWALKER" = "yes"; then
34267 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34268
34269 fi
34270
34271 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34272 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34274 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34275 wxUSE_DEBUGREPORT=no
34276 else
34277 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34278
34279 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34280 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34281 fi
34282 fi
34283 fi
34284
34285 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34286 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34287
34288 fi
34289
34290 if test "$wxUSE_BUSYINFO" = "yes"; then
34291 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34292
34293 fi
34294
34295 if test "$wxUSE_HOTKEY" = "yes"; then
34296 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34298 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34299 wxUSE_HOTKEY=no
34300 fi
34301 elif test "$wxUSE_HOTKEY" = "auto"; then
34302 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34303 wxUSE_HOTKEY=yes
34304 fi
34305 fi
34306 if test "$wxUSE_HOTKEY" = "yes"; then
34307 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34308
34309 fi
34310
34311 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34312 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34313
34314 fi
34315
34316 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34317 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34318
34319 fi
34320
34321 if test "$wxUSE_STD_STRING" = "yes"; then
34322 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34323
34324 fi
34325
34326 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34327 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34328
34329 fi
34330
34331 if test "$wxUSE_STDPATHS" = "yes"; then
34332 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34333
34334 fi
34335
34336 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34337 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34338
34339 fi
34340
34341 if test "$wxUSE_TEXTFILE" = "yes"; then
34342 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34344 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34345 else
34346 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34347
34348 fi
34349 fi
34350
34351 if test "$wxUSE_CONFIG" = "yes" ; then
34352 if test "$wxUSE_TEXTFILE" != "yes"; then
34353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34354 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34355 else
34356 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34357
34358 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34359
34360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34361 fi
34362 fi
34363
34364 if test "$wxUSE_INTL" = "yes" ; then
34365 if test "$wxUSE_FILE" != "yes"; then
34366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34367 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34368 else
34369 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34370
34371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34372 GUIDIST="$GUIDIST INTL_DIST"
34373 fi
34374 fi
34375
34376 if test "$wxUSE_XLOCALE" = "yes" ; then
34377 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34378
34379 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34380 #include <locale.h>
34381 "
34382 if test "x$ac_cv_type_locale_t" = xyes; then :
34383
34384 cat >>confdefs.h <<_ACEOF
34385 #define HAVE_LOCALE_T 1
34386 _ACEOF
34387
34388
34389 fi
34390
34391 fi
34392
34393 if test "$wxUSE_LOG" = "yes"; then
34394 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34395
34396
34397 if test "$wxUSE_LOGGUI" = "yes"; then
34398 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34399
34400 fi
34401
34402 if test "$wxUSE_LOGWINDOW" = "yes"; then
34403 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34404
34405 fi
34406
34407 if test "$wxUSE_LOGDIALOG" = "yes"; then
34408 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34409
34410 fi
34411
34412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34413 fi
34414
34415 if test "$wxUSE_LONGLONG" = "yes"; then
34416 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34417
34418 fi
34419
34420 if test "$wxUSE_GEOMETRY" = "yes"; then
34421 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34422
34423 fi
34424
34425 if test "$wxUSE_BASE64" = "yes"; then
34426 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34427
34428 fi
34429
34430 if test "$wxUSE_STREAMS" = "yes" ; then
34431 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34432
34433 fi
34434
34435 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34436 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34437
34438 fi
34439
34440 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34441 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34442
34443 fi
34444
34445
34446 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34447 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34448
34449
34450 if test "$wxUSE_UNIX" = "yes"; then
34451 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34452 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34453
34454 fi
34455
34456 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34457 for ac_header in sys/epoll.h
34458 do :
34459 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34460 "
34461 if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
34462 cat >>confdefs.h <<_ACEOF
34463 #define HAVE_SYS_EPOLL_H 1
34464 _ACEOF
34465
34466 fi
34467
34468 done
34469
34470 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34471 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34472
34473 else
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34475 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34476 fi
34477 fi
34478 fi
34479 fi
34480
34481
34482 for ac_func in gettimeofday ftime
34483 do :
34484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34487 cat >>confdefs.h <<_ACEOF
34488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34489 _ACEOF
34490 break
34491 fi
34492 done
34493
34494
34495 if test "$ac_cv_func_gettimeofday" = "yes"; then
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34497 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34498 if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
34499 $as_echo_n "(cached) " >&6
34500 else
34501
34502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34503 /* end confdefs.h. */
34504
34505 #include <sys/time.h>
34506 #include <unistd.h>
34507
34508 int
34509 main ()
34510 {
34511
34512 struct timeval tv;
34513 gettimeofday(&tv, NULL);
34514
34515 ;
34516 return 0;
34517 }
34518 _ACEOF
34519 if ac_fn_c_try_compile "$LINENO"; then :
34520 wx_cv_func_gettimeofday_has_2_args=yes
34521 else
34522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34523 /* end confdefs.h. */
34524
34525 #include <sys/time.h>
34526 #include <unistd.h>
34527
34528 int
34529 main ()
34530 {
34531
34532 struct timeval tv;
34533 gettimeofday(&tv);
34534
34535 ;
34536 return 0;
34537 }
34538 _ACEOF
34539 if ac_fn_c_try_compile "$LINENO"; then :
34540 wx_cv_func_gettimeofday_has_2_args=no
34541 else
34542
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34544 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34545 wx_cv_func_gettimeofday_has_2_args=unknown
34546
34547
34548 fi
34549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34550
34551 fi
34552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34553
34554 fi
34555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34556 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34557
34558 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34559 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34560
34561 fi
34562 fi
34563
34564 if test "$wxUSE_DATETIME" = "yes"; then
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34566 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34567 if ${wx_cv_var_timezone+:} false; then :
34568 $as_echo_n "(cached) " >&6
34569 else
34570
34571 ac_ext=cpp
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34576
34577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34578 /* end confdefs.h. */
34579
34580 #include <time.h>
34581
34582 int
34583 main ()
34584 {
34585
34586 int tz;
34587 tz = timezone;
34588
34589 ;
34590 return 0;
34591 }
34592 _ACEOF
34593 if ac_fn_cxx_try_compile "$LINENO"; then :
34594
34595 wx_cv_var_timezone=timezone
34596
34597 else
34598
34599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34600 /* end confdefs.h. */
34601
34602 #include <time.h>
34603
34604 int
34605 main ()
34606 {
34607
34608 int tz;
34609 tz = _timezone;
34610
34611 ;
34612 return 0;
34613 }
34614 _ACEOF
34615 if ac_fn_cxx_try_compile "$LINENO"; then :
34616
34617 wx_cv_var_timezone=_timezone
34618
34619 else
34620
34621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34622 /* end confdefs.h. */
34623
34624 #include <time.h>
34625
34626 int
34627 main ()
34628 {
34629
34630 int tz;
34631 tz = __timezone;
34632
34633 ;
34634 return 0;
34635 }
34636 _ACEOF
34637 if ac_fn_cxx_try_compile "$LINENO"; then :
34638
34639 wx_cv_var_timezone=__timezone
34640
34641 else
34642
34643 if test "$USE_DOS" = 0 ; then
34644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34645 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34646 fi
34647
34648
34649 fi
34650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34651
34652
34653 fi
34654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34655
34656
34657 fi
34658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34659 ac_ext=c
34660 ac_cpp='$CPP $CPPFLAGS'
34661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34664
34665
34666
34667 fi
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34669 $as_echo "$wx_cv_var_timezone" >&6; }
34670
34671 if test "x$wx_cv_var_timezone" != x ; then
34672 cat >>confdefs.h <<_ACEOF
34673 #define WX_TIMEZONE $wx_cv_var_timezone
34674 _ACEOF
34675
34676 fi
34677
34678 for ac_func in localtime
34679 do :
34680 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34681 if test "x$ac_cv_func_localtime" = xyes; then :
34682 cat >>confdefs.h <<_ACEOF
34683 #define HAVE_LOCALTIME 1
34684 _ACEOF
34685
34686 fi
34687 done
34688
34689
34690 if test "$ac_cv_func_localtime" = "yes"; then
34691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34692 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34693 if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
34694 $as_echo_n "(cached) " >&6
34695 else
34696
34697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34698 /* end confdefs.h. */
34699
34700 #include <time.h>
34701
34702 int
34703 main ()
34704 {
34705
34706 struct tm tm;
34707 tm.tm_gmtoff++;
34708
34709 ;
34710 return 0;
34711 }
34712 _ACEOF
34713 if ac_fn_c_try_compile "$LINENO"; then :
34714
34715 wx_cv_struct_tm_has_gmtoff=yes
34716
34717 else
34718 wx_cv_struct_tm_has_gmtoff=no
34719
34720 fi
34721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34722
34723 fi
34724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34725 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34726 fi
34727
34728 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34729 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34730
34731 fi
34732
34733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34734 fi
34735
34736
34737 if test "$wxUSE_SOCKETS" = "yes"; then
34738 if test "$TOOLKIT" != "MSW"; then
34739 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34740 if test "x$ac_cv_func_socket" = xyes; then :
34741
34742 else
34743
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34745 $as_echo_n "checking for socket in -lsocket... " >&6; }
34746 if ${ac_cv_lib_socket_socket+:} false; then :
34747 $as_echo_n "(cached) " >&6
34748 else
34749 ac_check_lib_save_LIBS=$LIBS
34750 LIBS="-lsocket $LIBS"
34751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34752 /* end confdefs.h. */
34753
34754 /* Override any GCC internal prototype to avoid an error.
34755 Use char because int might match the return type of a GCC
34756 builtin and then its argument prototype would still apply. */
34757 #ifdef __cplusplus
34758 extern "C"
34759 #endif
34760 char socket ();
34761 int
34762 main ()
34763 {
34764 return socket ();
34765 ;
34766 return 0;
34767 }
34768 _ACEOF
34769 if ac_fn_c_try_link "$LINENO"; then :
34770 ac_cv_lib_socket_socket=yes
34771 else
34772 ac_cv_lib_socket_socket=no
34773 fi
34774 rm -f core conftest.err conftest.$ac_objext \
34775 conftest$ac_exeext conftest.$ac_ext
34776 LIBS=$ac_check_lib_save_LIBS
34777 fi
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34779 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34780 if test "x$ac_cv_lib_socket_socket" = xyes; then :
34781 if test "$INET_LINK" != " -lsocket"; then
34782 INET_LINK="$INET_LINK -lsocket"
34783 fi
34784 else
34785
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34787 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34788 wxUSE_SOCKETS=no
34789
34790
34791 fi
34792
34793
34794
34795 fi
34796
34797 fi
34798 fi
34799
34800 if test "$wxUSE_SOCKETS" = "yes" ; then
34801 if test "$TOOLKIT" != "MSW"; then
34802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34803 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34804 if ${wx_cv_type_getsockname3+:} false; then :
34805 $as_echo_n "(cached) " >&6
34806 else
34807
34808 ac_ext=cpp
34809 ac_cpp='$CXXCPP $CPPFLAGS'
34810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34813
34814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34815 /* end confdefs.h. */
34816
34817 #include <sys/types.h>
34818 #include <sys/socket.h>
34819
34820 int
34821 main ()
34822 {
34823
34824 socklen_t len;
34825 getsockname(0, 0, &len);
34826
34827 ;
34828 return 0;
34829 }
34830 _ACEOF
34831 if ac_fn_cxx_try_compile "$LINENO"; then :
34832 wx_cv_type_getsockname3=socklen_t
34833 else
34834
34835 CFLAGS_OLD="$CFLAGS"
34836 if test "$GCC" = yes ; then
34837 CFLAGS="-Werror $CFLAGS"
34838 fi
34839
34840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34841 /* end confdefs.h. */
34842
34843 #include <sys/types.h>
34844 #include <sys/socket.h>
34845
34846 int
34847 main ()
34848 {
34849
34850 size_t len;
34851 getsockname(0, 0, &len);
34852
34853 ;
34854 return 0;
34855 }
34856 _ACEOF
34857 if ac_fn_cxx_try_compile "$LINENO"; then :
34858 wx_cv_type_getsockname3=size_t
34859 else
34860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34861 /* end confdefs.h. */
34862
34863 #include <sys/types.h>
34864 #include <sys/socket.h>
34865
34866 int
34867 main ()
34868 {
34869
34870 int len;
34871 getsockname(0, 0, &len);
34872
34873 ;
34874 return 0;
34875 }
34876 _ACEOF
34877 if ac_fn_cxx_try_compile "$LINENO"; then :
34878 wx_cv_type_getsockname3=int
34879 else
34880 wx_cv_type_getsockname3=unknown
34881
34882 fi
34883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34884
34885 fi
34886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34887
34888 CFLAGS="$CFLAGS_OLD"
34889
34890
34891 fi
34892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34893 ac_ext=c
34894 ac_cpp='$CPP $CPPFLAGS'
34895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34898
34899
34900 fi
34901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34902 $as_echo "$wx_cv_type_getsockname3" >&6; }
34903
34904 if test "$wx_cv_type_getsockname3" = "unknown"; then
34905 wxUSE_SOCKETS=no
34906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34907 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34908 else
34909 cat >>confdefs.h <<_ACEOF
34910 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34911 _ACEOF
34912
34913 fi
34914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34915 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34916 if ${wx_cv_type_getsockopt5+:} false; then :
34917 $as_echo_n "(cached) " >&6
34918 else
34919
34920 ac_ext=cpp
34921 ac_cpp='$CXXCPP $CPPFLAGS'
34922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34925
34926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34927 /* end confdefs.h. */
34928
34929 #include <sys/types.h>
34930 #include <sys/socket.h>
34931
34932 int
34933 main ()
34934 {
34935
34936 socklen_t len;
34937 getsockopt(0, 0, 0, 0, &len);
34938
34939 ;
34940 return 0;
34941 }
34942 _ACEOF
34943 if ac_fn_cxx_try_compile "$LINENO"; then :
34944 wx_cv_type_getsockopt5=socklen_t
34945 else
34946
34947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34948 /* end confdefs.h. */
34949
34950 #include <sys/types.h>
34951 #include <sys/socket.h>
34952
34953 int
34954 main ()
34955 {
34956
34957 size_t len;
34958 getsockopt(0, 0, 0, 0, &len);
34959
34960 ;
34961 return 0;
34962 }
34963 _ACEOF
34964 if ac_fn_cxx_try_compile "$LINENO"; then :
34965 wx_cv_type_getsockopt5=size_t
34966 else
34967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34968 /* end confdefs.h. */
34969
34970 #include <sys/types.h>
34971 #include <sys/socket.h>
34972
34973 int
34974 main ()
34975 {
34976
34977 int len;
34978 getsockopt(0, 0, 0, 0, &len);
34979
34980 ;
34981 return 0;
34982 }
34983 _ACEOF
34984 if ac_fn_cxx_try_compile "$LINENO"; then :
34985 wx_cv_type_getsockopt5=int
34986 else
34987 wx_cv_type_getsockopt5=unknown
34988
34989 fi
34990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34991
34992 fi
34993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34994
34995
34996 fi
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34998 ac_ext=c
34999 ac_cpp='$CPP $CPPFLAGS'
35000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35003
35004
35005 fi
35006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35007 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35008
35009 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35010 wxUSE_SOCKETS=no
35011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35012 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35013 else
35014 cat >>confdefs.h <<_ACEOF
35015 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35016 _ACEOF
35017
35018 fi
35019 fi
35020 fi
35021
35022 if test "$wxUSE_SOCKETS" = "yes" ; then
35023 if test "$wxUSE_IPV6" = "yes"; then
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35025 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35026 if ${wx_cv_type_sockaddr_in6+:} false; then :
35027 $as_echo_n "(cached) " >&6
35028 else
35029
35030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35031 /* end confdefs.h. */
35032
35033 #include <sys/types.h>
35034 #include <sys/socket.h>
35035 #include <netinet/in.h>
35036
35037 int
35038 main ()
35039 {
35040
35041 struct sockaddr_in6 sa6;
35042
35043 ;
35044 return 0;
35045 }
35046 _ACEOF
35047 if ac_fn_c_try_compile "$LINENO"; then :
35048 wx_cv_type_sockaddr_in6=yes
35049 else
35050 wx_cv_type_sockaddr_in6=no
35051
35052 fi
35053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35054
35055
35056 fi
35057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35058 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35059
35060 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35061 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35062
35063 else
35064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35065 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35066 fi
35067 fi
35068
35069 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35070
35071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35072 fi
35073
35074 if test "$wxUSE_PROTOCOL" = "yes"; then
35075 if test "$wxUSE_SOCKETS" != "yes"; then
35076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35077 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35078 wxUSE_PROTOCOL=no
35079 fi
35080 fi
35081
35082 if test "$wxUSE_PROTOCOL" = "yes"; then
35083 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35084
35085
35086 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35087 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35088
35089 fi
35090 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35091 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35092
35093 fi
35094 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35095 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35096
35097 fi
35098 else
35099 if test "$wxUSE_FS_INET" = "yes"; then
35100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35101 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35102 wxUSE_FS_INET="no"
35103 fi
35104 fi
35105
35106 if test "$wxUSE_URL" = "yes"; then
35107 if test "$wxUSE_PROTOCOL" != "yes"; then
35108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35109 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35110 wxUSE_URL=no
35111 fi
35112 if test "$wxUSE_URL" = "yes"; then
35113 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35114
35115 fi
35116 fi
35117
35118 if test "$wxUSE_VARIANT" = "yes"; then
35119 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35120
35121 fi
35122
35123 if test "$wxUSE_FS_INET" = "yes"; then
35124 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35125
35126 fi
35127
35128
35129 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35130 wxUSE_JOYSTICK=no
35131
35132 if test "$TOOLKIT" = "MSW"; then
35133 wxUSE_JOYSTICK=yes
35134
35135 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35136 if test "$USE_DARWIN" = 1; then
35137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35138 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35139 ac_ext=cpp
35140 ac_cpp='$CXXCPP $CPPFLAGS'
35141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35144
35145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35146 /* end confdefs.h. */
35147 #include <IOKit/hid/IOHIDLib.h>
35148 int
35149 main ()
35150 {
35151 IOHIDQueueInterface *qi = NULL;
35152 IOHIDCallbackFunction cb = NULL;
35153 qi->setEventCallout(NULL, cb, NULL, NULL);
35154 ;
35155 return 0;
35156 }
35157 _ACEOF
35158 if ac_fn_cxx_try_compile "$LINENO"; then :
35159 wxUSE_JOYSTICK=yes
35160
35161 fi
35162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35163 ac_ext=c
35164 ac_cpp='$CPP $CPPFLAGS'
35165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35168
35169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35170 $as_echo "$wxUSE_JOYSTICK" >&6; }
35171 fi
35172
35173 else
35174 for ac_header in linux/joystick.h
35175 do :
35176 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35177 "
35178 if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
35179 cat >>confdefs.h <<_ACEOF
35180 #define HAVE_LINUX_JOYSTICK_H 1
35181 _ACEOF
35182 wxUSE_JOYSTICK=yes
35183 fi
35184
35185 done
35186
35187 fi
35188
35189 if test "$wxUSE_JOYSTICK" = "yes"; then
35190 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35191
35192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35193 else
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35195 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35196 fi
35197 fi
35198
35199
35200
35201 if test "$wxUSE_FONTENUM" = "yes" ; then
35202 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35203
35204 fi
35205
35206 if test "$wxUSE_FONTMAP" = "yes" ; then
35207 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35208
35209 fi
35210
35211 if test "$wxUSE_UNICODE" = "yes" ; then
35212 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35213
35214
35215 if test "$USE_WIN32" != 1; then
35216 wxUSE_UNICODE_MSLU=no
35217 fi
35218
35219 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35221 $as_echo_n "checking for main in -lunicows... " >&6; }
35222 if ${ac_cv_lib_unicows_main+:} false; then :
35223 $as_echo_n "(cached) " >&6
35224 else
35225 ac_check_lib_save_LIBS=$LIBS
35226 LIBS="-lunicows $LIBS"
35227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35228 /* end confdefs.h. */
35229
35230
35231 int
35232 main ()
35233 {
35234 return main ();
35235 ;
35236 return 0;
35237 }
35238 _ACEOF
35239 if ac_fn_c_try_link "$LINENO"; then :
35240 ac_cv_lib_unicows_main=yes
35241 else
35242 ac_cv_lib_unicows_main=no
35243 fi
35244 rm -f core conftest.err conftest.$ac_objext \
35245 conftest$ac_exeext conftest.$ac_ext
35246 LIBS=$ac_check_lib_save_LIBS
35247 fi
35248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35249 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35250 if test "x$ac_cv_lib_unicows_main" = xyes; then :
35251
35252 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35253
35254
35255 else
35256
35257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35258 Applications will only run on Windows NT/2000/XP!" >&5
35259 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35260 Applications will only run on Windows NT/2000/XP!" >&2;}
35261 wxUSE_UNICODE_MSLU=no
35262
35263 fi
35264
35265 fi
35266 fi
35267
35268 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35269 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35270
35271
35272 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35273 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35274
35275 fi
35276 fi
35277
35278
35279 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35280 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35281
35282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35283 fi
35284
35285 if test "$wxUSE_MDI" = "yes"; then
35286 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35287
35288
35289 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35290 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35291
35292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35293 fi
35294 fi
35295
35296 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35297 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35298
35299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35300 fi
35301
35302 if test "$wxUSE_HELP" = "yes"; then
35303 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35304
35305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35306
35307 if test "$wxUSE_MSW" = 1; then
35308 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35309 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35310
35311 fi
35312 fi
35313
35314 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35315 if test "$wxUSE_HTML" = "yes"; then
35316 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35317
35318 else
35319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35320 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35321 wxUSE_WXHTML_HELP=no
35322 fi
35323 fi
35324 fi
35325
35326 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35327 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35328
35329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35330 fi
35331
35332 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35333 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35334
35335 fi
35336
35337 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35338
35339
35340 if test "$wxUSE_SVG" = "yes"; then
35341 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35342
35343 fi
35344
35345
35346 if test "$wxUSE_METAFILE" = "yes"; then
35347 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35349 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35350 wxUSE_METAFILE=no
35351 fi
35352 elif test "$wxUSE_METAFILE" = "auto"; then
35353 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35354 wxUSE_METAFILE=yes
35355 fi
35356 fi
35357
35358 if test "$wxUSE_METAFILE" = "yes"; then
35359 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35360
35361 if test "$wxUSE_MSW" = 1; then
35362 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35363
35364 fi
35365 fi
35366
35367
35368 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35369 -o "$wxUSE_CLIPBOARD" = "yes" \
35370 -o "$wxUSE_OLE" = "yes" \
35371 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35372 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35373 "
35374 if test "x$ac_cv_header_ole2_h" = xyes; then :
35375
35376 fi
35377
35378
35379
35380 if test "$ac_cv_header_ole2_h" = "yes" ; then
35381 if test "$GCC" = yes ; then
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35383 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35385 /* end confdefs.h. */
35386 #include <windows.h>
35387 #include <ole2.h>
35388 int
35389 main ()
35390 {
35391
35392 ;
35393 return 0;
35394 }
35395 _ACEOF
35396 if ac_fn_c_try_compile "$LINENO"; then :
35397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35398 $as_echo "no" >&6; }
35399 else
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35401 $as_echo "yes" >&6; }
35402 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35403 fi
35404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35405 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35406 if test "$wxUSE_OLE" = "yes" ; then
35407 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35408
35409 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35410
35411 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35412
35413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35414 fi
35415 fi
35416
35417 if test "$wxUSE_DATAOBJ" = "yes" ; then
35418 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35419
35420 fi
35421 else
35422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35423 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35424
35425 wxUSE_CLIPBOARD=no
35426 wxUSE_DRAG_AND_DROP=no
35427 wxUSE_DATAOBJ=no
35428 wxUSE_OLE=no
35429 fi
35430 fi
35431
35432 if test "$wxUSE_IPC" = "yes"; then
35433 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35435 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35436 wxUSE_IPC=no
35437 fi
35438
35439 if test "$wxUSE_IPC" = "yes"; then
35440 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35441
35442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35443 fi
35444 fi
35445
35446 if test "$wxUSE_DATAOBJ" = "yes"; then
35447 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35448
35449 else
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35451 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35452 wxUSE_CLIPBOARD=no
35453 wxUSE_DRAG_AND_DROP=no
35454 fi
35455
35456 if test "$wxUSE_CLIPBOARD" = "yes"; then
35457 if test "$wxUSE_DFB" = 1; then
35458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35459 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35460 wxUSE_CLIPBOARD=no
35461 fi
35462
35463 if test "$wxUSE_CLIPBOARD" = "yes"; then
35464 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35465
35466 fi
35467 fi
35468
35469 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35470 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35472 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35473 wxUSE_DRAG_AND_DROP=no
35474 fi
35475
35476 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35477 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35478
35479 fi
35480
35481 fi
35482
35483 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35485 fi
35486
35487 if test "$wxUSE_CLIPBOARD" = "yes"; then
35488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35489 fi
35490
35491 if test "$wxUSE_SPLINES" = "yes" ; then
35492 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35493
35494 fi
35495
35496 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35497 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35498
35499 fi
35500
35501 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35502 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35503
35504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35505 fi
35506
35507 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35508 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35509
35510 fi
35511
35512
35513 USES_CONTROLS=0
35514 if test "$wxUSE_CONTROLS" = "yes"; then
35515 USES_CONTROLS=1
35516 fi
35517
35518 if test "$wxUSE_MARKUP" = "yes"; then
35519 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35520
35521 fi
35522
35523 if test "$wxUSE_ACCEL" = "yes"; then
35524 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35525
35526 USES_CONTROLS=1
35527 fi
35528
35529 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35530 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35531
35532 USES_CONTROLS=1
35533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35534 fi
35535
35536 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35537 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35538
35539 fi
35540
35541 if test "$wxUSE_BUTTON" = "yes"; then
35542 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35543
35544 USES_CONTROLS=1
35545 fi
35546
35547 if test "$wxUSE_BMPBUTTON" = "yes"; then
35548 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35549
35550 USES_CONTROLS=1
35551 fi
35552
35553 if test "$wxUSE_CALCTRL" = "yes"; then
35554 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35555
35556 USES_CONTROLS=1
35557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35558 fi
35559
35560 if test "$wxUSE_CARET" = "yes"; then
35561 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35562
35563 USES_CONTROLS=1
35564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35565 fi
35566
35567 if test "$wxUSE_COLLPANE" = "yes"; then
35568 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35569
35570 USES_CONTROLS=1
35571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35572 fi
35573
35574 if test "$wxUSE_COMBOBOX" = "yes"; then
35575 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35576
35577 USES_CONTROLS=1
35578 fi
35579
35580 if test "$wxUSE_COMBOCTRL" = "yes"; then
35581 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35582
35583 USES_CONTROLS=1
35584 fi
35585
35586 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35587 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35588
35589 USES_CONTROLS=1
35590 fi
35591
35592 if test "$wxUSE_CHOICE" = "yes"; then
35593 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35594
35595 USES_CONTROLS=1
35596 fi
35597
35598 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35599 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35600
35601 USES_CONTROLS=1
35602 fi
35603
35604 if test "$wxUSE_CHECKBOX" = "yes"; then
35605 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35606
35607 USES_CONTROLS=1
35608 fi
35609
35610 if test "$wxUSE_CHECKLST" = "yes"; then
35611 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35612
35613 USES_CONTROLS=1
35614 fi
35615
35616 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35617 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35618
35619 USES_CONTROLS=1
35620 fi
35621
35622 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35623 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35624
35625 USES_CONTROLS=1
35626 fi
35627
35628 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35629 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35630
35631 USES_CONTROLS=1
35632 fi
35633
35634 if test "$wxUSE_FILECTRL" = "yes"; then
35635 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35636
35637 USES_CONTROLS=1
35638 fi
35639
35640 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35641 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35642
35643 USES_CONTROLS=1
35644 fi
35645
35646 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35647 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35648
35649 USES_CONTROLS=1
35650 fi
35651
35652 if test "$wxUSE_DISPLAY" = "yes"; then
35653 if test "$wxUSE_DFB" = 1; then
35654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35655 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35656 wxUSE_DISPLAY=no
35657 else
35658 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35659
35660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35661 fi
35662 fi
35663
35664 if test "$wxUSE_DETECT_SM" = "yes"; then
35665 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35666
35667 fi
35668
35669 if test "$wxUSE_GAUGE" = "yes"; then
35670 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35671
35672 USES_CONTROLS=1
35673 fi
35674
35675 if test "$wxUSE_GRID" = "yes"; then
35676 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35677
35678 USES_CONTROLS=1
35679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35680 fi
35681
35682 if test "$wxUSE_HEADERCTRL" = "yes"; then
35683 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35684
35685 USES_CONTROLS=1
35686 fi
35687
35688 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35689 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35690
35691 USES_CONTROLS=1
35692 fi
35693
35694 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35695 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35696
35697 USES_CONTROLS=1
35698 fi
35699
35700 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35701 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35702
35703 USES_CONTROLS=1
35704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35705 fi
35706
35707 if test "$wxUSE_IMAGLIST" = "yes"; then
35708 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35709
35710 fi
35711
35712 if test "$wxUSE_INFOBAR" = "yes"; then
35713 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35714
35715 fi
35716
35717 if test "$wxUSE_LISTBOOK" = "yes"; then
35718 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35719
35720 USES_CONTROLS=1
35721 fi
35722
35723 if test "$wxUSE_LISTBOX" = "yes"; then
35724 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35725
35726 USES_CONTROLS=1
35727 fi
35728
35729 if test "$wxUSE_LISTCTRL" = "yes"; then
35730 if test "$wxUSE_IMAGLIST" = "yes"; then
35731 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35732
35733 USES_CONTROLS=1
35734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35735 else
35736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35737 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35738 fi
35739 fi
35740
35741 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35742 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35743
35744 USES_CONTROLS=1
35745 fi
35746
35747 if test "$wxUSE_NOTEBOOK" = "yes"; then
35748 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35749
35750 USES_CONTROLS=1
35751 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35752 fi
35753
35754 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35755 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35756
35757 fi
35758
35759 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35760 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35761
35762 USES_CONTROLS=1
35763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35764 fi
35765
35766 if test "$wxUSE_RADIOBOX" = "yes"; then
35767 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35768
35769 USES_CONTROLS=1
35770 fi
35771
35772 if test "$wxUSE_RADIOBTN" = "yes"; then
35773 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35774
35775 USES_CONTROLS=1
35776 fi
35777
35778 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35779 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35780
35781 fi
35782
35783 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35784 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35785
35786 fi
35787
35788 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35789 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35790
35791 fi
35792
35793 if test "$wxUSE_SASH" = "yes"; then
35794 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35795
35796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35797 fi
35798
35799 if test "$wxUSE_SCROLLBAR" = "yes"; then
35800 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35801
35802 USES_CONTROLS=1
35803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35804 fi
35805
35806 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35807 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35808
35809 USES_CONTROLS=1
35810 fi
35811
35812 if test "$wxUSE_SLIDER" = "yes"; then
35813 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35814
35815 USES_CONTROLS=1
35816 fi
35817
35818 if test "$wxUSE_SPINBTN" = "yes"; then
35819 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35820
35821 USES_CONTROLS=1
35822 fi
35823
35824 if test "$wxUSE_SPINCTRL" = "yes"; then
35825 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35826
35827 USES_CONTROLS=1
35828 fi
35829
35830 if test "$wxUSE_SPLITTER" = "yes"; then
35831 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35832
35833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35834 fi
35835
35836 if test "$wxUSE_STATBMP" = "yes"; then
35837 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35838
35839 USES_CONTROLS=1
35840 fi
35841
35842 if test "$wxUSE_STATBOX" = "yes"; then
35843 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35844
35845 USES_CONTROLS=1
35846 fi
35847
35848 if test "$wxUSE_STATTEXT" = "yes"; then
35849 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35850
35851 USES_CONTROLS=1
35852 fi
35853
35854 if test "$wxUSE_STATLINE" = "yes"; then
35855 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35856
35857 USES_CONTROLS=1
35858 fi
35859
35860 if test "$wxUSE_STATUSBAR" = "yes"; then
35861 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35862
35863 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35864
35865 USES_CONTROLS=1
35866
35867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35868 fi
35869
35870 if test "$wxUSE_TEXTCTRL" = "yes"; then
35871 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35872
35873 USES_CONTROLS=1
35874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35875
35876 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35877
35878 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35879
35880 fi
35881
35882 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35883 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35884
35885 USES_CONTROLS=1
35886 fi
35887
35888 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35889 if test "$wxUSE_OLD_COCOA" = 1 ; then
35890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35891 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35892 wxUSE_TOGGLEBTN=no
35893 fi
35894
35895 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35896 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35897
35898 USES_CONTROLS=1
35899 fi
35900 fi
35901
35902 if test "$wxUSE_TOOLBAR" = "yes"; then
35903 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35904
35905 USES_CONTROLS=1
35906
35907 if test "$wxUSE_UNIVERSAL" = "yes"; then
35908 wxUSE_TOOLBAR_NATIVE="no"
35909 else
35910 wxUSE_TOOLBAR_NATIVE="yes"
35911 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35912
35913 fi
35914
35915 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35916 fi
35917
35918 if test "$wxUSE_TOOLTIPS" = "yes"; then
35919 if test "$wxUSE_MOTIF" = 1; then
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35921 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35922 else
35923 if test "$wxUSE_UNIVERSAL" = "yes"; then
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35925 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35926 else
35927 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35928
35929 fi
35930 fi
35931 fi
35932
35933 if test "$wxUSE_TREEBOOK" = "yes"; then
35934 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35935
35936 USES_CONTROLS=1
35937 fi
35938
35939 if test "$wxUSE_TOOLBOOK" = "yes"; then
35940 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35941
35942 USES_CONTROLS=1
35943 fi
35944
35945 if test "$wxUSE_TREECTRL" = "yes"; then
35946 if test "$wxUSE_IMAGLIST" = "yes"; then
35947 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35948
35949 USES_CONTROLS=1
35950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35951 else
35952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35953 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35954 fi
35955 fi
35956
35957 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35958 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35959
35960 USES_CONTROLS=1
35961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
35962 fi
35963
35964 if test "$wxUSE_POPUPWIN" = "yes"; then
35965 if test "$wxUSE_OLD_COCOA" = 1 ; then
35966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35967 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35968 else
35969 if test "$wxUSE_PM" = 1; then
35970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35971 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35972 else
35973 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35974
35975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
35976
35977 USES_CONTROLS=1
35978 fi
35979 fi
35980 fi
35981
35982 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35983 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35985 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35986 else
35987 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35988
35989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35990 fi
35991 fi
35992
35993 if test "$wxUSE_TIPWINDOW" = "yes"; then
35994 if test "$wxUSE_PM" = 1; then
35995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35996 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35997 else
35998 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35999
36000 fi
36001 fi
36002
36003 if test "$USES_CONTROLS" = 1; then
36004 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36005
36006 fi
36007
36008
36009 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36010 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36011
36012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36013 fi
36014
36015 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36016 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36017
36018 fi
36019
36020 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36021 if test "$wxUSE_GTK" != 1; then
36022 if test "$wxUSE_LIBPNG" != no -a \
36023 "$wxUSE_IMAGE" = yes -a \
36024 "$wxUSE_STREAMS" = yes; then
36025 wxUSE_ARTPROVIDER_TANGO="yes"
36026 fi
36027 fi
36028 fi
36029
36030 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36031 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36032
36033 fi
36034
36035 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36036 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36037
36038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36039 fi
36040
36041 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36042 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36044 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36045 else
36046 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36047
36048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36049 fi
36050 fi
36051
36052 USE_HTML=0
36053 if test "$wxUSE_HTML" = "yes"; then
36054 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36055
36056 USE_HTML=1
36057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36058 fi
36059 if test "$wxUSE_WEBKIT" = "yes"; then
36060 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36061 old_CPPFLAGS="$CPPFLAGS"
36062 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36063 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36064 #include <Carbon/Carbon.h>
36065 #include <WebKit/WebKit.h>
36066
36067 "
36068 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36069
36070 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36071
36072 WEBKIT_LINK="-framework WebKit"
36073
36074 else
36075
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36077 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36078 wxUSE_WEBKIT=no
36079
36080 fi
36081
36082
36083 CPPFLAGS="$old_CPPFLAGS"
36084 elif test "$wxUSE_OLD_COCOA" = 1; then
36085 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36086
36087 else
36088 wxUSE_WEBKIT=no
36089 fi
36090 if test "$wxUSE_WEBKIT" = "yes"; then
36091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36092 fi
36093 fi
36094
36095 USE_XRC=0
36096 if test "$wxUSE_XRC" = "yes"; then
36097 if test "$wxUSE_XML" != "yes"; then
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36099 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36100 wxUSE_XRC=no
36101 else
36102 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36103
36104 USE_XRC=1
36105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36106 fi
36107 fi
36108
36109 USE_AUI=0
36110 if test "$wxUSE_AUI" = "yes"; then
36111 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36112
36113 USE_AUI=1
36114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36115 fi
36116
36117 USE_PROPGRID=0
36118 if test "$wxUSE_PROPGRID" = "yes"; then
36119 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36120
36121 USE_PROPGRID=1
36122 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36123 fi
36124
36125 USE_RIBBON=0
36126 if test "$wxUSE_RIBBON" = "yes"; then
36127 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36128
36129 USE_RIBBON=1
36130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36131 fi
36132
36133 USE_STC=0
36134 if test "$wxUSE_STC" = "yes"; then
36135 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36136
36137 USE_STC=1
36138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36139
36140 # Extract the first word of "python", so it can be a program name with args.
36141 set dummy python; ac_word=$2
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36143 $as_echo_n "checking for $ac_word... " >&6; }
36144 if ${ac_cv_path_PYTHON+:} false; then :
36145 $as_echo_n "(cached) " >&6
36146 else
36147 case $PYTHON in
36148 [\\/]* | ?:[\\/]*)
36149 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36150 ;;
36151 *)
36152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36153 for as_dir in $PATH
36154 do
36155 IFS=$as_save_IFS
36156 test -z "$as_dir" && as_dir=.
36157 for ac_exec_ext in '' $ac_executable_extensions; do
36158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36159 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36161 break 2
36162 fi
36163 done
36164 done
36165 IFS=$as_save_IFS
36166
36167 ;;
36168 esac
36169 fi
36170 PYTHON=$ac_cv_path_PYTHON
36171 if test -n "$PYTHON"; then
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36173 $as_echo "$PYTHON" >&6; }
36174 else
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36176 $as_echo "no" >&6; }
36177 fi
36178
36179
36180 if test "x$PYTHON" = "x"; then
36181 COND_PYTHON="#"
36182 fi
36183
36184 fi
36185
36186 if test "$wxUSE_MENUS" = "yes"; then
36187 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36188
36189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36190 fi
36191
36192 if test "$wxUSE_MIMETYPE" = "yes"; then
36193 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36194
36195 fi
36196
36197 if test "$wxUSE_MINIFRAME" = "yes"; then
36198 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36199
36200 fi
36201
36202 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36203 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36204
36205 fi
36206
36207 if test "$wxUSE_TASKBARICON" = "yes"; then
36208 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36209
36210 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36211
36212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36213 fi
36214
36215
36216 if test "$wxUSE_VALIDATORS" = "yes"; then
36217 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36218
36219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36220 fi
36221
36222 if test "$wxUSE_PALETTE" = "yes" ; then
36223 if test "$wxUSE_DFB" = 1; then
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36225 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36226 wxUSE_PALETTE=no
36227 else
36228 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36229
36230 fi
36231 fi
36232
36233 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36234 LIBS=" -lunicows $LIBS"
36235 fi
36236
36237 USE_RICHTEXT=0
36238 if test "$wxUSE_RICHTEXT" = "yes"; then
36239 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36240
36241 USE_RICHTEXT=1
36242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36243 fi
36244
36245 if test "$wxUSE_WEBVIEW" = "yes"; then
36246 USE_WEBVIEW_WEBKIT=0
36247 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36248 if test "$wxUSE_GTK" = 1; then
36249 webkitgtk=webkit-1.0
36250 if test "$WXGTK3" = 1; then
36251 webkitgtk=webkitgtk-3.0
36252 fi
36253
36254 pkg_failed=no
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36256 $as_echo_n "checking for WEBKIT... " >&6; }
36257
36258 if test -n "$PKG_CONFIG"; then
36259 if test -n "$WEBKIT_CFLAGS"; then
36260 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36261 else
36262 if test -n "$PKG_CONFIG" && \
36263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36264 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36265 ac_status=$?
36266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36267 test $ac_status = 0; }; then
36268 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36269 else
36270 pkg_failed=yes
36271 fi
36272 fi
36273 else
36274 pkg_failed=untried
36275 fi
36276 if test -n "$PKG_CONFIG"; then
36277 if test -n "$WEBKIT_LIBS"; then
36278 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36279 else
36280 if test -n "$PKG_CONFIG" && \
36281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36282 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36283 ac_status=$?
36284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36285 test $ac_status = 0; }; then
36286 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36287 else
36288 pkg_failed=yes
36289 fi
36290 fi
36291 else
36292 pkg_failed=untried
36293 fi
36294
36295
36296
36297 if test $pkg_failed = yes; then
36298
36299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36300 _pkg_short_errors_supported=yes
36301 else
36302 _pkg_short_errors_supported=no
36303 fi
36304 if test $_pkg_short_errors_supported = yes; then
36305 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36306 else
36307 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36308 fi
36309 # Put the nasty error message in config.log where it belongs
36310 echo "$WEBKIT_PKG_ERRORS" >&5
36311
36312
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36314 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36315
36316 elif test $pkg_failed = untried; then
36317
36318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36319 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36320
36321 else
36322 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36323 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36325 $as_echo "yes" >&6; }
36326
36327 USE_WEBVIEW_WEBKIT=1
36328 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36329 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36330
36331 fi
36332 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36333 old_CPPFLAGS="$CPPFLAGS"
36334 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36335 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36336 #include <Carbon/Carbon.h>
36337 #include <WebKit/WebKit.h>
36338
36339 "
36340 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
36341
36342 USE_WEBVIEW_WEBKIT=1
36343 WEBKIT_LINK="-framework WebKit"
36344
36345 else
36346
36347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36348 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36349
36350 fi
36351
36352
36353 CPPFLAGS="$old_CPPFLAGS"
36354 fi
36355 fi
36356
36357 wxUSE_WEBVIEW="no"
36358 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36359 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36360 wxUSE_WEBVIEW="yes"
36361 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36362
36363 else
36364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36365 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36366 fi
36367 elif test "$wxUSE_MSW" = 1; then
36368 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36369 wxUSE_WEBVIEW="yes"
36370 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36371
36372 fi
36373 fi
36374 fi
36375
36376 if test "$wxUSE_WEBVIEW" = "yes"; then
36377 USE_WEBVIEW=1
36378 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36379
36380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36381 else
36382 USE_WEBVIEW=0
36383 fi
36384
36385
36386 if test "$wxUSE_IMAGE" = "yes" ; then
36387 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36388
36389
36390 if test "$wxUSE_GIF" = "yes" ; then
36391 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36392
36393 fi
36394
36395 if test "$wxUSE_PCX" = "yes" ; then
36396 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36397
36398 fi
36399
36400 if test "$wxUSE_TGA" = "yes" ; then
36401 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36402
36403 fi
36404
36405 if test "$wxUSE_IFF" = "yes" ; then
36406 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36407
36408 fi
36409
36410 if test "$wxUSE_PNM" = "yes" ; then
36411 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36412
36413 fi
36414
36415 if test "$wxUSE_XPM" = "yes" ; then
36416 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36417
36418 fi
36419
36420 if test "$wxUSE_ICO_CUR" = "yes" ; then
36421 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36422
36423 fi
36424 fi
36425
36426
36427 if test "$wxUSE_ABOUTDLG" = "yes"; then
36428 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36429
36430 fi
36431
36432 if test "$wxUSE_CHOICEDLG" = "yes"; then
36433 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36434
36435 fi
36436
36437 if test "$wxUSE_COLOURDLG" = "yes"; then
36438 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36439
36440 fi
36441
36442 if test "$wxUSE_FILEDLG" = "yes"; then
36443 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36444
36445 fi
36446
36447 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36448 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36449
36450 fi
36451
36452 if test "$wxUSE_FONTDLG" = "yes"; then
36453 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36454
36455 fi
36456
36457 if test "$wxUSE_DIRDLG" = "yes"; then
36458 if test "$wxUSE_TREECTRL" != "yes"; then
36459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36460 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36461 else
36462 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36463
36464 fi
36465 fi
36466
36467 if test "$wxUSE_MSGDLG" = "yes"; then
36468 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36469
36470 fi
36471
36472 if test "$wxUSE_NUMBERDLG" = "yes"; then
36473 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36474
36475 fi
36476
36477 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36478 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36479
36480 fi
36481
36482 if test "$wxUSE_SPLASH" = "yes"; then
36483 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36484
36485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36486 fi
36487
36488 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36489 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36490
36491 fi
36492
36493 if test "$wxUSE_TEXTDLG" = "yes"; then
36494 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36495
36496 fi
36497
36498 if test "$wxUSE_WIZARDDLG" = "yes"; then
36499 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36500
36501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36502 fi
36503
36504
36505 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36506 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36507 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36508
36509 fi
36510 fi
36511
36512
36513 if test "$wxUSE_MSW" = 1 ; then
36514
36515 if test "$wxUSE_DC_CACHEING" = "yes"; then
36516 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36517
36518 fi
36519
36520 if test "$wxUSE_DIB" = "yes"; then
36521 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36522
36523 fi
36524
36525 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36526 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36527
36528 fi
36529
36530 if test "$wxUSE_UXTHEME" = "yes"; then
36531 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36532
36533 fi
36534
36535 fi
36536
36537 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36538 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36539
36540 fi
36541
36542 if test "$USE_WIN32" = 1 ; then
36543 if test "$wxUSE_INICONF" = "yes"; then
36544 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36545
36546 fi
36547
36548 if test "$wxUSE_REGKEY" = "yes"; then
36549 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36550
36551 fi
36552 fi
36553
36554
36555 if test "$wxUSE_MAC" = 1; then
36556 wxUSE_GRAPHICS_CONTEXT="yes"
36557 fi
36558
36559 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36560 wx_has_graphics=0
36561 if test "$wxUSE_MSW" = 1; then
36562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36563 $as_echo_n "checking if GDI+ is available... " >&6; }
36564 if ${wx_cv_lib_gdiplus+:} false; then :
36565 $as_echo_n "(cached) " >&6
36566 else
36567
36568 ac_ext=cpp
36569 ac_cpp='$CXXCPP $CPPFLAGS'
36570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36573
36574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36575 /* end confdefs.h. */
36576 #include <windows.h>
36577 #include <gdiplus.h>
36578 int
36579 main ()
36580 {
36581
36582 using namespace Gdiplus;
36583
36584 ;
36585 return 0;
36586 }
36587 _ACEOF
36588 if ac_fn_cxx_try_compile "$LINENO"; then :
36589 wx_cv_lib_gdiplus=yes
36590 else
36591 wx_cv_lib_gdiplus=no
36592
36593 fi
36594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36595 ac_ext=c
36596 ac_cpp='$CPP $CPPFLAGS'
36597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36600
36601
36602
36603 fi
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36605 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36606 if test "$wx_cv_lib_gdiplus" = "yes"; then
36607 wx_has_graphics=1
36608 fi
36609 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36610
36611 pkg_failed=no
36612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36613 $as_echo_n "checking for CAIRO... " >&6; }
36614
36615 if test -n "$PKG_CONFIG"; then
36616 if test -n "$CAIRO_CFLAGS"; then
36617 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36618 else
36619 if test -n "$PKG_CONFIG" && \
36620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36621 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36622 ac_status=$?
36623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36624 test $ac_status = 0; }; then
36625 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36626 else
36627 pkg_failed=yes
36628 fi
36629 fi
36630 else
36631 pkg_failed=untried
36632 fi
36633 if test -n "$PKG_CONFIG"; then
36634 if test -n "$CAIRO_LIBS"; then
36635 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36636 else
36637 if test -n "$PKG_CONFIG" && \
36638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36639 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36640 ac_status=$?
36641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36642 test $ac_status = 0; }; then
36643 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36644 else
36645 pkg_failed=yes
36646 fi
36647 fi
36648 else
36649 pkg_failed=untried
36650 fi
36651
36652
36653
36654 if test $pkg_failed = yes; then
36655
36656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36657 _pkg_short_errors_supported=yes
36658 else
36659 _pkg_short_errors_supported=no
36660 fi
36661 if test $_pkg_short_errors_supported = yes; then
36662 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36663 else
36664 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36665 fi
36666 # Put the nasty error message in config.log where it belongs
36667 echo "$CAIRO_PKG_ERRORS" >&5
36668
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36670 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36671
36672 elif test $pkg_failed = untried; then
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36674 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36675
36676 else
36677 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36678 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36680 $as_echo "yes" >&6; }
36681 wx_has_graphics=1
36682 fi
36683 if test "$wx_has_graphics" = 1; then
36684 save_LIBS="$LIBS"
36685 LIBS="$LIBS $CAIRO_LIBS"
36686 for ac_func in cairo_push_group
36687 do :
36688 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36689 if test "x$ac_cv_func_cairo_push_group" = xyes; then :
36690 cat >>confdefs.h <<_ACEOF
36691 #define HAVE_CAIRO_PUSH_GROUP 1
36692 _ACEOF
36693
36694 fi
36695 done
36696
36697 LIBS="$save_LIBS"
36698 if test "$ac_cv_func_cairo_push_group" = "no"; then
36699 wx_has_graphics=0
36700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36701 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36702 else
36703 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36704
36705
36706 if test "$wxUSE_GTK" != 1; then
36707 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36709 fi
36710 fi
36711 fi
36712 else
36713 wx_has_graphics=1
36714 fi
36715
36716 if test "$wx_has_graphics" = 1; then
36717 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36718
36719 else
36720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36721 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36722 fi
36723 fi
36724
36725
36726 USE_MEDIA=0
36727
36728 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36729 USE_MEDIA=1
36730
36731 if test "$wxUSE_GTK" = 1; then
36732 wxUSE_GSTREAMER="no"
36733
36734 GST_VERSION_MAJOR=0
36735 GST_VERSION_MINOR=10
36736 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36737
36738 if test "$wxUSE_GSTREAMER8" = "no"; then
36739
36740 pkg_failed=no
36741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36742 $as_echo_n "checking for GST... " >&6; }
36743
36744 if test -n "$PKG_CONFIG"; then
36745 if test -n "$GST_CFLAGS"; then
36746 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36747 else
36748 if test -n "$PKG_CONFIG" && \
36749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36750 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36751 ac_status=$?
36752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36753 test $ac_status = 0; }; then
36754 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36755 else
36756 pkg_failed=yes
36757 fi
36758 fi
36759 else
36760 pkg_failed=untried
36761 fi
36762 if test -n "$PKG_CONFIG"; then
36763 if test -n "$GST_LIBS"; then
36764 pkg_cv_GST_LIBS="$GST_LIBS"
36765 else
36766 if test -n "$PKG_CONFIG" && \
36767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36768 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36769 ac_status=$?
36770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36771 test $ac_status = 0; }; then
36772 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36773 else
36774 pkg_failed=yes
36775 fi
36776 fi
36777 else
36778 pkg_failed=untried
36779 fi
36780
36781
36782
36783 if test $pkg_failed = yes; then
36784
36785 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36786 _pkg_short_errors_supported=yes
36787 else
36788 _pkg_short_errors_supported=no
36789 fi
36790 if test $_pkg_short_errors_supported = yes; then
36791 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36792 else
36793 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36794 fi
36795 # Put the nasty error message in config.log where it belongs
36796 echo "$GST_PKG_ERRORS" >&5
36797
36798
36799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36800 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36801 GST_VERSION_MINOR=8
36802
36803
36804 elif test $pkg_failed = untried; then
36805
36806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36807 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36808 GST_VERSION_MINOR=8
36809
36810
36811 else
36812 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36813 GST_LIBS=$pkg_cv_GST_LIBS
36814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36815 $as_echo "yes" >&6; }
36816
36817 wxUSE_GSTREAMER="yes"
36818 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36819
36820 fi
36821 else
36822 GST_VERSION_MINOR=8
36823 fi
36824
36825 if test $GST_VERSION_MINOR = "8"; then
36826 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36827
36828 pkg_failed=no
36829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36830 $as_echo_n "checking for GST... " >&6; }
36831
36832 if test -n "$PKG_CONFIG"; then
36833 if test -n "$GST_CFLAGS"; then
36834 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36835 else
36836 if test -n "$PKG_CONFIG" && \
36837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36838 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36839 ac_status=$?
36840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36841 test $ac_status = 0; }; then
36842 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36843 else
36844 pkg_failed=yes
36845 fi
36846 fi
36847 else
36848 pkg_failed=untried
36849 fi
36850 if test -n "$PKG_CONFIG"; then
36851 if test -n "$GST_LIBS"; then
36852 pkg_cv_GST_LIBS="$GST_LIBS"
36853 else
36854 if test -n "$PKG_CONFIG" && \
36855 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36856 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36857 ac_status=$?
36858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36859 test $ac_status = 0; }; then
36860 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36861 else
36862 pkg_failed=yes
36863 fi
36864 fi
36865 else
36866 pkg_failed=untried
36867 fi
36868
36869
36870
36871 if test $pkg_failed = yes; then
36872
36873 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36874 _pkg_short_errors_supported=yes
36875 else
36876 _pkg_short_errors_supported=no
36877 fi
36878 if test $_pkg_short_errors_supported = yes; then
36879 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36880 else
36881 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36882 fi
36883 # Put the nasty error message in config.log where it belongs
36884 echo "$GST_PKG_ERRORS" >&5
36885
36886
36887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36888 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36889
36890 elif test $pkg_failed = untried; then
36891
36892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36893 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36894
36895 else
36896 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36897 GST_LIBS=$pkg_cv_GST_LIBS
36898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36899 $as_echo "yes" >&6; }
36900 wxUSE_GSTREAMER="yes"
36901 fi
36902 fi
36903
36904
36905 if test "$wxUSE_GSTREAMER" = "yes"; then
36906 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36907 EXTRALIBS_MEDIA="$GST_LIBS"
36908
36909 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36910
36911 else
36912 USE_MEDIA=0
36913 fi
36914 fi
36915
36916 if test $USE_MEDIA = 1; then
36917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36918 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36919
36920 else
36921 if test "$wxUSE_MEDIACTRL" = "yes"; then
36922 as_fn_error $? "GStreamer not available" "$LINENO" 5
36923 else
36924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36925 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36926 fi
36927 fi
36928 fi
36929
36930
36931 if test "$cross_compiling" != "no"; then
36932 OSINFO="\"$host\""
36933 else
36934 OSINFO=`uname -s -r -m`
36935 OSINFO="\"$OSINFO\""
36936 fi
36937
36938 cat >>confdefs.h <<_ACEOF
36939 #define WXWIN_OS_DESCRIPTION $OSINFO
36940 _ACEOF
36941
36942
36943
36944 if test "x$prefix" != "xNONE"; then
36945 wxPREFIX=$prefix
36946 else
36947 wxPREFIX=$ac_default_prefix
36948 fi
36949
36950 cat >>confdefs.h <<_ACEOF
36951 #define wxINSTALL_PREFIX "$wxPREFIX"
36952 _ACEOF
36953
36954
36955
36956
36957 STD_BASE_LIBS="base"
36958 STD_GUI_LIBS=""
36959 BUILT_WX_LIBS="base"
36960 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
36961
36962 if test "$wxUSE_SOCKETS" = "yes" ; then
36963 STD_BASE_LIBS="net $STD_BASE_LIBS"
36964 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
36965 fi
36966 if test "$wxUSE_XML" = "yes" ; then
36967 STD_BASE_LIBS="xml $STD_BASE_LIBS"
36968 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
36969 fi
36970
36971 if test "$wxUSE_GUI" = "yes"; then
36972 STD_GUI_LIBS="adv core"
36973 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
36974
36975 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36976 STD_GUI_LIBS="qa $STD_GUI_LIBS"
36977 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
36978 fi
36979 if test "$wxUSE_HTML" = "yes" ; then
36980 STD_GUI_LIBS="html $STD_GUI_LIBS"
36981 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
36982 fi
36983 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36984 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
36985 fi
36986 if test "$wxUSE_OPENGL" = "yes" ; then
36987 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
36988 fi
36989 if test "$wxUSE_AUI" = "yes" ; then
36990 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
36991 fi
36992 if test "$wxUSE_PROPGRID" = "yes" ; then
36993 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
36994 fi
36995 if test "$wxUSE_RIBBON" = "yes" ; then
36996 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
36997 fi
36998 if test "$wxUSE_RICHTEXT" = "yes" ; then
36999 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37000 fi
37001 if test "$wxUSE_STC" = "yes" ; then
37002 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37003 fi
37004 if test "$wxUSE_WEBVIEW" = "yes" ; then
37005 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37006 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37007 fi
37008 if test "$wxUSE_XRC" = "yes" ; then
37009 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37010 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37011 fi
37012 fi
37013
37014
37015
37016
37017
37018
37019
37020 EXTRA_FRAMEWORKS=
37021 if test "$wxUSE_MAC" = 1 ; then
37022 if test "$USE_DARWIN" = 1; then
37023 if test "$wxUSE_OSX_IPHONE" = 1; then
37024 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37025 else
37026 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37027
37028
37029 if test "$cross_compiling" != "no"; then
37030 wx_cv_target_x86_64=no
37031 else
37032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37033 $as_echo_n "checking if we target only x86_64... " >&6; }
37034 if ${wx_cv_target_x86_64+:} false; then :
37035 $as_echo_n "(cached) " >&6
37036 else
37037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37038 /* end confdefs.h. */
37039 int main() { return 0; }
37040 _ACEOF
37041 if ac_fn_c_try_link "$LINENO"; then :
37042 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37043 wx_cv_target_x86_64=no
37044 else
37045 wx_cv_target_x86_64=yes
37046 fi
37047
37048 fi
37049 rm -f core conftest.err conftest.$ac_objext \
37050 conftest$ac_exeext conftest.$ac_ext
37051
37052 fi
37053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37054 $as_echo "$wx_cv_target_x86_64" >&6; }
37055 fi
37056
37057 if test "$wx_cv_target_x86_64" != "yes"; then
37058 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37059 fi
37060 fi
37061 fi
37062 fi
37063 if test "$wxUSE_OLD_COCOA" = 1 ; then
37064 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37065 if test "$wxUSE_MEDIACTRL" = "yes"; then
37066 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37067 fi
37068 fi
37069 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37070 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37071 fi
37072
37073 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37074 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37075
37076 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37077
37078 if test "$wxUSE_GUI" = "yes"; then
37079
37080
37081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37082 erase event exec font image minimal render \
37083 shaped svg taborder vscroll widgets wrapsizer"
37084
37085 if test "$wxUSE_MONOLITHIC" != "yes"; then
37086 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37087 fi
37088 if test "$TOOLKIT" = "MSW"; then
37089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37090 if test "$wxUSE_UNIVERSAL" != "yes"; then
37091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37092 fi
37093 fi
37094 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37096 fi
37097 else
37098 SAMPLES_SUBDIRS="console"
37099 if test "$wxUSE_SOCKETS" = "yes" ; then
37100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37101 fi
37102 if test "$wxUSE_IPC" = "yes" ; then
37103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37104 fi
37105 fi
37106
37107
37108 if test "x$INTELCC" = "xyes" ; then
37109 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37110 elif test "$GCC" = yes ; then
37111 CWARNINGS="-Wall -Wundef"
37112 fi
37113
37114 if test "x$INTELCXX" = "xyes" ; then
37115 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37116 elif test "$GXX" = yes ; then
37117 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37119 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37120 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
37121 $as_echo_n "(cached) " >&6
37122 else
37123 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37124
37125 ac_ext=cpp
37126 ac_cpp='$CXXCPP $CPPFLAGS'
37127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37130
37131 ac_save_CXXFLAGS="$CXXFLAGS"
37132 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37133 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37135 /* end confdefs.h. */
37136
37137 int
37138 main ()
37139 {
37140 return 0;
37141 ;
37142 return 0;
37143 }
37144 _ACEOF
37145 if ac_fn_cxx_try_compile "$LINENO"; then :
37146 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37147 fi
37148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37149 done
37150 CXXFLAGS="$ac_save_CXXFLAGS"
37151 ac_ext=c
37152 ac_cpp='$CPP $CPPFLAGS'
37153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37156
37157
37158 fi
37159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37160 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37161 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37162 .ok|.ok,*) ;;
37163 .|.no|.no,*) ;;
37164 *)
37165 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37166 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37167 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37168 ac_status=$?
37169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37170 test $ac_status = 0; }
37171 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37172 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37173 ac_status=$?
37174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37175 test $ac_status = 0; }
37176 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37177 fi
37178 ;;
37179 esac
37180
37181
37182 if test "$wxUSE_MAC" = 1 ; then
37183 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37184 fi
37185 fi
37186
37187
37188 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37189 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37190
37191
37192 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37193 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37194 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37195 $CPPFLAGS `
37196
37197 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37198 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37199 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37200 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37201 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37202
37203 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37204
37205
37206 if test "x$MWCC" = "xyes"; then
37207
37208 CC="$CC -cwd source -I-"
37209 CXX="$CXX -cwd source -I-"
37210 fi
37211
37212
37213 LIBS=`echo $LIBS`
37214 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37215 EXTRALIBS_XML="$EXPAT_LINK"
37216 EXTRALIBS_HTML="$MSPACK_LINK"
37217 EXTRALIBS_MEDIA="$GST_LIBS"
37218 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37219 if test "$wxUSE_GUI" = "yes"; then
37220 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37221 fi
37222 if test "$wxUSE_OPENGL" = "yes"; then
37223 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37224 fi
37225
37226 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37227
37228 WXCONFIG_LIBS="$LIBS"
37229
37230 if test "$wxUSE_REGEX" = "builtin" ; then
37231 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37232 fi
37233 if test "$wxUSE_EXPAT" = "builtin" ; then
37234 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37235 fi
37236 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37237 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37238 fi
37239 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37240 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37241 fi
37242 if test "$wxUSE_LIBPNG" = "builtin" ; then
37243 wxconfig_3rdparty="png $wxconfig_3rdparty"
37244 fi
37245 if test "$wxUSE_ZLIB" = "builtin" ; then
37246 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37247 fi
37248
37249 for i in $wxconfig_3rdparty ; do
37250 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37251 done
37252
37253
37254 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37255 WXUNIV=1
37256
37257 case "$wxUNIV_THEMES" in
37258 ''|all)
37259 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37260
37261 ;;
37262
37263 *)
37264 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37265 cat >>confdefs.h <<_ACEOF
37266 #define wxUSE_THEME_$t 1
37267 _ACEOF
37268
37269 done
37270 esac
37271 else
37272 WXUNIV=0
37273 fi
37274
37275
37276
37277
37278
37279
37280
37281
37282 if test $wxUSE_MONOLITHIC = "yes" ; then
37283 MONOLITHIC=1
37284 else
37285 MONOLITHIC=0
37286 fi
37287
37288 if test $wxUSE_PLUGINS = "yes" ; then
37289 USE_PLUGINS=1
37290 else
37291 USE_PLUGINS=0
37292 fi
37293
37294 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37295 USE_QA=1
37296 else
37297 USE_QA=0
37298 fi
37299
37300 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37301 OFFICIAL_BUILD=1
37302 else
37303 OFFICIAL_BUILD=0
37304 fi
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343 case "$TOOLKIT" in
37344 GTK)
37345 TOOLKIT_DESC="GTK+"
37346 if test "$WXGTK2" = 1; then
37347 if test "$WXGTK3" = 1; then
37348 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37349 else
37350 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37351 fi
37352 if test "$wxUSE_GTKPRINT" = "yes" ; then
37353 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37354 fi
37355 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37356 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37357 fi
37358 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37359 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37360 fi
37361 if test "$wxUSE_LIBHILDON" = "yes"; then
37362 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37363 fi
37364 if test "$wxUSE_LIBHILDON2" = "yes"; then
37365 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37366 fi
37367
37368 if test "$TOOLKIT_EXTRA" != ""; then
37369 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37370 fi
37371 fi
37372 ;;
37373
37374 ?*)
37375 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37376 ;;
37377
37378 *)
37379 TOOLKIT_DESC="base only"
37380 ;;
37381 esac
37382
37383 if test "$wxUSE_WINE" = "yes"; then
37384 BAKEFILE_FORCE_PLATFORM=win32
37385 fi
37386
37387 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37388 then
37389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37390 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37391 if ${wx_cv_gcc_pch_bug+:} false; then :
37392 $as_echo_n "(cached) " >&6
37393 else
37394
37395 echo '#include <stdio.h>
37396 const wchar_t test_var[] = L"awidetest";' > conftest.h
37397
37398 echo '#include "conftest.h"
37399 int main()
37400 {
37401 printf("%ls", test_var);
37402 return 0;
37403 }' > conftest.cpp
37404
37405 wx_cv_gcc_pch_bug="pch not supported"
37406
37407 if $CXX conftest.h >/dev/null 2>&1
37408 then
37409 wx_cv_gcc_pch_bug=
37410
37411 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37412 then
37413 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37414 grep awidetest >/dev/null
37415 then
37416 wx_cv_gcc_pch_bug=no
37417 else
37418 wx_cv_gcc_pch_bug=yes
37419 fi
37420 fi
37421 fi
37422
37423 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37424
37425 fi
37426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37427 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37428
37429 if test "$wx_cv_gcc_pch_bug" = yes; then
37430 bk_use_pch=no
37431 fi
37432 fi
37433
37434 # Find a good install program. We prefer a C program (faster),
37435 # so one script is as good as another. But avoid the broken or
37436 # incompatible versions:
37437 # SysV /etc/install, /usr/sbin/install
37438 # SunOS /usr/etc/install
37439 # IRIX /sbin/install
37440 # AIX /bin/install
37441 # AmigaOS /C/install, which installs bootblocks on floppy discs
37442 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37443 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37444 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37445 # OS/2's system install, which has a completely different semantic
37446 # ./install, which can be erroneously created by make from ./install.sh.
37447 # Reject install programs that cannot install multiple files.
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37449 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37450 if test -z "$INSTALL"; then
37451 if ${ac_cv_path_install+:} false; then :
37452 $as_echo_n "(cached) " >&6
37453 else
37454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37455 for as_dir in $PATH
37456 do
37457 IFS=$as_save_IFS
37458 test -z "$as_dir" && as_dir=.
37459 # Account for people who put trailing slashes in PATH elements.
37460 case $as_dir/ in #((
37461 ./ | .// | /[cC]/* | \
37462 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37463 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37464 /usr/ucb/* ) ;;
37465 *)
37466 # OSF1 and SCO ODT 3.0 have their own names for install.
37467 # Don't use installbsd from OSF since it installs stuff as root
37468 # by default.
37469 for ac_prog in ginstall scoinst install; do
37470 for ac_exec_ext in '' $ac_executable_extensions; do
37471 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
37472 if test $ac_prog = install &&
37473 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37474 # AIX install. It has an incompatible calling convention.
37475 :
37476 elif test $ac_prog = install &&
37477 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37478 # program-specific install script used by HP pwplus--don't use.
37479 :
37480 else
37481 rm -rf conftest.one conftest.two conftest.dir
37482 echo one > conftest.one
37483 echo two > conftest.two
37484 mkdir conftest.dir
37485 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37486 test -s conftest.one && test -s conftest.two &&
37487 test -s conftest.dir/conftest.one &&
37488 test -s conftest.dir/conftest.two
37489 then
37490 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37491 break 3
37492 fi
37493 fi
37494 fi
37495 done
37496 done
37497 ;;
37498 esac
37499
37500 done
37501 IFS=$as_save_IFS
37502
37503 rm -rf conftest.one conftest.two conftest.dir
37504
37505 fi
37506 if test "${ac_cv_path_install+set}" = set; then
37507 INSTALL=$ac_cv_path_install
37508 else
37509 # As a last resort, use the slow shell script. Don't cache a
37510 # value for INSTALL within a source directory, because that will
37511 # break other packages using the cache if that directory is
37512 # removed, or if the value is a relative name.
37513 INSTALL=$ac_install_sh
37514 fi
37515 fi
37516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37517 $as_echo "$INSTALL" >&6; }
37518
37519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37520 # It thinks the first close brace ends the variable substitution.
37521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37522
37523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37524
37525 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37526
37527
37528
37529
37530
37531
37532
37533 if test "x$BAKEFILE_HOST" = "x"; then
37534 if test "x${host}" = "x" ; then
37535 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37536 fi
37537
37538 BAKEFILE_HOST="${host}"
37539 fi
37540
37541 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37542
37543 if test -n "$ac_tool_prefix"; then
37544 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37545 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37547 $as_echo_n "checking for $ac_word... " >&6; }
37548 if ${ac_cv_prog_RANLIB+:} false; then :
37549 $as_echo_n "(cached) " >&6
37550 else
37551 if test -n "$RANLIB"; then
37552 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37553 else
37554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37555 for as_dir in $PATH
37556 do
37557 IFS=$as_save_IFS
37558 test -z "$as_dir" && as_dir=.
37559 for ac_exec_ext in '' $ac_executable_extensions; do
37560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37561 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37563 break 2
37564 fi
37565 done
37566 done
37567 IFS=$as_save_IFS
37568
37569 fi
37570 fi
37571 RANLIB=$ac_cv_prog_RANLIB
37572 if test -n "$RANLIB"; then
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37574 $as_echo "$RANLIB" >&6; }
37575 else
37576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37577 $as_echo "no" >&6; }
37578 fi
37579
37580
37581 fi
37582 if test -z "$ac_cv_prog_RANLIB"; then
37583 ac_ct_RANLIB=$RANLIB
37584 # Extract the first word of "ranlib", so it can be a program name with args.
37585 set dummy ranlib; ac_word=$2
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37587 $as_echo_n "checking for $ac_word... " >&6; }
37588 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
37589 $as_echo_n "(cached) " >&6
37590 else
37591 if test -n "$ac_ct_RANLIB"; then
37592 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37593 else
37594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37595 for as_dir in $PATH
37596 do
37597 IFS=$as_save_IFS
37598 test -z "$as_dir" && as_dir=.
37599 for ac_exec_ext in '' $ac_executable_extensions; do
37600 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37601 ac_cv_prog_ac_ct_RANLIB="ranlib"
37602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37603 break 2
37604 fi
37605 done
37606 done
37607 IFS=$as_save_IFS
37608
37609 fi
37610 fi
37611 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37612 if test -n "$ac_ct_RANLIB"; then
37613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37614 $as_echo "$ac_ct_RANLIB" >&6; }
37615 else
37616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37617 $as_echo "no" >&6; }
37618 fi
37619
37620 if test "x$ac_ct_RANLIB" = x; then
37621 RANLIB=":"
37622 else
37623 case $cross_compiling:$ac_tool_warned in
37624 yes:)
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37627 ac_tool_warned=yes ;;
37628 esac
37629 RANLIB=$ac_ct_RANLIB
37630 fi
37631 else
37632 RANLIB="$ac_cv_prog_RANLIB"
37633 fi
37634
37635
37636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37637 $as_echo_n "checking whether ln -s works... " >&6; }
37638 LN_S=$as_ln_s
37639 if test "$LN_S" = "ln -s"; then
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37641 $as_echo "yes" >&6; }
37642 else
37643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37644 $as_echo "no, using $LN_S" >&6; }
37645 fi
37646
37647
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37650 set x ${MAKE-make}
37651 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37652 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
37653 $as_echo_n "(cached) " >&6
37654 else
37655 cat >conftest.make <<\_ACEOF
37656 SHELL = /bin/sh
37657 all:
37658 @echo '@@@%%%=$(MAKE)=@@@%%%'
37659 _ACEOF
37660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37662 *@@@%%%=?*=@@@%%%*)
37663 eval ac_cv_prog_make_${ac_make}_set=yes;;
37664 *)
37665 eval ac_cv_prog_make_${ac_make}_set=no;;
37666 esac
37667 rm -f conftest.make
37668 fi
37669 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37671 $as_echo "yes" >&6; }
37672 SET_MAKE=
37673 else
37674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37675 $as_echo "no" >&6; }
37676 SET_MAKE="MAKE=${MAKE-make}"
37677 fi
37678
37679
37680
37681 if test "x$SUNCXX" = "xyes"; then
37682 AR=$CXX
37683 AROPTIONS="-xar -o"
37684
37685 elif test "x$SGICC" = "xyes"; then
37686 AR=$CXX
37687 AROPTIONS="-ar -o"
37688
37689 else
37690 if test -n "$ac_tool_prefix"; then
37691 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37692 set dummy ${ac_tool_prefix}ar; ac_word=$2
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37694 $as_echo_n "checking for $ac_word... " >&6; }
37695 if ${ac_cv_prog_AR+:} false; then :
37696 $as_echo_n "(cached) " >&6
37697 else
37698 if test -n "$AR"; then
37699 ac_cv_prog_AR="$AR" # Let the user override the test.
37700 else
37701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37702 for as_dir in $PATH
37703 do
37704 IFS=$as_save_IFS
37705 test -z "$as_dir" && as_dir=.
37706 for ac_exec_ext in '' $ac_executable_extensions; do
37707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37708 ac_cv_prog_AR="${ac_tool_prefix}ar"
37709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37710 break 2
37711 fi
37712 done
37713 done
37714 IFS=$as_save_IFS
37715
37716 fi
37717 fi
37718 AR=$ac_cv_prog_AR
37719 if test -n "$AR"; then
37720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37721 $as_echo "$AR" >&6; }
37722 else
37723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37724 $as_echo "no" >&6; }
37725 fi
37726
37727
37728 fi
37729 if test -z "$ac_cv_prog_AR"; then
37730 ac_ct_AR=$AR
37731 # Extract the first word of "ar", so it can be a program name with args.
37732 set dummy ar; ac_word=$2
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37734 $as_echo_n "checking for $ac_word... " >&6; }
37735 if ${ac_cv_prog_ac_ct_AR+:} false; then :
37736 $as_echo_n "(cached) " >&6
37737 else
37738 if test -n "$ac_ct_AR"; then
37739 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37740 else
37741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37742 for as_dir in $PATH
37743 do
37744 IFS=$as_save_IFS
37745 test -z "$as_dir" && as_dir=.
37746 for ac_exec_ext in '' $ac_executable_extensions; do
37747 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37748 ac_cv_prog_ac_ct_AR="ar"
37749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37750 break 2
37751 fi
37752 done
37753 done
37754 IFS=$as_save_IFS
37755
37756 fi
37757 fi
37758 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37759 if test -n "$ac_ct_AR"; then
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37761 $as_echo "$ac_ct_AR" >&6; }
37762 else
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37764 $as_echo "no" >&6; }
37765 fi
37766
37767 if test "x$ac_ct_AR" = x; then
37768 AR="ar"
37769 else
37770 case $cross_compiling:$ac_tool_warned in
37771 yes:)
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37774 ac_tool_warned=yes ;;
37775 esac
37776 AR=$ac_ct_AR
37777 fi
37778 else
37779 AR="$ac_cv_prog_AR"
37780 fi
37781
37782 AROPTIONS=rcu
37783 fi
37784
37785
37786 if test -n "$ac_tool_prefix"; then
37787 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37788 set dummy ${ac_tool_prefix}strip; ac_word=$2
37789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37790 $as_echo_n "checking for $ac_word... " >&6; }
37791 if ${ac_cv_prog_STRIP+:} false; then :
37792 $as_echo_n "(cached) " >&6
37793 else
37794 if test -n "$STRIP"; then
37795 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37796 else
37797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37798 for as_dir in $PATH
37799 do
37800 IFS=$as_save_IFS
37801 test -z "$as_dir" && as_dir=.
37802 for ac_exec_ext in '' $ac_executable_extensions; do
37803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37804 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37806 break 2
37807 fi
37808 done
37809 done
37810 IFS=$as_save_IFS
37811
37812 fi
37813 fi
37814 STRIP=$ac_cv_prog_STRIP
37815 if test -n "$STRIP"; then
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37817 $as_echo "$STRIP" >&6; }
37818 else
37819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37820 $as_echo "no" >&6; }
37821 fi
37822
37823
37824 fi
37825 if test -z "$ac_cv_prog_STRIP"; then
37826 ac_ct_STRIP=$STRIP
37827 # Extract the first word of "strip", so it can be a program name with args.
37828 set dummy strip; ac_word=$2
37829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37830 $as_echo_n "checking for $ac_word... " >&6; }
37831 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
37832 $as_echo_n "(cached) " >&6
37833 else
37834 if test -n "$ac_ct_STRIP"; then
37835 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37836 else
37837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37838 for as_dir in $PATH
37839 do
37840 IFS=$as_save_IFS
37841 test -z "$as_dir" && as_dir=.
37842 for ac_exec_ext in '' $ac_executable_extensions; do
37843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37844 ac_cv_prog_ac_ct_STRIP="strip"
37845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37846 break 2
37847 fi
37848 done
37849 done
37850 IFS=$as_save_IFS
37851
37852 fi
37853 fi
37854 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37855 if test -n "$ac_ct_STRIP"; then
37856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37857 $as_echo "$ac_ct_STRIP" >&6; }
37858 else
37859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37860 $as_echo "no" >&6; }
37861 fi
37862
37863 if test "x$ac_ct_STRIP" = x; then
37864 STRIP=":"
37865 else
37866 case $cross_compiling:$ac_tool_warned in
37867 yes:)
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37870 ac_tool_warned=yes ;;
37871 esac
37872 STRIP=$ac_ct_STRIP
37873 fi
37874 else
37875 STRIP="$ac_cv_prog_STRIP"
37876 fi
37877
37878 if test -n "$ac_tool_prefix"; then
37879 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37880 set dummy ${ac_tool_prefix}nm; ac_word=$2
37881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37882 $as_echo_n "checking for $ac_word... " >&6; }
37883 if ${ac_cv_prog_NM+:} false; then :
37884 $as_echo_n "(cached) " >&6
37885 else
37886 if test -n "$NM"; then
37887 ac_cv_prog_NM="$NM" # Let the user override the test.
37888 else
37889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37890 for as_dir in $PATH
37891 do
37892 IFS=$as_save_IFS
37893 test -z "$as_dir" && as_dir=.
37894 for ac_exec_ext in '' $ac_executable_extensions; do
37895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37896 ac_cv_prog_NM="${ac_tool_prefix}nm"
37897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37898 break 2
37899 fi
37900 done
37901 done
37902 IFS=$as_save_IFS
37903
37904 fi
37905 fi
37906 NM=$ac_cv_prog_NM
37907 if test -n "$NM"; then
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37909 $as_echo "$NM" >&6; }
37910 else
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37912 $as_echo "no" >&6; }
37913 fi
37914
37915
37916 fi
37917 if test -z "$ac_cv_prog_NM"; then
37918 ac_ct_NM=$NM
37919 # Extract the first word of "nm", so it can be a program name with args.
37920 set dummy nm; ac_word=$2
37921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37922 $as_echo_n "checking for $ac_word... " >&6; }
37923 if ${ac_cv_prog_ac_ct_NM+:} false; then :
37924 $as_echo_n "(cached) " >&6
37925 else
37926 if test -n "$ac_ct_NM"; then
37927 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37928 else
37929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37930 for as_dir in $PATH
37931 do
37932 IFS=$as_save_IFS
37933 test -z "$as_dir" && as_dir=.
37934 for ac_exec_ext in '' $ac_executable_extensions; do
37935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37936 ac_cv_prog_ac_ct_NM="nm"
37937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37938 break 2
37939 fi
37940 done
37941 done
37942 IFS=$as_save_IFS
37943
37944 fi
37945 fi
37946 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37947 if test -n "$ac_ct_NM"; then
37948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37949 $as_echo "$ac_ct_NM" >&6; }
37950 else
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37952 $as_echo "no" >&6; }
37953 fi
37954
37955 if test "x$ac_ct_NM" = x; then
37956 NM=":"
37957 else
37958 case $cross_compiling:$ac_tool_warned in
37959 yes:)
37960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37962 ac_tool_warned=yes ;;
37963 esac
37964 NM=$ac_ct_NM
37965 fi
37966 else
37967 NM="$ac_cv_prog_NM"
37968 fi
37969
37970
37971 INSTALL_DIR="mkdir -p"
37972
37973
37974 LDFLAGS_GUI=
37975 case ${BAKEFILE_HOST} in
37976 *-*-cygwin* | *-*-mingw32* )
37977 LDFLAGS_GUI="-mwindows"
37978 esac
37979
37980
37981 fi
37982
37983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37984 $as_echo_n "checking if make is GNU make... " >&6; }
37985 if ${bakefile_cv_prog_makeisgnu+:} false; then :
37986 $as_echo_n "(cached) " >&6
37987 else
37988
37989 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37990 egrep -s GNU > /dev/null); then
37991 bakefile_cv_prog_makeisgnu="yes"
37992 else
37993 bakefile_cv_prog_makeisgnu="no"
37994 fi
37995
37996 fi
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37998 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37999
38000 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38001 IF_GNU_MAKE=""
38002 else
38003 IF_GNU_MAKE="#"
38004 fi
38005
38006
38007
38008 PLATFORM_UNIX=0
38009 PLATFORM_WIN32=0
38010 PLATFORM_MSDOS=0
38011 PLATFORM_MAC=0
38012 PLATFORM_MACOS=0
38013 PLATFORM_MACOSX=0
38014 PLATFORM_OS2=0
38015 PLATFORM_BEOS=0
38016
38017 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38018 case "${BAKEFILE_HOST}" in
38019 *-*-mingw32* )
38020 PLATFORM_WIN32=1
38021 ;;
38022 *-pc-msdosdjgpp )
38023 PLATFORM_MSDOS=1
38024 ;;
38025 *-pc-os2_emx | *-pc-os2-emx )
38026 PLATFORM_OS2=1
38027 ;;
38028 *-*-darwin* )
38029 PLATFORM_MAC=1
38030 PLATFORM_MACOSX=1
38031 ;;
38032 *-*-beos* )
38033 PLATFORM_BEOS=1
38034 ;;
38035 powerpc-apple-macos* )
38036 PLATFORM_MAC=1
38037 PLATFORM_MACOS=1
38038 ;;
38039 * )
38040 PLATFORM_UNIX=1
38041 ;;
38042 esac
38043 else
38044 case "$BAKEFILE_FORCE_PLATFORM" in
38045 win32 )
38046 PLATFORM_WIN32=1
38047 ;;
38048 msdos )
38049 PLATFORM_MSDOS=1
38050 ;;
38051 os2 )
38052 PLATFORM_OS2=1
38053 ;;
38054 darwin )
38055 PLATFORM_MAC=1
38056 PLATFORM_MACOSX=1
38057 ;;
38058 unix )
38059 PLATFORM_UNIX=1
38060 ;;
38061 beos )
38062 PLATFORM_BEOS=1
38063 ;;
38064 * )
38065 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38066 ;;
38067 esac
38068 fi
38069
38070
38071
38072
38073
38074
38075
38076
38077
38078
38079
38080 # Check whether --enable-omf was given.
38081 if test "${enable_omf+set}" = set; then :
38082 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38083 fi
38084
38085
38086 case "${BAKEFILE_HOST}" in
38087 *-*-darwin* )
38088 if test "x$GCC" = "xyes"; then
38089 CFLAGS="$CFLAGS -fno-common"
38090 CXXFLAGS="$CXXFLAGS -fno-common"
38091 fi
38092 if test "x$XLCC" = "xyes"; then
38093 CFLAGS="$CFLAGS -qnocommon"
38094 CXXFLAGS="$CXXFLAGS -qnocommon"
38095 fi
38096 ;;
38097
38098 *-pc-os2_emx | *-pc-os2-emx )
38099 if test "x$bk_os2_use_omf" = "xyes" ; then
38100 AR=emxomfar
38101 RANLIB=:
38102 LDFLAGS="-Zomf $LDFLAGS"
38103 CFLAGS="-Zomf $CFLAGS"
38104 CXXFLAGS="-Zomf $CXXFLAGS"
38105 OS2_LIBEXT="lib"
38106 else
38107 OS2_LIBEXT="a"
38108 fi
38109 ;;
38110
38111 i*86-*-beos* )
38112 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38113 ;;
38114 esac
38115
38116
38117 SO_SUFFIX="so"
38118 SO_SUFFIX_MODULE="so"
38119 EXEEXT=""
38120 LIBPREFIX="lib"
38121 LIBEXT=".a"
38122 DLLPREFIX="lib"
38123 DLLPREFIX_MODULE=""
38124 DLLIMP_SUFFIX=""
38125 dlldir="$libdir"
38126
38127 case "${BAKEFILE_HOST}" in
38128 ia64-hp-hpux* )
38129 ;;
38130 *-hp-hpux* )
38131 SO_SUFFIX="sl"
38132 SO_SUFFIX_MODULE="sl"
38133 ;;
38134 *-*-aix* )
38135 SO_SUFFIX="a"
38136 SO_SUFFIX_MODULE="a"
38137 ;;
38138 *-*-cygwin* )
38139 SO_SUFFIX="dll"
38140 SO_SUFFIX_MODULE="dll"
38141 DLLIMP_SUFFIX="dll.a"
38142 EXEEXT=".exe"
38143 DLLPREFIX="cyg"
38144 dlldir="$bindir"
38145 ;;
38146 *-*-mingw32* )
38147 SO_SUFFIX="dll"
38148 SO_SUFFIX_MODULE="dll"
38149 DLLIMP_SUFFIX="dll.a"
38150 EXEEXT=".exe"
38151 DLLPREFIX=""
38152 dlldir="$bindir"
38153 ;;
38154 *-pc-msdosdjgpp )
38155 EXEEXT=".exe"
38156 DLLPREFIX=""
38157 dlldir="$bindir"
38158 ;;
38159 *-pc-os2_emx | *-pc-os2-emx )
38160 SO_SUFFIX="dll"
38161 SO_SUFFIX_MODULE="dll"
38162 DLLIMP_SUFFIX=$OS2_LIBEXT
38163 EXEEXT=".exe"
38164 DLLPREFIX=""
38165 LIBPREFIX=""
38166 LIBEXT=".$OS2_LIBEXT"
38167 dlldir="$bindir"
38168 ;;
38169 *-*-darwin* )
38170 SO_SUFFIX="dylib"
38171 SO_SUFFIX_MODULE="bundle"
38172 ;;
38173 esac
38174
38175 if test "x$DLLIMP_SUFFIX" = "x" ; then
38176 DLLIMP_SUFFIX="$SO_SUFFIX"
38177 fi
38178
38179
38180
38181
38182
38183
38184
38185
38186
38187
38188
38189
38190 PIC_FLAG=""
38191 if test "x$GCC" = "xyes"; then
38192 PIC_FLAG="-fPIC"
38193 fi
38194
38195 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38196 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38197 WINDOWS_IMPLIB=0
38198
38199 case "${BAKEFILE_HOST}" in
38200 *-hp-hpux* )
38201 if test "x$GCC" != "xyes"; then
38202 LDFLAGS="$LDFLAGS -L/usr/lib"
38203
38204 SHARED_LD_CC="${CC} -b -o"
38205 SHARED_LD_CXX="${CXX} -b -o"
38206 PIC_FLAG="+Z"
38207 fi
38208 ;;
38209
38210 *-*-linux* )
38211 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38212 PIC_FLAG="-KPIC"
38213 elif test "x$SUNCXX" = "xyes"; then
38214 SHARED_LD_CC="${CC} -G -o"
38215 SHARED_LD_CXX="${CXX} -G -o"
38216 PIC_FLAG="-KPIC"
38217 fi
38218 ;;
38219
38220 *-*-solaris2* )
38221 if test "x$SUNCXX" = xyes ; then
38222 SHARED_LD_CC="${CC} -G -o"
38223 SHARED_LD_CXX="${CXX} -G -o"
38224 PIC_FLAG="-KPIC"
38225 fi
38226 ;;
38227
38228 *-*-darwin* )
38229
38230 D='$'
38231 cat <<EOF >shared-ld-sh
38232 #!/bin/sh
38233 #-----------------------------------------------------------------------------
38234 #-- Name: distrib/mac/shared-ld-sh
38235 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38236 #-- Author: Gilles Depeyrot
38237 #-- Copyright: (c) 2002 Gilles Depeyrot
38238 #-- Licence: any use permitted
38239 #-----------------------------------------------------------------------------
38240
38241 verbose=0
38242 args=""
38243 objects=""
38244 linking_flag="-dynamiclib"
38245 ldargs="-r -keep_private_externs -nostdlib"
38246
38247 if test "x${D}CXX" = "x"; then
38248 CXX="c++"
38249 fi
38250
38251 while test ${D}# -gt 0; do
38252 case ${D}1 in
38253
38254 -v)
38255 verbose=1
38256 ;;
38257
38258 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38259 # collect these options and values
38260 args="${D}{args} ${D}1 ${D}2"
38261 shift
38262 ;;
38263
38264 -arch|-isysroot)
38265 # collect these options and values
38266 ldargs="${D}{ldargs} ${D}1 ${D}2"
38267 shift
38268 ;;
38269
38270 -s|-Wl,*)
38271 # collect these load args
38272 ldargs="${D}{ldargs} ${D}1"
38273 ;;
38274
38275 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38276 # collect these options
38277 args="${D}{args} ${D}1"
38278 ;;
38279
38280 -dynamiclib|-bundle)
38281 linking_flag="${D}1"
38282 ;;
38283
38284 -*)
38285 echo "shared-ld: unhandled option '${D}1'"
38286 exit 1
38287 ;;
38288
38289 *.o | *.a | *.dylib)
38290 # collect object files
38291 objects="${D}{objects} ${D}1"
38292 ;;
38293
38294 *)
38295 echo "shared-ld: unhandled argument '${D}1'"
38296 exit 1
38297 ;;
38298
38299 esac
38300 shift
38301 done
38302
38303 status=0
38304
38305 #
38306 # Link one module containing all the others
38307 #
38308 if test ${D}{verbose} = 1; then
38309 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38310 fi
38311 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38312 status=${D}?
38313
38314 #
38315 # Link the shared library from the single module created, but only if the
38316 # previous command didn't fail:
38317 #
38318 if test ${D}{status} = 0; then
38319 if test ${D}{verbose} = 1; then
38320 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38321 fi
38322 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38323 status=${D}?
38324 fi
38325
38326 #
38327 # Remove intermediate module
38328 #
38329 rm -f master.${D}${D}.o
38330
38331 exit ${D}status
38332 EOF
38333
38334 chmod +x shared-ld-sh
38335
38336 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38337 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38338
38339
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38341 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38342 if ${bakefile_cv_gcc31+:} false; then :
38343 $as_echo_n "(cached) " >&6
38344 else
38345
38346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38347 /* end confdefs.h. */
38348
38349 int
38350 main ()
38351 {
38352
38353 #if (__GNUC__ < 3) || \
38354 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38355 This is old gcc
38356 #endif
38357
38358 ;
38359 return 0;
38360 }
38361 _ACEOF
38362 if ac_fn_c_try_compile "$LINENO"; then :
38363
38364 bakefile_cv_gcc31=yes
38365
38366 else
38367
38368 bakefile_cv_gcc31=no
38369
38370
38371 fi
38372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38373
38374 fi
38375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38376 $as_echo "$bakefile_cv_gcc31" >&6; }
38377 if test "$bakefile_cv_gcc31" = "no"; then
38378 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38379 SHARED_LD_CXX="$SHARED_LD_CC"
38380 else
38381 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38382 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38383 fi
38384
38385 if test "x$GCC" == "xyes"; then
38386 PIC_FLAG="-dynamic -fPIC"
38387 fi
38388 if test "x$XLCC" = "xyes"; then
38389 PIC_FLAG="-dynamic -DPIC"
38390 fi
38391 ;;
38392
38393 *-*-aix* )
38394 if test "x$GCC" = "xyes"; then
38395 PIC_FLAG=""
38396
38397 case "${BAKEFILE_HOST}" in
38398 *-*-aix5* )
38399 LD_EXPFULL="-Wl,-bexpfull"
38400 ;;
38401 esac
38402
38403 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38404 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38405 else
38406 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38407 set dummy makeC++SharedLib; ac_word=$2
38408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38409 $as_echo_n "checking for $ac_word... " >&6; }
38410 if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
38411 $as_echo_n "(cached) " >&6
38412 else
38413 if test -n "$AIX_CXX_LD"; then
38414 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38415 else
38416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38417 for as_dir in $PATH
38418 do
38419 IFS=$as_save_IFS
38420 test -z "$as_dir" && as_dir=.
38421 for ac_exec_ext in '' $ac_executable_extensions; do
38422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
38423 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38425 break 2
38426 fi
38427 done
38428 done
38429 IFS=$as_save_IFS
38430
38431 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38432 fi
38433 fi
38434 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38435 if test -n "$AIX_CXX_LD"; then
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38437 $as_echo "$AIX_CXX_LD" >&6; }
38438 else
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38440 $as_echo "no" >&6; }
38441 fi
38442
38443
38444 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38445 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38446 fi
38447 ;;
38448
38449 *-*-beos* )
38450 SHARED_LD_CC="${LD} -nostart -o"
38451 SHARED_LD_CXX="${LD} -nostart -o"
38452 ;;
38453
38454 *-*-irix* )
38455 if test "x$GCC" != "xyes"; then
38456 PIC_FLAG="-KPIC"
38457 fi
38458 ;;
38459
38460 *-*-cygwin* | *-*-mingw32* )
38461 PIC_FLAG=""
38462 SHARED_LD_CC="\$(CC) -shared -o"
38463 SHARED_LD_CXX="\$(CXX) -shared -o"
38464 WINDOWS_IMPLIB=1
38465 ;;
38466
38467 *-pc-os2_emx | *-pc-os2-emx )
38468 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38469 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38470 PIC_FLAG=""
38471
38472 D='$'
38473 cat <<EOF >dllar.sh
38474 #!/bin/sh
38475 #
38476 # dllar - a tool to build both a .dll and an .a file
38477 # from a set of object (.o) files for EMX/OS2.
38478 #
38479 # Written by Andrew Zabolotny, bit@freya.etu.ru
38480 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38481 #
38482 # This script will accept a set of files on the command line.
38483 # All the public symbols from the .o files will be exported into
38484 # a .DEF file, then linker will be run (through gcc) against them to
38485 # build a shared library consisting of all given .o files. All libraries
38486 # (.a) will be first decompressed into component .o files then act as
38487 # described above. You can optionally give a description (-d "description")
38488 # which will be put into .DLL. To see the list of accepted options (as well
38489 # as command-line format) simply run this program without options. The .DLL
38490 # is built to be imported by name (there is no guarantee that new versions
38491 # of the library you build will have same ordinals for same symbols).
38492 #
38493 # dllar is free software; you can redistribute it and/or modify
38494 # it under the terms of the GNU General Public License as published by
38495 # the Free Software Foundation; either version 2, or (at your option)
38496 # any later version.
38497 #
38498 # dllar is distributed in the hope that it will be useful,
38499 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38500 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38501 # GNU General Public License for more details.
38502 #
38503 # You should have received a copy of the GNU General Public License
38504 # along with dllar; see the file COPYING. If not, write to the Free
38505 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38506 # 02111-1307, USA.
38507
38508 # To successfuly run this program you will need:
38509 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38510 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38511 # - gcc
38512 # (used to build the .dll)
38513 # - emxexp
38514 # (used to create .def file from .o files)
38515 # - emximp
38516 # (used to create .a file from .def file)
38517 # - GNU text utilites (cat, sort, uniq)
38518 # used to process emxexp output
38519 # - GNU file utilities (mv, rm)
38520 # - GNU sed
38521 # - lxlite (optional, see flag below)
38522 # (used for general .dll cleanup)
38523 #
38524
38525 flag_USE_LXLITE=1;
38526
38527 #
38528 # helper functions
38529 # basnam, variant of basename, which does _not_ remove the path, _iff_
38530 # second argument (suffix to remove) is given
38531 basnam(){
38532 case ${D}# in
38533 1)
38534 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38535 ;;
38536 2)
38537 echo ${D}1 | sed 's/'${D}2'${D}//'
38538 ;;
38539 *)
38540 echo "error in basnam ${D}*"
38541 exit 8
38542 ;;
38543 esac
38544 }
38545
38546 # Cleanup temporary files and output
38547 CleanUp() {
38548 cd ${D}curDir
38549 for i in ${D}inputFiles ; do
38550 case ${D}i in
38551 *!)
38552 rm -rf \`basnam ${D}i !\`
38553 ;;
38554 *)
38555 ;;
38556 esac
38557 done
38558
38559 # Kill result in case of failure as there is just to many stupid make/nmake
38560 # things out there which doesn't do this.
38561 if [ ${D}# -eq 0 ]; then
38562 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38563 fi
38564 }
38565
38566 # Print usage and exit script with rc=1.
38567 PrintHelp() {
38568 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38569 echo ' [-name-mangler-script script.sh]'
38570 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38571 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38572 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38573 echo ' [*.o] [*.a]'
38574 echo '*> "output_file" should have no extension.'
38575 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38576 echo ' The import library name is derived from this and is set to "name".a,'
38577 echo ' unless overridden by -import'
38578 echo '*> "importlib_name" should have no extension.'
38579 echo ' If it has the .o, or .a extension, it is automatically removed.'
38580 echo ' This name is used as the import library name and may be longer and'
38581 echo ' more descriptive than the DLL name which has to follow the old '
38582 echo ' 8.3 convention of FAT.'
38583 echo '*> "script.sh may be given to override the output_file name by a'
38584 echo ' different name. It is mainly useful if the regular make process'
38585 echo ' of some package does not take into account OS/2 restriction of'
38586 echo ' DLL name lengths. It takes the importlib name as input and is'
38587 echo ' supposed to procude a shorter name as output. The script should'
38588 echo ' expect to get importlib_name without extension and should produce'
38589 echo ' a (max.) 8 letter name without extension.'
38590 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38591 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38592 echo ' These flags will be put at the start of GCC command line.'
38593 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38594 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38595 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38596 echo ' If the last character of a symbol is "*", all symbols beginning'
38597 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38598 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38599 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38600 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38601 echo ' C runtime DLLs.'
38602 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38603 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38604 echo ' unchanged to GCC at the end of command line.'
38605 echo '*> If you create a DLL from a library and you do not specify -o,'
38606 echo ' the basename for DLL and import library will be set to library name,'
38607 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38608 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38609 echo ' library will be renamed into gcc_s.a.'
38610 echo '--------'
38611 echo 'Example:'
38612 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38613 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38614 CleanUp
38615 exit 1
38616 }
38617
38618 # Execute a command.
38619 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38620 # @Uses Whatever CleanUp() uses.
38621 doCommand() {
38622 echo "${D}*"
38623 eval ${D}*
38624 rcCmd=${D}?
38625
38626 if [ ${D}rcCmd -ne 0 ]; then
38627 echo "command failed, exit code="${D}rcCmd
38628 CleanUp
38629 exit ${D}rcCmd
38630 fi
38631 }
38632
38633 # main routine
38634 # setup globals
38635 cmdLine=${D}*
38636 outFile=""
38637 outimpFile=""
38638 inputFiles=""
38639 renameScript=""
38640 description=""
38641 CC=gcc.exe
38642 CFLAGS="-s -Zcrtdll"
38643 EXTRA_CFLAGS=""
38644 EXPORT_BY_ORDINALS=0
38645 exclude_symbols=""
38646 library_flags=""
38647 curDir=\`pwd\`
38648 curDirS=curDir
38649 case ${D}curDirS in
38650 */)
38651 ;;
38652 *)
38653 curDirS=${D}{curDirS}"/"
38654 ;;
38655 esac
38656 # Parse commandline
38657 libsToLink=0
38658 omfLinking=0
38659 while [ ${D}1 ]; do
38660 case ${D}1 in
38661 -ord*)
38662 EXPORT_BY_ORDINALS=1;
38663 ;;
38664 -o*)
38665 shift
38666 outFile=${D}1
38667 ;;
38668 -i*)
38669 shift
38670 outimpFile=${D}1
38671 ;;
38672 -name-mangler-script)
38673 shift
38674 renameScript=${D}1
38675 ;;
38676 -d*)
38677 shift
38678 description=${D}1
38679 ;;
38680 -f*)
38681 shift
38682 CFLAGS=${D}1
38683 ;;
38684 -c*)
38685 shift
38686 CC=${D}1
38687 ;;
38688 -h*)
38689 PrintHelp
38690 ;;
38691 -ex*)
38692 shift
38693 exclude_symbols=${D}{exclude_symbols}${D}1" "
38694 ;;
38695 -libf*)
38696 shift
38697 library_flags=${D}{library_flags}${D}1" "
38698 ;;
38699 -nocrt*)
38700 CFLAGS="-s"
38701 ;;
38702 -nolxl*)
38703 flag_USE_LXLITE=0
38704 ;;
38705 -* | /*)
38706 case ${D}1 in
38707 -L* | -l*)
38708 libsToLink=1
38709 ;;
38710 -Zomf)
38711 omfLinking=1
38712 ;;
38713 *)
38714 ;;
38715 esac
38716 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38717 ;;
38718 *.dll)
38719 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38720 if [ ${D}omfLinking -eq 1 ]; then
38721 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38722 else
38723 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38724 fi
38725 ;;
38726 *)
38727 found=0;
38728 if [ ${D}libsToLink -ne 0 ]; then
38729 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38730 else
38731 for file in ${D}1 ; do
38732 if [ -f ${D}file ]; then
38733 inputFiles="${D}{inputFiles} ${D}file"
38734 found=1
38735 fi
38736 done
38737 if [ ${D}found -eq 0 ]; then
38738 echo "ERROR: No file(s) found: "${D}1
38739 exit 8
38740 fi
38741 fi
38742 ;;
38743 esac
38744 shift
38745 done # iterate cmdline words
38746
38747 #
38748 if [ -z "${D}inputFiles" ]; then
38749 echo "dllar: no input files"
38750 PrintHelp
38751 fi
38752
38753 # Now extract all .o files from .a files
38754 newInputFiles=""
38755 for file in ${D}inputFiles ; do
38756 case ${D}file in
38757 *.a | *.lib)
38758 case ${D}file in
38759 *.a)
38760 suffix=".a"
38761 AR="ar"
38762 ;;
38763 *.lib)
38764 suffix=".lib"
38765 AR="emxomfar"
38766 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38767 ;;
38768 *)
38769 ;;
38770 esac
38771 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38772 mkdir ${D}dirname
38773 if [ ${D}? -ne 0 ]; then
38774 echo "Failed to create subdirectory ./${D}dirname"
38775 CleanUp
38776 exit 8;
38777 fi
38778 # Append '!' to indicate archive
38779 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38780 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38781 cd ${D}curDir
38782 found=0;
38783 for subfile in ${D}dirname/*.o* ; do
38784 if [ -f ${D}subfile ]; then
38785 found=1
38786 if [ -s ${D}subfile ]; then
38787 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38788 newInputFiles="${D}newInputFiles ${D}subfile"
38789 fi
38790 fi
38791 done
38792 if [ ${D}found -eq 0 ]; then
38793 echo "WARNING: there are no files in archive \\'${D}file\\'"
38794 fi
38795 ;;
38796 *)
38797 newInputFiles="${D}{newInputFiles} ${D}file"
38798 ;;
38799 esac
38800 done
38801 inputFiles="${D}newInputFiles"
38802
38803 # Output filename(s).
38804 do_backup=0;
38805 if [ -z ${D}outFile ]; then
38806 do_backup=1;
38807 set outFile ${D}inputFiles; outFile=${D}2
38808 fi
38809
38810 # If it is an archive, remove the '!' and the '_%' suffixes
38811 case ${D}outFile in
38812 *_%!)
38813 outFile=\`basnam ${D}outFile _%!\`
38814 ;;
38815 *)
38816 ;;
38817 esac
38818 case ${D}outFile in
38819 *.dll)
38820 outFile=\`basnam ${D}outFile .dll\`
38821 ;;
38822 *.DLL)
38823 outFile=\`basnam ${D}outFile .DLL\`
38824 ;;
38825 *.o)
38826 outFile=\`basnam ${D}outFile .o\`
38827 ;;
38828 *.obj)
38829 outFile=\`basnam ${D}outFile .obj\`
38830 ;;
38831 *.a)
38832 outFile=\`basnam ${D}outFile .a\`
38833 ;;
38834 *.lib)
38835 outFile=\`basnam ${D}outFile .lib\`
38836 ;;
38837 *)
38838 ;;
38839 esac
38840 case ${D}outimpFile in
38841 *.a)
38842 outimpFile=\`basnam ${D}outimpFile .a\`
38843 ;;
38844 *.lib)
38845 outimpFile=\`basnam ${D}outimpFile .lib\`
38846 ;;
38847 *)
38848 ;;
38849 esac
38850 if [ -z ${D}outimpFile ]; then
38851 outimpFile=${D}outFile
38852 fi
38853 defFile="${D}{outFile}.def"
38854 arcFile="${D}{outimpFile}.a"
38855 arcFile2="${D}{outimpFile}.lib"
38856
38857 #create ${D}dllFile as something matching 8.3 restrictions,
38858 if [ -z ${D}renameScript ] ; then
38859 dllFile="${D}outFile"
38860 else
38861 dllFile=\`${D}renameScript ${D}outimpFile\`
38862 fi
38863
38864 if [ ${D}do_backup -ne 0 ] ; then
38865 if [ -f ${D}arcFile ] ; then
38866 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38867 fi
38868 if [ -f ${D}arcFile2 ] ; then
38869 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38870 fi
38871 fi
38872
38873 # Extract public symbols from all the object files.
38874 tmpdefFile=${D}{defFile}_%
38875 rm -f ${D}tmpdefFile
38876 for file in ${D}inputFiles ; do
38877 case ${D}file in
38878 *!)
38879 ;;
38880 *)
38881 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38882 ;;
38883 esac
38884 done
38885
38886 # Create the def file.
38887 rm -f ${D}defFile
38888 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38889 dllFile="${D}{dllFile}.dll"
38890 if [ ! -z ${D}description ]; then
38891 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38892 fi
38893 echo "EXPORTS" >> ${D}defFile
38894
38895 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38896 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38897
38898 # Checks if the export is ok or not.
38899 for word in ${D}exclude_symbols; do
38900 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38901 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38902 done
38903
38904
38905 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38906 sed "=" < ${D}tmpdefFile | \\
38907 sed '
38908 N
38909 : loop
38910 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38911 t loop
38912 ' > ${D}{tmpdefFile}%
38913 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38914 else
38915 rm -f ${D}{tmpdefFile}%
38916 fi
38917 cat ${D}tmpdefFile >> ${D}defFile
38918 rm -f ${D}tmpdefFile
38919
38920 # Do linking, create implib, and apply lxlite.
38921 gccCmdl="";
38922 for file in ${D}inputFiles ; do
38923 case ${D}file in
38924 *!)
38925 ;;
38926 *)
38927 gccCmdl="${D}gccCmdl ${D}file"
38928 ;;
38929 esac
38930 done
38931 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38932 touch "${D}{outFile}.dll"
38933
38934 doCommand "emximp -o ${D}arcFile ${D}defFile"
38935 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38936 add_flags="";
38937 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38938 add_flags="-ynd"
38939 fi
38940 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38941 fi
38942 doCommand "emxomf -s -l ${D}arcFile"
38943
38944 # Successful exit.
38945 CleanUp 1
38946 exit 0
38947 EOF
38948
38949 chmod +x dllar.sh
38950 ;;
38951
38952 powerpc-apple-macos* | \
38953 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
38954 *-*-mirbsd* | \
38955 *-*-sunos4* | \
38956 *-*-osf* | \
38957 *-*-dgux5* | \
38958 *-*-sysv5* | \
38959 *-pc-msdosdjgpp )
38960 ;;
38961
38962 *)
38963 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
38964 esac
38965
38966 if test "x$PIC_FLAG" != "x" ; then
38967 PIC_FLAG="$PIC_FLAG -DPIC"
38968 fi
38969
38970 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38971 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38972 fi
38973 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38974 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38975 fi
38976
38977
38978
38979
38980
38981
38982
38983
38984
38985 USE_SOVERSION=0
38986 USE_SOVERLINUX=0
38987 USE_SOVERSOLARIS=0
38988 USE_SOVERCYGWIN=0
38989 USE_SOTWOSYMLINKS=0
38990 USE_MACVERSION=0
38991 SONAME_FLAG=
38992
38993 case "${BAKEFILE_HOST}" in
38994 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38995 *-*-k*bsd*-gnu | *-*-mirbsd* )
38996 if test "x$SUNCXX" = "xyes"; then
38997 SONAME_FLAG="-h "
38998 else
38999 SONAME_FLAG="-Wl,-soname,"
39000 fi
39001 USE_SOVERSION=1
39002 USE_SOVERLINUX=1
39003 USE_SOTWOSYMLINKS=1
39004 ;;
39005
39006 *-*-solaris2* )
39007 SONAME_FLAG="-h "
39008 USE_SOVERSION=1
39009 USE_SOVERSOLARIS=1
39010 ;;
39011
39012 *-*-darwin* )
39013 USE_MACVERSION=1
39014 USE_SOVERSION=1
39015 USE_SOTWOSYMLINKS=1
39016 ;;
39017
39018 *-*-cygwin* )
39019 USE_SOVERSION=1
39020 USE_SOVERCYGWIN=1
39021 ;;
39022 esac
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033 # Check whether --enable-dependency-tracking was given.
39034 if test "${enable_dependency_tracking+set}" = set; then :
39035 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39036 fi
39037
39038
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39040 $as_echo_n "checking for dependency tracking method... " >&6; }
39041
39042 BK_DEPS=""
39043 if test "x$bk_use_trackdeps" = "xno" ; then
39044 DEPS_TRACKING=0
39045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39046 $as_echo "disabled" >&6; }
39047 else
39048 DEPS_TRACKING=1
39049
39050 if test "x$GCC" = "xyes"; then
39051 DEPSMODE=gcc
39052 DEPSFLAG="-MMD"
39053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39054 $as_echo "gcc" >&6; }
39055 elif test "x$MWCC" = "xyes"; then
39056 DEPSMODE=mwcc
39057 DEPSFLAG="-MM"
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39059 $as_echo "mwcc" >&6; }
39060 elif test "x$SUNCC" = "xyes"; then
39061 DEPSMODE=unixcc
39062 DEPSFLAG="-xM1"
39063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39064 $as_echo "Sun cc" >&6; }
39065 elif test "x$SGICC" = "xyes"; then
39066 DEPSMODE=unixcc
39067 DEPSFLAG="-M"
39068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39069 $as_echo "SGI cc" >&6; }
39070 elif test "x$HPCC" = "xyes"; then
39071 DEPSMODE=unixcc
39072 DEPSFLAG="+make"
39073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39074 $as_echo "HP cc" >&6; }
39075 elif test "x$COMPAQCC" = "xyes"; then
39076 DEPSMODE=gcc
39077 DEPSFLAG="-MD"
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39079 $as_echo "Compaq cc" >&6; }
39080 else
39081 DEPS_TRACKING=0
39082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39083 $as_echo "none" >&6; }
39084 fi
39085
39086 if test $DEPS_TRACKING = 1 ; then
39087
39088 D='$'
39089 cat <<EOF >bk-deps
39090 #!/bin/sh
39091
39092 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39093 # script. It is used to track C/C++ files dependencies in portable way.
39094 #
39095 # Permission is given to use this file in any way.
39096
39097 DEPSMODE=${DEPSMODE}
39098 DEPSFLAG="${DEPSFLAG}"
39099 DEPSDIRBASE=.deps
39100
39101 if test ${D}DEPSMODE = gcc ; then
39102 ${D}* ${D}{DEPSFLAG}
39103 status=${D}?
39104
39105 # determine location of created files:
39106 while test ${D}# -gt 0; do
39107 case "${D}1" in
39108 -o )
39109 shift
39110 objfile=${D}1
39111 ;;
39112 -* )
39113 ;;
39114 * )
39115 srcfile=${D}1
39116 ;;
39117 esac
39118 shift
39119 done
39120 objfilebase=\`basename ${D}objfile\`
39121 builddir=\`dirname ${D}objfile\`
39122 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39123 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39124 depsdir=${D}builddir/${D}DEPSDIRBASE
39125 mkdir -p ${D}depsdir
39126
39127 # if the compiler failed, we're done:
39128 if test ${D}{status} != 0 ; then
39129 rm -f ${D}depfile
39130 exit ${D}{status}
39131 fi
39132
39133 # move created file to the location we want it in:
39134 if test -f ${D}depfile ; then
39135 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39136 rm -f ${D}depfile
39137 else
39138 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39139 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39140 if test ! -f ${D}depfile ; then
39141 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39142 depfile="${D}objfile.d"
39143 fi
39144 if test -f ${D}depfile ; then
39145 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39146 rm -f ${D}depfile
39147 fi
39148 fi
39149 exit 0
39150
39151 elif test ${D}DEPSMODE = mwcc ; then
39152 ${D}* || exit ${D}?
39153 # Run mwcc again with -MM and redirect into the dep file we want
39154 # NOTE: We can't use shift here because we need ${D}* to be valid
39155 prevarg=
39156 for arg in ${D}* ; do
39157 if test "${D}prevarg" = "-o"; then
39158 objfile=${D}arg
39159 else
39160 case "${D}arg" in
39161 -* )
39162 ;;
39163 * )
39164 srcfile=${D}arg
39165 ;;
39166 esac
39167 fi
39168 prevarg="${D}arg"
39169 done
39170
39171 objfilebase=\`basename ${D}objfile\`
39172 builddir=\`dirname ${D}objfile\`
39173 depsdir=${D}builddir/${D}DEPSDIRBASE
39174 mkdir -p ${D}depsdir
39175
39176 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39177 exit 0
39178
39179 elif test ${D}DEPSMODE = unixcc; then
39180 ${D}* || exit ${D}?
39181 # Run compiler again with deps flag and redirect into the dep file.
39182 # It doesn't work if the '-o FILE' option is used, but without it the
39183 # dependency file will contain the wrong name for the object. So it is
39184 # removed from the command line, and the dep file is fixed with sed.
39185 cmd=""
39186 while test ${D}# -gt 0; do
39187 case "${D}1" in
39188 -o )
39189 shift
39190 objfile=${D}1
39191 ;;
39192 * )
39193 eval arg${D}#=\\${D}1
39194 cmd="${D}cmd \\${D}arg${D}#"
39195 ;;
39196 esac
39197 shift
39198 done
39199
39200 objfilebase=\`basename ${D}objfile\`
39201 builddir=\`dirname ${D}objfile\`
39202 depsdir=${D}builddir/${D}DEPSDIRBASE
39203 mkdir -p ${D}depsdir
39204
39205 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39206 exit 0
39207
39208 else
39209 ${D}*
39210 exit ${D}?
39211 fi
39212 EOF
39213
39214 chmod +x bk-deps
39215 BK_DEPS="`pwd`/bk-deps"
39216 fi
39217 fi
39218
39219
39220
39221
39222
39223 case ${BAKEFILE_HOST} in
39224 *-*-cygwin* | *-*-mingw32* )
39225 if test -n "$ac_tool_prefix"; then
39226 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39227 set dummy ${ac_tool_prefix}windres; ac_word=$2
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39229 $as_echo_n "checking for $ac_word... " >&6; }
39230 if ${ac_cv_prog_WINDRES+:} false; then :
39231 $as_echo_n "(cached) " >&6
39232 else
39233 if test -n "$WINDRES"; then
39234 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39235 else
39236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39237 for as_dir in $PATH
39238 do
39239 IFS=$as_save_IFS
39240 test -z "$as_dir" && as_dir=.
39241 for ac_exec_ext in '' $ac_executable_extensions; do
39242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39243 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39245 break 2
39246 fi
39247 done
39248 done
39249 IFS=$as_save_IFS
39250
39251 fi
39252 fi
39253 WINDRES=$ac_cv_prog_WINDRES
39254 if test -n "$WINDRES"; then
39255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39256 $as_echo "$WINDRES" >&6; }
39257 else
39258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39259 $as_echo "no" >&6; }
39260 fi
39261
39262
39263 fi
39264 if test -z "$ac_cv_prog_WINDRES"; then
39265 ac_ct_WINDRES=$WINDRES
39266 # Extract the first word of "windres", so it can be a program name with args.
39267 set dummy windres; ac_word=$2
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39269 $as_echo_n "checking for $ac_word... " >&6; }
39270 if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
39271 $as_echo_n "(cached) " >&6
39272 else
39273 if test -n "$ac_ct_WINDRES"; then
39274 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39275 else
39276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39277 for as_dir in $PATH
39278 do
39279 IFS=$as_save_IFS
39280 test -z "$as_dir" && as_dir=.
39281 for ac_exec_ext in '' $ac_executable_extensions; do
39282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39283 ac_cv_prog_ac_ct_WINDRES="windres"
39284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39285 break 2
39286 fi
39287 done
39288 done
39289 IFS=$as_save_IFS
39290
39291 fi
39292 fi
39293 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39294 if test -n "$ac_ct_WINDRES"; then
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39296 $as_echo "$ac_ct_WINDRES" >&6; }
39297 else
39298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39299 $as_echo "no" >&6; }
39300 fi
39301
39302 if test "x$ac_ct_WINDRES" = x; then
39303 WINDRES=""
39304 else
39305 case $cross_compiling:$ac_tool_warned in
39306 yes:)
39307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39308 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39309 ac_tool_warned=yes ;;
39310 esac
39311 WINDRES=$ac_ct_WINDRES
39312 fi
39313 else
39314 WINDRES="$ac_cv_prog_WINDRES"
39315 fi
39316
39317 ;;
39318
39319 *-*-darwin* | powerpc-apple-macos* )
39320 # Extract the first word of "Rez", so it can be a program name with args.
39321 set dummy Rez; ac_word=$2
39322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39323 $as_echo_n "checking for $ac_word... " >&6; }
39324 if ${ac_cv_prog_REZ+:} false; then :
39325 $as_echo_n "(cached) " >&6
39326 else
39327 if test -n "$REZ"; then
39328 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39329 else
39330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39331 for as_dir in $PATH
39332 do
39333 IFS=$as_save_IFS
39334 test -z "$as_dir" && as_dir=.
39335 for ac_exec_ext in '' $ac_executable_extensions; do
39336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39337 ac_cv_prog_REZ="Rez"
39338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39339 break 2
39340 fi
39341 done
39342 done
39343 IFS=$as_save_IFS
39344
39345 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39346 fi
39347 fi
39348 REZ=$ac_cv_prog_REZ
39349 if test -n "$REZ"; then
39350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39351 $as_echo "$REZ" >&6; }
39352 else
39353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39354 $as_echo "no" >&6; }
39355 fi
39356
39357
39358 # Extract the first word of "SetFile", so it can be a program name with args.
39359 set dummy SetFile; ac_word=$2
39360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39361 $as_echo_n "checking for $ac_word... " >&6; }
39362 if ${ac_cv_prog_SETFILE+:} false; then :
39363 $as_echo_n "(cached) " >&6
39364 else
39365 if test -n "$SETFILE"; then
39366 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39367 else
39368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39369 for as_dir in $PATH
39370 do
39371 IFS=$as_save_IFS
39372 test -z "$as_dir" && as_dir=.
39373 for ac_exec_ext in '' $ac_executable_extensions; do
39374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39375 ac_cv_prog_SETFILE="SetFile"
39376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39377 break 2
39378 fi
39379 done
39380 done
39381 IFS=$as_save_IFS
39382
39383 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39384 fi
39385 fi
39386 SETFILE=$ac_cv_prog_SETFILE
39387 if test -n "$SETFILE"; then
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39389 $as_echo "$SETFILE" >&6; }
39390 else
39391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39392 $as_echo "no" >&6; }
39393 fi
39394
39395
39396 ;;
39397 esac
39398
39399
39400
39401
39402
39403
39404
39405
39406
39407 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39408
39409
39410 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39411
39412
39413
39414 # Check whether --enable-precomp-headers was given.
39415 if test "${enable_precomp_headers+set}" = set; then :
39416 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39417 fi
39418
39419
39420 GCC_PCH=0
39421 ICC_PCH=0
39422 USE_PCH=0
39423 BK_MAKE_PCH=""
39424
39425 case ${BAKEFILE_HOST} in
39426 *-*-cygwin* )
39427 bk_use_pch="no"
39428 ;;
39429 esac
39430
39431 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39432 if test "x$GCC" = "xyes"; then
39433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39434 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39436 /* end confdefs.h. */
39437
39438 int
39439 main ()
39440 {
39441
39442 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39443 There is no PCH support
39444 #endif
39445 #if (__GNUC__ < 3)
39446 There is no PCH support
39447 #endif
39448 #if (__GNUC__ == 3) && \
39449 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39450 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39451 ( defined(__INTEL_COMPILER) )
39452 There is no PCH support
39453 #endif
39454
39455 ;
39456 return 0;
39457 }
39458 _ACEOF
39459 if ac_fn_c_try_compile "$LINENO"; then :
39460
39461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39462 $as_echo "yes" >&6; }
39463 GCC_PCH=1
39464
39465 else
39466
39467 if test "$INTELCXX8" = "yes"; then
39468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39469 $as_echo "yes" >&6; }
39470 ICC_PCH=1
39471 if test "$INTELCXX10" = "yes"; then
39472 ICC_PCH_CREATE_SWITCH="-pch-create"
39473 ICC_PCH_USE_SWITCH="-pch-use"
39474 else
39475 ICC_PCH_CREATE_SWITCH="-create-pch"
39476 ICC_PCH_USE_SWITCH="-use-pch"
39477 fi
39478 else
39479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39480 $as_echo "no" >&6; }
39481 fi
39482
39483 fi
39484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39485 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39486 USE_PCH=1
39487
39488 D='$'
39489 cat <<EOF >bk-make-pch
39490 #!/bin/sh
39491
39492 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39493 # script. It is used to generated precompiled headers.
39494 #
39495 # Permission is given to use this file in any way.
39496
39497 outfile="${D}{1}"
39498 header="${D}{2}"
39499 shift
39500 shift
39501
39502 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39503
39504 compiler=""
39505 headerfile=""
39506
39507 while test ${D}{#} -gt 0; do
39508 add_to_cmdline=1
39509 case "${D}{1}" in
39510 -I* )
39511 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39512 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39513 headerfile="${D}{incdir}/${D}{header}"
39514 fi
39515 ;;
39516 -use-pch|-use_pch|-pch-use )
39517 shift
39518 add_to_cmdline=0
39519 ;;
39520 esac
39521 if test ${D}add_to_cmdline = 1 ; then
39522 compiler="${D}{compiler} ${D}{1}"
39523 fi
39524 shift
39525 done
39526
39527 if test "x${D}{headerfile}" = "x" ; then
39528 echo "error: can't find header ${D}{header} in include paths" >&2
39529 else
39530 if test -f ${D}{outfile} ; then
39531 rm -f ${D}{outfile}
39532 else
39533 mkdir -p \`dirname ${D}{outfile}\`
39534 fi
39535 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39536 mkdir -p ${D}{builddir}/.deps
39537 if test "x${GCC_PCH}" = "x1" ; then
39538 # can do this because gcc is >= 3.4:
39539 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39540 elif test "x${ICC_PCH}" = "x1" ; then
39541 filename=pch_gen-${D}${D}
39542 file=${D}{filename}.c
39543 dfile=${D}{filename}.d
39544 cat > ${D}file <<EOT
39545 #include "${D}header"
39546 EOT
39547 # using -MF icc complains about differing command lines in creation/use
39548 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39549 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39550 rm -f ${D}file ${D}dfile ${D}{filename}.o
39551 fi
39552 exit ${D}{?}
39553 fi
39554 EOF
39555
39556 chmod +x bk-make-pch
39557 BK_MAKE_PCH="`pwd`/bk-make-pch"
39558 fi
39559 fi
39560 fi
39561
39562
39563
39564
39565
39566
39567
39568 COND_BUILD_DEBUG="#"
39569 if test "x$BUILD" = "xdebug" ; then
39570 COND_BUILD_DEBUG=""
39571 fi
39572
39573 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39574 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39575 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39576 fi
39577
39578 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39579 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39580 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39581 fi
39582
39583 COND_BUILD_DEBUG_UNICODE_0="#"
39584 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39585 COND_BUILD_DEBUG_UNICODE_0=""
39586 fi
39587
39588 COND_BUILD_DEBUG_UNICODE_1="#"
39589 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39590 COND_BUILD_DEBUG_UNICODE_1=""
39591 fi
39592
39593 COND_BUILD_RELEASE="#"
39594 if test "x$BUILD" = "xrelease" ; then
39595 COND_BUILD_RELEASE=""
39596 fi
39597
39598 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39599 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39600 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39601 fi
39602
39603 COND_BUILD_RELEASE_UNICODE_0="#"
39604 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39605 COND_BUILD_RELEASE_UNICODE_0=""
39606 fi
39607
39608 COND_BUILD_RELEASE_UNICODE_1="#"
39609 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39610 COND_BUILD_RELEASE_UNICODE_1=""
39611 fi
39612
39613 COND_BUILD_debug="#"
39614 if test "x$BUILD" = "xdebug" ; then
39615 COND_BUILD_debug=""
39616 fi
39617
39618 COND_BUILD_debug_DEBUG_FLAG_default="#"
39619 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39620 COND_BUILD_debug_DEBUG_FLAG_default=""
39621 fi
39622
39623 COND_BUILD_debug_DEBUG_INFO_default="#"
39624 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39625 COND_BUILD_debug_DEBUG_INFO_default=""
39626 fi
39627
39628 COND_BUILD_debug_UNICODE_0="#"
39629 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39630 COND_BUILD_debug_UNICODE_0=""
39631 fi
39632
39633 COND_BUILD_debug_UNICODE_1="#"
39634 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39635 COND_BUILD_debug_UNICODE_1=""
39636 fi
39637
39638 COND_BUILD_release="#"
39639 if test "x$BUILD" = "xrelease" ; then
39640 COND_BUILD_release=""
39641 fi
39642
39643 COND_BUILD_release_DEBUG_INFO_default="#"
39644 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39645 COND_BUILD_release_DEBUG_INFO_default=""
39646 fi
39647
39648 COND_BUILD_release_UNICODE_0="#"
39649 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39650 COND_BUILD_release_UNICODE_0=""
39651 fi
39652
39653 COND_BUILD_release_UNICODE_1="#"
39654 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39655 COND_BUILD_release_UNICODE_1=""
39656 fi
39657
39658 COND_DEBUG_FLAG_0="#"
39659 if test "x$DEBUG_FLAG" = "x0" ; then
39660 COND_DEBUG_FLAG_0=""
39661 fi
39662
39663 COND_DEBUG_FLAG_1="#"
39664 if test "x$DEBUG_FLAG" = "x1" ; then
39665 COND_DEBUG_FLAG_1=""
39666 fi
39667
39668 COND_DEBUG_INFO_0="#"
39669 if test "x$DEBUG_INFO" = "x0" ; then
39670 COND_DEBUG_INFO_0=""
39671 fi
39672
39673 COND_DEBUG_INFO_1="#"
39674 if test "x$DEBUG_INFO" = "x1" ; then
39675 COND_DEBUG_INFO_1=""
39676 fi
39677
39678 COND_DEPS_TRACKING_0="#"
39679 if test "x$DEPS_TRACKING" = "x0" ; then
39680 COND_DEPS_TRACKING_0=""
39681 fi
39682
39683 COND_DEPS_TRACKING_1="#"
39684 if test "x$DEPS_TRACKING" = "x1" ; then
39685 COND_DEPS_TRACKING_1=""
39686 fi
39687
39688 COND_GCC_PCH_1="#"
39689 if test "x$GCC_PCH" = "x1" ; then
39690 COND_GCC_PCH_1=""
39691 fi
39692
39693 COND_ICC_PCH_1="#"
39694 if test "x$ICC_PCH" = "x1" ; then
39695 COND_ICC_PCH_1=""
39696 fi
39697
39698 COND_MONOLITHIC_0="#"
39699 if test "x$MONOLITHIC" = "x0" ; then
39700 COND_MONOLITHIC_0=""
39701 fi
39702
39703 COND_MONOLITHIC_0_SHARED_0="#"
39704 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39705 COND_MONOLITHIC_0_SHARED_0=""
39706 fi
39707
39708 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39709 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39710 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39711 fi
39712
39713 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39714 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39716 fi
39717
39718 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39719 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39720 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39721 fi
39722
39723 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39724 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39725 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39726 fi
39727
39728 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39729 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39730 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39731 fi
39732
39733 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39734 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39735 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39736 fi
39737
39738 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39739 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39740 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39741 fi
39742
39743 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39744 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39745 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39746 fi
39747
39748 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39749 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39750 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39751 fi
39752
39753 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39754 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39755 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39756 fi
39757
39758 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39759 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39760 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39761 fi
39762
39763 COND_MONOLITHIC_0_SHARED_1="#"
39764 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39765 COND_MONOLITHIC_0_SHARED_1=""
39766 fi
39767
39768 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39769 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39770 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39771 fi
39772
39773 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39774 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39775 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39776 fi
39777
39778 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39779 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39780 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39781 fi
39782
39783 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39785 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39786 fi
39787
39788 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39790 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39791 fi
39792
39793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39796 fi
39797
39798 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39800 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39801 fi
39802
39803 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39805 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39806 fi
39807
39808 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39810 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39811 fi
39812
39813 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39815 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39816 fi
39817
39818 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39820 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39821 fi
39822
39823 COND_MONOLITHIC_0_USE_AUI_1="#"
39824 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39825 COND_MONOLITHIC_0_USE_AUI_1=""
39826 fi
39827
39828 COND_MONOLITHIC_0_USE_GUI_1="#"
39829 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39830 COND_MONOLITHIC_0_USE_GUI_1=""
39831 fi
39832
39833 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39834 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39835 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39836 fi
39837
39838 COND_MONOLITHIC_0_USE_HTML_1="#"
39839 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39840 COND_MONOLITHIC_0_USE_HTML_1=""
39841 fi
39842
39843 COND_MONOLITHIC_0_USE_MEDIA_1="#"
39844 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39845 COND_MONOLITHIC_0_USE_MEDIA_1=""
39846 fi
39847
39848 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39849 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39850 COND_MONOLITHIC_0_USE_PROPGRID_1=""
39851 fi
39852
39853 COND_MONOLITHIC_0_USE_QA_1="#"
39854 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39855 COND_MONOLITHIC_0_USE_QA_1=""
39856 fi
39857
39858 COND_MONOLITHIC_0_USE_RIBBON_1="#"
39859 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39860 COND_MONOLITHIC_0_USE_RIBBON_1=""
39861 fi
39862
39863 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39864 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39865 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39866 fi
39867
39868 COND_MONOLITHIC_0_USE_STC_1="#"
39869 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39870 COND_MONOLITHIC_0_USE_STC_1=""
39871 fi
39872
39873 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39874 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39875 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39876 fi
39877
39878 COND_MONOLITHIC_0_USE_XRC_1="#"
39879 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39880 COND_MONOLITHIC_0_USE_XRC_1=""
39881 fi
39882
39883 COND_MONOLITHIC_1="#"
39884 if test "x$MONOLITHIC" = "x1" ; then
39885 COND_MONOLITHIC_1=""
39886 fi
39887
39888 COND_MONOLITHIC_1_SHARED_0="#"
39889 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39890 COND_MONOLITHIC_1_SHARED_0=""
39891 fi
39892
39893 COND_MONOLITHIC_1_SHARED_1="#"
39894 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39895 COND_MONOLITHIC_1_SHARED_1=""
39896 fi
39897
39898 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39899 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39900 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39901 fi
39902
39903 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39904 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39905 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39906 fi
39907
39908 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39909 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39910 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39911 fi
39912
39913 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39914 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39915 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39916 fi
39917
39918 COND_PLATFORM_MACOSX_1="#"
39919 if test "x$PLATFORM_MACOSX" = "x1" ; then
39920 COND_PLATFORM_MACOSX_1=""
39921 fi
39922
39923 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39924 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39925 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39926 fi
39927
39928 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39929 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39930 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39931 fi
39932
39933 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39935 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39936 fi
39937
39938 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39939 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39940 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39941 fi
39942
39943 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
39944 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
39945 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
39946 fi
39947
39948 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
39949 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
39950 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
39951 fi
39952
39953 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39954 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39955 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39956 fi
39957
39958 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39959 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39960 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
39961 fi
39962
39963 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
39964 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39965 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
39966 fi
39967
39968 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
39969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39970 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
39971 fi
39972
39973 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
39974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39975 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
39976 fi
39977
39978 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
39979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39980 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
39981 fi
39982
39983 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39984 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39985 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39986 fi
39987
39988 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
39989 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39990 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
39991 fi
39992
39993 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39994 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39995 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39996 fi
39997
39998 COND_PLATFORM_MACOS_1="#"
39999 if test "x$PLATFORM_MACOS" = "x1" ; then
40000 COND_PLATFORM_MACOS_1=""
40001 fi
40002
40003 COND_PLATFORM_MAC_0="#"
40004 if test "x$PLATFORM_MAC" = "x0" ; then
40005 COND_PLATFORM_MAC_0=""
40006 fi
40007
40008 COND_PLATFORM_MAC_1="#"
40009 if test "x$PLATFORM_MAC" = "x1" ; then
40010 COND_PLATFORM_MAC_1=""
40011 fi
40012
40013 COND_PLATFORM_MSDOS_0="#"
40014 if test "x$PLATFORM_MSDOS" = "x0" ; then
40015 COND_PLATFORM_MSDOS_0=""
40016 fi
40017
40018 COND_PLATFORM_MSDOS_1="#"
40019 if test "x$PLATFORM_MSDOS" = "x1" ; then
40020 COND_PLATFORM_MSDOS_1=""
40021 fi
40022
40023 COND_PLATFORM_OS2_1="#"
40024 if test "x$PLATFORM_OS2" = "x1" ; then
40025 COND_PLATFORM_OS2_1=""
40026 fi
40027
40028 COND_PLATFORM_UNIX_0="#"
40029 if test "x$PLATFORM_UNIX" = "x0" ; then
40030 COND_PLATFORM_UNIX_0=""
40031 fi
40032
40033 COND_PLATFORM_UNIX_1="#"
40034 if test "x$PLATFORM_UNIX" = "x1" ; then
40035 COND_PLATFORM_UNIX_1=""
40036 fi
40037
40038 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40039 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40040 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40041 fi
40042
40043 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40044 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40045 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40046 fi
40047
40048 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40049 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40050 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40051 fi
40052
40053 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40054 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40055 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40056 fi
40057
40058 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40059 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40060 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40061 fi
40062
40063 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40065 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40066 fi
40067
40068 COND_PLATFORM_WIN32_0="#"
40069 if test "x$PLATFORM_WIN32" = "x0" ; then
40070 COND_PLATFORM_WIN32_0=""
40071 fi
40072
40073 COND_PLATFORM_WIN32_1="#"
40074 if test "x$PLATFORM_WIN32" = "x1" ; then
40075 COND_PLATFORM_WIN32_1=""
40076 fi
40077
40078 COND_PLATFORM_WIN32_1_SHARED_0="#"
40079 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40080 COND_PLATFORM_WIN32_1_SHARED_0=""
40081 fi
40082
40083 COND_SHARED_0="#"
40084 if test "x$SHARED" = "x0" ; then
40085 COND_SHARED_0=""
40086 fi
40087
40088 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40089 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40090 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40091 fi
40092
40093 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40094 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40095 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40096 fi
40097
40098 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40099 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40100 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40101 fi
40102
40103 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40105 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40106 fi
40107
40108 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40109 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40110 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40111 fi
40112
40113 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40114 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40115 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40116 fi
40117
40118 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40119 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40120 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40121 fi
40122
40123 COND_SHARED_0_USE_STC_1="#"
40124 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40125 COND_SHARED_0_USE_STC_1=""
40126 fi
40127
40128 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40129 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40130 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40131 fi
40132
40133 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40134 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40135 COND_SHARED_0_wxUSE_REGEX_builtin=""
40136 fi
40137
40138 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40139 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40140 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40141 fi
40142
40143 COND_SHARED_1="#"
40144 if test "x$SHARED" = "x1" ; then
40145 COND_SHARED_1=""
40146 fi
40147
40148 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40149 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40150 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40151 fi
40152
40153 COND_TOOLKIT_="#"
40154 if test "x$TOOLKIT" = "x" ; then
40155 COND_TOOLKIT_=""
40156 fi
40157
40158 COND_TOOLKIT_COCOA="#"
40159 if test "x$TOOLKIT" = "xCOCOA" ; then
40160 COND_TOOLKIT_COCOA=""
40161 fi
40162
40163 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40164 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40165 COND_TOOLKIT_COCOA_USE_GUI_1=""
40166 fi
40167
40168 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40169 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40170 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40171 fi
40172
40173 COND_TOOLKIT_DFB="#"
40174 if test "x$TOOLKIT" = "xDFB" ; then
40175 COND_TOOLKIT_DFB=""
40176 fi
40177
40178 COND_TOOLKIT_DFB_USE_GUI_1="#"
40179 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40180 COND_TOOLKIT_DFB_USE_GUI_1=""
40181 fi
40182
40183 COND_TOOLKIT_GTK="#"
40184 if test "x$TOOLKIT" = "xGTK" ; then
40185 COND_TOOLKIT_GTK=""
40186 fi
40187
40188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40189 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40190 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40191 fi
40192
40193 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40194 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40195 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40196 fi
40197
40198 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40199 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40200 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40201 fi
40202
40203 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40204 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40205 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40206 fi
40207
40208 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40209 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40210 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40211 fi
40212
40213 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40214 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40215 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40216 fi
40217
40218 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40219 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40220 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40221 fi
40222
40223 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40224 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40225 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40226 fi
40227
40228 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40229 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40230 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40231 fi
40232
40233 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40234 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40235 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40236 fi
40237
40238 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40239 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40240 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40241 fi
40242
40243 COND_TOOLKIT_GTK_USE_GUI_1="#"
40244 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40245 COND_TOOLKIT_GTK_USE_GUI_1=""
40246 fi
40247
40248 COND_TOOLKIT_MAC="#"
40249 if test "x$TOOLKIT" = "xMAC" ; then
40250 COND_TOOLKIT_MAC=""
40251 fi
40252
40253 COND_TOOLKIT_MOTIF="#"
40254 if test "x$TOOLKIT" = "xMOTIF" ; then
40255 COND_TOOLKIT_MOTIF=""
40256 fi
40257
40258 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40259 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40260 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40261 fi
40262
40263 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40264 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40265 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40266 fi
40267
40268 COND_TOOLKIT_MSW="#"
40269 if test "x$TOOLKIT" = "xMSW" ; then
40270 COND_TOOLKIT_MSW=""
40271 fi
40272
40273 COND_TOOLKIT_MSW_USE_GUI_1="#"
40274 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40275 COND_TOOLKIT_MSW_USE_GUI_1=""
40276 fi
40277
40278 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40279 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40280 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40281 fi
40282
40283 COND_TOOLKIT_MSW_WXUNIV_0="#"
40284 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40285 COND_TOOLKIT_MSW_WXUNIV_0=""
40286 fi
40287
40288 COND_TOOLKIT_OSX_CARBON="#"
40289 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40290 COND_TOOLKIT_OSX_CARBON=""
40291 fi
40292
40293 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40294 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40295 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40296 fi
40297
40298 COND_TOOLKIT_OSX_COCOA="#"
40299 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40300 COND_TOOLKIT_OSX_COCOA=""
40301 fi
40302
40303 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40304 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40305 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40306 fi
40307
40308 COND_TOOLKIT_OSX_IPHONE="#"
40309 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40310 COND_TOOLKIT_OSX_IPHONE=""
40311 fi
40312
40313 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40314 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40315 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40316 fi
40317
40318 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40319 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40320 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40321 fi
40322
40323 COND_TOOLKIT_PM="#"
40324 if test "x$TOOLKIT" = "xPM" ; then
40325 COND_TOOLKIT_PM=""
40326 fi
40327
40328 COND_TOOLKIT_PM_USE_GUI_1="#"
40329 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40330 COND_TOOLKIT_PM_USE_GUI_1=""
40331 fi
40332
40333 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40334 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40335 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40336 fi
40337
40338 COND_TOOLKIT_WINCE="#"
40339 if test "x$TOOLKIT" = "xWINCE" ; then
40340 COND_TOOLKIT_WINCE=""
40341 fi
40342
40343 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40344 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40345 COND_TOOLKIT_WINCE_USE_GUI_1=""
40346 fi
40347
40348 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40349 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40350 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40351 fi
40352
40353 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40354 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40355 COND_TOOLKIT_WINCE_WXUNIV_0=""
40356 fi
40357
40358 COND_TOOLKIT_X11="#"
40359 if test "x$TOOLKIT" = "xX11" ; then
40360 COND_TOOLKIT_X11=""
40361 fi
40362
40363 COND_TOOLKIT_X11_USE_GUI_1="#"
40364 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40365 COND_TOOLKIT_X11_USE_GUI_1=""
40366 fi
40367
40368 COND_UNICODE_1="#"
40369 if test "x$UNICODE" = "x1" ; then
40370 COND_UNICODE_1=""
40371 fi
40372
40373 COND_USE_CAIRO_1="#"
40374 if test "x$USE_CAIRO" = "x1" ; then
40375 COND_USE_CAIRO_1=""
40376 fi
40377
40378 COND_USE_EXCEPTIONS_0="#"
40379 if test "x$USE_EXCEPTIONS" = "x0" ; then
40380 COND_USE_EXCEPTIONS_0=""
40381 fi
40382
40383 COND_USE_EXCEPTIONS_1="#"
40384 if test "x$USE_EXCEPTIONS" = "x1" ; then
40385 COND_USE_EXCEPTIONS_1=""
40386 fi
40387
40388 COND_USE_GUI_0="#"
40389 if test "x$USE_GUI" = "x0" ; then
40390 COND_USE_GUI_0=""
40391 fi
40392
40393 COND_USE_GUI_1="#"
40394 if test "x$USE_GUI" = "x1" ; then
40395 COND_USE_GUI_1=""
40396 fi
40397
40398 COND_USE_GUI_1_USE_OPENGL_1="#"
40399 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40400 COND_USE_GUI_1_USE_OPENGL_1=""
40401 fi
40402
40403 COND_USE_GUI_1_WXUNIV_0="#"
40404 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40405 COND_USE_GUI_1_WXUNIV_0=""
40406 fi
40407
40408 COND_USE_GUI_1_WXUNIV_1="#"
40409 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40410 COND_USE_GUI_1_WXUNIV_1=""
40411 fi
40412
40413 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40414 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40415 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40416 fi
40417
40418 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40419 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40420 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40421 fi
40422
40423 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40424 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40425 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40426 fi
40427
40428 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40429 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40430 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40431 fi
40432
40433 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40434 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40435 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40436 fi
40437
40438 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40439 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40440 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40441 fi
40442
40443 COND_USE_OPENGL_1="#"
40444 if test "x$USE_OPENGL" = "x1" ; then
40445 COND_USE_OPENGL_1=""
40446 fi
40447
40448 COND_USE_PCH_1="#"
40449 if test "x$USE_PCH" = "x1" ; then
40450 COND_USE_PCH_1=""
40451 fi
40452
40453 COND_USE_PLUGINS_0="#"
40454 if test "x$USE_PLUGINS" = "x0" ; then
40455 COND_USE_PLUGINS_0=""
40456 fi
40457
40458 COND_USE_RTTI_0="#"
40459 if test "x$USE_RTTI" = "x0" ; then
40460 COND_USE_RTTI_0=""
40461 fi
40462
40463 COND_USE_RTTI_1="#"
40464 if test "x$USE_RTTI" = "x1" ; then
40465 COND_USE_RTTI_1=""
40466 fi
40467
40468 COND_USE_SOTWOSYMLINKS_1="#"
40469 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40470 COND_USE_SOTWOSYMLINKS_1=""
40471 fi
40472
40473 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40474 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40475 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40476 fi
40477
40478 COND_USE_SOVERLINUX_1="#"
40479 if test "x$USE_SOVERLINUX" = "x1" ; then
40480 COND_USE_SOVERLINUX_1=""
40481 fi
40482
40483 COND_USE_SOVERSION_0="#"
40484 if test "x$USE_SOVERSION" = "x0" ; then
40485 COND_USE_SOVERSION_0=""
40486 fi
40487
40488 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40489 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40490 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40491 fi
40492
40493 COND_USE_SOVERSOLARIS_1="#"
40494 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40495 COND_USE_SOVERSOLARIS_1=""
40496 fi
40497
40498 COND_USE_STC_1="#"
40499 if test "x$USE_STC" = "x1" ; then
40500 COND_USE_STC_1=""
40501 fi
40502
40503 COND_USE_THREADS_0="#"
40504 if test "x$USE_THREADS" = "x0" ; then
40505 COND_USE_THREADS_0=""
40506 fi
40507
40508 COND_USE_THREADS_1="#"
40509 if test "x$USE_THREADS" = "x1" ; then
40510 COND_USE_THREADS_1=""
40511 fi
40512
40513 COND_USE_XRC_1="#"
40514 if test "x$USE_XRC" = "x1" ; then
40515 COND_USE_XRC_1=""
40516 fi
40517
40518 COND_WINDOWS_IMPLIB_1="#"
40519 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40520 COND_WINDOWS_IMPLIB_1=""
40521 fi
40522
40523 COND_WITH_PLUGIN_SDL_1="#"
40524 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40525 COND_WITH_PLUGIN_SDL_1=""
40526 fi
40527
40528 COND_WXUNIV_0="#"
40529 if test "x$WXUNIV" = "x0" ; then
40530 COND_WXUNIV_0=""
40531 fi
40532
40533 COND_WXUNIV_1="#"
40534 if test "x$WXUNIV" = "x1" ; then
40535 COND_WXUNIV_1=""
40536 fi
40537
40538 COND_WXUSE_EXPAT_BUILTIN="#"
40539 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40540 COND_WXUSE_EXPAT_BUILTIN=""
40541 fi
40542
40543 COND_WXUSE_LIBJPEG_BUILTIN="#"
40544 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40545 COND_WXUSE_LIBJPEG_BUILTIN=""
40546 fi
40547
40548 COND_WXUSE_LIBPNG_BUILTIN="#"
40549 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40550 COND_WXUSE_LIBPNG_BUILTIN=""
40551 fi
40552
40553 COND_WXUSE_LIBTIFF_BUILTIN="#"
40554 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40555 COND_WXUSE_LIBTIFF_BUILTIN=""
40556 fi
40557
40558 COND_WXUSE_REGEX_BUILTIN="#"
40559 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40560 COND_WXUSE_REGEX_BUILTIN=""
40561 fi
40562
40563 COND_WXUSE_ZLIB_BUILTIN="#"
40564 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40565 COND_WXUSE_ZLIB_BUILTIN=""
40566 fi
40567
40568 COND_wxUSE_EXPAT_builtin="#"
40569 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40570 COND_wxUSE_EXPAT_builtin=""
40571 fi
40572
40573 COND_wxUSE_LIBJPEG_builtin="#"
40574 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40575 COND_wxUSE_LIBJPEG_builtin=""
40576 fi
40577
40578 COND_wxUSE_LIBPNG_builtin="#"
40579 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40580 COND_wxUSE_LIBPNG_builtin=""
40581 fi
40582
40583 COND_wxUSE_LIBTIFF_builtin="#"
40584 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40585 COND_wxUSE_LIBTIFF_builtin=""
40586 fi
40587
40588 COND_wxUSE_REGEX_builtin="#"
40589 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40590 COND_wxUSE_REGEX_builtin=""
40591 fi
40592
40593 COND_wxUSE_ZLIB_builtin="#"
40594 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40595 COND_wxUSE_ZLIB_builtin=""
40596 fi
40597
40598
40599
40600 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40601 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
40602 fi
40603
40604 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40605 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
40606 fi
40607
40608
40609 case ${INSTALL} in
40610 /* ) # Absolute
40611 ;;
40612 ?:* ) # Drive letter, considered as absolute.
40613 ;;
40614 *)
40615 INSTALL=`pwd`/${INSTALL} ;;
40616 esac
40617
40618 if test "$wxUSE_GUI" = "yes"; then
40619
40620 if test "$wxUSE_MSW" = 1 ; then
40621 if test "x$WINDRES" = "x"; then
40622 as_fn_error $? "Required windres program not found" "$LINENO" 5
40623 fi
40624
40625 RESCOMP="$WINDRES"
40626 fi
40627
40628 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40629 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40630 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40631
40632 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40633
40634 # Extract the first word of "DeRez", so it can be a program name with args.
40635 set dummy DeRez; ac_word=$2
40636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40637 $as_echo_n "checking for $ac_word... " >&6; }
40638 if ${ac_cv_prog_DEREZ+:} false; then :
40639 $as_echo_n "(cached) " >&6
40640 else
40641 if test -n "$DEREZ"; then
40642 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40643 else
40644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40645 for as_dir in $PATH
40646 do
40647 IFS=$as_save_IFS
40648 test -z "$as_dir" && as_dir=.
40649 for ac_exec_ext in '' $ac_executable_extensions; do
40650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40651 ac_cv_prog_DEREZ="DeRez"
40652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40653 break 2
40654 fi
40655 done
40656 done
40657 IFS=$as_save_IFS
40658
40659 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40660 fi
40661 fi
40662 DEREZ=$ac_cv_prog_DEREZ
40663 if test -n "$DEREZ"; then
40664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40665 $as_echo "$DEREZ" >&6; }
40666 else
40667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40668 $as_echo "no" >&6; }
40669 fi
40670
40671
40672
40673 MACSETFILE="\$(SETFILE)"
40674
40675 if test "$wxUSE_OSX_CARBON" = 1; then
40676 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40677 RESCOMP="$REZ"
40678 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40679 else
40680 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40681 RESCOMP="cat /dev/null \| $REZ"
40682 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40683 fi
40684
40685 else
40686 MACSETFILE="@true"
40687
40688 if test "$wxUSE_PM" = 1; then
40689 RESCOMP="emxbind"
40690 WXCONFIG_RESFLAGS="-ep"
40691
40692 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40693 else
40694 POSTLINK_COMMAND="@true"
40695 fi
40696 fi
40697
40698 fi
40699
40700
40701 if test $GCC_PCH = 1
40702 then
40703 if test "$wx_cv_gcc_pch_bug" = yes; then
40704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40705 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40707 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40709 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40710 fi
40711
40712 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40713 # the headers that benefit from precompilation are mostly C++ headers.
40714 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40715 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40716 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40717 fi
40718
40719
40720 if test "$wxUSE_MAC" = 1 ; then
40721 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40722 if test "x$disable_macosx_deps" = "xyes"; then
40723 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40724 mv temp bk-deps
40725 chmod +x bk-deps
40726 fi
40727 fi
40728 fi
40729
40730 if test "$wxUSE_SHARED" = "yes"; then
40731 case "${host}" in
40732 *-pc-os2_emx | *-pc-os2-emx )
40733 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40734 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40735 cp -p ${srcdir}/src/os2/dllnames.sh .
40736 cp -p ${srcdir}/src/os2/dllar.sh .
40737 ;;
40738 esac
40739 fi
40740 if test "$wxUSE_OMF" = "yes"; then
40741 case "${host}" in
40742 *-pc-os2_emx | *-pc-os2-emx )
40743 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40744 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40745 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40746 ;;
40747 esac
40748 fi
40749
40750 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40751
40752
40753 case "${host}" in
40754 *-*-solaris2* )
40755 if test "$GCC" = yes; then
40756 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40757 LIBS=`echo $LIBS | sed 's/-mt//g'`
40758 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40759 fi
40760 ;;
40761
40762 *-*-linux* )
40763 if test "x$SUNCXX" = xyes; then
40764 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40765 LIBS=`echo $LIBS | sed 's/-pthread//g'`
40766 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40767 fi
40768 ;;
40769 esac
40770
40771 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40772 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40773 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40774 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40775
40776 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40777
40778
40779
40780
40781
40782
40783
40784
40785
40786
40787
40788
40789
40790
40791
40792
40793
40794
40795
40796
40797
40798
40799
40800
40801
40802
40803
40804
40805
40806
40807
40808
40809
40810
40811
40812
40813
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40838 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40839 set x ${MAKE-make}
40840 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40841 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
40842 $as_echo_n "(cached) " >&6
40843 else
40844 cat >conftest.make <<\_ACEOF
40845 SHELL = /bin/sh
40846 all:
40847 @echo '@@@%%%=$(MAKE)=@@@%%%'
40848 _ACEOF
40849 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40850 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40851 *@@@%%%=?*=@@@%%%*)
40852 eval ac_cv_prog_make_${ac_make}_set=yes;;
40853 *)
40854 eval ac_cv_prog_make_${ac_make}_set=no;;
40855 esac
40856 rm -f conftest.make
40857 fi
40858 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40860 $as_echo "yes" >&6; }
40861 SET_MAKE=
40862 else
40863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40864 $as_echo "no" >&6; }
40865 SET_MAKE="MAKE=${MAKE-make}"
40866 fi
40867
40868
40869
40870 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40871
40872
40873 if test "$USE_WIN32" = 1; then
40874 ac_config_commands="$ac_config_commands rcdefs.h"
40875
40876 fi
40877
40878 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40879
40880
40881 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40882
40883
40884 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40885
40886
40887 if test "$wx_cv_version_script" = "yes"; then
40888 ac_config_files="$ac_config_files version-script"
40889
40890 fi
40891 ac_config_files="$ac_config_files Makefile"
40892
40893
40894 ac_config_commands="$ac_config_commands wx-config"
40895
40896
40897
40898 if test "$wxWITH_SUBDIRS" != "no"; then
40899 if test "$wxUSE_GUI" = "yes"; then
40900 SUBDIRS="samples demos utils"
40901 else
40902 SUBDIRS="samples utils"
40903 fi
40904
40905
40906
40907 # Check whether --with-cppunit-prefix was given.
40908 if test "${with_cppunit_prefix+set}" = set; then :
40909 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40910 else
40911 cppunit_config_prefix=""
40912 fi
40913
40914
40915 # Check whether --with-cppunit-exec-prefix was given.
40916 if test "${with_cppunit_exec_prefix+set}" = set; then :
40917 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40918 else
40919 cppunit_config_exec_prefix=""
40920 fi
40921
40922
40923 if test x$cppunit_config_exec_prefix != x ; then
40924 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40925 if test x${CPPUNIT_CONFIG+set} != xset ; then
40926 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40927 fi
40928 fi
40929 if test x$cppunit_config_prefix != x ; then
40930 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40931 if test x${CPPUNIT_CONFIG+set} != xset ; then
40932 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40933 fi
40934 fi
40935
40936 # Extract the first word of "cppunit-config", so it can be a program name with args.
40937 set dummy cppunit-config; ac_word=$2
40938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40939 $as_echo_n "checking for $ac_word... " >&6; }
40940 if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
40941 $as_echo_n "(cached) " >&6
40942 else
40943 case $CPPUNIT_CONFIG in
40944 [\\/]* | ?:[\\/]*)
40945 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40946 ;;
40947 *)
40948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40949 for as_dir in $PATH
40950 do
40951 IFS=$as_save_IFS
40952 test -z "$as_dir" && as_dir=.
40953 for ac_exec_ext in '' $ac_executable_extensions; do
40954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40955 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40957 break 2
40958 fi
40959 done
40960 done
40961 IFS=$as_save_IFS
40962
40963 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40964 ;;
40965 esac
40966 fi
40967 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40968 if test -n "$CPPUNIT_CONFIG"; then
40969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40970 $as_echo "$CPPUNIT_CONFIG" >&6; }
40971 else
40972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40973 $as_echo "no" >&6; }
40974 fi
40975
40976
40977 cppunit_version_min=1.8.0
40978
40979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40980 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40981 no_cppunit=""
40982 if test "$CPPUNIT_CONFIG" = "no" ; then
40983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40984 $as_echo "no" >&6; }
40985 no_cppunit=yes
40986 else
40987 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40988 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40989 cppunit_version=`$CPPUNIT_CONFIG --version`
40990
40991 cppunit_major_version=`echo $cppunit_version | \
40992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40993 cppunit_minor_version=`echo $cppunit_version | \
40994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40995 cppunit_micro_version=`echo $cppunit_version | \
40996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40997
40998 cppunit_major_min=`echo $cppunit_version_min | \
40999 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41000 cppunit_minor_min=`echo $cppunit_version_min | \
41001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41002 cppunit_micro_min=`echo $cppunit_version_min | \
41003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41004
41005 cppunit_version_proper=`expr \
41006 $cppunit_major_version \> $cppunit_major_min \| \
41007 $cppunit_major_version \= $cppunit_major_min \& \
41008 $cppunit_minor_version \> $cppunit_minor_min \| \
41009 $cppunit_major_version \= $cppunit_major_min \& \
41010 $cppunit_minor_version \= $cppunit_minor_min \& \
41011 $cppunit_micro_version \>= $cppunit_micro_min `
41012
41013 if test "$cppunit_version_proper" = "1" ; then
41014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41015 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41016 else
41017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41018 $as_echo "no" >&6; }
41019 no_cppunit=yes
41020 fi
41021 fi
41022
41023 if test "x$no_cppunit" = x ; then
41024 SUBDIRS="$SUBDIRS tests"
41025 else
41026 CPPUNIT_CFLAGS=""
41027 CPPUNIT_LIBS=""
41028 :
41029 fi
41030
41031
41032
41033
41034
41035 for subdir in $SUBDIRS; do
41036 if test -d ${srcdir}/${subdir} ; then
41037 if test "$wxUSE_GUI" = "yes"; then
41038 if test ${subdir} = "samples"; then
41039 makefiles="samples/Makefile.in $makefiles"
41040 for sample in $SAMPLES_SUBDIRS; do
41041 if test -d $srcdir/samples/$sample; then
41042 makefiles="samples/$sample/Makefile.in $makefiles"
41043 fi
41044 done
41045 else
41046 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41047 eval "disabled=\$$disabled_var"
41048 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41049 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41050 fi
41051 else
41052 if test ${subdir} = "samples"; then
41053 makefiles="samples/Makefile.in $makefiles"
41054 for sample in `echo $SAMPLES_SUBDIRS`; do
41055 if test -d $srcdir/samples/$sample; then
41056 makefiles="samples/$sample/Makefile.in $makefiles"
41057 fi
41058 done
41059 elif test ${subdir} = "utils"; then
41060 makefiles=""
41061 for util in ifacecheck ; do
41062 if test -d $srcdir/utils/$util ; then
41063 makefiles="utils/$util/src/Makefile.in \
41064 $makefiles"
41065 fi
41066 done
41067 else
41068 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41069 fi
41070 fi
41071
41072 for mkin in $makefiles ; do
41073 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41074 ac_config_files="$ac_config_files $mk"
41075
41076 done
41077 fi
41078 done
41079 fi
41080 cat >confcache <<\_ACEOF
41081 # This file is a shell script that caches the results of configure
41082 # tests run on this system so they can be shared between configure
41083 # scripts and configure runs, see configure's option --config-cache.
41084 # It is not useful on other systems. If it contains results you don't
41085 # want to keep, you may remove or edit it.
41086 #
41087 # config.status only pays attention to the cache file if you give it
41088 # the --recheck option to rerun configure.
41089 #
41090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41092 # following values.
41093
41094 _ACEOF
41095
41096 # The following way of writing the cache mishandles newlines in values,
41097 # but we know of no workaround that is simple, portable, and efficient.
41098 # So, we kill variables containing newlines.
41099 # Ultrix sh set writes to stderr and can't be redirected directly,
41100 # and sets the high bit in the cache file unless we assign to the vars.
41101 (
41102 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41103 eval ac_val=\$$ac_var
41104 case $ac_val in #(
41105 *${as_nl}*)
41106 case $ac_var in #(
41107 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41108 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41109 esac
41110 case $ac_var in #(
41111 _ | IFS | as_nl) ;; #(
41112 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41113 *) { eval $ac_var=; unset $ac_var;} ;;
41114 esac ;;
41115 esac
41116 done
41117
41118 (set) 2>&1 |
41119 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41120 *${as_nl}ac_space=\ *)
41121 # `set' does not quote correctly, so add quotes: double-quote
41122 # substitution turns \\\\ into \\, and sed turns \\ into \.
41123 sed -n \
41124 "s/'/'\\\\''/g;
41125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41126 ;; #(
41127 *)
41128 # `set' quotes correctly as required by POSIX, so do not add quotes.
41129 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41130 ;;
41131 esac |
41132 sort
41133 ) |
41134 sed '
41135 /^ac_cv_env_/b end
41136 t clear
41137 :clear
41138 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41139 t end
41140 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41141 :end' >>confcache
41142 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41143 if test -w "$cache_file"; then
41144 if test "x$cache_file" != "x/dev/null"; then
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41146 $as_echo "$as_me: updating cache $cache_file" >&6;}
41147 if test ! -f "$cache_file" || test -h "$cache_file"; then
41148 cat confcache >"$cache_file"
41149 else
41150 case $cache_file in #(
41151 */* | ?:*)
41152 mv -f confcache "$cache_file"$$ &&
41153 mv -f "$cache_file"$$ "$cache_file" ;; #(
41154 *)
41155 mv -f confcache "$cache_file" ;;
41156 esac
41157 fi
41158 fi
41159 else
41160 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41161 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41162 fi
41163 fi
41164 rm -f confcache
41165
41166 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41167 # Let make expand exec_prefix.
41168 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41169
41170 DEFS=-DHAVE_CONFIG_H
41171
41172 ac_libobjs=
41173 ac_ltlibobjs=
41174 U=
41175 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41176 # 1. Remove the extension, and $U if already installed.
41177 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41178 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41179 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41180 # will be set to the directory where LIBOBJS objects are built.
41181 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41182 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41183 done
41184 LIBOBJS=$ac_libobjs
41185
41186 LTLIBOBJS=$ac_ltlibobjs
41187
41188
41189
41190 : "${CONFIG_STATUS=./config.status}"
41191 ac_write_fail=0
41192 ac_clean_files_save=$ac_clean_files
41193 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41195 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41196 as_write_fail=0
41197 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41198 #! $SHELL
41199 # Generated by $as_me.
41200 # Run this file to recreate the current configuration.
41201 # Compiler output produced by configure, useful for debugging
41202 # configure, is in config.log if it exists.
41203
41204 debug=false
41205 ac_cs_recheck=false
41206 ac_cs_silent=false
41207
41208 SHELL=\${CONFIG_SHELL-$SHELL}
41209 export SHELL
41210 _ASEOF
41211 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41212 ## -------------------- ##
41213 ## M4sh Initialization. ##
41214 ## -------------------- ##
41215
41216 # Be more Bourne compatible
41217 DUALCASE=1; export DUALCASE # for MKS sh
41218 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41219 emulate sh
41220 NULLCMD=:
41221 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41222 # is contrary to our usage. Disable this feature.
41223 alias -g '${1+"$@"}'='"$@"'
41224 setopt NO_GLOB_SUBST
41225 else
41226 case `(set -o) 2>/dev/null` in #(
41227 *posix*) :
41228 set -o posix ;; #(
41229 *) :
41230 ;;
41231 esac
41232 fi
41233
41234
41235 as_nl='
41236 '
41237 export as_nl
41238 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41239 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41240 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41241 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41242 # Prefer a ksh shell builtin over an external printf program on Solaris,
41243 # but without wasting forks for bash or zsh.
41244 if test -z "$BASH_VERSION$ZSH_VERSION" \
41245 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41246 as_echo='print -r --'
41247 as_echo_n='print -rn --'
41248 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41249 as_echo='printf %s\n'
41250 as_echo_n='printf %s'
41251 else
41252 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41253 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41254 as_echo_n='/usr/ucb/echo -n'
41255 else
41256 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41257 as_echo_n_body='eval
41258 arg=$1;
41259 case $arg in #(
41260 *"$as_nl"*)
41261 expr "X$arg" : "X\\(.*\\)$as_nl";
41262 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41263 esac;
41264 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41265 '
41266 export as_echo_n_body
41267 as_echo_n='sh -c $as_echo_n_body as_echo'
41268 fi
41269 export as_echo_body
41270 as_echo='sh -c $as_echo_body as_echo'
41271 fi
41272
41273 # The user is always right.
41274 if test "${PATH_SEPARATOR+set}" != set; then
41275 PATH_SEPARATOR=:
41276 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41277 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41278 PATH_SEPARATOR=';'
41279 }
41280 fi
41281
41282
41283 # IFS
41284 # We need space, tab and new line, in precisely that order. Quoting is
41285 # there to prevent editors from complaining about space-tab.
41286 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41287 # splitting by setting IFS to empty value.)
41288 IFS=" "" $as_nl"
41289
41290 # Find who we are. Look in the path if we contain no directory separator.
41291 as_myself=
41292 case $0 in #((
41293 *[\\/]* ) as_myself=$0 ;;
41294 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41295 for as_dir in $PATH
41296 do
41297 IFS=$as_save_IFS
41298 test -z "$as_dir" && as_dir=.
41299 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41300 done
41301 IFS=$as_save_IFS
41302
41303 ;;
41304 esac
41305 # We did not find ourselves, most probably we were run as `sh COMMAND'
41306 # in which case we are not to be found in the path.
41307 if test "x$as_myself" = x; then
41308 as_myself=$0
41309 fi
41310 if test ! -f "$as_myself"; then
41311 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41312 exit 1
41313 fi
41314
41315 # Unset variables that we do not need and which cause bugs (e.g. in
41316 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41317 # suppresses any "Segmentation fault" message there. '((' could
41318 # trigger a bug in pdksh 5.2.14.
41319 for as_var in BASH_ENV ENV MAIL MAILPATH
41320 do eval test x\${$as_var+set} = xset \
41321 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41322 done
41323 PS1='$ '
41324 PS2='> '
41325 PS4='+ '
41326
41327 # NLS nuisances.
41328 LC_ALL=C
41329 export LC_ALL
41330 LANGUAGE=C
41331 export LANGUAGE
41332
41333 # CDPATH.
41334 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41335
41336
41337 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41338 # ----------------------------------------
41339 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41340 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41341 # script with STATUS, using 1 if that was 0.
41342 as_fn_error ()
41343 {
41344 as_status=$1; test $as_status -eq 0 && as_status=1
41345 if test "$4"; then
41346 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41347 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41348 fi
41349 $as_echo "$as_me: error: $2" >&2
41350 as_fn_exit $as_status
41351 } # as_fn_error
41352
41353
41354 # as_fn_set_status STATUS
41355 # -----------------------
41356 # Set $? to STATUS, without forking.
41357 as_fn_set_status ()
41358 {
41359 return $1
41360 } # as_fn_set_status
41361
41362 # as_fn_exit STATUS
41363 # -----------------
41364 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41365 as_fn_exit ()
41366 {
41367 set +e
41368 as_fn_set_status $1
41369 exit $1
41370 } # as_fn_exit
41371
41372 # as_fn_unset VAR
41373 # ---------------
41374 # Portably unset VAR.
41375 as_fn_unset ()
41376 {
41377 { eval $1=; unset $1;}
41378 }
41379 as_unset=as_fn_unset
41380 # as_fn_append VAR VALUE
41381 # ----------------------
41382 # Append the text in VALUE to the end of the definition contained in VAR. Take
41383 # advantage of any shell optimizations that allow amortized linear growth over
41384 # repeated appends, instead of the typical quadratic growth present in naive
41385 # implementations.
41386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41387 eval 'as_fn_append ()
41388 {
41389 eval $1+=\$2
41390 }'
41391 else
41392 as_fn_append ()
41393 {
41394 eval $1=\$$1\$2
41395 }
41396 fi # as_fn_append
41397
41398 # as_fn_arith ARG...
41399 # ------------------
41400 # Perform arithmetic evaluation on the ARGs, and store the result in the
41401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41402 # must be portable across $(()) and expr.
41403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41404 eval 'as_fn_arith ()
41405 {
41406 as_val=$(( $* ))
41407 }'
41408 else
41409 as_fn_arith ()
41410 {
41411 as_val=`expr "$@" || test $? -eq 1`
41412 }
41413 fi # as_fn_arith
41414
41415
41416 if expr a : '\(a\)' >/dev/null 2>&1 &&
41417 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41418 as_expr=expr
41419 else
41420 as_expr=false
41421 fi
41422
41423 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41424 as_basename=basename
41425 else
41426 as_basename=false
41427 fi
41428
41429 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41430 as_dirname=dirname
41431 else
41432 as_dirname=false
41433 fi
41434
41435 as_me=`$as_basename -- "$0" ||
41436 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41437 X"$0" : 'X\(//\)$' \| \
41438 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41439 $as_echo X/"$0" |
41440 sed '/^.*\/\([^/][^/]*\)\/*$/{
41441 s//\1/
41442 q
41443 }
41444 /^X\/\(\/\/\)$/{
41445 s//\1/
41446 q
41447 }
41448 /^X\/\(\/\).*/{
41449 s//\1/
41450 q
41451 }
41452 s/.*/./; q'`
41453
41454 # Avoid depending upon Character Ranges.
41455 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41456 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41457 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41458 as_cr_digits='0123456789'
41459 as_cr_alnum=$as_cr_Letters$as_cr_digits
41460
41461 ECHO_C= ECHO_N= ECHO_T=
41462 case `echo -n x` in #(((((
41463 -n*)
41464 case `echo 'xy\c'` in
41465 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41466 xy) ECHO_C='\c';;
41467 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41468 ECHO_T=' ';;
41469 esac;;
41470 *)
41471 ECHO_N='-n';;
41472 esac
41473
41474 rm -f conf$$ conf$$.exe conf$$.file
41475 if test -d conf$$.dir; then
41476 rm -f conf$$.dir/conf$$.file
41477 else
41478 rm -f conf$$.dir
41479 mkdir conf$$.dir 2>/dev/null
41480 fi
41481 if (echo >conf$$.file) 2>/dev/null; then
41482 if ln -s conf$$.file conf$$ 2>/dev/null; then
41483 as_ln_s='ln -s'
41484 # ... but there are two gotchas:
41485 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41486 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41487 # In both cases, we have to default to `cp -pR'.
41488 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41489 as_ln_s='cp -pR'
41490 elif ln conf$$.file conf$$ 2>/dev/null; then
41491 as_ln_s=ln
41492 else
41493 as_ln_s='cp -pR'
41494 fi
41495 else
41496 as_ln_s='cp -pR'
41497 fi
41498 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41499 rmdir conf$$.dir 2>/dev/null
41500
41501
41502 # as_fn_mkdir_p
41503 # -------------
41504 # Create "$as_dir" as a directory, including parents if necessary.
41505 as_fn_mkdir_p ()
41506 {
41507
41508 case $as_dir in #(
41509 -*) as_dir=./$as_dir;;
41510 esac
41511 test -d "$as_dir" || eval $as_mkdir_p || {
41512 as_dirs=
41513 while :; do
41514 case $as_dir in #(
41515 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41516 *) as_qdir=$as_dir;;
41517 esac
41518 as_dirs="'$as_qdir' $as_dirs"
41519 as_dir=`$as_dirname -- "$as_dir" ||
41520 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41521 X"$as_dir" : 'X\(//\)[^/]' \| \
41522 X"$as_dir" : 'X\(//\)$' \| \
41523 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41524 $as_echo X"$as_dir" |
41525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41526 s//\1/
41527 q
41528 }
41529 /^X\(\/\/\)[^/].*/{
41530 s//\1/
41531 q
41532 }
41533 /^X\(\/\/\)$/{
41534 s//\1/
41535 q
41536 }
41537 /^X\(\/\).*/{
41538 s//\1/
41539 q
41540 }
41541 s/.*/./; q'`
41542 test -d "$as_dir" && break
41543 done
41544 test -z "$as_dirs" || eval "mkdir $as_dirs"
41545 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41546
41547
41548 } # as_fn_mkdir_p
41549 if mkdir -p . 2>/dev/null; then
41550 as_mkdir_p='mkdir -p "$as_dir"'
41551 else
41552 test -d ./-p && rmdir ./-p
41553 as_mkdir_p=false
41554 fi
41555
41556
41557 # as_fn_executable_p FILE
41558 # -----------------------
41559 # Test if FILE is an executable regular file.
41560 as_fn_executable_p ()
41561 {
41562 test -f "$1" && test -x "$1"
41563 } # as_fn_executable_p
41564 as_test_x='test -x'
41565 as_executable_p=as_fn_executable_p
41566
41567 # Sed expression to map a string onto a valid CPP name.
41568 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41569
41570 # Sed expression to map a string onto a valid variable name.
41571 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41572
41573
41574 exec 6>&1
41575 ## ----------------------------------- ##
41576 ## Main body of $CONFIG_STATUS script. ##
41577 ## ----------------------------------- ##
41578 _ASEOF
41579 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41580
41581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41582 # Save the log message, to keep $0 and so on meaningful, and to
41583 # report actual input values of CONFIG_FILES etc. instead of their
41584 # values after options handling.
41585 ac_log="
41586 This file was extended by wxWidgets $as_me 2.9.5, which was
41587 generated by GNU Autoconf 2.69. Invocation command line was
41588
41589 CONFIG_FILES = $CONFIG_FILES
41590 CONFIG_HEADERS = $CONFIG_HEADERS
41591 CONFIG_LINKS = $CONFIG_LINKS
41592 CONFIG_COMMANDS = $CONFIG_COMMANDS
41593 $ $0 $@
41594
41595 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41596 "
41597
41598 _ACEOF
41599
41600 case $ac_config_files in *"
41601 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41602 esac
41603
41604 case $ac_config_headers in *"
41605 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41606 esac
41607
41608
41609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41610 # Files that config.status was made for.
41611 config_files="$ac_config_files"
41612 config_headers="$ac_config_headers"
41613 config_commands="$ac_config_commands"
41614
41615 _ACEOF
41616
41617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41618 ac_cs_usage="\
41619 \`$as_me' instantiates files and other configuration actions
41620 from templates according to the current configuration. Unless the files
41621 and actions are specified as TAGs, all are instantiated by default.
41622
41623 Usage: $0 [OPTION]... [TAG]...
41624
41625 -h, --help print this help, then exit
41626 -V, --version print version number and configuration settings, then exit
41627 --config print configuration, then exit
41628 -q, --quiet, --silent
41629 do not print progress messages
41630 -d, --debug don't remove temporary files
41631 --recheck update $as_me by reconfiguring in the same conditions
41632 --file=FILE[:TEMPLATE]
41633 instantiate the configuration file FILE
41634 --header=FILE[:TEMPLATE]
41635 instantiate the configuration header FILE
41636
41637 Configuration files:
41638 $config_files
41639
41640 Configuration headers:
41641 $config_headers
41642
41643 Configuration commands:
41644 $config_commands
41645
41646 Report bugs to <wx-dev@lists.wxwidgets.org>."
41647
41648 _ACEOF
41649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41650 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41651 ac_cs_version="\\
41652 wxWidgets config.status 2.9.5
41653 configured by $0, generated by GNU Autoconf 2.69,
41654 with options \\"\$ac_cs_config\\"
41655
41656 Copyright (C) 2012 Free Software Foundation, Inc.
41657 This config.status script is free software; the Free Software Foundation
41658 gives unlimited permission to copy, distribute and modify it."
41659
41660 ac_pwd='$ac_pwd'
41661 srcdir='$srcdir'
41662 INSTALL='$INSTALL'
41663 test -n "\$AWK" || AWK=awk
41664 _ACEOF
41665
41666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41667 # The default lists apply if the user does not specify any file.
41668 ac_need_defaults=:
41669 while test $# != 0
41670 do
41671 case $1 in
41672 --*=?*)
41673 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41674 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41675 ac_shift=:
41676 ;;
41677 --*=)
41678 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41679 ac_optarg=
41680 ac_shift=:
41681 ;;
41682 *)
41683 ac_option=$1
41684 ac_optarg=$2
41685 ac_shift=shift
41686 ;;
41687 esac
41688
41689 case $ac_option in
41690 # Handling of the options.
41691 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41692 ac_cs_recheck=: ;;
41693 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41694 $as_echo "$ac_cs_version"; exit ;;
41695 --config | --confi | --conf | --con | --co | --c )
41696 $as_echo "$ac_cs_config"; exit ;;
41697 --debug | --debu | --deb | --de | --d | -d )
41698 debug=: ;;
41699 --file | --fil | --fi | --f )
41700 $ac_shift
41701 case $ac_optarg in
41702 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41703 '') as_fn_error $? "missing file argument" ;;
41704 esac
41705 as_fn_append CONFIG_FILES " '$ac_optarg'"
41706 ac_need_defaults=false;;
41707 --header | --heade | --head | --hea )
41708 $ac_shift
41709 case $ac_optarg in
41710 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41711 esac
41712 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41713 ac_need_defaults=false;;
41714 --he | --h)
41715 # Conflict between --help and --header
41716 as_fn_error $? "ambiguous option: \`$1'
41717 Try \`$0 --help' for more information.";;
41718 --help | --hel | -h )
41719 $as_echo "$ac_cs_usage"; exit ;;
41720 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41721 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41722 ac_cs_silent=: ;;
41723
41724 # This is an error.
41725 -*) as_fn_error $? "unrecognized option: \`$1'
41726 Try \`$0 --help' for more information." ;;
41727
41728 *) as_fn_append ac_config_targets " $1"
41729 ac_need_defaults=false ;;
41730
41731 esac
41732 shift
41733 done
41734
41735 ac_configure_extra_args=
41736
41737 if $ac_cs_silent; then
41738 exec 6>/dev/null
41739 ac_configure_extra_args="$ac_configure_extra_args --silent"
41740 fi
41741
41742 _ACEOF
41743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41744 if \$ac_cs_recheck; then
41745 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41746 shift
41747 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41748 CONFIG_SHELL='$SHELL'
41749 export CONFIG_SHELL
41750 exec "\$@"
41751 fi
41752
41753 _ACEOF
41754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41755 exec 5>>config.log
41756 {
41757 echo
41758 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41759 ## Running $as_me. ##
41760 _ASBOX
41761 $as_echo "$ac_log"
41762 } >&5
41763
41764 _ACEOF
41765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41766 #
41767 # INIT-COMMANDS
41768 #
41769
41770 CPP="$CPP"
41771 infile="$srcdir/include/wx/msw/genrcdefs.h"
41772 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41773
41774
41775 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41777 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41778 LN_S="${LN_S}"
41779
41780
41781 _ACEOF
41782
41783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41784
41785 # Handling of arguments.
41786 for ac_config_target in $ac_config_targets
41787 do
41788 case $ac_config_target in
41789 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41790 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41791 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41792 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41793 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41794 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41795 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41796 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41797 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41798
41799 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41800 esac
41801 done
41802
41803
41804 # If the user did not use the arguments to specify the items to instantiate,
41805 # then the envvar interface is used. Set only those that are not.
41806 # We use the long form for the default assignment because of an extremely
41807 # bizarre bug on SunOS 4.1.3.
41808 if $ac_need_defaults; then
41809 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41810 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41811 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41812 fi
41813
41814 # Have a temporary directory for convenience. Make it in the build tree
41815 # simply because there is no reason against having it here, and in addition,
41816 # creating and moving files from /tmp can sometimes cause problems.
41817 # Hook for its removal unless debugging.
41818 # Note that there is a small window in which the directory will not be cleaned:
41819 # after its creation but before its name has been assigned to `$tmp'.
41820 $debug ||
41821 {
41822 tmp= ac_tmp=
41823 trap 'exit_status=$?
41824 : "${ac_tmp:=$tmp}"
41825 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
41826 ' 0
41827 trap 'as_fn_exit 1' 1 2 13 15
41828 }
41829 # Create a (secure) tmp directory for tmp files.
41830
41831 {
41832 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41833 test -d "$tmp"
41834 } ||
41835 {
41836 tmp=./conf$$-$RANDOM
41837 (umask 077 && mkdir "$tmp")
41838 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41839 ac_tmp=$tmp
41840
41841 # Set up the scripts for CONFIG_FILES section.
41842 # No need to generate them if there are no CONFIG_FILES.
41843 # This happens for instance with `./config.status config.h'.
41844 if test -n "$CONFIG_FILES"; then
41845
41846
41847 ac_cr=`echo X | tr X '\015'`
41848 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41849 # But we know of no other shell where ac_cr would be empty at this
41850 # point, so we can use a bashism as a fallback.
41851 if test "x$ac_cr" = x; then
41852 eval ac_cr=\$\'\\r\'
41853 fi
41854 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41855 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41856 ac_cs_awk_cr='\\r'
41857 else
41858 ac_cs_awk_cr=$ac_cr
41859 fi
41860
41861 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
41862 _ACEOF
41863
41864
41865 {
41866 echo "cat >conf$$subs.awk <<_ACEOF" &&
41867 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41868 echo "_ACEOF"
41869 } >conf$$subs.sh ||
41870 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41871 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41872 ac_delim='%!_!# '
41873 for ac_last_try in false false false false false :; do
41874 . ./conf$$subs.sh ||
41875 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41876
41877 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41878 if test $ac_delim_n = $ac_delim_num; then
41879 break
41880 elif $ac_last_try; then
41881 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41882 else
41883 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41884 fi
41885 done
41886 rm -f conf$$subs.sh
41887
41888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41889 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
41890 _ACEOF
41891 sed -n '
41892 h
41893 s/^/S["/; s/!.*/"]=/
41894 p
41895 g
41896 s/^[^!]*!//
41897 :repl
41898 t repl
41899 s/'"$ac_delim"'$//
41900 t delim
41901 :nl
41902 h
41903 s/\(.\{148\}\)..*/\1/
41904 t more1
41905 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41906 p
41907 n
41908 b repl
41909 :more1
41910 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41911 p
41912 g
41913 s/.\{148\}//
41914 t nl
41915 :delim
41916 h
41917 s/\(.\{148\}\)..*/\1/
41918 t more2
41919 s/["\\]/\\&/g; s/^/"/; s/$/"/
41920 p
41921 b
41922 :more2
41923 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41924 p
41925 g
41926 s/.\{148\}//
41927 t delim
41928 ' <conf$$subs.awk | sed '
41929 /^[^""]/{
41930 N
41931 s/\n//
41932 }
41933 ' >>$CONFIG_STATUS || ac_write_fail=1
41934 rm -f conf$$subs.awk
41935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41936 _ACAWK
41937 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
41938 for (key in S) S_is_set[key] = 1
41939 FS = "\a"
41940
41941 }
41942 {
41943 line = $ 0
41944 nfields = split(line, field, "@")
41945 substed = 0
41946 len = length(field[1])
41947 for (i = 2; i < nfields; i++) {
41948 key = field[i]
41949 keylen = length(key)
41950 if (S_is_set[key]) {
41951 value = S[key]
41952 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41953 len += length(value) + length(field[++i])
41954 substed = 1
41955 } else
41956 len += 1 + keylen
41957 }
41958
41959 print line
41960 }
41961
41962 _ACAWK
41963 _ACEOF
41964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41965 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41966 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41967 else
41968 cat
41969 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
41970 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
41971 _ACEOF
41972
41973 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41974 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
41975 # trailing colons and then remove the whole line if VPATH becomes empty
41976 # (actually we leave an empty line to preserve line numbers).
41977 if test "x$srcdir" = x.; then
41978 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41979 h
41980 s///
41981 s/^/:/
41982 s/[ ]*$/:/
41983 s/:\$(srcdir):/:/g
41984 s/:\${srcdir}:/:/g
41985 s/:@srcdir@:/:/g
41986 s/^:*//
41987 s/:*$//
41988 x
41989 s/\(=[ ]*\).*/\1/
41990 G
41991 s/\n//
41992 s/^[^=]*=[ ]*$//
41993 }'
41994 fi
41995
41996 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41997 fi # test -n "$CONFIG_FILES"
41998
41999 # Set up the scripts for CONFIG_HEADERS section.
42000 # No need to generate them if there are no CONFIG_HEADERS.
42001 # This happens for instance with `./config.status Makefile'.
42002 if test -n "$CONFIG_HEADERS"; then
42003 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
42004 BEGIN {
42005 _ACEOF
42006
42007 # Transform confdefs.h into an awk script `defines.awk', embedded as
42008 # here-document in config.status, that substitutes the proper values into
42009 # config.h.in to produce config.h.
42010
42011 # Create a delimiter string that does not exist in confdefs.h, to ease
42012 # handling of long lines.
42013 ac_delim='%!_!# '
42014 for ac_last_try in false false :; do
42015 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
42016 if test -z "$ac_tt"; then
42017 break
42018 elif $ac_last_try; then
42019 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42020 else
42021 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42022 fi
42023 done
42024
42025 # For the awk script, D is an array of macro values keyed by name,
42026 # likewise P contains macro parameters if any. Preserve backslash
42027 # newline sequences.
42028
42029 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42030 sed -n '
42031 s/.\{148\}/&'"$ac_delim"'/g
42032 t rset
42033 :rset
42034 s/^[ ]*#[ ]*define[ ][ ]*/ /
42035 t def
42036 d
42037 :def
42038 s/\\$//
42039 t bsnl
42040 s/["\\]/\\&/g
42041 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42042 D["\1"]=" \3"/p
42043 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42044 d
42045 :bsnl
42046 s/["\\]/\\&/g
42047 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42048 D["\1"]=" \3\\\\\\n"\\/p
42049 t cont
42050 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42051 t cont
42052 d
42053 :cont
42054 n
42055 s/.\{148\}/&'"$ac_delim"'/g
42056 t clear
42057 :clear
42058 s/\\$//
42059 t bsnlc
42060 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42061 d
42062 :bsnlc
42063 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42064 b cont
42065 ' <confdefs.h | sed '
42066 s/'"$ac_delim"'/"\\\
42067 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42068
42069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42070 for (key in D) D_is_set[key] = 1
42071 FS = "\a"
42072 }
42073 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42074 line = \$ 0
42075 split(line, arg, " ")
42076 if (arg[1] == "#") {
42077 defundef = arg[2]
42078 mac1 = arg[3]
42079 } else {
42080 defundef = substr(arg[1], 2)
42081 mac1 = arg[2]
42082 }
42083 split(mac1, mac2, "(") #)
42084 macro = mac2[1]
42085 prefix = substr(line, 1, index(line, defundef) - 1)
42086 if (D_is_set[macro]) {
42087 # Preserve the white space surrounding the "#".
42088 print prefix "define", macro P[macro] D[macro]
42089 next
42090 } else {
42091 # Replace #undef with comments. This is necessary, for example,
42092 # in the case of _POSIX_SOURCE, which is predefined and required
42093 # on some systems where configure will not decide to define it.
42094 if (defundef == "undef") {
42095 print "/*", prefix defundef, macro, "*/"
42096 next
42097 }
42098 }
42099 }
42100 { print }
42101 _ACAWK
42102 _ACEOF
42103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42104 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42105 fi # test -n "$CONFIG_HEADERS"
42106
42107
42108 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42109 shift
42110 for ac_tag
42111 do
42112 case $ac_tag in
42113 :[FHLC]) ac_mode=$ac_tag; continue;;
42114 esac
42115 case $ac_mode$ac_tag in
42116 :[FHL]*:*);;
42117 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42118 :[FH]-) ac_tag=-:-;;
42119 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42120 esac
42121 ac_save_IFS=$IFS
42122 IFS=:
42123 set x $ac_tag
42124 IFS=$ac_save_IFS
42125 shift
42126 ac_file=$1
42127 shift
42128
42129 case $ac_mode in
42130 :L) ac_source=$1;;
42131 :[FH])
42132 ac_file_inputs=
42133 for ac_f
42134 do
42135 case $ac_f in
42136 -) ac_f="$ac_tmp/stdin";;
42137 *) # Look for the file first in the build tree, then in the source tree
42138 # (if the path is not absolute). The absolute path cannot be DOS-style,
42139 # because $ac_f cannot contain `:'.
42140 test -f "$ac_f" ||
42141 case $ac_f in
42142 [\\/$]*) false;;
42143 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42144 esac ||
42145 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42146 esac
42147 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42148 as_fn_append ac_file_inputs " '$ac_f'"
42149 done
42150
42151 # Let's still pretend it is `configure' which instantiates (i.e., don't
42152 # use $as_me), people would be surprised to read:
42153 # /* config.h. Generated by config.status. */
42154 configure_input='Generated from '`
42155 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42156 `' by configure.'
42157 if test x"$ac_file" != x-; then
42158 configure_input="$ac_file. $configure_input"
42159 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42160 $as_echo "$as_me: creating $ac_file" >&6;}
42161 fi
42162 # Neutralize special characters interpreted by sed in replacement strings.
42163 case $configure_input in #(
42164 *\&* | *\|* | *\\* )
42165 ac_sed_conf_input=`$as_echo "$configure_input" |
42166 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42167 *) ac_sed_conf_input=$configure_input;;
42168 esac
42169
42170 case $ac_tag in
42171 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42173 esac
42174 ;;
42175 esac
42176
42177 ac_dir=`$as_dirname -- "$ac_file" ||
42178 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42179 X"$ac_file" : 'X\(//\)[^/]' \| \
42180 X"$ac_file" : 'X\(//\)$' \| \
42181 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42182 $as_echo X"$ac_file" |
42183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42184 s//\1/
42185 q
42186 }
42187 /^X\(\/\/\)[^/].*/{
42188 s//\1/
42189 q
42190 }
42191 /^X\(\/\/\)$/{
42192 s//\1/
42193 q
42194 }
42195 /^X\(\/\).*/{
42196 s//\1/
42197 q
42198 }
42199 s/.*/./; q'`
42200 as_dir="$ac_dir"; as_fn_mkdir_p
42201 ac_builddir=.
42202
42203 case "$ac_dir" in
42204 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42205 *)
42206 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42207 # A ".." for each directory in $ac_dir_suffix.
42208 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42209 case $ac_top_builddir_sub in
42210 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42211 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42212 esac ;;
42213 esac
42214 ac_abs_top_builddir=$ac_pwd
42215 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42216 # for backward compatibility:
42217 ac_top_builddir=$ac_top_build_prefix
42218
42219 case $srcdir in
42220 .) # We are building in place.
42221 ac_srcdir=.
42222 ac_top_srcdir=$ac_top_builddir_sub
42223 ac_abs_top_srcdir=$ac_pwd ;;
42224 [\\/]* | ?:[\\/]* ) # Absolute name.
42225 ac_srcdir=$srcdir$ac_dir_suffix;
42226 ac_top_srcdir=$srcdir
42227 ac_abs_top_srcdir=$srcdir ;;
42228 *) # Relative name.
42229 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42230 ac_top_srcdir=$ac_top_build_prefix$srcdir
42231 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42232 esac
42233 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42234
42235
42236 case $ac_mode in
42237 :F)
42238 #
42239 # CONFIG_FILE
42240 #
42241
42242 case $INSTALL in
42243 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42244 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42245 esac
42246 _ACEOF
42247
42248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42249 # If the template does not know about datarootdir, expand it.
42250 # FIXME: This hack should be removed a few years after 2.60.
42251 ac_datarootdir_hack=; ac_datarootdir_seen=
42252 ac_sed_dataroot='
42253 /datarootdir/ {
42254 p
42255 q
42256 }
42257 /@datadir@/p
42258 /@docdir@/p
42259 /@infodir@/p
42260 /@localedir@/p
42261 /@mandir@/p'
42262 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42263 *datarootdir*) ac_datarootdir_seen=yes;;
42264 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42266 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42267 _ACEOF
42268 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42269 ac_datarootdir_hack='
42270 s&@datadir@&$datadir&g
42271 s&@docdir@&$docdir&g
42272 s&@infodir@&$infodir&g
42273 s&@localedir@&$localedir&g
42274 s&@mandir@&$mandir&g
42275 s&\\\${datarootdir}&$datarootdir&g' ;;
42276 esac
42277 _ACEOF
42278
42279 # Neutralize VPATH when `$srcdir' = `.'.
42280 # Shell code in configure.ac might set extrasub.
42281 # FIXME: do we really want to maintain this feature?
42282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42283 ac_sed_extra="$ac_vpsub
42284 $extrasub
42285 _ACEOF
42286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42287 :t
42288 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42289 s|@configure_input@|$ac_sed_conf_input|;t t
42290 s&@top_builddir@&$ac_top_builddir_sub&;t t
42291 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42292 s&@srcdir@&$ac_srcdir&;t t
42293 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42294 s&@top_srcdir@&$ac_top_srcdir&;t t
42295 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42296 s&@builddir@&$ac_builddir&;t t
42297 s&@abs_builddir@&$ac_abs_builddir&;t t
42298 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42299 s&@INSTALL@&$ac_INSTALL&;t t
42300 $ac_datarootdir_hack
42301 "
42302 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
42303 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42304
42305 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42306 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
42307 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42308 "$ac_tmp/out"`; test -z "$ac_out"; } &&
42309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42310 which seems to be undefined. Please make sure it is defined" >&5
42311 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42312 which seems to be undefined. Please make sure it is defined" >&2;}
42313
42314 rm -f "$ac_tmp/stdin"
42315 case $ac_file in
42316 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42317 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42318 esac \
42319 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42320 ;;
42321 :H)
42322 #
42323 # CONFIG_HEADER
42324 #
42325 if test x"$ac_file" != x-; then
42326 {
42327 $as_echo "/* $configure_input */" \
42328 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42329 } >"$ac_tmp/config.h" \
42330 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42331 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42332 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42333 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42334 else
42335 rm -f "$ac_file"
42336 mv "$ac_tmp/config.h" "$ac_file" \
42337 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42338 fi
42339 else
42340 $as_echo "/* $configure_input */" \
42341 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42342 || as_fn_error $? "could not create -" "$LINENO" 5
42343 fi
42344 ;;
42345
42346 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42347 $as_echo "$as_me: executing $ac_file commands" >&6;}
42348 ;;
42349 esac
42350
42351
42352 case $ac_file$ac_mode in
42353 "rcdefs.h":C)
42354 mkdir -p $outdir &&
42355 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42356 ;;
42357 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42358 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42359 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42360 "wx-config":C) rm -f wx-config
42361 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42362 ;;
42363
42364 esac
42365 done # for ac_tag
42366
42367
42368 as_fn_exit 0
42369 _ACEOF
42370 ac_clean_files=$ac_clean_files_save
42371
42372 test $ac_write_fail = 0 ||
42373 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42374
42375
42376 # configure is writing to config.log, and then calls config.status.
42377 # config.status does its own redirection, appending to config.log.
42378 # Unfortunately, on DOS this fails, as config.log is still kept open
42379 # by configure, so config.status won't be able to write to it; its
42380 # output is simply discarded. So we exec the FD to /dev/null,
42381 # effectively closing config.log, so it can be properly (re)opened and
42382 # appended to by config.status. When coming back to configure, we
42383 # need to make the FD available again.
42384 if test "$no_create" != yes; then
42385 ac_cs_success=:
42386 ac_config_status_args=
42387 test "$silent" = yes &&
42388 ac_config_status_args="$ac_config_status_args --quiet"
42389 exec 5>/dev/null
42390 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42391 exec 5>>config.log
42392 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42393 # would make configure fail if this is the last instruction.
42394 $ac_cs_success || as_fn_exit 1
42395 fi
42396
42397 #
42398 # CONFIG_SUBDIRS section.
42399 #
42400 if test "$no_recursion" != yes; then
42401
42402 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42403 # so they do not pile up.
42404 ac_sub_configure_args=
42405 ac_prev=
42406 eval "set x $ac_configure_args"
42407 shift
42408 for ac_arg
42409 do
42410 if test -n "$ac_prev"; then
42411 ac_prev=
42412 continue
42413 fi
42414 case $ac_arg in
42415 -cache-file | --cache-file | --cache-fil | --cache-fi \
42416 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42417 ac_prev=cache_file ;;
42418 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42419 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42420 | --c=*)
42421 ;;
42422 --config-cache | -C)
42423 ;;
42424 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42425 ac_prev=srcdir ;;
42426 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42427 ;;
42428 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42429 ac_prev=prefix ;;
42430 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42431 ;;
42432 --disable-option-checking)
42433 ;;
42434 *)
42435 case $ac_arg in
42436 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42437 esac
42438 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42439 esac
42440 done
42441
42442 # Always prepend --prefix to ensure using the same prefix
42443 # in subdir configurations.
42444 ac_arg="--prefix=$prefix"
42445 case $ac_arg in
42446 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42447 esac
42448 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42449
42450 # Pass --silent
42451 if test "$silent" = yes; then
42452 ac_sub_configure_args="--silent $ac_sub_configure_args"
42453 fi
42454
42455 # Always prepend --disable-option-checking to silence warnings, since
42456 # different subdirs can have different --enable and --with options.
42457 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42458
42459 ac_popdir=`pwd`
42460 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42461
42462 # Do not complain, so a configure script can configure whichever
42463 # parts of a large source tree are present.
42464 test -d "$srcdir/$ac_dir" || continue
42465
42466 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42467 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42468 $as_echo "$ac_msg" >&6
42469 as_dir="$ac_dir"; as_fn_mkdir_p
42470 ac_builddir=.
42471
42472 case "$ac_dir" in
42473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42474 *)
42475 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42476 # A ".." for each directory in $ac_dir_suffix.
42477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42478 case $ac_top_builddir_sub in
42479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42481 esac ;;
42482 esac
42483 ac_abs_top_builddir=$ac_pwd
42484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42485 # for backward compatibility:
42486 ac_top_builddir=$ac_top_build_prefix
42487
42488 case $srcdir in
42489 .) # We are building in place.
42490 ac_srcdir=.
42491 ac_top_srcdir=$ac_top_builddir_sub
42492 ac_abs_top_srcdir=$ac_pwd ;;
42493 [\\/]* | ?:[\\/]* ) # Absolute name.
42494 ac_srcdir=$srcdir$ac_dir_suffix;
42495 ac_top_srcdir=$srcdir
42496 ac_abs_top_srcdir=$srcdir ;;
42497 *) # Relative name.
42498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42499 ac_top_srcdir=$ac_top_build_prefix$srcdir
42500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42501 esac
42502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42503
42504
42505 cd "$ac_dir"
42506
42507 # Check for guested configure; otherwise get Cygnus style configure.
42508 if test -f "$ac_srcdir/configure.gnu"; then
42509 ac_sub_configure=$ac_srcdir/configure.gnu
42510 elif test -f "$ac_srcdir/configure"; then
42511 ac_sub_configure=$ac_srcdir/configure
42512 elif test -f "$ac_srcdir/configure.in"; then
42513 # This should be Cygnus configure.
42514 ac_sub_configure=$ac_aux_dir/configure
42515 else
42516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42517 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42518 ac_sub_configure=
42519 fi
42520
42521 # The recursion is here.
42522 if test -n "$ac_sub_configure"; then
42523 # Make the cache file name correct relative to the subdirectory.
42524 case $cache_file in
42525 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42526 *) # Relative name.
42527 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42528 esac
42529
42530 { $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
42531 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42532 # The eval makes quoting arguments work.
42533 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42534 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42535 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42536 fi
42537
42538 cd "$ac_popdir"
42539 done
42540 fi
42541 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42543 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42544 fi
42545
42546
42547 echo
42548 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42549 echo ""
42550 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42551 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42552 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42553 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42554 if test "$wxUSE_UNICODE" = "yes"; then
42555 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42556 echo " (using UTF-8)"
42557 else
42558 echo " (using wchar_t)"
42559 fi
42560 else
42561 echo
42562 fi
42563
42564 echo " What level of wxWidgets compatibility should be enabled?"
42565 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42566 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42567
42568 echo " Which libraries should wxWidgets use?"
42569 echo " STL ${wxUSE_STL}"
42570 echo " jpeg ${wxUSE_LIBJPEG-none}"
42571 echo " png ${wxUSE_LIBPNG-none}"
42572 echo " regex ${wxUSE_REGEX}"
42573 echo " tiff ${wxUSE_LIBTIFF-none}"
42574 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42575 echo " xpm ${wxUSE_LIBXPM-none}"
42576 fi
42577 echo " zlib ${wxUSE_ZLIB}"
42578 echo " expat ${wxUSE_EXPAT}"
42579 echo " libmspack ${wxUSE_LIBMSPACK}"
42580 echo " sdl ${wxUSE_LIBSDL}"
42581
42582 echo ""
42583