]> git.saurik.com Git - wxWidgets.git/blob - configure
0a0cfd3d8e5f73f17add1fa857f0a2269ed794de
[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.67 for wxWidgets 2.9.4.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='print -r --'
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo='printf %s\n'
54 as_echo_n='printf %s'
55 else
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
59 else
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 as_echo_n_body='eval
62 arg=$1;
63 case $arg in #(
64 *"$as_nl"*)
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 esac;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 '
70 export as_echo_n_body
71 as_echo_n='sh -c $as_echo_n_body as_echo'
72 fi
73 export as_echo_body
74 as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" "" $as_nl"
93
94 # Find who we are. Look in the path if we contain no directory separator.
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 fi
226
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 else
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: wx-dev@lists.wxwidgets.org about your system, including
236 $0: any error possibly output before this message. Then
237 $0: install a modern shell, or manually run the script
238 $0: under such a shell if you do have one."
239 fi
240 exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258 { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267 return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275 set +e
276 as_fn_set_status $1
277 exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286 case $as_dir in #(
287 -*) as_dir=./$as_dir;;
288 esac
289 test -d "$as_dir" || eval $as_mkdir_p || {
290 as_dirs=
291 while :; do
292 case $as_dir in #(
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 *) as_qdir=$as_dir;;
295 esac
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)[^/].*/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)$/{
312 s//\1/
313 q
314 }
315 /^X\(\/\).*/{
316 s//\1/
317 q
318 }
319 s/.*/./; q'`
320 test -d "$as_dir" && break
321 done
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
335 {
336 eval $1+=\$2
337 }'
338 else
339 as_fn_append ()
340 {
341 eval $1=\$$1\$2
342 }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 eval 'as_fn_arith ()
352 {
353 as_val=$(( $* ))
354 }'
355 else
356 as_fn_arith ()
357 {
358 as_val=`expr "$@" || test $? -eq 1`
359 }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370 as_status=$1; test $as_status -eq 0 && as_status=1
371 if test "$4"; then
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 fi
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 as_expr=expr
382 else
383 as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 as_basename=basename
388 else
389 as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_dirname=dirname
394 else
395 as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\/\)$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\).*/{
412 s//\1/
413 q
414 }
415 s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
430 sed -n '
431 p
432 /[$]LINENO/=
433 ' <$as_myself |
434 sed '
435 s/[$]LINENO.*/&-/
436 t lineno
437 b
438 :lineno
439 N
440 :loop
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 t loop
443 s/-\n.*//
444 ' >$as_me.lineno &&
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
451 . "./$as_me.lineno"
452 # Exit status is that of the last command.
453 exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 xy) ECHO_C='\c';;
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 ECHO_T=' ';;
464 esac;;
465 *)
466 ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
472 else
473 rm -f conf$$.dir
474 mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 as_ln_s='ln -s'
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 as_ln_s='cp -p'
485 elif ln conf$$.file conf$$ 2>/dev/null; then
486 as_ln_s=ln
487 else
488 as_ln_s='cp -p'
489 fi
490 else
491 as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
498 else
499 test -d ./-p && rmdir ./-p
500 as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504 as_test_x='test -x'
505 else
506 if ls -dL / >/dev/null 2>&1; then
507 as_ls_L_option=L
508 else
509 as_ls_L_option=
510 fi
511 as_test_x='
512 eval sh -c '\''
513 if test -d "$1"; then
514 test -d "$1/.";
515 else
516 case $1 in #(
517 -*)set "./$1";;
518 esac;
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
521 '\'' sh
522 '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533 test -n "$DJDIR" || exec 7<&0 </dev/null
534 exec 6>&1
535
536 # Name of the host.
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
541 #
542 # Initializations.
543 #
544 ac_default_prefix=/usr/local
545 ac_clean_files=
546 ac_config_libobj_dir=.
547 LIBOBJS=
548 cross_compiling=no
549 subdirs=
550 MFLAGS=
551 MAKEFLAGS=
552
553 # Identity of this package.
554 PACKAGE_NAME='wxWidgets'
555 PACKAGE_TARNAME='wxwidgets'
556 PACKAGE_VERSION='2.9.4'
557 PACKAGE_STRING='wxWidgets 2.9.4'
558 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
559 PACKAGE_URL=''
560
561 ac_unique_file="wx-config.in"
562 # Factoring default headers for most tests.
563 ac_includes_default="\
564 #include <stdio.h>
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
567 #endif
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
570 #endif
571 #ifdef STDC_HEADERS
572 # include <stdlib.h>
573 # include <stddef.h>
574 #else
575 # ifdef HAVE_STDLIB_H
576 # include <stdlib.h>
577 # endif
578 #endif
579 #ifdef HAVE_STRING_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 # include <memory.h>
582 # endif
583 # include <string.h>
584 #endif
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
587 #endif
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
590 #endif
591 #ifdef HAVE_STDINT_H
592 # include <stdint.h>
593 #endif
594 #ifdef HAVE_UNISTD_H
595 # include <unistd.h>
596 #endif"
597
598 enable_option_checking=no
599 ac_subst_vars='LTLIBOBJS
600 LIBOBJS
601 CPPUNIT_CONFIG
602 DLLTOOL
603 GCC
604 MACSETFILE
605 POSTLINK_COMMAND
606 LIBWXMACRES
607 WX_RESOURCES_MACOSX_DATA
608 WX_RESOURCES_MACOSX_ASCII
609 RESPROGRAMOBJ
610 RESFLAGS
611 RESCOMP
612 WX_VERSION_TAG
613 DMALLOC_LIBS
614 OPENGL_LIBS
615 LDFLAGS_GL
616 SAMPLES_SUBDIRS
617 DISTDIR
618 GUIDIST
619 WXCONFIG_RESFLAGS
620 WXCONFIG_LDFLAGS_GUI
621 WXCONFIG_LDFLAGS
622 WXCONFIG_RPATH
623 WXCONFIG_LIBS
624 WXCONFIG_CXXFLAGS
625 WXCONFIG_CFLAGS
626 WXCONFIG_CPPFLAGS
627 WX_CHARTYPE
628 WX_SUBVERSION
629 WX_VERSION
630 WX_RELEASE
631 WIDGET_SET
632 cross_compiling
633 TOOLCHAIN_FULLNAME
634 TOOLCHAIN_NAME
635 TOOLKIT_DIR
636 TOOLKIT
637 WIN32INSTALL
638 AFMINSTALL
639 USE_GUI
640 WX_LIBRARY_BASENAME_GUI
641 WX_LIBRARY_BASENAME_NOGUI
642 SHARED
643 DEREZ
644 COND_wxUSE_ZLIB_builtin
645 COND_wxUSE_REGEX_builtin
646 COND_wxUSE_LIBTIFF_builtin
647 COND_wxUSE_LIBPNG_builtin
648 COND_wxUSE_LIBJPEG_builtin
649 COND_wxUSE_EXPAT_builtin
650 COND_WXUSE_ZLIB_BUILTIN
651 COND_WXUSE_REGEX_BUILTIN
652 COND_WXUSE_LIBTIFF_BUILTIN
653 COND_WXUSE_LIBPNG_BUILTIN
654 COND_WXUSE_LIBJPEG_BUILTIN
655 COND_WXUSE_EXPAT_BUILTIN
656 COND_WXUNIV_1
657 COND_WXUNIV_0
658 COND_WITH_PLUGIN_SDL_1
659 COND_WINDOWS_IMPLIB_1
660 COND_USE_XRC_1
661 COND_USE_THREADS_1
662 COND_USE_THREADS_0
663 COND_USE_STC_1
664 COND_USE_SOVERSOLARIS_1
665 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
666 COND_USE_SOVERSION_0
667 COND_USE_SOVERLINUX_1
668 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
669 COND_USE_SOTWOSYMLINKS_1
670 COND_USE_RTTI_1
671 COND_USE_RTTI_0
672 COND_USE_PLUGINS_0
673 COND_USE_PCH_1
674 COND_USE_OPENGL_1
675 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
676 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
677 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
678 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
679 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
680 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
681 COND_USE_GUI_1_WXUNIV_1
682 COND_USE_GUI_1_WXUNIV_0
683 COND_USE_GUI_1_USE_OPENGL_1
684 COND_USE_GUI_1
685 COND_USE_GUI_0
686 COND_USE_EXCEPTIONS_1
687 COND_USE_EXCEPTIONS_0
688 COND_USE_CAIRO_1
689 COND_UNICODE_1
690 COND_TOOLKIT_X11_USE_GUI_1
691 COND_TOOLKIT_X11
692 COND_TOOLKIT_WINCE_WXUNIV_0
693 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
694 COND_TOOLKIT_WINCE_USE_GUI_1
695 COND_TOOLKIT_WINCE
696 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
697 COND_TOOLKIT_PM_USE_GUI_1
698 COND_TOOLKIT_PM
699 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
700 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
701 COND_TOOLKIT_OSX_IPHONE
702 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
703 COND_TOOLKIT_OSX_COCOA
704 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
705 COND_TOOLKIT_OSX_CARBON
706 COND_TOOLKIT_MSW_WXUNIV_0
707 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
708 COND_TOOLKIT_MSW_USE_GUI_1
709 COND_TOOLKIT_MSW
710 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_MOTIF_USE_GUI_1
712 COND_TOOLKIT_MOTIF
713 COND_TOOLKIT_MAC
714 COND_TOOLKIT_GTK_USE_GUI_1
715 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
717 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
721 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
722 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
724 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
725 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
726 COND_TOOLKIT_GTK
727 COND_TOOLKIT_DFB_USE_GUI_1
728 COND_TOOLKIT_DFB
729 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
730 COND_TOOLKIT_COCOA_USE_GUI_1
731 COND_TOOLKIT_COCOA
732 COND_TOOLKIT_
733 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
734 COND_SHARED_1
735 COND_SHARED_0_wxUSE_ZLIB_builtin
736 COND_SHARED_0_wxUSE_REGEX_builtin
737 COND_SHARED_0_wxUSE_EXPAT_builtin
738 COND_SHARED_0_USE_STC_1
739 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
740 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
741 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
742 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
743 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
744 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
745 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
746 COND_SHARED_0
747 COND_PLATFORM_WIN32_1_SHARED_0
748 COND_PLATFORM_WIN32_1
749 COND_PLATFORM_WIN32_0
750 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
751 COND_PLATFORM_UNIX_1_USE_GUI_1
752 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
753 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
754 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
755 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
756 COND_PLATFORM_UNIX_1
757 COND_PLATFORM_UNIX_0
758 COND_PLATFORM_OS2_1
759 COND_PLATFORM_MSDOS_1
760 COND_PLATFORM_MSDOS_0
761 COND_PLATFORM_MAC_1
762 COND_PLATFORM_MAC_0
763 COND_PLATFORM_MACOS_1
764 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
765 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
766 COND_PLATFORM_MACOSX_1_USE_GUI_1
767 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
768 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
769 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
770 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
771 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
772 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
773 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
774 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
775 COND_PLATFORM_MACOSX_1
776 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
777 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
778 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
779 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
780 COND_MONOLITHIC_1_SHARED_1
781 COND_MONOLITHIC_1_SHARED_0
782 COND_MONOLITHIC_1
783 COND_MONOLITHIC_0_USE_XRC_1
784 COND_MONOLITHIC_0_USE_WEBVIEW_1
785 COND_MONOLITHIC_0_USE_STC_1
786 COND_MONOLITHIC_0_USE_RICHTEXT_1
787 COND_MONOLITHIC_0_USE_RIBBON_1
788 COND_MONOLITHIC_0_USE_QA_1
789 COND_MONOLITHIC_0_USE_PROPGRID_1
790 COND_MONOLITHIC_0_USE_MEDIA_1
791 COND_MONOLITHIC_0_USE_HTML_1
792 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
793 COND_MONOLITHIC_0_USE_GUI_1
794 COND_MONOLITHIC_0_USE_AUI_1
795 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
796 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
797 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
798 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
799 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
800 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
801 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
802 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
803 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
804 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
805 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
806 COND_MONOLITHIC_0_SHARED_1
807 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
808 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
809 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
810 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
811 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
812 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
817 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
818 COND_MONOLITHIC_0_SHARED_0
819 COND_MONOLITHIC_0
820 COND_ICC_PCH_1
821 COND_GCC_PCH_1
822 COND_DEPS_TRACKING_1
823 COND_DEPS_TRACKING_0
824 COND_DEBUG_INFO_1
825 COND_DEBUG_INFO_0
826 COND_DEBUG_FLAG_1
827 COND_DEBUG_FLAG_0
828 COND_BUILD_release_UNICODE_1
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_DEBUG_INFO_default
831 COND_BUILD_release
832 COND_BUILD_debug_UNICODE_1
833 COND_BUILD_debug_UNICODE_0
834 COND_BUILD_debug_DEBUG_INFO_default
835 COND_BUILD_debug_DEBUG_FLAG_default
836 COND_BUILD_debug
837 COND_BUILD_RELEASE_UNICODE_1
838 COND_BUILD_RELEASE_UNICODE_0
839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
840 COND_BUILD_RELEASE
841 COND_BUILD_DEBUG_UNICODE_1
842 COND_BUILD_DEBUG_UNICODE_0
843 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
844 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
845 COND_BUILD_DEBUG
846 BK_MAKE_PCH
847 ICC_PCH_USE_SWITCH
848 ICC_PCH_CREATE_SWITCH
849 ICC_PCH
850 GCC_PCH
851 OBJCXXFLAGS
852 SETFILE
853 REZ
854 WINDRES
855 BK_DEPS
856 DEPS_TRACKING
857 SONAME_FLAG
858 USE_SOTWOSYMLINKS
859 USE_MACVERSION
860 USE_SOVERCYGWIN
861 USE_SOVERSOLARIS
862 USE_SOVERLINUX
863 USE_SOVERSION
864 WINDOWS_IMPLIB
865 PIC_FLAG
866 SHARED_LD_MODULE_CXX
867 SHARED_LD_MODULE_CC
868 SHARED_LD_CXX
869 SHARED_LD_CC
870 AIX_CXX_LD
871 dlldir
872 DLLPREFIX_MODULE
873 DLLPREFIX
874 LIBEXT
875 LIBPREFIX
876 DLLIMP_SUFFIX
877 SO_SUFFIX_MODULE
878 SO_SUFFIX
879 PLATFORM_BEOS
880 PLATFORM_OS2
881 PLATFORM_MACOSX
882 PLATFORM_MACOS
883 PLATFORM_MAC
884 PLATFORM_MSDOS
885 PLATFORM_WIN32
886 PLATFORM_UNIX
887 IF_GNU_MAKE
888 LDFLAGS_GUI
889 INSTALL_DIR
890 NM
891 STRIP
892 AROPTIONS
893 MAKE_SET
894 SET_MAKE
895 LN_S
896 INSTALL_DATA
897 INSTALL_SCRIPT
898 INSTALL_PROGRAM
899 RANLIB
900 CPPUNIT_LIBS
901 CPPUNIT_CFLAGS
902 HOST_SUFFIX
903 HEADER_PAD_OPTION
904 SAMPLES_RPATH_FLAG
905 DYLIB_RPATH_POSTLINK
906 DYLIB_RPATH_INSTALL
907 TOOLKIT_VERSION
908 TOOLKIT_LOWERCASE
909 DEBUG_FLAG
910 DEBUG_INFO
911 UNICODE
912 EXTRALIBS_HILDON
913 EXTRALIBS_GNOMEVFS
914 EXTRALIBS_GNOMEPRINT
915 EXTRALIBS_GTKPRINT
916 WITH_PLUGIN_SDL
917 EXTRALIBS_STC
918 EXTRALIBS_SDL
919 EXTRALIBS_OPENGL
920 EXTRALIBS_GUI
921 EXTRALIBS_MEDIA
922 EXTRALIBS_HTML
923 EXTRALIBS_XML
924 EXTRALIBS
925 CXXWARNINGS
926 USE_PLUGINS
927 MONOLITHIC
928 WXUNIV
929 WX_LIB_FLAVOUR
930 WX_FLAVOUR
931 OFFICIAL_BUILD
932 VENDOR
933 wxUSE_LIBTIFF
934 wxUSE_LIBPNG
935 wxUSE_LIBJPEG
936 wxUSE_EXPAT
937 wxUSE_REGEX
938 wxUSE_ZLIB
939 STD_GUI_LIBS
940 STD_BASE_LIBS
941 BUILT_WX_LIBS
942 ALL_WX_LIBS
943 GST_LIBS
944 GST_CFLAGS
945 CAIRO_LIBS
946 CAIRO_CFLAGS
947 WEBKIT_LIBS
948 WEBKIT_CFLAGS
949 COND_PYTHON
950 PYTHON
951 HILDON2_LIBS
952 HILDON2_CFLAGS
953 HILDON_LIBS
954 HILDON_CFLAGS
955 GNOMEVFS_LIBS
956 GNOMEVFS_CFLAGS
957 LIBGNOMEPRINTUI_LIBS
958 LIBGNOMEPRINTUI_CFLAGS
959 GTKPRINT_LIBS
960 GTKPRINT_CFLAGS
961 SDL_LIBS
962 SDL_CFLAGS
963 SDL_CONFIG
964 GXX_VERSION
965 LIBICONV
966 CXXFLAGS_VISIBILITY
967 CFLAGS_VISIBILITY
968 MesaGL_LIBS
969 MesaGL_CFLAGS
970 GLU_LIBS
971 GLU_CFLAGS
972 GL_LIBS
973 GL_CFLAGS
974 SM_LIBS
975 SM_CFLAGS
976 Xxf86vm_LIBS
977 Xxf86vm_CFLAGS
978 Xinerama_LIBS
979 Xinerama_CFLAGS
980 PANGOXFT_LIBS
981 PANGOXFT_CFLAGS
982 PANGOFT2_LIBS
983 PANGOFT2_CFLAGS
984 PANGOX_LIBS
985 PANGOX_CFLAGS
986 X_EXTRA_LIBS
987 X_LIBS
988 X_PRE_LIBS
989 X_CFLAGS
990 XMKMF
991 DIRECTFB_LIBS
992 DIRECTFB_CFLAGS
993 GTK_CONFIG
994 GTK_LIBS
995 GTK_CFLAGS
996 PKG_CONFIG
997 subdirs
998 CXXCPP
999 OSX_SW_VERS
1000 AR
1001 ac_ct_CXX
1002 CXXFLAGS
1003 CXX
1004 EGREP
1005 GREP
1006 CPP
1007 OBJEXT
1008 EXEEXT
1009 ac_ct_CC
1010 CPPFLAGS
1011 LDFLAGS
1012 CFLAGS
1013 CC
1014 wx_top_builddir
1015 host_os
1016 host_vendor
1017 host_cpu
1018 host
1019 build_os
1020 build_vendor
1021 build_cpu
1022 build
1023 target_alias
1024 host_alias
1025 build_alias
1026 LIBS
1027 ECHO_T
1028 ECHO_N
1029 ECHO_C
1030 DEFS
1031 mandir
1032 localedir
1033 libdir
1034 psdir
1035 pdfdir
1036 dvidir
1037 htmldir
1038 infodir
1039 docdir
1040 oldincludedir
1041 includedir
1042 localstatedir
1043 sharedstatedir
1044 sysconfdir
1045 datadir
1046 datarootdir
1047 libexecdir
1048 sbindir
1049 bindir
1050 program_transform_name
1051 prefix
1052 exec_prefix
1053 PACKAGE_URL
1054 PACKAGE_BUGREPORT
1055 PACKAGE_STRING
1056 PACKAGE_VERSION
1057 PACKAGE_TARNAME
1058 PACKAGE_NAME
1059 PATH_SEPARATOR
1060 SHELL'
1061 ac_subst_files=''
1062 ac_user_opts='
1063 enable_option_checking
1064 enable_gui
1065 enable_monolithic
1066 enable_plugins
1067 with_subdirs
1068 with_flavour
1069 enable_official_build
1070 enable_vendor
1071 enable_all_features
1072 enable_universal
1073 with_themes
1074 with_gtk
1075 with_motif
1076 with_osx_carbon
1077 with_osx_cocoa
1078 with_osx_iphone
1079 with_osx
1080 with_carbon
1081 with_cocoa
1082 with_iphone
1083 with_mac
1084 with_old_cocoa
1085 with_wine
1086 with_msw
1087 with_pm
1088 with_directfb
1089 with_microwin
1090 with_x11
1091 enable_nanox
1092 enable_gpe
1093 with_libpng
1094 with_libjpeg
1095 with_libtiff
1096 with_libxpm
1097 with_libiconv
1098 with_libmspack
1099 with_gtkprint
1100 with_gnomeprint
1101 with_gnomevfs
1102 with_hildon
1103 with_opengl
1104 with_dmalloc
1105 with_sdl
1106 with_regex
1107 with_zlib
1108 with_expat
1109 with_macosx_sdk
1110 with_macosx_version_min
1111 enable_debug
1112 enable_debug_flag
1113 enable_debug_info
1114 enable_debug_gdb
1115 enable_debug_cntxt
1116 enable_mem_tracing
1117 enable_shared
1118 enable_stl
1119 enable_std_containers
1120 enable_std_iostreams
1121 enable_std_string
1122 enable_std_string_conv_in_wxstring
1123 enable_unicode
1124 enable_mslu
1125 enable_utf8
1126 enable_utf8only
1127 enable_extended_rtti
1128 enable_omf
1129 enable_optimise
1130 enable_profile
1131 enable_no_rtti
1132 enable_no_exceptions
1133 enable_permissive
1134 enable_no_deps
1135 enable_vararg_macros
1136 enable_universal_binary
1137 enable_macosx_arch
1138 enable_compat26
1139 enable_compat28
1140 enable_rpath
1141 enable_objc_uniquifying
1142 enable_visibility
1143 enable_tls
1144 enable_intl
1145 enable_xlocale
1146 enable_config
1147 enable_protocols
1148 enable_ftp
1149 enable_http
1150 enable_fileproto
1151 enable_sockets
1152 enable_ipv6
1153 enable_ole
1154 enable_dataobj
1155 enable_ipc
1156 enable_baseevtloop
1157 enable_epollloop
1158 enable_selectloop
1159 enable_any
1160 enable_apple_ieee
1161 enable_arcstream
1162 enable_base64
1163 enable_backtrace
1164 enable_catch_segvs
1165 enable_cmdline
1166 enable_datetime
1167 enable_debugreport
1168 enable_dialupman
1169 enable_dynlib
1170 enable_dynamicloader
1171 enable_exceptions
1172 enable_ffile
1173 enable_file
1174 enable_filehistory
1175 enable_filesystem
1176 enable_fontenum
1177 enable_fontmap
1178 enable_fs_archive
1179 enable_fs_inet
1180 enable_fs_zip
1181 enable_fswatcher
1182 enable_geometry
1183 enable_log
1184 enable_longlong
1185 enable_mimetype
1186 enable_printfposparam
1187 enable_snglinst
1188 enable_sound
1189 enable_stdpaths
1190 enable_stopwatch
1191 enable_streams
1192 enable_sysoptions
1193 enable_tarstream
1194 enable_textbuf
1195 enable_textfile
1196 enable_timer
1197 enable_variant
1198 enable_zipstream
1199 enable_url
1200 enable_protocol
1201 enable_protocol_http
1202 enable_protocol_ftp
1203 enable_protocol_file
1204 enable_threads
1205 enable_iniconf
1206 enable_regkey
1207 enable_docview
1208 enable_help
1209 enable_mshtmlhelp
1210 enable_html
1211 enable_htmlhelp
1212 enable_xrc
1213 enable_aui
1214 enable_propgrid
1215 enable_ribbon
1216 enable_stc
1217 enable_constraints
1218 enable_loggui
1219 enable_logwin
1220 enable_logdialog
1221 enable_mdi
1222 enable_mdidoc
1223 enable_mediactrl
1224 enable_gstreamer8
1225 enable_richtext
1226 enable_postscript
1227 enable_printarch
1228 enable_svg
1229 enable_webkit
1230 enable_webview
1231 enable_graphics_ctx
1232 enable_clipboard
1233 enable_dnd
1234 enable_controls
1235 enable_markup
1236 enable_accel
1237 enable_animatectrl
1238 enable_bannerwindow
1239 enable_artstd
1240 enable_arttango
1241 enable_bmpbutton
1242 enable_bmpcombobox
1243 enable_button
1244 enable_calendar
1245 enable_caret
1246 enable_checkbox
1247 enable_checklst
1248 enable_choice
1249 enable_choicebook
1250 enable_collpane
1251 enable_colourpicker
1252 enable_combobox
1253 enable_comboctrl
1254 enable_commandlinkbutton
1255 enable_dataviewctrl
1256 enable_datepick
1257 enable_detect_sm
1258 enable_dirpicker
1259 enable_display
1260 enable_editablebox
1261 enable_filectrl
1262 enable_filepicker
1263 enable_fontpicker
1264 enable_gauge
1265 enable_grid
1266 enable_headerctrl
1267 enable_hyperlink
1268 enable_imaglist
1269 enable_infobar
1270 enable_listbook
1271 enable_listbox
1272 enable_listctrl
1273 enable_notebook
1274 enable_notifmsg
1275 enable_odcombobox
1276 enable_popupwin
1277 enable_radiobox
1278 enable_radiobtn
1279 enable_richmsgdlg
1280 enable_richtooltip
1281 enable_rearrangectrl
1282 enable_sash
1283 enable_scrollbar
1284 enable_searchctrl
1285 enable_slider
1286 enable_spinbtn
1287 enable_spinctrl
1288 enable_splitter
1289 enable_statbmp
1290 enable_statbox
1291 enable_statline
1292 enable_stattext
1293 enable_statusbar
1294 enable_taskbaricon
1295 enable_tbarnative
1296 enable_textctrl
1297 enable_tipwindow
1298 enable_togglebtn
1299 enable_toolbar
1300 enable_toolbook
1301 enable_treebook
1302 enable_treectrl
1303 enable_treelist
1304 enable_commondlg
1305 enable_aboutdlg
1306 enable_choicedlg
1307 enable_coldlg
1308 enable_filedlg
1309 enable_finddlg
1310 enable_fontdlg
1311 enable_dirdlg
1312 enable_msgdlg
1313 enable_numberdlg
1314 enable_splash
1315 enable_textdlg
1316 enable_tipdlg
1317 enable_progressdlg
1318 enable_wizarddlg
1319 enable_menus
1320 enable_miniframe
1321 enable_tooltips
1322 enable_splines
1323 enable_mousewheel
1324 enable_validators
1325 enable_busyinfo
1326 enable_hotkey
1327 enable_joystick
1328 enable_metafile
1329 enable_dragimage
1330 enable_accessibility
1331 enable_uiactionsim
1332 enable_dctransform
1333 enable_webviewwebkit
1334 enable_palette
1335 enable_image
1336 enable_gif
1337 enable_pcx
1338 enable_tga
1339 enable_iff
1340 enable_pnm
1341 enable_xpm
1342 enable_ico_cur
1343 enable_dccache
1344 enable_ps_in_msw
1345 enable_ownerdrawn
1346 enable_uxtheme
1347 enable_wxdib
1348 enable_webviewie
1349 enable_autoidman
1350 enable_largefile
1351 enable_gtktest
1352 with_gtk_prefix
1353 with_gtk_exec_prefix
1354 with_x
1355 with_libiconv_prefix
1356 with_sdl_prefix
1357 with_sdl_exec_prefix
1358 enable_sdltest
1359 enable_dependency_tracking
1360 enable_precomp_headers
1361 with_cppunit_prefix
1362 with_cppunit_exec_prefix
1363 '
1364 ac_precious_vars='build_alias
1365 host_alias
1366 target_alias
1367 CC
1368 CFLAGS
1369 LDFLAGS
1370 LIBS
1371 CPPFLAGS
1372 CPP
1373 CXX
1374 CXXFLAGS
1375 CCC
1376 CXXCPP
1377 PKG_CONFIG
1378 DIRECTFB_CFLAGS
1379 DIRECTFB_LIBS
1380 XMKMF
1381 PANGOX_CFLAGS
1382 PANGOX_LIBS
1383 PANGOFT2_CFLAGS
1384 PANGOFT2_LIBS
1385 PANGOXFT_CFLAGS
1386 PANGOXFT_LIBS
1387 Xinerama_CFLAGS
1388 Xinerama_LIBS
1389 Xxf86vm_CFLAGS
1390 Xxf86vm_LIBS
1391 SM_CFLAGS
1392 SM_LIBS
1393 GL_CFLAGS
1394 GL_LIBS
1395 GLU_CFLAGS
1396 GLU_LIBS
1397 MesaGL_CFLAGS
1398 MesaGL_LIBS
1399 GTKPRINT_CFLAGS
1400 GTKPRINT_LIBS
1401 LIBGNOMEPRINTUI_CFLAGS
1402 LIBGNOMEPRINTUI_LIBS
1403 GNOMEVFS_CFLAGS
1404 GNOMEVFS_LIBS
1405 HILDON_CFLAGS
1406 HILDON_LIBS
1407 HILDON2_CFLAGS
1408 HILDON2_LIBS
1409 WEBKIT_CFLAGS
1410 WEBKIT_LIBS
1411 CAIRO_CFLAGS
1412 CAIRO_LIBS
1413 GST_CFLAGS
1414 GST_LIBS'
1415 ac_subdirs_all='src/tiff
1416 src/expat'
1417
1418 # Initialize some variables set by options.
1419 ac_init_help=
1420 ac_init_version=false
1421 ac_unrecognized_opts=
1422 ac_unrecognized_sep=
1423 # The variables have the same names as the options, with
1424 # dashes changed to underlines.
1425 cache_file=/dev/null
1426 exec_prefix=NONE
1427 no_create=
1428 no_recursion=
1429 prefix=NONE
1430 program_prefix=NONE
1431 program_suffix=NONE
1432 program_transform_name=s,x,x,
1433 silent=
1434 site=
1435 srcdir=
1436 verbose=
1437 x_includes=NONE
1438 x_libraries=NONE
1439
1440 # Installation directory options.
1441 # These are left unexpanded so users can "make install exec_prefix=/foo"
1442 # and all the variables that are supposed to be based on exec_prefix
1443 # by default will actually change.
1444 # Use braces instead of parens because sh, perl, etc. also accept them.
1445 # (The list follows the same order as the GNU Coding Standards.)
1446 bindir='${exec_prefix}/bin'
1447 sbindir='${exec_prefix}/sbin'
1448 libexecdir='${exec_prefix}/libexec'
1449 datarootdir='${prefix}/share'
1450 datadir='${datarootdir}'
1451 sysconfdir='${prefix}/etc'
1452 sharedstatedir='${prefix}/com'
1453 localstatedir='${prefix}/var'
1454 includedir='${prefix}/include'
1455 oldincludedir='/usr/include'
1456 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1457 infodir='${datarootdir}/info'
1458 htmldir='${docdir}'
1459 dvidir='${docdir}'
1460 pdfdir='${docdir}'
1461 psdir='${docdir}'
1462 libdir='${exec_prefix}/lib'
1463 localedir='${datarootdir}/locale'
1464 mandir='${datarootdir}/man'
1465
1466 ac_prev=
1467 ac_dashdash=
1468 for ac_option
1469 do
1470 # If the previous option needs an argument, assign it.
1471 if test -n "$ac_prev"; then
1472 eval $ac_prev=\$ac_option
1473 ac_prev=
1474 continue
1475 fi
1476
1477 case $ac_option in
1478 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1479 *=) ac_optarg= ;;
1480 *) ac_optarg=yes ;;
1481 esac
1482
1483 # Accept the important Cygnus configure options, so we can diagnose typos.
1484
1485 case $ac_dashdash$ac_option in
1486 --)
1487 ac_dashdash=yes ;;
1488
1489 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1490 ac_prev=bindir ;;
1491 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1492 bindir=$ac_optarg ;;
1493
1494 -build | --build | --buil | --bui | --bu)
1495 ac_prev=build_alias ;;
1496 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1497 build_alias=$ac_optarg ;;
1498
1499 -cache-file | --cache-file | --cache-fil | --cache-fi \
1500 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1501 ac_prev=cache_file ;;
1502 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1503 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1504 cache_file=$ac_optarg ;;
1505
1506 --config-cache | -C)
1507 cache_file=config.cache ;;
1508
1509 -datadir | --datadir | --datadi | --datad)
1510 ac_prev=datadir ;;
1511 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1512 datadir=$ac_optarg ;;
1513
1514 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1515 | --dataroo | --dataro | --datar)
1516 ac_prev=datarootdir ;;
1517 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1518 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1519 datarootdir=$ac_optarg ;;
1520
1521 -disable-* | --disable-*)
1522 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1523 # Reject names that are not valid shell variable names.
1524 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1525 as_fn_error $? "invalid feature name: $ac_useropt"
1526 ac_useropt_orig=$ac_useropt
1527 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1528 case $ac_user_opts in
1529 *"
1530 "enable_$ac_useropt"
1531 "*) ;;
1532 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1533 ac_unrecognized_sep=', ';;
1534 esac
1535 eval enable_$ac_useropt=no ;;
1536
1537 -docdir | --docdir | --docdi | --doc | --do)
1538 ac_prev=docdir ;;
1539 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1540 docdir=$ac_optarg ;;
1541
1542 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1543 ac_prev=dvidir ;;
1544 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1545 dvidir=$ac_optarg ;;
1546
1547 -enable-* | --enable-*)
1548 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1549 # Reject names that are not valid shell variable names.
1550 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1551 as_fn_error $? "invalid feature name: $ac_useropt"
1552 ac_useropt_orig=$ac_useropt
1553 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1554 case $ac_user_opts in
1555 *"
1556 "enable_$ac_useropt"
1557 "*) ;;
1558 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1559 ac_unrecognized_sep=', ';;
1560 esac
1561 eval enable_$ac_useropt=\$ac_optarg ;;
1562
1563 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1564 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1565 | --exec | --exe | --ex)
1566 ac_prev=exec_prefix ;;
1567 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1568 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1569 | --exec=* | --exe=* | --ex=*)
1570 exec_prefix=$ac_optarg ;;
1571
1572 -gas | --gas | --ga | --g)
1573 # Obsolete; use --with-gas.
1574 with_gas=yes ;;
1575
1576 -help | --help | --hel | --he | -h)
1577 ac_init_help=long ;;
1578 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1579 ac_init_help=recursive ;;
1580 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1581 ac_init_help=short ;;
1582
1583 -host | --host | --hos | --ho)
1584 ac_prev=host_alias ;;
1585 -host=* | --host=* | --hos=* | --ho=*)
1586 host_alias=$ac_optarg ;;
1587
1588 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1589 ac_prev=htmldir ;;
1590 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1591 | --ht=*)
1592 htmldir=$ac_optarg ;;
1593
1594 -includedir | --includedir | --includedi | --included | --include \
1595 | --includ | --inclu | --incl | --inc)
1596 ac_prev=includedir ;;
1597 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1598 | --includ=* | --inclu=* | --incl=* | --inc=*)
1599 includedir=$ac_optarg ;;
1600
1601 -infodir | --infodir | --infodi | --infod | --info | --inf)
1602 ac_prev=infodir ;;
1603 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1604 infodir=$ac_optarg ;;
1605
1606 -libdir | --libdir | --libdi | --libd)
1607 ac_prev=libdir ;;
1608 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1609 libdir=$ac_optarg ;;
1610
1611 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1612 | --libexe | --libex | --libe)
1613 ac_prev=libexecdir ;;
1614 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1615 | --libexe=* | --libex=* | --libe=*)
1616 libexecdir=$ac_optarg ;;
1617
1618 -localedir | --localedir | --localedi | --localed | --locale)
1619 ac_prev=localedir ;;
1620 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1621 localedir=$ac_optarg ;;
1622
1623 -localstatedir | --localstatedir | --localstatedi | --localstated \
1624 | --localstate | --localstat | --localsta | --localst | --locals)
1625 ac_prev=localstatedir ;;
1626 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1627 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1628 localstatedir=$ac_optarg ;;
1629
1630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1631 ac_prev=mandir ;;
1632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1633 mandir=$ac_optarg ;;
1634
1635 -nfp | --nfp | --nf)
1636 # Obsolete; use --without-fp.
1637 with_fp=no ;;
1638
1639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1640 | --no-cr | --no-c | -n)
1641 no_create=yes ;;
1642
1643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1645 no_recursion=yes ;;
1646
1647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1649 | --oldin | --oldi | --old | --ol | --o)
1650 ac_prev=oldincludedir ;;
1651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1654 oldincludedir=$ac_optarg ;;
1655
1656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1657 ac_prev=prefix ;;
1658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1659 prefix=$ac_optarg ;;
1660
1661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1662 | --program-pre | --program-pr | --program-p)
1663 ac_prev=program_prefix ;;
1664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1666 program_prefix=$ac_optarg ;;
1667
1668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1669 | --program-suf | --program-su | --program-s)
1670 ac_prev=program_suffix ;;
1671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1673 program_suffix=$ac_optarg ;;
1674
1675 -program-transform-name | --program-transform-name \
1676 | --program-transform-nam | --program-transform-na \
1677 | --program-transform-n | --program-transform- \
1678 | --program-transform | --program-transfor \
1679 | --program-transfo | --program-transf \
1680 | --program-trans | --program-tran \
1681 | --progr-tra | --program-tr | --program-t)
1682 ac_prev=program_transform_name ;;
1683 -program-transform-name=* | --program-transform-name=* \
1684 | --program-transform-nam=* | --program-transform-na=* \
1685 | --program-transform-n=* | --program-transform-=* \
1686 | --program-transform=* | --program-transfor=* \
1687 | --program-transfo=* | --program-transf=* \
1688 | --program-trans=* | --program-tran=* \
1689 | --progr-tra=* | --program-tr=* | --program-t=*)
1690 program_transform_name=$ac_optarg ;;
1691
1692 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1693 ac_prev=pdfdir ;;
1694 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1695 pdfdir=$ac_optarg ;;
1696
1697 -psdir | --psdir | --psdi | --psd | --ps)
1698 ac_prev=psdir ;;
1699 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1700 psdir=$ac_optarg ;;
1701
1702 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1703 | -silent | --silent | --silen | --sile | --sil)
1704 silent=yes ;;
1705
1706 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1707 ac_prev=sbindir ;;
1708 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1709 | --sbi=* | --sb=*)
1710 sbindir=$ac_optarg ;;
1711
1712 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1713 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1714 | --sharedst | --shareds | --shared | --share | --shar \
1715 | --sha | --sh)
1716 ac_prev=sharedstatedir ;;
1717 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1718 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1719 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1720 | --sha=* | --sh=*)
1721 sharedstatedir=$ac_optarg ;;
1722
1723 -site | --site | --sit)
1724 ac_prev=site ;;
1725 -site=* | --site=* | --sit=*)
1726 site=$ac_optarg ;;
1727
1728 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1729 ac_prev=srcdir ;;
1730 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1731 srcdir=$ac_optarg ;;
1732
1733 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1734 | --syscon | --sysco | --sysc | --sys | --sy)
1735 ac_prev=sysconfdir ;;
1736 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1737 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1738 sysconfdir=$ac_optarg ;;
1739
1740 -target | --target | --targe | --targ | --tar | --ta | --t)
1741 ac_prev=target_alias ;;
1742 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1743 target_alias=$ac_optarg ;;
1744
1745 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1746 verbose=yes ;;
1747
1748 -version | --version | --versio | --versi | --vers | -V)
1749 ac_init_version=: ;;
1750
1751 -with-* | --with-*)
1752 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1753 # Reject names that are not valid shell variable names.
1754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1755 as_fn_error $? "invalid package name: $ac_useropt"
1756 ac_useropt_orig=$ac_useropt
1757 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758 case $ac_user_opts in
1759 *"
1760 "with_$ac_useropt"
1761 "*) ;;
1762 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1763 ac_unrecognized_sep=', ';;
1764 esac
1765 eval with_$ac_useropt=\$ac_optarg ;;
1766
1767 -without-* | --without-*)
1768 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1769 # Reject names that are not valid shell variable names.
1770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1771 as_fn_error $? "invalid package name: $ac_useropt"
1772 ac_useropt_orig=$ac_useropt
1773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1774 case $ac_user_opts in
1775 *"
1776 "with_$ac_useropt"
1777 "*) ;;
1778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1779 ac_unrecognized_sep=', ';;
1780 esac
1781 eval with_$ac_useropt=no ;;
1782
1783 --x)
1784 # Obsolete; use --with-x.
1785 with_x=yes ;;
1786
1787 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1788 | --x-incl | --x-inc | --x-in | --x-i)
1789 ac_prev=x_includes ;;
1790 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1791 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1792 x_includes=$ac_optarg ;;
1793
1794 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1795 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1796 ac_prev=x_libraries ;;
1797 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1798 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1799 x_libraries=$ac_optarg ;;
1800
1801 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1802 Try \`$0 --help' for more information"
1803 ;;
1804
1805 *=*)
1806 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1807 # Reject names that are not valid shell variable names.
1808 case $ac_envvar in #(
1809 '' | [0-9]* | *[!_$as_cr_alnum]* )
1810 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1811 esac
1812 eval $ac_envvar=\$ac_optarg
1813 export $ac_envvar ;;
1814
1815 *)
1816 # FIXME: should be removed in autoconf 3.0.
1817 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1818 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1819 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1820 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1821 ;;
1822
1823 esac
1824 done
1825
1826 if test -n "$ac_prev"; then
1827 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1828 as_fn_error $? "missing argument to $ac_option"
1829 fi
1830
1831 if test -n "$ac_unrecognized_opts"; then
1832 case $enable_option_checking in
1833 no) ;;
1834 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1835 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1836 esac
1837 fi
1838
1839 # Check all directory arguments for consistency.
1840 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1841 datadir sysconfdir sharedstatedir localstatedir includedir \
1842 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1843 libdir localedir mandir
1844 do
1845 eval ac_val=\$$ac_var
1846 # Remove trailing slashes.
1847 case $ac_val in
1848 */ )
1849 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1850 eval $ac_var=\$ac_val;;
1851 esac
1852 # Be sure to have absolute directory names.
1853 case $ac_val in
1854 [\\/$]* | ?:[\\/]* ) continue;;
1855 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1856 esac
1857 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1858 done
1859
1860 # There might be people who depend on the old broken behavior: `$host'
1861 # used to hold the argument of --host etc.
1862 # FIXME: To remove some day.
1863 build=$build_alias
1864 host=$host_alias
1865 target=$target_alias
1866
1867 # FIXME: To remove some day.
1868 if test "x$host_alias" != x; then
1869 if test "x$build_alias" = x; then
1870 cross_compiling=maybe
1871 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1872 If a cross compiler is detected then cross compile mode will be used" >&2
1873 elif test "x$build_alias" != "x$host_alias"; then
1874 cross_compiling=yes
1875 fi
1876 fi
1877
1878 ac_tool_prefix=
1879 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1880
1881 test "$silent" = yes && exec 6>/dev/null
1882
1883
1884 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1885 ac_ls_di=`ls -di .` &&
1886 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1887 as_fn_error $? "working directory cannot be determined"
1888 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1889 as_fn_error $? "pwd does not report name of working directory"
1890
1891
1892 # Find the source files, if location was not specified.
1893 if test -z "$srcdir"; then
1894 ac_srcdir_defaulted=yes
1895 # Try the directory containing this script, then the parent directory.
1896 ac_confdir=`$as_dirname -- "$as_myself" ||
1897 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1898 X"$as_myself" : 'X\(//\)[^/]' \| \
1899 X"$as_myself" : 'X\(//\)$' \| \
1900 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1901 $as_echo X"$as_myself" |
1902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1903 s//\1/
1904 q
1905 }
1906 /^X\(\/\/\)[^/].*/{
1907 s//\1/
1908 q
1909 }
1910 /^X\(\/\/\)$/{
1911 s//\1/
1912 q
1913 }
1914 /^X\(\/\).*/{
1915 s//\1/
1916 q
1917 }
1918 s/.*/./; q'`
1919 srcdir=$ac_confdir
1920 if test ! -r "$srcdir/$ac_unique_file"; then
1921 srcdir=..
1922 fi
1923 else
1924 ac_srcdir_defaulted=no
1925 fi
1926 if test ! -r "$srcdir/$ac_unique_file"; then
1927 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1928 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1929 fi
1930 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1931 ac_abs_confdir=`(
1932 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1933 pwd)`
1934 # When building in place, set srcdir=.
1935 if test "$ac_abs_confdir" = "$ac_pwd"; then
1936 srcdir=.
1937 fi
1938 # Remove unnecessary trailing slashes from srcdir.
1939 # Double slashes in file names in object file debugging info
1940 # mess up M-x gdb in Emacs.
1941 case $srcdir in
1942 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1943 esac
1944 for ac_var in $ac_precious_vars; do
1945 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1946 eval ac_env_${ac_var}_value=\$${ac_var}
1947 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1948 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1949 done
1950
1951 #
1952 # Report the --help message.
1953 #
1954 if test "$ac_init_help" = "long"; then
1955 # Omit some internal or obsolete options to make the list less imposing.
1956 # This message is too long to be a string in the A/UX 3.1 sh.
1957 cat <<_ACEOF
1958 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1959
1960 Usage: $0 [OPTION]... [VAR=VALUE]...
1961
1962 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1963 VAR=VALUE. See below for descriptions of some of the useful variables.
1964
1965 Defaults for the options are specified in brackets.
1966
1967 Configuration:
1968 -h, --help display this help and exit
1969 --help=short display options specific to this package
1970 --help=recursive display the short help of all the included packages
1971 -V, --version display version information and exit
1972 -q, --quiet, --silent do not print \`checking ...' messages
1973 --cache-file=FILE cache test results in FILE [disabled]
1974 -C, --config-cache alias for \`--cache-file=config.cache'
1975 -n, --no-create do not create output files
1976 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1977
1978 Installation directories:
1979 --prefix=PREFIX install architecture-independent files in PREFIX
1980 [$ac_default_prefix]
1981 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1982 [PREFIX]
1983
1984 By default, \`make install' will install all the files in
1985 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1986 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1987 for instance \`--prefix=\$HOME'.
1988
1989 For better control, use the options below.
1990
1991 Fine tuning of the installation directories:
1992 --bindir=DIR user executables [EPREFIX/bin]
1993 --sbindir=DIR system admin executables [EPREFIX/sbin]
1994 --libexecdir=DIR program executables [EPREFIX/libexec]
1995 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1996 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1997 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1998 --libdir=DIR object code libraries [EPREFIX/lib]
1999 --includedir=DIR C header files [PREFIX/include]
2000 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2001 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2002 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2003 --infodir=DIR info documentation [DATAROOTDIR/info]
2004 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2005 --mandir=DIR man documentation [DATAROOTDIR/man]
2006 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2007 --htmldir=DIR html documentation [DOCDIR]
2008 --dvidir=DIR dvi documentation [DOCDIR]
2009 --pdfdir=DIR pdf documentation [DOCDIR]
2010 --psdir=DIR ps documentation [DOCDIR]
2011 _ACEOF
2012
2013 cat <<\_ACEOF
2014
2015 X features:
2016 --x-includes=DIR X include files are in DIR
2017 --x-libraries=DIR X library files are in DIR
2018
2019 System types:
2020 --build=BUILD configure for building on BUILD [guessed]
2021 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2022 _ACEOF
2023 fi
2024
2025 if test -n "$ac_init_help"; then
2026 case $ac_init_help in
2027 short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
2028 esac
2029 cat <<\_ACEOF
2030
2031 Optional Features:
2032 --disable-option-checking ignore unrecognized --enable/--with options
2033 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2034 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2035 --disable-gui don't build GUI parts of the library
2036 --enable-monolithic build wxWidgets as single library
2037 --enable-plugins build parts of wxWidgets as loadable components
2038 --enable-official_build official build of wxWidgets (win32 DLL only)
2039 --enable-vendor=VENDOR vendor name (win32 DLL only)
2040 --disable-all-features disable all optional features to build minimal library
2041 --enable-universal use wxWidgets GUI controls instead of native ones
2042 --enable-nanox use NanoX
2043 --enable-gpe use GNOME PDA Environment features if possible
2044 --enable-debug build library for debugging
2045 --disable-debug_flag disable all debugging support
2046 --enable-debug_info generate debug information
2047 --enable-debug_gdb create code with extra GDB debugging information
2048 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2049 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2050 --disable-shared create static library instead of shared
2051 --enable-stl use standard C++ classes for everything
2052 --enable-std_containers use standard C++ container classes
2053 --enable-std_iostreams use standard C++ stream classes
2054 --enable-std_string use standard C++ string classes
2055 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2056 --disable-unicode compile without Unicode support
2057 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2058 --enable-utf8 use UTF-8 representation for strings (Unix only)
2059 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2060 --enable-extended_rtti use extended RTTI (XTI)
2061 --enable-omf use OMF object format
2062 --disable-optimise compile without optimisations
2063 --enable-profile create code with profiling information
2064 --enable-no_rtti create code without RTTI information
2065 --enable-no_exceptions create code without C++ exceptions handling
2066 --enable-permissive compile code disregarding strict ANSI
2067 --enable-no_deps create code without dependency information
2068 --disable-vararg_macros don't use vararg macros, even if they are supported
2069 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2070 --enable-macosx_arch=ARCH build for just the specified architecture
2071 --enable-compat26 enable wxWidgets 2.6 compatibility
2072 --disable-compat28 disable wxWidgets 2.8 compatibility
2073 --disable-rpath disable use of rpath for uninstalled builds
2074 --enable-objc_uniquifying enable Objective-C class name uniquifying
2075 --disable-visibility disable use of ELF symbols visibility even if supported
2076 --disable-tls disable use of compiler TLS support
2077 --enable-intl use internationalization system
2078 --enable-xlocale use x-locale support (requires wxLocale)
2079 --enable-config use wxConfig (and derived) classes
2080 --enable-protocols use wxProtocol and derived classes
2081 --enable-ftp use wxFTP (requires wxProtocol
2082 --enable-http use wxHTTP (requires wxProtocol
2083 --enable-fileproto use wxFileProto class (requires wxProtocol
2084 --enable-sockets use socket/network classes
2085 --enable-ipv6 enable IPv6 support in wxSocket
2086 --enable-ole use OLE classes (Win32 only)
2087 --enable-dataobj use data object classes
2088 --enable-ipc use interprocess communication (wxSocket etc.)
2089 --enable-baseevtloop use event loop in console programs too
2090 --enable-epollloop use wxEpollDispatcher class (Linux only)
2091 --enable-selectloop use wxSelectDispatcher class
2092 --enable-any use wxAny class
2093 --enable-apple_ieee use the Apple IEEE codec
2094 --enable-arcstream use wxArchive streams
2095 --enable-base64 use base64 encoding/decoding functions
2096 --enable-backtrace use wxStackWalker class for getting backtraces
2097 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2098 --enable-cmdline use wxCmdLineParser class
2099 --enable-datetime use wxDateTime class
2100 --enable-debugreport use wxDebugReport class
2101 --enable-dialupman use dialup network classes
2102 --enable-dynlib use wxLibrary class for DLL loading
2103 --enable-dynamicloader use (new) wxDynamicLibrary class
2104 --enable-exceptions build exception-safe library
2105 --enable-ffile use wxFFile class
2106 --enable-file use wxFile class
2107 --enable-filehistory use wxFileHistory class
2108 --enable-filesystem use virtual file systems classes
2109 --enable-fontenum use wxFontEnumerator class
2110 --enable-fontmap use font encodings conversion classes
2111 --enable-fs_archive use virtual archive filesystems
2112 --enable-fs_inet use virtual HTTP/FTP filesystems
2113 --enable-fs_zip now replaced by fs_archive
2114 --enable-fswatcher use wxFileSystemWatcher class
2115 --enable-geometry use geometry class
2116 --enable-log use logging system
2117 --enable-longlong use wxLongLong class
2118 --enable-mimetype use wxMimeTypesManager
2119 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2120 --enable-snglinst use wxSingleInstanceChecker class
2121 --enable-sound use wxSound class
2122 --enable-stdpaths use wxStandardPaths class
2123 --enable-stopwatch use wxStopWatch class
2124 --enable-streams use wxStream etc classes
2125 --enable-sysoptions use wxSystemOptions
2126 --enable-tarstream use wxTar streams
2127 --enable-textbuf use wxTextBuffer class
2128 --enable-textfile use wxTextFile class
2129 --enable-timer use wxTimer class
2130 --enable-variant use wxVariant class
2131 --enable-zipstream use wxZip streams
2132 --enable-url use wxURL class
2133 --enable-protocol use wxProtocol class
2134 --enable-protocol-http HTTP support in wxProtocol
2135 --enable-protocol-ftp FTP support in wxProtocol
2136 --enable-protocol-file FILE support in wxProtocol
2137 --enable-threads use threads
2138 --enable-iniconf use wxIniConfig (Win32 only)
2139 --enable-regkey use wxRegKey class (Win32 only)
2140 --enable-docview use document view architecture
2141 --enable-help use help subsystem
2142 --enable-mshtmlhelp use MS HTML Help (win32)
2143 --enable-html use wxHTML sub-library
2144 --enable-htmlhelp use wxHTML-based help
2145 --enable-xrc use XRC resources sub-library
2146 --enable-aui use AUI docking library
2147 --enable-propgrid use wxPropertyGrid library
2148 --enable-ribbon use wxRibbon library
2149 --enable-stc use wxStyledTextCtrl library
2150 --enable-constraints use layout-constraints system
2151 --enable-loggui use standard GUI logger
2152 --enable-logwin use wxLogWindow
2153 --enable-logdialog use wxLogDialog
2154 --enable-mdi use multiple document interface architecture
2155 --enable-mdidoc use docview architecture with MDI
2156 --enable-mediactrl use wxMediaCtrl class
2157 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2158 --enable-richtext use wxRichTextCtrl
2159 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2160 --enable-printarch use printing architecture
2161 --enable-svg use wxSVGFileDC device context
2162 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2163 --enable-webview use wxWebView library
2164 --enable-graphics_ctx use graphics context 2D drawing API
2165 --enable-clipboard use wxClipboard class
2166 --enable-dnd use Drag'n'Drop classes
2167 --disable-controls disable compilation of all standard controls
2168 --enable-markup support wxControl::SetLabelMarkup
2169 --enable-accel use accelerators
2170 --enable-animatectrl use wxAnimationCtrl class
2171 --enable-bannerwindow use wxBannerWindow class
2172 --enable-artstd use standard XPM icons in wxArtProvider
2173 --enable-arttango use Tango icons in wxArtProvider
2174 --enable-bmpbutton use wxBitmapButton class
2175 --enable-bmpcombobox use wxBitmapComboBox class
2176 --enable-button use wxButton class
2177 --enable-calendar use wxCalendarCtrl class
2178 --enable-caret use wxCaret class
2179 --enable-checkbox use wxCheckBox class
2180 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2181 --enable-choice use wxChoice class
2182 --enable-choicebook use wxChoicebook class
2183 --enable-collpane use wxCollapsiblePane class
2184 --enable-colourpicker use wxColourPickerCtrl class
2185 --enable-combobox use wxComboBox class
2186 --enable-comboctrl use wxComboCtrl class
2187 --enable-commandlinkbutton use wxCommmandLinkButton class
2188 --enable-dataviewctrl use wxDataViewCtrl class
2189 --enable-datepick use wxDatePickerCtrl class
2190 --enable-detect_sm use code to detect X11 session manager
2191 --enable-dirpicker use wxDirPickerCtrl class
2192 --enable-display use wxDisplay class
2193 --enable-editablebox use wxEditableListBox class
2194 --enable-filectrl use wxFileCtrl class
2195 --enable-filepicker use wxFilePickerCtrl class
2196 --enable-fontpicker use wxFontPickerCtrl class
2197 --enable-gauge use wxGauge class
2198 --enable-grid use wxGrid class
2199 --enable-headerctrl use wxHeaderCtrl class
2200 --enable-hyperlink use wxHyperlinkCtrl class
2201 --enable-imaglist use wxImageList class
2202 --enable-infobar use wxInfoBar class
2203 --enable-listbook use wxListbook class
2204 --enable-listbox use wxListBox class
2205 --enable-listctrl use wxListCtrl class
2206 --enable-notebook use wxNotebook class
2207 --enable-notifmsg use wxNotificationMessage class
2208 --enable-odcombobox use wxOwnerDrawnComboBox class
2209 --enable-popupwin use wxPopUpWindow class
2210 --enable-radiobox use wxRadioBox class
2211 --enable-radiobtn use wxRadioButton class
2212 --enable-richmsgdlg use wxRichMessageDialog class
2213 --enable-richtooltip use wxRichToolTip class
2214 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2215 --enable-sash use wxSashWindow class
2216 --enable-scrollbar use wxScrollBar class and scrollable windows
2217 --enable-searchctrl use wxSearchCtrl class
2218 --enable-slider use wxSlider class
2219 --enable-spinbtn use wxSpinButton class
2220 --enable-spinctrl use wxSpinCtrl class
2221 --enable-splitter use wxSplitterWindow class
2222 --enable-statbmp use wxStaticBitmap class
2223 --enable-statbox use wxStaticBox class
2224 --enable-statline use wxStaticLine class
2225 --enable-stattext use wxStaticText class
2226 --enable-statusbar use wxStatusBar class
2227 --enable-taskbaricon use wxTaskBarIcon class
2228 --enable-tbarnative use native wxToolBar class
2229 --enable-textctrl use wxTextCtrl class
2230 --enable-timepick use wxTimePickerCtrl class
2231 --enable-tipwindow use wxTipWindow class
2232 --enable-togglebtn use wxToggleButton class
2233 --enable-toolbar use wxToolBar class
2234 --enable-toolbook use wxToolbook class
2235 --enable-treebook use wxTreebook class
2236 --enable-treectrl use wxTreeCtrl class
2237 --enable-treelist use wxTreeListCtrl class
2238 --enable-commondlg use all common dialogs
2239 --enable-aboutdlg use wxAboutBox
2240 --enable-choicedlg use wxChoiceDialog
2241 --enable-coldlg use wxColourDialog
2242 --enable-filedlg use wxFileDialog
2243 --enable-finddlg use wxFindReplaceDialog
2244 --enable-fontdlg use wxFontDialog
2245 --enable-dirdlg use wxDirDialog
2246 --enable-msgdlg use wxMessageDialog
2247 --enable-numberdlg use wxNumberEntryDialog
2248 --enable-splash use wxSplashScreen
2249 --enable-textdlg use wxTextDialog
2250 --enable-tipdlg use startup tips
2251 --enable-progressdlg use wxProgressDialog
2252 --enable-wizarddlg use wxWizard
2253 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2254 --enable-miniframe use wxMiniFrame class
2255 --enable-tooltips use wxToolTip class
2256 --enable-splines use spline drawing code
2257 --enable-mousewheel use mousewheel
2258 --enable-validators use wxValidator and derived classes
2259 --enable-busyinfo use wxBusyInfo
2260 --enable-hotkey use wxWindow::RegisterHotKey()
2261 --enable-joystick use wxJoystick
2262 --enable-metafiles use wxMetaFile
2263 --enable-dragimage use wxDragImage
2264 --enable-accessibility enable accessibility support
2265 --enable-uiactionsim use wxUIActionSimulator (experimental)
2266 --enable-dctransform use wxDC::SetTransformMatrix and related
2267 --enable-webview-webkit use wxWebView WebKit backend
2268 --enable-palette use wxPalette class
2269 --enable-image use wxImage class
2270 --enable-gif use gif images (GIF file format)
2271 --enable-pcx use pcx images (PCX file format)
2272 --enable-tga use tga images (TGA file format)
2273 --enable-iff use iff images (IFF file format)
2274 --enable-pnm use pnm images (PNM file format)
2275 --enable-xpm use xpm images (XPM file format)
2276 --enable-ico_cur use Windows ICO and CUR formats
2277 --enable-dccache cache temporary wxDC objects (Win32 only)
2278 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2279 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2280 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2281 --enable-wxdib use wxDIB class (Win32 only)
2282 --enable-webview-ie use wxWebView IE backend (Win32 only)
2283 --enable-autoidman use automatic ids management
2284 --disable-largefile omit support for large files
2285 --disable-gtktest do not try to compile and run a test GTK+ program
2286 --disable-gtktest Do not try to compile and run a test GTK program
2287 --disable-sdltest Do not try to compile and run a test SDL program
2288 --enable-omf use OMF object format (OS/2)
2289 --disable-dependency-tracking
2290 don't use dependency tracking even if the compiler
2291 can
2292 --disable-precomp-headers
2293 don't use precompiled headers even if compiler can
2294
2295 Optional Packages:
2296 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2297 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2298 --without-subdirs don't generate makefiles for samples/demos/...
2299 --with-flavour=NAME specify a name to identify this build
2300 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2301 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2302 --with-motif use Motif/Lesstif
2303 --with-osx_carbon use Mac OS X (Carbon)
2304 --with-osx_cocoa use Mac OS X (Cocoa)
2305 --with-osx_iphone use iPhone OS X port
2306 --with-osx use Mac OS X (default port, currently Carbon)
2307 --with-carbon same as --with-osx_carbon
2308 --with-cocoa same as --with-osx_cocoa
2309 --with-iphone same as --with-osx_iphone
2310 --with-mac same as --with-osx
2311 --with-old_cocoa use old, deprecated, Cocoa port
2312 --with-wine use Wine
2313 --with-msw use MS-Windows
2314 --with-pm use OS/2 Presentation Manager
2315 --with-directfb use DirectFB
2316 --with-microwin use MicroWindows
2317 --with-x11 use X11
2318 --with-libpng use libpng (PNG image format)
2319 --with-libjpeg use libjpeg (JPEG file format)
2320 --with-libtiff use libtiff (TIFF file format)
2321 --with-libxpm use libxpm (XPM file format)
2322 --with-libiconv use libiconv (character conversion)
2323 --with-libmspack use libmspack (CHM help files loading)
2324 --without-gtkprint don't use GTK printing support
2325 --without-gnomeprint don't use GNOME printing libraries
2326 --with-gnomevfs use GNOME VFS for associating MIME types
2327 --with-hildon use Hildon framework for Nokia 770/800/810
2328 --with-opengl use OpenGL (or Mesa)
2329 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2330 --with-sdl use SDL for audio on Unix
2331 --with-regex enable support for wxRegEx class
2332 --with-zlib use zlib for LZW compression
2333 --with-expat enable XML support using expat parser
2334 --with-macosx-sdk=PATH use an OS X SDK at PATH
2335 --with-macosx-version-min=VER build binaries which require at least this OS X version
2336 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2337 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2338 --with-x use the X Window System
2339 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2340 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2341 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2342 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2343 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2344
2345 Some influential environment variables:
2346 CC C compiler command
2347 CFLAGS C compiler flags
2348 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2349 nonstandard directory <lib dir>
2350 LIBS libraries to pass to the linker, e.g. -l<library>
2351 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2352 you have headers in a nonstandard directory <include dir>
2353 CPP C preprocessor
2354 CXX C++ compiler command
2355 CXXFLAGS C++ compiler flags
2356 CXXCPP C++ preprocessor
2357 PKG_CONFIG path to pkg-config utility
2358 DIRECTFB_CFLAGS
2359 C compiler flags for DIRECTFB, overriding pkg-config
2360 DIRECTFB_LIBS
2361 linker flags for DIRECTFB, overriding pkg-config
2362 XMKMF Path to xmkmf, Makefile generator for X Window System
2363 PANGOX_CFLAGS
2364 C compiler flags for PANGOX, overriding pkg-config
2365 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2366 PANGOFT2_CFLAGS
2367 C compiler flags for PANGOFT2, overriding pkg-config
2368 PANGOFT2_LIBS
2369 linker flags for PANGOFT2, overriding pkg-config
2370 PANGOXFT_CFLAGS
2371 C compiler flags for PANGOXFT, overriding pkg-config
2372 PANGOXFT_LIBS
2373 linker flags for PANGOXFT, overriding pkg-config
2374 Xinerama_CFLAGS
2375 C compiler flags for Xinerama, overriding pkg-config
2376 Xinerama_LIBS
2377 linker flags for Xinerama, overriding pkg-config
2378 Xxf86vm_CFLAGS
2379 C compiler flags for Xxf86vm, overriding pkg-config
2380 Xxf86vm_LIBS
2381 linker flags for Xxf86vm, overriding pkg-config
2382 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2383 SM_LIBS linker flags for SM, overriding pkg-config
2384 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2385 GL_LIBS linker flags for GL, overriding pkg-config
2386 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2387 GLU_LIBS linker flags for GLU, overriding pkg-config
2388 MesaGL_CFLAGS
2389 C compiler flags for MesaGL, overriding pkg-config
2390 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2391 GTKPRINT_CFLAGS
2392 C compiler flags for GTKPRINT, overriding pkg-config
2393 GTKPRINT_LIBS
2394 linker flags for GTKPRINT, overriding pkg-config
2395 LIBGNOMEPRINTUI_CFLAGS
2396 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2397 LIBGNOMEPRINTUI_LIBS
2398 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2399 GNOMEVFS_CFLAGS
2400 C compiler flags for GNOMEVFS, overriding pkg-config
2401 GNOMEVFS_LIBS
2402 linker flags for GNOMEVFS, overriding pkg-config
2403 HILDON_CFLAGS
2404 C compiler flags for HILDON, overriding pkg-config
2405 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2406 HILDON2_CFLAGS
2407 C compiler flags for HILDON2, overriding pkg-config
2408 HILDON2_LIBS
2409 linker flags for HILDON2, overriding pkg-config
2410 WEBKIT_CFLAGS
2411 C compiler flags for WEBKIT, overriding pkg-config
2412 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2413 CAIRO_CFLAGS
2414 C compiler flags for CAIRO, overriding pkg-config
2415 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2416 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2417 GST_LIBS linker flags for GST, overriding pkg-config
2418
2419 Use these variables to override the choices made by `configure' or to help
2420 it to find libraries and programs with nonstandard names/locations.
2421
2422 Report bugs to <wx-dev@lists.wxwidgets.org>.
2423 _ACEOF
2424 ac_status=$?
2425 fi
2426
2427 if test "$ac_init_help" = "recursive"; then
2428 # If there are subdirs, report their specific --help.
2429 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2430 test -d "$ac_dir" ||
2431 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2432 continue
2433 ac_builddir=.
2434
2435 case "$ac_dir" in
2436 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2437 *)
2438 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2439 # A ".." for each directory in $ac_dir_suffix.
2440 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2441 case $ac_top_builddir_sub in
2442 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2443 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2444 esac ;;
2445 esac
2446 ac_abs_top_builddir=$ac_pwd
2447 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2448 # for backward compatibility:
2449 ac_top_builddir=$ac_top_build_prefix
2450
2451 case $srcdir in
2452 .) # We are building in place.
2453 ac_srcdir=.
2454 ac_top_srcdir=$ac_top_builddir_sub
2455 ac_abs_top_srcdir=$ac_pwd ;;
2456 [\\/]* | ?:[\\/]* ) # Absolute name.
2457 ac_srcdir=$srcdir$ac_dir_suffix;
2458 ac_top_srcdir=$srcdir
2459 ac_abs_top_srcdir=$srcdir ;;
2460 *) # Relative name.
2461 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2462 ac_top_srcdir=$ac_top_build_prefix$srcdir
2463 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2464 esac
2465 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2466
2467 cd "$ac_dir" || { ac_status=$?; continue; }
2468 # Check for guested configure.
2469 if test -f "$ac_srcdir/configure.gnu"; then
2470 echo &&
2471 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2472 elif test -f "$ac_srcdir/configure"; then
2473 echo &&
2474 $SHELL "$ac_srcdir/configure" --help=recursive
2475 else
2476 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2477 fi || ac_status=$?
2478 cd "$ac_pwd" || { ac_status=$?; break; }
2479 done
2480 fi
2481
2482 test -n "$ac_init_help" && exit $ac_status
2483 if $ac_init_version; then
2484 cat <<\_ACEOF
2485 wxWidgets configure 2.9.4
2486 generated by GNU Autoconf 2.67
2487
2488 Copyright (C) 2010 Free Software Foundation, Inc.
2489 This configure script is free software; the Free Software Foundation
2490 gives unlimited permission to copy, distribute and modify it.
2491 _ACEOF
2492 exit
2493 fi
2494
2495 ## ------------------------ ##
2496 ## Autoconf initialization. ##
2497 ## ------------------------ ##
2498
2499 # ac_fn_c_try_compile LINENO
2500 # --------------------------
2501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2502 ac_fn_c_try_compile ()
2503 {
2504 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2505 rm -f conftest.$ac_objext
2506 if { { ac_try="$ac_compile"
2507 case "(($ac_try" in
2508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2509 *) ac_try_echo=$ac_try;;
2510 esac
2511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2512 $as_echo "$ac_try_echo"; } >&5
2513 (eval "$ac_compile") 2>conftest.err
2514 ac_status=$?
2515 if test -s conftest.err; then
2516 grep -v '^ *+' conftest.err >conftest.er1
2517 cat conftest.er1 >&5
2518 mv -f conftest.er1 conftest.err
2519 fi
2520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2521 test $ac_status = 0; } && {
2522 test -z "$ac_c_werror_flag" ||
2523 test ! -s conftest.err
2524 } && test -s conftest.$ac_objext; then :
2525 ac_retval=0
2526 else
2527 $as_echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.$ac_ext >&5
2529
2530 ac_retval=1
2531 fi
2532 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2533 as_fn_set_status $ac_retval
2534
2535 } # ac_fn_c_try_compile
2536
2537 # ac_fn_c_try_cpp LINENO
2538 # ----------------------
2539 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2540 ac_fn_c_try_cpp ()
2541 {
2542 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2543 if { { ac_try="$ac_cpp conftest.$ac_ext"
2544 case "(($ac_try" in
2545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2546 *) ac_try_echo=$ac_try;;
2547 esac
2548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2549 $as_echo "$ac_try_echo"; } >&5
2550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2551 ac_status=$?
2552 if test -s conftest.err; then
2553 grep -v '^ *+' conftest.err >conftest.er1
2554 cat conftest.er1 >&5
2555 mv -f conftest.er1 conftest.err
2556 fi
2557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2558 test $ac_status = 0; } > conftest.i && {
2559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2560 test ! -s conftest.err
2561 }; then :
2562 ac_retval=0
2563 else
2564 $as_echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2566
2567 ac_retval=1
2568 fi
2569 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2570 as_fn_set_status $ac_retval
2571
2572 } # ac_fn_c_try_cpp
2573
2574 # ac_fn_cxx_try_compile LINENO
2575 # ----------------------------
2576 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2577 ac_fn_cxx_try_compile ()
2578 {
2579 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2580 rm -f conftest.$ac_objext
2581 if { { ac_try="$ac_compile"
2582 case "(($ac_try" in
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2585 esac
2586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2587 $as_echo "$ac_try_echo"; } >&5
2588 (eval "$ac_compile") 2>conftest.err
2589 ac_status=$?
2590 if test -s conftest.err; then
2591 grep -v '^ *+' conftest.err >conftest.er1
2592 cat conftest.er1 >&5
2593 mv -f conftest.er1 conftest.err
2594 fi
2595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2596 test $ac_status = 0; } && {
2597 test -z "$ac_cxx_werror_flag" ||
2598 test ! -s conftest.err
2599 } && test -s conftest.$ac_objext; then :
2600 ac_retval=0
2601 else
2602 $as_echo "$as_me: failed program was:" >&5
2603 sed 's/^/| /' conftest.$ac_ext >&5
2604
2605 ac_retval=1
2606 fi
2607 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2608 as_fn_set_status $ac_retval
2609
2610 } # ac_fn_cxx_try_compile
2611
2612 # ac_fn_c_try_link LINENO
2613 # -----------------------
2614 # Try to link conftest.$ac_ext, and return whether this succeeded.
2615 ac_fn_c_try_link ()
2616 {
2617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2618 rm -f conftest.$ac_objext conftest$ac_exeext
2619 if { { ac_try="$ac_link"
2620 case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_link") 2>conftest.err
2627 ac_status=$?
2628 if test -s conftest.err; then
2629 grep -v '^ *+' conftest.err >conftest.er1
2630 cat conftest.er1 >&5
2631 mv -f conftest.er1 conftest.err
2632 fi
2633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2634 test $ac_status = 0; } && {
2635 test -z "$ac_c_werror_flag" ||
2636 test ! -s conftest.err
2637 } && test -s conftest$ac_exeext && {
2638 test "$cross_compiling" = yes ||
2639 $as_test_x conftest$ac_exeext
2640 }; then :
2641 ac_retval=0
2642 else
2643 $as_echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2645
2646 ac_retval=1
2647 fi
2648 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2649 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2650 # interfere with the next link command; also delete a directory that is
2651 # left behind by Apple's compiler. We do this before executing the actions.
2652 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2653 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2654 as_fn_set_status $ac_retval
2655
2656 } # ac_fn_c_try_link
2657
2658 # ac_fn_cxx_try_link LINENO
2659 # -------------------------
2660 # Try to link conftest.$ac_ext, and return whether this succeeded.
2661 ac_fn_cxx_try_link ()
2662 {
2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664 rm -f conftest.$ac_objext conftest$ac_exeext
2665 if { { ac_try="$ac_link"
2666 case "(($ac_try" in
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2669 esac
2670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2671 $as_echo "$ac_try_echo"; } >&5
2672 (eval "$ac_link") 2>conftest.err
2673 ac_status=$?
2674 if test -s conftest.err; then
2675 grep -v '^ *+' conftest.err >conftest.er1
2676 cat conftest.er1 >&5
2677 mv -f conftest.er1 conftest.err
2678 fi
2679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2680 test $ac_status = 0; } && {
2681 test -z "$ac_cxx_werror_flag" ||
2682 test ! -s conftest.err
2683 } && test -s conftest$ac_exeext && {
2684 test "$cross_compiling" = yes ||
2685 $as_test_x conftest$ac_exeext
2686 }; then :
2687 ac_retval=0
2688 else
2689 $as_echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.$ac_ext >&5
2691
2692 ac_retval=1
2693 fi
2694 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2695 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2696 # interfere with the next link command; also delete a directory that is
2697 # left behind by Apple's compiler. We do this before executing the actions.
2698 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2699 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2700 as_fn_set_status $ac_retval
2701
2702 } # ac_fn_cxx_try_link
2703
2704 # ac_fn_c_try_run LINENO
2705 # ----------------------
2706 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2707 # that executables *can* be run.
2708 ac_fn_c_try_run ()
2709 {
2710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2711 if { { ac_try="$ac_link"
2712 case "(($ac_try" in
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2715 esac
2716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2717 $as_echo "$ac_try_echo"; } >&5
2718 (eval "$ac_link") 2>&5
2719 ac_status=$?
2720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2721 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2722 { { case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725 esac
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 $as_echo "$ac_try_echo"; } >&5
2728 (eval "$ac_try") 2>&5
2729 ac_status=$?
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; }; }; then :
2732 ac_retval=0
2733 else
2734 $as_echo "$as_me: program exited with status $ac_status" >&5
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2737
2738 ac_retval=$ac_status
2739 fi
2740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2741 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2742 as_fn_set_status $ac_retval
2743
2744 } # ac_fn_c_try_run
2745
2746 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2747 # -------------------------------------------------------
2748 # Tests whether HEADER exists and can be compiled using the include files in
2749 # INCLUDES, setting the cache variable VAR accordingly.
2750 ac_fn_c_check_header_compile ()
2751 {
2752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2754 $as_echo_n "checking for $2... " >&6; }
2755 if eval "test \"\${$3+set}\"" = set; then :
2756 $as_echo_n "(cached) " >&6
2757 else
2758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2759 /* end confdefs.h. */
2760 $4
2761 #include <$2>
2762 _ACEOF
2763 if ac_fn_c_try_compile "$LINENO"; then :
2764 eval "$3=yes"
2765 else
2766 eval "$3=no"
2767 fi
2768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2769 fi
2770 eval ac_res=\$$3
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2772 $as_echo "$ac_res" >&6; }
2773 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2774
2775 } # ac_fn_c_check_header_compile
2776
2777 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2778 # --------------------------------------------
2779 # Tries to find the compile-time value of EXPR in a program that includes
2780 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2781 # computed
2782 ac_fn_c_compute_int ()
2783 {
2784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2785 if test "$cross_compiling" = yes; then
2786 # Depending upon the size, compute the lo and hi bounds.
2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2788 /* end confdefs.h. */
2789 $4
2790 int
2791 main ()
2792 {
2793 static int test_array [1 - 2 * !(($2) >= 0)];
2794 test_array [0] = 0
2795
2796 ;
2797 return 0;
2798 }
2799 _ACEOF
2800 if ac_fn_c_try_compile "$LINENO"; then :
2801 ac_lo=0 ac_mid=0
2802 while :; do
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2805 $4
2806 int
2807 main ()
2808 {
2809 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2810 test_array [0] = 0
2811
2812 ;
2813 return 0;
2814 }
2815 _ACEOF
2816 if ac_fn_c_try_compile "$LINENO"; then :
2817 ac_hi=$ac_mid; break
2818 else
2819 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2820 if test $ac_lo -le $ac_mid; then
2821 ac_lo= ac_hi=
2822 break
2823 fi
2824 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2825 fi
2826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2827 done
2828 else
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2831 $4
2832 int
2833 main ()
2834 {
2835 static int test_array [1 - 2 * !(($2) < 0)];
2836 test_array [0] = 0
2837
2838 ;
2839 return 0;
2840 }
2841 _ACEOF
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 ac_hi=-1 ac_mid=-1
2844 while :; do
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2847 $4
2848 int
2849 main ()
2850 {
2851 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2852 test_array [0] = 0
2853
2854 ;
2855 return 0;
2856 }
2857 _ACEOF
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 ac_lo=$ac_mid; break
2860 else
2861 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2862 if test $ac_mid -le $ac_hi; then
2863 ac_lo= ac_hi=
2864 break
2865 fi
2866 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2867 fi
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 done
2870 else
2871 ac_lo= ac_hi=
2872 fi
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2874 fi
2875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2876 # Binary search between lo and hi bounds.
2877 while test "x$ac_lo" != "x$ac_hi"; do
2878 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2880 /* end confdefs.h. */
2881 $4
2882 int
2883 main ()
2884 {
2885 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2886 test_array [0] = 0
2887
2888 ;
2889 return 0;
2890 }
2891 _ACEOF
2892 if ac_fn_c_try_compile "$LINENO"; then :
2893 ac_hi=$ac_mid
2894 else
2895 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2896 fi
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 done
2899 case $ac_lo in #((
2900 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2901 '') ac_retval=1 ;;
2902 esac
2903 else
2904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2905 /* end confdefs.h. */
2906 $4
2907 static long int longval () { return $2; }
2908 static unsigned long int ulongval () { return $2; }
2909 #include <stdio.h>
2910 #include <stdlib.h>
2911 int
2912 main ()
2913 {
2914
2915 FILE *f = fopen ("conftest.val", "w");
2916 if (! f)
2917 return 1;
2918 if (($2) < 0)
2919 {
2920 long int i = longval ();
2921 if (i != ($2))
2922 return 1;
2923 fprintf (f, "%ld", i);
2924 }
2925 else
2926 {
2927 unsigned long int i = ulongval ();
2928 if (i != ($2))
2929 return 1;
2930 fprintf (f, "%lu", i);
2931 }
2932 /* Do not output a trailing newline, as this causes \r\n confusion
2933 on some platforms. */
2934 return ferror (f) || fclose (f) != 0;
2935
2936 ;
2937 return 0;
2938 }
2939 _ACEOF
2940 if ac_fn_c_try_run "$LINENO"; then :
2941 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2942 else
2943 ac_retval=1
2944 fi
2945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2946 conftest.$ac_objext conftest.beam conftest.$ac_ext
2947 rm -f conftest.val
2948
2949 fi
2950 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2951 as_fn_set_status $ac_retval
2952
2953 } # ac_fn_c_compute_int
2954
2955 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2956 # ---------------------------------------------------------
2957 # Tests whether HEADER exists and can be compiled using the include files in
2958 # INCLUDES, setting the cache variable VAR accordingly.
2959 ac_fn_cxx_check_header_compile ()
2960 {
2961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2963 $as_echo_n "checking for $2... " >&6; }
2964 if eval "test \"\${$3+set}\"" = set; then :
2965 $as_echo_n "(cached) " >&6
2966 else
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2969 $4
2970 #include <$2>
2971 _ACEOF
2972 if ac_fn_cxx_try_compile "$LINENO"; then :
2973 eval "$3=yes"
2974 else
2975 eval "$3=no"
2976 fi
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2978 fi
2979 eval ac_res=\$$3
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2983
2984 } # ac_fn_cxx_check_header_compile
2985
2986 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2987 # ---------------------------------------------
2988 # Tests whether TYPE exists after having included INCLUDES, setting cache
2989 # variable VAR accordingly.
2990 ac_fn_cxx_check_type ()
2991 {
2992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2994 $as_echo_n "checking for $2... " >&6; }
2995 if eval "test \"\${$3+set}\"" = set; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 eval "$3=no"
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3001 $4
3002 int
3003 main ()
3004 {
3005 if (sizeof ($2))
3006 return 0;
3007 ;
3008 return 0;
3009 }
3010 _ACEOF
3011 if ac_fn_cxx_try_compile "$LINENO"; then :
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3014 $4
3015 int
3016 main ()
3017 {
3018 if (sizeof (($2)))
3019 return 0;
3020 ;
3021 return 0;
3022 }
3023 _ACEOF
3024 if ac_fn_cxx_try_compile "$LINENO"; then :
3025
3026 else
3027 eval "$3=yes"
3028 fi
3029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 fi
3031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3032 fi
3033 eval ac_res=\$$3
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3035 $as_echo "$ac_res" >&6; }
3036 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3037
3038 } # ac_fn_cxx_check_type
3039
3040 # ac_fn_cxx_try_cpp LINENO
3041 # ------------------------
3042 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3043 ac_fn_cxx_try_cpp ()
3044 {
3045 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3046 if { { ac_try="$ac_cpp conftest.$ac_ext"
3047 case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3050 esac
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3054 ac_status=$?
3055 if test -s conftest.err; then
3056 grep -v '^ *+' conftest.err >conftest.er1
3057 cat conftest.er1 >&5
3058 mv -f conftest.er1 conftest.err
3059 fi
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; } > conftest.i && {
3062 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3063 test ! -s conftest.err
3064 }; then :
3065 ac_retval=0
3066 else
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3069
3070 ac_retval=1
3071 fi
3072 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3073 as_fn_set_status $ac_retval
3074
3075 } # ac_fn_cxx_try_cpp
3076
3077 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3078 # ---------------------------------------------------------
3079 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3080 # the include files in INCLUDES and setting the cache variable VAR
3081 # accordingly.
3082 ac_fn_cxx_check_header_mongrel ()
3083 {
3084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3085 if eval "test \"\${$3+set}\"" = set; then :
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3087 $as_echo_n "checking for $2... " >&6; }
3088 if eval "test \"\${$3+set}\"" = set; then :
3089 $as_echo_n "(cached) " >&6
3090 fi
3091 eval ac_res=\$$3
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3093 $as_echo "$ac_res" >&6; }
3094 else
3095 # Is the header compilable?
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3097 $as_echo_n "checking $2 usability... " >&6; }
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3100 $4
3101 #include <$2>
3102 _ACEOF
3103 if ac_fn_cxx_try_compile "$LINENO"; then :
3104 ac_header_compiler=yes
3105 else
3106 ac_header_compiler=no
3107 fi
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3110 $as_echo "$ac_header_compiler" >&6; }
3111
3112 # Is the header present?
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3114 $as_echo_n "checking $2 presence... " >&6; }
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116 /* end confdefs.h. */
3117 #include <$2>
3118 _ACEOF
3119 if ac_fn_cxx_try_cpp "$LINENO"; then :
3120 ac_header_preproc=yes
3121 else
3122 ac_header_preproc=no
3123 fi
3124 rm -f conftest.err conftest.i conftest.$ac_ext
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3126 $as_echo "$ac_header_preproc" >&6; }
3127
3128 # So? What about this header?
3129 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3130 yes:no: )
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3132 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3134 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3135 ;;
3136 no:yes:* )
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3138 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3140 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3142 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3144 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3146 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3147 ( $as_echo "## ----------------------------------------- ##
3148 ## Report this to wx-dev@lists.wxwidgets.org ##
3149 ## ----------------------------------------- ##"
3150 ) | sed "s/^/$as_me: WARNING: /" >&2
3151 ;;
3152 esac
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3154 $as_echo_n "checking for $2... " >&6; }
3155 if eval "test \"\${$3+set}\"" = set; then :
3156 $as_echo_n "(cached) " >&6
3157 else
3158 eval "$3=\$ac_header_compiler"
3159 fi
3160 eval ac_res=\$$3
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3162 $as_echo "$ac_res" >&6; }
3163 fi
3164 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3165
3166 } # ac_fn_cxx_check_header_mongrel
3167
3168 # ac_fn_c_check_func LINENO FUNC VAR
3169 # ----------------------------------
3170 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3171 ac_fn_c_check_func ()
3172 {
3173 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3175 $as_echo_n "checking for $2... " >&6; }
3176 if eval "test \"\${$3+set}\"" = set; then :
3177 $as_echo_n "(cached) " >&6
3178 else
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3181 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3183 #define $2 innocuous_$2
3184
3185 /* System header to define __stub macros and hopefully few prototypes,
3186 which can conflict with char $2 (); below.
3187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3188 <limits.h> exists even on freestanding compilers. */
3189
3190 #ifdef __STDC__
3191 # include <limits.h>
3192 #else
3193 # include <assert.h>
3194 #endif
3195
3196 #undef $2
3197
3198 /* Override any GCC internal prototype to avoid an error.
3199 Use char because int might match the return type of a GCC
3200 builtin and then its argument prototype would still apply. */
3201 #ifdef __cplusplus
3202 extern "C"
3203 #endif
3204 char $2 ();
3205 /* The GNU C library defines this for functions which it implements
3206 to always fail with ENOSYS. Some functions are actually named
3207 something starting with __ and the normal name is an alias. */
3208 #if defined __stub_$2 || defined __stub___$2
3209 choke me
3210 #endif
3211
3212 int
3213 main ()
3214 {
3215 return $2 ();
3216 ;
3217 return 0;
3218 }
3219 _ACEOF
3220 if ac_fn_c_try_link "$LINENO"; then :
3221 eval "$3=yes"
3222 else
3223 eval "$3=no"
3224 fi
3225 rm -f core conftest.err conftest.$ac_objext \
3226 conftest$ac_exeext conftest.$ac_ext
3227 fi
3228 eval ac_res=\$$3
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3230 $as_echo "$ac_res" >&6; }
3231 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3232
3233 } # ac_fn_c_check_func
3234
3235 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3236 # -------------------------------------------
3237 # Tests whether TYPE exists after having included INCLUDES, setting cache
3238 # variable VAR accordingly.
3239 ac_fn_c_check_type ()
3240 {
3241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3243 $as_echo_n "checking for $2... " >&6; }
3244 if eval "test \"\${$3+set}\"" = set; then :
3245 $as_echo_n "(cached) " >&6
3246 else
3247 eval "$3=no"
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3250 $4
3251 int
3252 main ()
3253 {
3254 if (sizeof ($2))
3255 return 0;
3256 ;
3257 return 0;
3258 }
3259 _ACEOF
3260 if ac_fn_c_try_compile "$LINENO"; then :
3261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262 /* end confdefs.h. */
3263 $4
3264 int
3265 main ()
3266 {
3267 if (sizeof (($2)))
3268 return 0;
3269 ;
3270 return 0;
3271 }
3272 _ACEOF
3273 if ac_fn_c_try_compile "$LINENO"; then :
3274
3275 else
3276 eval "$3=yes"
3277 fi
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3279 fi
3280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3281 fi
3282 eval ac_res=\$$3
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3284 $as_echo "$ac_res" >&6; }
3285 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3286
3287 } # ac_fn_c_check_type
3288
3289 # ac_fn_cxx_try_run LINENO
3290 # ------------------------
3291 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3292 # that executables *can* be run.
3293 ac_fn_cxx_try_run ()
3294 {
3295 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3296 if { { ac_try="$ac_link"
3297 case "(($ac_try" in
3298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299 *) ac_try_echo=$ac_try;;
3300 esac
3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302 $as_echo "$ac_try_echo"; } >&5
3303 (eval "$ac_link") 2>&5
3304 ac_status=$?
3305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3306 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3307 { { case "(($ac_try" in
3308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3309 *) ac_try_echo=$ac_try;;
3310 esac
3311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3312 $as_echo "$ac_try_echo"; } >&5
3313 (eval "$ac_try") 2>&5
3314 ac_status=$?
3315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3316 test $ac_status = 0; }; }; then :
3317 ac_retval=0
3318 else
3319 $as_echo "$as_me: program exited with status $ac_status" >&5
3320 $as_echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3322
3323 ac_retval=$ac_status
3324 fi
3325 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3326 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3327 as_fn_set_status $ac_retval
3328
3329 } # ac_fn_cxx_try_run
3330 cat >config.log <<_ACEOF
3331 This file contains any messages produced by compilers while
3332 running configure, to aid debugging if configure makes a mistake.
3333
3334 It was created by wxWidgets $as_me 2.9.4, which was
3335 generated by GNU Autoconf 2.67. Invocation command line was
3336
3337 $ $0 $@
3338
3339 _ACEOF
3340 exec 5>>config.log
3341 {
3342 cat <<_ASUNAME
3343 ## --------- ##
3344 ## Platform. ##
3345 ## --------- ##
3346
3347 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3348 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3349 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3350 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3351 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3352
3353 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3354 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3355
3356 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3357 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3358 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3359 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3360 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3361 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3362 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3363
3364 _ASUNAME
3365
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH
3368 do
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 $as_echo "PATH: $as_dir"
3372 done
3373 IFS=$as_save_IFS
3374
3375 } >&5
3376
3377 cat >&5 <<_ACEOF
3378
3379
3380 ## ----------- ##
3381 ## Core tests. ##
3382 ## ----------- ##
3383
3384 _ACEOF
3385
3386
3387 # Keep a trace of the command line.
3388 # Strip out --no-create and --no-recursion so they do not pile up.
3389 # Strip out --silent because we don't want to record it for future runs.
3390 # Also quote any args containing shell meta-characters.
3391 # Make two passes to allow for proper duplicate-argument suppression.
3392 ac_configure_args=
3393 ac_configure_args0=
3394 ac_configure_args1=
3395 ac_must_keep_next=false
3396 for ac_pass in 1 2
3397 do
3398 for ac_arg
3399 do
3400 case $ac_arg in
3401 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3403 | -silent | --silent | --silen | --sile | --sil)
3404 continue ;;
3405 *\'*)
3406 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3407 esac
3408 case $ac_pass in
3409 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3410 2)
3411 as_fn_append ac_configure_args1 " '$ac_arg'"
3412 if test $ac_must_keep_next = true; then
3413 ac_must_keep_next=false # Got value, back to normal.
3414 else
3415 case $ac_arg in
3416 *=* | --config-cache | -C | -disable-* | --disable-* \
3417 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3418 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3419 | -with-* | --with-* | -without-* | --without-* | --x)
3420 case "$ac_configure_args0 " in
3421 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3422 esac
3423 ;;
3424 -* ) ac_must_keep_next=true ;;
3425 esac
3426 fi
3427 as_fn_append ac_configure_args " '$ac_arg'"
3428 ;;
3429 esac
3430 done
3431 done
3432 { ac_configure_args0=; unset ac_configure_args0;}
3433 { ac_configure_args1=; unset ac_configure_args1;}
3434
3435 # When interrupted or exit'd, cleanup temporary files, and complete
3436 # config.log. We remove comments because anyway the quotes in there
3437 # would cause problems or look ugly.
3438 # WARNING: Use '\'' to represent an apostrophe within the trap.
3439 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3440 trap 'exit_status=$?
3441 # Save into config.log some information that might help in debugging.
3442 {
3443 echo
3444
3445 $as_echo "## ---------------- ##
3446 ## Cache variables. ##
3447 ## ---------------- ##"
3448 echo
3449 # The following way of writing the cache mishandles newlines in values,
3450 (
3451 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3452 eval ac_val=\$$ac_var
3453 case $ac_val in #(
3454 *${as_nl}*)
3455 case $ac_var in #(
3456 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3457 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3458 esac
3459 case $ac_var in #(
3460 _ | IFS | as_nl) ;; #(
3461 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3462 *) { eval $ac_var=; unset $ac_var;} ;;
3463 esac ;;
3464 esac
3465 done
3466 (set) 2>&1 |
3467 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3468 *${as_nl}ac_space=\ *)
3469 sed -n \
3470 "s/'\''/'\''\\\\'\'''\''/g;
3471 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3472 ;; #(
3473 *)
3474 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3475 ;;
3476 esac |
3477 sort
3478 )
3479 echo
3480
3481 $as_echo "## ----------------- ##
3482 ## Output variables. ##
3483 ## ----------------- ##"
3484 echo
3485 for ac_var in $ac_subst_vars
3486 do
3487 eval ac_val=\$$ac_var
3488 case $ac_val in
3489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3490 esac
3491 $as_echo "$ac_var='\''$ac_val'\''"
3492 done | sort
3493 echo
3494
3495 if test -n "$ac_subst_files"; then
3496 $as_echo "## ------------------- ##
3497 ## File substitutions. ##
3498 ## ------------------- ##"
3499 echo
3500 for ac_var in $ac_subst_files
3501 do
3502 eval ac_val=\$$ac_var
3503 case $ac_val in
3504 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3505 esac
3506 $as_echo "$ac_var='\''$ac_val'\''"
3507 done | sort
3508 echo
3509 fi
3510
3511 if test -s confdefs.h; then
3512 $as_echo "## ----------- ##
3513 ## confdefs.h. ##
3514 ## ----------- ##"
3515 echo
3516 cat confdefs.h
3517 echo
3518 fi
3519 test "$ac_signal" != 0 &&
3520 $as_echo "$as_me: caught signal $ac_signal"
3521 $as_echo "$as_me: exit $exit_status"
3522 } >&5
3523 rm -f core *.core core.conftest.* &&
3524 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3525 exit $exit_status
3526 ' 0
3527 for ac_signal in 1 2 13 15; do
3528 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3529 done
3530 ac_signal=0
3531
3532 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3533 rm -f -r conftest* confdefs.h
3534
3535 $as_echo "/* confdefs.h */" > confdefs.h
3536
3537 # Predefined preprocessor variables.
3538
3539 cat >>confdefs.h <<_ACEOF
3540 #define PACKAGE_NAME "$PACKAGE_NAME"
3541 _ACEOF
3542
3543 cat >>confdefs.h <<_ACEOF
3544 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3545 _ACEOF
3546
3547 cat >>confdefs.h <<_ACEOF
3548 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3549 _ACEOF
3550
3551 cat >>confdefs.h <<_ACEOF
3552 #define PACKAGE_STRING "$PACKAGE_STRING"
3553 _ACEOF
3554
3555 cat >>confdefs.h <<_ACEOF
3556 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3557 _ACEOF
3558
3559 cat >>confdefs.h <<_ACEOF
3560 #define PACKAGE_URL "$PACKAGE_URL"
3561 _ACEOF
3562
3563
3564 # Let the site file select an alternate cache file if it wants to.
3565 # Prefer an explicitly selected file to automatically selected ones.
3566 ac_site_file1=NONE
3567 ac_site_file2=NONE
3568 if test -n "$CONFIG_SITE"; then
3569 # We do not want a PATH search for config.site.
3570 case $CONFIG_SITE in #((
3571 -*) ac_site_file1=./$CONFIG_SITE;;
3572 */*) ac_site_file1=$CONFIG_SITE;;
3573 *) ac_site_file1=./$CONFIG_SITE;;
3574 esac
3575 elif test "x$prefix" != xNONE; then
3576 ac_site_file1=$prefix/share/config.site
3577 ac_site_file2=$prefix/etc/config.site
3578 else
3579 ac_site_file1=$ac_default_prefix/share/config.site
3580 ac_site_file2=$ac_default_prefix/etc/config.site
3581 fi
3582 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3583 do
3584 test "x$ac_site_file" = xNONE && continue
3585 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3587 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3588 sed 's/^/| /' "$ac_site_file" >&5
3589 . "$ac_site_file" \
3590 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3592 as_fn_error $? "failed to load site script $ac_site_file
3593 See \`config.log' for more details" "$LINENO" 5; }
3594 fi
3595 done
3596
3597 if test -r "$cache_file"; then
3598 # Some versions of bash will fail to source /dev/null (special files
3599 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3600 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3602 $as_echo "$as_me: loading cache $cache_file" >&6;}
3603 case $cache_file in
3604 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3605 *) . "./$cache_file";;
3606 esac
3607 fi
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3610 $as_echo "$as_me: creating cache $cache_file" >&6;}
3611 >$cache_file
3612 fi
3613
3614 # Check that the precious variables saved in the cache have kept the same
3615 # value.
3616 ac_cache_corrupted=false
3617 for ac_var in $ac_precious_vars; do
3618 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3619 eval ac_new_set=\$ac_env_${ac_var}_set
3620 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3621 eval ac_new_val=\$ac_env_${ac_var}_value
3622 case $ac_old_set,$ac_new_set in
3623 set,)
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3625 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3626 ac_cache_corrupted=: ;;
3627 ,set)
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3629 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3630 ac_cache_corrupted=: ;;
3631 ,);;
3632 *)
3633 if test "x$ac_old_val" != "x$ac_new_val"; then
3634 # differences in whitespace do not lead to failure.
3635 ac_old_val_w=`echo x $ac_old_val`
3636 ac_new_val_w=`echo x $ac_new_val`
3637 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3639 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3640 ac_cache_corrupted=:
3641 else
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3643 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3644 eval $ac_var=\$ac_old_val
3645 fi
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3647 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3649 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3650 fi;;
3651 esac
3652 # Pass precious variables to config.status.
3653 if test "$ac_new_set" = set; then
3654 case $ac_new_val in
3655 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3656 *) ac_arg=$ac_var=$ac_new_val ;;
3657 esac
3658 case " $ac_configure_args " in
3659 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3660 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3661 esac
3662 fi
3663 done
3664 if $ac_cache_corrupted; then
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3666 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3668 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3669 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3670 fi
3671 ## -------------------- ##
3672 ## Main body of script. ##
3673 ## -------------------- ##
3674
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680
3681
3682
3683
3684
3685 ac_aux_dir=
3686 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3687 if test -f "$ac_dir/install-sh"; then
3688 ac_aux_dir=$ac_dir
3689 ac_install_sh="$ac_aux_dir/install-sh -c"
3690 break
3691 elif test -f "$ac_dir/install.sh"; then
3692 ac_aux_dir=$ac_dir
3693 ac_install_sh="$ac_aux_dir/install.sh -c"
3694 break
3695 elif test -f "$ac_dir/shtool"; then
3696 ac_aux_dir=$ac_dir
3697 ac_install_sh="$ac_aux_dir/shtool install -c"
3698 break
3699 fi
3700 done
3701 if test -z "$ac_aux_dir"; then
3702 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3703 fi
3704
3705 # These three variables are undocumented and unsupported,
3706 # and are intended to be withdrawn in a future Autoconf release.
3707 # They can cause serious problems if a builder's source tree is in a directory
3708 # whose full name contains unusual characters.
3709 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3710 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3711 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3712
3713
3714 # Make sure we can run config.sub.
3715 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3716 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3717
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3719 $as_echo_n "checking build system type... " >&6; }
3720 if test "${ac_cv_build+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3722 else
3723 ac_build_alias=$build_alias
3724 test "x$ac_build_alias" = x &&
3725 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3726 test "x$ac_build_alias" = x &&
3727 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3728 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3729 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3730
3731 fi
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3733 $as_echo "$ac_cv_build" >&6; }
3734 case $ac_cv_build in
3735 *-*-*) ;;
3736 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3737 esac
3738 build=$ac_cv_build
3739 ac_save_IFS=$IFS; IFS='-'
3740 set x $ac_cv_build
3741 shift
3742 build_cpu=$1
3743 build_vendor=$2
3744 shift; shift
3745 # Remember, the first character of IFS is used to create $*,
3746 # except with old shells:
3747 build_os=$*
3748 IFS=$ac_save_IFS
3749 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3750
3751
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3753 $as_echo_n "checking host system type... " >&6; }
3754 if test "${ac_cv_host+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test "x$host_alias" = x; then
3758 ac_cv_host=$ac_cv_build
3759 else
3760 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3761 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3762 fi
3763
3764 fi
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3766 $as_echo "$ac_cv_host" >&6; }
3767 case $ac_cv_host in
3768 *-*-*) ;;
3769 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3770 esac
3771 host=$ac_cv_host
3772 ac_save_IFS=$IFS; IFS='-'
3773 set x $ac_cv_host
3774 shift
3775 host_cpu=$1
3776 host_vendor=$2
3777 shift; shift
3778 # Remember, the first character of IFS is used to create $*,
3779 # except with old shells:
3780 host_os=$*
3781 IFS=$ac_save_IFS
3782 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3783
3784
3785
3786 if test "$cross_compiling" != "no"; then
3787 HOST_PREFIX="${host_alias}-"
3788 HOST_SUFFIX="-$host_alias"
3789 else
3790 HOST_PREFIX=
3791 HOST_SUFFIX=
3792 fi
3793
3794
3795 wx_major_version_number=2
3796 wx_minor_version_number=9
3797 wx_release_number=4
3798 wx_subrelease_number=0
3799
3800 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3801 WX_VERSION=$WX_RELEASE.$wx_release_number
3802 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3803
3804 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3805
3806
3807 wx_top_builddir="`pwd`"
3808
3809
3810
3811
3812 USE_UNIX=1
3813 USE_OS2=0
3814 USE_WIN32=0
3815 USE_DOS=0
3816 USE_BEOS=0
3817 USE_MAC=0
3818
3819 USE_AIX=
3820 USE_BSD= USE_DARWIN= USE_FREEBSD=
3821 USE_GNU= USE_HPUX=
3822 USE_LINUX=
3823 USE_NETBSD=
3824 USE_OPENBSD=
3825 USE_OSF= USE_SGI=
3826 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3827 USE_ULTRIX=
3828 USE_UNIXWARE=
3829
3830 USE_ALPHA=
3831
3832 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3833
3834 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3835
3836 DEFAULT_wxUSE_OLD_COCOA=0
3837 DEFAULT_wxUSE_GTK=0
3838 DEFAULT_wxUSE_OSX_CARBON=0
3839 DEFAULT_wxUSE_OSX_COCOA=0
3840 DEFAULT_wxUSE_OSX_IPHONE=0
3841 DEFAULT_wxUSE_MICROWIN=0
3842 DEFAULT_wxUSE_MOTIF=0
3843 DEFAULT_wxUSE_MSW=0
3844 DEFAULT_wxUSE_PM=0
3845 DEFAULT_wxUSE_X11=0
3846 DEFAULT_wxUSE_DFB=0
3847
3848 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3849 DEFAULT_DEFAULT_wxUSE_GTK=0
3850 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3851 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3852 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3853 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3854 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3855 DEFAULT_DEFAULT_wxUSE_MSW=0
3856 DEFAULT_DEFAULT_wxUSE_PM=0
3857 DEFAULT_DEFAULT_wxUSE_X11=0
3858 DEFAULT_DEFAULT_wxUSE_DFB=0
3859
3860 PROGRAM_EXT=
3861 SAMPLES_RPATH_FLAG=
3862 DYLIB_RPATH_INSTALL=
3863 DYLIB_RPATH_POSTLINK=
3864
3865 DEFAULT_STD_FLAG=yes
3866
3867 case "${host}" in
3868 *-hp-hpux* )
3869 USE_HPUX=1
3870 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3871 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3872 $as_echo "#define __HPUX__ 1" >>confdefs.h
3873
3874
3875 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3876 ;;
3877 *-*-linux* )
3878 USE_LINUX=1
3879 $as_echo "#define __LINUX__ 1" >>confdefs.h
3880
3881 TMP=`uname -m`
3882 if test "x$TMP" = "xalpha"; then
3883 USE_ALPHA=1
3884 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3885
3886 fi
3887 DEFAULT_DEFAULT_wxUSE_GTK=1
3888 ;;
3889 *-*-gnu* | *-*-k*bsd*-gnu )
3890 USE_GNU=1
3891 TMP=`uname -m`
3892 if test "x$TMP" = "xalpha"; then
3893 USE_ALPHA=1
3894 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3895
3896 fi
3897 DEFAULT_DEFAULT_wxUSE_GTK=1
3898 ;;
3899 *-*-irix5* | *-*-irix6* )
3900 USE_SGI=1
3901 USE_SVR4=1
3902 $as_echo "#define __SGI__ 1" >>confdefs.h
3903
3904 $as_echo "#define __SVR4__ 1" >>confdefs.h
3905
3906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3907 ;;
3908 *-*-qnx*)
3909 USE_QNX=1
3910 $as_echo "#define __QNX__ 1" >>confdefs.h
3911
3912 DEFAULT_DEFAULT_wxUSE_X11=1
3913 ;;
3914 *-*-solaris2* )
3915 USE_SUN=1
3916 USE_SOLARIS=1
3917 USE_SVR4=1
3918 $as_echo "#define __SUN__ 1" >>confdefs.h
3919
3920 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3921
3922 $as_echo "#define __SVR4__ 1" >>confdefs.h
3923
3924 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3925 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3926 ;;
3927 *-*-sunos4* )
3928 USE_SUN=1
3929 USE_SUNOS=1
3930 USE_BSD=1
3931 $as_echo "#define __SUN__ 1" >>confdefs.h
3932
3933 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3934
3935 $as_echo "#define __BSD__ 1" >>confdefs.h
3936
3937 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3938 ;;
3939 *-*-freebsd*)
3940 USE_BSD=1
3941 USE_FREEBSD=1
3942 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3943
3944 $as_echo "#define __BSD__ 1" >>confdefs.h
3945
3946 DEFAULT_DEFAULT_wxUSE_GTK=1
3947 ;;
3948 *-*-openbsd*|*-*-mirbsd*)
3949 USE_BSD=1
3950 USE_OPENBSD=1
3951 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3952
3953 $as_echo "#define __BSD__ 1" >>confdefs.h
3954
3955 DEFAULT_DEFAULT_wxUSE_GTK=1
3956 ;;
3957 *-*-netbsd*)
3958 USE_BSD=1
3959 USE_NETBSD=1
3960 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3961
3962 $as_echo "#define __BSD__ 1" >>confdefs.h
3963
3964 DEFAULT_DEFAULT_wxUSE_GTK=1
3965 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3966
3967 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3968 ;;
3969 *-*-osf* )
3970 USE_ALPHA=1
3971 USE_OSF=1
3972 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3973
3974 $as_echo "#define __OSF__ 1" >>confdefs.h
3975
3976 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3977 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3978 ;;
3979 *-*-dgux5* )
3980 USE_ALPHA=1
3981 USE_SVR4=1
3982 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3983
3984 $as_echo "#define __SVR4__ 1" >>confdefs.h
3985
3986 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3987 ;;
3988 *-*-sysv5* )
3989 USE_SYSV=1
3990 USE_SVR4=1
3991 $as_echo "#define __SYSV__ 1" >>confdefs.h
3992
3993 $as_echo "#define __SVR4__ 1" >>confdefs.h
3994
3995 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3996 ;;
3997 *-*-aix* )
3998 USE_AIX=1
3999 USE_SYSV=1
4000 USE_SVR4=1
4001 $as_echo "#define __AIX__ 1" >>confdefs.h
4002
4003 $as_echo "#define __SYSV__ 1" >>confdefs.h
4004
4005 $as_echo "#define __SVR4__ 1" >>confdefs.h
4006
4007 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4008 ;;
4009
4010 *-*-*UnixWare*)
4011 USE_SYSV=1
4012 USE_SVR4=1
4013 USE_UNIXWARE=1
4014 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4015
4016 ;;
4017
4018 *-*-cygwin* | *-*-mingw32* )
4019 PROGRAM_EXT=".exe"
4020 DEFAULT_DEFAULT_wxUSE_MSW=1
4021 ;;
4022
4023 *-pc-msdosdjgpp )
4024 USE_UNIX=0
4025 USE_DOS=1
4026 $as_echo "#define __DOS__ 1" >>confdefs.h
4027
4028 PROGRAM_EXT=".exe"
4029 ;;
4030
4031 *-pc-os2_emx | *-pc-os2-emx )
4032 $as_echo "#define __EMX__ 1" >>confdefs.h
4033
4034 USE_OS2=1
4035 $as_echo "#define __OS2__ 1" >>confdefs.h
4036
4037 PROGRAM_EXT=".exe"
4038 DEFAULT_DEFAULT_wxUSE_PM=1
4039 CXX=gcc
4040 LDFLAGS="$LDFLAGS -Zcrtdll"
4041 ac_executable_extensions=".exe"
4042 export ac_executable_extensions
4043 ac_save_IFS="$IFS"
4044 IFS='\\'
4045 ac_TEMP_PATH=
4046 for ac_dir in $PATH; do
4047 IFS=$ac_save_IFS
4048 if test -z "$ac_TEMP_PATH"; then
4049 ac_TEMP_PATH="$ac_dir"
4050 else
4051 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4052 fi
4053 done
4054 export PATH="$ac_TEMP_PATH"
4055 unset ac_TEMP_PATH
4056 DEFAULT_STD_FLAG=no
4057 ;;
4058
4059 arm-apple-darwin*)
4060 USE_BSD=1
4061 USE_DARWIN=1
4062 $as_echo "#define __BSD__ 1" >>confdefs.h
4063
4064 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4065
4066 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4067 ;;
4068
4069 *-*-darwin* )
4070 USE_BSD=1
4071 USE_DARWIN=1
4072 $as_echo "#define __BSD__ 1" >>confdefs.h
4073
4074 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4075
4076 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4077
4078 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4079 ;;
4080
4081 *-*-beos* )
4082 USE_BEOS=1
4083 $as_echo "#define __BEOS__ 1" >>confdefs.h
4084
4085 ;;
4086
4087 *)
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4089 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4091 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4092
4093 DEFAULT_DEFAULT_wxUSE_X11=1
4094 DEFAULT_wxUSE_SHARED=no
4095 esac
4096
4097
4098
4099 DEFAULT_wxUSE_ALL_FEATURES=yes
4100
4101 DEFAULT_wxUSE_STD_CONTAINERS=no
4102 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4103 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4104
4105 DEFAULT_wxUSE_DMALLOC=no
4106 DEFAULT_wxUSE_LIBGNOMEVFS=no
4107 DEFAULT_wxUSE_LIBHILDON=no
4108 DEFAULT_wxUSE_LIBHILDON2=no
4109 DEFAULT_wxUSE_LIBMSPACK=no
4110 DEFAULT_wxUSE_LIBSDL=no
4111
4112 DEFAULT_wxUSE_ACCESSIBILITY=no
4113 DEFAULT_wxUSE_IPV6=no
4114 DEFAULT_wxUSE_GSTREAMER8=no
4115 DEFAULT_wxUSE_UNICODE_UTF8=no
4116 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4117
4118 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4119 DEFAULT_wxUSE_OPENGL=auto
4120 DEFAULT_wxUSE_MEDIACTRL=auto
4121 DEFAULT_wxUSE_COMPILER_TLS=auto
4122 DEFAULT_wxUSE_HOTKEY=auto
4123 DEFAULT_wxUSE_METAFILE=auto
4124
4125 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4126 DEFAULT_wxUSE_MAC_ARCH=no
4127
4128 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4129
4130 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4131
4132
4133
4134
4135
4136 enablestring=disable
4137 defaultval=
4138 if test -z "$defaultval"; then
4139 if test x"$enablestring" = xdisable; then
4140 defaultval=yes
4141 else
4142 defaultval=no
4143 fi
4144 fi
4145
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4147 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4148 # Check whether --enable-gui was given.
4149 if test "${enable_gui+set}" = set; then :
4150 enableval=$enable_gui;
4151 if test "$enableval" = yes; then
4152 wx_cv_use_gui='wxUSE_GUI=yes'
4153 else
4154 wx_cv_use_gui='wxUSE_GUI=no'
4155 fi
4156
4157 else
4158
4159 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4160
4161 fi
4162
4163
4164 eval "$wx_cv_use_gui"
4165
4166 if test x"$enablestring" = xdisable; then
4167 if test $wxUSE_GUI = no; then
4168 result=yes
4169 else
4170 result=no
4171 fi
4172 else
4173 result=$wxUSE_GUI
4174 fi
4175
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4177 $as_echo "$result" >&6; }
4178
4179
4180 enablestring=
4181 defaultval=
4182 if test -z "$defaultval"; then
4183 if test x"$enablestring" = xdisable; then
4184 defaultval=yes
4185 else
4186 defaultval=no
4187 fi
4188 fi
4189
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4191 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4192 # Check whether --enable-monolithic was given.
4193 if test "${enable_monolithic+set}" = set; then :
4194 enableval=$enable_monolithic;
4195 if test "$enableval" = yes; then
4196 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4197 else
4198 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4199 fi
4200
4201 else
4202
4203 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4204
4205 fi
4206
4207
4208 eval "$wx_cv_use_monolithic"
4209
4210 if test x"$enablestring" = xdisable; then
4211 if test $wxUSE_MONOLITHIC = no; then
4212 result=yes
4213 else
4214 result=no
4215 fi
4216 else
4217 result=$wxUSE_MONOLITHIC
4218 fi
4219
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4221 $as_echo "$result" >&6; }
4222
4223
4224 enablestring=
4225 defaultval=
4226 if test -z "$defaultval"; then
4227 if test x"$enablestring" = xdisable; then
4228 defaultval=yes
4229 else
4230 defaultval=no
4231 fi
4232 fi
4233
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4235 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4236 # Check whether --enable-plugins was given.
4237 if test "${enable_plugins+set}" = set; then :
4238 enableval=$enable_plugins;
4239 if test "$enableval" = yes; then
4240 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4241 else
4242 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4243 fi
4244
4245 else
4246
4247 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4248
4249 fi
4250
4251
4252 eval "$wx_cv_use_plugins"
4253
4254 if test x"$enablestring" = xdisable; then
4255 if test $wxUSE_PLUGINS = no; then
4256 result=yes
4257 else
4258 result=no
4259 fi
4260 else
4261 result=$wxUSE_PLUGINS
4262 fi
4263
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4265 $as_echo "$result" >&6; }
4266
4267
4268 withstring=without
4269 defaultval=$wxUSE_ALL_FEATURES
4270 if test -z "$defaultval"; then
4271 if test x"$withstring" = xwithout; then
4272 defaultval=yes
4273 else
4274 defaultval=no
4275 fi
4276 fi
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4278 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4279
4280 # Check whether --with-subdirs was given.
4281 if test "${with_subdirs+set}" = set; then :
4282 withval=$with_subdirs;
4283 if test "$withval" = yes; then
4284 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4285 else
4286 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4287 fi
4288
4289 else
4290
4291 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4292
4293 fi
4294
4295
4296 eval "$wx_cv_use_subdirs"
4297
4298 if test x"$withstring" = xwithout; then
4299 if test $wxWITH_SUBDIRS = yes; then
4300 result=no
4301 else
4302 result=yes
4303 fi
4304 else
4305 result=$wxWITH_SUBDIRS
4306 fi
4307
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4309 $as_echo "$result" >&6; }
4310
4311
4312 # Check whether --with-flavour was given.
4313 if test "${with_flavour+set}" = set; then :
4314 withval=$with_flavour; WX_FLAVOUR="$withval"
4315 fi
4316
4317
4318 enablestring=
4319 defaultval=
4320 if test -z "$defaultval"; then
4321 if test x"$enablestring" = xdisable; then
4322 defaultval=yes
4323 else
4324 defaultval=no
4325 fi
4326 fi
4327
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4329 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4330 # Check whether --enable-official_build was given.
4331 if test "${enable_official_build+set}" = set; then :
4332 enableval=$enable_official_build;
4333 if test "$enableval" = yes; then
4334 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4335 else
4336 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4337 fi
4338
4339 else
4340
4341 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4342
4343 fi
4344
4345
4346 eval "$wx_cv_use_official_build"
4347
4348 if test x"$enablestring" = xdisable; then
4349 if test $wxUSE_OFFICIAL_BUILD = no; then
4350 result=yes
4351 else
4352 result=no
4353 fi
4354 else
4355 result=$wxUSE_OFFICIAL_BUILD
4356 fi
4357
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4359 $as_echo "$result" >&6; }
4360
4361 # Check whether --enable-vendor was given.
4362 if test "${enable_vendor+set}" = set; then :
4363 enableval=$enable_vendor; VENDOR="$enableval"
4364 fi
4365
4366 if test "x$VENDOR" = "x"; then
4367 VENDOR="custom"
4368 fi
4369
4370
4371 enablestring=disable
4372 defaultval=
4373 if test -z "$defaultval"; then
4374 if test x"$enablestring" = xdisable; then
4375 defaultval=yes
4376 else
4377 defaultval=no
4378 fi
4379 fi
4380
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4382 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4383 # Check whether --enable-all-features was given.
4384 if test "${enable_all_features+set}" = set; then :
4385 enableval=$enable_all_features;
4386 if test "$enableval" = yes; then
4387 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4388 else
4389 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4390 fi
4391
4392 else
4393
4394 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4395
4396 fi
4397
4398
4399 eval "$wx_cv_use_all_features"
4400
4401 if test x"$enablestring" = xdisable; then
4402 if test $wxUSE_ALL_FEATURES = no; then
4403 result=yes
4404 else
4405 result=no
4406 fi
4407 else
4408 result=$wxUSE_ALL_FEATURES
4409 fi
4410
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4412 $as_echo "$result" >&6; }
4413
4414
4415 if test "$wxUSE_ALL_FEATURES" = "no"; then
4416 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4417 DEFAULT_wxUSE_MEDIACTRL=no
4418 fi
4419
4420
4421 if test "$wxUSE_GUI" = "yes"; then
4422
4423
4424 enablestring=
4425 defaultval=
4426 if test -z "$defaultval"; then
4427 if test x"$enablestring" = xdisable; then
4428 defaultval=yes
4429 else
4430 defaultval=no
4431 fi
4432 fi
4433
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4435 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4436 # Check whether --enable-universal was given.
4437 if test "${enable_universal+set}" = set; then :
4438 enableval=$enable_universal;
4439 if test "$enableval" = yes; then
4440 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4441 else
4442 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4443 fi
4444
4445 else
4446
4447 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4448
4449 fi
4450
4451
4452 eval "$wx_cv_use_universal"
4453
4454 if test x"$enablestring" = xdisable; then
4455 if test $wxUSE_UNIVERSAL = no; then
4456 result=yes
4457 else
4458 result=no
4459 fi
4460 else
4461 result=$wxUSE_UNIVERSAL
4462 fi
4463
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4465 $as_echo "$result" >&6; }
4466
4467 if test "$wxUSE_UNIVERSAL" = "yes"; then
4468
4469 # Check whether --with-themes was given.
4470 if test "${with_themes+set}" = set; then :
4471 withval=$with_themes; wxUNIV_THEMES="$withval"
4472 fi
4473
4474 fi
4475
4476
4477 # Check whether --with-gtk was given.
4478 if test "${with_gtk+set}" = set; then :
4479 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4480 fi
4481
4482
4483 # Check whether --with-motif was given.
4484 if test "${with_motif+set}" = set; then :
4485 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4486 fi
4487
4488
4489 # Check whether --with-osx_carbon was given.
4490 if test "${with_osx_carbon+set}" = set; then :
4491 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4492 fi
4493
4494
4495 # Check whether --with-osx_cocoa was given.
4496 if test "${with_osx_cocoa+set}" = set; then :
4497 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4498 fi
4499
4500
4501 # Check whether --with-osx_iphone was given.
4502 if test "${with_osx_iphone+set}" = set; then :
4503 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4504 fi
4505
4506
4507 # Check whether --with-osx was given.
4508 if test "${with_osx+set}" = set; then :
4509 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4510 fi
4511
4512
4513 # Check whether --with-carbon was given.
4514 if test "${with_carbon+set}" = set; then :
4515 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4516 fi
4517
4518
4519 # Check whether --with-cocoa was given.
4520 if test "${with_cocoa+set}" = set; then :
4521 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4522 fi
4523
4524
4525 # Check whether --with-iphone was given.
4526 if test "${with_iphone+set}" = set; then :
4527 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4528 fi
4529
4530
4531 # Check whether --with-mac was given.
4532 if test "${with_mac+set}" = set; then :
4533 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4534 fi
4535
4536
4537 # Check whether --with-old_cocoa was given.
4538 if test "${with_old_cocoa+set}" = set; then :
4539 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4540 fi
4541
4542
4543 # Check whether --with-wine was given.
4544 if test "${with_wine+set}" = set; then :
4545 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4546 fi
4547
4548
4549 # Check whether --with-msw was given.
4550 if test "${with_msw+set}" = set; then :
4551 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4552 fi
4553
4554
4555 # Check whether --with-pm was given.
4556 if test "${with_pm+set}" = set; then :
4557 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4558 fi
4559
4560
4561 # Check whether --with-directfb was given.
4562 if test "${with_directfb+set}" = set; then :
4563 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4564 fi
4565
4566
4567 # Check whether --with-microwin was given.
4568 if test "${with_microwin+set}" = set; then :
4569 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4570 fi
4571
4572
4573 # Check whether --with-x11 was given.
4574 if test "${with_x11+set}" = set; then :
4575 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4576 fi
4577
4578
4579 enablestring=
4580 defaultval=
4581 if test -z "$defaultval"; then
4582 if test x"$enablestring" = xdisable; then
4583 defaultval=yes
4584 else
4585 defaultval=no
4586 fi
4587 fi
4588
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4590 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4591 # Check whether --enable-nanox was given.
4592 if test "${enable_nanox+set}" = set; then :
4593 enableval=$enable_nanox;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_nanox='wxUSE_NANOX=yes'
4596 else
4597 wx_cv_use_nanox='wxUSE_NANOX=no'
4598 fi
4599
4600 else
4601
4602 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4603
4604 fi
4605
4606
4607 eval "$wx_cv_use_nanox"
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_NANOX = no; then
4611 result=yes
4612 else
4613 result=no
4614 fi
4615 else
4616 result=$wxUSE_NANOX
4617 fi
4618
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4620 $as_echo "$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4634 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4635 # Check whether --enable-gpe was given.
4636 if test "${enable_gpe+set}" = set; then :
4637 enableval=$enable_gpe;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_gpe='wxUSE_GPE=yes'
4640 else
4641 wx_cv_use_gpe='wxUSE_GPE=no'
4642 fi
4643
4644 else
4645
4646 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4647
4648 fi
4649
4650
4651 eval "$wx_cv_use_gpe"
4652
4653 if test x"$enablestring" = xdisable; then
4654 if test $wxUSE_GPE = no; then
4655 result=yes
4656 else
4657 result=no
4658 fi
4659 else
4660 result=$wxUSE_GPE
4661 fi
4662
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4664 $as_echo "$result" >&6; }
4665
4666
4667
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4669 $as_echo_n "checking for toolkit... " >&6; }
4670
4671
4672
4673 # In Wine, we need to default to MSW, not GTK or MOTIF
4674 if test "$wxUSE_WINE" = "yes"; then
4675 DEFAULT_DEFAULT_wxUSE_GTK=0
4676 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4677 DEFAULT_DEFAULT_wxUSE_MSW=1
4678 wxUSE_SHARED=no
4679 CC=${CC:-winegcc}
4680 CXX=${CXX:-wineg++}
4681 fi
4682
4683
4684 if test "$wxUSE_GUI" = "yes"; then
4685
4686 if test "$USE_BEOS" = 1; then
4687 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4688 fi
4689
4690 if test "$TOOLKIT_GIVEN" = 1; then
4691 for toolkit in $ALL_TOOLKITS; do
4692 var=wxUSE_$toolkit
4693 eval "value=\$${var}"
4694 if test "x$value" = "xno"; then
4695 eval "$var=0"
4696 elif test "x$value" != "x"; then
4697 eval "$var=1"
4698 fi
4699
4700 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4701 eval "wx${toolkit}_VERSION=$value"
4702 fi
4703 done
4704 else
4705 for toolkit in $ALL_TOOLKITS; do
4706 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4707 eval "wxUSE_$toolkit=\$${var}"
4708 done
4709 fi
4710
4711 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4712 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4713 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4714
4715 case "${host}" in
4716 *-pc-os2_emx | *-pc-os2-emx )
4717 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4718 esac
4719
4720 case "$NUM_TOOLKITS" in
4721 1)
4722 ;;
4723 0)
4724 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4725 ;;
4726 *)
4727 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4728 esac
4729
4730 for toolkit in $ALL_TOOLKITS; do
4731 var=wxUSE_$toolkit
4732 eval "value=\$${var}"
4733 if test "$value" = 1; then
4734 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4736 $as_echo "$toolkit_echo" >&6; }
4737 fi
4738 done
4739 else
4740 if test "x$host_alias" != "x"; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4742 $as_echo "base ($host_alias hosted) only" >&6; }
4743 else
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4745 $as_echo "base only" >&6; }
4746 fi
4747 fi
4748
4749 wxUSE_MAC=0
4750 if test "$wxUSE_OSX_CARBON" = 1 \
4751 -o "$wxUSE_OSX_COCOA" = 1 \
4752 -o "$wxUSE_OSX_IPHONE" = 1; then
4753 wxUSE_MAC=1
4754 fi
4755
4756
4757
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4759 $as_echo_n "checking for --with-libpng... " >&6; }
4760
4761 # Check whether --with-libpng was given.
4762 if test "${with_libpng+set}" = set; then :
4763 withval=$with_libpng;
4764 if test "$withval" = yes; then
4765 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4766 elif test "$withval" = no; then
4767 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4768 elif test "$withval" = sys; then
4769 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4770 elif test "$withval" = builtin; then
4771 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4772 else
4773 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4774 fi
4775
4776 else
4777
4778 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4779
4780 fi
4781
4782
4783 eval "$wx_cv_use_libpng"
4784
4785 if test "$wxUSE_LIBPNG" = yes; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4787 $as_echo "yes" >&6; }
4788 elif test "$wxUSE_LIBPNG" = no; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4791 elif test "$wxUSE_LIBPNG" = sys; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4793 $as_echo "system version" >&6; }
4794 elif test "$wxUSE_LIBPNG" = builtin; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4796 $as_echo "builtin version" >&6; }
4797 else
4798 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4799 fi
4800
4801
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4803 $as_echo_n "checking for --with-libjpeg... " >&6; }
4804
4805 # Check whether --with-libjpeg was given.
4806 if test "${with_libjpeg+set}" = set; then :
4807 withval=$with_libjpeg;
4808 if test "$withval" = yes; then
4809 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4810 elif test "$withval" = no; then
4811 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4812 elif test "$withval" = sys; then
4813 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4814 elif test "$withval" = builtin; then
4815 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4816 else
4817 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4818 fi
4819
4820 else
4821
4822 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4823
4824 fi
4825
4826
4827 eval "$wx_cv_use_libjpeg"
4828
4829 if test "$wxUSE_LIBJPEG" = yes; then
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4831 $as_echo "yes" >&6; }
4832 elif test "$wxUSE_LIBJPEG" = no; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4834 $as_echo "no" >&6; }
4835 elif test "$wxUSE_LIBJPEG" = sys; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4837 $as_echo "system version" >&6; }
4838 elif test "$wxUSE_LIBJPEG" = builtin; then
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4840 $as_echo "builtin version" >&6; }
4841 else
4842 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4843 fi
4844
4845
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4847 $as_echo_n "checking for --with-libtiff... " >&6; }
4848
4849 # Check whether --with-libtiff was given.
4850 if test "${with_libtiff+set}" = set; then :
4851 withval=$with_libtiff;
4852 if test "$withval" = yes; then
4853 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4854 elif test "$withval" = no; then
4855 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4856 elif test "$withval" = sys; then
4857 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4858 elif test "$withval" = builtin; then
4859 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4860 else
4861 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4862 fi
4863
4864 else
4865
4866 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4867
4868 fi
4869
4870
4871 eval "$wx_cv_use_libtiff"
4872
4873 if test "$wxUSE_LIBTIFF" = yes; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4875 $as_echo "yes" >&6; }
4876 elif test "$wxUSE_LIBTIFF" = no; then
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4879 elif test "$wxUSE_LIBTIFF" = sys; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4881 $as_echo "system version" >&6; }
4882 elif test "$wxUSE_LIBTIFF" = builtin; then
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4884 $as_echo "builtin version" >&6; }
4885 else
4886 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4887 fi
4888
4889
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4891 $as_echo_n "checking for --with-libxpm... " >&6; }
4892
4893 # Check whether --with-libxpm was given.
4894 if test "${with_libxpm+set}" = set; then :
4895 withval=$with_libxpm;
4896 if test "$withval" = yes; then
4897 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4898 elif test "$withval" = no; then
4899 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4900 elif test "$withval" = sys; then
4901 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4902 elif test "$withval" = builtin; then
4903 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4904 else
4905 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4906 fi
4907
4908 else
4909
4910 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4911
4912 fi
4913
4914
4915 eval "$wx_cv_use_libxpm"
4916
4917 if test "$wxUSE_LIBXPM" = yes; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4919 $as_echo "yes" >&6; }
4920 elif test "$wxUSE_LIBXPM" = no; then
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4923 elif test "$wxUSE_LIBXPM" = sys; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4925 $as_echo "system version" >&6; }
4926 elif test "$wxUSE_LIBXPM" = builtin; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4928 $as_echo "builtin version" >&6; }
4929 else
4930 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4931 fi
4932
4933
4934 withstring=
4935 defaultval=$wxUSE_ALL_FEATURES
4936 if test -z "$defaultval"; then
4937 if test x"$withstring" = xwithout; then
4938 defaultval=yes
4939 else
4940 defaultval=no
4941 fi
4942 fi
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4944 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4945
4946 # Check whether --with-libiconv was given.
4947 if test "${with_libiconv+set}" = set; then :
4948 withval=$with_libiconv;
4949 if test "$withval" = yes; then
4950 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4951 else
4952 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4953 fi
4954
4955 else
4956
4957 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_libiconv"
4963
4964 if test x"$withstring" = xwithout; then
4965 if test $wxUSE_LIBICONV = yes; then
4966 result=no
4967 else
4968 result=yes
4969 fi
4970 else
4971 result=$wxUSE_LIBICONV
4972 fi
4973
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4975 $as_echo "$result" >&6; }
4976
4977
4978 withstring=
4979 defaultval=$wxUSE_ALL_FEATURES
4980 if test -z "$defaultval"; then
4981 if test x"$withstring" = xwithout; then
4982 defaultval=yes
4983 else
4984 defaultval=no
4985 fi
4986 fi
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
4988 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
4989
4990 # Check whether --with-libmspack was given.
4991 if test "${with_libmspack+set}" = set; then :
4992 withval=$with_libmspack;
4993 if test "$withval" = yes; then
4994 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
4995 else
4996 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
4997 fi
4998
4999 else
5000
5001 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5002
5003 fi
5004
5005
5006 eval "$wx_cv_use_libmspack"
5007
5008 if test x"$withstring" = xwithout; then
5009 if test $wxUSE_LIBMSPACK = yes; then
5010 result=no
5011 else
5012 result=yes
5013 fi
5014 else
5015 result=$wxUSE_LIBMSPACK
5016 fi
5017
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5019 $as_echo "$result" >&6; }
5020
5021
5022 withstring=without
5023 defaultval=$wxUSE_ALL_FEATURES
5024 if test -z "$defaultval"; then
5025 if test x"$withstring" = xwithout; then
5026 defaultval=yes
5027 else
5028 defaultval=no
5029 fi
5030 fi
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5032 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5033
5034 # Check whether --with-gtkprint was given.
5035 if test "${with_gtkprint+set}" = set; then :
5036 withval=$with_gtkprint;
5037 if test "$withval" = yes; then
5038 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5039 else
5040 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5041 fi
5042
5043 else
5044
5045 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5046
5047 fi
5048
5049
5050 eval "$wx_cv_use_gtkprint"
5051
5052 if test x"$withstring" = xwithout; then
5053 if test $wxUSE_GTKPRINT = yes; then
5054 result=no
5055 else
5056 result=yes
5057 fi
5058 else
5059 result=$wxUSE_GTKPRINT
5060 fi
5061
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5063 $as_echo "$result" >&6; }
5064
5065
5066 withstring=without
5067 defaultval=$wxUSE_ALL_FEATURES
5068 if test -z "$defaultval"; then
5069 if test x"$withstring" = xwithout; then
5070 defaultval=yes
5071 else
5072 defaultval=no
5073 fi
5074 fi
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5076 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5077
5078 # Check whether --with-gnomeprint was given.
5079 if test "${with_gnomeprint+set}" = set; then :
5080 withval=$with_gnomeprint;
5081 if test "$withval" = yes; then
5082 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5083 else
5084 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5085 fi
5086
5087 else
5088
5089 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5090
5091 fi
5092
5093
5094 eval "$wx_cv_use_gnomeprint"
5095
5096 if test x"$withstring" = xwithout; then
5097 if test $wxUSE_LIBGNOMEPRINT = yes; then
5098 result=no
5099 else
5100 result=yes
5101 fi
5102 else
5103 result=$wxUSE_LIBGNOMEPRINT
5104 fi
5105
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5107 $as_echo "$result" >&6; }
5108
5109
5110 withstring=
5111 defaultval=$wxUSE_ALL_FEATURES
5112 if test -z "$defaultval"; then
5113 if test x"$withstring" = xwithout; then
5114 defaultval=yes
5115 else
5116 defaultval=no
5117 fi
5118 fi
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5120 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5121
5122 # Check whether --with-gnomevfs was given.
5123 if test "${with_gnomevfs+set}" = set; then :
5124 withval=$with_gnomevfs;
5125 if test "$withval" = yes; then
5126 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5127 else
5128 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5129 fi
5130
5131 else
5132
5133 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5134
5135 fi
5136
5137
5138 eval "$wx_cv_use_gnomevfs"
5139
5140 if test x"$withstring" = xwithout; then
5141 if test $wxUSE_LIBGNOMEVFS = yes; then
5142 result=no
5143 else
5144 result=yes
5145 fi
5146 else
5147 result=$wxUSE_LIBGNOMEVFS
5148 fi
5149
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5151 $as_echo "$result" >&6; }
5152
5153
5154 withstring=
5155 defaultval=$wxUSE_ALL_FEATURES
5156 if test -z "$defaultval"; then
5157 if test x"$withstring" = xwithout; then
5158 defaultval=yes
5159 else
5160 defaultval=no
5161 fi
5162 fi
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5164 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5165
5166 # Check whether --with-hildon was given.
5167 if test "${with_hildon+set}" = set; then :
5168 withval=$with_hildon;
5169 if test "$withval" = yes; then
5170 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5171 else
5172 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5173 fi
5174
5175 else
5176
5177 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5178
5179 fi
5180
5181
5182 eval "$wx_cv_use_hildon"
5183
5184 if test x"$withstring" = xwithout; then
5185 if test $wxUSE_LIBHILDON = yes; then
5186 result=no
5187 else
5188 result=yes
5189 fi
5190 else
5191 result=$wxUSE_LIBHILDON
5192 fi
5193
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5195 $as_echo "$result" >&6; }
5196
5197
5198 withstring=
5199 defaultval=$wxUSE_ALL_FEATURES
5200 if test -z "$defaultval"; then
5201 if test x"$withstring" = xwithout; then
5202 defaultval=yes
5203 else
5204 defaultval=no
5205 fi
5206 fi
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5208 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5209
5210 # Check whether --with-opengl was given.
5211 if test "${with_opengl+set}" = set; then :
5212 withval=$with_opengl;
5213 if test "$withval" = yes; then
5214 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5215 else
5216 wx_cv_use_opengl='wxUSE_OPENGL=no'
5217 fi
5218
5219 else
5220
5221 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5222
5223 fi
5224
5225
5226 eval "$wx_cv_use_opengl"
5227
5228 if test x"$withstring" = xwithout; then
5229 if test $wxUSE_OPENGL = yes; then
5230 result=no
5231 else
5232 result=yes
5233 fi
5234 else
5235 result=$wxUSE_OPENGL
5236 fi
5237
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5239 $as_echo "$result" >&6; }
5240
5241
5242 fi
5243
5244
5245 withstring=
5246 defaultval=$wxUSE_ALL_FEATURES
5247 if test -z "$defaultval"; then
5248 if test x"$withstring" = xwithout; then
5249 defaultval=yes
5250 else
5251 defaultval=no
5252 fi
5253 fi
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5255 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5256
5257 # Check whether --with-dmalloc was given.
5258 if test "${with_dmalloc+set}" = set; then :
5259 withval=$with_dmalloc;
5260 if test "$withval" = yes; then
5261 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5262 else
5263 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5264 fi
5265
5266 else
5267
5268 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5269
5270 fi
5271
5272
5273 eval "$wx_cv_use_dmalloc"
5274
5275 if test x"$withstring" = xwithout; then
5276 if test $wxUSE_DMALLOC = yes; then
5277 result=no
5278 else
5279 result=yes
5280 fi
5281 else
5282 result=$wxUSE_DMALLOC
5283 fi
5284
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5286 $as_echo "$result" >&6; }
5287
5288
5289 withstring=
5290 defaultval=$wxUSE_ALL_FEATURES
5291 if test -z "$defaultval"; then
5292 if test x"$withstring" = xwithout; then
5293 defaultval=yes
5294 else
5295 defaultval=no
5296 fi
5297 fi
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5299 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5300
5301 # Check whether --with-sdl was given.
5302 if test "${with_sdl+set}" = set; then :
5303 withval=$with_sdl;
5304 if test "$withval" = yes; then
5305 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5306 else
5307 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5308 fi
5309
5310 else
5311
5312 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5313
5314 fi
5315
5316
5317 eval "$wx_cv_use_sdl"
5318
5319 if test x"$withstring" = xwithout; then
5320 if test $wxUSE_LIBSDL = yes; then
5321 result=no
5322 else
5323 result=yes
5324 fi
5325 else
5326 result=$wxUSE_LIBSDL
5327 fi
5328
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5330 $as_echo "$result" >&6; }
5331
5332
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5334 $as_echo_n "checking for --with-regex... " >&6; }
5335
5336 # Check whether --with-regex was given.
5337 if test "${with_regex+set}" = set; then :
5338 withval=$with_regex;
5339 if test "$withval" = yes; then
5340 wx_cv_use_regex='wxUSE_REGEX=yes'
5341 elif test "$withval" = no; then
5342 wx_cv_use_regex='wxUSE_REGEX=no'
5343 elif test "$withval" = sys; then
5344 wx_cv_use_regex='wxUSE_REGEX=sys'
5345 elif test "$withval" = builtin; then
5346 wx_cv_use_regex='wxUSE_REGEX=builtin'
5347 else
5348 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5349 fi
5350
5351 else
5352
5353 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_regex"
5359
5360 if test "$wxUSE_REGEX" = yes; then
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5362 $as_echo "yes" >&6; }
5363 elif test "$wxUSE_REGEX" = no; then
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5365 $as_echo "no" >&6; }
5366 elif test "$wxUSE_REGEX" = sys; then
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5368 $as_echo "system version" >&6; }
5369 elif test "$wxUSE_REGEX" = builtin; then
5370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5371 $as_echo "builtin version" >&6; }
5372 else
5373 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5374 fi
5375
5376
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5378 $as_echo_n "checking for --with-zlib... " >&6; }
5379
5380 # Check whether --with-zlib was given.
5381 if test "${with_zlib+set}" = set; then :
5382 withval=$with_zlib;
5383 if test "$withval" = yes; then
5384 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5385 elif test "$withval" = no; then
5386 wx_cv_use_zlib='wxUSE_ZLIB=no'
5387 elif test "$withval" = sys; then
5388 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5389 elif test "$withval" = builtin; then
5390 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5391 else
5392 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5393 fi
5394
5395 else
5396
5397 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5398
5399 fi
5400
5401
5402 eval "$wx_cv_use_zlib"
5403
5404 if test "$wxUSE_ZLIB" = yes; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5406 $as_echo "yes" >&6; }
5407 elif test "$wxUSE_ZLIB" = no; then
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5410 elif test "$wxUSE_ZLIB" = sys; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5412 $as_echo "system version" >&6; }
5413 elif test "$wxUSE_ZLIB" = builtin; then
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5415 $as_echo "builtin version" >&6; }
5416 else
5417 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5418 fi
5419
5420
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5422 $as_echo_n "checking for --with-expat... " >&6; }
5423
5424 # Check whether --with-expat was given.
5425 if test "${with_expat+set}" = set; then :
5426 withval=$with_expat;
5427 if test "$withval" = yes; then
5428 wx_cv_use_expat='wxUSE_EXPAT=yes'
5429 elif test "$withval" = no; then
5430 wx_cv_use_expat='wxUSE_EXPAT=no'
5431 elif test "$withval" = sys; then
5432 wx_cv_use_expat='wxUSE_EXPAT=sys'
5433 elif test "$withval" = builtin; then
5434 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5435 else
5436 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5437 fi
5438
5439 else
5440
5441 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5442
5443 fi
5444
5445
5446 eval "$wx_cv_use_expat"
5447
5448 if test "$wxUSE_EXPAT" = yes; then
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5450 $as_echo "yes" >&6; }
5451 elif test "$wxUSE_EXPAT" = no; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5454 elif test "$wxUSE_EXPAT" = sys; then
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5456 $as_echo "system version" >&6; }
5457 elif test "$wxUSE_EXPAT" = builtin; then
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5459 $as_echo "builtin version" >&6; }
5460 else
5461 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5462 fi
5463
5464
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5466 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5467
5468 # Check whether --with-macosx-sdk was given.
5469 if test "${with_macosx_sdk+set}" = set; then :
5470 withval=$with_macosx_sdk;
5471 wxUSE_MACOSX_SDK=$withval
5472 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5473
5474 fi
5475
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5477 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5478
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5480 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5481
5482 # Check whether --with-macosx-version-min was given.
5483 if test "${with_macosx_version_min+set}" = set; then :
5484 withval=$with_macosx_version_min;
5485 wxUSE_MACOSX_VERSION_MIN=$withval
5486 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5487
5488 fi
5489
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5491 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5492
5493
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5495 $as_echo_n "checking for --enable-debug... " >&6; }
5496 # Check whether --enable-debug was given.
5497 if test "${enable_debug+set}" = set; then :
5498 enableval=$enable_debug;
5499 if test "$enableval" = yes; then
5500 wxUSE_DEBUG=yes
5501 elif test "$enableval" = no; then
5502 wxUSE_DEBUG=no
5503 elif test "$enableval" = max; then
5504 wxUSE_DEBUG=yes
5505 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5506 else
5507 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5508 fi
5509
5510 else
5511 wxUSE_DEBUG=default
5512
5513 fi
5514
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5516 $as_echo "${enable_debug-default}" >&6; }
5517
5518 case "$wxUSE_DEBUG" in
5519 yes)
5520 DEFAULT_wxUSE_DEBUG_FLAG=yes
5521 DEFAULT_wxUSE_DEBUG_INFO=yes
5522
5523 DEFAULT_wxUSE_OPTIMISE=no
5524 ;;
5525
5526 no)
5527 DEFAULT_wxUSE_DEBUG_FLAG=no
5528 DEFAULT_wxUSE_DEBUG_INFO=no
5529 ;;
5530
5531 default)
5532 DEFAULT_wxUSE_DEBUG_FLAG=yes
5533 DEFAULT_wxUSE_DEBUG_INFO=no
5534 ;;
5535 esac
5536
5537
5538 enablestring=disable
5539 defaultval=
5540 if test -z "$defaultval"; then
5541 if test x"$enablestring" = xdisable; then
5542 defaultval=yes
5543 else
5544 defaultval=no
5545 fi
5546 fi
5547
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5549 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5550 # Check whether --enable-debug_flag was given.
5551 if test "${enable_debug_flag+set}" = set; then :
5552 enableval=$enable_debug_flag;
5553 if test "$enableval" = yes; then
5554 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5555 else
5556 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5557 fi
5558
5559 else
5560
5561 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5562
5563 fi
5564
5565
5566 eval "$wx_cv_use_debug_flag"
5567
5568 if test x"$enablestring" = xdisable; then
5569 if test $wxUSE_DEBUG_FLAG = no; then
5570 result=yes
5571 else
5572 result=no
5573 fi
5574 else
5575 result=$wxUSE_DEBUG_FLAG
5576 fi
5577
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5579 $as_echo "$result" >&6; }
5580
5581
5582 enablestring=
5583 defaultval=
5584 if test -z "$defaultval"; then
5585 if test x"$enablestring" = xdisable; then
5586 defaultval=yes
5587 else
5588 defaultval=no
5589 fi
5590 fi
5591
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5593 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5594 # Check whether --enable-debug_info was given.
5595 if test "${enable_debug_info+set}" = set; then :
5596 enableval=$enable_debug_info;
5597 if test "$enableval" = yes; then
5598 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5599 else
5600 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5601 fi
5602
5603 else
5604
5605 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5606
5607 fi
5608
5609
5610 eval "$wx_cv_use_debug_info"
5611
5612 if test x"$enablestring" = xdisable; then
5613 if test $wxUSE_DEBUG_INFO = no; then
5614 result=yes
5615 else
5616 result=no
5617 fi
5618 else
5619 result=$wxUSE_DEBUG_INFO
5620 fi
5621
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5623 $as_echo "$result" >&6; }
5624
5625
5626
5627
5628 enablestring=
5629 defaultval=
5630 if test -z "$defaultval"; then
5631 if test x"$enablestring" = xdisable; then
5632 defaultval=yes
5633 else
5634 defaultval=no
5635 fi
5636 fi
5637
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5639 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5640 # Check whether --enable-debug_gdb was given.
5641 if test "${enable_debug_gdb+set}" = set; then :
5642 enableval=$enable_debug_gdb;
5643 if test "$enableval" = yes; then
5644 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5645 else
5646 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5647 fi
5648
5649 else
5650
5651 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5652
5653 fi
5654
5655
5656 eval "$wx_cv_use_debug_gdb"
5657
5658 if test x"$enablestring" = xdisable; then
5659 if test $wxUSE_DEBUG_GDB = no; then
5660 result=yes
5661 else
5662 result=no
5663 fi
5664 else
5665 result=$wxUSE_DEBUG_GDB
5666 fi
5667
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5669 $as_echo "$result" >&6; }
5670
5671
5672 enablestring=
5673 defaultval=
5674 if test -z "$defaultval"; then
5675 if test x"$enablestring" = xdisable; then
5676 defaultval=yes
5677 else
5678 defaultval=no
5679 fi
5680 fi
5681
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5683 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5684 # Check whether --enable-debug_cntxt was given.
5685 if test "${enable_debug_cntxt+set}" = set; then :
5686 enableval=$enable_debug_cntxt;
5687 if test "$enableval" = yes; then
5688 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5689 else
5690 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5691 fi
5692
5693 else
5694
5695 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5696
5697 fi
5698
5699
5700 eval "$wx_cv_use_debug_cntxt"
5701
5702 if test x"$enablestring" = xdisable; then
5703 if test $wxUSE_DEBUG_CONTEXT = no; then
5704 result=yes
5705 else
5706 result=no
5707 fi
5708 else
5709 result=$wxUSE_DEBUG_CONTEXT
5710 fi
5711
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5713 $as_echo "$result" >&6; }
5714
5715
5716 enablestring=
5717 defaultval=
5718 if test -z "$defaultval"; then
5719 if test x"$enablestring" = xdisable; then
5720 defaultval=yes
5721 else
5722 defaultval=no
5723 fi
5724 fi
5725
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5727 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5728 # Check whether --enable-mem_tracing was given.
5729 if test "${enable_mem_tracing+set}" = set; then :
5730 enableval=$enable_mem_tracing;
5731 if test "$enableval" = yes; then
5732 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5733 else
5734 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5735 fi
5736
5737 else
5738
5739 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5740
5741 fi
5742
5743
5744 eval "$wx_cv_use_mem_tracing"
5745
5746 if test x"$enablestring" = xdisable; then
5747 if test $wxUSE_MEM_TRACING = no; then
5748 result=yes
5749 else
5750 result=no
5751 fi
5752 else
5753 result=$wxUSE_MEM_TRACING
5754 fi
5755
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5757 $as_echo "$result" >&6; }
5758
5759
5760
5761
5762 enablestring=disable
5763 defaultval=
5764 if test -z "$defaultval"; then
5765 if test x"$enablestring" = xdisable; then
5766 defaultval=yes
5767 else
5768 defaultval=no
5769 fi
5770 fi
5771
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5773 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5774 # Check whether --enable-shared was given.
5775 if test "${enable_shared+set}" = set; then :
5776 enableval=$enable_shared;
5777 if test "$enableval" = yes; then
5778 wx_cv_use_shared='wxUSE_SHARED=yes'
5779 else
5780 wx_cv_use_shared='wxUSE_SHARED=no'
5781 fi
5782
5783 else
5784
5785 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5786
5787 fi
5788
5789
5790 eval "$wx_cv_use_shared"
5791
5792 if test x"$enablestring" = xdisable; then
5793 if test $wxUSE_SHARED = no; then
5794 result=yes
5795 else
5796 result=no
5797 fi
5798 else
5799 result=$wxUSE_SHARED
5800 fi
5801
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5803 $as_echo "$result" >&6; }
5804
5805
5806 enablestring=
5807 defaultval=
5808 if test -z "$defaultval"; then
5809 if test x"$enablestring" = xdisable; then
5810 defaultval=yes
5811 else
5812 defaultval=no
5813 fi
5814 fi
5815
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5817 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5818 # Check whether --enable-stl was given.
5819 if test "${enable_stl+set}" = set; then :
5820 enableval=$enable_stl;
5821 if test "$enableval" = yes; then
5822 wx_cv_use_stl='wxUSE_STL=yes'
5823 else
5824 wx_cv_use_stl='wxUSE_STL=no'
5825 fi
5826
5827 else
5828
5829 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5830
5831 fi
5832
5833
5834 eval "$wx_cv_use_stl"
5835
5836 if test x"$enablestring" = xdisable; then
5837 if test $wxUSE_STL = no; then
5838 result=yes
5839 else
5840 result=no
5841 fi
5842 else
5843 result=$wxUSE_STL
5844 fi
5845
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5847 $as_echo "$result" >&6; }
5848
5849 if test "$wxUSE_STL" = "yes"; then
5850 DEFAULT_wxUSE_STD_CONTAINERS=yes
5851 DEFAULT_wxUSE_STD_IOSTREAM=yes
5852 DEFAULT_wxUSE_STD_STRING=yes
5853 fi
5854
5855 enablestring=
5856 defaultval=
5857 if test -z "$defaultval"; then
5858 if test x"$enablestring" = xdisable; then
5859 defaultval=yes
5860 else
5861 defaultval=no
5862 fi
5863 fi
5864
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5866 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5867 # Check whether --enable-std_containers was given.
5868 if test "${enable_std_containers+set}" = set; then :
5869 enableval=$enable_std_containers;
5870 if test "$enableval" = yes; then
5871 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5872 else
5873 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5874 fi
5875
5876 else
5877
5878 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5879
5880 fi
5881
5882
5883 eval "$wx_cv_use_std_containers"
5884
5885 if test x"$enablestring" = xdisable; then
5886 if test $wxUSE_STD_CONTAINERS = no; then
5887 result=yes
5888 else
5889 result=no
5890 fi
5891 else
5892 result=$wxUSE_STD_CONTAINERS
5893 fi
5894
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5896 $as_echo "$result" >&6; }
5897
5898
5899 enablestring=
5900 defaultval=
5901 if test -z "$defaultval"; then
5902 if test x"$enablestring" = xdisable; then
5903 defaultval=yes
5904 else
5905 defaultval=no
5906 fi
5907 fi
5908
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5910 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5911 # Check whether --enable-std_iostreams was given.
5912 if test "${enable_std_iostreams+set}" = set; then :
5913 enableval=$enable_std_iostreams;
5914 if test "$enableval" = yes; then
5915 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5916 else
5917 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5918 fi
5919
5920 else
5921
5922 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5923
5924 fi
5925
5926
5927 eval "$wx_cv_use_std_iostreams"
5928
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_STD_IOSTREAM = no; then
5931 result=yes
5932 else
5933 result=no
5934 fi
5935 else
5936 result=$wxUSE_STD_IOSTREAM
5937 fi
5938
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5940 $as_echo "$result" >&6; }
5941
5942
5943 enablestring=
5944 defaultval=
5945 if test -z "$defaultval"; then
5946 if test x"$enablestring" = xdisable; then
5947 defaultval=yes
5948 else
5949 defaultval=no
5950 fi
5951 fi
5952
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5954 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5955 # Check whether --enable-std_string was given.
5956 if test "${enable_std_string+set}" = set; then :
5957 enableval=$enable_std_string;
5958 if test "$enableval" = yes; then
5959 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5960 else
5961 wx_cv_use_std_string='wxUSE_STD_STRING=no'
5962 fi
5963
5964 else
5965
5966 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5967
5968 fi
5969
5970
5971 eval "$wx_cv_use_std_string"
5972
5973 if test x"$enablestring" = xdisable; then
5974 if test $wxUSE_STD_STRING = no; then
5975 result=yes
5976 else
5977 result=no
5978 fi
5979 else
5980 result=$wxUSE_STD_STRING
5981 fi
5982
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5984 $as_echo "$result" >&6; }
5985
5986
5987 enablestring=
5988 defaultval=
5989 if test -z "$defaultval"; then
5990 if test x"$enablestring" = xdisable; then
5991 defaultval=yes
5992 else
5993 defaultval=no
5994 fi
5995 fi
5996
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
5998 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
5999 # Check whether --enable-std_string_conv_in_wxstring was given.
6000 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6001 enableval=$enable_std_string_conv_in_wxstring;
6002 if test "$enableval" = yes; then
6003 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6004 else
6005 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6006 fi
6007
6008 else
6009
6010 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6011
6012 fi
6013
6014
6015 eval "$wx_cv_use_std_string_conv_in_wxstring"
6016
6017 if test x"$enablestring" = xdisable; then
6018 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6019 result=yes
6020 else
6021 result=no
6022 fi
6023 else
6024 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6025 fi
6026
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6028 $as_echo "$result" >&6; }
6029
6030
6031 enablestring=disable
6032 defaultval=
6033 if test -z "$defaultval"; then
6034 if test x"$enablestring" = xdisable; then
6035 defaultval=yes
6036 else
6037 defaultval=no
6038 fi
6039 fi
6040
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6042 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6043 # Check whether --enable-unicode was given.
6044 if test "${enable_unicode+set}" = set; then :
6045 enableval=$enable_unicode;
6046 if test "$enableval" = yes; then
6047 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6048 else
6049 wx_cv_use_unicode='wxUSE_UNICODE=no'
6050 fi
6051
6052 else
6053
6054 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6055
6056 fi
6057
6058
6059 eval "$wx_cv_use_unicode"
6060
6061 if test x"$enablestring" = xdisable; then
6062 if test $wxUSE_UNICODE = no; then
6063 result=yes
6064 else
6065 result=no
6066 fi
6067 else
6068 result=$wxUSE_UNICODE
6069 fi
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6072 $as_echo "$result" >&6; }
6073
6074
6075 enablestring=
6076 defaultval=
6077 if test -z "$defaultval"; then
6078 if test x"$enablestring" = xdisable; then
6079 defaultval=yes
6080 else
6081 defaultval=no
6082 fi
6083 fi
6084
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6086 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6087 # Check whether --enable-mslu was given.
6088 if test "${enable_mslu+set}" = set; then :
6089 enableval=$enable_mslu;
6090 if test "$enableval" = yes; then
6091 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6092 else
6093 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6094 fi
6095
6096 else
6097
6098 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6099
6100 fi
6101
6102
6103 eval "$wx_cv_use_mslu"
6104
6105 if test x"$enablestring" = xdisable; then
6106 if test $wxUSE_UNICODE_MSLU = no; then
6107 result=yes
6108 else
6109 result=no
6110 fi
6111 else
6112 result=$wxUSE_UNICODE_MSLU
6113 fi
6114
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6116 $as_echo "$result" >&6; }
6117
6118
6119 enablestring=
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6121 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6122 # Check whether --enable-utf8 was given.
6123 if test "${enable_utf8+set}" = set; then :
6124 enableval=$enable_utf8;
6125 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6126
6127 else
6128
6129 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6130
6131 fi
6132
6133
6134 eval "$wx_cv_use_utf8"
6135
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6137 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6138
6139
6140 enablestring=
6141 defaultval=
6142 if test -z "$defaultval"; then
6143 if test x"$enablestring" = xdisable; then
6144 defaultval=yes
6145 else
6146 defaultval=no
6147 fi
6148 fi
6149
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6151 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6152 # Check whether --enable-utf8only was given.
6153 if test "${enable_utf8only+set}" = set; then :
6154 enableval=$enable_utf8only;
6155 if test "$enableval" = yes; then
6156 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6157 else
6158 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6159 fi
6160
6161 else
6162
6163 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6164
6165 fi
6166
6167
6168 eval "$wx_cv_use_utf8only"
6169
6170 if test x"$enablestring" = xdisable; then
6171 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6172 result=yes
6173 else
6174 result=no
6175 fi
6176 else
6177 result=$wxUSE_UNICODE_UTF8_LOCALE
6178 fi
6179
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6181 $as_echo "$result" >&6; }
6182
6183
6184 enablestring=
6185 defaultval=
6186 if test -z "$defaultval"; then
6187 if test x"$enablestring" = xdisable; then
6188 defaultval=yes
6189 else
6190 defaultval=no
6191 fi
6192 fi
6193
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6195 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6196 # Check whether --enable-extended_rtti was given.
6197 if test "${enable_extended_rtti+set}" = set; then :
6198 enableval=$enable_extended_rtti;
6199 if test "$enableval" = yes; then
6200 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6201 else
6202 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6203 fi
6204
6205 else
6206
6207 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6208
6209 fi
6210
6211
6212 eval "$wx_cv_use_extended_rtti"
6213
6214 if test x"$enablestring" = xdisable; then
6215 if test $wxUSE_EXTENDED_RTTI = no; then
6216 result=yes
6217 else
6218 result=no
6219 fi
6220 else
6221 result=$wxUSE_EXTENDED_RTTI
6222 fi
6223
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6225 $as_echo "$result" >&6; }
6226
6227 if test "$USE_OS2" = 1; then
6228 DEFAULT_wxUSE_OMF=no
6229
6230 enablestring=
6231 defaultval=
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6234 defaultval=yes
6235 else
6236 defaultval=no
6237 fi
6238 fi
6239
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6241 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6242 # Check whether --enable-omf was given.
6243 if test "${enable_omf+set}" = set; then :
6244 enableval=$enable_omf;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_omf='wxUSE_OMF=yes'
6247 else
6248 wx_cv_use_omf='wxUSE_OMF=no'
6249 fi
6250
6251 else
6252
6253 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6254
6255 fi
6256
6257
6258 eval "$wx_cv_use_omf"
6259
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_OMF = no; then
6262 result=yes
6263 else
6264 result=no
6265 fi
6266 else
6267 result=$wxUSE_OMF
6268 fi
6269
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6271 $as_echo "$result" >&6; }
6272
6273 fi
6274
6275
6276 enablestring=disable
6277 defaultval=
6278 if test -z "$defaultval"; then
6279 if test x"$enablestring" = xdisable; then
6280 defaultval=yes
6281 else
6282 defaultval=no
6283 fi
6284 fi
6285
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6287 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6288 # Check whether --enable-optimise was given.
6289 if test "${enable_optimise+set}" = set; then :
6290 enableval=$enable_optimise;
6291 if test "$enableval" = yes; then
6292 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6293 else
6294 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6295 fi
6296
6297 else
6298
6299 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6300
6301 fi
6302
6303
6304 eval "$wx_cv_use_optimise"
6305
6306 if test x"$enablestring" = xdisable; then
6307 if test $wxUSE_OPTIMISE = no; then
6308 result=yes
6309 else
6310 result=no
6311 fi
6312 else
6313 result=$wxUSE_OPTIMISE
6314 fi
6315
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6317 $as_echo "$result" >&6; }
6318
6319
6320
6321 enablestring=
6322 defaultval=
6323 if test -z "$defaultval"; then
6324 if test x"$enablestring" = xdisable; then
6325 defaultval=yes
6326 else
6327 defaultval=no
6328 fi
6329 fi
6330
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6332 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6333 # Check whether --enable-profile was given.
6334 if test "${enable_profile+set}" = set; then :
6335 enableval=$enable_profile;
6336 if test "$enableval" = yes; then
6337 wx_cv_use_profile='wxUSE_PROFILE=yes'
6338 else
6339 wx_cv_use_profile='wxUSE_PROFILE=no'
6340 fi
6341
6342 else
6343
6344 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6345
6346 fi
6347
6348
6349 eval "$wx_cv_use_profile"
6350
6351 if test x"$enablestring" = xdisable; then
6352 if test $wxUSE_PROFILE = no; then
6353 result=yes
6354 else
6355 result=no
6356 fi
6357 else
6358 result=$wxUSE_PROFILE
6359 fi
6360
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6362 $as_echo "$result" >&6; }
6363
6364
6365 enablestring=
6366 defaultval=
6367 if test -z "$defaultval"; then
6368 if test x"$enablestring" = xdisable; then
6369 defaultval=yes
6370 else
6371 defaultval=no
6372 fi
6373 fi
6374
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6376 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6377 # Check whether --enable-no_rtti was given.
6378 if test "${enable_no_rtti+set}" = set; then :
6379 enableval=$enable_no_rtti;
6380 if test "$enableval" = yes; then
6381 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6382 else
6383 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6384 fi
6385
6386 else
6387
6388 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6389
6390 fi
6391
6392
6393 eval "$wx_cv_use_no_rtti"
6394
6395 if test x"$enablestring" = xdisable; then
6396 if test $wxUSE_NO_RTTI = no; then
6397 result=yes
6398 else
6399 result=no
6400 fi
6401 else
6402 result=$wxUSE_NO_RTTI
6403 fi
6404
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6406 $as_echo "$result" >&6; }
6407
6408
6409 enablestring=
6410 defaultval=
6411 if test -z "$defaultval"; then
6412 if test x"$enablestring" = xdisable; then
6413 defaultval=yes
6414 else
6415 defaultval=no
6416 fi
6417 fi
6418
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6420 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6421 # Check whether --enable-no_exceptions was given.
6422 if test "${enable_no_exceptions+set}" = set; then :
6423 enableval=$enable_no_exceptions;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6426 else
6427 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6428 fi
6429
6430 else
6431
6432 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6433
6434 fi
6435
6436
6437 eval "$wx_cv_use_no_exceptions"
6438
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_NO_EXCEPTIONS = no; then
6441 result=yes
6442 else
6443 result=no
6444 fi
6445 else
6446 result=$wxUSE_NO_EXCEPTIONS
6447 fi
6448
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6450 $as_echo "$result" >&6; }
6451
6452
6453 enablestring=
6454 defaultval=
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6457 defaultval=yes
6458 else
6459 defaultval=no
6460 fi
6461 fi
6462
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6464 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6465 # Check whether --enable-permissive was given.
6466 if test "${enable_permissive+set}" = set; then :
6467 enableval=$enable_permissive;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6470 else
6471 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6472 fi
6473
6474 else
6475
6476 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6477
6478 fi
6479
6480
6481 eval "$wx_cv_use_permissive"
6482
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_PERMISSIVE = no; then
6485 result=yes
6486 else
6487 result=no
6488 fi
6489 else
6490 result=$wxUSE_PERMISSIVE
6491 fi
6492
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6494 $as_echo "$result" >&6; }
6495
6496
6497 enablestring=
6498 defaultval=
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6501 defaultval=yes
6502 else
6503 defaultval=no
6504 fi
6505 fi
6506
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6508 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6509 # Check whether --enable-no_deps was given.
6510 if test "${enable_no_deps+set}" = set; then :
6511 enableval=$enable_no_deps;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6514 else
6515 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6516 fi
6517
6518 else
6519
6520 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6521
6522 fi
6523
6524
6525 eval "$wx_cv_use_no_deps"
6526
6527 if test x"$enablestring" = xdisable; then
6528 if test $wxUSE_NO_DEPS = no; then
6529 result=yes
6530 else
6531 result=no
6532 fi
6533 else
6534 result=$wxUSE_NO_DEPS
6535 fi
6536
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6538 $as_echo "$result" >&6; }
6539
6540
6541 enablestring=disable
6542 defaultval=
6543 if test -z "$defaultval"; then
6544 if test x"$enablestring" = xdisable; then
6545 defaultval=yes
6546 else
6547 defaultval=no
6548 fi
6549 fi
6550
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6552 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6553 # Check whether --enable-vararg_macros was given.
6554 if test "${enable_vararg_macros+set}" = set; then :
6555 enableval=$enable_vararg_macros;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6558 else
6559 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6560 fi
6561
6562 else
6563
6564 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6565
6566 fi
6567
6568
6569 eval "$wx_cv_use_vararg_macros"
6570
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_VARARG_MACROS = no; then
6573 result=yes
6574 else
6575 result=no
6576 fi
6577 else
6578 result=$wxUSE_VARARG_MACROS
6579 fi
6580
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6582 $as_echo "$result" >&6; }
6583
6584
6585
6586 enablestring=
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6588 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6589 # Check whether --enable-universal_binary was given.
6590 if test "${enable_universal_binary+set}" = set; then :
6591 enableval=$enable_universal_binary;
6592 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6593
6594 else
6595
6596 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6597
6598 fi
6599
6600
6601 eval "$wx_cv_use_universal_binary"
6602
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6604 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6605
6606
6607 enablestring=
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6609 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6610 # Check whether --enable-macosx_arch was given.
6611 if test "${enable_macosx_arch+set}" = set; then :
6612 enableval=$enable_macosx_arch;
6613 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6614
6615 else
6616
6617 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6618
6619 fi
6620
6621
6622 eval "$wx_cv_use_macosx_arch"
6623
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6625 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6626
6627
6628
6629 enablestring=
6630 defaultval=
6631 if test -z "$defaultval"; then
6632 if test x"$enablestring" = xdisable; then
6633 defaultval=yes
6634 else
6635 defaultval=no
6636 fi
6637 fi
6638
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6640 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6641 # Check whether --enable-compat26 was given.
6642 if test "${enable_compat26+set}" = set; then :
6643 enableval=$enable_compat26;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6646 else
6647 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6648 fi
6649
6650 else
6651
6652 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6653
6654 fi
6655
6656
6657 eval "$wx_cv_use_compat26"
6658
6659 if test x"$enablestring" = xdisable; then
6660 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6661 result=yes
6662 else
6663 result=no
6664 fi
6665 else
6666 result=$WXWIN_COMPATIBILITY_2_6
6667 fi
6668
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6670 $as_echo "$result" >&6; }
6671
6672
6673 enablestring=disable
6674 defaultval=
6675 if test -z "$defaultval"; then
6676 if test x"$enablestring" = xdisable; then
6677 defaultval=yes
6678 else
6679 defaultval=no
6680 fi
6681 fi
6682
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6684 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6685 # Check whether --enable-compat28 was given.
6686 if test "${enable_compat28+set}" = set; then :
6687 enableval=$enable_compat28;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6690 else
6691 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6692 fi
6693
6694 else
6695
6696 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6697
6698 fi
6699
6700
6701 eval "$wx_cv_use_compat28"
6702
6703 if test x"$enablestring" = xdisable; then
6704 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6705 result=yes
6706 else
6707 result=no
6708 fi
6709 else
6710 result=$WXWIN_COMPATIBILITY_2_8
6711 fi
6712
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6714 $as_echo "$result" >&6; }
6715
6716
6717
6718 enablestring=disable
6719 defaultval=
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6722 defaultval=yes
6723 else
6724 defaultval=no
6725 fi
6726 fi
6727
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6729 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6730 # Check whether --enable-rpath was given.
6731 if test "${enable_rpath+set}" = set; then :
6732 enableval=$enable_rpath;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_rpath='wxUSE_RPATH=yes'
6735 else
6736 wx_cv_use_rpath='wxUSE_RPATH=no'
6737 fi
6738
6739 else
6740
6741 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6742
6743 fi
6744
6745
6746 eval "$wx_cv_use_rpath"
6747
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_RPATH = no; then
6750 result=yes
6751 else
6752 result=no
6753 fi
6754 else
6755 result=$wxUSE_RPATH
6756 fi
6757
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6759 $as_echo "$result" >&6; }
6760
6761
6762
6763 enablestring=
6764 defaultval=
6765 if test -z "$defaultval"; then
6766 if test x"$enablestring" = xdisable; then
6767 defaultval=yes
6768 else
6769 defaultval=no
6770 fi
6771 fi
6772
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6774 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6775 # Check whether --enable-objc_uniquifying was given.
6776 if test "${enable_objc_uniquifying+set}" = set; then :
6777 enableval=$enable_objc_uniquifying;
6778 if test "$enableval" = yes; then
6779 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6780 else
6781 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6782 fi
6783
6784 else
6785
6786 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6787
6788 fi
6789
6790
6791 eval "$wx_cv_use_objc_uniquifying"
6792
6793 if test x"$enablestring" = xdisable; then
6794 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6795 result=yes
6796 else
6797 result=no
6798 fi
6799 else
6800 result=$wxUSE_OBJC_UNIQUIFYING
6801 fi
6802
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6804 $as_echo "$result" >&6; }
6805
6806
6807
6808 enablestring=disable
6809 defaultval=
6810 if test -z "$defaultval"; then
6811 if test x"$enablestring" = xdisable; then
6812 defaultval=yes
6813 else
6814 defaultval=no
6815 fi
6816 fi
6817
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6819 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6820 # Check whether --enable-visibility was given.
6821 if test "${enable_visibility+set}" = set; then :
6822 enableval=$enable_visibility;
6823 if test "$enableval" = yes; then
6824 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6825 else
6826 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6827 fi
6828
6829 else
6830
6831 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6832
6833 fi
6834
6835
6836 eval "$wx_cv_use_visibility"
6837
6838 if test x"$enablestring" = xdisable; then
6839 if test $wxUSE_VISIBILITY = no; then
6840 result=yes
6841 else
6842 result=no
6843 fi
6844 else
6845 result=$wxUSE_VISIBILITY
6846 fi
6847
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6849 $as_echo "$result" >&6; }
6850
6851
6852 enablestring=disable
6853 defaultval=
6854 if test -z "$defaultval"; then
6855 if test x"$enablestring" = xdisable; then
6856 defaultval=yes
6857 else
6858 defaultval=no
6859 fi
6860 fi
6861
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6863 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6864 # Check whether --enable-tls was given.
6865 if test "${enable_tls+set}" = set; then :
6866 enableval=$enable_tls;
6867 if test "$enableval" = yes; then
6868 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6869 else
6870 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6871 fi
6872
6873 else
6874
6875 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6876
6877 fi
6878
6879
6880 eval "$wx_cv_use_tls"
6881
6882 if test x"$enablestring" = xdisable; then
6883 if test $wxUSE_COMPILER_TLS = no; then
6884 result=yes
6885 else
6886 result=no
6887 fi
6888 else
6889 result=$wxUSE_COMPILER_TLS
6890 fi
6891
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6893 $as_echo "$result" >&6; }
6894
6895
6896
6897
6898 enablestring=
6899 defaultval=$wxUSE_ALL_FEATURES
6900 if test -z "$defaultval"; then
6901 if test x"$enablestring" = xdisable; then
6902 defaultval=yes
6903 else
6904 defaultval=no
6905 fi
6906 fi
6907
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6909 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6910 # Check whether --enable-intl was given.
6911 if test "${enable_intl+set}" = set; then :
6912 enableval=$enable_intl;
6913 if test "$enableval" = yes; then
6914 wx_cv_use_intl='wxUSE_INTL=yes'
6915 else
6916 wx_cv_use_intl='wxUSE_INTL=no'
6917 fi
6918
6919 else
6920
6921 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6922
6923 fi
6924
6925
6926 eval "$wx_cv_use_intl"
6927
6928 if test x"$enablestring" = xdisable; then
6929 if test $wxUSE_INTL = no; then
6930 result=yes
6931 else
6932 result=no
6933 fi
6934 else
6935 result=$wxUSE_INTL
6936 fi
6937
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6939 $as_echo "$result" >&6; }
6940
6941
6942 enablestring=
6943 defaultval=$wxUSE_ALL_FEATURES
6944 if test -z "$defaultval"; then
6945 if test x"$enablestring" = xdisable; then
6946 defaultval=yes
6947 else
6948 defaultval=no
6949 fi
6950 fi
6951
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6953 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6954 # Check whether --enable-xlocale was given.
6955 if test "${enable_xlocale+set}" = set; then :
6956 enableval=$enable_xlocale;
6957 if test "$enableval" = yes; then
6958 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6959 else
6960 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6961 fi
6962
6963 else
6964
6965 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6966
6967 fi
6968
6969
6970 eval "$wx_cv_use_xlocale"
6971
6972 if test x"$enablestring" = xdisable; then
6973 if test $wxUSE_XLOCALE = no; then
6974 result=yes
6975 else
6976 result=no
6977 fi
6978 else
6979 result=$wxUSE_XLOCALE
6980 fi
6981
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6983 $as_echo "$result" >&6; }
6984
6985
6986 enablestring=
6987 defaultval=$wxUSE_ALL_FEATURES
6988 if test -z "$defaultval"; then
6989 if test x"$enablestring" = xdisable; then
6990 defaultval=yes
6991 else
6992 defaultval=no
6993 fi
6994 fi
6995
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
6997 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
6998 # Check whether --enable-config was given.
6999 if test "${enable_config+set}" = set; then :
7000 enableval=$enable_config;
7001 if test "$enableval" = yes; then
7002 wx_cv_use_config='wxUSE_CONFIG=yes'
7003 else
7004 wx_cv_use_config='wxUSE_CONFIG=no'
7005 fi
7006
7007 else
7008
7009 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7010
7011 fi
7012
7013
7014 eval "$wx_cv_use_config"
7015
7016 if test x"$enablestring" = xdisable; then
7017 if test $wxUSE_CONFIG = no; then
7018 result=yes
7019 else
7020 result=no
7021 fi
7022 else
7023 result=$wxUSE_CONFIG
7024 fi
7025
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7027 $as_echo "$result" >&6; }
7028
7029
7030
7031 enablestring=
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7035 defaultval=yes
7036 else
7037 defaultval=no
7038 fi
7039 fi
7040
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7042 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7043 # Check whether --enable-protocols was given.
7044 if test "${enable_protocols+set}" = set; then :
7045 enableval=$enable_protocols;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7048 else
7049 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7050 fi
7051
7052 else
7053
7054 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7055
7056 fi
7057
7058
7059 eval "$wx_cv_use_protocols"
7060
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_PROTOCOL = no; then
7063 result=yes
7064 else
7065 result=no
7066 fi
7067 else
7068 result=$wxUSE_PROTOCOL
7069 fi
7070
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7072 $as_echo "$result" >&6; }
7073
7074
7075 enablestring=
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7079 defaultval=yes
7080 else
7081 defaultval=no
7082 fi
7083 fi
7084
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7086 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7087 # Check whether --enable-ftp was given.
7088 if test "${enable_ftp+set}" = set; then :
7089 enableval=$enable_ftp;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7092 else
7093 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7094 fi
7095
7096 else
7097
7098 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7099
7100 fi
7101
7102
7103 eval "$wx_cv_use_ftp"
7104
7105 if test x"$enablestring" = xdisable; then
7106 if test $wxUSE_PROTOCOL_FTP = no; then
7107 result=yes
7108 else
7109 result=no
7110 fi
7111 else
7112 result=$wxUSE_PROTOCOL_FTP
7113 fi
7114
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7116 $as_echo "$result" >&6; }
7117
7118
7119 enablestring=
7120 defaultval=$wxUSE_ALL_FEATURES
7121 if test -z "$defaultval"; then
7122 if test x"$enablestring" = xdisable; then
7123 defaultval=yes
7124 else
7125 defaultval=no
7126 fi
7127 fi
7128
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7130 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7131 # Check whether --enable-http was given.
7132 if test "${enable_http+set}" = set; then :
7133 enableval=$enable_http;
7134 if test "$enableval" = yes; then
7135 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7136 else
7137 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7138 fi
7139
7140 else
7141
7142 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7143
7144 fi
7145
7146
7147 eval "$wx_cv_use_http"
7148
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_PROTOCOL_HTTP = no; then
7151 result=yes
7152 else
7153 result=no
7154 fi
7155 else
7156 result=$wxUSE_PROTOCOL_HTTP
7157 fi
7158
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7160 $as_echo "$result" >&6; }
7161
7162
7163 enablestring=
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7167 defaultval=yes
7168 else
7169 defaultval=no
7170 fi
7171 fi
7172
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7174 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7175 # Check whether --enable-fileproto was given.
7176 if test "${enable_fileproto+set}" = set; then :
7177 enableval=$enable_fileproto;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7180 else
7181 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7182 fi
7183
7184 else
7185
7186 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7187
7188 fi
7189
7190
7191 eval "$wx_cv_use_fileproto"
7192
7193 if test x"$enablestring" = xdisable; then
7194 if test $wxUSE_PROTOCOL_FILE = no; then
7195 result=yes
7196 else
7197 result=no
7198 fi
7199 else
7200 result=$wxUSE_PROTOCOL_FILE
7201 fi
7202
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7204 $as_echo "$result" >&6; }
7205
7206
7207 enablestring=
7208 defaultval=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x"$enablestring" = xdisable; then
7211 defaultval=yes
7212 else
7213 defaultval=no
7214 fi
7215 fi
7216
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7218 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7219 # Check whether --enable-sockets was given.
7220 if test "${enable_sockets+set}" = set; then :
7221 enableval=$enable_sockets;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7224 else
7225 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7226 fi
7227
7228 else
7229
7230 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7231
7232 fi
7233
7234
7235 eval "$wx_cv_use_sockets"
7236
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_SOCKETS = no; then
7239 result=yes
7240 else
7241 result=no
7242 fi
7243 else
7244 result=$wxUSE_SOCKETS
7245 fi
7246
7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7248 $as_echo "$result" >&6; }
7249
7250
7251 enablestring=
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7255 defaultval=yes
7256 else
7257 defaultval=no
7258 fi
7259 fi
7260
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7262 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7263 # Check whether --enable-ipv6 was given.
7264 if test "${enable_ipv6+set}" = set; then :
7265 enableval=$enable_ipv6;
7266 if test "$enableval" = yes; then
7267 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7268 else
7269 wx_cv_use_ipv6='wxUSE_IPV6=no'
7270 fi
7271
7272 else
7273
7274 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7275
7276 fi
7277
7278
7279 eval "$wx_cv_use_ipv6"
7280
7281 if test x"$enablestring" = xdisable; then
7282 if test $wxUSE_IPV6 = no; then
7283 result=yes
7284 else
7285 result=no
7286 fi
7287 else
7288 result=$wxUSE_IPV6
7289 fi
7290
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7292 $as_echo "$result" >&6; }
7293
7294
7295 enablestring=
7296 defaultval=$wxUSE_ALL_FEATURES
7297 if test -z "$defaultval"; then
7298 if test x"$enablestring" = xdisable; then
7299 defaultval=yes
7300 else
7301 defaultval=no
7302 fi
7303 fi
7304
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7306 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7307 # Check whether --enable-ole was given.
7308 if test "${enable_ole+set}" = set; then :
7309 enableval=$enable_ole;
7310 if test "$enableval" = yes; then
7311 wx_cv_use_ole='wxUSE_OLE=yes'
7312 else
7313 wx_cv_use_ole='wxUSE_OLE=no'
7314 fi
7315
7316 else
7317
7318 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7319
7320 fi
7321
7322
7323 eval "$wx_cv_use_ole"
7324
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_OLE = no; then
7327 result=yes
7328 else
7329 result=no
7330 fi
7331 else
7332 result=$wxUSE_OLE
7333 fi
7334
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7336 $as_echo "$result" >&6; }
7337
7338
7339 enablestring=
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7343 defaultval=yes
7344 else
7345 defaultval=no
7346 fi
7347 fi
7348
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7350 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7351 # Check whether --enable-dataobj was given.
7352 if test "${enable_dataobj+set}" = set; then :
7353 enableval=$enable_dataobj;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7356 else
7357 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7358 fi
7359
7360 else
7361
7362 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7363
7364 fi
7365
7366
7367 eval "$wx_cv_use_dataobj"
7368
7369 if test x"$enablestring" = xdisable; then
7370 if test $wxUSE_DATAOBJ = no; then
7371 result=yes
7372 else
7373 result=no
7374 fi
7375 else
7376 result=$wxUSE_DATAOBJ
7377 fi
7378
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7380 $as_echo "$result" >&6; }
7381
7382
7383
7384 enablestring=
7385 defaultval=$wxUSE_ALL_FEATURES
7386 if test -z "$defaultval"; then
7387 if test x"$enablestring" = xdisable; then
7388 defaultval=yes
7389 else
7390 defaultval=no
7391 fi
7392 fi
7393
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7395 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7396 # Check whether --enable-ipc was given.
7397 if test "${enable_ipc+set}" = set; then :
7398 enableval=$enable_ipc;
7399 if test "$enableval" = yes; then
7400 wx_cv_use_ipc='wxUSE_IPC=yes'
7401 else
7402 wx_cv_use_ipc='wxUSE_IPC=no'
7403 fi
7404
7405 else
7406
7407 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7408
7409 fi
7410
7411
7412 eval "$wx_cv_use_ipc"
7413
7414 if test x"$enablestring" = xdisable; then
7415 if test $wxUSE_IPC = no; then
7416 result=yes
7417 else
7418 result=no
7419 fi
7420 else
7421 result=$wxUSE_IPC
7422 fi
7423
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7425 $as_echo "$result" >&6; }
7426
7427
7428
7429 enablestring=
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7433 defaultval=yes
7434 else
7435 defaultval=no
7436 fi
7437 fi
7438
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7440 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7441 # Check whether --enable-baseevtloop was given.
7442 if test "${enable_baseevtloop+set}" = set; then :
7443 enableval=$enable_baseevtloop;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7446 else
7447 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7448 fi
7449
7450 else
7451
7452 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7453
7454 fi
7455
7456
7457 eval "$wx_cv_use_baseevtloop"
7458
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7461 result=yes
7462 else
7463 result=no
7464 fi
7465 else
7466 result=$wxUSE_CONSOLE_EVENTLOOP
7467 fi
7468
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7470 $as_echo "$result" >&6; }
7471
7472
7473 enablestring=
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7477 defaultval=yes
7478 else
7479 defaultval=no
7480 fi
7481 fi
7482
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7484 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7485 # Check whether --enable-epollloop was given.
7486 if test "${enable_epollloop+set}" = set; then :
7487 enableval=$enable_epollloop;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7490 else
7491 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7492 fi
7493
7494 else
7495
7496 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7497
7498 fi
7499
7500
7501 eval "$wx_cv_use_epollloop"
7502
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_EPOLL_DISPATCHER = no; then
7505 result=yes
7506 else
7507 result=no
7508 fi
7509 else
7510 result=$wxUSE_EPOLL_DISPATCHER
7511 fi
7512
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7514 $as_echo "$result" >&6; }
7515
7516
7517 enablestring=
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7521 defaultval=yes
7522 else
7523 defaultval=no
7524 fi
7525 fi
7526
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7528 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7529 # Check whether --enable-selectloop was given.
7530 if test "${enable_selectloop+set}" = set; then :
7531 enableval=$enable_selectloop;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7534 else
7535 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7536 fi
7537
7538 else
7539
7540 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7541
7542 fi
7543
7544
7545 eval "$wx_cv_use_selectloop"
7546
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_SELECT_DISPATCHER = no; then
7549 result=yes
7550 else
7551 result=no
7552 fi
7553 else
7554 result=$wxUSE_SELECT_DISPATCHER
7555 fi
7556
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7558 $as_echo "$result" >&6; }
7559
7560
7561
7562 enablestring=
7563 defaultval=$wxUSE_ALL_FEATURES
7564 if test -z "$defaultval"; then
7565 if test x"$enablestring" = xdisable; then
7566 defaultval=yes
7567 else
7568 defaultval=no
7569 fi
7570 fi
7571
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7573 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7574 # Check whether --enable-any was given.
7575 if test "${enable_any+set}" = set; then :
7576 enableval=$enable_any;
7577 if test "$enableval" = yes; then
7578 wx_cv_use_any='wxUSE_ANY=yes'
7579 else
7580 wx_cv_use_any='wxUSE_ANY=no'
7581 fi
7582
7583 else
7584
7585 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7586
7587 fi
7588
7589
7590 eval "$wx_cv_use_any"
7591
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_ANY = no; then
7594 result=yes
7595 else
7596 result=no
7597 fi
7598 else
7599 result=$wxUSE_ANY
7600 fi
7601
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7603 $as_echo "$result" >&6; }
7604
7605
7606 enablestring=
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z "$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7610 defaultval=yes
7611 else
7612 defaultval=no
7613 fi
7614 fi
7615
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7617 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7618 # Check whether --enable-apple_ieee was given.
7619 if test "${enable_apple_ieee+set}" = set; then :
7620 enableval=$enable_apple_ieee;
7621 if test "$enableval" = yes; then
7622 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7623 else
7624 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7625 fi
7626
7627 else
7628
7629 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7630
7631 fi
7632
7633
7634 eval "$wx_cv_use_apple_ieee"
7635
7636 if test x"$enablestring" = xdisable; then
7637 if test $wxUSE_APPLE_IEEE = no; then
7638 result=yes
7639 else
7640 result=no
7641 fi
7642 else
7643 result=$wxUSE_APPLE_IEEE
7644 fi
7645
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7647 $as_echo "$result" >&6; }
7648
7649
7650 enablestring=
7651 defaultval=$wxUSE_ALL_FEATURES
7652 if test -z "$defaultval"; then
7653 if test x"$enablestring" = xdisable; then
7654 defaultval=yes
7655 else
7656 defaultval=no
7657 fi
7658 fi
7659
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7661 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7662 # Check whether --enable-arcstream was given.
7663 if test "${enable_arcstream+set}" = set; then :
7664 enableval=$enable_arcstream;
7665 if test "$enableval" = yes; then
7666 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7667 else
7668 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7669 fi
7670
7671 else
7672
7673 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7674
7675 fi
7676
7677
7678 eval "$wx_cv_use_arcstream"
7679
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_ARCHIVE_STREAMS = no; then
7682 result=yes
7683 else
7684 result=no
7685 fi
7686 else
7687 result=$wxUSE_ARCHIVE_STREAMS
7688 fi
7689
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7691 $as_echo "$result" >&6; }
7692
7693
7694 enablestring=
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7698 defaultval=yes
7699 else
7700 defaultval=no
7701 fi
7702 fi
7703
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7705 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7706 # Check whether --enable-base64 was given.
7707 if test "${enable_base64+set}" = set; then :
7708 enableval=$enable_base64;
7709 if test "$enableval" = yes; then
7710 wx_cv_use_base64='wxUSE_BASE64=yes'
7711 else
7712 wx_cv_use_base64='wxUSE_BASE64=no'
7713 fi
7714
7715 else
7716
7717 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7718
7719 fi
7720
7721
7722 eval "$wx_cv_use_base64"
7723
7724 if test x"$enablestring" = xdisable; then
7725 if test $wxUSE_BASE64 = no; then
7726 result=yes
7727 else
7728 result=no
7729 fi
7730 else
7731 result=$wxUSE_BASE64
7732 fi
7733
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7735 $as_echo "$result" >&6; }
7736
7737
7738 enablestring=
7739 defaultval=$wxUSE_ALL_FEATURES
7740 if test -z "$defaultval"; then
7741 if test x"$enablestring" = xdisable; then
7742 defaultval=yes
7743 else
7744 defaultval=no
7745 fi
7746 fi
7747
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7749 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7750 # Check whether --enable-backtrace was given.
7751 if test "${enable_backtrace+set}" = set; then :
7752 enableval=$enable_backtrace;
7753 if test "$enableval" = yes; then
7754 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7755 else
7756 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7757 fi
7758
7759 else
7760
7761 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7762
7763 fi
7764
7765
7766 eval "$wx_cv_use_backtrace"
7767
7768 if test x"$enablestring" = xdisable; then
7769 if test $wxUSE_STACKWALKER = no; then
7770 result=yes
7771 else
7772 result=no
7773 fi
7774 else
7775 result=$wxUSE_STACKWALKER
7776 fi
7777
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7779 $as_echo "$result" >&6; }
7780
7781
7782 enablestring=
7783 defaultval=$wxUSE_ALL_FEATURES
7784 if test -z "$defaultval"; then
7785 if test x"$enablestring" = xdisable; then
7786 defaultval=yes
7787 else
7788 defaultval=no
7789 fi
7790 fi
7791
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7793 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7794 # Check whether --enable-catch_segvs was given.
7795 if test "${enable_catch_segvs+set}" = set; then :
7796 enableval=$enable_catch_segvs;
7797 if test "$enableval" = yes; then
7798 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7799 else
7800 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7801 fi
7802
7803 else
7804
7805 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7806
7807 fi
7808
7809
7810 eval "$wx_cv_use_catch_segvs"
7811
7812 if test x"$enablestring" = xdisable; then
7813 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7814 result=yes
7815 else
7816 result=no
7817 fi
7818 else
7819 result=$wxUSE_ON_FATAL_EXCEPTION
7820 fi
7821
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7823 $as_echo "$result" >&6; }
7824
7825
7826 enablestring=
7827 defaultval=$wxUSE_ALL_FEATURES
7828 if test -z "$defaultval"; then
7829 if test x"$enablestring" = xdisable; then
7830 defaultval=yes
7831 else
7832 defaultval=no
7833 fi
7834 fi
7835
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7837 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7838 # Check whether --enable-cmdline was given.
7839 if test "${enable_cmdline+set}" = set; then :
7840 enableval=$enable_cmdline;
7841 if test "$enableval" = yes; then
7842 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7843 else
7844 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7845 fi
7846
7847 else
7848
7849 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7850
7851 fi
7852
7853
7854 eval "$wx_cv_use_cmdline"
7855
7856 if test x"$enablestring" = xdisable; then
7857 if test $wxUSE_CMDLINE_PARSER = no; then
7858 result=yes
7859 else
7860 result=no
7861 fi
7862 else
7863 result=$wxUSE_CMDLINE_PARSER
7864 fi
7865
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7867 $as_echo "$result" >&6; }
7868
7869
7870 enablestring=
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7874 defaultval=yes
7875 else
7876 defaultval=no
7877 fi
7878 fi
7879
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7881 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7882 # Check whether --enable-datetime was given.
7883 if test "${enable_datetime+set}" = set; then :
7884 enableval=$enable_datetime;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7887 else
7888 wx_cv_use_datetime='wxUSE_DATETIME=no'
7889 fi
7890
7891 else
7892
7893 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7894
7895 fi
7896
7897
7898 eval "$wx_cv_use_datetime"
7899
7900 if test x"$enablestring" = xdisable; then
7901 if test $wxUSE_DATETIME = no; then
7902 result=yes
7903 else
7904 result=no
7905 fi
7906 else
7907 result=$wxUSE_DATETIME
7908 fi
7909
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7911 $as_echo "$result" >&6; }
7912
7913
7914 enablestring=
7915 defaultval=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x"$enablestring" = xdisable; then
7918 defaultval=yes
7919 else
7920 defaultval=no
7921 fi
7922 fi
7923
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7925 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7926 # Check whether --enable-debugreport was given.
7927 if test "${enable_debugreport+set}" = set; then :
7928 enableval=$enable_debugreport;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7931 else
7932 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7933 fi
7934
7935 else
7936
7937 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7938
7939 fi
7940
7941
7942 eval "$wx_cv_use_debugreport"
7943
7944 if test x"$enablestring" = xdisable; then
7945 if test $wxUSE_DEBUGREPORT = no; then
7946 result=yes
7947 else
7948 result=no
7949 fi
7950 else
7951 result=$wxUSE_DEBUGREPORT
7952 fi
7953
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7955 $as_echo "$result" >&6; }
7956
7957
7958 enablestring=
7959 defaultval=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x"$enablestring" = xdisable; then
7962 defaultval=yes
7963 else
7964 defaultval=no
7965 fi
7966 fi
7967
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7969 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7970 # Check whether --enable-dialupman was given.
7971 if test "${enable_dialupman+set}" = set; then :
7972 enableval=$enable_dialupman;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7975 else
7976 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7977 fi
7978
7979 else
7980
7981 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7982
7983 fi
7984
7985
7986 eval "$wx_cv_use_dialupman"
7987
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_DIALUP_MANAGER = no; then
7990 result=yes
7991 else
7992 result=no
7993 fi
7994 else
7995 result=$wxUSE_DIALUP_MANAGER
7996 fi
7997
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7999 $as_echo "$result" >&6; }
8000
8001
8002 enablestring=
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8006 defaultval=yes
8007 else
8008 defaultval=no
8009 fi
8010 fi
8011
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8013 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8014 # Check whether --enable-dynlib was given.
8015 if test "${enable_dynlib+set}" = set; then :
8016 enableval=$enable_dynlib;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8019 else
8020 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8021 fi
8022
8023 else
8024
8025 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8026
8027 fi
8028
8029
8030 eval "$wx_cv_use_dynlib"
8031
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_DYNLIB_CLASS = no; then
8034 result=yes
8035 else
8036 result=no
8037 fi
8038 else
8039 result=$wxUSE_DYNLIB_CLASS
8040 fi
8041
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8043 $as_echo "$result" >&6; }
8044
8045
8046 enablestring=
8047 defaultval=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x"$enablestring" = xdisable; then
8050 defaultval=yes
8051 else
8052 defaultval=no
8053 fi
8054 fi
8055
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8057 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8058 # Check whether --enable-dynamicloader was given.
8059 if test "${enable_dynamicloader+set}" = set; then :
8060 enableval=$enable_dynamicloader;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8063 else
8064 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8065 fi
8066
8067 else
8068
8069 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8070
8071 fi
8072
8073
8074 eval "$wx_cv_use_dynamicloader"
8075
8076 if test x"$enablestring" = xdisable; then
8077 if test $wxUSE_DYNAMIC_LOADER = no; then
8078 result=yes
8079 else
8080 result=no
8081 fi
8082 else
8083 result=$wxUSE_DYNAMIC_LOADER
8084 fi
8085
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8087 $as_echo "$result" >&6; }
8088
8089
8090 enablestring=
8091 defaultval=$wxUSE_ALL_FEATURES
8092 if test -z "$defaultval"; then
8093 if test x"$enablestring" = xdisable; then
8094 defaultval=yes
8095 else
8096 defaultval=no
8097 fi
8098 fi
8099
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8101 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8102 # Check whether --enable-exceptions was given.
8103 if test "${enable_exceptions+set}" = set; then :
8104 enableval=$enable_exceptions;
8105 if test "$enableval" = yes; then
8106 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8107 else
8108 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8109 fi
8110
8111 else
8112
8113 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8114
8115 fi
8116
8117
8118 eval "$wx_cv_use_exceptions"
8119
8120 if test x"$enablestring" = xdisable; then
8121 if test $wxUSE_EXCEPTIONS = no; then
8122 result=yes
8123 else
8124 result=no
8125 fi
8126 else
8127 result=$wxUSE_EXCEPTIONS
8128 fi
8129
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8131 $as_echo "$result" >&6; }
8132
8133
8134 enablestring=
8135 defaultval=$wxUSE_ALL_FEATURES
8136 if test -z "$defaultval"; then
8137 if test x"$enablestring" = xdisable; then
8138 defaultval=yes
8139 else
8140 defaultval=no
8141 fi
8142 fi
8143
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8145 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8146 # Check whether --enable-ffile was given.
8147 if test "${enable_ffile+set}" = set; then :
8148 enableval=$enable_ffile;
8149 if test "$enableval" = yes; then
8150 wx_cv_use_ffile='wxUSE_FFILE=yes'
8151 else
8152 wx_cv_use_ffile='wxUSE_FFILE=no'
8153 fi
8154
8155 else
8156
8157 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8158
8159 fi
8160
8161
8162 eval "$wx_cv_use_ffile"
8163
8164 if test x"$enablestring" = xdisable; then
8165 if test $wxUSE_FFILE = no; then
8166 result=yes
8167 else
8168 result=no
8169 fi
8170 else
8171 result=$wxUSE_FFILE
8172 fi
8173
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8175 $as_echo "$result" >&6; }
8176
8177
8178 enablestring=
8179 defaultval=$wxUSE_ALL_FEATURES
8180 if test -z "$defaultval"; then
8181 if test x"$enablestring" = xdisable; then
8182 defaultval=yes
8183 else
8184 defaultval=no
8185 fi
8186 fi
8187
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8189 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8190 # Check whether --enable-file was given.
8191 if test "${enable_file+set}" = set; then :
8192 enableval=$enable_file;
8193 if test "$enableval" = yes; then
8194 wx_cv_use_file='wxUSE_FILE=yes'
8195 else
8196 wx_cv_use_file='wxUSE_FILE=no'
8197 fi
8198
8199 else
8200
8201 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8202
8203 fi
8204
8205
8206 eval "$wx_cv_use_file"
8207
8208 if test x"$enablestring" = xdisable; then
8209 if test $wxUSE_FILE = no; then
8210 result=yes
8211 else
8212 result=no
8213 fi
8214 else
8215 result=$wxUSE_FILE
8216 fi
8217
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8219 $as_echo "$result" >&6; }
8220
8221
8222 enablestring=
8223 defaultval=$wxUSE_ALL_FEATURES
8224 if test -z "$defaultval"; then
8225 if test x"$enablestring" = xdisable; then
8226 defaultval=yes
8227 else
8228 defaultval=no
8229 fi
8230 fi
8231
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8233 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8234 # Check whether --enable-filehistory was given.
8235 if test "${enable_filehistory+set}" = set; then :
8236 enableval=$enable_filehistory;
8237 if test "$enableval" = yes; then
8238 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8239 else
8240 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8241 fi
8242
8243 else
8244
8245 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8246
8247 fi
8248
8249
8250 eval "$wx_cv_use_filehistory"
8251
8252 if test x"$enablestring" = xdisable; then
8253 if test $wxUSE_FILE_HISTORY = no; then
8254 result=yes
8255 else
8256 result=no
8257 fi
8258 else
8259 result=$wxUSE_FILE_HISTORY
8260 fi
8261
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8263 $as_echo "$result" >&6; }
8264
8265
8266 enablestring=
8267 defaultval=$wxUSE_ALL_FEATURES
8268 if test -z "$defaultval"; then
8269 if test x"$enablestring" = xdisable; then
8270 defaultval=yes
8271 else
8272 defaultval=no
8273 fi
8274 fi
8275
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8277 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8278 # Check whether --enable-filesystem was given.
8279 if test "${enable_filesystem+set}" = set; then :
8280 enableval=$enable_filesystem;
8281 if test "$enableval" = yes; then
8282 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8283 else
8284 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8285 fi
8286
8287 else
8288
8289 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8290
8291 fi
8292
8293
8294 eval "$wx_cv_use_filesystem"
8295
8296 if test x"$enablestring" = xdisable; then
8297 if test $wxUSE_FILESYSTEM = no; then
8298 result=yes
8299 else
8300 result=no
8301 fi
8302 else
8303 result=$wxUSE_FILESYSTEM
8304 fi
8305
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8307 $as_echo "$result" >&6; }
8308
8309
8310 enablestring=
8311 defaultval=$wxUSE_ALL_FEATURES
8312 if test -z "$defaultval"; then
8313 if test x"$enablestring" = xdisable; then
8314 defaultval=yes
8315 else
8316 defaultval=no
8317 fi
8318 fi
8319
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8321 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8322 # Check whether --enable-fontenum was given.
8323 if test "${enable_fontenum+set}" = set; then :
8324 enableval=$enable_fontenum;
8325 if test "$enableval" = yes; then
8326 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8327 else
8328 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8329 fi
8330
8331 else
8332
8333 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8334
8335 fi
8336
8337
8338 eval "$wx_cv_use_fontenum"
8339
8340 if test x"$enablestring" = xdisable; then
8341 if test $wxUSE_FONTENUM = no; then
8342 result=yes
8343 else
8344 result=no
8345 fi
8346 else
8347 result=$wxUSE_FONTENUM
8348 fi
8349
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8351 $as_echo "$result" >&6; }
8352
8353
8354 enablestring=
8355 defaultval=$wxUSE_ALL_FEATURES
8356 if test -z "$defaultval"; then
8357 if test x"$enablestring" = xdisable; then
8358 defaultval=yes
8359 else
8360 defaultval=no
8361 fi
8362 fi
8363
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8365 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8366 # Check whether --enable-fontmap was given.
8367 if test "${enable_fontmap+set}" = set; then :
8368 enableval=$enable_fontmap;
8369 if test "$enableval" = yes; then
8370 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8371 else
8372 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8373 fi
8374
8375 else
8376
8377 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8378
8379 fi
8380
8381
8382 eval "$wx_cv_use_fontmap"
8383
8384 if test x"$enablestring" = xdisable; then
8385 if test $wxUSE_FONTMAP = no; then
8386 result=yes
8387 else
8388 result=no
8389 fi
8390 else
8391 result=$wxUSE_FONTMAP
8392 fi
8393
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8395 $as_echo "$result" >&6; }
8396
8397
8398 enablestring=
8399 defaultval=$wxUSE_ALL_FEATURES
8400 if test -z "$defaultval"; then
8401 if test x"$enablestring" = xdisable; then
8402 defaultval=yes
8403 else
8404 defaultval=no
8405 fi
8406 fi
8407
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8409 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8410 # Check whether --enable-fs_archive was given.
8411 if test "${enable_fs_archive+set}" = set; then :
8412 enableval=$enable_fs_archive;
8413 if test "$enableval" = yes; then
8414 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8415 else
8416 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8417 fi
8418
8419 else
8420
8421 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8422
8423 fi
8424
8425
8426 eval "$wx_cv_use_fs_archive"
8427
8428 if test x"$enablestring" = xdisable; then
8429 if test $wxUSE_FS_ARCHIVE = no; then
8430 result=yes
8431 else
8432 result=no
8433 fi
8434 else
8435 result=$wxUSE_FS_ARCHIVE
8436 fi
8437
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8439 $as_echo "$result" >&6; }
8440
8441
8442 enablestring=
8443 defaultval=$wxUSE_ALL_FEATURES
8444 if test -z "$defaultval"; then
8445 if test x"$enablestring" = xdisable; then
8446 defaultval=yes
8447 else
8448 defaultval=no
8449 fi
8450 fi
8451
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8453 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8454 # Check whether --enable-fs_inet was given.
8455 if test "${enable_fs_inet+set}" = set; then :
8456 enableval=$enable_fs_inet;
8457 if test "$enableval" = yes; then
8458 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8459 else
8460 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8461 fi
8462
8463 else
8464
8465 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8466
8467 fi
8468
8469
8470 eval "$wx_cv_use_fs_inet"
8471
8472 if test x"$enablestring" = xdisable; then
8473 if test $wxUSE_FS_INET = no; then
8474 result=yes
8475 else
8476 result=no
8477 fi
8478 else
8479 result=$wxUSE_FS_INET
8480 fi
8481
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8483 $as_echo "$result" >&6; }
8484
8485
8486 enablestring=
8487 defaultval=$wxUSE_ALL_FEATURES
8488 if test -z "$defaultval"; then
8489 if test x"$enablestring" = xdisable; then
8490 defaultval=yes
8491 else
8492 defaultval=no
8493 fi
8494 fi
8495
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8497 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8498 # Check whether --enable-fs_zip was given.
8499 if test "${enable_fs_zip+set}" = set; then :
8500 enableval=$enable_fs_zip;
8501 if test "$enableval" = yes; then
8502 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8503 else
8504 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8505 fi
8506
8507 else
8508
8509 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8510
8511 fi
8512
8513
8514 eval "$wx_cv_use_fs_zip"
8515
8516 if test x"$enablestring" = xdisable; then
8517 if test $wxUSE_FS_ZIP = no; then
8518 result=yes
8519 else
8520 result=no
8521 fi
8522 else
8523 result=$wxUSE_FS_ZIP
8524 fi
8525
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8527 $as_echo "$result" >&6; }
8528
8529
8530 enablestring=
8531 defaultval=$wxUSE_ALL_FEATURES
8532 if test -z "$defaultval"; then
8533 if test x"$enablestring" = xdisable; then
8534 defaultval=yes
8535 else
8536 defaultval=no
8537 fi
8538 fi
8539
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8541 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8542 # Check whether --enable-fswatcher was given.
8543 if test "${enable_fswatcher+set}" = set; then :
8544 enableval=$enable_fswatcher;
8545 if test "$enableval" = yes; then
8546 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8547 else
8548 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8549 fi
8550
8551 else
8552
8553 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8554
8555 fi
8556
8557
8558 eval "$wx_cv_use_fswatcher"
8559
8560 if test x"$enablestring" = xdisable; then
8561 if test $wxUSE_FSWATCHER = no; then
8562 result=yes
8563 else
8564 result=no
8565 fi
8566 else
8567 result=$wxUSE_FSWATCHER
8568 fi
8569
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8571 $as_echo "$result" >&6; }
8572
8573
8574 enablestring=
8575 defaultval=$wxUSE_ALL_FEATURES
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8578 defaultval=yes
8579 else
8580 defaultval=no
8581 fi
8582 fi
8583
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8585 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8586 # Check whether --enable-geometry was given.
8587 if test "${enable_geometry+set}" = set; then :
8588 enableval=$enable_geometry;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8591 else
8592 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8593 fi
8594
8595 else
8596
8597 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8598
8599 fi
8600
8601
8602 eval "$wx_cv_use_geometry"
8603
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_GEOMETRY = no; then
8606 result=yes
8607 else
8608 result=no
8609 fi
8610 else
8611 result=$wxUSE_GEOMETRY
8612 fi
8613
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8615 $as_echo "$result" >&6; }
8616
8617
8618 enablestring=
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8622 defaultval=yes
8623 else
8624 defaultval=no
8625 fi
8626 fi
8627
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8629 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8630 # Check whether --enable-log was given.
8631 if test "${enable_log+set}" = set; then :
8632 enableval=$enable_log;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_log='wxUSE_LOG=yes'
8635 else
8636 wx_cv_use_log='wxUSE_LOG=no'
8637 fi
8638
8639 else
8640
8641 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8642
8643 fi
8644
8645
8646 eval "$wx_cv_use_log"
8647
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_LOG = no; then
8650 result=yes
8651 else
8652 result=no
8653 fi
8654 else
8655 result=$wxUSE_LOG
8656 fi
8657
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8659 $as_echo "$result" >&6; }
8660
8661
8662 enablestring=
8663 defaultval=$wxUSE_ALL_FEATURES
8664 if test -z "$defaultval"; then
8665 if test x"$enablestring" = xdisable; then
8666 defaultval=yes
8667 else
8668 defaultval=no
8669 fi
8670 fi
8671
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8673 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8674 # Check whether --enable-longlong was given.
8675 if test "${enable_longlong+set}" = set; then :
8676 enableval=$enable_longlong;
8677 if test "$enableval" = yes; then
8678 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8679 else
8680 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8681 fi
8682
8683 else
8684
8685 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8686
8687 fi
8688
8689
8690 eval "$wx_cv_use_longlong"
8691
8692 if test x"$enablestring" = xdisable; then
8693 if test $wxUSE_LONGLONG = no; then
8694 result=yes
8695 else
8696 result=no
8697 fi
8698 else
8699 result=$wxUSE_LONGLONG
8700 fi
8701
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8703 $as_echo "$result" >&6; }
8704
8705
8706 enablestring=
8707 defaultval=$wxUSE_ALL_FEATURES
8708 if test -z "$defaultval"; then
8709 if test x"$enablestring" = xdisable; then
8710 defaultval=yes
8711 else
8712 defaultval=no
8713 fi
8714 fi
8715
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8717 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8718 # Check whether --enable-mimetype was given.
8719 if test "${enable_mimetype+set}" = set; then :
8720 enableval=$enable_mimetype;
8721 if test "$enableval" = yes; then
8722 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8723 else
8724 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8725 fi
8726
8727 else
8728
8729 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8730
8731 fi
8732
8733
8734 eval "$wx_cv_use_mimetype"
8735
8736 if test x"$enablestring" = xdisable; then
8737 if test $wxUSE_MIMETYPE = no; then
8738 result=yes
8739 else
8740 result=no
8741 fi
8742 else
8743 result=$wxUSE_MIMETYPE
8744 fi
8745
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8747 $as_echo "$result" >&6; }
8748
8749
8750 enablestring=
8751 defaultval=$wxUSE_ALL_FEATURES
8752 if test -z "$defaultval"; then
8753 if test x"$enablestring" = xdisable; then
8754 defaultval=yes
8755 else
8756 defaultval=no
8757 fi
8758 fi
8759
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8761 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8762 # Check whether --enable-printfposparam was given.
8763 if test "${enable_printfposparam+set}" = set; then :
8764 enableval=$enable_printfposparam;
8765 if test "$enableval" = yes; then
8766 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8767 else
8768 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8769 fi
8770
8771 else
8772
8773 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8774
8775 fi
8776
8777
8778 eval "$wx_cv_use_printfposparam"
8779
8780 if test x"$enablestring" = xdisable; then
8781 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8782 result=yes
8783 else
8784 result=no
8785 fi
8786 else
8787 result=$wxUSE_PRINTF_POS_PARAMS
8788 fi
8789
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8791 $as_echo "$result" >&6; }
8792
8793
8794 enablestring=
8795 defaultval=$wxUSE_ALL_FEATURES
8796 if test -z "$defaultval"; then
8797 if test x"$enablestring" = xdisable; then
8798 defaultval=yes
8799 else
8800 defaultval=no
8801 fi
8802 fi
8803
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8805 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8806 # Check whether --enable-snglinst was given.
8807 if test "${enable_snglinst+set}" = set; then :
8808 enableval=$enable_snglinst;
8809 if test "$enableval" = yes; then
8810 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8811 else
8812 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8813 fi
8814
8815 else
8816
8817 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8818
8819 fi
8820
8821
8822 eval "$wx_cv_use_snglinst"
8823
8824 if test x"$enablestring" = xdisable; then
8825 if test $wxUSE_SNGLINST_CHECKER = no; then
8826 result=yes
8827 else
8828 result=no
8829 fi
8830 else
8831 result=$wxUSE_SNGLINST_CHECKER
8832 fi
8833
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8835 $as_echo "$result" >&6; }
8836
8837
8838 enablestring=
8839 defaultval=$wxUSE_ALL_FEATURES
8840 if test -z "$defaultval"; then
8841 if test x"$enablestring" = xdisable; then
8842 defaultval=yes
8843 else
8844 defaultval=no
8845 fi
8846 fi
8847
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8849 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8850 # Check whether --enable-sound was given.
8851 if test "${enable_sound+set}" = set; then :
8852 enableval=$enable_sound;
8853 if test "$enableval" = yes; then
8854 wx_cv_use_sound='wxUSE_SOUND=yes'
8855 else
8856 wx_cv_use_sound='wxUSE_SOUND=no'
8857 fi
8858
8859 else
8860
8861 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8862
8863 fi
8864
8865
8866 eval "$wx_cv_use_sound"
8867
8868 if test x"$enablestring" = xdisable; then
8869 if test $wxUSE_SOUND = no; then
8870 result=yes
8871 else
8872 result=no
8873 fi
8874 else
8875 result=$wxUSE_SOUND
8876 fi
8877
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8879 $as_echo "$result" >&6; }
8880
8881
8882 enablestring=
8883 defaultval=$wxUSE_ALL_FEATURES
8884 if test -z "$defaultval"; then
8885 if test x"$enablestring" = xdisable; then
8886 defaultval=yes
8887 else
8888 defaultval=no
8889 fi
8890 fi
8891
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8893 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8894 # Check whether --enable-stdpaths was given.
8895 if test "${enable_stdpaths+set}" = set; then :
8896 enableval=$enable_stdpaths;
8897 if test "$enableval" = yes; then
8898 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8899 else
8900 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8901 fi
8902
8903 else
8904
8905 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8906
8907 fi
8908
8909
8910 eval "$wx_cv_use_stdpaths"
8911
8912 if test x"$enablestring" = xdisable; then
8913 if test $wxUSE_STDPATHS = no; then
8914 result=yes
8915 else
8916 result=no
8917 fi
8918 else
8919 result=$wxUSE_STDPATHS
8920 fi
8921
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8923 $as_echo "$result" >&6; }
8924
8925
8926 enablestring=
8927 defaultval=$wxUSE_ALL_FEATURES
8928 if test -z "$defaultval"; then
8929 if test x"$enablestring" = xdisable; then
8930 defaultval=yes
8931 else
8932 defaultval=no
8933 fi
8934 fi
8935
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8937 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8938 # Check whether --enable-stopwatch was given.
8939 if test "${enable_stopwatch+set}" = set; then :
8940 enableval=$enable_stopwatch;
8941 if test "$enableval" = yes; then
8942 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8943 else
8944 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8945 fi
8946
8947 else
8948
8949 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8950
8951 fi
8952
8953
8954 eval "$wx_cv_use_stopwatch"
8955
8956 if test x"$enablestring" = xdisable; then
8957 if test $wxUSE_STOPWATCH = no; then
8958 result=yes
8959 else
8960 result=no
8961 fi
8962 else
8963 result=$wxUSE_STOPWATCH
8964 fi
8965
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8967 $as_echo "$result" >&6; }
8968
8969
8970 enablestring=
8971 defaultval=$wxUSE_ALL_FEATURES
8972 if test -z "$defaultval"; then
8973 if test x"$enablestring" = xdisable; then
8974 defaultval=yes
8975 else
8976 defaultval=no
8977 fi
8978 fi
8979
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
8981 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
8982 # Check whether --enable-streams was given.
8983 if test "${enable_streams+set}" = set; then :
8984 enableval=$enable_streams;
8985 if test "$enableval" = yes; then
8986 wx_cv_use_streams='wxUSE_STREAMS=yes'
8987 else
8988 wx_cv_use_streams='wxUSE_STREAMS=no'
8989 fi
8990
8991 else
8992
8993 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8994
8995 fi
8996
8997
8998 eval "$wx_cv_use_streams"
8999
9000 if test x"$enablestring" = xdisable; then
9001 if test $wxUSE_STREAMS = no; then
9002 result=yes
9003 else
9004 result=no
9005 fi
9006 else
9007 result=$wxUSE_STREAMS
9008 fi
9009
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9011 $as_echo "$result" >&6; }
9012
9013
9014 enablestring=
9015 defaultval=$wxUSE_ALL_FEATURES
9016 if test -z "$defaultval"; then
9017 if test x"$enablestring" = xdisable; then
9018 defaultval=yes
9019 else
9020 defaultval=no
9021 fi
9022 fi
9023
9024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9025 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9026 # Check whether --enable-sysoptions was given.
9027 if test "${enable_sysoptions+set}" = set; then :
9028 enableval=$enable_sysoptions;
9029 if test "$enableval" = yes; then
9030 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9031 else
9032 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9033 fi
9034
9035 else
9036
9037 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9038
9039 fi
9040
9041
9042 eval "$wx_cv_use_sysoptions"
9043
9044 if test x"$enablestring" = xdisable; then
9045 if test $wxUSE_SYSTEM_OPTIONS = no; then
9046 result=yes
9047 else
9048 result=no
9049 fi
9050 else
9051 result=$wxUSE_SYSTEM_OPTIONS
9052 fi
9053
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9055 $as_echo "$result" >&6; }
9056
9057
9058 enablestring=
9059 defaultval=$wxUSE_ALL_FEATURES
9060 if test -z "$defaultval"; then
9061 if test x"$enablestring" = xdisable; then
9062 defaultval=yes
9063 else
9064 defaultval=no
9065 fi
9066 fi
9067
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9069 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9070 # Check whether --enable-tarstream was given.
9071 if test "${enable_tarstream+set}" = set; then :
9072 enableval=$enable_tarstream;
9073 if test "$enableval" = yes; then
9074 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9075 else
9076 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9077 fi
9078
9079 else
9080
9081 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9082
9083 fi
9084
9085
9086 eval "$wx_cv_use_tarstream"
9087
9088 if test x"$enablestring" = xdisable; then
9089 if test $wxUSE_TARSTREAM = no; then
9090 result=yes
9091 else
9092 result=no
9093 fi
9094 else
9095 result=$wxUSE_TARSTREAM
9096 fi
9097
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9099 $as_echo "$result" >&6; }
9100
9101
9102 enablestring=
9103 defaultval=$wxUSE_ALL_FEATURES
9104 if test -z "$defaultval"; then
9105 if test x"$enablestring" = xdisable; then
9106 defaultval=yes
9107 else
9108 defaultval=no
9109 fi
9110 fi
9111
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9113 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9114 # Check whether --enable-textbuf was given.
9115 if test "${enable_textbuf+set}" = set; then :
9116 enableval=$enable_textbuf;
9117 if test "$enableval" = yes; then
9118 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9119 else
9120 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9121 fi
9122
9123 else
9124
9125 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9126
9127 fi
9128
9129
9130 eval "$wx_cv_use_textbuf"
9131
9132 if test x"$enablestring" = xdisable; then
9133 if test $wxUSE_TEXTBUFFER = no; then
9134 result=yes
9135 else
9136 result=no
9137 fi
9138 else
9139 result=$wxUSE_TEXTBUFFER
9140 fi
9141
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9143 $as_echo "$result" >&6; }
9144
9145
9146 enablestring=
9147 defaultval=$wxUSE_ALL_FEATURES
9148 if test -z "$defaultval"; then
9149 if test x"$enablestring" = xdisable; then
9150 defaultval=yes
9151 else
9152 defaultval=no
9153 fi
9154 fi
9155
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9157 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9158 # Check whether --enable-textfile was given.
9159 if test "${enable_textfile+set}" = set; then :
9160 enableval=$enable_textfile;
9161 if test "$enableval" = yes; then
9162 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9163 else
9164 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9165 fi
9166
9167 else
9168
9169 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9170
9171 fi
9172
9173
9174 eval "$wx_cv_use_textfile"
9175
9176 if test x"$enablestring" = xdisable; then
9177 if test $wxUSE_TEXTFILE = no; then
9178 result=yes
9179 else
9180 result=no
9181 fi
9182 else
9183 result=$wxUSE_TEXTFILE
9184 fi
9185
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9187 $as_echo "$result" >&6; }
9188
9189
9190 enablestring=
9191 defaultval=$wxUSE_ALL_FEATURES
9192 if test -z "$defaultval"; then
9193 if test x"$enablestring" = xdisable; then
9194 defaultval=yes
9195 else
9196 defaultval=no
9197 fi
9198 fi
9199
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9201 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9202 # Check whether --enable-timer was given.
9203 if test "${enable_timer+set}" = set; then :
9204 enableval=$enable_timer;
9205 if test "$enableval" = yes; then
9206 wx_cv_use_timer='wxUSE_TIMER=yes'
9207 else
9208 wx_cv_use_timer='wxUSE_TIMER=no'
9209 fi
9210
9211 else
9212
9213 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9214
9215 fi
9216
9217
9218 eval "$wx_cv_use_timer"
9219
9220 if test x"$enablestring" = xdisable; then
9221 if test $wxUSE_TIMER = no; then
9222 result=yes
9223 else
9224 result=no
9225 fi
9226 else
9227 result=$wxUSE_TIMER
9228 fi
9229
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9231 $as_echo "$result" >&6; }
9232
9233
9234 enablestring=
9235 defaultval=$wxUSE_ALL_FEATURES
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9238 defaultval=yes
9239 else
9240 defaultval=no
9241 fi
9242 fi
9243
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9245 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9246 # Check whether --enable-variant was given.
9247 if test "${enable_variant+set}" = set; then :
9248 enableval=$enable_variant;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_variant='wxUSE_VARIANT=yes'
9251 else
9252 wx_cv_use_variant='wxUSE_VARIANT=no'
9253 fi
9254
9255 else
9256
9257 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9258
9259 fi
9260
9261
9262 eval "$wx_cv_use_variant"
9263
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_VARIANT = no; then
9266 result=yes
9267 else
9268 result=no
9269 fi
9270 else
9271 result=$wxUSE_VARIANT
9272 fi
9273
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9275 $as_echo "$result" >&6; }
9276
9277
9278 enablestring=
9279 defaultval=$wxUSE_ALL_FEATURES
9280 if test -z "$defaultval"; then
9281 if test x"$enablestring" = xdisable; then
9282 defaultval=yes
9283 else
9284 defaultval=no
9285 fi
9286 fi
9287
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9289 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9290 # Check whether --enable-zipstream was given.
9291 if test "${enable_zipstream+set}" = set; then :
9292 enableval=$enable_zipstream;
9293 if test "$enableval" = yes; then
9294 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9295 else
9296 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9297 fi
9298
9299 else
9300
9301 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9302
9303 fi
9304
9305
9306 eval "$wx_cv_use_zipstream"
9307
9308 if test x"$enablestring" = xdisable; then
9309 if test $wxUSE_ZIPSTREAM = no; then
9310 result=yes
9311 else
9312 result=no
9313 fi
9314 else
9315 result=$wxUSE_ZIPSTREAM
9316 fi
9317
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9319 $as_echo "$result" >&6; }
9320
9321
9322
9323 enablestring=
9324 defaultval=$wxUSE_ALL_FEATURES
9325 if test -z "$defaultval"; then
9326 if test x"$enablestring" = xdisable; then
9327 defaultval=yes
9328 else
9329 defaultval=no
9330 fi
9331 fi
9332
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9334 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9335 # Check whether --enable-url was given.
9336 if test "${enable_url+set}" = set; then :
9337 enableval=$enable_url;
9338 if test "$enableval" = yes; then
9339 wx_cv_use_url='wxUSE_URL=yes'
9340 else
9341 wx_cv_use_url='wxUSE_URL=no'
9342 fi
9343
9344 else
9345
9346 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9347
9348 fi
9349
9350
9351 eval "$wx_cv_use_url"
9352
9353 if test x"$enablestring" = xdisable; then
9354 if test $wxUSE_URL = no; then
9355 result=yes
9356 else
9357 result=no
9358 fi
9359 else
9360 result=$wxUSE_URL
9361 fi
9362
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9364 $as_echo "$result" >&6; }
9365
9366
9367 enablestring=
9368 defaultval=$wxUSE_ALL_FEATURES
9369 if test -z "$defaultval"; then
9370 if test x"$enablestring" = xdisable; then
9371 defaultval=yes
9372 else
9373 defaultval=no
9374 fi
9375 fi
9376
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9378 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9379 # Check whether --enable-protocol was given.
9380 if test "${enable_protocol+set}" = set; then :
9381 enableval=$enable_protocol;
9382 if test "$enableval" = yes; then
9383 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9384 else
9385 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9386 fi
9387
9388 else
9389
9390 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9391
9392 fi
9393
9394
9395 eval "$wx_cv_use_protocol"
9396
9397 if test x"$enablestring" = xdisable; then
9398 if test $wxUSE_PROTOCOL = no; then
9399 result=yes
9400 else
9401 result=no
9402 fi
9403 else
9404 result=$wxUSE_PROTOCOL
9405 fi
9406
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9408 $as_echo "$result" >&6; }
9409
9410
9411 enablestring=
9412 defaultval=$wxUSE_ALL_FEATURES
9413 if test -z "$defaultval"; then
9414 if test x"$enablestring" = xdisable; then
9415 defaultval=yes
9416 else
9417 defaultval=no
9418 fi
9419 fi
9420
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9422 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9423 # Check whether --enable-protocol_http was given.
9424 if test "${enable_protocol_http+set}" = set; then :
9425 enableval=$enable_protocol_http;
9426 if test "$enableval" = yes; then
9427 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9428 else
9429 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9430 fi
9431
9432 else
9433
9434 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9435
9436 fi
9437
9438
9439 eval "$wx_cv_use_protocol_http"
9440
9441 if test x"$enablestring" = xdisable; then
9442 if test $wxUSE_PROTOCOL_HTTP = no; then
9443 result=yes
9444 else
9445 result=no
9446 fi
9447 else
9448 result=$wxUSE_PROTOCOL_HTTP
9449 fi
9450
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9452 $as_echo "$result" >&6; }
9453
9454
9455 enablestring=
9456 defaultval=$wxUSE_ALL_FEATURES
9457 if test -z "$defaultval"; then
9458 if test x"$enablestring" = xdisable; then
9459 defaultval=yes
9460 else
9461 defaultval=no
9462 fi
9463 fi
9464
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9466 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9467 # Check whether --enable-protocol_ftp was given.
9468 if test "${enable_protocol_ftp+set}" = set; then :
9469 enableval=$enable_protocol_ftp;
9470 if test "$enableval" = yes; then
9471 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9472 else
9473 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9474 fi
9475
9476 else
9477
9478 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9479
9480 fi
9481
9482
9483 eval "$wx_cv_use_protocol_ftp"
9484
9485 if test x"$enablestring" = xdisable; then
9486 if test $wxUSE_PROTOCOL_FTP = no; then
9487 result=yes
9488 else
9489 result=no
9490 fi
9491 else
9492 result=$wxUSE_PROTOCOL_FTP
9493 fi
9494
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9496 $as_echo "$result" >&6; }
9497
9498
9499 enablestring=
9500 defaultval=$wxUSE_ALL_FEATURES
9501 if test -z "$defaultval"; then
9502 if test x"$enablestring" = xdisable; then
9503 defaultval=yes
9504 else
9505 defaultval=no
9506 fi
9507 fi
9508
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9510 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9511 # Check whether --enable-protocol_file was given.
9512 if test "${enable_protocol_file+set}" = set; then :
9513 enableval=$enable_protocol_file;
9514 if test "$enableval" = yes; then
9515 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9516 else
9517 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9518 fi
9519
9520 else
9521
9522 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9523
9524 fi
9525
9526
9527 eval "$wx_cv_use_protocol_file"
9528
9529 if test x"$enablestring" = xdisable; then
9530 if test $wxUSE_PROTOCOL_FILE = no; then
9531 result=yes
9532 else
9533 result=no
9534 fi
9535 else
9536 result=$wxUSE_PROTOCOL_FILE
9537 fi
9538
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9540 $as_echo "$result" >&6; }
9541
9542
9543
9544 enablestring=
9545 defaultval=$wxUSE_ALL_FEATURES
9546 if test -z "$defaultval"; then
9547 if test x"$enablestring" = xdisable; then
9548 defaultval=yes
9549 else
9550 defaultval=no
9551 fi
9552 fi
9553
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9555 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9556 # Check whether --enable-threads was given.
9557 if test "${enable_threads+set}" = set; then :
9558 enableval=$enable_threads;
9559 if test "$enableval" = yes; then
9560 wx_cv_use_threads='wxUSE_THREADS=yes'
9561 else
9562 wx_cv_use_threads='wxUSE_THREADS=no'
9563 fi
9564
9565 else
9566
9567 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9568
9569 fi
9570
9571
9572 eval "$wx_cv_use_threads"
9573
9574 if test x"$enablestring" = xdisable; then
9575 if test $wxUSE_THREADS = no; then
9576 result=yes
9577 else
9578 result=no
9579 fi
9580 else
9581 result=$wxUSE_THREADS
9582 fi
9583
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9585 $as_echo "$result" >&6; }
9586
9587
9588
9589 enablestring=
9590 defaultval=
9591 if test -z "$defaultval"; then
9592 if test x"$enablestring" = xdisable; then
9593 defaultval=yes
9594 else
9595 defaultval=no
9596 fi
9597 fi
9598
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9600 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9601 # Check whether --enable-iniconf was given.
9602 if test "${enable_iniconf+set}" = set; then :
9603 enableval=$enable_iniconf;
9604 if test "$enableval" = yes; then
9605 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9606 else
9607 wx_cv_use_iniconf='wxUSE_INICONF=no'
9608 fi
9609
9610 else
9611
9612 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9613
9614 fi
9615
9616
9617 eval "$wx_cv_use_iniconf"
9618
9619 if test x"$enablestring" = xdisable; then
9620 if test $wxUSE_INICONF = no; then
9621 result=yes
9622 else
9623 result=no
9624 fi
9625 else
9626 result=$wxUSE_INICONF
9627 fi
9628
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9630 $as_echo "$result" >&6; }
9631
9632
9633 enablestring=
9634 defaultval=$wxUSE_ALL_FEATURES
9635 if test -z "$defaultval"; then
9636 if test x"$enablestring" = xdisable; then
9637 defaultval=yes
9638 else
9639 defaultval=no
9640 fi
9641 fi
9642
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9644 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9645 # Check whether --enable-regkey was given.
9646 if test "${enable_regkey+set}" = set; then :
9647 enableval=$enable_regkey;
9648 if test "$enableval" = yes; then
9649 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9650 else
9651 wx_cv_use_regkey='wxUSE_REGKEY=no'
9652 fi
9653
9654 else
9655
9656 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9657
9658 fi
9659
9660
9661 eval "$wx_cv_use_regkey"
9662
9663 if test x"$enablestring" = xdisable; then
9664 if test $wxUSE_REGKEY = no; then
9665 result=yes
9666 else
9667 result=no
9668 fi
9669 else
9670 result=$wxUSE_REGKEY
9671 fi
9672
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9674 $as_echo "$result" >&6; }
9675
9676
9677 if test "$wxUSE_GUI" = "yes"; then
9678
9679
9680
9681 enablestring=
9682 defaultval=$wxUSE_ALL_FEATURES
9683 if test -z "$defaultval"; then
9684 if test x"$enablestring" = xdisable; then
9685 defaultval=yes
9686 else
9687 defaultval=no
9688 fi
9689 fi
9690
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9692 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9693 # Check whether --enable-docview was given.
9694 if test "${enable_docview+set}" = set; then :
9695 enableval=$enable_docview;
9696 if test "$enableval" = yes; then
9697 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9698 else
9699 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9700 fi
9701
9702 else
9703
9704 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9705
9706 fi
9707
9708
9709 eval "$wx_cv_use_docview"
9710
9711 if test x"$enablestring" = xdisable; then
9712 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9713 result=yes
9714 else
9715 result=no
9716 fi
9717 else
9718 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9719 fi
9720
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9722 $as_echo "$result" >&6; }
9723
9724
9725 enablestring=
9726 defaultval=$wxUSE_ALL_FEATURES
9727 if test -z "$defaultval"; then
9728 if test x"$enablestring" = xdisable; then
9729 defaultval=yes
9730 else
9731 defaultval=no
9732 fi
9733 fi
9734
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9736 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9737 # Check whether --enable-help was given.
9738 if test "${enable_help+set}" = set; then :
9739 enableval=$enable_help;
9740 if test "$enableval" = yes; then
9741 wx_cv_use_help='wxUSE_HELP=yes'
9742 else
9743 wx_cv_use_help='wxUSE_HELP=no'
9744 fi
9745
9746 else
9747
9748 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9749
9750 fi
9751
9752
9753 eval "$wx_cv_use_help"
9754
9755 if test x"$enablestring" = xdisable; then
9756 if test $wxUSE_HELP = no; then
9757 result=yes
9758 else
9759 result=no
9760 fi
9761 else
9762 result=$wxUSE_HELP
9763 fi
9764
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9766 $as_echo "$result" >&6; }
9767
9768
9769 enablestring=
9770 defaultval=$wxUSE_ALL_FEATURES
9771 if test -z "$defaultval"; then
9772 if test x"$enablestring" = xdisable; then
9773 defaultval=yes
9774 else
9775 defaultval=no
9776 fi
9777 fi
9778
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9780 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9781 # Check whether --enable-mshtmlhelp was given.
9782 if test "${enable_mshtmlhelp+set}" = set; then :
9783 enableval=$enable_mshtmlhelp;
9784 if test "$enableval" = yes; then
9785 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9786 else
9787 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9788 fi
9789
9790 else
9791
9792 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9793
9794 fi
9795
9796
9797 eval "$wx_cv_use_mshtmlhelp"
9798
9799 if test x"$enablestring" = xdisable; then
9800 if test $wxUSE_MS_HTML_HELP = no; then
9801 result=yes
9802 else
9803 result=no
9804 fi
9805 else
9806 result=$wxUSE_MS_HTML_HELP
9807 fi
9808
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9810 $as_echo "$result" >&6; }
9811
9812
9813 enablestring=
9814 defaultval=$wxUSE_ALL_FEATURES
9815 if test -z "$defaultval"; then
9816 if test x"$enablestring" = xdisable; then
9817 defaultval=yes
9818 else
9819 defaultval=no
9820 fi
9821 fi
9822
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9824 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9825 # Check whether --enable-html was given.
9826 if test "${enable_html+set}" = set; then :
9827 enableval=$enable_html;
9828 if test "$enableval" = yes; then
9829 wx_cv_use_html='wxUSE_HTML=yes'
9830 else
9831 wx_cv_use_html='wxUSE_HTML=no'
9832 fi
9833
9834 else
9835
9836 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9837
9838 fi
9839
9840
9841 eval "$wx_cv_use_html"
9842
9843 if test x"$enablestring" = xdisable; then
9844 if test $wxUSE_HTML = no; then
9845 result=yes
9846 else
9847 result=no
9848 fi
9849 else
9850 result=$wxUSE_HTML
9851 fi
9852
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9854 $as_echo "$result" >&6; }
9855
9856
9857 enablestring=
9858 defaultval=$wxUSE_ALL_FEATURES
9859 if test -z "$defaultval"; then
9860 if test x"$enablestring" = xdisable; then
9861 defaultval=yes
9862 else
9863 defaultval=no
9864 fi
9865 fi
9866
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9868 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9869 # Check whether --enable-htmlhelp was given.
9870 if test "${enable_htmlhelp+set}" = set; then :
9871 enableval=$enable_htmlhelp;
9872 if test "$enableval" = yes; then
9873 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9874 else
9875 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9876 fi
9877
9878 else
9879
9880 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9881
9882 fi
9883
9884
9885 eval "$wx_cv_use_htmlhelp"
9886
9887 if test x"$enablestring" = xdisable; then
9888 if test $wxUSE_WXHTML_HELP = no; then
9889 result=yes
9890 else
9891 result=no
9892 fi
9893 else
9894 result=$wxUSE_WXHTML_HELP
9895 fi
9896
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9898 $as_echo "$result" >&6; }
9899
9900
9901 enablestring=
9902 defaultval=$wxUSE_ALL_FEATURES
9903 if test -z "$defaultval"; then
9904 if test x"$enablestring" = xdisable; then
9905 defaultval=yes
9906 else
9907 defaultval=no
9908 fi
9909 fi
9910
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9912 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9913 # Check whether --enable-xrc was given.
9914 if test "${enable_xrc+set}" = set; then :
9915 enableval=$enable_xrc;
9916 if test "$enableval" = yes; then
9917 wx_cv_use_xrc='wxUSE_XRC=yes'
9918 else
9919 wx_cv_use_xrc='wxUSE_XRC=no'
9920 fi
9921
9922 else
9923
9924 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9925
9926 fi
9927
9928
9929 eval "$wx_cv_use_xrc"
9930
9931 if test x"$enablestring" = xdisable; then
9932 if test $wxUSE_XRC = no; then
9933 result=yes
9934 else
9935 result=no
9936 fi
9937 else
9938 result=$wxUSE_XRC
9939 fi
9940
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9942 $as_echo "$result" >&6; }
9943
9944
9945 enablestring=
9946 defaultval=$wxUSE_ALL_FEATURES
9947 if test -z "$defaultval"; then
9948 if test x"$enablestring" = xdisable; then
9949 defaultval=yes
9950 else
9951 defaultval=no
9952 fi
9953 fi
9954
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9956 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9957 # Check whether --enable-aui was given.
9958 if test "${enable_aui+set}" = set; then :
9959 enableval=$enable_aui;
9960 if test "$enableval" = yes; then
9961 wx_cv_use_aui='wxUSE_AUI=yes'
9962 else
9963 wx_cv_use_aui='wxUSE_AUI=no'
9964 fi
9965
9966 else
9967
9968 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9969
9970 fi
9971
9972
9973 eval "$wx_cv_use_aui"
9974
9975 if test x"$enablestring" = xdisable; then
9976 if test $wxUSE_AUI = no; then
9977 result=yes
9978 else
9979 result=no
9980 fi
9981 else
9982 result=$wxUSE_AUI
9983 fi
9984
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9986 $as_echo "$result" >&6; }
9987
9988
9989 enablestring=
9990 defaultval=$wxUSE_ALL_FEATURES
9991 if test -z "$defaultval"; then
9992 if test x"$enablestring" = xdisable; then
9993 defaultval=yes
9994 else
9995 defaultval=no
9996 fi
9997 fi
9998
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10000 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10001 # Check whether --enable-propgrid was given.
10002 if test "${enable_propgrid+set}" = set; then :
10003 enableval=$enable_propgrid;
10004 if test "$enableval" = yes; then
10005 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10006 else
10007 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10008 fi
10009
10010 else
10011
10012 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10013
10014 fi
10015
10016
10017 eval "$wx_cv_use_propgrid"
10018
10019 if test x"$enablestring" = xdisable; then
10020 if test $wxUSE_PROPGRID = no; then
10021 result=yes
10022 else
10023 result=no
10024 fi
10025 else
10026 result=$wxUSE_PROPGRID
10027 fi
10028
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10030 $as_echo "$result" >&6; }
10031
10032
10033 enablestring=
10034 defaultval=$wxUSE_ALL_FEATURES
10035 if test -z "$defaultval"; then
10036 if test x"$enablestring" = xdisable; then
10037 defaultval=yes
10038 else
10039 defaultval=no
10040 fi
10041 fi
10042
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10044 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10045 # Check whether --enable-ribbon was given.
10046 if test "${enable_ribbon+set}" = set; then :
10047 enableval=$enable_ribbon;
10048 if test "$enableval" = yes; then
10049 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10050 else
10051 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10052 fi
10053
10054 else
10055
10056 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10057
10058 fi
10059
10060
10061 eval "$wx_cv_use_ribbon"
10062
10063 if test x"$enablestring" = xdisable; then
10064 if test $wxUSE_RIBBON = no; then
10065 result=yes
10066 else
10067 result=no
10068 fi
10069 else
10070 result=$wxUSE_RIBBON
10071 fi
10072
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10074 $as_echo "$result" >&6; }
10075
10076
10077 enablestring=
10078 defaultval=$wxUSE_ALL_FEATURES
10079 if test -z "$defaultval"; then
10080 if test x"$enablestring" = xdisable; then
10081 defaultval=yes
10082 else
10083 defaultval=no
10084 fi
10085 fi
10086
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10088 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10089 # Check whether --enable-stc was given.
10090 if test "${enable_stc+set}" = set; then :
10091 enableval=$enable_stc;
10092 if test "$enableval" = yes; then
10093 wx_cv_use_stc='wxUSE_STC=yes'
10094 else
10095 wx_cv_use_stc='wxUSE_STC=no'
10096 fi
10097
10098 else
10099
10100 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10101
10102 fi
10103
10104
10105 eval "$wx_cv_use_stc"
10106
10107 if test x"$enablestring" = xdisable; then
10108 if test $wxUSE_STC = no; then
10109 result=yes
10110 else
10111 result=no
10112 fi
10113 else
10114 result=$wxUSE_STC
10115 fi
10116
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10118 $as_echo "$result" >&6; }
10119
10120
10121 enablestring=
10122 defaultval=$wxUSE_ALL_FEATURES
10123 if test -z "$defaultval"; then
10124 if test x"$enablestring" = xdisable; then
10125 defaultval=yes
10126 else
10127 defaultval=no
10128 fi
10129 fi
10130
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10132 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10133 # Check whether --enable-constraints was given.
10134 if test "${enable_constraints+set}" = set; then :
10135 enableval=$enable_constraints;
10136 if test "$enableval" = yes; then
10137 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10138 else
10139 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10140 fi
10141
10142 else
10143
10144 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10145
10146 fi
10147
10148
10149 eval "$wx_cv_use_constraints"
10150
10151 if test x"$enablestring" = xdisable; then
10152 if test $wxUSE_CONSTRAINTS = no; then
10153 result=yes
10154 else
10155 result=no
10156 fi
10157 else
10158 result=$wxUSE_CONSTRAINTS
10159 fi
10160
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10162 $as_echo "$result" >&6; }
10163
10164
10165 enablestring=
10166 defaultval=$wxUSE_ALL_FEATURES
10167 if test -z "$defaultval"; then
10168 if test x"$enablestring" = xdisable; then
10169 defaultval=yes
10170 else
10171 defaultval=no
10172 fi
10173 fi
10174
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10176 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10177 # Check whether --enable-loggui was given.
10178 if test "${enable_loggui+set}" = set; then :
10179 enableval=$enable_loggui;
10180 if test "$enableval" = yes; then
10181 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10182 else
10183 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10184 fi
10185
10186 else
10187
10188 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10189
10190 fi
10191
10192
10193 eval "$wx_cv_use_loggui"
10194
10195 if test x"$enablestring" = xdisable; then
10196 if test $wxUSE_LOGGUI = no; then
10197 result=yes
10198 else
10199 result=no
10200 fi
10201 else
10202 result=$wxUSE_LOGGUI
10203 fi
10204
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10206 $as_echo "$result" >&6; }
10207
10208
10209 enablestring=
10210 defaultval=$wxUSE_ALL_FEATURES
10211 if test -z "$defaultval"; then
10212 if test x"$enablestring" = xdisable; then
10213 defaultval=yes
10214 else
10215 defaultval=no
10216 fi
10217 fi
10218
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10220 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10221 # Check whether --enable-logwin was given.
10222 if test "${enable_logwin+set}" = set; then :
10223 enableval=$enable_logwin;
10224 if test "$enableval" = yes; then
10225 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10226 else
10227 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10228 fi
10229
10230 else
10231
10232 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10233
10234 fi
10235
10236
10237 eval "$wx_cv_use_logwin"
10238
10239 if test x"$enablestring" = xdisable; then
10240 if test $wxUSE_LOGWINDOW = no; then
10241 result=yes
10242 else
10243 result=no
10244 fi
10245 else
10246 result=$wxUSE_LOGWINDOW
10247 fi
10248
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10250 $as_echo "$result" >&6; }
10251
10252
10253 enablestring=
10254 defaultval=$wxUSE_ALL_FEATURES
10255 if test -z "$defaultval"; then
10256 if test x"$enablestring" = xdisable; then
10257 defaultval=yes
10258 else
10259 defaultval=no
10260 fi
10261 fi
10262
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10264 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10265 # Check whether --enable-logdialog was given.
10266 if test "${enable_logdialog+set}" = set; then :
10267 enableval=$enable_logdialog;
10268 if test "$enableval" = yes; then
10269 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10270 else
10271 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10272 fi
10273
10274 else
10275
10276 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10277
10278 fi
10279
10280
10281 eval "$wx_cv_use_logdialog"
10282
10283 if test x"$enablestring" = xdisable; then
10284 if test $wxUSE_LOGDIALOG = no; then
10285 result=yes
10286 else
10287 result=no
10288 fi
10289 else
10290 result=$wxUSE_LOGDIALOG
10291 fi
10292
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10294 $as_echo "$result" >&6; }
10295
10296
10297 enablestring=
10298 defaultval=$wxUSE_ALL_FEATURES
10299 if test -z "$defaultval"; then
10300 if test x"$enablestring" = xdisable; then
10301 defaultval=yes
10302 else
10303 defaultval=no
10304 fi
10305 fi
10306
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10308 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10309 # Check whether --enable-mdi was given.
10310 if test "${enable_mdi+set}" = set; then :
10311 enableval=$enable_mdi;
10312 if test "$enableval" = yes; then
10313 wx_cv_use_mdi='wxUSE_MDI=yes'
10314 else
10315 wx_cv_use_mdi='wxUSE_MDI=no'
10316 fi
10317
10318 else
10319
10320 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10321
10322 fi
10323
10324
10325 eval "$wx_cv_use_mdi"
10326
10327 if test x"$enablestring" = xdisable; then
10328 if test $wxUSE_MDI = no; then
10329 result=yes
10330 else
10331 result=no
10332 fi
10333 else
10334 result=$wxUSE_MDI
10335 fi
10336
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10338 $as_echo "$result" >&6; }
10339
10340
10341 enablestring=
10342 defaultval=$wxUSE_ALL_FEATURES
10343 if test -z "$defaultval"; then
10344 if test x"$enablestring" = xdisable; then
10345 defaultval=yes
10346 else
10347 defaultval=no
10348 fi
10349 fi
10350
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10352 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10353 # Check whether --enable-mdidoc was given.
10354 if test "${enable_mdidoc+set}" = set; then :
10355 enableval=$enable_mdidoc;
10356 if test "$enableval" = yes; then
10357 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10358 else
10359 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10360 fi
10361
10362 else
10363
10364 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10365
10366 fi
10367
10368
10369 eval "$wx_cv_use_mdidoc"
10370
10371 if test x"$enablestring" = xdisable; then
10372 if test $wxUSE_MDI_ARCHITECTURE = no; then
10373 result=yes
10374 else
10375 result=no
10376 fi
10377 else
10378 result=$wxUSE_MDI_ARCHITECTURE
10379 fi
10380
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10382 $as_echo "$result" >&6; }
10383
10384
10385 enablestring=
10386 defaultval=$wxUSE_ALL_FEATURES
10387 if test -z "$defaultval"; then
10388 if test x"$enablestring" = xdisable; then
10389 defaultval=yes
10390 else
10391 defaultval=no
10392 fi
10393 fi
10394
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10396 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10397 # Check whether --enable-mediactrl was given.
10398 if test "${enable_mediactrl+set}" = set; then :
10399 enableval=$enable_mediactrl;
10400 if test "$enableval" = yes; then
10401 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10402 else
10403 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10404 fi
10405
10406 else
10407
10408 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10409
10410 fi
10411
10412
10413 eval "$wx_cv_use_mediactrl"
10414
10415 if test x"$enablestring" = xdisable; then
10416 if test $wxUSE_MEDIACTRL = no; then
10417 result=yes
10418 else
10419 result=no
10420 fi
10421 else
10422 result=$wxUSE_MEDIACTRL
10423 fi
10424
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10426 $as_echo "$result" >&6; }
10427
10428
10429 enablestring=
10430 defaultval=$wxUSE_ALL_FEATURES
10431 if test -z "$defaultval"; then
10432 if test x"$enablestring" = xdisable; then
10433 defaultval=yes
10434 else
10435 defaultval=no
10436 fi
10437 fi
10438
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10440 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10441 # Check whether --enable-gstreamer8 was given.
10442 if test "${enable_gstreamer8+set}" = set; then :
10443 enableval=$enable_gstreamer8;
10444 if test "$enableval" = yes; then
10445 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10446 else
10447 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10448 fi
10449
10450 else
10451
10452 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10453
10454 fi
10455
10456
10457 eval "$wx_cv_use_gstreamer8"
10458
10459 if test x"$enablestring" = xdisable; then
10460 if test $wxUSE_GSTREAMER8 = no; then
10461 result=yes
10462 else
10463 result=no
10464 fi
10465 else
10466 result=$wxUSE_GSTREAMER8
10467 fi
10468
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10470 $as_echo "$result" >&6; }
10471
10472
10473 enablestring=
10474 defaultval=$wxUSE_ALL_FEATURES
10475 if test -z "$defaultval"; then
10476 if test x"$enablestring" = xdisable; then
10477 defaultval=yes
10478 else
10479 defaultval=no
10480 fi
10481 fi
10482
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10484 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10485 # Check whether --enable-richtext was given.
10486 if test "${enable_richtext+set}" = set; then :
10487 enableval=$enable_richtext;
10488 if test "$enableval" = yes; then
10489 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10490 else
10491 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10492 fi
10493
10494 else
10495
10496 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10497
10498 fi
10499
10500
10501 eval "$wx_cv_use_richtext"
10502
10503 if test x"$enablestring" = xdisable; then
10504 if test $wxUSE_RICHTEXT = no; then
10505 result=yes
10506 else
10507 result=no
10508 fi
10509 else
10510 result=$wxUSE_RICHTEXT
10511 fi
10512
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10514 $as_echo "$result" >&6; }
10515
10516
10517 enablestring=
10518 defaultval=$wxUSE_ALL_FEATURES
10519 if test -z "$defaultval"; then
10520 if test x"$enablestring" = xdisable; then
10521 defaultval=yes
10522 else
10523 defaultval=no
10524 fi
10525 fi
10526
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10528 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10529 # Check whether --enable-postscript was given.
10530 if test "${enable_postscript+set}" = set; then :
10531 enableval=$enable_postscript;
10532 if test "$enableval" = yes; then
10533 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10534 else
10535 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10536 fi
10537
10538 else
10539
10540 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10541
10542 fi
10543
10544
10545 eval "$wx_cv_use_postscript"
10546
10547 if test x"$enablestring" = xdisable; then
10548 if test $wxUSE_POSTSCRIPT = no; then
10549 result=yes
10550 else
10551 result=no
10552 fi
10553 else
10554 result=$wxUSE_POSTSCRIPT
10555 fi
10556
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10558 $as_echo "$result" >&6; }
10559
10560
10561 enablestring=
10562 defaultval=$wxUSE_ALL_FEATURES
10563 if test -z "$defaultval"; then
10564 if test x"$enablestring" = xdisable; then
10565 defaultval=yes
10566 else
10567 defaultval=no
10568 fi
10569 fi
10570
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10572 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10573 # Check whether --enable-printarch was given.
10574 if test "${enable_printarch+set}" = set; then :
10575 enableval=$enable_printarch;
10576 if test "$enableval" = yes; then
10577 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10578 else
10579 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10580 fi
10581
10582 else
10583
10584 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10585
10586 fi
10587
10588
10589 eval "$wx_cv_use_printarch"
10590
10591 if test x"$enablestring" = xdisable; then
10592 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10593 result=yes
10594 else
10595 result=no
10596 fi
10597 else
10598 result=$wxUSE_PRINTING_ARCHITECTURE
10599 fi
10600
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10602 $as_echo "$result" >&6; }
10603
10604
10605 enablestring=
10606 defaultval=$wxUSE_ALL_FEATURES
10607 if test -z "$defaultval"; then
10608 if test x"$enablestring" = xdisable; then
10609 defaultval=yes
10610 else
10611 defaultval=no
10612 fi
10613 fi
10614
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10616 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10617 # Check whether --enable-svg was given.
10618 if test "${enable_svg+set}" = set; then :
10619 enableval=$enable_svg;
10620 if test "$enableval" = yes; then
10621 wx_cv_use_svg='wxUSE_SVG=yes'
10622 else
10623 wx_cv_use_svg='wxUSE_SVG=no'
10624 fi
10625
10626 else
10627
10628 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10629
10630 fi
10631
10632
10633 eval "$wx_cv_use_svg"
10634
10635 if test x"$enablestring" = xdisable; then
10636 if test $wxUSE_SVG = no; then
10637 result=yes
10638 else
10639 result=no
10640 fi
10641 else
10642 result=$wxUSE_SVG
10643 fi
10644
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10646 $as_echo "$result" >&6; }
10647
10648
10649 enablestring=
10650 defaultval=$wxUSE_ALL_FEATURES
10651 if test -z "$defaultval"; then
10652 if test x"$enablestring" = xdisable; then
10653 defaultval=yes
10654 else
10655 defaultval=no
10656 fi
10657 fi
10658
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10660 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10661 # Check whether --enable-webkit was given.
10662 if test "${enable_webkit+set}" = set; then :
10663 enableval=$enable_webkit;
10664 if test "$enableval" = yes; then
10665 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10666 else
10667 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10668 fi
10669
10670 else
10671
10672 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10673
10674 fi
10675
10676
10677 eval "$wx_cv_use_webkit"
10678
10679 if test x"$enablestring" = xdisable; then
10680 if test $wxUSE_WEBKIT = no; then
10681 result=yes
10682 else
10683 result=no
10684 fi
10685 else
10686 result=$wxUSE_WEBKIT
10687 fi
10688
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10690 $as_echo "$result" >&6; }
10691
10692
10693 enablestring=
10694 defaultval=$wxUSE_ALL_FEATURES
10695 if test -z "$defaultval"; then
10696 if test x"$enablestring" = xdisable; then
10697 defaultval=yes
10698 else
10699 defaultval=no
10700 fi
10701 fi
10702
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10704 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10705 # Check whether --enable-webview was given.
10706 if test "${enable_webview+set}" = set; then :
10707 enableval=$enable_webview;
10708 if test "$enableval" = yes; then
10709 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10710 else
10711 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10712 fi
10713
10714 else
10715
10716 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10717
10718 fi
10719
10720
10721 eval "$wx_cv_use_webview"
10722
10723 if test x"$enablestring" = xdisable; then
10724 if test $wxUSE_WEBVIEW = no; then
10725 result=yes
10726 else
10727 result=no
10728 fi
10729 else
10730 result=$wxUSE_WEBVIEW
10731 fi
10732
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10734 $as_echo "$result" >&6; }
10735
10736
10737 if test "$wxUSE_MAC" != 1; then
10738
10739 enablestring=
10740 defaultval=$wxUSE_ALL_FEATURES
10741 if test -z "$defaultval"; then
10742 if test x"$enablestring" = xdisable; then
10743 defaultval=yes
10744 else
10745 defaultval=no
10746 fi
10747 fi
10748
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10750 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10751 # Check whether --enable-graphics_ctx was given.
10752 if test "${enable_graphics_ctx+set}" = set; then :
10753 enableval=$enable_graphics_ctx;
10754 if test "$enableval" = yes; then
10755 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10756 else
10757 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10758 fi
10759
10760 else
10761
10762 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10763
10764 fi
10765
10766
10767 eval "$wx_cv_use_graphics_ctx"
10768
10769 if test x"$enablestring" = xdisable; then
10770 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10771 result=yes
10772 else
10773 result=no
10774 fi
10775 else
10776 result=$wxUSE_GRAPHICS_CONTEXT
10777 fi
10778
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10780 $as_echo "$result" >&6; }
10781
10782 fi
10783
10784
10785
10786 enablestring=
10787 defaultval=$wxUSE_ALL_FEATURES
10788 if test -z "$defaultval"; then
10789 if test x"$enablestring" = xdisable; then
10790 defaultval=yes
10791 else
10792 defaultval=no
10793 fi
10794 fi
10795
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10797 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10798 # Check whether --enable-clipboard was given.
10799 if test "${enable_clipboard+set}" = set; then :
10800 enableval=$enable_clipboard;
10801 if test "$enableval" = yes; then
10802 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10803 else
10804 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10805 fi
10806
10807 else
10808
10809 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10810
10811 fi
10812
10813
10814 eval "$wx_cv_use_clipboard"
10815
10816 if test x"$enablestring" = xdisable; then
10817 if test $wxUSE_CLIPBOARD = no; then
10818 result=yes
10819 else
10820 result=no
10821 fi
10822 else
10823 result=$wxUSE_CLIPBOARD
10824 fi
10825
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10827 $as_echo "$result" >&6; }
10828
10829
10830 enablestring=
10831 defaultval=$wxUSE_ALL_FEATURES
10832 if test -z "$defaultval"; then
10833 if test x"$enablestring" = xdisable; then
10834 defaultval=yes
10835 else
10836 defaultval=no
10837 fi
10838 fi
10839
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10841 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10842 # Check whether --enable-dnd was given.
10843 if test "${enable_dnd+set}" = set; then :
10844 enableval=$enable_dnd;
10845 if test "$enableval" = yes; then
10846 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10847 else
10848 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10849 fi
10850
10851 else
10852
10853 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10854
10855 fi
10856
10857
10858 eval "$wx_cv_use_dnd"
10859
10860 if test x"$enablestring" = xdisable; then
10861 if test $wxUSE_DRAG_AND_DROP = no; then
10862 result=yes
10863 else
10864 result=no
10865 fi
10866 else
10867 result=$wxUSE_DRAG_AND_DROP
10868 fi
10869
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10871 $as_echo "$result" >&6; }
10872
10873
10874
10875 DEFAULT_wxUSE_CONTROLS=none
10876
10877 enablestring=disable
10878 defaultval=
10879 if test -z "$defaultval"; then
10880 if test x"$enablestring" = xdisable; then
10881 defaultval=yes
10882 else
10883 defaultval=no
10884 fi
10885 fi
10886
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10888 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10889 # Check whether --enable-controls was given.
10890 if test "${enable_controls+set}" = set; then :
10891 enableval=$enable_controls;
10892 if test "$enableval" = yes; then
10893 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10894 else
10895 wx_cv_use_controls='wxUSE_CONTROLS=no'
10896 fi
10897
10898 else
10899
10900 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10901
10902 fi
10903
10904
10905 eval "$wx_cv_use_controls"
10906
10907 if test x"$enablestring" = xdisable; then
10908 if test $wxUSE_CONTROLS = no; then
10909 result=yes
10910 else
10911 result=no
10912 fi
10913 else
10914 result=$wxUSE_CONTROLS
10915 fi
10916
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10918 $as_echo "$result" >&6; }
10919
10920
10921 if test "$wxUSE_CONTROLS" = "no"; then
10922 DEFAULT_wxUSE_ACCEL=no
10923 DEFAULT_wxUSE_ANIMATIONCTRL=no
10924 DEFAULT_wxUSE_BANNERWINDOW=no
10925 DEFAULT_wxUSE_BMPBUTTON=no
10926 DEFAULT_wxUSE_BUTTON=no
10927 DEFAULT_wxUSE_CALCTRL=no
10928 DEFAULT_wxUSE_CARET=no
10929 DEFAULT_wxUSE_CHECKBOX=no
10930 DEFAULT_wxUSE_CHECKLISTBOX=no
10931 DEFAULT_wxUSE_CHOICE=no
10932 DEFAULT_wxUSE_CHOICEBOOK=no
10933 DEFAULT_wxUSE_COLLPANE=no
10934 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10935 DEFAULT_wxUSE_COMBOBOX=no
10936 DEFAULT_wxUSE_COMBOBOX=no
10937 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10938 DEFAULT_wxUSE_DATAVIEWCTRL=no
10939 DEFAULT_wxUSE_DATEPICKCTRL=no
10940 DEFAULT_wxUSE_DETECT_SM=no
10941 DEFAULT_wxUSE_DIRPICKERCTRL=no
10942 DEFAULT_wxUSE_DISPLAY=no
10943 DEFAULT_wxUSE_FILECTRL=no
10944 DEFAULT_wxUSE_FILEPICKERCTRL=no
10945 DEFAULT_wxUSE_FONTPICKERCTRL=no
10946 DEFAULT_wxUSE_GAUGE=no
10947 DEFAULT_wxUSE_GRID=no
10948 DEFAULT_wxUSE_HEADERCTRL=no
10949 DEFAULT_wxUSE_HYPERLINKCTRL=no
10950 DEFAULT_wxUSE_IMAGLIST=no
10951 DEFAULT_wxUSE_LISTBOOK=no
10952 DEFAULT_wxUSE_LISTBOX=no
10953 DEFAULT_wxUSE_LISTCTRL=no
10954 DEFAULT_wxUSE_MARKUP=no
10955 DEFAULT_wxUSE_NOTEBOOK=no
10956 DEFAULT_wxUSE_POPUPWIN=no
10957 DEFAULT_wxUSE_RADIOBOX=no
10958 DEFAULT_wxUSE_RADIOBTN=no
10959 DEFAULT_wxUSE_RICHMSGDLG=no
10960 DEFAULT_wxUSE_RICHTOOLTIP=no
10961 DEFAULT_wxUSE_REARRANGECTRL=no
10962 DEFAULT_wxUSE_SASH=no
10963 DEFAULT_wxUSE_SCROLLBAR=no
10964 DEFAULT_wxUSE_SEARCHCTRL=no
10965 DEFAULT_wxUSE_SLIDER=no
10966 DEFAULT_wxUSE_SPINBTN=no
10967 DEFAULT_wxUSE_SPINCTRL=no
10968 DEFAULT_wxUSE_SPLITTER=no
10969 DEFAULT_wxUSE_STATBMP=no
10970 DEFAULT_wxUSE_STATBOX=no
10971 DEFAULT_wxUSE_STATLINE=no
10972 DEFAULT_wxUSE_STATUSBAR=no
10973 DEFAULT_wxUSE_TIMEPICKCTRL=no
10974 DEFAULT_wxUSE_TIPWINDOW=no
10975 DEFAULT_wxUSE_TOGGLEBTN=no
10976 DEFAULT_wxUSE_TOOLBAR=no
10977 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10978 DEFAULT_wxUSE_TOOLBOOK=no
10979 DEFAULT_wxUSE_TOOLTIPS=no
10980 DEFAULT_wxUSE_TREEBOOK=no
10981 DEFAULT_wxUSE_TREECTRL=no
10982 DEFAULT_wxUSE_TREELISTCTRL=no
10983 fi
10984
10985
10986 enablestring=
10987 defaultval=$wxUSE_ALL_FEATURES
10988 if test -z "$defaultval"; then
10989 if test x"$enablestring" = xdisable; then
10990 defaultval=yes
10991 else
10992 defaultval=no
10993 fi
10994 fi
10995
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
10997 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
10998 # Check whether --enable-markup was given.
10999 if test "${enable_markup+set}" = set; then :
11000 enableval=$enable_markup;
11001 if test "$enableval" = yes; then
11002 wx_cv_use_markup='wxUSE_MARKUP=yes'
11003 else
11004 wx_cv_use_markup='wxUSE_MARKUP=no'
11005 fi
11006
11007 else
11008
11009 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11010
11011 fi
11012
11013
11014 eval "$wx_cv_use_markup"
11015
11016 if test x"$enablestring" = xdisable; then
11017 if test $wxUSE_MARKUP = no; then
11018 result=yes
11019 else
11020 result=no
11021 fi
11022 else
11023 result=$wxUSE_MARKUP
11024 fi
11025
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11027 $as_echo "$result" >&6; }
11028
11029
11030
11031 enablestring=
11032 defaultval=$wxUSE_ALL_FEATURES
11033 if test -z "$defaultval"; then
11034 if test x"$enablestring" = xdisable; then
11035 defaultval=yes
11036 else
11037 defaultval=no
11038 fi
11039 fi
11040
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11042 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11043 # Check whether --enable-accel was given.
11044 if test "${enable_accel+set}" = set; then :
11045 enableval=$enable_accel;
11046 if test "$enableval" = yes; then
11047 wx_cv_use_accel='wxUSE_ACCEL=yes'
11048 else
11049 wx_cv_use_accel='wxUSE_ACCEL=no'
11050 fi
11051
11052 else
11053
11054 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11055
11056 fi
11057
11058
11059 eval "$wx_cv_use_accel"
11060
11061 if test x"$enablestring" = xdisable; then
11062 if test $wxUSE_ACCEL = no; then
11063 result=yes
11064 else
11065 result=no
11066 fi
11067 else
11068 result=$wxUSE_ACCEL
11069 fi
11070
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11072 $as_echo "$result" >&6; }
11073
11074
11075 enablestring=
11076 defaultval=$wxUSE_ALL_FEATURES
11077 if test -z "$defaultval"; then
11078 if test x"$enablestring" = xdisable; then
11079 defaultval=yes
11080 else
11081 defaultval=no
11082 fi
11083 fi
11084
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11086 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11087 # Check whether --enable-animatectrl was given.
11088 if test "${enable_animatectrl+set}" = set; then :
11089 enableval=$enable_animatectrl;
11090 if test "$enableval" = yes; then
11091 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11092 else
11093 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11094 fi
11095
11096 else
11097
11098 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11099
11100 fi
11101
11102
11103 eval "$wx_cv_use_animatectrl"
11104
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_ANIMATIONCTRL = no; then
11107 result=yes
11108 else
11109 result=no
11110 fi
11111 else
11112 result=$wxUSE_ANIMATIONCTRL
11113 fi
11114
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11116 $as_echo "$result" >&6; }
11117
11118
11119 enablestring=
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11123 defaultval=yes
11124 else
11125 defaultval=no
11126 fi
11127 fi
11128
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11130 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11131 # Check whether --enable-bannerwindow was given.
11132 if test "${enable_bannerwindow+set}" = set; then :
11133 enableval=$enable_bannerwindow;
11134 if test "$enableval" = yes; then
11135 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11136 else
11137 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11138 fi
11139
11140 else
11141
11142 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11143
11144 fi
11145
11146
11147 eval "$wx_cv_use_bannerwindow"
11148
11149 if test x"$enablestring" = xdisable; then
11150 if test $wxUSE_BANNERWINDOW = no; then
11151 result=yes
11152 else
11153 result=no
11154 fi
11155 else
11156 result=$wxUSE_BANNERWINDOW
11157 fi
11158
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11160 $as_echo "$result" >&6; }
11161
11162
11163 enablestring=
11164 defaultval=$wxUSE_ALL_FEATURES
11165 if test -z "$defaultval"; then
11166 if test x"$enablestring" = xdisable; then
11167 defaultval=yes
11168 else
11169 defaultval=no
11170 fi
11171 fi
11172
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11174 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11175 # Check whether --enable-artstd was given.
11176 if test "${enable_artstd+set}" = set; then :
11177 enableval=$enable_artstd;
11178 if test "$enableval" = yes; then
11179 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11180 else
11181 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11182 fi
11183
11184 else
11185
11186 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11187
11188 fi
11189
11190
11191 eval "$wx_cv_use_artstd"
11192
11193 if test x"$enablestring" = xdisable; then
11194 if test $wxUSE_ARTPROVIDER_STD = no; then
11195 result=yes
11196 else
11197 result=no
11198 fi
11199 else
11200 result=$wxUSE_ARTPROVIDER_STD
11201 fi
11202
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11204 $as_echo "$result" >&6; }
11205
11206
11207 enablestring=
11208 defaultval=$wxUSE_ALL_FEATURES
11209 if test -z "$defaultval"; then
11210 if test x"$enablestring" = xdisable; then
11211 defaultval=yes
11212 else
11213 defaultval=no
11214 fi
11215 fi
11216
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11218 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11219 # Check whether --enable-arttango was given.
11220 if test "${enable_arttango+set}" = set; then :
11221 enableval=$enable_arttango;
11222 if test "$enableval" = yes; then
11223 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11224 else
11225 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11226 fi
11227
11228 else
11229
11230 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11231
11232 fi
11233
11234
11235 eval "$wx_cv_use_arttango"
11236
11237 if test x"$enablestring" = xdisable; then
11238 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11239 result=yes
11240 else
11241 result=no
11242 fi
11243 else
11244 result=$wxUSE_ARTPROVIDER_TANGO
11245 fi
11246
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11248 $as_echo "$result" >&6; }
11249
11250
11251 enablestring=
11252 defaultval=$wxUSE_ALL_FEATURES
11253 if test -z "$defaultval"; then
11254 if test x"$enablestring" = xdisable; then
11255 defaultval=yes
11256 else
11257 defaultval=no
11258 fi
11259 fi
11260
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11262 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11263 # Check whether --enable-bmpbutton was given.
11264 if test "${enable_bmpbutton+set}" = set; then :
11265 enableval=$enable_bmpbutton;
11266 if test "$enableval" = yes; then
11267 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11268 else
11269 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11270 fi
11271
11272 else
11273
11274 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11275
11276 fi
11277
11278
11279 eval "$wx_cv_use_bmpbutton"
11280
11281 if test x"$enablestring" = xdisable; then
11282 if test $wxUSE_BMPBUTTON = no; then
11283 result=yes
11284 else
11285 result=no
11286 fi
11287 else
11288 result=$wxUSE_BMPBUTTON
11289 fi
11290
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11292 $as_echo "$result" >&6; }
11293
11294
11295 enablestring=
11296 defaultval=$wxUSE_ALL_FEATURES
11297 if test -z "$defaultval"; then
11298 if test x"$enablestring" = xdisable; then
11299 defaultval=yes
11300 else
11301 defaultval=no
11302 fi
11303 fi
11304
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11306 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11307 # Check whether --enable-bmpcombobox was given.
11308 if test "${enable_bmpcombobox+set}" = set; then :
11309 enableval=$enable_bmpcombobox;
11310 if test "$enableval" = yes; then
11311 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11312 else
11313 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11314 fi
11315
11316 else
11317
11318 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11319
11320 fi
11321
11322
11323 eval "$wx_cv_use_bmpcombobox"
11324
11325 if test x"$enablestring" = xdisable; then
11326 if test $wxUSE_BITMAPCOMBOBOX = no; then
11327 result=yes
11328 else
11329 result=no
11330 fi
11331 else
11332 result=$wxUSE_BITMAPCOMBOBOX
11333 fi
11334
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11336 $as_echo "$result" >&6; }
11337
11338
11339 enablestring=
11340 defaultval=$wxUSE_ALL_FEATURES
11341 if test -z "$defaultval"; then
11342 if test x"$enablestring" = xdisable; then
11343 defaultval=yes
11344 else
11345 defaultval=no
11346 fi
11347 fi
11348
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11350 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11351 # Check whether --enable-button was given.
11352 if test "${enable_button+set}" = set; then :
11353 enableval=$enable_button;
11354 if test "$enableval" = yes; then
11355 wx_cv_use_button='wxUSE_BUTTON=yes'
11356 else
11357 wx_cv_use_button='wxUSE_BUTTON=no'
11358 fi
11359
11360 else
11361
11362 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11363
11364 fi
11365
11366
11367 eval "$wx_cv_use_button"
11368
11369 if test x"$enablestring" = xdisable; then
11370 if test $wxUSE_BUTTON = no; then
11371 result=yes
11372 else
11373 result=no
11374 fi
11375 else
11376 result=$wxUSE_BUTTON
11377 fi
11378
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11380 $as_echo "$result" >&6; }
11381
11382
11383 enablestring=
11384 defaultval=$wxUSE_ALL_FEATURES
11385 if test -z "$defaultval"; then
11386 if test x"$enablestring" = xdisable; then
11387 defaultval=yes
11388 else
11389 defaultval=no
11390 fi
11391 fi
11392
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11394 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11395 # Check whether --enable-calendar was given.
11396 if test "${enable_calendar+set}" = set; then :
11397 enableval=$enable_calendar;
11398 if test "$enableval" = yes; then
11399 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11400 else
11401 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11402 fi
11403
11404 else
11405
11406 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11407
11408 fi
11409
11410
11411 eval "$wx_cv_use_calendar"
11412
11413 if test x"$enablestring" = xdisable; then
11414 if test $wxUSE_CALCTRL = no; then
11415 result=yes
11416 else
11417 result=no
11418 fi
11419 else
11420 result=$wxUSE_CALCTRL
11421 fi
11422
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11424 $as_echo "$result" >&6; }
11425
11426
11427 enablestring=
11428 defaultval=$wxUSE_ALL_FEATURES
11429 if test -z "$defaultval"; then
11430 if test x"$enablestring" = xdisable; then
11431 defaultval=yes
11432 else
11433 defaultval=no
11434 fi
11435 fi
11436
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11438 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11439 # Check whether --enable-caret was given.
11440 if test "${enable_caret+set}" = set; then :
11441 enableval=$enable_caret;
11442 if test "$enableval" = yes; then
11443 wx_cv_use_caret='wxUSE_CARET=yes'
11444 else
11445 wx_cv_use_caret='wxUSE_CARET=no'
11446 fi
11447
11448 else
11449
11450 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11451
11452 fi
11453
11454
11455 eval "$wx_cv_use_caret"
11456
11457 if test x"$enablestring" = xdisable; then
11458 if test $wxUSE_CARET = no; then
11459 result=yes
11460 else
11461 result=no
11462 fi
11463 else
11464 result=$wxUSE_CARET
11465 fi
11466
11467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11468 $as_echo "$result" >&6; }
11469
11470
11471 enablestring=
11472 defaultval=$wxUSE_ALL_FEATURES
11473 if test -z "$defaultval"; then
11474 if test x"$enablestring" = xdisable; then
11475 defaultval=yes
11476 else
11477 defaultval=no
11478 fi
11479 fi
11480
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11482 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11483 # Check whether --enable-checkbox was given.
11484 if test "${enable_checkbox+set}" = set; then :
11485 enableval=$enable_checkbox;
11486 if test "$enableval" = yes; then
11487 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11488 else
11489 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11490 fi
11491
11492 else
11493
11494 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11495
11496 fi
11497
11498
11499 eval "$wx_cv_use_checkbox"
11500
11501 if test x"$enablestring" = xdisable; then
11502 if test $wxUSE_CHECKBOX = no; then
11503 result=yes
11504 else
11505 result=no
11506 fi
11507 else
11508 result=$wxUSE_CHECKBOX
11509 fi
11510
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11512 $as_echo "$result" >&6; }
11513
11514
11515 enablestring=
11516 defaultval=$wxUSE_ALL_FEATURES
11517 if test -z "$defaultval"; then
11518 if test x"$enablestring" = xdisable; then
11519 defaultval=yes
11520 else
11521 defaultval=no
11522 fi
11523 fi
11524
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11526 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11527 # Check whether --enable-checklst was given.
11528 if test "${enable_checklst+set}" = set; then :
11529 enableval=$enable_checklst;
11530 if test "$enableval" = yes; then
11531 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11532 else
11533 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11534 fi
11535
11536 else
11537
11538 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11539
11540 fi
11541
11542
11543 eval "$wx_cv_use_checklst"
11544
11545 if test x"$enablestring" = xdisable; then
11546 if test $wxUSE_CHECKLST = no; then
11547 result=yes
11548 else
11549 result=no
11550 fi
11551 else
11552 result=$wxUSE_CHECKLST
11553 fi
11554
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11556 $as_echo "$result" >&6; }
11557
11558
11559 enablestring=
11560 defaultval=$wxUSE_ALL_FEATURES
11561 if test -z "$defaultval"; then
11562 if test x"$enablestring" = xdisable; then
11563 defaultval=yes
11564 else
11565 defaultval=no
11566 fi
11567 fi
11568
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11570 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11571 # Check whether --enable-choice was given.
11572 if test "${enable_choice+set}" = set; then :
11573 enableval=$enable_choice;
11574 if test "$enableval" = yes; then
11575 wx_cv_use_choice='wxUSE_CHOICE=yes'
11576 else
11577 wx_cv_use_choice='wxUSE_CHOICE=no'
11578 fi
11579
11580 else
11581
11582 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11583
11584 fi
11585
11586
11587 eval "$wx_cv_use_choice"
11588
11589 if test x"$enablestring" = xdisable; then
11590 if test $wxUSE_CHOICE = no; then
11591 result=yes
11592 else
11593 result=no
11594 fi
11595 else
11596 result=$wxUSE_CHOICE
11597 fi
11598
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11600 $as_echo "$result" >&6; }
11601
11602
11603 enablestring=
11604 defaultval=$wxUSE_ALL_FEATURES
11605 if test -z "$defaultval"; then
11606 if test x"$enablestring" = xdisable; then
11607 defaultval=yes
11608 else
11609 defaultval=no
11610 fi
11611 fi
11612
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11614 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11615 # Check whether --enable-choicebook was given.
11616 if test "${enable_choicebook+set}" = set; then :
11617 enableval=$enable_choicebook;
11618 if test "$enableval" = yes; then
11619 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11620 else
11621 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11622 fi
11623
11624 else
11625
11626 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11627
11628 fi
11629
11630
11631 eval "$wx_cv_use_choicebook"
11632
11633 if test x"$enablestring" = xdisable; then
11634 if test $wxUSE_CHOICEBOOK = no; then
11635 result=yes
11636 else
11637 result=no
11638 fi
11639 else
11640 result=$wxUSE_CHOICEBOOK
11641 fi
11642
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11644 $as_echo "$result" >&6; }
11645
11646
11647 enablestring=
11648 defaultval=$wxUSE_ALL_FEATURES
11649 if test -z "$defaultval"; then
11650 if test x"$enablestring" = xdisable; then
11651 defaultval=yes
11652 else
11653 defaultval=no
11654 fi
11655 fi
11656
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11658 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11659 # Check whether --enable-collpane was given.
11660 if test "${enable_collpane+set}" = set; then :
11661 enableval=$enable_collpane;
11662 if test "$enableval" = yes; then
11663 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11664 else
11665 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11666 fi
11667
11668 else
11669
11670 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11671
11672 fi
11673
11674
11675 eval "$wx_cv_use_collpane"
11676
11677 if test x"$enablestring" = xdisable; then
11678 if test $wxUSE_COLLPANE = no; then
11679 result=yes
11680 else
11681 result=no
11682 fi
11683 else
11684 result=$wxUSE_COLLPANE
11685 fi
11686
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11688 $as_echo "$result" >&6; }
11689
11690
11691 enablestring=
11692 defaultval=$wxUSE_ALL_FEATURES
11693 if test -z "$defaultval"; then
11694 if test x"$enablestring" = xdisable; then
11695 defaultval=yes
11696 else
11697 defaultval=no
11698 fi
11699 fi
11700
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11702 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11703 # Check whether --enable-colourpicker was given.
11704 if test "${enable_colourpicker+set}" = set; then :
11705 enableval=$enable_colourpicker;
11706 if test "$enableval" = yes; then
11707 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11708 else
11709 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11710 fi
11711
11712 else
11713
11714 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11715
11716 fi
11717
11718
11719 eval "$wx_cv_use_colourpicker"
11720
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_COLOURPICKERCTRL = no; then
11723 result=yes
11724 else
11725 result=no
11726 fi
11727 else
11728 result=$wxUSE_COLOURPICKERCTRL
11729 fi
11730
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11732 $as_echo "$result" >&6; }
11733
11734
11735 enablestring=
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11739 defaultval=yes
11740 else
11741 defaultval=no
11742 fi
11743 fi
11744
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11746 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11747 # Check whether --enable-combobox was given.
11748 if test "${enable_combobox+set}" = set; then :
11749 enableval=$enable_combobox;
11750 if test "$enableval" = yes; then
11751 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11752 else
11753 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11754 fi
11755
11756 else
11757
11758 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11759
11760 fi
11761
11762
11763 eval "$wx_cv_use_combobox"
11764
11765 if test x"$enablestring" = xdisable; then
11766 if test $wxUSE_COMBOBOX = no; then
11767 result=yes
11768 else
11769 result=no
11770 fi
11771 else
11772 result=$wxUSE_COMBOBOX
11773 fi
11774
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11776 $as_echo "$result" >&6; }
11777
11778
11779 enablestring=
11780 defaultval=$wxUSE_ALL_FEATURES
11781 if test -z "$defaultval"; then
11782 if test x"$enablestring" = xdisable; then
11783 defaultval=yes
11784 else
11785 defaultval=no
11786 fi
11787 fi
11788
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11790 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11791 # Check whether --enable-comboctrl was given.
11792 if test "${enable_comboctrl+set}" = set; then :
11793 enableval=$enable_comboctrl;
11794 if test "$enableval" = yes; then
11795 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11796 else
11797 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11798 fi
11799
11800 else
11801
11802 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11803
11804 fi
11805
11806
11807 eval "$wx_cv_use_comboctrl"
11808
11809 if test x"$enablestring" = xdisable; then
11810 if test $wxUSE_COMBOCTRL = no; then
11811 result=yes
11812 else
11813 result=no
11814 fi
11815 else
11816 result=$wxUSE_COMBOCTRL
11817 fi
11818
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11820 $as_echo "$result" >&6; }
11821
11822
11823 enablestring=
11824 defaultval=$wxUSE_ALL_FEATURES
11825 if test -z "$defaultval"; then
11826 if test x"$enablestring" = xdisable; then
11827 defaultval=yes
11828 else
11829 defaultval=no
11830 fi
11831 fi
11832
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11834 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11835 # Check whether --enable-commandlinkbutton was given.
11836 if test "${enable_commandlinkbutton+set}" = set; then :
11837 enableval=$enable_commandlinkbutton;
11838 if test "$enableval" = yes; then
11839 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11840 else
11841 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11842 fi
11843
11844 else
11845
11846 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11847
11848 fi
11849
11850
11851 eval "$wx_cv_use_commandlinkbutton"
11852
11853 if test x"$enablestring" = xdisable; then
11854 if test $wxUSE_COMMANDLINKBUTTON = no; then
11855 result=yes
11856 else
11857 result=no
11858 fi
11859 else
11860 result=$wxUSE_COMMANDLINKBUTTON
11861 fi
11862
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11864 $as_echo "$result" >&6; }
11865
11866
11867 enablestring=
11868 defaultval=$wxUSE_ALL_FEATURES
11869 if test -z "$defaultval"; then
11870 if test x"$enablestring" = xdisable; then
11871 defaultval=yes
11872 else
11873 defaultval=no
11874 fi
11875 fi
11876
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11878 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11879 # Check whether --enable-dataviewctrl was given.
11880 if test "${enable_dataviewctrl+set}" = set; then :
11881 enableval=$enable_dataviewctrl;
11882 if test "$enableval" = yes; then
11883 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11884 else
11885 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11886 fi
11887
11888 else
11889
11890 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11891
11892 fi
11893
11894
11895 eval "$wx_cv_use_dataviewctrl"
11896
11897 if test x"$enablestring" = xdisable; then
11898 if test $wxUSE_DATAVIEWCTRL = no; then
11899 result=yes
11900 else
11901 result=no
11902 fi
11903 else
11904 result=$wxUSE_DATAVIEWCTRL
11905 fi
11906
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11908 $as_echo "$result" >&6; }
11909
11910
11911 enablestring=
11912 defaultval=$wxUSE_ALL_FEATURES
11913 if test -z "$defaultval"; then
11914 if test x"$enablestring" = xdisable; then
11915 defaultval=yes
11916 else
11917 defaultval=no
11918 fi
11919 fi
11920
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11922 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11923 # Check whether --enable-datepick was given.
11924 if test "${enable_datepick+set}" = set; then :
11925 enableval=$enable_datepick;
11926 if test "$enableval" = yes; then
11927 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11928 else
11929 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11930 fi
11931
11932 else
11933
11934 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11935
11936 fi
11937
11938
11939 eval "$wx_cv_use_datepick"
11940
11941 if test x"$enablestring" = xdisable; then
11942 if test $wxUSE_DATEPICKCTRL = no; then
11943 result=yes
11944 else
11945 result=no
11946 fi
11947 else
11948 result=$wxUSE_DATEPICKCTRL
11949 fi
11950
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11952 $as_echo "$result" >&6; }
11953
11954
11955 enablestring=
11956 defaultval=$wxUSE_ALL_FEATURES
11957 if test -z "$defaultval"; then
11958 if test x"$enablestring" = xdisable; then
11959 defaultval=yes
11960 else
11961 defaultval=no
11962 fi
11963 fi
11964
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11966 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11967 # Check whether --enable-detect_sm was given.
11968 if test "${enable_detect_sm+set}" = set; then :
11969 enableval=$enable_detect_sm;
11970 if test "$enableval" = yes; then
11971 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11972 else
11973 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11974 fi
11975
11976 else
11977
11978 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11979
11980 fi
11981
11982
11983 eval "$wx_cv_use_detect_sm"
11984
11985 if test x"$enablestring" = xdisable; then
11986 if test $wxUSE_DETECT_SM = no; then
11987 result=yes
11988 else
11989 result=no
11990 fi
11991 else
11992 result=$wxUSE_DETECT_SM
11993 fi
11994
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11996 $as_echo "$result" >&6; }
11997
11998
11999 enablestring=
12000 defaultval=$wxUSE_ALL_FEATURES
12001 if test -z "$defaultval"; then
12002 if test x"$enablestring" = xdisable; then
12003 defaultval=yes
12004 else
12005 defaultval=no
12006 fi
12007 fi
12008
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12010 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12011 # Check whether --enable-dirpicker was given.
12012 if test "${enable_dirpicker+set}" = set; then :
12013 enableval=$enable_dirpicker;
12014 if test "$enableval" = yes; then
12015 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12016 else
12017 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12018 fi
12019
12020 else
12021
12022 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12023
12024 fi
12025
12026
12027 eval "$wx_cv_use_dirpicker"
12028
12029 if test x"$enablestring" = xdisable; then
12030 if test $wxUSE_DIRPICKERCTRL = no; then
12031 result=yes
12032 else
12033 result=no
12034 fi
12035 else
12036 result=$wxUSE_DIRPICKERCTRL
12037 fi
12038
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12040 $as_echo "$result" >&6; }
12041
12042
12043 enablestring=
12044 defaultval=$wxUSE_ALL_FEATURES
12045 if test -z "$defaultval"; then
12046 if test x"$enablestring" = xdisable; then
12047 defaultval=yes
12048 else
12049 defaultval=no
12050 fi
12051 fi
12052
12053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12054 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12055 # Check whether --enable-display was given.
12056 if test "${enable_display+set}" = set; then :
12057 enableval=$enable_display;
12058 if test "$enableval" = yes; then
12059 wx_cv_use_display='wxUSE_DISPLAY=yes'
12060 else
12061 wx_cv_use_display='wxUSE_DISPLAY=no'
12062 fi
12063
12064 else
12065
12066 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12067
12068 fi
12069
12070
12071 eval "$wx_cv_use_display"
12072
12073 if test x"$enablestring" = xdisable; then
12074 if test $wxUSE_DISPLAY = no; then
12075 result=yes
12076 else
12077 result=no
12078 fi
12079 else
12080 result=$wxUSE_DISPLAY
12081 fi
12082
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12084 $as_echo "$result" >&6; }
12085
12086
12087 enablestring=
12088 defaultval=$wxUSE_ALL_FEATURES
12089 if test -z "$defaultval"; then
12090 if test x"$enablestring" = xdisable; then
12091 defaultval=yes
12092 else
12093 defaultval=no
12094 fi
12095 fi
12096
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12098 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12099 # Check whether --enable-editablebox was given.
12100 if test "${enable_editablebox+set}" = set; then :
12101 enableval=$enable_editablebox;
12102 if test "$enableval" = yes; then
12103 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12104 else
12105 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12106 fi
12107
12108 else
12109
12110 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12111
12112 fi
12113
12114
12115 eval "$wx_cv_use_editablebox"
12116
12117 if test x"$enablestring" = xdisable; then
12118 if test $wxUSE_EDITABLELISTBOX = no; then
12119 result=yes
12120 else
12121 result=no
12122 fi
12123 else
12124 result=$wxUSE_EDITABLELISTBOX
12125 fi
12126
12127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12128 $as_echo "$result" >&6; }
12129
12130
12131 enablestring=
12132 defaultval=$wxUSE_ALL_FEATURES
12133 if test -z "$defaultval"; then
12134 if test x"$enablestring" = xdisable; then
12135 defaultval=yes
12136 else
12137 defaultval=no
12138 fi
12139 fi
12140
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12142 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12143 # Check whether --enable-filectrl was given.
12144 if test "${enable_filectrl+set}" = set; then :
12145 enableval=$enable_filectrl;
12146 if test "$enableval" = yes; then
12147 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12148 else
12149 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12150 fi
12151
12152 else
12153
12154 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12155
12156 fi
12157
12158
12159 eval "$wx_cv_use_filectrl"
12160
12161 if test x"$enablestring" = xdisable; then
12162 if test $wxUSE_FILECTRL = no; then
12163 result=yes
12164 else
12165 result=no
12166 fi
12167 else
12168 result=$wxUSE_FILECTRL
12169 fi
12170
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12172 $as_echo "$result" >&6; }
12173
12174
12175 enablestring=
12176 defaultval=$wxUSE_ALL_FEATURES
12177 if test -z "$defaultval"; then
12178 if test x"$enablestring" = xdisable; then
12179 defaultval=yes
12180 else
12181 defaultval=no
12182 fi
12183 fi
12184
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12186 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12187 # Check whether --enable-filepicker was given.
12188 if test "${enable_filepicker+set}" = set; then :
12189 enableval=$enable_filepicker;
12190 if test "$enableval" = yes; then
12191 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12192 else
12193 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12194 fi
12195
12196 else
12197
12198 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12199
12200 fi
12201
12202
12203 eval "$wx_cv_use_filepicker"
12204
12205 if test x"$enablestring" = xdisable; then
12206 if test $wxUSE_FILEPICKERCTRL = no; then
12207 result=yes
12208 else
12209 result=no
12210 fi
12211 else
12212 result=$wxUSE_FILEPICKERCTRL
12213 fi
12214
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12216 $as_echo "$result" >&6; }
12217
12218
12219 enablestring=
12220 defaultval=$wxUSE_ALL_FEATURES
12221 if test -z "$defaultval"; then
12222 if test x"$enablestring" = xdisable; then
12223 defaultval=yes
12224 else
12225 defaultval=no
12226 fi
12227 fi
12228
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12230 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12231 # Check whether --enable-fontpicker was given.
12232 if test "${enable_fontpicker+set}" = set; then :
12233 enableval=$enable_fontpicker;
12234 if test "$enableval" = yes; then
12235 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12236 else
12237 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12238 fi
12239
12240 else
12241
12242 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12243
12244 fi
12245
12246
12247 eval "$wx_cv_use_fontpicker"
12248
12249 if test x"$enablestring" = xdisable; then
12250 if test $wxUSE_FONTPICKERCTRL = no; then
12251 result=yes
12252 else
12253 result=no
12254 fi
12255 else
12256 result=$wxUSE_FONTPICKERCTRL
12257 fi
12258
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12260 $as_echo "$result" >&6; }
12261
12262
12263 enablestring=
12264 defaultval=$wxUSE_ALL_FEATURES
12265 if test -z "$defaultval"; then
12266 if test x"$enablestring" = xdisable; then
12267 defaultval=yes
12268 else
12269 defaultval=no
12270 fi
12271 fi
12272
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12274 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12275 # Check whether --enable-gauge was given.
12276 if test "${enable_gauge+set}" = set; then :
12277 enableval=$enable_gauge;
12278 if test "$enableval" = yes; then
12279 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12280 else
12281 wx_cv_use_gauge='wxUSE_GAUGE=no'
12282 fi
12283
12284 else
12285
12286 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12287
12288 fi
12289
12290
12291 eval "$wx_cv_use_gauge"
12292
12293 if test x"$enablestring" = xdisable; then
12294 if test $wxUSE_GAUGE = no; then
12295 result=yes
12296 else
12297 result=no
12298 fi
12299 else
12300 result=$wxUSE_GAUGE
12301 fi
12302
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12304 $as_echo "$result" >&6; }
12305
12306
12307 enablestring=
12308 defaultval=$wxUSE_ALL_FEATURES
12309 if test -z "$defaultval"; then
12310 if test x"$enablestring" = xdisable; then
12311 defaultval=yes
12312 else
12313 defaultval=no
12314 fi
12315 fi
12316
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12318 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12319 # Check whether --enable-grid was given.
12320 if test "${enable_grid+set}" = set; then :
12321 enableval=$enable_grid;
12322 if test "$enableval" = yes; then
12323 wx_cv_use_grid='wxUSE_GRID=yes'
12324 else
12325 wx_cv_use_grid='wxUSE_GRID=no'
12326 fi
12327
12328 else
12329
12330 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12331
12332 fi
12333
12334
12335 eval "$wx_cv_use_grid"
12336
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_GRID = no; then
12339 result=yes
12340 else
12341 result=no
12342 fi
12343 else
12344 result=$wxUSE_GRID
12345 fi
12346
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12348 $as_echo "$result" >&6; }
12349
12350
12351 enablestring=
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12355 defaultval=yes
12356 else
12357 defaultval=no
12358 fi
12359 fi
12360
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12362 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12363 # Check whether --enable-headerctrl was given.
12364 if test "${enable_headerctrl+set}" = set; then :
12365 enableval=$enable_headerctrl;
12366 if test "$enableval" = yes; then
12367 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12368 else
12369 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12370 fi
12371
12372 else
12373
12374 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12375
12376 fi
12377
12378
12379 eval "$wx_cv_use_headerctrl"
12380
12381 if test x"$enablestring" = xdisable; then
12382 if test $wxUSE_HEADERCTRL = no; then
12383 result=yes
12384 else
12385 result=no
12386 fi
12387 else
12388 result=$wxUSE_HEADERCTRL
12389 fi
12390
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12392 $as_echo "$result" >&6; }
12393
12394
12395 enablestring=
12396 defaultval=$wxUSE_ALL_FEATURES
12397 if test -z "$defaultval"; then
12398 if test x"$enablestring" = xdisable; then
12399 defaultval=yes
12400 else
12401 defaultval=no
12402 fi
12403 fi
12404
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12406 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12407 # Check whether --enable-hyperlink was given.
12408 if test "${enable_hyperlink+set}" = set; then :
12409 enableval=$enable_hyperlink;
12410 if test "$enableval" = yes; then
12411 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12412 else
12413 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12414 fi
12415
12416 else
12417
12418 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12419
12420 fi
12421
12422
12423 eval "$wx_cv_use_hyperlink"
12424
12425 if test x"$enablestring" = xdisable; then
12426 if test $wxUSE_HYPERLINKCTRL = no; then
12427 result=yes
12428 else
12429 result=no
12430 fi
12431 else
12432 result=$wxUSE_HYPERLINKCTRL
12433 fi
12434
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12436 $as_echo "$result" >&6; }
12437
12438
12439 enablestring=
12440 defaultval=$wxUSE_ALL_FEATURES
12441 if test -z "$defaultval"; then
12442 if test x"$enablestring" = xdisable; then
12443 defaultval=yes
12444 else
12445 defaultval=no
12446 fi
12447 fi
12448
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12450 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12451 # Check whether --enable-imaglist was given.
12452 if test "${enable_imaglist+set}" = set; then :
12453 enableval=$enable_imaglist;
12454 if test "$enableval" = yes; then
12455 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12456 else
12457 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12458 fi
12459
12460 else
12461
12462 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12463
12464 fi
12465
12466
12467 eval "$wx_cv_use_imaglist"
12468
12469 if test x"$enablestring" = xdisable; then
12470 if test $wxUSE_IMAGLIST = no; then
12471 result=yes
12472 else
12473 result=no
12474 fi
12475 else
12476 result=$wxUSE_IMAGLIST
12477 fi
12478
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12480 $as_echo "$result" >&6; }
12481
12482
12483 enablestring=
12484 defaultval=$wxUSE_ALL_FEATURES
12485 if test -z "$defaultval"; then
12486 if test x"$enablestring" = xdisable; then
12487 defaultval=yes
12488 else
12489 defaultval=no
12490 fi
12491 fi
12492
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12494 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12495 # Check whether --enable-infobar was given.
12496 if test "${enable_infobar+set}" = set; then :
12497 enableval=$enable_infobar;
12498 if test "$enableval" = yes; then
12499 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12500 else
12501 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12502 fi
12503
12504 else
12505
12506 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12507
12508 fi
12509
12510
12511 eval "$wx_cv_use_infobar"
12512
12513 if test x"$enablestring" = xdisable; then
12514 if test $wxUSE_INFOBAR = no; then
12515 result=yes
12516 else
12517 result=no
12518 fi
12519 else
12520 result=$wxUSE_INFOBAR
12521 fi
12522
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12524 $as_echo "$result" >&6; }
12525
12526
12527 enablestring=
12528 defaultval=$wxUSE_ALL_FEATURES
12529 if test -z "$defaultval"; then
12530 if test x"$enablestring" = xdisable; then
12531 defaultval=yes
12532 else
12533 defaultval=no
12534 fi
12535 fi
12536
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12538 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12539 # Check whether --enable-listbook was given.
12540 if test "${enable_listbook+set}" = set; then :
12541 enableval=$enable_listbook;
12542 if test "$enableval" = yes; then
12543 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12544 else
12545 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12546 fi
12547
12548 else
12549
12550 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12551
12552 fi
12553
12554
12555 eval "$wx_cv_use_listbook"
12556
12557 if test x"$enablestring" = xdisable; then
12558 if test $wxUSE_LISTBOOK = no; then
12559 result=yes
12560 else
12561 result=no
12562 fi
12563 else
12564 result=$wxUSE_LISTBOOK
12565 fi
12566
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12568 $as_echo "$result" >&6; }
12569
12570
12571 enablestring=
12572 defaultval=$wxUSE_ALL_FEATURES
12573 if test -z "$defaultval"; then
12574 if test x"$enablestring" = xdisable; then
12575 defaultval=yes
12576 else
12577 defaultval=no
12578 fi
12579 fi
12580
12581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12582 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12583 # Check whether --enable-listbox was given.
12584 if test "${enable_listbox+set}" = set; then :
12585 enableval=$enable_listbox;
12586 if test "$enableval" = yes; then
12587 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12588 else
12589 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12590 fi
12591
12592 else
12593
12594 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12595
12596 fi
12597
12598
12599 eval "$wx_cv_use_listbox"
12600
12601 if test x"$enablestring" = xdisable; then
12602 if test $wxUSE_LISTBOX = no; then
12603 result=yes
12604 else
12605 result=no
12606 fi
12607 else
12608 result=$wxUSE_LISTBOX
12609 fi
12610
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12612 $as_echo "$result" >&6; }
12613
12614
12615 enablestring=
12616 defaultval=$wxUSE_ALL_FEATURES
12617 if test -z "$defaultval"; then
12618 if test x"$enablestring" = xdisable; then
12619 defaultval=yes
12620 else
12621 defaultval=no
12622 fi
12623 fi
12624
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12626 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12627 # Check whether --enable-listctrl was given.
12628 if test "${enable_listctrl+set}" = set; then :
12629 enableval=$enable_listctrl;
12630 if test "$enableval" = yes; then
12631 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12632 else
12633 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12634 fi
12635
12636 else
12637
12638 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12639
12640 fi
12641
12642
12643 eval "$wx_cv_use_listctrl"
12644
12645 if test x"$enablestring" = xdisable; then
12646 if test $wxUSE_LISTCTRL = no; then
12647 result=yes
12648 else
12649 result=no
12650 fi
12651 else
12652 result=$wxUSE_LISTCTRL
12653 fi
12654
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12656 $as_echo "$result" >&6; }
12657
12658
12659 enablestring=
12660 defaultval=$wxUSE_ALL_FEATURES
12661 if test -z "$defaultval"; then
12662 if test x"$enablestring" = xdisable; then
12663 defaultval=yes
12664 else
12665 defaultval=no
12666 fi
12667 fi
12668
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12670 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12671 # Check whether --enable-notebook was given.
12672 if test "${enable_notebook+set}" = set; then :
12673 enableval=$enable_notebook;
12674 if test "$enableval" = yes; then
12675 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12676 else
12677 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12678 fi
12679
12680 else
12681
12682 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12683
12684 fi
12685
12686
12687 eval "$wx_cv_use_notebook"
12688
12689 if test x"$enablestring" = xdisable; then
12690 if test $wxUSE_NOTEBOOK = no; then
12691 result=yes
12692 else
12693 result=no
12694 fi
12695 else
12696 result=$wxUSE_NOTEBOOK
12697 fi
12698
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12700 $as_echo "$result" >&6; }
12701
12702
12703 enablestring=
12704 defaultval=$wxUSE_ALL_FEATURES
12705 if test -z "$defaultval"; then
12706 if test x"$enablestring" = xdisable; then
12707 defaultval=yes
12708 else
12709 defaultval=no
12710 fi
12711 fi
12712
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12714 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12715 # Check whether --enable-notifmsg was given.
12716 if test "${enable_notifmsg+set}" = set; then :
12717 enableval=$enable_notifmsg;
12718 if test "$enableval" = yes; then
12719 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12720 else
12721 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12722 fi
12723
12724 else
12725
12726 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12727
12728 fi
12729
12730
12731 eval "$wx_cv_use_notifmsg"
12732
12733 if test x"$enablestring" = xdisable; then
12734 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12735 result=yes
12736 else
12737 result=no
12738 fi
12739 else
12740 result=$wxUSE_NOTIFICATION_MESSAGE
12741 fi
12742
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12744 $as_echo "$result" >&6; }
12745
12746
12747 enablestring=
12748 defaultval=$wxUSE_ALL_FEATURES
12749 if test -z "$defaultval"; then
12750 if test x"$enablestring" = xdisable; then
12751 defaultval=yes
12752 else
12753 defaultval=no
12754 fi
12755 fi
12756
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12758 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12759 # Check whether --enable-odcombobox was given.
12760 if test "${enable_odcombobox+set}" = set; then :
12761 enableval=$enable_odcombobox;
12762 if test "$enableval" = yes; then
12763 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12764 else
12765 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12766 fi
12767
12768 else
12769
12770 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12771
12772 fi
12773
12774
12775 eval "$wx_cv_use_odcombobox"
12776
12777 if test x"$enablestring" = xdisable; then
12778 if test $wxUSE_ODCOMBOBOX = no; then
12779 result=yes
12780 else
12781 result=no
12782 fi
12783 else
12784 result=$wxUSE_ODCOMBOBOX
12785 fi
12786
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12788 $as_echo "$result" >&6; }
12789
12790
12791 enablestring=
12792 defaultval=$wxUSE_ALL_FEATURES
12793 if test -z "$defaultval"; then
12794 if test x"$enablestring" = xdisable; then
12795 defaultval=yes
12796 else
12797 defaultval=no
12798 fi
12799 fi
12800
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12802 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12803 # Check whether --enable-popupwin was given.
12804 if test "${enable_popupwin+set}" = set; then :
12805 enableval=$enable_popupwin;
12806 if test "$enableval" = yes; then
12807 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12808 else
12809 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12810 fi
12811
12812 else
12813
12814 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12815
12816 fi
12817
12818
12819 eval "$wx_cv_use_popupwin"
12820
12821 if test x"$enablestring" = xdisable; then
12822 if test $wxUSE_POPUPWIN = no; then
12823 result=yes
12824 else
12825 result=no
12826 fi
12827 else
12828 result=$wxUSE_POPUPWIN
12829 fi
12830
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12832 $as_echo "$result" >&6; }
12833
12834
12835 enablestring=
12836 defaultval=$wxUSE_ALL_FEATURES
12837 if test -z "$defaultval"; then
12838 if test x"$enablestring" = xdisable; then
12839 defaultval=yes
12840 else
12841 defaultval=no
12842 fi
12843 fi
12844
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12846 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12847 # Check whether --enable-radiobox was given.
12848 if test "${enable_radiobox+set}" = set; then :
12849 enableval=$enable_radiobox;
12850 if test "$enableval" = yes; then
12851 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12852 else
12853 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12854 fi
12855
12856 else
12857
12858 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12859
12860 fi
12861
12862
12863 eval "$wx_cv_use_radiobox"
12864
12865 if test x"$enablestring" = xdisable; then
12866 if test $wxUSE_RADIOBOX = no; then
12867 result=yes
12868 else
12869 result=no
12870 fi
12871 else
12872 result=$wxUSE_RADIOBOX
12873 fi
12874
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12876 $as_echo "$result" >&6; }
12877
12878
12879 enablestring=
12880 defaultval=$wxUSE_ALL_FEATURES
12881 if test -z "$defaultval"; then
12882 if test x"$enablestring" = xdisable; then
12883 defaultval=yes
12884 else
12885 defaultval=no
12886 fi
12887 fi
12888
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12890 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12891 # Check whether --enable-radiobtn was given.
12892 if test "${enable_radiobtn+set}" = set; then :
12893 enableval=$enable_radiobtn;
12894 if test "$enableval" = yes; then
12895 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12896 else
12897 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12898 fi
12899
12900 else
12901
12902 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12903
12904 fi
12905
12906
12907 eval "$wx_cv_use_radiobtn"
12908
12909 if test x"$enablestring" = xdisable; then
12910 if test $wxUSE_RADIOBTN = no; then
12911 result=yes
12912 else
12913 result=no
12914 fi
12915 else
12916 result=$wxUSE_RADIOBTN
12917 fi
12918
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12920 $as_echo "$result" >&6; }
12921
12922
12923 enablestring=
12924 defaultval=$wxUSE_ALL_FEATURES
12925 if test -z "$defaultval"; then
12926 if test x"$enablestring" = xdisable; then
12927 defaultval=yes
12928 else
12929 defaultval=no
12930 fi
12931 fi
12932
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12934 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12935 # Check whether --enable-richmsgdlg was given.
12936 if test "${enable_richmsgdlg+set}" = set; then :
12937 enableval=$enable_richmsgdlg;
12938 if test "$enableval" = yes; then
12939 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12940 else
12941 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12942 fi
12943
12944 else
12945
12946 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12947
12948 fi
12949
12950
12951 eval "$wx_cv_use_richmsgdlg"
12952
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_RICHMSGDLG = no; then
12955 result=yes
12956 else
12957 result=no
12958 fi
12959 else
12960 result=$wxUSE_RICHMSGDLG
12961 fi
12962
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12964 $as_echo "$result" >&6; }
12965
12966
12967 enablestring=
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12971 defaultval=yes
12972 else
12973 defaultval=no
12974 fi
12975 fi
12976
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12978 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12979 # Check whether --enable-richtooltip was given.
12980 if test "${enable_richtooltip+set}" = set; then :
12981 enableval=$enable_richtooltip;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
12984 else
12985 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
12986 fi
12987
12988 else
12989
12990 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
12991
12992 fi
12993
12994
12995 eval "$wx_cv_use_richtooltip"
12996
12997 if test x"$enablestring" = xdisable; then
12998 if test $wxUSE_RICHTOOLTIP = no; then
12999 result=yes
13000 else
13001 result=no
13002 fi
13003 else
13004 result=$wxUSE_RICHTOOLTIP
13005 fi
13006
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13008 $as_echo "$result" >&6; }
13009
13010
13011 enablestring=
13012 defaultval=$wxUSE_ALL_FEATURES
13013 if test -z "$defaultval"; then
13014 if test x"$enablestring" = xdisable; then
13015 defaultval=yes
13016 else
13017 defaultval=no
13018 fi
13019 fi
13020
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13022 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13023 # Check whether --enable-rearrangectrl was given.
13024 if test "${enable_rearrangectrl+set}" = set; then :
13025 enableval=$enable_rearrangectrl;
13026 if test "$enableval" = yes; then
13027 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13028 else
13029 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13030 fi
13031
13032 else
13033
13034 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13035
13036 fi
13037
13038
13039 eval "$wx_cv_use_rearrangectrl"
13040
13041 if test x"$enablestring" = xdisable; then
13042 if test $wxUSE_REARRANGECTRL = no; then
13043 result=yes
13044 else
13045 result=no
13046 fi
13047 else
13048 result=$wxUSE_REARRANGECTRL
13049 fi
13050
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13052 $as_echo "$result" >&6; }
13053
13054
13055 enablestring=
13056 defaultval=$wxUSE_ALL_FEATURES
13057 if test -z "$defaultval"; then
13058 if test x"$enablestring" = xdisable; then
13059 defaultval=yes
13060 else
13061 defaultval=no
13062 fi
13063 fi
13064
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13066 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13067 # Check whether --enable-sash was given.
13068 if test "${enable_sash+set}" = set; then :
13069 enableval=$enable_sash;
13070 if test "$enableval" = yes; then
13071 wx_cv_use_sash='wxUSE_SASH=yes'
13072 else
13073 wx_cv_use_sash='wxUSE_SASH=no'
13074 fi
13075
13076 else
13077
13078 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13079
13080 fi
13081
13082
13083 eval "$wx_cv_use_sash"
13084
13085 if test x"$enablestring" = xdisable; then
13086 if test $wxUSE_SASH = no; then
13087 result=yes
13088 else
13089 result=no
13090 fi
13091 else
13092 result=$wxUSE_SASH
13093 fi
13094
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13096 $as_echo "$result" >&6; }
13097
13098
13099 enablestring=
13100 defaultval=$wxUSE_ALL_FEATURES
13101 if test -z "$defaultval"; then
13102 if test x"$enablestring" = xdisable; then
13103 defaultval=yes
13104 else
13105 defaultval=no
13106 fi
13107 fi
13108
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13110 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13111 # Check whether --enable-scrollbar was given.
13112 if test "${enable_scrollbar+set}" = set; then :
13113 enableval=$enable_scrollbar;
13114 if test "$enableval" = yes; then
13115 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13116 else
13117 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13118 fi
13119
13120 else
13121
13122 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13123
13124 fi
13125
13126
13127 eval "$wx_cv_use_scrollbar"
13128
13129 if test x"$enablestring" = xdisable; then
13130 if test $wxUSE_SCROLLBAR = no; then
13131 result=yes
13132 else
13133 result=no
13134 fi
13135 else
13136 result=$wxUSE_SCROLLBAR
13137 fi
13138
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13140 $as_echo "$result" >&6; }
13141
13142
13143 enablestring=
13144 defaultval=$wxUSE_ALL_FEATURES
13145 if test -z "$defaultval"; then
13146 if test x"$enablestring" = xdisable; then
13147 defaultval=yes
13148 else
13149 defaultval=no
13150 fi
13151 fi
13152
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13154 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13155 # Check whether --enable-searchctrl was given.
13156 if test "${enable_searchctrl+set}" = set; then :
13157 enableval=$enable_searchctrl;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13160 else
13161 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13162 fi
13163
13164 else
13165
13166 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13167
13168 fi
13169
13170
13171 eval "$wx_cv_use_searchctrl"
13172
13173 if test x"$enablestring" = xdisable; then
13174 if test $wxUSE_SEARCHCTRL = no; then
13175 result=yes
13176 else
13177 result=no
13178 fi
13179 else
13180 result=$wxUSE_SEARCHCTRL
13181 fi
13182
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13184 $as_echo "$result" >&6; }
13185
13186
13187 enablestring=
13188 defaultval=$wxUSE_ALL_FEATURES
13189 if test -z "$defaultval"; then
13190 if test x"$enablestring" = xdisable; then
13191 defaultval=yes
13192 else
13193 defaultval=no
13194 fi
13195 fi
13196
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13198 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13199 # Check whether --enable-slider was given.
13200 if test "${enable_slider+set}" = set; then :
13201 enableval=$enable_slider;
13202 if test "$enableval" = yes; then
13203 wx_cv_use_slider='wxUSE_SLIDER=yes'
13204 else
13205 wx_cv_use_slider='wxUSE_SLIDER=no'
13206 fi
13207
13208 else
13209
13210 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13211
13212 fi
13213
13214
13215 eval "$wx_cv_use_slider"
13216
13217 if test x"$enablestring" = xdisable; then
13218 if test $wxUSE_SLIDER = no; then
13219 result=yes
13220 else
13221 result=no
13222 fi
13223 else
13224 result=$wxUSE_SLIDER
13225 fi
13226
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13228 $as_echo "$result" >&6; }
13229
13230
13231 enablestring=
13232 defaultval=$wxUSE_ALL_FEATURES
13233 if test -z "$defaultval"; then
13234 if test x"$enablestring" = xdisable; then
13235 defaultval=yes
13236 else
13237 defaultval=no
13238 fi
13239 fi
13240
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13242 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13243 # Check whether --enable-spinbtn was given.
13244 if test "${enable_spinbtn+set}" = set; then :
13245 enableval=$enable_spinbtn;
13246 if test "$enableval" = yes; then
13247 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13248 else
13249 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13250 fi
13251
13252 else
13253
13254 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13255
13256 fi
13257
13258
13259 eval "$wx_cv_use_spinbtn"
13260
13261 if test x"$enablestring" = xdisable; then
13262 if test $wxUSE_SPINBTN = no; then
13263 result=yes
13264 else
13265 result=no
13266 fi
13267 else
13268 result=$wxUSE_SPINBTN
13269 fi
13270
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13272 $as_echo "$result" >&6; }
13273
13274
13275 enablestring=
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13279 defaultval=yes
13280 else
13281 defaultval=no
13282 fi
13283 fi
13284
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13286 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13287 # Check whether --enable-spinctrl was given.
13288 if test "${enable_spinctrl+set}" = set; then :
13289 enableval=$enable_spinctrl;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13292 else
13293 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13294 fi
13295
13296 else
13297
13298 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13299
13300 fi
13301
13302
13303 eval "$wx_cv_use_spinctrl"
13304
13305 if test x"$enablestring" = xdisable; then
13306 if test $wxUSE_SPINCTRL = no; then
13307 result=yes
13308 else
13309 result=no
13310 fi
13311 else
13312 result=$wxUSE_SPINCTRL
13313 fi
13314
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13316 $as_echo "$result" >&6; }
13317
13318
13319 enablestring=
13320 defaultval=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x"$enablestring" = xdisable; then
13323 defaultval=yes
13324 else
13325 defaultval=no
13326 fi
13327 fi
13328
13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13330 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13331 # Check whether --enable-splitter was given.
13332 if test "${enable_splitter+set}" = set; then :
13333 enableval=$enable_splitter;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13336 else
13337 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13338 fi
13339
13340 else
13341
13342 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13343
13344 fi
13345
13346
13347 eval "$wx_cv_use_splitter"
13348
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_SPLITTER = no; then
13351 result=yes
13352 else
13353 result=no
13354 fi
13355 else
13356 result=$wxUSE_SPLITTER
13357 fi
13358
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13360 $as_echo "$result" >&6; }
13361
13362
13363 enablestring=
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13367 defaultval=yes
13368 else
13369 defaultval=no
13370 fi
13371 fi
13372
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13374 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13375 # Check whether --enable-statbmp was given.
13376 if test "${enable_statbmp+set}" = set; then :
13377 enableval=$enable_statbmp;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13380 else
13381 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13382 fi
13383
13384 else
13385
13386 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13387
13388 fi
13389
13390
13391 eval "$wx_cv_use_statbmp"
13392
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_STATBMP = no; then
13395 result=yes
13396 else
13397 result=no
13398 fi
13399 else
13400 result=$wxUSE_STATBMP
13401 fi
13402
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13404 $as_echo "$result" >&6; }
13405
13406
13407 enablestring=
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13411 defaultval=yes
13412 else
13413 defaultval=no
13414 fi
13415 fi
13416
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13418 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13419 # Check whether --enable-statbox was given.
13420 if test "${enable_statbox+set}" = set; then :
13421 enableval=$enable_statbox;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13424 else
13425 wx_cv_use_statbox='wxUSE_STATBOX=no'
13426 fi
13427
13428 else
13429
13430 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13431
13432 fi
13433
13434
13435 eval "$wx_cv_use_statbox"
13436
13437 if test x"$enablestring" = xdisable; then
13438 if test $wxUSE_STATBOX = no; then
13439 result=yes
13440 else
13441 result=no
13442 fi
13443 else
13444 result=$wxUSE_STATBOX
13445 fi
13446
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13448 $as_echo "$result" >&6; }
13449
13450
13451 enablestring=
13452 defaultval=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x"$enablestring" = xdisable; then
13455 defaultval=yes
13456 else
13457 defaultval=no
13458 fi
13459 fi
13460
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13462 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13463 # Check whether --enable-statline was given.
13464 if test "${enable_statline+set}" = set; then :
13465 enableval=$enable_statline;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_statline='wxUSE_STATLINE=yes'
13468 else
13469 wx_cv_use_statline='wxUSE_STATLINE=no'
13470 fi
13471
13472 else
13473
13474 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13475
13476 fi
13477
13478
13479 eval "$wx_cv_use_statline"
13480
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_STATLINE = no; then
13483 result=yes
13484 else
13485 result=no
13486 fi
13487 else
13488 result=$wxUSE_STATLINE
13489 fi
13490
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13492 $as_echo "$result" >&6; }
13493
13494
13495 enablestring=
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13499 defaultval=yes
13500 else
13501 defaultval=no
13502 fi
13503 fi
13504
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13506 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13507 # Check whether --enable-stattext was given.
13508 if test "${enable_stattext+set}" = set; then :
13509 enableval=$enable_stattext;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13512 else
13513 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13514 fi
13515
13516 else
13517
13518 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_stattext"
13524
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_STATTEXT = no; then
13527 result=yes
13528 else
13529 result=no
13530 fi
13531 else
13532 result=$wxUSE_STATTEXT
13533 fi
13534
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13536 $as_echo "$result" >&6; }
13537
13538
13539 enablestring=
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13543 defaultval=yes
13544 else
13545 defaultval=no
13546 fi
13547 fi
13548
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13550 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13551 # Check whether --enable-statusbar was given.
13552 if test "${enable_statusbar+set}" = set; then :
13553 enableval=$enable_statusbar;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13556 else
13557 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13558 fi
13559
13560 else
13561
13562 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13563
13564 fi
13565
13566
13567 eval "$wx_cv_use_statusbar"
13568
13569 if test x"$enablestring" = xdisable; then
13570 if test $wxUSE_STATUSBAR = no; then
13571 result=yes
13572 else
13573 result=no
13574 fi
13575 else
13576 result=$wxUSE_STATUSBAR
13577 fi
13578
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13580 $as_echo "$result" >&6; }
13581
13582
13583 enablestring=
13584 defaultval=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x"$enablestring" = xdisable; then
13587 defaultval=yes
13588 else
13589 defaultval=no
13590 fi
13591 fi
13592
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13594 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13595 # Check whether --enable-taskbaricon was given.
13596 if test "${enable_taskbaricon+set}" = set; then :
13597 enableval=$enable_taskbaricon;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13600 else
13601 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13602 fi
13603
13604 else
13605
13606 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13607
13608 fi
13609
13610
13611 eval "$wx_cv_use_taskbaricon"
13612
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_TASKBARICON = no; then
13615 result=yes
13616 else
13617 result=no
13618 fi
13619 else
13620 result=$wxUSE_TASKBARICON
13621 fi
13622
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13624 $as_echo "$result" >&6; }
13625
13626
13627 enablestring=
13628 defaultval=$wxUSE_ALL_FEATURES
13629 if test -z "$defaultval"; then
13630 if test x"$enablestring" = xdisable; then
13631 defaultval=yes
13632 else
13633 defaultval=no
13634 fi
13635 fi
13636
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13638 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13639 # Check whether --enable-tbarnative was given.
13640 if test "${enable_tbarnative+set}" = set; then :
13641 enableval=$enable_tbarnative;
13642 if test "$enableval" = yes; then
13643 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13644 else
13645 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13646 fi
13647
13648 else
13649
13650 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13651
13652 fi
13653
13654
13655 eval "$wx_cv_use_tbarnative"
13656
13657 if test x"$enablestring" = xdisable; then
13658 if test $wxUSE_TOOLBAR_NATIVE = no; then
13659 result=yes
13660 else
13661 result=no
13662 fi
13663 else
13664 result=$wxUSE_TOOLBAR_NATIVE
13665 fi
13666
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13668 $as_echo "$result" >&6; }
13669
13670
13671 enablestring=
13672 defaultval=$wxUSE_ALL_FEATURES
13673 if test -z "$defaultval"; then
13674 if test x"$enablestring" = xdisable; then
13675 defaultval=yes
13676 else
13677 defaultval=no
13678 fi
13679 fi
13680
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13682 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13683 # Check whether --enable-textctrl was given.
13684 if test "${enable_textctrl+set}" = set; then :
13685 enableval=$enable_textctrl;
13686 if test "$enableval" = yes; then
13687 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13688 else
13689 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13690 fi
13691
13692 else
13693
13694 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13695
13696 fi
13697
13698
13699 eval "$wx_cv_use_textctrl"
13700
13701 if test x"$enablestring" = xdisable; then
13702 if test $wxUSE_TEXTCTRL = no; then
13703 result=yes
13704 else
13705 result=no
13706 fi
13707 else
13708 result=$wxUSE_TEXTCTRL
13709 fi
13710
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13712 $as_echo "$result" >&6; }
13713
13714
13715 enablestring=
13716 defaultval=$wxUSE_ALL_FEATURES
13717 if test -z "$defaultval"; then
13718 if test x"$enablestring" = xdisable; then
13719 defaultval=yes
13720 else
13721 defaultval=no
13722 fi
13723 fi
13724
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13726 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13727 # Check whether --enable-datepick was given.
13728 if test "${enable_datepick+set}" = set; then :
13729 enableval=$enable_datepick;
13730 if test "$enableval" = yes; then
13731 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13732 else
13733 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13734 fi
13735
13736 else
13737
13738 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13739
13740 fi
13741
13742
13743 eval "$wx_cv_use_datepick"
13744
13745 if test x"$enablestring" = xdisable; then
13746 if test $wxUSE_TIMEPICKCTRL = no; then
13747 result=yes
13748 else
13749 result=no
13750 fi
13751 else
13752 result=$wxUSE_TIMEPICKCTRL
13753 fi
13754
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13756 $as_echo "$result" >&6; }
13757
13758
13759 enablestring=
13760 defaultval=$wxUSE_ALL_FEATURES
13761 if test -z "$defaultval"; then
13762 if test x"$enablestring" = xdisable; then
13763 defaultval=yes
13764 else
13765 defaultval=no
13766 fi
13767 fi
13768
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13770 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13771 # Check whether --enable-tipwindow was given.
13772 if test "${enable_tipwindow+set}" = set; then :
13773 enableval=$enable_tipwindow;
13774 if test "$enableval" = yes; then
13775 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13776 else
13777 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13778 fi
13779
13780 else
13781
13782 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13783
13784 fi
13785
13786
13787 eval "$wx_cv_use_tipwindow"
13788
13789 if test x"$enablestring" = xdisable; then
13790 if test $wxUSE_TIPWINDOW = no; then
13791 result=yes
13792 else
13793 result=no
13794 fi
13795 else
13796 result=$wxUSE_TIPWINDOW
13797 fi
13798
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13800 $as_echo "$result" >&6; }
13801
13802
13803 enablestring=
13804 defaultval=$wxUSE_ALL_FEATURES
13805 if test -z "$defaultval"; then
13806 if test x"$enablestring" = xdisable; then
13807 defaultval=yes
13808 else
13809 defaultval=no
13810 fi
13811 fi
13812
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13814 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13815 # Check whether --enable-togglebtn was given.
13816 if test "${enable_togglebtn+set}" = set; then :
13817 enableval=$enable_togglebtn;
13818 if test "$enableval" = yes; then
13819 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13820 else
13821 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13822 fi
13823
13824 else
13825
13826 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13827
13828 fi
13829
13830
13831 eval "$wx_cv_use_togglebtn"
13832
13833 if test x"$enablestring" = xdisable; then
13834 if test $wxUSE_TOGGLEBTN = no; then
13835 result=yes
13836 else
13837 result=no
13838 fi
13839 else
13840 result=$wxUSE_TOGGLEBTN
13841 fi
13842
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13844 $as_echo "$result" >&6; }
13845
13846
13847 enablestring=
13848 defaultval=$wxUSE_ALL_FEATURES
13849 if test -z "$defaultval"; then
13850 if test x"$enablestring" = xdisable; then
13851 defaultval=yes
13852 else
13853 defaultval=no
13854 fi
13855 fi
13856
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13858 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13859 # Check whether --enable-toolbar was given.
13860 if test "${enable_toolbar+set}" = set; then :
13861 enableval=$enable_toolbar;
13862 if test "$enableval" = yes; then
13863 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13864 else
13865 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13866 fi
13867
13868 else
13869
13870 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13871
13872 fi
13873
13874
13875 eval "$wx_cv_use_toolbar"
13876
13877 if test x"$enablestring" = xdisable; then
13878 if test $wxUSE_TOOLBAR = no; then
13879 result=yes
13880 else
13881 result=no
13882 fi
13883 else
13884 result=$wxUSE_TOOLBAR
13885 fi
13886
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13888 $as_echo "$result" >&6; }
13889
13890
13891 enablestring=
13892 defaultval=$wxUSE_ALL_FEATURES
13893 if test -z "$defaultval"; then
13894 if test x"$enablestring" = xdisable; then
13895 defaultval=yes
13896 else
13897 defaultval=no
13898 fi
13899 fi
13900
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13902 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13903 # Check whether --enable-toolbook was given.
13904 if test "${enable_toolbook+set}" = set; then :
13905 enableval=$enable_toolbook;
13906 if test "$enableval" = yes; then
13907 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13908 else
13909 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13910 fi
13911
13912 else
13913
13914 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13915
13916 fi
13917
13918
13919 eval "$wx_cv_use_toolbook"
13920
13921 if test x"$enablestring" = xdisable; then
13922 if test $wxUSE_TOOLBOOK = no; then
13923 result=yes
13924 else
13925 result=no
13926 fi
13927 else
13928 result=$wxUSE_TOOLBOOK
13929 fi
13930
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13932 $as_echo "$result" >&6; }
13933
13934
13935 enablestring=
13936 defaultval=$wxUSE_ALL_FEATURES
13937 if test -z "$defaultval"; then
13938 if test x"$enablestring" = xdisable; then
13939 defaultval=yes
13940 else
13941 defaultval=no
13942 fi
13943 fi
13944
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13946 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13947 # Check whether --enable-treebook was given.
13948 if test "${enable_treebook+set}" = set; then :
13949 enableval=$enable_treebook;
13950 if test "$enableval" = yes; then
13951 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13952 else
13953 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13954 fi
13955
13956 else
13957
13958 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13959
13960 fi
13961
13962
13963 eval "$wx_cv_use_treebook"
13964
13965 if test x"$enablestring" = xdisable; then
13966 if test $wxUSE_TREEBOOK = no; then
13967 result=yes
13968 else
13969 result=no
13970 fi
13971 else
13972 result=$wxUSE_TREEBOOK
13973 fi
13974
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13976 $as_echo "$result" >&6; }
13977
13978
13979 enablestring=
13980 defaultval=$wxUSE_ALL_FEATURES
13981 if test -z "$defaultval"; then
13982 if test x"$enablestring" = xdisable; then
13983 defaultval=yes
13984 else
13985 defaultval=no
13986 fi
13987 fi
13988
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
13990 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
13991 # Check whether --enable-treectrl was given.
13992 if test "${enable_treectrl+set}" = set; then :
13993 enableval=$enable_treectrl;
13994 if test "$enableval" = yes; then
13995 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13996 else
13997 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13998 fi
13999
14000 else
14001
14002 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14003
14004 fi
14005
14006
14007 eval "$wx_cv_use_treectrl"
14008
14009 if test x"$enablestring" = xdisable; then
14010 if test $wxUSE_TREECTRL = no; then
14011 result=yes
14012 else
14013 result=no
14014 fi
14015 else
14016 result=$wxUSE_TREECTRL
14017 fi
14018
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14020 $as_echo "$result" >&6; }
14021
14022
14023 enablestring=
14024 defaultval=$wxUSE_ALL_FEATURES
14025 if test -z "$defaultval"; then
14026 if test x"$enablestring" = xdisable; then
14027 defaultval=yes
14028 else
14029 defaultval=no
14030 fi
14031 fi
14032
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14034 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14035 # Check whether --enable-treelist was given.
14036 if test "${enable_treelist+set}" = set; then :
14037 enableval=$enable_treelist;
14038 if test "$enableval" = yes; then
14039 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14040 else
14041 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14042 fi
14043
14044 else
14045
14046 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14047
14048 fi
14049
14050
14051 eval "$wx_cv_use_treelist"
14052
14053 if test x"$enablestring" = xdisable; then
14054 if test $wxUSE_TREELISTCTRL = no; then
14055 result=yes
14056 else
14057 result=no
14058 fi
14059 else
14060 result=$wxUSE_TREELISTCTRL
14061 fi
14062
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14064 $as_echo "$result" >&6; }
14065
14066
14067
14068
14069 enablestring=
14070 defaultval=$wxUSE_ALL_FEATURES
14071 if test -z "$defaultval"; then
14072 if test x"$enablestring" = xdisable; then
14073 defaultval=yes
14074 else
14075 defaultval=no
14076 fi
14077 fi
14078
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14080 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14081 # Check whether --enable-commondlg was given.
14082 if test "${enable_commondlg+set}" = set; then :
14083 enableval=$enable_commondlg;
14084 if test "$enableval" = yes; then
14085 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14086 else
14087 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14088 fi
14089
14090 else
14091
14092 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14093
14094 fi
14095
14096
14097 eval "$wx_cv_use_commondlg"
14098
14099 if test x"$enablestring" = xdisable; then
14100 if test $wxUSE_COMMONDLGS = no; then
14101 result=yes
14102 else
14103 result=no
14104 fi
14105 else
14106 result=$wxUSE_COMMONDLGS
14107 fi
14108
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14110 $as_echo "$result" >&6; }
14111
14112
14113 enablestring=
14114 defaultval=$wxUSE_ALL_FEATURES
14115 if test -z "$defaultval"; then
14116 if test x"$enablestring" = xdisable; then
14117 defaultval=yes
14118 else
14119 defaultval=no
14120 fi
14121 fi
14122
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14124 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14125 # Check whether --enable-aboutdlg was given.
14126 if test "${enable_aboutdlg+set}" = set; then :
14127 enableval=$enable_aboutdlg;
14128 if test "$enableval" = yes; then
14129 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14130 else
14131 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14132 fi
14133
14134 else
14135
14136 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14137
14138 fi
14139
14140
14141 eval "$wx_cv_use_aboutdlg"
14142
14143 if test x"$enablestring" = xdisable; then
14144 if test $wxUSE_ABOUTDLG = no; then
14145 result=yes
14146 else
14147 result=no
14148 fi
14149 else
14150 result=$wxUSE_ABOUTDLG
14151 fi
14152
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14154 $as_echo "$result" >&6; }
14155
14156
14157 enablestring=
14158 defaultval=$wxUSE_ALL_FEATURES
14159 if test -z "$defaultval"; then
14160 if test x"$enablestring" = xdisable; then
14161 defaultval=yes
14162 else
14163 defaultval=no
14164 fi
14165 fi
14166
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14168 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14169 # Check whether --enable-choicedlg was given.
14170 if test "${enable_choicedlg+set}" = set; then :
14171 enableval=$enable_choicedlg;
14172 if test "$enableval" = yes; then
14173 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14174 else
14175 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14176 fi
14177
14178 else
14179
14180 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14181
14182 fi
14183
14184
14185 eval "$wx_cv_use_choicedlg"
14186
14187 if test x"$enablestring" = xdisable; then
14188 if test $wxUSE_CHOICEDLG = no; then
14189 result=yes
14190 else
14191 result=no
14192 fi
14193 else
14194 result=$wxUSE_CHOICEDLG
14195 fi
14196
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14198 $as_echo "$result" >&6; }
14199
14200
14201 enablestring=
14202 defaultval=$wxUSE_ALL_FEATURES
14203 if test -z "$defaultval"; then
14204 if test x"$enablestring" = xdisable; then
14205 defaultval=yes
14206 else
14207 defaultval=no
14208 fi
14209 fi
14210
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14212 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14213 # Check whether --enable-coldlg was given.
14214 if test "${enable_coldlg+set}" = set; then :
14215 enableval=$enable_coldlg;
14216 if test "$enableval" = yes; then
14217 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14218 else
14219 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14220 fi
14221
14222 else
14223
14224 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14225
14226 fi
14227
14228
14229 eval "$wx_cv_use_coldlg"
14230
14231 if test x"$enablestring" = xdisable; then
14232 if test $wxUSE_COLOURDLG = no; then
14233 result=yes
14234 else
14235 result=no
14236 fi
14237 else
14238 result=$wxUSE_COLOURDLG
14239 fi
14240
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14242 $as_echo "$result" >&6; }
14243
14244
14245 enablestring=
14246 defaultval=$wxUSE_ALL_FEATURES
14247 if test -z "$defaultval"; then
14248 if test x"$enablestring" = xdisable; then
14249 defaultval=yes
14250 else
14251 defaultval=no
14252 fi
14253 fi
14254
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14256 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14257 # Check whether --enable-filedlg was given.
14258 if test "${enable_filedlg+set}" = set; then :
14259 enableval=$enable_filedlg;
14260 if test "$enableval" = yes; then
14261 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14262 else
14263 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14264 fi
14265
14266 else
14267
14268 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14269
14270 fi
14271
14272
14273 eval "$wx_cv_use_filedlg"
14274
14275 if test x"$enablestring" = xdisable; then
14276 if test $wxUSE_FILEDLG = no; then
14277 result=yes
14278 else
14279 result=no
14280 fi
14281 else
14282 result=$wxUSE_FILEDLG
14283 fi
14284
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14286 $as_echo "$result" >&6; }
14287
14288
14289 enablestring=
14290 defaultval=$wxUSE_ALL_FEATURES
14291 if test -z "$defaultval"; then
14292 if test x"$enablestring" = xdisable; then
14293 defaultval=yes
14294 else
14295 defaultval=no
14296 fi
14297 fi
14298
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14300 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14301 # Check whether --enable-finddlg was given.
14302 if test "${enable_finddlg+set}" = set; then :
14303 enableval=$enable_finddlg;
14304 if test "$enableval" = yes; then
14305 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14306 else
14307 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14308 fi
14309
14310 else
14311
14312 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14313
14314 fi
14315
14316
14317 eval "$wx_cv_use_finddlg"
14318
14319 if test x"$enablestring" = xdisable; then
14320 if test $wxUSE_FINDREPLDLG = no; then
14321 result=yes
14322 else
14323 result=no
14324 fi
14325 else
14326 result=$wxUSE_FINDREPLDLG
14327 fi
14328
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14330 $as_echo "$result" >&6; }
14331
14332
14333 enablestring=
14334 defaultval=$wxUSE_ALL_FEATURES
14335 if test -z "$defaultval"; then
14336 if test x"$enablestring" = xdisable; then
14337 defaultval=yes
14338 else
14339 defaultval=no
14340 fi
14341 fi
14342
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14344 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14345 # Check whether --enable-fontdlg was given.
14346 if test "${enable_fontdlg+set}" = set; then :
14347 enableval=$enable_fontdlg;
14348 if test "$enableval" = yes; then
14349 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14350 else
14351 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14352 fi
14353
14354 else
14355
14356 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14357
14358 fi
14359
14360
14361 eval "$wx_cv_use_fontdlg"
14362
14363 if test x"$enablestring" = xdisable; then
14364 if test $wxUSE_FONTDLG = no; then
14365 result=yes
14366 else
14367 result=no
14368 fi
14369 else
14370 result=$wxUSE_FONTDLG
14371 fi
14372
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14374 $as_echo "$result" >&6; }
14375
14376
14377 enablestring=
14378 defaultval=$wxUSE_ALL_FEATURES
14379 if test -z "$defaultval"; then
14380 if test x"$enablestring" = xdisable; then
14381 defaultval=yes
14382 else
14383 defaultval=no
14384 fi
14385 fi
14386
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14388 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14389 # Check whether --enable-dirdlg was given.
14390 if test "${enable_dirdlg+set}" = set; then :
14391 enableval=$enable_dirdlg;
14392 if test "$enableval" = yes; then
14393 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14394 else
14395 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14396 fi
14397
14398 else
14399
14400 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14401
14402 fi
14403
14404
14405 eval "$wx_cv_use_dirdlg"
14406
14407 if test x"$enablestring" = xdisable; then
14408 if test $wxUSE_DIRDLG = no; then
14409 result=yes
14410 else
14411 result=no
14412 fi
14413 else
14414 result=$wxUSE_DIRDLG
14415 fi
14416
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14418 $as_echo "$result" >&6; }
14419
14420
14421 enablestring=
14422 defaultval=$wxUSE_ALL_FEATURES
14423 if test -z "$defaultval"; then
14424 if test x"$enablestring" = xdisable; then
14425 defaultval=yes
14426 else
14427 defaultval=no
14428 fi
14429 fi
14430
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14432 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14433 # Check whether --enable-msgdlg was given.
14434 if test "${enable_msgdlg+set}" = set; then :
14435 enableval=$enable_msgdlg;
14436 if test "$enableval" = yes; then
14437 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14438 else
14439 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14440 fi
14441
14442 else
14443
14444 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14445
14446 fi
14447
14448
14449 eval "$wx_cv_use_msgdlg"
14450
14451 if test x"$enablestring" = xdisable; then
14452 if test $wxUSE_MSGDLG = no; then
14453 result=yes
14454 else
14455 result=no
14456 fi
14457 else
14458 result=$wxUSE_MSGDLG
14459 fi
14460
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14462 $as_echo "$result" >&6; }
14463
14464
14465 enablestring=
14466 defaultval=$wxUSE_ALL_FEATURES
14467 if test -z "$defaultval"; then
14468 if test x"$enablestring" = xdisable; then
14469 defaultval=yes
14470 else
14471 defaultval=no
14472 fi
14473 fi
14474
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14476 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14477 # Check whether --enable-numberdlg was given.
14478 if test "${enable_numberdlg+set}" = set; then :
14479 enableval=$enable_numberdlg;
14480 if test "$enableval" = yes; then
14481 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14482 else
14483 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14484 fi
14485
14486 else
14487
14488 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14489
14490 fi
14491
14492
14493 eval "$wx_cv_use_numberdlg"
14494
14495 if test x"$enablestring" = xdisable; then
14496 if test $wxUSE_NUMBERDLG = no; then
14497 result=yes
14498 else
14499 result=no
14500 fi
14501 else
14502 result=$wxUSE_NUMBERDLG
14503 fi
14504
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14506 $as_echo "$result" >&6; }
14507
14508
14509 enablestring=
14510 defaultval=$wxUSE_ALL_FEATURES
14511 if test -z "$defaultval"; then
14512 if test x"$enablestring" = xdisable; then
14513 defaultval=yes
14514 else
14515 defaultval=no
14516 fi
14517 fi
14518
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14520 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14521 # Check whether --enable-splash was given.
14522 if test "${enable_splash+set}" = set; then :
14523 enableval=$enable_splash;
14524 if test "$enableval" = yes; then
14525 wx_cv_use_splash='wxUSE_SPLASH=yes'
14526 else
14527 wx_cv_use_splash='wxUSE_SPLASH=no'
14528 fi
14529
14530 else
14531
14532 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14533
14534 fi
14535
14536
14537 eval "$wx_cv_use_splash"
14538
14539 if test x"$enablestring" = xdisable; then
14540 if test $wxUSE_SPLASH = no; then
14541 result=yes
14542 else
14543 result=no
14544 fi
14545 else
14546 result=$wxUSE_SPLASH
14547 fi
14548
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14550 $as_echo "$result" >&6; }
14551
14552
14553 enablestring=
14554 defaultval=$wxUSE_ALL_FEATURES
14555 if test -z "$defaultval"; then
14556 if test x"$enablestring" = xdisable; then
14557 defaultval=yes
14558 else
14559 defaultval=no
14560 fi
14561 fi
14562
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14564 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14565 # Check whether --enable-textdlg was given.
14566 if test "${enable_textdlg+set}" = set; then :
14567 enableval=$enable_textdlg;
14568 if test "$enableval" = yes; then
14569 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14570 else
14571 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14572 fi
14573
14574 else
14575
14576 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14577
14578 fi
14579
14580
14581 eval "$wx_cv_use_textdlg"
14582
14583 if test x"$enablestring" = xdisable; then
14584 if test $wxUSE_TEXTDLG = no; then
14585 result=yes
14586 else
14587 result=no
14588 fi
14589 else
14590 result=$wxUSE_TEXTDLG
14591 fi
14592
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14594 $as_echo "$result" >&6; }
14595
14596
14597 enablestring=
14598 defaultval=$wxUSE_ALL_FEATURES
14599 if test -z "$defaultval"; then
14600 if test x"$enablestring" = xdisable; then
14601 defaultval=yes
14602 else
14603 defaultval=no
14604 fi
14605 fi
14606
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14608 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14609 # Check whether --enable-tipdlg was given.
14610 if test "${enable_tipdlg+set}" = set; then :
14611 enableval=$enable_tipdlg;
14612 if test "$enableval" = yes; then
14613 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14614 else
14615 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14616 fi
14617
14618 else
14619
14620 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14621
14622 fi
14623
14624
14625 eval "$wx_cv_use_tipdlg"
14626
14627 if test x"$enablestring" = xdisable; then
14628 if test $wxUSE_STARTUP_TIPS = no; then
14629 result=yes
14630 else
14631 result=no
14632 fi
14633 else
14634 result=$wxUSE_STARTUP_TIPS
14635 fi
14636
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14638 $as_echo "$result" >&6; }
14639
14640
14641 enablestring=
14642 defaultval=$wxUSE_ALL_FEATURES
14643 if test -z "$defaultval"; then
14644 if test x"$enablestring" = xdisable; then
14645 defaultval=yes
14646 else
14647 defaultval=no
14648 fi
14649 fi
14650
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14652 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14653 # Check whether --enable-progressdlg was given.
14654 if test "${enable_progressdlg+set}" = set; then :
14655 enableval=$enable_progressdlg;
14656 if test "$enableval" = yes; then
14657 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14658 else
14659 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14660 fi
14661
14662 else
14663
14664 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14665
14666 fi
14667
14668
14669 eval "$wx_cv_use_progressdlg"
14670
14671 if test x"$enablestring" = xdisable; then
14672 if test $wxUSE_PROGRESSDLG = no; then
14673 result=yes
14674 else
14675 result=no
14676 fi
14677 else
14678 result=$wxUSE_PROGRESSDLG
14679 fi
14680
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14682 $as_echo "$result" >&6; }
14683
14684
14685 enablestring=
14686 defaultval=$wxUSE_ALL_FEATURES
14687 if test -z "$defaultval"; then
14688 if test x"$enablestring" = xdisable; then
14689 defaultval=yes
14690 else
14691 defaultval=no
14692 fi
14693 fi
14694
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14696 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14697 # Check whether --enable-wizarddlg was given.
14698 if test "${enable_wizarddlg+set}" = set; then :
14699 enableval=$enable_wizarddlg;
14700 if test "$enableval" = yes; then
14701 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14702 else
14703 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14704 fi
14705
14706 else
14707
14708 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14709
14710 fi
14711
14712
14713 eval "$wx_cv_use_wizarddlg"
14714
14715 if test x"$enablestring" = xdisable; then
14716 if test $wxUSE_WIZARDDLG = no; then
14717 result=yes
14718 else
14719 result=no
14720 fi
14721 else
14722 result=$wxUSE_WIZARDDLG
14723 fi
14724
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14726 $as_echo "$result" >&6; }
14727
14728
14729
14730
14731 enablestring=
14732 defaultval=$wxUSE_ALL_FEATURES
14733 if test -z "$defaultval"; then
14734 if test x"$enablestring" = xdisable; then
14735 defaultval=yes
14736 else
14737 defaultval=no
14738 fi
14739 fi
14740
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14742 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14743 # Check whether --enable-menus was given.
14744 if test "${enable_menus+set}" = set; then :
14745 enableval=$enable_menus;
14746 if test "$enableval" = yes; then
14747 wx_cv_use_menus='wxUSE_MENUS=yes'
14748 else
14749 wx_cv_use_menus='wxUSE_MENUS=no'
14750 fi
14751
14752 else
14753
14754 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14755
14756 fi
14757
14758
14759 eval "$wx_cv_use_menus"
14760
14761 if test x"$enablestring" = xdisable; then
14762 if test $wxUSE_MENUS = no; then
14763 result=yes
14764 else
14765 result=no
14766 fi
14767 else
14768 result=$wxUSE_MENUS
14769 fi
14770
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14772 $as_echo "$result" >&6; }
14773
14774
14775 enablestring=
14776 defaultval=$wxUSE_ALL_FEATURES
14777 if test -z "$defaultval"; then
14778 if test x"$enablestring" = xdisable; then
14779 defaultval=yes
14780 else
14781 defaultval=no
14782 fi
14783 fi
14784
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14786 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14787 # Check whether --enable-miniframe was given.
14788 if test "${enable_miniframe+set}" = set; then :
14789 enableval=$enable_miniframe;
14790 if test "$enableval" = yes; then
14791 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14792 else
14793 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14794 fi
14795
14796 else
14797
14798 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14799
14800 fi
14801
14802
14803 eval "$wx_cv_use_miniframe"
14804
14805 if test x"$enablestring" = xdisable; then
14806 if test $wxUSE_MINIFRAME = no; then
14807 result=yes
14808 else
14809 result=no
14810 fi
14811 else
14812 result=$wxUSE_MINIFRAME
14813 fi
14814
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14816 $as_echo "$result" >&6; }
14817
14818
14819 enablestring=
14820 defaultval=$wxUSE_ALL_FEATURES
14821 if test -z "$defaultval"; then
14822 if test x"$enablestring" = xdisable; then
14823 defaultval=yes
14824 else
14825 defaultval=no
14826 fi
14827 fi
14828
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14830 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14831 # Check whether --enable-tooltips was given.
14832 if test "${enable_tooltips+set}" = set; then :
14833 enableval=$enable_tooltips;
14834 if test "$enableval" = yes; then
14835 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14836 else
14837 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14838 fi
14839
14840 else
14841
14842 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14843
14844 fi
14845
14846
14847 eval "$wx_cv_use_tooltips"
14848
14849 if test x"$enablestring" = xdisable; then
14850 if test $wxUSE_TOOLTIPS = no; then
14851 result=yes
14852 else
14853 result=no
14854 fi
14855 else
14856 result=$wxUSE_TOOLTIPS
14857 fi
14858
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14860 $as_echo "$result" >&6; }
14861
14862
14863 enablestring=
14864 defaultval=$wxUSE_ALL_FEATURES
14865 if test -z "$defaultval"; then
14866 if test x"$enablestring" = xdisable; then
14867 defaultval=yes
14868 else
14869 defaultval=no
14870 fi
14871 fi
14872
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14874 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14875 # Check whether --enable-splines was given.
14876 if test "${enable_splines+set}" = set; then :
14877 enableval=$enable_splines;
14878 if test "$enableval" = yes; then
14879 wx_cv_use_splines='wxUSE_SPLINES=yes'
14880 else
14881 wx_cv_use_splines='wxUSE_SPLINES=no'
14882 fi
14883
14884 else
14885
14886 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14887
14888 fi
14889
14890
14891 eval "$wx_cv_use_splines"
14892
14893 if test x"$enablestring" = xdisable; then
14894 if test $wxUSE_SPLINES = no; then
14895 result=yes
14896 else
14897 result=no
14898 fi
14899 else
14900 result=$wxUSE_SPLINES
14901 fi
14902
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14904 $as_echo "$result" >&6; }
14905
14906
14907 enablestring=
14908 defaultval=$wxUSE_ALL_FEATURES
14909 if test -z "$defaultval"; then
14910 if test x"$enablestring" = xdisable; then
14911 defaultval=yes
14912 else
14913 defaultval=no
14914 fi
14915 fi
14916
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14918 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14919 # Check whether --enable-mousewheel was given.
14920 if test "${enable_mousewheel+set}" = set; then :
14921 enableval=$enable_mousewheel;
14922 if test "$enableval" = yes; then
14923 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14924 else
14925 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14926 fi
14927
14928 else
14929
14930 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14931
14932 fi
14933
14934
14935 eval "$wx_cv_use_mousewheel"
14936
14937 if test x"$enablestring" = xdisable; then
14938 if test $wxUSE_MOUSEWHEEL = no; then
14939 result=yes
14940 else
14941 result=no
14942 fi
14943 else
14944 result=$wxUSE_MOUSEWHEEL
14945 fi
14946
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14948 $as_echo "$result" >&6; }
14949
14950
14951 enablestring=
14952 defaultval=$wxUSE_ALL_FEATURES
14953 if test -z "$defaultval"; then
14954 if test x"$enablestring" = xdisable; then
14955 defaultval=yes
14956 else
14957 defaultval=no
14958 fi
14959 fi
14960
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14962 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14963 # Check whether --enable-validators was given.
14964 if test "${enable_validators+set}" = set; then :
14965 enableval=$enable_validators;
14966 if test "$enableval" = yes; then
14967 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14968 else
14969 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14970 fi
14971
14972 else
14973
14974 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14975
14976 fi
14977
14978
14979 eval "$wx_cv_use_validators"
14980
14981 if test x"$enablestring" = xdisable; then
14982 if test $wxUSE_VALIDATORS = no; then
14983 result=yes
14984 else
14985 result=no
14986 fi
14987 else
14988 result=$wxUSE_VALIDATORS
14989 fi
14990
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14992 $as_echo "$result" >&6; }
14993
14994
14995 enablestring=
14996 defaultval=$wxUSE_ALL_FEATURES
14997 if test -z "$defaultval"; then
14998 if test x"$enablestring" = xdisable; then
14999 defaultval=yes
15000 else
15001 defaultval=no
15002 fi
15003 fi
15004
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15006 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15007 # Check whether --enable-busyinfo was given.
15008 if test "${enable_busyinfo+set}" = set; then :
15009 enableval=$enable_busyinfo;
15010 if test "$enableval" = yes; then
15011 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15012 else
15013 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15014 fi
15015
15016 else
15017
15018 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15019
15020 fi
15021
15022
15023 eval "$wx_cv_use_busyinfo"
15024
15025 if test x"$enablestring" = xdisable; then
15026 if test $wxUSE_BUSYINFO = no; then
15027 result=yes
15028 else
15029 result=no
15030 fi
15031 else
15032 result=$wxUSE_BUSYINFO
15033 fi
15034
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15036 $as_echo "$result" >&6; }
15037
15038
15039 enablestring=
15040 defaultval=$wxUSE_ALL_FEATURES
15041 if test -z "$defaultval"; then
15042 if test x"$enablestring" = xdisable; then
15043 defaultval=yes
15044 else
15045 defaultval=no
15046 fi
15047 fi
15048
15049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15050 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15051 # Check whether --enable-hotkey was given.
15052 if test "${enable_hotkey+set}" = set; then :
15053 enableval=$enable_hotkey;
15054 if test "$enableval" = yes; then
15055 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15056 else
15057 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15058 fi
15059
15060 else
15061
15062 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15063
15064 fi
15065
15066
15067 eval "$wx_cv_use_hotkey"
15068
15069 if test x"$enablestring" = xdisable; then
15070 if test $wxUSE_HOTKEY = no; then
15071 result=yes
15072 else
15073 result=no
15074 fi
15075 else
15076 result=$wxUSE_HOTKEY
15077 fi
15078
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15080 $as_echo "$result" >&6; }
15081
15082
15083 enablestring=
15084 defaultval=$wxUSE_ALL_FEATURES
15085 if test -z "$defaultval"; then
15086 if test x"$enablestring" = xdisable; then
15087 defaultval=yes
15088 else
15089 defaultval=no
15090 fi
15091 fi
15092
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15094 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15095 # Check whether --enable-joystick was given.
15096 if test "${enable_joystick+set}" = set; then :
15097 enableval=$enable_joystick;
15098 if test "$enableval" = yes; then
15099 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15100 else
15101 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15102 fi
15103
15104 else
15105
15106 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15107
15108 fi
15109
15110
15111 eval "$wx_cv_use_joystick"
15112
15113 if test x"$enablestring" = xdisable; then
15114 if test $wxUSE_JOYSTICK = no; then
15115 result=yes
15116 else
15117 result=no
15118 fi
15119 else
15120 result=$wxUSE_JOYSTICK
15121 fi
15122
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15124 $as_echo "$result" >&6; }
15125
15126
15127 enablestring=
15128 defaultval=$wxUSE_ALL_FEATURES
15129 if test -z "$defaultval"; then
15130 if test x"$enablestring" = xdisable; then
15131 defaultval=yes
15132 else
15133 defaultval=no
15134 fi
15135 fi
15136
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15138 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15139 # Check whether --enable-metafile was given.
15140 if test "${enable_metafile+set}" = set; then :
15141 enableval=$enable_metafile;
15142 if test "$enableval" = yes; then
15143 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15144 else
15145 wx_cv_use_metafile='wxUSE_METAFILE=no'
15146 fi
15147
15148 else
15149
15150 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15151
15152 fi
15153
15154
15155 eval "$wx_cv_use_metafile"
15156
15157 if test x"$enablestring" = xdisable; then
15158 if test $wxUSE_METAFILE = no; then
15159 result=yes
15160 else
15161 result=no
15162 fi
15163 else
15164 result=$wxUSE_METAFILE
15165 fi
15166
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15168 $as_echo "$result" >&6; }
15169
15170
15171 enablestring=
15172 defaultval=$wxUSE_ALL_FEATURES
15173 if test -z "$defaultval"; then
15174 if test x"$enablestring" = xdisable; then
15175 defaultval=yes
15176 else
15177 defaultval=no
15178 fi
15179 fi
15180
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15182 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15183 # Check whether --enable-dragimage was given.
15184 if test "${enable_dragimage+set}" = set; then :
15185 enableval=$enable_dragimage;
15186 if test "$enableval" = yes; then
15187 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15188 else
15189 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15190 fi
15191
15192 else
15193
15194 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15195
15196 fi
15197
15198
15199 eval "$wx_cv_use_dragimage"
15200
15201 if test x"$enablestring" = xdisable; then
15202 if test $wxUSE_DRAGIMAGE = no; then
15203 result=yes
15204 else
15205 result=no
15206 fi
15207 else
15208 result=$wxUSE_DRAGIMAGE
15209 fi
15210
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15212 $as_echo "$result" >&6; }
15213
15214
15215 enablestring=
15216 defaultval=$wxUSE_ALL_FEATURES
15217 if test -z "$defaultval"; then
15218 if test x"$enablestring" = xdisable; then
15219 defaultval=yes
15220 else
15221 defaultval=no
15222 fi
15223 fi
15224
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15226 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15227 # Check whether --enable-accessibility was given.
15228 if test "${enable_accessibility+set}" = set; then :
15229 enableval=$enable_accessibility;
15230 if test "$enableval" = yes; then
15231 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15232 else
15233 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15234 fi
15235
15236 else
15237
15238 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15239
15240 fi
15241
15242
15243 eval "$wx_cv_use_accessibility"
15244
15245 if test x"$enablestring" = xdisable; then
15246 if test $wxUSE_ACCESSIBILITY = no; then
15247 result=yes
15248 else
15249 result=no
15250 fi
15251 else
15252 result=$wxUSE_ACCESSIBILITY
15253 fi
15254
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15256 $as_echo "$result" >&6; }
15257
15258
15259 enablestring=
15260 defaultval=$wxUSE_ALL_FEATURES
15261 if test -z "$defaultval"; then
15262 if test x"$enablestring" = xdisable; then
15263 defaultval=yes
15264 else
15265 defaultval=no
15266 fi
15267 fi
15268
15269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15270 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15271 # Check whether --enable-uiactionsim was given.
15272 if test "${enable_uiactionsim+set}" = set; then :
15273 enableval=$enable_uiactionsim;
15274 if test "$enableval" = yes; then
15275 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15276 else
15277 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15278 fi
15279
15280 else
15281
15282 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15283
15284 fi
15285
15286
15287 eval "$wx_cv_use_uiactionsim"
15288
15289 if test x"$enablestring" = xdisable; then
15290 if test $wxUSE_UIACTIONSIMULATOR = no; then
15291 result=yes
15292 else
15293 result=no
15294 fi
15295 else
15296 result=$wxUSE_UIACTIONSIMULATOR
15297 fi
15298
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15300 $as_echo "$result" >&6; }
15301
15302
15303 enablestring=
15304 defaultval=$wxUSE_ALL_FEATURES
15305 if test -z "$defaultval"; then
15306 if test x"$enablestring" = xdisable; then
15307 defaultval=yes
15308 else
15309 defaultval=no
15310 fi
15311 fi
15312
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15314 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15315 # Check whether --enable-dctransform was given.
15316 if test "${enable_dctransform+set}" = set; then :
15317 enableval=$enable_dctransform;
15318 if test "$enableval" = yes; then
15319 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15320 else
15321 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15322 fi
15323
15324 else
15325
15326 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15327
15328 fi
15329
15330
15331 eval "$wx_cv_use_dctransform"
15332
15333 if test x"$enablestring" = xdisable; then
15334 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15335 result=yes
15336 else
15337 result=no
15338 fi
15339 else
15340 result=$wxUSE_DC_TRANSFORM_MATRIX
15341 fi
15342
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15344 $as_echo "$result" >&6; }
15345
15346
15347 enablestring=
15348 defaultval=$wxUSE_ALL_FEATURES
15349 if test -z "$defaultval"; then
15350 if test x"$enablestring" = xdisable; then
15351 defaultval=yes
15352 else
15353 defaultval=no
15354 fi
15355 fi
15356
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15358 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15359 # Check whether --enable-webviewwebkit was given.
15360 if test "${enable_webviewwebkit+set}" = set; then :
15361 enableval=$enable_webviewwebkit;
15362 if test "$enableval" = yes; then
15363 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15364 else
15365 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15366 fi
15367
15368 else
15369
15370 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15371
15372 fi
15373
15374
15375 eval "$wx_cv_use_webviewwebkit"
15376
15377 if test x"$enablestring" = xdisable; then
15378 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15379 result=yes
15380 else
15381 result=no
15382 fi
15383 else
15384 result=$wxUSE_WEBVIEW_WEBKIT
15385 fi
15386
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15388 $as_echo "$result" >&6; }
15389
15390
15391
15392
15393 enablestring=
15394 defaultval=$wxUSE_ALL_FEATURES
15395 if test -z "$defaultval"; then
15396 if test x"$enablestring" = xdisable; then
15397 defaultval=yes
15398 else
15399 defaultval=no
15400 fi
15401 fi
15402
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15404 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15405 # Check whether --enable-palette was given.
15406 if test "${enable_palette+set}" = set; then :
15407 enableval=$enable_palette;
15408 if test "$enableval" = yes; then
15409 wx_cv_use_palette='wxUSE_PALETTE=yes'
15410 else
15411 wx_cv_use_palette='wxUSE_PALETTE=no'
15412 fi
15413
15414 else
15415
15416 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15417
15418 fi
15419
15420
15421 eval "$wx_cv_use_palette"
15422
15423 if test x"$enablestring" = xdisable; then
15424 if test $wxUSE_PALETTE = no; then
15425 result=yes
15426 else
15427 result=no
15428 fi
15429 else
15430 result=$wxUSE_PALETTE
15431 fi
15432
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15434 $as_echo "$result" >&6; }
15435
15436
15437 enablestring=
15438 defaultval=$wxUSE_ALL_FEATURES
15439 if test -z "$defaultval"; then
15440 if test x"$enablestring" = xdisable; then
15441 defaultval=yes
15442 else
15443 defaultval=no
15444 fi
15445 fi
15446
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15448 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15449 # Check whether --enable-image was given.
15450 if test "${enable_image+set}" = set; then :
15451 enableval=$enable_image;
15452 if test "$enableval" = yes; then
15453 wx_cv_use_image='wxUSE_IMAGE=yes'
15454 else
15455 wx_cv_use_image='wxUSE_IMAGE=no'
15456 fi
15457
15458 else
15459
15460 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15461
15462 fi
15463
15464
15465 eval "$wx_cv_use_image"
15466
15467 if test x"$enablestring" = xdisable; then
15468 if test $wxUSE_IMAGE = no; then
15469 result=yes
15470 else
15471 result=no
15472 fi
15473 else
15474 result=$wxUSE_IMAGE
15475 fi
15476
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15478 $as_echo "$result" >&6; }
15479
15480
15481 enablestring=
15482 defaultval=$wxUSE_ALL_FEATURES
15483 if test -z "$defaultval"; then
15484 if test x"$enablestring" = xdisable; then
15485 defaultval=yes
15486 else
15487 defaultval=no
15488 fi
15489 fi
15490
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15492 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15493 # Check whether --enable-gif was given.
15494 if test "${enable_gif+set}" = set; then :
15495 enableval=$enable_gif;
15496 if test "$enableval" = yes; then
15497 wx_cv_use_gif='wxUSE_GIF=yes'
15498 else
15499 wx_cv_use_gif='wxUSE_GIF=no'
15500 fi
15501
15502 else
15503
15504 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15505
15506 fi
15507
15508
15509 eval "$wx_cv_use_gif"
15510
15511 if test x"$enablestring" = xdisable; then
15512 if test $wxUSE_GIF = no; then
15513 result=yes
15514 else
15515 result=no
15516 fi
15517 else
15518 result=$wxUSE_GIF
15519 fi
15520
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15522 $as_echo "$result" >&6; }
15523
15524
15525 enablestring=
15526 defaultval=$wxUSE_ALL_FEATURES
15527 if test -z "$defaultval"; then
15528 if test x"$enablestring" = xdisable; then
15529 defaultval=yes
15530 else
15531 defaultval=no
15532 fi
15533 fi
15534
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15536 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15537 # Check whether --enable-pcx was given.
15538 if test "${enable_pcx+set}" = set; then :
15539 enableval=$enable_pcx;
15540 if test "$enableval" = yes; then
15541 wx_cv_use_pcx='wxUSE_PCX=yes'
15542 else
15543 wx_cv_use_pcx='wxUSE_PCX=no'
15544 fi
15545
15546 else
15547
15548 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15549
15550 fi
15551
15552
15553 eval "$wx_cv_use_pcx"
15554
15555 if test x"$enablestring" = xdisable; then
15556 if test $wxUSE_PCX = no; then
15557 result=yes
15558 else
15559 result=no
15560 fi
15561 else
15562 result=$wxUSE_PCX
15563 fi
15564
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15566 $as_echo "$result" >&6; }
15567
15568
15569 enablestring=
15570 defaultval=$wxUSE_ALL_FEATURES
15571 if test -z "$defaultval"; then
15572 if test x"$enablestring" = xdisable; then
15573 defaultval=yes
15574 else
15575 defaultval=no
15576 fi
15577 fi
15578
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15580 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15581 # Check whether --enable-tga was given.
15582 if test "${enable_tga+set}" = set; then :
15583 enableval=$enable_tga;
15584 if test "$enableval" = yes; then
15585 wx_cv_use_tga='wxUSE_TGA=yes'
15586 else
15587 wx_cv_use_tga='wxUSE_TGA=no'
15588 fi
15589
15590 else
15591
15592 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15593
15594 fi
15595
15596
15597 eval "$wx_cv_use_tga"
15598
15599 if test x"$enablestring" = xdisable; then
15600 if test $wxUSE_TGA = no; then
15601 result=yes
15602 else
15603 result=no
15604 fi
15605 else
15606 result=$wxUSE_TGA
15607 fi
15608
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15610 $as_echo "$result" >&6; }
15611
15612
15613 enablestring=
15614 defaultval=$wxUSE_ALL_FEATURES
15615 if test -z "$defaultval"; then
15616 if test x"$enablestring" = xdisable; then
15617 defaultval=yes
15618 else
15619 defaultval=no
15620 fi
15621 fi
15622
15623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15624 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15625 # Check whether --enable-iff was given.
15626 if test "${enable_iff+set}" = set; then :
15627 enableval=$enable_iff;
15628 if test "$enableval" = yes; then
15629 wx_cv_use_iff='wxUSE_IFF=yes'
15630 else
15631 wx_cv_use_iff='wxUSE_IFF=no'
15632 fi
15633
15634 else
15635
15636 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15637
15638 fi
15639
15640
15641 eval "$wx_cv_use_iff"
15642
15643 if test x"$enablestring" = xdisable; then
15644 if test $wxUSE_IFF = no; then
15645 result=yes
15646 else
15647 result=no
15648 fi
15649 else
15650 result=$wxUSE_IFF
15651 fi
15652
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15654 $as_echo "$result" >&6; }
15655
15656
15657 enablestring=
15658 defaultval=$wxUSE_ALL_FEATURES
15659 if test -z "$defaultval"; then
15660 if test x"$enablestring" = xdisable; then
15661 defaultval=yes
15662 else
15663 defaultval=no
15664 fi
15665 fi
15666
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15668 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15669 # Check whether --enable-pnm was given.
15670 if test "${enable_pnm+set}" = set; then :
15671 enableval=$enable_pnm;
15672 if test "$enableval" = yes; then
15673 wx_cv_use_pnm='wxUSE_PNM=yes'
15674 else
15675 wx_cv_use_pnm='wxUSE_PNM=no'
15676 fi
15677
15678 else
15679
15680 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15681
15682 fi
15683
15684
15685 eval "$wx_cv_use_pnm"
15686
15687 if test x"$enablestring" = xdisable; then
15688 if test $wxUSE_PNM = no; then
15689 result=yes
15690 else
15691 result=no
15692 fi
15693 else
15694 result=$wxUSE_PNM
15695 fi
15696
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15698 $as_echo "$result" >&6; }
15699
15700
15701 enablestring=
15702 defaultval=$wxUSE_ALL_FEATURES
15703 if test -z "$defaultval"; then
15704 if test x"$enablestring" = xdisable; then
15705 defaultval=yes
15706 else
15707 defaultval=no
15708 fi
15709 fi
15710
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15712 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15713 # Check whether --enable-xpm was given.
15714 if test "${enable_xpm+set}" = set; then :
15715 enableval=$enable_xpm;
15716 if test "$enableval" = yes; then
15717 wx_cv_use_xpm='wxUSE_XPM=yes'
15718 else
15719 wx_cv_use_xpm='wxUSE_XPM=no'
15720 fi
15721
15722 else
15723
15724 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15725
15726 fi
15727
15728
15729 eval "$wx_cv_use_xpm"
15730
15731 if test x"$enablestring" = xdisable; then
15732 if test $wxUSE_XPM = no; then
15733 result=yes
15734 else
15735 result=no
15736 fi
15737 else
15738 result=$wxUSE_XPM
15739 fi
15740
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15742 $as_echo "$result" >&6; }
15743
15744
15745 enablestring=
15746 defaultval=$wxUSE_ALL_FEATURES
15747 if test -z "$defaultval"; then
15748 if test x"$enablestring" = xdisable; then
15749 defaultval=yes
15750 else
15751 defaultval=no
15752 fi
15753 fi
15754
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15756 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15757 # Check whether --enable-ico_cur was given.
15758 if test "${enable_ico_cur+set}" = set; then :
15759 enableval=$enable_ico_cur;
15760 if test "$enableval" = yes; then
15761 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15762 else
15763 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15764 fi
15765
15766 else
15767
15768 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15769
15770 fi
15771
15772
15773 eval "$wx_cv_use_ico_cur"
15774
15775 if test x"$enablestring" = xdisable; then
15776 if test $wxUSE_ICO_CUR = no; then
15777 result=yes
15778 else
15779 result=no
15780 fi
15781 else
15782 result=$wxUSE_ICO_CUR
15783 fi
15784
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15786 $as_echo "$result" >&6; }
15787
15788
15789
15790
15791 enablestring=
15792 defaultval=$wxUSE_ALL_FEATURES
15793 if test -z "$defaultval"; then
15794 if test x"$enablestring" = xdisable; then
15795 defaultval=yes
15796 else
15797 defaultval=no
15798 fi
15799 fi
15800
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15802 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15803 # Check whether --enable-dccache was given.
15804 if test "${enable_dccache+set}" = set; then :
15805 enableval=$enable_dccache;
15806 if test "$enableval" = yes; then
15807 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15808 else
15809 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15810 fi
15811
15812 else
15813
15814 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15815
15816 fi
15817
15818
15819 eval "$wx_cv_use_dccache"
15820
15821 if test x"$enablestring" = xdisable; then
15822 if test $wxUSE_DC_CACHEING = no; then
15823 result=yes
15824 else
15825 result=no
15826 fi
15827 else
15828 result=$wxUSE_DC_CACHEING
15829 fi
15830
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15832 $as_echo "$result" >&6; }
15833
15834
15835 enablestring=
15836 defaultval=$wxUSE_ALL_FEATURES
15837 if test -z "$defaultval"; then
15838 if test x"$enablestring" = xdisable; then
15839 defaultval=yes
15840 else
15841 defaultval=no
15842 fi
15843 fi
15844
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15846 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15847 # Check whether --enable-ps-in-msw was given.
15848 if test "${enable_ps_in_msw+set}" = set; then :
15849 enableval=$enable_ps_in_msw;
15850 if test "$enableval" = yes; then
15851 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15852 else
15853 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15854 fi
15855
15856 else
15857
15858 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15859
15860 fi
15861
15862
15863 eval "$wx_cv_use_ps_in_msw"
15864
15865 if test x"$enablestring" = xdisable; then
15866 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15867 result=yes
15868 else
15869 result=no
15870 fi
15871 else
15872 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15873 fi
15874
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15876 $as_echo "$result" >&6; }
15877
15878
15879 enablestring=
15880 defaultval=$wxUSE_ALL_FEATURES
15881 if test -z "$defaultval"; then
15882 if test x"$enablestring" = xdisable; then
15883 defaultval=yes
15884 else
15885 defaultval=no
15886 fi
15887 fi
15888
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15890 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15891 # Check whether --enable-ownerdrawn was given.
15892 if test "${enable_ownerdrawn+set}" = set; then :
15893 enableval=$enable_ownerdrawn;
15894 if test "$enableval" = yes; then
15895 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15896 else
15897 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15898 fi
15899
15900 else
15901
15902 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15903
15904 fi
15905
15906
15907 eval "$wx_cv_use_ownerdrawn"
15908
15909 if test x"$enablestring" = xdisable; then
15910 if test $wxUSE_OWNER_DRAWN = no; then
15911 result=yes
15912 else
15913 result=no
15914 fi
15915 else
15916 result=$wxUSE_OWNER_DRAWN
15917 fi
15918
15919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15920 $as_echo "$result" >&6; }
15921
15922
15923 enablestring=
15924 defaultval=$wxUSE_ALL_FEATURES
15925 if test -z "$defaultval"; then
15926 if test x"$enablestring" = xdisable; then
15927 defaultval=yes
15928 else
15929 defaultval=no
15930 fi
15931 fi
15932
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15934 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15935 # Check whether --enable-uxtheme was given.
15936 if test "${enable_uxtheme+set}" = set; then :
15937 enableval=$enable_uxtheme;
15938 if test "$enableval" = yes; then
15939 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15940 else
15941 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15942 fi
15943
15944 else
15945
15946 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15947
15948 fi
15949
15950
15951 eval "$wx_cv_use_uxtheme"
15952
15953 if test x"$enablestring" = xdisable; then
15954 if test $wxUSE_UXTHEME = no; then
15955 result=yes
15956 else
15957 result=no
15958 fi
15959 else
15960 result=$wxUSE_UXTHEME
15961 fi
15962
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15964 $as_echo "$result" >&6; }
15965
15966
15967 enablestring=
15968 defaultval=$wxUSE_ALL_FEATURES
15969 if test -z "$defaultval"; then
15970 if test x"$enablestring" = xdisable; then
15971 defaultval=yes
15972 else
15973 defaultval=no
15974 fi
15975 fi
15976
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15978 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15979 # Check whether --enable-wxdib was given.
15980 if test "${enable_wxdib+set}" = set; then :
15981 enableval=$enable_wxdib;
15982 if test "$enableval" = yes; then
15983 wx_cv_use_wxdib='wxUSE_DIB=yes'
15984 else
15985 wx_cv_use_wxdib='wxUSE_DIB=no'
15986 fi
15987
15988 else
15989
15990 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15991
15992 fi
15993
15994
15995 eval "$wx_cv_use_wxdib"
15996
15997 if test x"$enablestring" = xdisable; then
15998 if test $wxUSE_DIB = no; then
15999 result=yes
16000 else
16001 result=no
16002 fi
16003 else
16004 result=$wxUSE_DIB
16005 fi
16006
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16008 $as_echo "$result" >&6; }
16009
16010
16011 enablestring=
16012 defaultval=$wxUSE_ALL_FEATURES
16013 if test -z "$defaultval"; then
16014 if test x"$enablestring" = xdisable; then
16015 defaultval=yes
16016 else
16017 defaultval=no
16018 fi
16019 fi
16020
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16022 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16023 # Check whether --enable-webviewie was given.
16024 if test "${enable_webviewie+set}" = set; then :
16025 enableval=$enable_webviewie;
16026 if test "$enableval" = yes; then
16027 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16028 else
16029 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16030 fi
16031
16032 else
16033
16034 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16035
16036 fi
16037
16038
16039 eval "$wx_cv_use_webviewie"
16040
16041 if test x"$enablestring" = xdisable; then
16042 if test $wxUSE_WEBVIEW_IE = no; then
16043 result=yes
16044 else
16045 result=no
16046 fi
16047 else
16048 result=$wxUSE_WEBVIEW_IE
16049 fi
16050
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16052 $as_echo "$result" >&6; }
16053
16054
16055 if test "$wxUSE_MSW" != 1; then
16056 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16057 fi
16058
16059
16060 enablestring=
16061 defaultval=$wxUSE_ALL_FEATURES
16062 if test -z "$defaultval"; then
16063 if test x"$enablestring" = xdisable; then
16064 defaultval=yes
16065 else
16066 defaultval=no
16067 fi
16068 fi
16069
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16071 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16072 # Check whether --enable-autoidman was given.
16073 if test "${enable_autoidman+set}" = set; then :
16074 enableval=$enable_autoidman;
16075 if test "$enableval" = yes; then
16076 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16077 else
16078 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16079 fi
16080
16081 else
16082
16083 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16084
16085 fi
16086
16087
16088 eval "$wx_cv_use_autoidman"
16089
16090 if test x"$enablestring" = xdisable; then
16091 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16092 result=yes
16093 else
16094 result=no
16095 fi
16096 else
16097 result=$wxUSE_AUTOID_MANAGEMENT
16098 fi
16099
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16101 $as_echo "$result" >&6; }
16102
16103
16104 fi
16105
16106
16107 cat >confcache <<\_ACEOF
16108 # This file is a shell script that caches the results of configure
16109 # tests run on this system so they can be shared between configure
16110 # scripts and configure runs, see configure's option --config-cache.
16111 # It is not useful on other systems. If it contains results you don't
16112 # want to keep, you may remove or edit it.
16113 #
16114 # config.status only pays attention to the cache file if you give it
16115 # the --recheck option to rerun configure.
16116 #
16117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16119 # following values.
16120
16121 _ACEOF
16122
16123 # The following way of writing the cache mishandles newlines in values,
16124 # but we know of no workaround that is simple, portable, and efficient.
16125 # So, we kill variables containing newlines.
16126 # Ultrix sh set writes to stderr and can't be redirected directly,
16127 # and sets the high bit in the cache file unless we assign to the vars.
16128 (
16129 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16130 eval ac_val=\$$ac_var
16131 case $ac_val in #(
16132 *${as_nl}*)
16133 case $ac_var in #(
16134 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16136 esac
16137 case $ac_var in #(
16138 _ | IFS | as_nl) ;; #(
16139 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16140 *) { eval $ac_var=; unset $ac_var;} ;;
16141 esac ;;
16142 esac
16143 done
16144
16145 (set) 2>&1 |
16146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16147 *${as_nl}ac_space=\ *)
16148 # `set' does not quote correctly, so add quotes: double-quote
16149 # substitution turns \\\\ into \\, and sed turns \\ into \.
16150 sed -n \
16151 "s/'/'\\\\''/g;
16152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16153 ;; #(
16154 *)
16155 # `set' quotes correctly as required by POSIX, so do not add quotes.
16156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16157 ;;
16158 esac |
16159 sort
16160 ) |
16161 sed '
16162 /^ac_cv_env_/b end
16163 t clear
16164 :clear
16165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16166 t end
16167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16168 :end' >>confcache
16169 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16170 if test -w "$cache_file"; then
16171 test "x$cache_file" != "x/dev/null" &&
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16173 $as_echo "$as_me: updating cache $cache_file" >&6;}
16174 cat confcache >$cache_file
16175 else
16176 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16177 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16178 fi
16179 fi
16180 rm -f confcache
16181
16182 CFLAGS=${CFLAGS:=}
16183 ac_ext=c
16184 ac_cpp='$CPP $CPPFLAGS'
16185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16188 if test -n "$ac_tool_prefix"; then
16189 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16190 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16192 $as_echo_n "checking for $ac_word... " >&6; }
16193 if test "${ac_cv_prog_CC+set}" = set; then :
16194 $as_echo_n "(cached) " >&6
16195 else
16196 if test -n "$CC"; then
16197 ac_cv_prog_CC="$CC" # Let the user override the test.
16198 else
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16201 do
16202 IFS=$as_save_IFS
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16208 break 2
16209 fi
16210 done
16211 done
16212 IFS=$as_save_IFS
16213
16214 fi
16215 fi
16216 CC=$ac_cv_prog_CC
16217 if test -n "$CC"; then
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16219 $as_echo "$CC" >&6; }
16220 else
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222 $as_echo "no" >&6; }
16223 fi
16224
16225
16226 fi
16227 if test -z "$ac_cv_prog_CC"; then
16228 ac_ct_CC=$CC
16229 # Extract the first word of "gcc", so it can be a program name with args.
16230 set dummy gcc; ac_word=$2
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16232 $as_echo_n "checking for $ac_word... " >&6; }
16233 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16234 $as_echo_n "(cached) " >&6
16235 else
16236 if test -n "$ac_ct_CC"; then
16237 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16238 else
16239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16240 for as_dir in $PATH
16241 do
16242 IFS=$as_save_IFS
16243 test -z "$as_dir" && as_dir=.
16244 for ac_exec_ext in '' $ac_executable_extensions; do
16245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16246 ac_cv_prog_ac_ct_CC="gcc"
16247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16248 break 2
16249 fi
16250 done
16251 done
16252 IFS=$as_save_IFS
16253
16254 fi
16255 fi
16256 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16257 if test -n "$ac_ct_CC"; then
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16259 $as_echo "$ac_ct_CC" >&6; }
16260 else
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16262 $as_echo "no" >&6; }
16263 fi
16264
16265 if test "x$ac_ct_CC" = x; then
16266 CC=""
16267 else
16268 case $cross_compiling:$ac_tool_warned in
16269 yes:)
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16272 ac_tool_warned=yes ;;
16273 esac
16274 CC=$ac_ct_CC
16275 fi
16276 else
16277 CC="$ac_cv_prog_CC"
16278 fi
16279
16280 if test -z "$CC"; then
16281 if test -n "$ac_tool_prefix"; then
16282 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16283 set dummy ${ac_tool_prefix}cc; ac_word=$2
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16285 $as_echo_n "checking for $ac_word... " >&6; }
16286 if test "${ac_cv_prog_CC+set}" = set; then :
16287 $as_echo_n "(cached) " >&6
16288 else
16289 if test -n "$CC"; then
16290 ac_cv_prog_CC="$CC" # Let the user override the test.
16291 else
16292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16293 for as_dir in $PATH
16294 do
16295 IFS=$as_save_IFS
16296 test -z "$as_dir" && as_dir=.
16297 for ac_exec_ext in '' $ac_executable_extensions; do
16298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16299 ac_cv_prog_CC="${ac_tool_prefix}cc"
16300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16301 break 2
16302 fi
16303 done
16304 done
16305 IFS=$as_save_IFS
16306
16307 fi
16308 fi
16309 CC=$ac_cv_prog_CC
16310 if test -n "$CC"; then
16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16312 $as_echo "$CC" >&6; }
16313 else
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16315 $as_echo "no" >&6; }
16316 fi
16317
16318
16319 fi
16320 fi
16321 if test -z "$CC"; then
16322 # Extract the first word of "cc", so it can be a program name with args.
16323 set dummy cc; ac_word=$2
16324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16325 $as_echo_n "checking for $ac_word... " >&6; }
16326 if test "${ac_cv_prog_CC+set}" = set; then :
16327 $as_echo_n "(cached) " >&6
16328 else
16329 if test -n "$CC"; then
16330 ac_cv_prog_CC="$CC" # Let the user override the test.
16331 else
16332 ac_prog_rejected=no
16333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16334 for as_dir in $PATH
16335 do
16336 IFS=$as_save_IFS
16337 test -z "$as_dir" && as_dir=.
16338 for ac_exec_ext in '' $ac_executable_extensions; do
16339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16340 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16341 ac_prog_rejected=yes
16342 continue
16343 fi
16344 ac_cv_prog_CC="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 if test $ac_prog_rejected = yes; then
16353 # We found a bogon in the path, so make sure we never use it.
16354 set dummy $ac_cv_prog_CC
16355 shift
16356 if test $# != 0; then
16357 # We chose a different compiler from the bogus one.
16358 # However, it has the same basename, so the bogon will be chosen
16359 # first if we set CC to just the basename; use the full file name.
16360 shift
16361 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16362 fi
16363 fi
16364 fi
16365 fi
16366 CC=$ac_cv_prog_CC
16367 if test -n "$CC"; then
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16369 $as_echo "$CC" >&6; }
16370 else
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16372 $as_echo "no" >&6; }
16373 fi
16374
16375
16376 fi
16377 if test -z "$CC"; then
16378 if test -n "$ac_tool_prefix"; then
16379 for ac_prog in cl.exe
16380 do
16381 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16382 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16384 $as_echo_n "checking for $ac_word... " >&6; }
16385 if test "${ac_cv_prog_CC+set}" = set; then :
16386 $as_echo_n "(cached) " >&6
16387 else
16388 if test -n "$CC"; then
16389 ac_cv_prog_CC="$CC" # Let the user override the test.
16390 else
16391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16392 for as_dir in $PATH
16393 do
16394 IFS=$as_save_IFS
16395 test -z "$as_dir" && as_dir=.
16396 for ac_exec_ext in '' $ac_executable_extensions; do
16397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16398 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16400 break 2
16401 fi
16402 done
16403 done
16404 IFS=$as_save_IFS
16405
16406 fi
16407 fi
16408 CC=$ac_cv_prog_CC
16409 if test -n "$CC"; then
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16411 $as_echo "$CC" >&6; }
16412 else
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16414 $as_echo "no" >&6; }
16415 fi
16416
16417
16418 test -n "$CC" && break
16419 done
16420 fi
16421 if test -z "$CC"; then
16422 ac_ct_CC=$CC
16423 for ac_prog in cl.exe
16424 do
16425 # Extract the first word of "$ac_prog", so it can be a program name with args.
16426 set dummy $ac_prog; ac_word=$2
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16428 $as_echo_n "checking for $ac_word... " >&6; }
16429 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16432 if test -n "$ac_ct_CC"; then
16433 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16434 else
16435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16436 for as_dir in $PATH
16437 do
16438 IFS=$as_save_IFS
16439 test -z "$as_dir" && as_dir=.
16440 for ac_exec_ext in '' $ac_executable_extensions; do
16441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16442 ac_cv_prog_ac_ct_CC="$ac_prog"
16443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16444 break 2
16445 fi
16446 done
16447 done
16448 IFS=$as_save_IFS
16449
16450 fi
16451 fi
16452 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16453 if test -n "$ac_ct_CC"; then
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16455 $as_echo "$ac_ct_CC" >&6; }
16456 else
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16458 $as_echo "no" >&6; }
16459 fi
16460
16461
16462 test -n "$ac_ct_CC" && break
16463 done
16464
16465 if test "x$ac_ct_CC" = x; then
16466 CC=""
16467 else
16468 case $cross_compiling:$ac_tool_warned in
16469 yes:)
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16472 ac_tool_warned=yes ;;
16473 esac
16474 CC=$ac_ct_CC
16475 fi
16476 fi
16477
16478 fi
16479
16480
16481 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16482 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16483 as_fn_error $? "no acceptable C compiler found in \$PATH
16484 See \`config.log' for more details" "$LINENO" 5; }
16485
16486 # Provide some information about the compiler.
16487 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16488 set X $ac_compile
16489 ac_compiler=$2
16490 for ac_option in --version -v -V -qversion; do
16491 { { ac_try="$ac_compiler $ac_option >&5"
16492 case "(($ac_try" in
16493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16494 *) ac_try_echo=$ac_try;;
16495 esac
16496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16497 $as_echo "$ac_try_echo"; } >&5
16498 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16499 ac_status=$?
16500 if test -s conftest.err; then
16501 sed '10a\
16502 ... rest of stderr output deleted ...
16503 10q' conftest.err >conftest.er1
16504 cat conftest.er1 >&5
16505 fi
16506 rm -f conftest.er1 conftest.err
16507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16508 test $ac_status = 0; }
16509 done
16510
16511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16512 /* end confdefs.h. */
16513
16514 int
16515 main ()
16516 {
16517
16518 ;
16519 return 0;
16520 }
16521 _ACEOF
16522 ac_clean_files_save=$ac_clean_files
16523 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16524 # Try to create an executable without -o first, disregard a.out.
16525 # It will help us diagnose broken compilers, and finding out an intuition
16526 # of exeext.
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16528 $as_echo_n "checking whether the C compiler works... " >&6; }
16529 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16530
16531 # The possible output files:
16532 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16533
16534 ac_rmfiles=
16535 for ac_file in $ac_files
16536 do
16537 case $ac_file in
16538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16539 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16540 esac
16541 done
16542 rm -f $ac_rmfiles
16543
16544 if { { ac_try="$ac_link_default"
16545 case "(($ac_try" in
16546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16548 esac
16549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16550 $as_echo "$ac_try_echo"; } >&5
16551 (eval "$ac_link_default") 2>&5
16552 ac_status=$?
16553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16554 test $ac_status = 0; }; then :
16555 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16556 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16557 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16558 # so that the user can short-circuit this test for compilers unknown to
16559 # Autoconf.
16560 for ac_file in $ac_files ''
16561 do
16562 test -f "$ac_file" || continue
16563 case $ac_file in
16564 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16565 ;;
16566 [ab].out )
16567 # We found the default executable, but exeext='' is most
16568 # certainly right.
16569 break;;
16570 *.* )
16571 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16572 then :; else
16573 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16574 fi
16575 # We set ac_cv_exeext here because the later test for it is not
16576 # safe: cross compilers may not add the suffix if given an `-o'
16577 # argument, so we may need to know it at that point already.
16578 # Even if this section looks crufty: it has the advantage of
16579 # actually working.
16580 break;;
16581 * )
16582 break;;
16583 esac
16584 done
16585 test "$ac_cv_exeext" = no && ac_cv_exeext=
16586
16587 else
16588 ac_file=''
16589 fi
16590 if test -z "$ac_file"; then :
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16592 $as_echo "no" >&6; }
16593 $as_echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16595
16596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16598 as_fn_error 77 "C compiler cannot create executables
16599 See \`config.log' for more details" "$LINENO" 5; }
16600 else
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16602 $as_echo "yes" >&6; }
16603 fi
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16605 $as_echo_n "checking for C compiler default output file name... " >&6; }
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16607 $as_echo "$ac_file" >&6; }
16608 ac_exeext=$ac_cv_exeext
16609
16610 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16611 ac_clean_files=$ac_clean_files_save
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16613 $as_echo_n "checking for suffix of executables... " >&6; }
16614 if { { ac_try="$ac_link"
16615 case "(($ac_try" in
16616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16617 *) ac_try_echo=$ac_try;;
16618 esac
16619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16620 $as_echo "$ac_try_echo"; } >&5
16621 (eval "$ac_link") 2>&5
16622 ac_status=$?
16623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16624 test $ac_status = 0; }; then :
16625 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16626 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16627 # work properly (i.e., refer to `conftest.exe'), while it won't with
16628 # `rm'.
16629 for ac_file in conftest.exe conftest conftest.*; do
16630 test -f "$ac_file" || continue
16631 case $ac_file in
16632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16633 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16634 break;;
16635 * ) break;;
16636 esac
16637 done
16638 else
16639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16641 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16642 See \`config.log' for more details" "$LINENO" 5; }
16643 fi
16644 rm -f conftest conftest$ac_cv_exeext
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16646 $as_echo "$ac_cv_exeext" >&6; }
16647
16648 rm -f conftest.$ac_ext
16649 EXEEXT=$ac_cv_exeext
16650 ac_exeext=$EXEEXT
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16653 #include <stdio.h>
16654 int
16655 main ()
16656 {
16657 FILE *f = fopen ("conftest.out", "w");
16658 return ferror (f) || fclose (f) != 0;
16659
16660 ;
16661 return 0;
16662 }
16663 _ACEOF
16664 ac_clean_files="$ac_clean_files conftest.out"
16665 # Check that the compiler produces executables we can run. If not, either
16666 # the compiler is broken, or we cross compile.
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16668 $as_echo_n "checking whether we are cross compiling... " >&6; }
16669 if test "$cross_compiling" != yes; then
16670 { { ac_try="$ac_link"
16671 case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16674 esac
16675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16676 $as_echo "$ac_try_echo"; } >&5
16677 (eval "$ac_link") 2>&5
16678 ac_status=$?
16679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16680 test $ac_status = 0; }
16681 if { ac_try='./conftest$ac_cv_exeext'
16682 { { case "(($ac_try" in
16683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16684 *) ac_try_echo=$ac_try;;
16685 esac
16686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16687 $as_echo "$ac_try_echo"; } >&5
16688 (eval "$ac_try") 2>&5
16689 ac_status=$?
16690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16691 test $ac_status = 0; }; }; then
16692 cross_compiling=no
16693 else
16694 if test "$cross_compiling" = maybe; then
16695 cross_compiling=yes
16696 else
16697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16699 as_fn_error $? "cannot run C compiled programs.
16700 If you meant to cross compile, use \`--host'.
16701 See \`config.log' for more details" "$LINENO" 5; }
16702 fi
16703 fi
16704 fi
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16706 $as_echo "$cross_compiling" >&6; }
16707
16708 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16709 ac_clean_files=$ac_clean_files_save
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16711 $as_echo_n "checking for suffix of object files... " >&6; }
16712 if test "${ac_cv_objext+set}" = set; then :
16713 $as_echo_n "(cached) " >&6
16714 else
16715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16716 /* end confdefs.h. */
16717
16718 int
16719 main ()
16720 {
16721
16722 ;
16723 return 0;
16724 }
16725 _ACEOF
16726 rm -f conftest.o conftest.obj
16727 if { { ac_try="$ac_compile"
16728 case "(($ac_try" in
16729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16730 *) ac_try_echo=$ac_try;;
16731 esac
16732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16733 $as_echo "$ac_try_echo"; } >&5
16734 (eval "$ac_compile") 2>&5
16735 ac_status=$?
16736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16737 test $ac_status = 0; }; then :
16738 for ac_file in conftest.o conftest.obj conftest.*; do
16739 test -f "$ac_file" || continue;
16740 case $ac_file in
16741 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16742 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16743 break;;
16744 esac
16745 done
16746 else
16747 $as_echo "$as_me: failed program was:" >&5
16748 sed 's/^/| /' conftest.$ac_ext >&5
16749
16750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16752 as_fn_error $? "cannot compute suffix of object files: cannot compile
16753 See \`config.log' for more details" "$LINENO" 5; }
16754 fi
16755 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16756 fi
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16758 $as_echo "$ac_cv_objext" >&6; }
16759 OBJEXT=$ac_cv_objext
16760 ac_objext=$OBJEXT
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16762 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16763 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16764 $as_echo_n "(cached) " >&6
16765 else
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16768
16769 int
16770 main ()
16771 {
16772 #ifndef __GNUC__
16773 choke me
16774 #endif
16775
16776 ;
16777 return 0;
16778 }
16779 _ACEOF
16780 if ac_fn_c_try_compile "$LINENO"; then :
16781 ac_compiler_gnu=yes
16782 else
16783 ac_compiler_gnu=no
16784 fi
16785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16786 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16787
16788 fi
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16790 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16791 if test $ac_compiler_gnu = yes; then
16792 GCC=yes
16793 else
16794 GCC=
16795 fi
16796 ac_test_CFLAGS=${CFLAGS+set}
16797 ac_save_CFLAGS=$CFLAGS
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16799 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16800 if test "${ac_cv_prog_cc_g+set}" = set; then :
16801 $as_echo_n "(cached) " >&6
16802 else
16803 ac_save_c_werror_flag=$ac_c_werror_flag
16804 ac_c_werror_flag=yes
16805 ac_cv_prog_cc_g=no
16806 CFLAGS="-g"
16807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16808 /* end confdefs.h. */
16809
16810 int
16811 main ()
16812 {
16813
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 if ac_fn_c_try_compile "$LINENO"; then :
16819 ac_cv_prog_cc_g=yes
16820 else
16821 CFLAGS=""
16822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16823 /* end confdefs.h. */
16824
16825 int
16826 main ()
16827 {
16828
16829 ;
16830 return 0;
16831 }
16832 _ACEOF
16833 if ac_fn_c_try_compile "$LINENO"; then :
16834
16835 else
16836 ac_c_werror_flag=$ac_save_c_werror_flag
16837 CFLAGS="-g"
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16840
16841 int
16842 main ()
16843 {
16844
16845 ;
16846 return 0;
16847 }
16848 _ACEOF
16849 if ac_fn_c_try_compile "$LINENO"; then :
16850 ac_cv_prog_cc_g=yes
16851 fi
16852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16853 fi
16854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16855 fi
16856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16857 ac_c_werror_flag=$ac_save_c_werror_flag
16858 fi
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16860 $as_echo "$ac_cv_prog_cc_g" >&6; }
16861 if test "$ac_test_CFLAGS" = set; then
16862 CFLAGS=$ac_save_CFLAGS
16863 elif test $ac_cv_prog_cc_g = yes; then
16864 if test "$GCC" = yes; then
16865 CFLAGS="-g -O2"
16866 else
16867 CFLAGS="-g"
16868 fi
16869 else
16870 if test "$GCC" = yes; then
16871 CFLAGS="-O2"
16872 else
16873 CFLAGS=
16874 fi
16875 fi
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16877 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16878 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16879 $as_echo_n "(cached) " >&6
16880 else
16881 ac_cv_prog_cc_c89=no
16882 ac_save_CC=$CC
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 #include <stdarg.h>
16886 #include <stdio.h>
16887 #include <sys/types.h>
16888 #include <sys/stat.h>
16889 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16890 struct buf { int x; };
16891 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16892 static char *e (p, i)
16893 char **p;
16894 int i;
16895 {
16896 return p[i];
16897 }
16898 static char *f (char * (*g) (char **, int), char **p, ...)
16899 {
16900 char *s;
16901 va_list v;
16902 va_start (v,p);
16903 s = g (p, va_arg (v,int));
16904 va_end (v);
16905 return s;
16906 }
16907
16908 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16909 function prototypes and stuff, but not '\xHH' hex character constants.
16910 These don't provoke an error unfortunately, instead are silently treated
16911 as 'x'. The following induces an error, until -std is added to get
16912 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16913 array size at least. It's necessary to write '\x00'==0 to get something
16914 that's true only with -std. */
16915 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16916
16917 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16918 inside strings and character constants. */
16919 #define FOO(x) 'x'
16920 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16921
16922 int test (int i, double x);
16923 struct s1 {int (*f) (int a);};
16924 struct s2 {int (*f) (double a);};
16925 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16926 int argc;
16927 char **argv;
16928 int
16929 main ()
16930 {
16931 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16932 ;
16933 return 0;
16934 }
16935 _ACEOF
16936 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16937 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16938 do
16939 CC="$ac_save_CC $ac_arg"
16940 if ac_fn_c_try_compile "$LINENO"; then :
16941 ac_cv_prog_cc_c89=$ac_arg
16942 fi
16943 rm -f core conftest.err conftest.$ac_objext
16944 test "x$ac_cv_prog_cc_c89" != "xno" && break
16945 done
16946 rm -f conftest.$ac_ext
16947 CC=$ac_save_CC
16948
16949 fi
16950 # AC_CACHE_VAL
16951 case "x$ac_cv_prog_cc_c89" in
16952 x)
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16954 $as_echo "none needed" >&6; } ;;
16955 xno)
16956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16957 $as_echo "unsupported" >&6; } ;;
16958 *)
16959 CC="$CC $ac_cv_prog_cc_c89"
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16961 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16962 esac
16963 if test "x$ac_cv_prog_cc_c89" != xno; then :
16964
16965 fi
16966
16967 ac_ext=c
16968 ac_cpp='$CPP $CPPFLAGS'
16969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16972
16973
16974
16975
16976
16977
16978
16979
16980 ac_ext=c
16981 ac_cpp='$CPP $CPPFLAGS'
16982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16985
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
16987 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
16988 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then :
16989 $as_echo_n "(cached) " >&6
16990 else
16991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16993
16994 int
16995 main ()
16996 {
16997
16998 #ifndef __INTEL_COMPILER
16999 choke me
17000 #endif
17001
17002 ;
17003 return 0;
17004 }
17005 _ACEOF
17006 if ac_fn_c_try_compile "$LINENO"; then :
17007 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17008 else
17009 bakefile_cv_c_compiler___INTEL_COMPILER=no
17010
17011 fi
17012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17013
17014
17015 fi
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17017 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17018 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17019 :; INTELCC=yes
17020 else
17021 :;
17022 fi
17023 ac_ext=c
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17028
17029
17030
17031
17032 if test "$INTELCC" = "yes"; then
17033
17034
17035 ac_ext=c
17036 ac_cpp='$CPP $CPPFLAGS'
17037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17040
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17042 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17043 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
17044 $as_echo_n "(cached) " >&6
17045 else
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048
17049 int
17050 main ()
17051 {
17052
17053 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17054 choke me
17055 #endif
17056
17057 ;
17058 return 0;
17059 }
17060 _ACEOF
17061 if ac_fn_c_try_compile "$LINENO"; then :
17062 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17063 else
17064 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17065
17066 fi
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068
17069
17070 fi
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17072 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17073 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17074 :; INTELCC8=yes
17075 else
17076 :;
17077 fi
17078 ac_ext=c
17079 ac_cpp='$CPP $CPPFLAGS'
17080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17083
17084
17085
17086
17087
17088 ac_ext=c
17089 ac_cpp='$CPP $CPPFLAGS'
17090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17093
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17095 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17096 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
17097 $as_echo_n "(cached) " >&6
17098 else
17099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17100 /* end confdefs.h. */
17101
17102 int
17103 main ()
17104 {
17105
17106 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17107 choke me
17108 #endif
17109
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 if ac_fn_c_try_compile "$LINENO"; then :
17115 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17116 else
17117 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17118
17119 fi
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17121
17122
17123 fi
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17125 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17126 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17127 :; INTELCC10=yes
17128 else
17129 :;
17130 fi
17131 ac_ext=c
17132 ac_cpp='$CPP $CPPFLAGS'
17133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17136
17137
17138
17139 fi
17140
17141 if test "x$GCC" != "xyes"; then
17142 if test "xCC" = "xC"; then
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17144 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17145 if test "${bakefile_cv_c_exto+set}" = set; then :
17146 $as_echo_n "(cached) " >&6
17147 else
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150
17151 int
17152 main ()
17153 {
17154
17155 ;
17156 return 0;
17157 }
17158 _ACEOF
17159 rm -f conftest.$ac_objext conftest.$ac_ext.o
17160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17161 (eval $ac_compile) 2>&5
17162 ac_status=$?
17163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17164 test $ac_status = 0; }; then :
17165 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17166 case $ac_file in
17167 conftest.$ac_ext.o)
17168 bakefile_cv_c_exto="-ext o"
17169 ;;
17170 *)
17171 ;;
17172 esac
17173 done
17174 else
17175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17177 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17178 See \`config.log' for more details" "$LINENO" 5; }
17179
17180 fi
17181 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17182
17183 fi
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17185 $as_echo "$bakefile_cv_c_exto" >&6; }
17186 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17187 if test "c" = "c"; then
17188 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17189 fi
17190 if test "c" = "cxx"; then
17191 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17192 fi
17193 fi
17194
17195 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17196 unset ac_cv_prog_cc_g
17197 ac_test_CFLAGS=${CFLAGS+set}
17198 ac_save_CFLAGS=$CFLAGS
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17200 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17201 if test "${ac_cv_prog_cc_g+set}" = set; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 ac_save_c_werror_flag=$ac_c_werror_flag
17205 ac_c_werror_flag=yes
17206 ac_cv_prog_cc_g=no
17207 CFLAGS="-g"
17208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17209 /* end confdefs.h. */
17210
17211 int
17212 main ()
17213 {
17214
17215 ;
17216 return 0;
17217 }
17218 _ACEOF
17219 if ac_fn_c_try_compile "$LINENO"; then :
17220 ac_cv_prog_cc_g=yes
17221 else
17222 CFLAGS=""
17223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17224 /* end confdefs.h. */
17225
17226 int
17227 main ()
17228 {
17229
17230 ;
17231 return 0;
17232 }
17233 _ACEOF
17234 if ac_fn_c_try_compile "$LINENO"; then :
17235
17236 else
17237 ac_c_werror_flag=$ac_save_c_werror_flag
17238 CFLAGS="-g"
17239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17240 /* end confdefs.h. */
17241
17242 int
17243 main ()
17244 {
17245
17246 ;
17247 return 0;
17248 }
17249 _ACEOF
17250 if ac_fn_c_try_compile "$LINENO"; then :
17251 ac_cv_prog_cc_g=yes
17252 fi
17253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17254 fi
17255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17256 fi
17257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17258 ac_c_werror_flag=$ac_save_c_werror_flag
17259 fi
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17261 $as_echo "$ac_cv_prog_cc_g" >&6; }
17262 if test "$ac_test_CFLAGS" = set; then
17263 CFLAGS=$ac_save_CFLAGS
17264 elif test $ac_cv_prog_cc_g = yes; then
17265 if test "$GCC" = yes; then
17266 CFLAGS="-g -O2"
17267 else
17268 CFLAGS="-g"
17269 fi
17270 else
17271 if test "$GCC" = yes; then
17272 CFLAGS="-O2"
17273 else
17274 CFLAGS=
17275 fi
17276 fi
17277 fi
17278 fi
17279
17280 case `uname -s` in
17281 AIX*)
17282
17283
17284 ac_ext=c
17285 ac_cpp='$CPP $CPPFLAGS'
17286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17289
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17291 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17292 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297
17298 int
17299 main ()
17300 {
17301
17302 #ifndef __xlC__
17303 choke me
17304 #endif
17305
17306 ;
17307 return 0;
17308 }
17309 _ACEOF
17310 if ac_fn_c_try_compile "$LINENO"; then :
17311 bakefile_cv_c_compiler___xlC__=yes
17312 else
17313 bakefile_cv_c_compiler___xlC__=no
17314
17315 fi
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17317
17318
17319 fi
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17321 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17322 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17323 :; XLCC=yes
17324 else
17325 :;
17326 fi
17327 ac_ext=c
17328 ac_cpp='$CPP $CPPFLAGS'
17329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17332
17333
17334
17335 ;;
17336
17337 Darwin)
17338
17339
17340 ac_ext=c
17341 ac_cpp='$CPP $CPPFLAGS'
17342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17345
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17347 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17348 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17352 /* end confdefs.h. */
17353
17354 int
17355 main ()
17356 {
17357
17358 #ifndef __MWERKS__
17359 choke me
17360 #endif
17361
17362 ;
17363 return 0;
17364 }
17365 _ACEOF
17366 if ac_fn_c_try_compile "$LINENO"; then :
17367 bakefile_cv_c_compiler___MWERKS__=yes
17368 else
17369 bakefile_cv_c_compiler___MWERKS__=no
17370
17371 fi
17372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17373
17374
17375 fi
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17377 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17378 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17379 :; MWCC=yes
17380 else
17381 :;
17382 fi
17383 ac_ext=c
17384 ac_cpp='$CPP $CPPFLAGS'
17385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17388
17389
17390
17391 if test "$MWCC" != "yes"; then
17392
17393
17394 ac_ext=c
17395 ac_cpp='$CPP $CPPFLAGS'
17396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17399
17400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17401 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17402 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17403 $as_echo_n "(cached) " >&6
17404 else
17405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17407
17408 int
17409 main ()
17410 {
17411
17412 #ifndef __xlC__
17413 choke me
17414 #endif
17415
17416 ;
17417 return 0;
17418 }
17419 _ACEOF
17420 if ac_fn_c_try_compile "$LINENO"; then :
17421 bakefile_cv_c_compiler___xlC__=yes
17422 else
17423 bakefile_cv_c_compiler___xlC__=no
17424
17425 fi
17426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17427
17428
17429 fi
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17431 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17432 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17433 :; XLCC=yes
17434 else
17435 :;
17436 fi
17437 ac_ext=c
17438 ac_cpp='$CPP $CPPFLAGS'
17439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17442
17443
17444
17445 fi
17446 ;;
17447
17448 IRIX*)
17449
17450
17451 ac_ext=c
17452 ac_cpp='$CPP $CPPFLAGS'
17453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17456
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17458 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17459 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17463 /* end confdefs.h. */
17464
17465 int
17466 main ()
17467 {
17468
17469 #ifndef _SGI_COMPILER_VERSION
17470 choke me
17471 #endif
17472
17473 ;
17474 return 0;
17475 }
17476 _ACEOF
17477 if ac_fn_c_try_compile "$LINENO"; then :
17478 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17479 else
17480 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17481
17482 fi
17483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17484
17485
17486 fi
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17488 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17489 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17490 :; SGICC=yes
17491 else
17492 :;
17493 fi
17494 ac_ext=c
17495 ac_cpp='$CPP $CPPFLAGS'
17496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17499
17500
17501
17502 ;;
17503
17504 Linux*)
17505 if test "$INTELCC" != "yes"; then
17506
17507
17508 ac_ext=c
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17515 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17516 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17517 $as_echo_n "(cached) " >&6
17518 else
17519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17520 /* end confdefs.h. */
17521
17522 int
17523 main ()
17524 {
17525
17526 #ifndef __SUNPRO_C
17527 choke me
17528 #endif
17529
17530 ;
17531 return 0;
17532 }
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 bakefile_cv_c_compiler___SUNPRO_C=yes
17536 else
17537 bakefile_cv_c_compiler___SUNPRO_C=no
17538
17539 fi
17540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17541
17542
17543 fi
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17545 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17546 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17547 :; SUNCC=yes
17548 else
17549 :;
17550 fi
17551 ac_ext=c
17552 ac_cpp='$CPP $CPPFLAGS'
17553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17556
17557
17558
17559 fi
17560 ;;
17561
17562 HP-UX*)
17563
17564
17565 ac_ext=c
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17570
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17572 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17573 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then :
17574 $as_echo_n "(cached) " >&6
17575 else
17576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17577 /* end confdefs.h. */
17578
17579 int
17580 main ()
17581 {
17582
17583 #ifndef __HP_cc
17584 choke me
17585 #endif
17586
17587 ;
17588 return 0;
17589 }
17590 _ACEOF
17591 if ac_fn_c_try_compile "$LINENO"; then :
17592 bakefile_cv_c_compiler___HP_cc=yes
17593 else
17594 bakefile_cv_c_compiler___HP_cc=no
17595
17596 fi
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17598
17599
17600 fi
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17602 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17603 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17604 :; HPCC=yes
17605 else
17606 :;
17607 fi
17608 ac_ext=c
17609 ac_cpp='$CPP $CPPFLAGS'
17610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17613
17614
17615
17616 ;;
17617
17618 OSF1)
17619
17620
17621 ac_ext=c
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17626
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17628 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17629 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then :
17630 $as_echo_n "(cached) " >&6
17631 else
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634
17635 int
17636 main ()
17637 {
17638
17639 #ifndef __DECC
17640 choke me
17641 #endif
17642
17643 ;
17644 return 0;
17645 }
17646 _ACEOF
17647 if ac_fn_c_try_compile "$LINENO"; then :
17648 bakefile_cv_c_compiler___DECC=yes
17649 else
17650 bakefile_cv_c_compiler___DECC=no
17651
17652 fi
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17654
17655
17656 fi
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17658 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17659 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17660 :; COMPAQCC=yes
17661 else
17662 :;
17663 fi
17664 ac_ext=c
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17669
17670
17671
17672 ;;
17673
17674 SunOS)
17675
17676
17677 ac_ext=c
17678 ac_cpp='$CPP $CPPFLAGS'
17679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17682
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17684 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17685 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690
17691 int
17692 main ()
17693 {
17694
17695 #ifndef __SUNPRO_C
17696 choke me
17697 #endif
17698
17699 ;
17700 return 0;
17701 }
17702 _ACEOF
17703 if ac_fn_c_try_compile "$LINENO"; then :
17704 bakefile_cv_c_compiler___SUNPRO_C=yes
17705 else
17706 bakefile_cv_c_compiler___SUNPRO_C=no
17707
17708 fi
17709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17710
17711
17712 fi
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17714 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17715 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17716 :; SUNCC=yes
17717 else
17718 :;
17719 fi
17720 ac_ext=c
17721 ac_cpp='$CPP $CPPFLAGS'
17722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17725
17726
17727
17728 ;;
17729 esac
17730 fi
17731
17732
17733
17734 ac_ext=c
17735 ac_cpp='$CPP $CPPFLAGS'
17736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17740 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17741 # On Suns, sometimes $CPP names a directory.
17742 if test -n "$CPP" && test -d "$CPP"; then
17743 CPP=
17744 fi
17745 if test -z "$CPP"; then
17746 if test "${ac_cv_prog_CPP+set}" = set; then :
17747 $as_echo_n "(cached) " >&6
17748 else
17749 # Double quotes because CPP needs to be expanded
17750 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17751 do
17752 ac_preproc_ok=false
17753 for ac_c_preproc_warn_flag in '' yes
17754 do
17755 # Use a header file that comes with gcc, so configuring glibc
17756 # with a fresh cross-compiler works.
17757 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17758 # <limits.h> exists even on freestanding compilers.
17759 # On the NeXT, cc -E runs the code through the compiler's parser,
17760 # not just through cpp. "Syntax error" is here to catch this case.
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 #ifdef __STDC__
17764 # include <limits.h>
17765 #else
17766 # include <assert.h>
17767 #endif
17768 Syntax error
17769 _ACEOF
17770 if ac_fn_c_try_cpp "$LINENO"; then :
17771
17772 else
17773 # Broken: fails on valid input.
17774 continue
17775 fi
17776 rm -f conftest.err conftest.i conftest.$ac_ext
17777
17778 # OK, works on sane cases. Now check whether nonexistent headers
17779 # can be detected and how.
17780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17781 /* end confdefs.h. */
17782 #include <ac_nonexistent.h>
17783 _ACEOF
17784 if ac_fn_c_try_cpp "$LINENO"; then :
17785 # Broken: success on invalid input.
17786 continue
17787 else
17788 # Passes both tests.
17789 ac_preproc_ok=:
17790 break
17791 fi
17792 rm -f conftest.err conftest.i conftest.$ac_ext
17793
17794 done
17795 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17796 rm -f conftest.i conftest.err conftest.$ac_ext
17797 if $ac_preproc_ok; then :
17798 break
17799 fi
17800
17801 done
17802 ac_cv_prog_CPP=$CPP
17803
17804 fi
17805 CPP=$ac_cv_prog_CPP
17806 else
17807 ac_cv_prog_CPP=$CPP
17808 fi
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17810 $as_echo "$CPP" >&6; }
17811 ac_preproc_ok=false
17812 for ac_c_preproc_warn_flag in '' yes
17813 do
17814 # Use a header file that comes with gcc, so configuring glibc
17815 # with a fresh cross-compiler works.
17816 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17817 # <limits.h> exists even on freestanding compilers.
17818 # On the NeXT, cc -E runs the code through the compiler's parser,
17819 # not just through cpp. "Syntax error" is here to catch this case.
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #ifdef __STDC__
17823 # include <limits.h>
17824 #else
17825 # include <assert.h>
17826 #endif
17827 Syntax error
17828 _ACEOF
17829 if ac_fn_c_try_cpp "$LINENO"; then :
17830
17831 else
17832 # Broken: fails on valid input.
17833 continue
17834 fi
17835 rm -f conftest.err conftest.i conftest.$ac_ext
17836
17837 # OK, works on sane cases. Now check whether nonexistent headers
17838 # can be detected and how.
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <ac_nonexistent.h>
17842 _ACEOF
17843 if ac_fn_c_try_cpp "$LINENO"; then :
17844 # Broken: success on invalid input.
17845 continue
17846 else
17847 # Passes both tests.
17848 ac_preproc_ok=:
17849 break
17850 fi
17851 rm -f conftest.err conftest.i conftest.$ac_ext
17852
17853 done
17854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17855 rm -f conftest.i conftest.err conftest.$ac_ext
17856 if $ac_preproc_ok; then :
17857
17858 else
17859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17860 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17861 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17862 See \`config.log' for more details" "$LINENO" 5; }
17863 fi
17864
17865 ac_ext=c
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17870
17871
17872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17873 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17874 if test "${ac_cv_path_GREP+set}" = set; then :
17875 $as_echo_n "(cached) " >&6
17876 else
17877 if test -z "$GREP"; then
17878 ac_path_GREP_found=false
17879 # Loop through the user's path and test for each of PROGNAME-LIST
17880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17881 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17882 do
17883 IFS=$as_save_IFS
17884 test -z "$as_dir" && as_dir=.
17885 for ac_prog in grep ggrep; do
17886 for ac_exec_ext in '' $ac_executable_extensions; do
17887 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17888 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17889 # Check for GNU ac_path_GREP and select it if it is found.
17890 # Check for GNU $ac_path_GREP
17891 case `"$ac_path_GREP" --version 2>&1` in
17892 *GNU*)
17893 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17894 *)
17895 ac_count=0
17896 $as_echo_n 0123456789 >"conftest.in"
17897 while :
17898 do
17899 cat "conftest.in" "conftest.in" >"conftest.tmp"
17900 mv "conftest.tmp" "conftest.in"
17901 cp "conftest.in" "conftest.nl"
17902 $as_echo 'GREP' >> "conftest.nl"
17903 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17904 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17905 as_fn_arith $ac_count + 1 && ac_count=$as_val
17906 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17907 # Best one so far, save it but keep looking for a better one
17908 ac_cv_path_GREP="$ac_path_GREP"
17909 ac_path_GREP_max=$ac_count
17910 fi
17911 # 10*(2^10) chars as input seems more than enough
17912 test $ac_count -gt 10 && break
17913 done
17914 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17915 esac
17916
17917 $ac_path_GREP_found && break 3
17918 done
17919 done
17920 done
17921 IFS=$as_save_IFS
17922 if test -z "$ac_cv_path_GREP"; then
17923 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17924 fi
17925 else
17926 ac_cv_path_GREP=$GREP
17927 fi
17928
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17931 $as_echo "$ac_cv_path_GREP" >&6; }
17932 GREP="$ac_cv_path_GREP"
17933
17934
17935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17936 $as_echo_n "checking for egrep... " >&6; }
17937 if test "${ac_cv_path_EGREP+set}" = set; then :
17938 $as_echo_n "(cached) " >&6
17939 else
17940 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17941 then ac_cv_path_EGREP="$GREP -E"
17942 else
17943 if test -z "$EGREP"; then
17944 ac_path_EGREP_found=false
17945 # Loop through the user's path and test for each of PROGNAME-LIST
17946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17947 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17948 do
17949 IFS=$as_save_IFS
17950 test -z "$as_dir" && as_dir=.
17951 for ac_prog in egrep; do
17952 for ac_exec_ext in '' $ac_executable_extensions; do
17953 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17954 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17955 # Check for GNU ac_path_EGREP and select it if it is found.
17956 # Check for GNU $ac_path_EGREP
17957 case `"$ac_path_EGREP" --version 2>&1` in
17958 *GNU*)
17959 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17960 *)
17961 ac_count=0
17962 $as_echo_n 0123456789 >"conftest.in"
17963 while :
17964 do
17965 cat "conftest.in" "conftest.in" >"conftest.tmp"
17966 mv "conftest.tmp" "conftest.in"
17967 cp "conftest.in" "conftest.nl"
17968 $as_echo 'EGREP' >> "conftest.nl"
17969 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17970 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17971 as_fn_arith $ac_count + 1 && ac_count=$as_val
17972 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17973 # Best one so far, save it but keep looking for a better one
17974 ac_cv_path_EGREP="$ac_path_EGREP"
17975 ac_path_EGREP_max=$ac_count
17976 fi
17977 # 10*(2^10) chars as input seems more than enough
17978 test $ac_count -gt 10 && break
17979 done
17980 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17981 esac
17982
17983 $ac_path_EGREP_found && break 3
17984 done
17985 done
17986 done
17987 IFS=$as_save_IFS
17988 if test -z "$ac_cv_path_EGREP"; then
17989 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17990 fi
17991 else
17992 ac_cv_path_EGREP=$EGREP
17993 fi
17994
17995 fi
17996 fi
17997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
17998 $as_echo "$ac_cv_path_EGREP" >&6; }
17999 EGREP="$ac_cv_path_EGREP"
18000
18001
18002 if test $ac_cv_c_compiler_gnu = yes; then
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18004 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18005 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
18006 $as_echo_n "(cached) " >&6
18007 else
18008 ac_pattern="Autoconf.*'x'"
18009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18011 #include <sgtty.h>
18012 Autoconf TIOCGETP
18013 _ACEOF
18014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18015 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18016 ac_cv_prog_gcc_traditional=yes
18017 else
18018 ac_cv_prog_gcc_traditional=no
18019 fi
18020 rm -f conftest*
18021
18022
18023 if test $ac_cv_prog_gcc_traditional = no; then
18024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18025 /* end confdefs.h. */
18026 #include <termio.h>
18027 Autoconf TCGETA
18028 _ACEOF
18029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18030 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18031 ac_cv_prog_gcc_traditional=yes
18032 fi
18033 rm -f conftest*
18034
18035 fi
18036 fi
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18038 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18039 if test $ac_cv_prog_gcc_traditional = yes; then
18040 CC="$CC -traditional"
18041 fi
18042 fi
18043
18044
18045 CXXFLAGS=${CXXFLAGS:=}
18046 ac_ext=cpp
18047 ac_cpp='$CXXCPP $CPPFLAGS'
18048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18051 if test -z "$CXX"; then
18052 if test -n "$CCC"; then
18053 CXX=$CCC
18054 else
18055 if test -n "$ac_tool_prefix"; then
18056 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18057 do
18058 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18059 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18061 $as_echo_n "checking for $ac_word... " >&6; }
18062 if test "${ac_cv_prog_CXX+set}" = set; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065 if test -n "$CXX"; then
18066 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18067 else
18068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18069 for as_dir in $PATH
18070 do
18071 IFS=$as_save_IFS
18072 test -z "$as_dir" && as_dir=.
18073 for ac_exec_ext in '' $ac_executable_extensions; do
18074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18075 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18077 break 2
18078 fi
18079 done
18080 done
18081 IFS=$as_save_IFS
18082
18083 fi
18084 fi
18085 CXX=$ac_cv_prog_CXX
18086 if test -n "$CXX"; then
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18088 $as_echo "$CXX" >&6; }
18089 else
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18091 $as_echo "no" >&6; }
18092 fi
18093
18094
18095 test -n "$CXX" && break
18096 done
18097 fi
18098 if test -z "$CXX"; then
18099 ac_ct_CXX=$CXX
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_prog", so it can be a program name with args.
18103 set dummy $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 test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
18107 $as_echo_n "(cached) " >&6
18108 else
18109 if test -n "$ac_ct_CXX"; then
18110 ac_cv_prog_ac_ct_CXX="$ac_ct_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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18119 ac_cv_prog_ac_ct_CXX="$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 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18130 if test -n "$ac_ct_CXX"; then
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18132 $as_echo "$ac_ct_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 "$ac_ct_CXX" && break
18140 done
18141
18142 if test "x$ac_ct_CXX" = x; then
18143 CXX="g++"
18144 else
18145 case $cross_compiling:$ac_tool_warned in
18146 yes:)
18147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18148 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18149 ac_tool_warned=yes ;;
18150 esac
18151 CXX=$ac_ct_CXX
18152 fi
18153 fi
18154
18155 fi
18156 fi
18157 # Provide some information about the compiler.
18158 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18159 set X $ac_compile
18160 ac_compiler=$2
18161 for ac_option in --version -v -V -qversion; do
18162 { { ac_try="$ac_compiler $ac_option >&5"
18163 case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18166 esac
18167 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18168 $as_echo "$ac_try_echo"; } >&5
18169 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18170 ac_status=$?
18171 if test -s conftest.err; then
18172 sed '10a\
18173 ... rest of stderr output deleted ...
18174 10q' conftest.err >conftest.er1
18175 cat conftest.er1 >&5
18176 fi
18177 rm -f conftest.er1 conftest.err
18178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18179 test $ac_status = 0; }
18180 done
18181
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18183 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18184 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
18185 $as_echo_n "(cached) " >&6
18186 else
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18189
18190 int
18191 main ()
18192 {
18193 #ifndef __GNUC__
18194 choke me
18195 #endif
18196
18197 ;
18198 return 0;
18199 }
18200 _ACEOF
18201 if ac_fn_cxx_try_compile "$LINENO"; then :
18202 ac_compiler_gnu=yes
18203 else
18204 ac_compiler_gnu=no
18205 fi
18206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18207 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18208
18209 fi
18210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18211 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18212 if test $ac_compiler_gnu = yes; then
18213 GXX=yes
18214 else
18215 GXX=
18216 fi
18217 ac_test_CXXFLAGS=${CXXFLAGS+set}
18218 ac_save_CXXFLAGS=$CXXFLAGS
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18220 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18221 if test "${ac_cv_prog_cxx_g+set}" = set; then :
18222 $as_echo_n "(cached) " >&6
18223 else
18224 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18225 ac_cxx_werror_flag=yes
18226 ac_cv_prog_cxx_g=no
18227 CXXFLAGS="-g"
18228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18229 /* end confdefs.h. */
18230
18231 int
18232 main ()
18233 {
18234
18235 ;
18236 return 0;
18237 }
18238 _ACEOF
18239 if ac_fn_cxx_try_compile "$LINENO"; then :
18240 ac_cv_prog_cxx_g=yes
18241 else
18242 CXXFLAGS=""
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245
18246 int
18247 main ()
18248 {
18249
18250 ;
18251 return 0;
18252 }
18253 _ACEOF
18254 if ac_fn_cxx_try_compile "$LINENO"; then :
18255
18256 else
18257 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18258 CXXFLAGS="-g"
18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18260 /* end confdefs.h. */
18261
18262 int
18263 main ()
18264 {
18265
18266 ;
18267 return 0;
18268 }
18269 _ACEOF
18270 if ac_fn_cxx_try_compile "$LINENO"; then :
18271 ac_cv_prog_cxx_g=yes
18272 fi
18273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18274 fi
18275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18276 fi
18277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18279 fi
18280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18281 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18282 if test "$ac_test_CXXFLAGS" = set; then
18283 CXXFLAGS=$ac_save_CXXFLAGS
18284 elif test $ac_cv_prog_cxx_g = yes; then
18285 if test "$GXX" = yes; then
18286 CXXFLAGS="-g -O2"
18287 else
18288 CXXFLAGS="-g"
18289 fi
18290 else
18291 if test "$GXX" = yes; then
18292 CXXFLAGS="-O2"
18293 else
18294 CXXFLAGS=
18295 fi
18296 fi
18297 ac_ext=c
18298 ac_cpp='$CPP $CPPFLAGS'
18299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18302
18303
18304
18305
18306
18307
18308
18309
18310 ac_ext=cpp
18311 ac_cpp='$CXXCPP $CPPFLAGS'
18312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18315
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18317 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18318 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18323
18324 int
18325 main ()
18326 {
18327
18328 #ifndef __INTEL_COMPILER
18329 choke me
18330 #endif
18331
18332 ;
18333 return 0;
18334 }
18335 _ACEOF
18336 if ac_fn_cxx_try_compile "$LINENO"; then :
18337 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18338 else
18339 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18340
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343
18344
18345 fi
18346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18347 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18348 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18349 :; INTELCXX=yes
18350 else
18351 :;
18352 fi
18353 ac_ext=c
18354 ac_cpp='$CPP $CPPFLAGS'
18355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18358
18359
18360
18361
18362 if test "$INTELCXX" = "yes"; then
18363
18364
18365 ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18370
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18372 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18373 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
18374 $as_echo_n "(cached) " >&6
18375 else
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18378
18379 int
18380 main ()
18381 {
18382
18383 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18384 choke me
18385 #endif
18386
18387 ;
18388 return 0;
18389 }
18390 _ACEOF
18391 if ac_fn_cxx_try_compile "$LINENO"; then :
18392 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18393 else
18394 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18395
18396 fi
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18398
18399
18400 fi
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18402 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18403 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18404 :; INTELCXX8=yes
18405 else
18406 :;
18407 fi
18408 ac_ext=c
18409 ac_cpp='$CPP $CPPFLAGS'
18410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18413
18414
18415
18416
18417
18418 ac_ext=cpp
18419 ac_cpp='$CXXCPP $CPPFLAGS'
18420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18423
18424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18425 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18426 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
18427 $as_echo_n "(cached) " >&6
18428 else
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431
18432 int
18433 main ()
18434 {
18435
18436 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18437 choke me
18438 #endif
18439
18440 ;
18441 return 0;
18442 }
18443 _ACEOF
18444 if ac_fn_cxx_try_compile "$LINENO"; then :
18445 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18446 else
18447 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18448
18449 fi
18450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451
18452
18453 fi
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18455 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18456 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18457 :; INTELCXX10=yes
18458 else
18459 :;
18460 fi
18461 ac_ext=c
18462 ac_cpp='$CPP $CPPFLAGS'
18463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18466
18467
18468
18469 fi
18470
18471 if test "x$GCXX" != "xyes"; then
18472 if test "xCXX" = "xC"; then
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18474 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18475 if test "${bakefile_cv_c_exto+set}" = set; then :
18476 $as_echo_n "(cached) " >&6
18477 else
18478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18479 /* end confdefs.h. */
18480
18481 int
18482 main ()
18483 {
18484
18485 ;
18486 return 0;
18487 }
18488 _ACEOF
18489 rm -f conftest.$ac_objext conftest.$ac_ext.o
18490 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18491 (eval $ac_compile) 2>&5
18492 ac_status=$?
18493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18494 test $ac_status = 0; }; then :
18495 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18496 case $ac_file in
18497 conftest.$ac_ext.o)
18498 bakefile_cv_c_exto="-ext o"
18499 ;;
18500 *)
18501 ;;
18502 esac
18503 done
18504 else
18505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18507 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18508 See \`config.log' for more details" "$LINENO" 5; }
18509
18510 fi
18511 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18512
18513 fi
18514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18515 $as_echo "$bakefile_cv_c_exto" >&6; }
18516 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18517 if test "c" = "c"; then
18518 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18519 fi
18520 if test "c" = "cxx"; then
18521 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18522 fi
18523 fi
18524
18525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18526 unset ac_cv_prog_cc_g
18527 ac_test_CFLAGS=${CFLAGS+set}
18528 ac_save_CFLAGS=$CFLAGS
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18531 if test "${ac_cv_prog_cc_g+set}" = set; then :
18532 $as_echo_n "(cached) " >&6
18533 else
18534 ac_save_c_werror_flag=$ac_c_werror_flag
18535 ac_c_werror_flag=yes
18536 ac_cv_prog_cc_g=no
18537 CFLAGS="-g"
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540
18541 int
18542 main ()
18543 {
18544
18545 ;
18546 return 0;
18547 }
18548 _ACEOF
18549 if ac_fn_c_try_compile "$LINENO"; then :
18550 ac_cv_prog_cc_g=yes
18551 else
18552 CFLAGS=""
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18555
18556 int
18557 main ()
18558 {
18559
18560 ;
18561 return 0;
18562 }
18563 _ACEOF
18564 if ac_fn_c_try_compile "$LINENO"; then :
18565
18566 else
18567 ac_c_werror_flag=$ac_save_c_werror_flag
18568 CFLAGS="-g"
18569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18570 /* end confdefs.h. */
18571
18572 int
18573 main ()
18574 {
18575
18576 ;
18577 return 0;
18578 }
18579 _ACEOF
18580 if ac_fn_c_try_compile "$LINENO"; then :
18581 ac_cv_prog_cc_g=yes
18582 fi
18583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18584 fi
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586 fi
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18588 ac_c_werror_flag=$ac_save_c_werror_flag
18589 fi
18590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18591 $as_echo "$ac_cv_prog_cc_g" >&6; }
18592 if test "$ac_test_CFLAGS" = set; then
18593 CFLAGS=$ac_save_CFLAGS
18594 elif test $ac_cv_prog_cc_g = yes; then
18595 if test "$GCC" = yes; then
18596 CFLAGS="-g -O2"
18597 else
18598 CFLAGS="-g"
18599 fi
18600 else
18601 if test "$GCC" = yes; then
18602 CFLAGS="-O2"
18603 else
18604 CFLAGS=
18605 fi
18606 fi
18607 fi
18608 fi
18609
18610 case `uname -s` in
18611 AIX*)
18612
18613
18614 ac_ext=cpp
18615 ac_cpp='$CXXCPP $CPPFLAGS'
18616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18619
18620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18621 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18622 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18623 $as_echo_n "(cached) " >&6
18624 else
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627
18628 int
18629 main ()
18630 {
18631
18632 #ifndef __xlC__
18633 choke me
18634 #endif
18635
18636 ;
18637 return 0;
18638 }
18639 _ACEOF
18640 if ac_fn_cxx_try_compile "$LINENO"; then :
18641 bakefile_cv_cxx_compiler___xlC__=yes
18642 else
18643 bakefile_cv_cxx_compiler___xlC__=no
18644
18645 fi
18646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18647
18648
18649 fi
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18651 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18652 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18653 :; XLCXX=yes
18654 else
18655 :;
18656 fi
18657 ac_ext=c
18658 ac_cpp='$CPP $CPPFLAGS'
18659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18662
18663
18664
18665 ;;
18666
18667 Darwin)
18668
18669
18670 ac_ext=cpp
18671 ac_cpp='$CXXCPP $CPPFLAGS'
18672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18675
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18677 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18678 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then :
18679 $as_echo_n "(cached) " >&6
18680 else
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683
18684 int
18685 main ()
18686 {
18687
18688 #ifndef __MWERKS__
18689 choke me
18690 #endif
18691
18692 ;
18693 return 0;
18694 }
18695 _ACEOF
18696 if ac_fn_cxx_try_compile "$LINENO"; then :
18697 bakefile_cv_cxx_compiler___MWERKS__=yes
18698 else
18699 bakefile_cv_cxx_compiler___MWERKS__=no
18700
18701 fi
18702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18703
18704
18705 fi
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18707 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18708 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18709 :; MWCXX=yes
18710 else
18711 :;
18712 fi
18713 ac_ext=c
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718
18719
18720
18721 if test "$MWCXX" != "yes"; then
18722
18723
18724 ac_ext=cpp
18725 ac_cpp='$CXXCPP $CPPFLAGS'
18726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18729
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18731 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18732 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18733 $as_echo_n "(cached) " >&6
18734 else
18735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18736 /* end confdefs.h. */
18737
18738 int
18739 main ()
18740 {
18741
18742 #ifndef __xlC__
18743 choke me
18744 #endif
18745
18746 ;
18747 return 0;
18748 }
18749 _ACEOF
18750 if ac_fn_cxx_try_compile "$LINENO"; then :
18751 bakefile_cv_cxx_compiler___xlC__=yes
18752 else
18753 bakefile_cv_cxx_compiler___xlC__=no
18754
18755 fi
18756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18757
18758
18759 fi
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18761 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18762 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18763 :; XLCXX=yes
18764 else
18765 :;
18766 fi
18767 ac_ext=c
18768 ac_cpp='$CPP $CPPFLAGS'
18769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18772
18773
18774
18775 fi
18776 ;;
18777
18778 IRIX*)
18779
18780
18781 ac_ext=cpp
18782 ac_cpp='$CXXCPP $CPPFLAGS'
18783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18786
18787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18788 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18789 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then :
18790 $as_echo_n "(cached) " >&6
18791 else
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794
18795 int
18796 main ()
18797 {
18798
18799 #ifndef _SGI_COMPILER_VERSION
18800 choke me
18801 #endif
18802
18803 ;
18804 return 0;
18805 }
18806 _ACEOF
18807 if ac_fn_cxx_try_compile "$LINENO"; then :
18808 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18809 else
18810 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18811
18812 fi
18813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18814
18815
18816 fi
18817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18818 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18819 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18820 :; SGICXX=yes
18821 else
18822 :;
18823 fi
18824 ac_ext=c
18825 ac_cpp='$CPP $CPPFLAGS'
18826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18829
18830
18831
18832 ;;
18833
18834 Linux*)
18835 if test "$INTELCXX" != "yes"; then
18836
18837
18838 ac_ext=cpp
18839 ac_cpp='$CXXCPP $CPPFLAGS'
18840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18843
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18845 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18846 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
18847 $as_echo_n "(cached) " >&6
18848 else
18849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18850 /* end confdefs.h. */
18851
18852 int
18853 main ()
18854 {
18855
18856 #ifndef __SUNPRO_CC
18857 choke me
18858 #endif
18859
18860 ;
18861 return 0;
18862 }
18863 _ACEOF
18864 if ac_fn_cxx_try_compile "$LINENO"; then :
18865 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18866 else
18867 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18868
18869 fi
18870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18871
18872
18873 fi
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18875 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18876 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18877 :; SUNCXX=yes
18878 else
18879 :;
18880 fi
18881 ac_ext=c
18882 ac_cpp='$CPP $CPPFLAGS'
18883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18886
18887
18888
18889 fi
18890 ;;
18891
18892 HP-UX*)
18893
18894
18895 ac_ext=cpp
18896 ac_cpp='$CXXCPP $CPPFLAGS'
18897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18900
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18902 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18903 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then :
18904 $as_echo_n "(cached) " >&6
18905 else
18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18907 /* end confdefs.h. */
18908
18909 int
18910 main ()
18911 {
18912
18913 #ifndef __HP_aCC
18914 choke me
18915 #endif
18916
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 if ac_fn_cxx_try_compile "$LINENO"; then :
18922 bakefile_cv_cxx_compiler___HP_aCC=yes
18923 else
18924 bakefile_cv_cxx_compiler___HP_aCC=no
18925
18926 fi
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928
18929
18930 fi
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18932 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18933 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18934 :; HPCXX=yes
18935 else
18936 :;
18937 fi
18938 ac_ext=c
18939 ac_cpp='$CPP $CPPFLAGS'
18940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18943
18944
18945
18946 ;;
18947
18948 OSF1)
18949
18950
18951 ac_ext=cpp
18952 ac_cpp='$CXXCPP $CPPFLAGS'
18953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18956
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18958 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18959 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then :
18960 $as_echo_n "(cached) " >&6
18961 else
18962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963 /* end confdefs.h. */
18964
18965 int
18966 main ()
18967 {
18968
18969 #ifndef __DECCXX
18970 choke me
18971 #endif
18972
18973 ;
18974 return 0;
18975 }
18976 _ACEOF
18977 if ac_fn_cxx_try_compile "$LINENO"; then :
18978 bakefile_cv_cxx_compiler___DECCXX=yes
18979 else
18980 bakefile_cv_cxx_compiler___DECCXX=no
18981
18982 fi
18983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18984
18985
18986 fi
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18988 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18989 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18990 :; COMPAQCXX=yes
18991 else
18992 :;
18993 fi
18994 ac_ext=c
18995 ac_cpp='$CPP $CPPFLAGS'
18996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18999
19000
19001
19002 ;;
19003
19004 SunOS)
19005
19006
19007 ac_ext=cpp
19008 ac_cpp='$CXXCPP $CPPFLAGS'
19009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19012
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19014 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19015 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
19016 $as_echo_n "(cached) " >&6
19017 else
19018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19019 /* end confdefs.h. */
19020
19021 int
19022 main ()
19023 {
19024
19025 #ifndef __SUNPRO_CC
19026 choke me
19027 #endif
19028
19029 ;
19030 return 0;
19031 }
19032 _ACEOF
19033 if ac_fn_cxx_try_compile "$LINENO"; then :
19034 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19035 else
19036 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19037
19038 fi
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040
19041
19042 fi
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19044 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19045 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19046 :; SUNCXX=yes
19047 else
19048 :;
19049 fi
19050 ac_ext=c
19051 ac_cpp='$CPP $CPPFLAGS'
19052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19055
19056
19057
19058 ;;
19059 esac
19060 fi
19061
19062
19063
19064 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19065 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19066 fi
19067
19068 if test "x$SUNCXX" != xyes; then
19069 if test -n "$ac_tool_prefix"; then
19070 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19071 set dummy ${ac_tool_prefix}ar; ac_word=$2
19072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19073 $as_echo_n "checking for $ac_word... " >&6; }
19074 if test "${ac_cv_prog_AR+set}" = set; then :
19075 $as_echo_n "(cached) " >&6
19076 else
19077 if test -n "$AR"; then
19078 ac_cv_prog_AR="$AR" # Let the user override the test.
19079 else
19080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19081 for as_dir in $PATH
19082 do
19083 IFS=$as_save_IFS
19084 test -z "$as_dir" && as_dir=.
19085 for ac_exec_ext in '' $ac_executable_extensions; do
19086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19087 ac_cv_prog_AR="${ac_tool_prefix}ar"
19088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19089 break 2
19090 fi
19091 done
19092 done
19093 IFS=$as_save_IFS
19094
19095 fi
19096 fi
19097 AR=$ac_cv_prog_AR
19098 if test -n "$AR"; then
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19100 $as_echo "$AR" >&6; }
19101 else
19102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19103 $as_echo "no" >&6; }
19104 fi
19105
19106
19107 fi
19108 if test -z "$ac_cv_prog_AR"; then
19109 ac_ct_AR=$AR
19110 # Extract the first word of "ar", so it can be a program name with args.
19111 set dummy ar; ac_word=$2
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19113 $as_echo_n "checking for $ac_word... " >&6; }
19114 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
19115 $as_echo_n "(cached) " >&6
19116 else
19117 if test -n "$ac_ct_AR"; then
19118 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19119 else
19120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19121 for as_dir in $PATH
19122 do
19123 IFS=$as_save_IFS
19124 test -z "$as_dir" && as_dir=.
19125 for ac_exec_ext in '' $ac_executable_extensions; do
19126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19127 ac_cv_prog_ac_ct_AR="ar"
19128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19129 break 2
19130 fi
19131 done
19132 done
19133 IFS=$as_save_IFS
19134
19135 fi
19136 fi
19137 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19138 if test -n "$ac_ct_AR"; then
19139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19140 $as_echo "$ac_ct_AR" >&6; }
19141 else
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19143 $as_echo "no" >&6; }
19144 fi
19145
19146 if test "x$ac_ct_AR" = x; then
19147 AR=""
19148 else
19149 case $cross_compiling:$ac_tool_warned in
19150 yes:)
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19153 ac_tool_warned=yes ;;
19154 esac
19155 AR=$ac_ct_AR
19156 fi
19157 else
19158 AR="$ac_cv_prog_AR"
19159 fi
19160
19161 if test "x$AR" = "x" ; then
19162 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19163 fi
19164 fi
19165
19166
19167 if test "$wxUSE_MAC" = 1; then
19168
19169 retest_macosx_linking=no
19170
19171 OSX_ARCH_OPTS=""
19172
19173 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19174 if test "x$wxUSE_MAC_ARCH" != xno; then
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19176 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19177 fi
19178
19179 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19180 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19181 else OSX_ARCH_OPTS="ppc,i386"
19182 if test "$wxUSE_OSX_COCOA" = 1; then
19183 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19184 fi
19185 fi
19186
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19188 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19190 $as_echo "$OSX_ARCH_OPTS" >&6; }
19191
19192 retest_macosx_linking=yes
19193
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19195 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19196 bk_use_pch=no
19197 else
19198 if test "x$wxUSE_MAC_ARCH" != xno; then
19199 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19200 fi
19201 fi
19202
19203 if test "x$OSX_ARCH_OPTS" != "x"; then
19204 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19205
19206 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19207 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19208 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19209 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19210 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19211 fi
19212
19213 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19214 wxUSE_MACOSX_SDK=
19215 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19216 # TODO: Search for most recent SDK and use it.
19217 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19218 fi
19219
19220
19221 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19223 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19224 if ! test -d "$wxUSE_MACOSX_SDK"; then
19225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19227 as_fn_error $? "not found
19228 See \`config.log' for more details" "$LINENO" 5; }
19229 else
19230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19231 $as_echo "exists" >&6; }
19232 fi
19233 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19234 retest_macosx_linking=yes
19235 fi
19236
19237 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19238 wxUSE_MACOSX_VERSION_MIN=
19239 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19240 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19242 $as_echo_n "checking SDK deployment version... " >&6; }
19243
19244 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/'`
19245
19246 # If that failed, try again with the new key
19247 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19248
19249 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/'`
19250
19251 fi
19252
19253 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19254 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19256 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19257 else
19258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19259 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19260 wxUSE_MACOSX_VERSION_MIN=
19261 fi
19262 else
19263 wxUSE_MACOSX_VERSION_MIN=
19264 fi
19265 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19266 for ac_prog in sw_vers
19267 do
19268 # Extract the first word of "$ac_prog", so it can be a program name with args.
19269 set dummy $ac_prog; ac_word=$2
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19271 $as_echo_n "checking for $ac_word... " >&6; }
19272 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then :
19273 $as_echo_n "(cached) " >&6
19274 else
19275 if test -n "$OSX_SW_VERS"; then
19276 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19277 else
19278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19279 for as_dir in $PATH
19280 do
19281 IFS=$as_save_IFS
19282 test -z "$as_dir" && as_dir=.
19283 for ac_exec_ext in '' $ac_executable_extensions; do
19284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19285 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19287 break 2
19288 fi
19289 done
19290 done
19291 IFS=$as_save_IFS
19292
19293 fi
19294 fi
19295 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19296 if test -n "$OSX_SW_VERS"; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_SW_VERS" >&5
19298 $as_echo "$OSX_SW_VERS" >&6; }
19299 else
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19301 $as_echo "no" >&6; }
19302 fi
19303
19304
19305 test -n "$OSX_SW_VERS" && break
19306 done
19307
19308 if test "$OSX_SW_VERS" != ""; then
19309 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19310 else
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19312 $as_echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19313 OSX_VERSION="10.4"
19314 fi
19315
19316 case "$OSX_VERSION" in
19317 10.4* )
19318 wxUSE_MACOSX_VERSION_MIN=10.4
19319 ;;
19320
19321 * )
19322 if test "$wxUSE_OSX_CARBON" = 1; then
19323 # otherwise configure stops on leopard for universal_binary
19324 wxUSE_MACOSX_VERSION_MIN=10.4
19325 else
19326 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19327 wxUSE_MACOSX_VERSION_MIN=10.5
19328 fi
19329 ;;
19330 esac
19331 fi
19332
19333 NEEDS_GCC40="no"
19334 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19335 NEEDS_GCC40="yes"
19336 fi
19337
19338 if test "$wxUSE_OSX_CARBON" = 1; then
19339 NEEDS_GCC40="yes"
19340 fi
19341
19342 if test "x$NEEDS_GCC40" == "xyes"; then
19343 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19344 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19345 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19346 if test "x$CC" = "xgcc"; then
19347 CCVERSION=`$CC --version | grep 4.[2-9].`
19348 if test "x$CCVERSION" != "x"; then
19349 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19350 CC="gcc-4.0"
19351 fi
19352 fi
19353
19354 if test "x$CXX" = "xg++"; then
19355 CCVERSION=`$CXX --version | grep 4.[2-9].`
19356 if test "x$CCVERSION" != "x"; then
19357 CXX="g++-4.0"
19358 fi
19359 fi
19360 fi
19361
19362 if test "x$MACOSX_SDK_OPTS" != "x"; then
19363 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19364 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19365 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19366 fi
19367
19368 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19369 if test "$wxUSE_OSX_IPHONE" = 1; then
19370 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19371 else
19372 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19373 fi
19374 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19375 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19376 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19377 retest_macosx_linking=yes
19378 fi
19379
19380 if test "x$retest_macosx_linking" = "xyes"; then
19381 ac_ext=c
19382 ac_cpp='$CPP $CPPFLAGS'
19383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19386
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler works with SDK/version options" >&5
19388 $as_echo_n "checking if C compiler works with SDK/version options... " >&6; }
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391
19392 int
19393 main ()
19394 {
19395
19396 ;
19397 return 0;
19398 }
19399 _ACEOF
19400 if ac_fn_c_try_link "$LINENO"; then :
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19402 $as_echo "yes" >&6; }
19403 else
19404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19406 as_fn_error $? "no. Try a different SDK
19407 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19408 fi
19409 rm -f core conftest.err conftest.$ac_objext \
19410 conftest$ac_exeext conftest.$ac_ext
19411 ac_ext=c
19412 ac_cpp='$CPP $CPPFLAGS'
19413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19416
19417
19418 ac_ext=cpp
19419 ac_cpp='$CXXCPP $CPPFLAGS'
19420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19423
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler works with SDK/version options" >&5
19425 $as_echo_n "checking if C++ compiler works with SDK/version options... " >&6; }
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428
19429 int
19430 main ()
19431 {
19432
19433 ;
19434 return 0;
19435 }
19436 _ACEOF
19437 if ac_fn_cxx_try_link "$LINENO"; then :
19438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19439 $as_echo "yes" >&6; }
19440 else
19441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19443 as_fn_error $? "no. Try a different SDK
19444 See \`config.log' for more details" "$LINENO" 5; }; exit 1
19445 fi
19446 rm -f core conftest.err conftest.$ac_objext \
19447 conftest$ac_exeext conftest.$ac_ext
19448 ac_ext=c
19449 ac_cpp='$CPP $CPPFLAGS'
19450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19453
19454 fi
19455
19456 fi
19457 case "${host}" in
19458
19459 *-*-darwin* )
19460 INSTALL_PROGRAM="cp -fp"
19461 INSTALL_DATA="cp -fp"
19462 ;;
19463 *)
19464 ;;
19465 esac
19466
19467
19468 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19469 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19470
19471
19472 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19473 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19474 fi
19475
19476 if test "x$USE_AIX" = "x1"; then
19477 if test "x$XLCXX" = "xyes"; then
19478 CXXFLAGS="-qunique $CXXFLAGS"
19479 fi
19480
19481 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19482 fi
19483
19484 case "${host}" in
19485 powerpc-*-darwin* )
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19487 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490
19491 int
19492 main ()
19493 {
19494 #ifndef __POWERPC__
19495 choke me for lack of PowerPC
19496 #endif
19497
19498 ;
19499 return 0;
19500 }
19501 _ACEOF
19502 if ac_fn_c_try_compile "$LINENO"; then :
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19504 $as_echo "yes" >&6; }
19505 else
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19507 $as_echo "no" >&6; }
19508 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19509
19510
19511 fi
19512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19513 ;;
19514 esac
19515
19516 case "${host}" in
19517 *-*-darwin* )
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19519 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522 #include <CoreFoundation/CFBase.h>
19523
19524 int
19525 main ()
19526 {
19527
19528 ;
19529 return 0;
19530 }
19531 _ACEOF
19532 if ac_fn_c_try_compile "$LINENO"; then :
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19534 $as_echo "yes" >&6; }
19535 else
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19537 $as_echo "no" >&6; }
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19539 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #define __CF_USE_FRAMEWORK_INCLUDES__
19543 #include <CoreFoundation/CFBase.h>
19544
19545 int
19546 main ()
19547 {
19548
19549 ;
19550 return 0;
19551 }
19552 _ACEOF
19553 if ac_fn_c_try_compile "$LINENO"; then :
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19555 $as_echo "yes" >&6; }
19556 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19557 else
19558 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19560 as_fn_error $? "no. CoreFoundation not available.
19561 See \`config.log' for more details" "$LINENO" 5; }
19562
19563 fi
19564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19565
19566
19567 fi
19568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19569 ;;
19570 esac
19571
19572 wants_win32=0
19573 doesnt_want_win32=0
19574 case "${host}" in
19575 *-*-cygwin*)
19576 if test "$wxUSE_MSW" = 1 ; then
19577 wants_win32=1
19578 else
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19580 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19581 if test "${wx_cv_nocygwin+set}" = set; then :
19582 $as_echo_n "(cached) " >&6
19583 else
19584
19585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19586 /* end confdefs.h. */
19587
19588 int
19589 main ()
19590 {
19591
19592 #ifdef __MINGW32__
19593 choke me
19594 #endif
19595
19596 ;
19597 return 0;
19598 }
19599 _ACEOF
19600 if ac_fn_c_try_compile "$LINENO"; then :
19601 wx_cv_nocygwin=no
19602 else
19603 wx_cv_nocygwin=yes
19604
19605 fi
19606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19607
19608
19609 fi
19610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19611 $as_echo "$wx_cv_nocygwin" >&6; }
19612
19613 if test "$wx_cv_nocygwin" = "yes"; then
19614 wants_win32=1
19615 else
19616 doesnt_want_win32=1
19617 fi
19618 fi
19619 if test "$wants_win32" = 1 ; then
19620 BAKEFILE_FORCE_PLATFORM=win32
19621 fi
19622 ;;
19623 *-*-mingw*)
19624 wants_win32=1
19625 ;;
19626 esac
19627
19628 if test "$wxUSE_WINE" = "yes"; then
19629 wants_win32=1
19630 LDFLAGS_GUI="-mwindows"
19631 fi
19632
19633 if test "$wants_win32" = 1 ; then
19634 USE_UNIX=0
19635 USE_WIN32=1
19636 $as_echo "#define __WIN32__ 1" >>confdefs.h
19637
19638 $as_echo "#define __WIN95__ 1" >>confdefs.h
19639
19640 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19641
19642 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19643
19644 $as_echo "#define STRICT 1" >>confdefs.h
19645
19646 fi
19647 if test "$doesnt_want_win32" = 1 ; then
19648 USE_UNIX=1
19649 USE_WIN32=0
19650 fi
19651
19652 if test "$USE_UNIX" = 1 ; then
19653 wxUSE_UNIX=yes
19654 $as_echo "#define __UNIX__ 1" >>confdefs.h
19655
19656 fi
19657
19658 case "${host}" in
19659 *-pc-os2_emx | *-pc-os2-emx )
19660 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19662 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19663 if test "${ac_cv_lib_cExt_drand48+set}" = set; then :
19664 $as_echo_n "(cached) " >&6
19665 else
19666 ac_check_lib_save_LIBS=$LIBS
19667 LIBS="-lcExt $LIBS"
19668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19669 /* end confdefs.h. */
19670
19671 /* Override any GCC internal prototype to avoid an error.
19672 Use char because int might match the return type of a GCC
19673 builtin and then its argument prototype would still apply. */
19674 #ifdef __cplusplus
19675 extern "C"
19676 #endif
19677 char drand48 ();
19678 int
19679 main ()
19680 {
19681 return drand48 ();
19682 ;
19683 return 0;
19684 }
19685 _ACEOF
19686 if ac_fn_c_try_link "$LINENO"; then :
19687 ac_cv_lib_cExt_drand48=yes
19688 else
19689 ac_cv_lib_cExt_drand48=no
19690 fi
19691 rm -f core conftest.err conftest.$ac_objext \
19692 conftest$ac_exeext conftest.$ac_ext
19693 LIBS=$ac_check_lib_save_LIBS
19694 fi
19695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19696 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19697 if test "x$ac_cv_lib_cExt_drand48" = x""yes; then :
19698 LIBS="$LIBS -lcExt"
19699 fi
19700
19701 else
19702 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19703 fi
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19705 $as_echo_n "checking for gcc/libc version... " >&6; }
19706 if test "${wx_cv_gccversion+set}" = set; then :
19707 $as_echo_n "(cached) " >&6
19708 else
19709
19710 if test "$cross_compiling" = yes; then :
19711 wx_cv_gccversion="EMX2"
19712
19713 else
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716
19717 #include <stdio.h>
19718
19719 int main()
19720 {
19721 FILE *f=fopen("conftestval", "w");
19722 if (!f) exit(1);
19723 fprintf(f,
19724 #if (__GNUC__ < 3)
19725 "EMX2"
19726 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19727 "EMX3"
19728 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19729 "Innotek5"
19730 #else
19731 "Innotek6"
19732 #endif
19733 );
19734 exit(0);
19735 }
19736
19737 _ACEOF
19738 if ac_fn_c_try_run "$LINENO"; then :
19739 wx_cv_gccversion=`cat conftestval`
19740 else
19741 wx_cv_gccversion="EMX2"
19742 fi
19743 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19744 conftest.$ac_objext conftest.beam conftest.$ac_ext
19745 fi
19746
19747
19748 fi
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19750 $as_echo "$wx_cv_gccversion" >&6; }
19751 if test "$wx_cv_gccversion" = "EMX2"; then
19752 LIBS="$LIBS -lstdcpp"
19753 LDFLAGS="$LDFLAGS -Zsysv-signals"
19754 else
19755 if test "$wx_cv_gccversion" = "EMX3"; then
19756 LIBS="$LIBS -lstdcxx -lgcc"
19757 LDFLAGS="$LDFLAGS -Zsysv-signals"
19758 else
19759 LIBS="$LIBS -lstdc++"
19760 fi
19761 fi
19762 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19764 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19765 wxUSE_OMF=yes
19766 enable_omf=yes
19767 fi
19768 ;;
19769 *)
19770
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19772 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19773 if test "${ac_cv_string_strcasecmp+set}" = set; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19776
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779
19780 #include <string.h>
19781
19782 int
19783 main ()
19784 {
19785
19786 strcasecmp("foo", "bar");
19787
19788 ;
19789 return 0;
19790 }
19791 _ACEOF
19792 if ac_fn_c_try_link "$LINENO"; then :
19793 ac_cv_string_strcasecmp=yes
19794 else
19795 ac_cv_string_strcasecmp=no
19796
19797 fi
19798 rm -f core conftest.err conftest.$ac_objext \
19799 conftest$ac_exeext conftest.$ac_ext
19800
19801 fi
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19803 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19804
19805 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19806 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19807
19808 else
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19810 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19811 if test "${ac_cv_strings_strcasecmp+set}" = set; then :
19812 $as_echo_n "(cached) " >&6
19813 else
19814
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817
19818 #include <strings.h>
19819
19820 int
19821 main ()
19822 {
19823
19824 strcasecmp("foo", "bar");
19825
19826 ;
19827 return 0;
19828 }
19829 _ACEOF
19830 if ac_fn_c_try_link "$LINENO"; then :
19831 ac_cv_strings_strcasecmp=yes
19832 else
19833 ac_cv_strings_strcasecmp=no
19834
19835 fi
19836 rm -f core conftest.err conftest.$ac_objext \
19837 conftest$ac_exeext conftest.$ac_ext
19838
19839 fi
19840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19841 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19842
19843 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19844 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19845
19846 else
19847 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19848 fi
19849 fi
19850
19851 ;;
19852 esac
19853
19854
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19856 $as_echo_n "checking for ANSI C header files... " >&6; }
19857 if test "${ac_cv_header_stdc+set}" = set; then :
19858 $as_echo_n "(cached) " >&6
19859 else
19860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19861 /* end confdefs.h. */
19862 #include <stdlib.h>
19863 #include <stdarg.h>
19864 #include <string.h>
19865 #include <float.h>
19866
19867 int
19868 main ()
19869 {
19870
19871 ;
19872 return 0;
19873 }
19874 _ACEOF
19875 if ac_fn_c_try_compile "$LINENO"; then :
19876 ac_cv_header_stdc=yes
19877 else
19878 ac_cv_header_stdc=no
19879 fi
19880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19881
19882 if test $ac_cv_header_stdc = yes; then
19883 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19885 /* end confdefs.h. */
19886 #include <string.h>
19887
19888 _ACEOF
19889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19890 $EGREP "memchr" >/dev/null 2>&1; then :
19891
19892 else
19893 ac_cv_header_stdc=no
19894 fi
19895 rm -f conftest*
19896
19897 fi
19898
19899 if test $ac_cv_header_stdc = yes; then
19900 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #include <stdlib.h>
19904
19905 _ACEOF
19906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19907 $EGREP "free" >/dev/null 2>&1; then :
19908
19909 else
19910 ac_cv_header_stdc=no
19911 fi
19912 rm -f conftest*
19913
19914 fi
19915
19916 if test $ac_cv_header_stdc = yes; then
19917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19918 if test "$cross_compiling" = yes; then :
19919 :
19920 else
19921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19922 /* end confdefs.h. */
19923 #include <ctype.h>
19924 #include <stdlib.h>
19925 #if ((' ' & 0x0FF) == 0x020)
19926 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19927 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19928 #else
19929 # define ISLOWER(c) \
19930 (('a' <= (c) && (c) <= 'i') \
19931 || ('j' <= (c) && (c) <= 'r') \
19932 || ('s' <= (c) && (c) <= 'z'))
19933 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19934 #endif
19935
19936 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19937 int
19938 main ()
19939 {
19940 int i;
19941 for (i = 0; i < 256; i++)
19942 if (XOR (islower (i), ISLOWER (i))
19943 || toupper (i) != TOUPPER (i))
19944 return 2;
19945 return 0;
19946 }
19947 _ACEOF
19948 if ac_fn_c_try_run "$LINENO"; then :
19949
19950 else
19951 ac_cv_header_stdc=no
19952 fi
19953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19954 conftest.$ac_objext conftest.beam conftest.$ac_ext
19955 fi
19956
19957 fi
19958 fi
19959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19960 $as_echo "$ac_cv_header_stdc" >&6; }
19961 if test $ac_cv_header_stdc = yes; then
19962
19963 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19964
19965 fi
19966
19967 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19968 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19969 inttypes.h stdint.h unistd.h
19970 do :
19971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19972 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19973 "
19974 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19975 cat >>confdefs.h <<_ACEOF
19976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19977 _ACEOF
19978
19979 fi
19980
19981 done
19982
19983
19984 for ac_header in langinfo.h wchar.h
19985 do :
19986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19988 "
19989 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19990 cat >>confdefs.h <<_ACEOF
19991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19992 _ACEOF
19993
19994 fi
19995
19996 done
19997
19998
19999 if test "$ac_cv_header_wchar_h" != "yes"; then
20000 for ac_header in wcstr.h
20001 do :
20002 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20003 "
20004 if test "x$ac_cv_header_wcstr_h" = x""yes; then :
20005 cat >>confdefs.h <<_ACEOF
20006 #define HAVE_WCSTR_H 1
20007 _ACEOF
20008
20009 fi
20010
20011 done
20012
20013 fi
20014
20015 case "${host}" in
20016 *-pc-os2_emx | *-pc-os2-emx )
20017 if test $ac_cv_header_langinfo_h = "yes" \
20018 -a \( "$wx_cv_gccversion" = "EMX2" \
20019 -o "$wx_cv_gccversion" = "EMX3" \
20020 -o "$wx_cv_gccversion" = "Innotek5" \); then
20021 LIBS="$LIBS -lintl"
20022 fi
20023 ;;
20024 esac
20025
20026 if test "$USE_UNIX" = 1 ; then
20027 for ac_header in sys/select.h
20028 do :
20029 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20030 "
20031 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
20032 cat >>confdefs.h <<_ACEOF
20033 #define HAVE_SYS_SELECT_H 1
20034 _ACEOF
20035
20036 fi
20037
20038 done
20039
20040 fi
20041
20042
20043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20044 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20045 if test "${ac_cv_c_const+set}" = set; then :
20046 $as_echo_n "(cached) " >&6
20047 else
20048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20049 /* end confdefs.h. */
20050
20051 int
20052 main ()
20053 {
20054 /* FIXME: Include the comments suggested by Paul. */
20055 #ifndef __cplusplus
20056 /* Ultrix mips cc rejects this. */
20057 typedef int charset[2];
20058 const charset cs;
20059 /* SunOS 4.1.1 cc rejects this. */
20060 char const *const *pcpcc;
20061 char **ppc;
20062 /* NEC SVR4.0.2 mips cc rejects this. */
20063 struct point {int x, y;};
20064 static struct point const zero = {0,0};
20065 /* AIX XL C 1.02.0.0 rejects this.
20066 It does not let you subtract one const X* pointer from another in
20067 an arm of an if-expression whose if-part is not a constant
20068 expression */
20069 const char *g = "string";
20070 pcpcc = &g + (g ? g-g : 0);
20071 /* HPUX 7.0 cc rejects these. */
20072 ++pcpcc;
20073 ppc = (char**) pcpcc;
20074 pcpcc = (char const *const *) ppc;
20075 { /* SCO 3.2v4 cc rejects this. */
20076 char *t;
20077 char const *s = 0 ? (char *) 0 : (char const *) 0;
20078
20079 *t++ = 0;
20080 if (s) return 0;
20081 }
20082 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20083 int x[] = {25, 17};
20084 const int *foo = &x[0];
20085 ++foo;
20086 }
20087 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20088 typedef const int *iptr;
20089 iptr p = 0;
20090 ++p;
20091 }
20092 { /* AIX XL C 1.02.0.0 rejects this saying
20093 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20094 struct s { int j; const int *ap[3]; };
20095 struct s *b; b->j = 5;
20096 }
20097 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20098 const int foo = 10;
20099 if (!foo) return 0;
20100 }
20101 return !cs[0] && !zero.x;
20102 #endif
20103
20104 ;
20105 return 0;
20106 }
20107 _ACEOF
20108 if ac_fn_c_try_compile "$LINENO"; then :
20109 ac_cv_c_const=yes
20110 else
20111 ac_cv_c_const=no
20112 fi
20113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 fi
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20116 $as_echo "$ac_cv_c_const" >&6; }
20117 if test $ac_cv_c_const = no; then
20118
20119 $as_echo "#define const /**/" >>confdefs.h
20120
20121 fi
20122
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20124 $as_echo_n "checking for inline... " >&6; }
20125 if test "${ac_cv_c_inline+set}" = set; then :
20126 $as_echo_n "(cached) " >&6
20127 else
20128 ac_cv_c_inline=no
20129 for ac_kw in inline __inline__ __inline; do
20130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20131 /* end confdefs.h. */
20132 #ifndef __cplusplus
20133 typedef int foo_t;
20134 static $ac_kw foo_t static_foo () {return 0; }
20135 $ac_kw foo_t foo () {return 0; }
20136 #endif
20137
20138 _ACEOF
20139 if ac_fn_c_try_compile "$LINENO"; then :
20140 ac_cv_c_inline=$ac_kw
20141 fi
20142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20143 test "$ac_cv_c_inline" != no && break
20144 done
20145
20146 fi
20147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20148 $as_echo "$ac_cv_c_inline" >&6; }
20149
20150 case $ac_cv_c_inline in
20151 inline | yes) ;;
20152 *)
20153 case $ac_cv_c_inline in
20154 no) ac_val=;;
20155 *) ac_val=$ac_cv_c_inline;;
20156 esac
20157 cat >>confdefs.h <<_ACEOF
20158 #ifndef __cplusplus
20159 #define inline $ac_val
20160 #endif
20161 _ACEOF
20162 ;;
20163 esac
20164
20165
20166 # The cast to long int works around a bug in the HP C Compiler
20167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20169 # This bug is HP SR number 8606223364.
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20171 $as_echo_n "checking size of short... " >&6; }
20172 if test "${ac_cv_sizeof_short+set}" = set; then :
20173 $as_echo_n "(cached) " >&6
20174 else
20175 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20176
20177 else
20178 if test "$ac_cv_type_short" = yes; then
20179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20181 as_fn_error 77 "cannot compute sizeof (short)
20182 See \`config.log' for more details" "$LINENO" 5; }
20183 else
20184 ac_cv_sizeof_short=0
20185 fi
20186 fi
20187
20188 fi
20189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20190 $as_echo "$ac_cv_sizeof_short" >&6; }
20191
20192
20193
20194 cat >>confdefs.h <<_ACEOF
20195 #define SIZEOF_SHORT $ac_cv_sizeof_short
20196 _ACEOF
20197
20198
20199 # The cast to long int works around a bug in the HP C Compiler
20200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20202 # This bug is HP SR number 8606223364.
20203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20204 $as_echo_n "checking size of void *... " >&6; }
20205 if test "${ac_cv_sizeof_void_p+set}" = set; then :
20206 $as_echo_n "(cached) " >&6
20207 else
20208 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20209
20210 else
20211 if test "$ac_cv_type_void_p" = yes; then
20212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20214 as_fn_error 77 "cannot compute sizeof (void *)
20215 See \`config.log' for more details" "$LINENO" 5; }
20216 else
20217 ac_cv_sizeof_void_p=0
20218 fi
20219 fi
20220
20221 fi
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20223 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20224
20225
20226
20227 cat >>confdefs.h <<_ACEOF
20228 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20229 _ACEOF
20230
20231
20232 # The cast to long int works around a bug in the HP C Compiler
20233 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20234 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20235 # This bug is HP SR number 8606223364.
20236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20237 $as_echo_n "checking size of int... " >&6; }
20238 if test "${ac_cv_sizeof_int+set}" = set; then :
20239 $as_echo_n "(cached) " >&6
20240 else
20241 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20242
20243 else
20244 if test "$ac_cv_type_int" = yes; then
20245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20247 as_fn_error 77 "cannot compute sizeof (int)
20248 See \`config.log' for more details" "$LINENO" 5; }
20249 else
20250 ac_cv_sizeof_int=0
20251 fi
20252 fi
20253
20254 fi
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20256 $as_echo "$ac_cv_sizeof_int" >&6; }
20257
20258
20259
20260 cat >>confdefs.h <<_ACEOF
20261 #define SIZEOF_INT $ac_cv_sizeof_int
20262 _ACEOF
20263
20264
20265 # The cast to long int works around a bug in the HP C Compiler
20266 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20267 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20268 # This bug is HP SR number 8606223364.
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20270 $as_echo_n "checking size of long... " >&6; }
20271 if test "${ac_cv_sizeof_long+set}" = set; then :
20272 $as_echo_n "(cached) " >&6
20273 else
20274 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20275
20276 else
20277 if test "$ac_cv_type_long" = yes; then
20278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20279 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20280 as_fn_error 77 "cannot compute sizeof (long)
20281 See \`config.log' for more details" "$LINENO" 5; }
20282 else
20283 ac_cv_sizeof_long=0
20284 fi
20285 fi
20286
20287 fi
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20289 $as_echo "$ac_cv_sizeof_long" >&6; }
20290
20291
20292
20293 cat >>confdefs.h <<_ACEOF
20294 #define SIZEOF_LONG $ac_cv_sizeof_long
20295 _ACEOF
20296
20297
20298 # The cast to long int works around a bug in the HP C Compiler
20299 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20300 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20301 # This bug is HP SR number 8606223364.
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20303 $as_echo_n "checking size of size_t... " >&6; }
20304 if test "${ac_cv_sizeof_size_t+set}" = set; then :
20305 $as_echo_n "(cached) " >&6
20306 else
20307 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20308
20309 else
20310 if test "$ac_cv_type_size_t" = yes; then
20311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20313 as_fn_error 77 "cannot compute sizeof (size_t)
20314 See \`config.log' for more details" "$LINENO" 5; }
20315 else
20316 ac_cv_sizeof_size_t=0
20317 fi
20318 fi
20319
20320 fi
20321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20322 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20323
20324
20325
20326 cat >>confdefs.h <<_ACEOF
20327 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20328 _ACEOF
20329
20330
20331
20332 case "${host}" in
20333 arm-*-linux* )
20334 # The cast to long int works around a bug in the HP C Compiler
20335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20337 # This bug is HP SR number 8606223364.
20338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20339 $as_echo_n "checking size of long long... " >&6; }
20340 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20341 $as_echo_n "(cached) " >&6
20342 else
20343 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20344
20345 else
20346 if test "$ac_cv_type_long_long" = yes; then
20347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20349 as_fn_error 77 "cannot compute sizeof (long long)
20350 See \`config.log' for more details" "$LINENO" 5; }
20351 else
20352 ac_cv_sizeof_long_long=0
20353 fi
20354 fi
20355
20356 fi
20357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20358 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20359
20360
20361
20362 cat >>confdefs.h <<_ACEOF
20363 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20364 _ACEOF
20365
20366
20367 ;;
20368 *-hp-hpux* )
20369 # The cast to long int works around a bug in the HP C Compiler
20370 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20371 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20372 # This bug is HP SR number 8606223364.
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20374 $as_echo_n "checking size of long long... " >&6; }
20375 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20376 $as_echo_n "(cached) " >&6
20377 else
20378 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20379
20380 else
20381 if test "$ac_cv_type_long_long" = yes; then
20382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20383 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20384 as_fn_error 77 "cannot compute sizeof (long long)
20385 See \`config.log' for more details" "$LINENO" 5; }
20386 else
20387 ac_cv_sizeof_long_long=0
20388 fi
20389 fi
20390
20391 fi
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20393 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20394
20395
20396
20397 cat >>confdefs.h <<_ACEOF
20398 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20399 _ACEOF
20400
20401
20402 if test "$ac_cv_sizeof_long_long" != 0; then
20403 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20404 fi
20405 ;;
20406 * )
20407 # The cast to long int works around a bug in the HP C Compiler
20408 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20409 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20410 # This bug is HP SR number 8606223364.
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20412 $as_echo_n "checking size of long long... " >&6; }
20413 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20414 $as_echo_n "(cached) " >&6
20415 else
20416 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20417
20418 else
20419 if test "$ac_cv_type_long_long" = yes; then
20420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20422 as_fn_error 77 "cannot compute sizeof (long long)
20423 See \`config.log' for more details" "$LINENO" 5; }
20424 else
20425 ac_cv_sizeof_long_long=0
20426 fi
20427 fi
20428
20429 fi
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20431 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20432
20433
20434
20435 cat >>confdefs.h <<_ACEOF
20436 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20437 _ACEOF
20438
20439
20440 esac
20441
20442 # The cast to long int works around a bug in the HP C Compiler
20443 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20444 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20445 # This bug is HP SR number 8606223364.
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20447 $as_echo_n "checking size of wchar_t... " >&6; }
20448 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
20449 $as_echo_n "(cached) " >&6
20450 else
20451 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20452 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20453 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20454 # error \"fake wchar_t\"
20455 #endif
20456 #ifdef HAVE_WCHAR_H
20457 # ifdef __CYGWIN__
20458 # include <stddef.h>
20459 # endif
20460 # include <wchar.h>
20461 #endif
20462 #ifdef HAVE_STDLIB_H
20463 # include <stdlib.h>
20464 #endif
20465 #include <stdio.h>
20466
20467
20468 "; then :
20469
20470 else
20471 if test "$ac_cv_type_wchar_t" = yes; then
20472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20474 as_fn_error 77 "cannot compute sizeof (wchar_t)
20475 See \`config.log' for more details" "$LINENO" 5; }
20476 else
20477 ac_cv_sizeof_wchar_t=0
20478 fi
20479 fi
20480
20481 fi
20482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20483 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20484
20485
20486
20487 cat >>confdefs.h <<_ACEOF
20488 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20489 _ACEOF
20490
20491
20492 if test "$ac_cv_sizeof_wchar_t" = 0; then
20493 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20494 fi
20495 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20496
20497
20498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20499 $as_echo_n "checking for va_copy... " >&6; }
20500 if test "${wx_cv_func_va_copy+set}" = set; then :
20501 $as_echo_n "(cached) " >&6
20502 else
20503
20504 ac_ext=cpp
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20509
20510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20511 /* end confdefs.h. */
20512
20513
20514 #include <stdarg.h>
20515 void foo(char *f, ...)
20516 {
20517 va_list ap1, ap2;
20518 va_start(ap1, f);
20519 va_copy(ap2, ap1);
20520 va_end(ap2);
20521 va_end(ap1);
20522 }
20523 int main()
20524 {
20525 foo("hi", 17);
20526 return 0;
20527 }
20528
20529 _ACEOF
20530 if ac_fn_cxx_try_link "$LINENO"; then :
20531 wx_cv_func_va_copy=yes
20532 else
20533 wx_cv_func_va_copy=no
20534
20535 fi
20536 rm -f core conftest.err conftest.$ac_objext \
20537 conftest$ac_exeext conftest.$ac_ext
20538 ac_ext=c
20539 ac_cpp='$CPP $CPPFLAGS'
20540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20543
20544
20545
20546 fi
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20548 $as_echo "$wx_cv_func_va_copy" >&6; }
20549
20550 if test $wx_cv_func_va_copy = "yes"; then
20551 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20552
20553 else
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20555 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20556 if test "${wx_cv_type_va_list_lvalue+set}" = set; then :
20557 $as_echo_n "(cached) " >&6
20558 else
20559
20560 if test "$cross_compiling" = yes; then :
20561 wx_cv_type_va_list_lvalue=yes
20562
20563 else
20564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20566
20567
20568 #include <stdarg.h>
20569 int foo(char *f, ...)
20570 {
20571 va_list ap1, ap2;
20572 va_start(ap1, f);
20573 ap2 = ap1;
20574 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20575 return 1;
20576 va_end(ap2);
20577 va_end(ap1);
20578 return 0;
20579 }
20580 int main()
20581 {
20582 return foo("hi", 17);
20583 }
20584
20585 _ACEOF
20586 if ac_fn_c_try_run "$LINENO"; then :
20587 wx_cv_type_va_list_lvalue=yes
20588 else
20589 wx_cv_type_va_list_lvalue=no
20590 fi
20591 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20592 conftest.$ac_objext conftest.beam conftest.$ac_ext
20593 fi
20594
20595
20596
20597 fi
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20599 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20600
20601 if test $wx_cv_type_va_list_lvalue != "yes"; then
20602 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20603
20604 fi
20605 fi
20606
20607 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20608
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20610 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20611 if test "${wx_cv_have_variadic_macros+set}" = set; then :
20612 $as_echo_n "(cached) " >&6
20613 else
20614
20615 ac_ext=cpp
20616 ac_cpp='$CXXCPP $CPPFLAGS'
20617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20620
20621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20622 /* end confdefs.h. */
20623
20624
20625 #include <stdio.h>
20626 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20627
20628 int
20629 main ()
20630 {
20631
20632 test("%s %d %p", "test", 1, 0);
20633
20634
20635 ;
20636 return 0;
20637 }
20638 _ACEOF
20639 if ac_fn_cxx_try_compile "$LINENO"; then :
20640 wx_cv_have_variadic_macros=yes
20641 else
20642 wx_cv_have_variadic_macros=no
20643
20644 fi
20645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20646 ac_ext=c
20647 ac_cpp='$CPP $CPPFLAGS'
20648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20651
20652
20653
20654 fi
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20656 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20657
20658 if test $wx_cv_have_variadic_macros = "yes"; then
20659 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20660
20661 fi
20662
20663 fi
20664
20665 LARGEFILE_CPPFLAGS=
20666 # Check whether --enable-largefile was given.
20667 if test "${enable_largefile+set}" = set; then :
20668 enableval=$enable_largefile;
20669 fi
20670
20671 if test "$enable_largefile" != no; then
20672 wx_largefile=no
20673
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20675 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20676 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
20677 $as_echo_n "(cached) " >&6
20678 else
20679
20680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20681 /* end confdefs.h. */
20682 #define _FILE_OFFSET_BITS 64
20683 #include <sys/types.h>
20684 int
20685 main ()
20686 {
20687 typedef struct {
20688 unsigned int field: sizeof(off_t) == 8;
20689 } wxlf;
20690
20691 ;
20692 return 0;
20693 }
20694 _ACEOF
20695 if ac_fn_c_try_compile "$LINENO"; then :
20696 ac_cv_sys_file_offset_bits=64
20697 else
20698 ac_cv_sys_file_offset_bits=no
20699 fi
20700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20701
20702
20703 fi
20704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20705 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20706
20707 if test "$ac_cv_sys_file_offset_bits" != no; then
20708 wx_largefile=yes
20709 cat >>confdefs.h <<_ACEOF
20710 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20711 _ACEOF
20712
20713 fi
20714
20715 if test "x$wx_largefile" != "xyes"; then
20716
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20718 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20719 if test "${ac_cv_sys_large_files+set}" = set; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20722
20723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20724 /* end confdefs.h. */
20725 #define _LARGE_FILES 1
20726 #include <sys/types.h>
20727 int
20728 main ()
20729 {
20730 typedef struct {
20731 unsigned int field: sizeof(off_t) == 8;
20732 } wxlf;
20733
20734 ;
20735 return 0;
20736 }
20737 _ACEOF
20738 if ac_fn_c_try_compile "$LINENO"; then :
20739 ac_cv_sys_large_files=1
20740 else
20741 ac_cv_sys_large_files=no
20742 fi
20743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20744
20745
20746 fi
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20748 $as_echo "$ac_cv_sys_large_files" >&6; }
20749
20750 if test "$ac_cv_sys_large_files" != no; then
20751 wx_largefile=yes
20752 cat >>confdefs.h <<_ACEOF
20753 #define _LARGE_FILES $ac_cv_sys_large_files
20754 _ACEOF
20755
20756 fi
20757
20758 fi
20759
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20761 $as_echo_n "checking if large file support is available... " >&6; }
20762 if test "x$wx_largefile" = "xyes"; then
20763 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20764
20765 fi
20766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20767 $as_echo "$wx_largefile" >&6; }
20768 fi
20769
20770 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20771 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20772 elif test "$ac_cv_sys_large_files" = 1; then
20773 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20774 fi
20775
20776 if test -n "$LARGEFILE_CPPFLAGS"; then
20777 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20778
20779 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20781 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20782 if test "${wx_cv_STDC_EXT_required+set}" = set; then :
20783 $as_echo_n "(cached) " >&6
20784 else
20785
20786 ac_ext=cpp
20787 ac_cpp='$CXXCPP $CPPFLAGS'
20788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20791
20792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20793 /* end confdefs.h. */
20794
20795 int
20796 main ()
20797 {
20798
20799 #ifndef __STDC_EXT__
20800 choke me
20801 #endif
20802
20803 ;
20804 return 0;
20805 }
20806 _ACEOF
20807 if ac_fn_cxx_try_compile "$LINENO"; then :
20808 wx_cv_STDC_EXT_required=no
20809 else
20810 wx_cv_STDC_EXT_required=yes
20811
20812 fi
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 ac_ext=c
20815 ac_cpp='$CPP $CPPFLAGS'
20816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20819
20820
20821
20822 fi
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20824 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20825 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20826 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20827 fi
20828 fi
20829 fi
20830
20831 ac_ext=cpp
20832 ac_cpp='$CXXCPP $CPPFLAGS'
20833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20836
20837 old_CPPFLAGS="$CPPFLAGS"
20838 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20840 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20841 if test "${ac_cv_sys_largefile_source+set}" = set; then :
20842 $as_echo_n "(cached) " >&6
20843 else
20844 while :; do
20845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20846 /* end confdefs.h. */
20847 #include <sys/types.h> /* for off_t */
20848 #include <stdio.h>
20849 int
20850 main ()
20851 {
20852 int (*fp) (FILE *, off_t, int) = fseeko;
20853 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20854 ;
20855 return 0;
20856 }
20857 _ACEOF
20858 if ac_fn_cxx_try_link "$LINENO"; then :
20859 ac_cv_sys_largefile_source=no; break
20860 fi
20861 rm -f core conftest.err conftest.$ac_objext \
20862 conftest$ac_exeext conftest.$ac_ext
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865 #define _LARGEFILE_SOURCE 1
20866 #include <sys/types.h> /* for off_t */
20867 #include <stdio.h>
20868 int
20869 main ()
20870 {
20871 int (*fp) (FILE *, off_t, int) = fseeko;
20872 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 if ac_fn_cxx_try_link "$LINENO"; then :
20878 ac_cv_sys_largefile_source=1; break
20879 fi
20880 rm -f core conftest.err conftest.$ac_objext \
20881 conftest$ac_exeext conftest.$ac_ext
20882 ac_cv_sys_largefile_source=unknown
20883 break
20884 done
20885 fi
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20887 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20888 case $ac_cv_sys_largefile_source in #(
20889 no | unknown) ;;
20890 *)
20891 cat >>confdefs.h <<_ACEOF
20892 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20893 _ACEOF
20894 ;;
20895 esac
20896 rm -rf conftest*
20897
20898 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20899 # in glibc 2.1.3, but that breaks too many other things.
20900 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20901 if test $ac_cv_sys_largefile_source != unknown; then
20902
20903 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20904
20905 fi
20906
20907 CPPFLAGS="$old_CPPFLAGS"
20908 ac_ext=c
20909 ac_cpp='$CPP $CPPFLAGS'
20910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20913
20914 if test "$ac_cv_sys_largefile_source" != no; then
20915 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20916 fi
20917
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20919 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20920 if test "${ac_cv_c_bigendian+set}" = set; then :
20921 $as_echo_n "(cached) " >&6
20922 else
20923 ac_cv_c_bigendian=unknown
20924 # See if sys/param.h defines the BYTE_ORDER macro.
20925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #include <sys/types.h>
20928 #include <sys/param.h>
20929 int
20930 main ()
20931 {
20932
20933 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20934 bogus endian macros
20935 #endif
20936 ;
20937 return 0;
20938 }
20939 _ACEOF
20940 if ac_fn_c_try_compile "$LINENO"; then :
20941 # It does; now see whether it defined to BIG_ENDIAN or not.
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944 #include <sys/types.h>
20945 #include <sys/param.h>
20946 int
20947 main ()
20948 {
20949
20950 #if BYTE_ORDER != BIG_ENDIAN
20951 not big endian
20952 #endif
20953 ;
20954 return 0;
20955 }
20956 _ACEOF
20957 if ac_fn_c_try_compile "$LINENO"; then :
20958 ac_cv_c_bigendian=yes
20959 else
20960 ac_cv_c_bigendian=no
20961 fi
20962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20963 fi
20964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20965 if test $ac_cv_c_bigendian = unknown; then
20966 if test "$cross_compiling" = yes; then :
20967 ac_cv_c_bigendian=unknown
20968 else
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20971 main () {
20972 /* Are we little or big endian? From Harbison&Steele. */
20973 union
20974 {
20975 long l;
20976 char c[sizeof (long)];
20977 } u;
20978 u.l = 1;
20979 exit (u.c[sizeof (long) - 1] == 1);
20980 }
20981 _ACEOF
20982 if ac_fn_c_try_run "$LINENO"; then :
20983 ac_cv_c_bigendian=no
20984 else
20985 ac_cv_c_bigendian=yes
20986 fi
20987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20988 conftest.$ac_objext conftest.beam conftest.$ac_ext
20989 fi
20990
20991 fi
20992 fi
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20994 $as_echo "$ac_cv_c_bigendian" >&6; }
20995 if test $ac_cv_c_bigendian = unknown; then
20996 { $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
20997 $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;}
20998 fi
20999 if test $ac_cv_c_bigendian = yes; then
21000 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21001
21002 fi
21003
21004
21005
21006
21007 ac_ext=cpp
21008 ac_cpp='$CXXCPP $CPPFLAGS'
21009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21012
21013
21014 for ac_header in iostream
21015 do :
21016 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21017 "
21018 if test "x$ac_cv_header_iostream" = x""yes; then :
21019 cat >>confdefs.h <<_ACEOF
21020 #define HAVE_IOSTREAM 1
21021 _ACEOF
21022
21023 fi
21024
21025 done
21026
21027
21028 if test "$ac_cv_header_iostream" = "yes" ; then
21029 :
21030 else
21031 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21032
21033 fi
21034
21035 ac_ext=c
21036 ac_cpp='$CPP $CPPFLAGS'
21037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21040
21041
21042
21043
21044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21045 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21046 if test "${wx_cv_explicit+set}" = set; then :
21047 $as_echo_n "(cached) " >&6
21048 else
21049
21050
21051 ac_ext=cpp
21052 ac_cpp='$CXXCPP $CPPFLAGS'
21053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21056
21057
21058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21059 /* end confdefs.h. */
21060
21061 class Foo { public: explicit Foo(int) {} };
21062
21063 int
21064 main ()
21065 {
21066
21067 return 0;
21068
21069 ;
21070 return 0;
21071 }
21072 _ACEOF
21073 if ac_fn_cxx_try_compile "$LINENO"; then :
21074
21075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21076 /* end confdefs.h. */
21077
21078 class Foo { public: explicit Foo(int) {} };
21079 static void TakeFoo(const Foo& foo) { }
21080
21081 int
21082 main ()
21083 {
21084
21085 TakeFoo(17);
21086 return 0;
21087
21088 ;
21089 return 0;
21090 }
21091 _ACEOF
21092 if ac_fn_cxx_try_compile "$LINENO"; then :
21093 wx_cv_explicit=no
21094 else
21095 wx_cv_explicit=yes
21096
21097 fi
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099
21100 else
21101 wx_cv_explicit=no
21102
21103 fi
21104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21105
21106 ac_ext=c
21107 ac_cpp='$CPP $CPPFLAGS'
21108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21111
21112
21113 fi
21114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21115 $as_echo "$wx_cv_explicit" >&6; }
21116
21117 if test "$wx_cv_explicit" = "yes"; then
21118 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21119
21120 fi
21121
21122
21123 if test "x$SUNCXX" = xyes; then
21124 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21125 fi
21126
21127 if test "x$SUNCC" = xyes; then
21128 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21129 fi
21130
21131 if test "x$SGICC" = "xyes"; then
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21133 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21134 if test "${wx_cv_prog_sgicc744+set}" = set; then :
21135 $as_echo_n "(cached) " >&6
21136 else
21137
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21140
21141 int
21142 main ()
21143 {
21144
21145 #if _SGI_COMPILER_VERSION >= 744
21146 chock me: mipsPro is 7.4.4 or later
21147 #endif
21148
21149 ;
21150 return 0;
21151 }
21152 _ACEOF
21153 if ac_fn_c_try_compile "$LINENO"; then :
21154 wx_cv_prog_sgicc744=no
21155 else
21156 wx_cv_prog_sgicc744=yes
21157
21158 fi
21159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21160
21161
21162 fi
21163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21164 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21165
21166 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21167 CFLAGS="-woff 3970 $CFLAGS"
21168 fi
21169 fi
21170 if test "x$SGICXX" = "xyes"; then
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21172 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21173 if test "${wx_cv_prog_sgicxx744+set}" = set; then :
21174 $as_echo_n "(cached) " >&6
21175 else
21176
21177 ac_ext=cpp
21178 ac_cpp='$CXXCPP $CPPFLAGS'
21179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21182
21183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21185
21186 int
21187 main ()
21188 {
21189
21190 #if _SGI_COMPILER_VERSION >= 744
21191 chock me: mipsPro is 7.4.4 or later
21192 #endif
21193
21194 ;
21195 return 0;
21196 }
21197 _ACEOF
21198 if ac_fn_cxx_try_compile "$LINENO"; then :
21199 wx_cv_prog_sgicxx744=no
21200 else
21201 wx_cv_prog_sgicxx744=yes
21202
21203 fi
21204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21205 ac_ext=c
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21210
21211
21212
21213 fi
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21215 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21216
21217 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21218 CXXFLAGS="-woff 3970 $CXXFLAGS"
21219 fi
21220 fi
21221
21222 if test "x$HPCC" = "xyes"; then
21223 CFLAGS="+W 2011,2450 $CFLAGS"
21224 fi
21225 if test "x$HPCXX" = "xyes"; then
21226 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21227 fi
21228
21229 if test "x$COMPAQCXX" = "xyes"; then
21230 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21231 fi
21232
21233 ac_ext=cpp
21234 ac_cpp='$CXXCPP $CPPFLAGS'
21235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21238
21239
21240 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21241 if test "$wxUSE_UNICODE" = "yes"; then
21242 std_string="std::wstring"
21243 char_type="wchar_t"
21244 else
21245 std_string="std::string"
21246 char_type="char"
21247 fi
21248
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21250 $as_echo_n "checking for $std_string in <string>... " >&6; }
21251 if test "${wx_cv_class_stdstring+set}" = set; then :
21252 $as_echo_n "(cached) " >&6
21253 else
21254
21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21257 #include <string>
21258 int
21259 main ()
21260 {
21261 $std_string foo;
21262 ;
21263 return 0;
21264 }
21265 _ACEOF
21266 if ac_fn_cxx_try_compile "$LINENO"; then :
21267 wx_cv_class_stdstring=yes
21268 else
21269 wx_cv_class_stdstring=no
21270
21271 fi
21272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21273
21274
21275 fi
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21277 $as_echo "$wx_cv_class_stdstring" >&6; }
21278
21279 if test "$wx_cv_class_stdstring" = yes; then
21280 if test "$wxUSE_UNICODE" = "yes"; then
21281 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21282
21283 fi
21284 else
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21286 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21287 if test "${wx_cv_class_stdbasicstring+set}" = set; then :
21288 $as_echo_n "(cached) " >&6
21289 else
21290
21291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21292 /* end confdefs.h. */
21293
21294 #ifdef HAVE_WCHAR_H
21295 # ifdef __CYGWIN__
21296 # include <stddef.h>
21297 # endif
21298 # include <wchar.h>
21299 #endif
21300 #ifdef HAVE_STDLIB_H
21301 # include <stdlib.h>
21302 #endif
21303 #include <stdio.h>
21304 #include <string>
21305
21306 int
21307 main ()
21308 {
21309 std::basic_string<$char_type> foo;
21310 const $char_type* dummy = foo.c_str();
21311 ;
21312 return 0;
21313 }
21314 _ACEOF
21315 if ac_fn_cxx_try_compile "$LINENO"; then :
21316 wx_cv_class_stdbasicstring=yes
21317 else
21318 wx_cv_class_stdbasicstring=no
21319
21320 fi
21321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21322
21323
21324 fi
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21326 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21327
21328 if test "$wx_cv_class_stdbasicstring" != yes; then
21329 if test "$wxUSE_STL" = "yes"; then
21330 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21331 elif test "$wxUSE_STD_STRING" = "yes"; then
21332 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21333 else
21334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21335 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21336 wxUSE_STD_STRING=no
21337 fi
21338 fi
21339 fi
21340 fi
21341
21342 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21343 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21344 "
21345 if test "x$ac_cv_type_std__istream" = x""yes; then :
21346
21347 cat >>confdefs.h <<_ACEOF
21348 #define HAVE_STD__ISTREAM 1
21349 _ACEOF
21350
21351
21352 else
21353 wxUSE_STD_IOSTREAM=no
21354 fi
21355 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21356 "
21357 if test "x$ac_cv_type_std__ostream" = x""yes; then :
21358
21359 cat >>confdefs.h <<_ACEOF
21360 #define HAVE_STD__OSTREAM 1
21361 _ACEOF
21362
21363
21364 else
21365 wxUSE_STD_IOSTREAM=no
21366 fi
21367
21368
21369 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21370 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21371 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21372 else
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21374 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21375 fi
21376 fi
21377 fi
21378
21379 if test "$wxUSE_STL" = "yes"; then
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21381 $as_echo_n "checking for basic STL functionality... " >&6; }
21382 if test "${wx_cv_lib_stl+set}" = set; then :
21383 $as_echo_n "(cached) " >&6
21384 else
21385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21386 /* end confdefs.h. */
21387 #include <string>
21388 #include <functional>
21389 #include <algorithm>
21390 #include <vector>
21391 #include <list>
21392 int
21393 main ()
21394 {
21395 std::vector<int> moo;
21396 std::list<int> foo;
21397 std::vector<int>::iterator it =
21398 std::find_if(moo.begin(), moo.end(),
21399 std::bind2nd(std::less<int>(), 3));
21400 ;
21401 return 0;
21402 }
21403 _ACEOF
21404 if ac_fn_cxx_try_compile "$LINENO"; then :
21405 wx_cv_lib_stl=yes
21406 else
21407 wx_cv_lib_stl=no
21408
21409 fi
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411
21412 fi
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21414 $as_echo "$wx_cv_lib_stl" >&6; }
21415
21416 if test "$wx_cv_lib_stl" != yes; then
21417 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21418 fi
21419
21420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21421 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21422 if test "${wx_cv_func_stdstring_compare+set}" = set; then :
21423 $as_echo_n "(cached) " >&6
21424 else
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21427 #include <string>
21428 int
21429 main ()
21430 {
21431 std::string foo, bar;
21432 foo.compare(bar);
21433 foo.compare(1, 1, bar);
21434 foo.compare(1, 1, bar, 1, 1);
21435 foo.compare("");
21436 foo.compare(1, 1, "");
21437 foo.compare(1, 1, "", 2);
21438 ;
21439 return 0;
21440 }
21441 _ACEOF
21442 if ac_fn_cxx_try_compile "$LINENO"; then :
21443 wx_cv_func_stdstring_compare=yes
21444 else
21445 wx_cv_func_stdstring_compare=no
21446
21447 fi
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449
21450 fi
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21452 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21453
21454 if test "$wx_cv_func_stdstring_compare" = yes; then
21455 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21456
21457 fi
21458
21459 if test "$wx_cv_class_gnuhashmapset" = yes; then
21460 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21461
21462 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21463
21464 fi
21465
21466 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21467
21468 "
21469 if test "x$ac_cv_header_unordered_map" = x""yes; then :
21470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21471 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21472 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then :
21473 $as_echo_n "(cached) " >&6
21474 else
21475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21476 /* end confdefs.h. */
21477 #include <unordered_map>
21478 #include <unordered_set>
21479 int
21480 main ()
21481 {
21482 std::unordered_map<double*, char*> test1;
21483 std::unordered_set<char*> test2;
21484 ;
21485 return 0;
21486 }
21487 _ACEOF
21488 if ac_fn_cxx_try_compile "$LINENO"; then :
21489 wx_cv_class_stdunorderedmapset=yes
21490 else
21491 wx_cv_class_stdunorderedmapset=no
21492 fi
21493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21494
21495
21496 fi
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21498 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21499 fi
21500
21501
21502
21503 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21504 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21505
21506 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21507
21508 else
21509 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21510
21511 "
21512 if test "x$ac_cv_header_tr1_unordered_map" = x""yes; then :
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21514 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21515 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then :
21516 $as_echo_n "(cached) " >&6
21517 else
21518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h. */
21520 #include <tr1/unordered_map>
21521 #include <tr1/unordered_set>
21522 int
21523 main ()
21524 {
21525 std::tr1::unordered_map<double*, char*> test1;
21526 std::tr1::unordered_set<char*> test2;
21527 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21528 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21529 #endif
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 wx_cv_class_tr1unorderedmapset=yes
21536 else
21537 wx_cv_class_tr1unorderedmapset=no
21538 fi
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540
21541
21542 fi
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21544 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21545 fi
21546
21547
21548
21549 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21550 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21551
21552 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21553
21554 else
21555 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21556
21557 "
21558 if test "x$ac_cv_header_hash_map" = x""yes; then :
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21560 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21561 if test "${wx_cv_class_stdhashmapset+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21563 else
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21566 #include <hash_map>
21567 #include <hash_set>
21568 int
21569 main ()
21570 {
21571 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21572 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21573 ;
21574 return 0;
21575 }
21576 _ACEOF
21577 if ac_fn_cxx_try_compile "$LINENO"; then :
21578 wx_cv_class_stdhashmapset=yes
21579 else
21580 wx_cv_class_stdhashmapset=no
21581 fi
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21583
21584
21585 fi
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21587 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21588 fi
21589
21590
21591
21592 if test "$wx_cv_class_stdhashmapset" = yes; then
21593 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21594
21595 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21596
21597 fi
21598
21599 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21600
21601 "
21602 if test "x$ac_cv_header_ext_hash_map" = x""yes; then :
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21604 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21605 if test "${wx_cv_class_gnuhashmapset+set}" = set; then :
21606 $as_echo_n "(cached) " >&6
21607 else
21608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21609 /* end confdefs.h. */
21610 #include <ext/hash_map>
21611 #include <ext/hash_set>
21612 int
21613 main ()
21614 {
21615 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21616 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21617 ;
21618 return 0;
21619 }
21620 _ACEOF
21621 if ac_fn_cxx_try_compile "$LINENO"; then :
21622 wx_cv_class_gnuhashmapset=yes
21623 else
21624 wx_cv_class_gnuhashmapset=no
21625 fi
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21627
21628
21629 fi
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21631 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21632 fi
21633
21634
21635
21636 fi
21637 fi
21638 fi
21639
21640 ac_ext=cpp
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21646 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21647 if test -z "$CXXCPP"; then
21648 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
21649 $as_echo_n "(cached) " >&6
21650 else
21651 # Double quotes because CXXCPP needs to be expanded
21652 for CXXCPP in "$CXX -E" "/lib/cpp"
21653 do
21654 ac_preproc_ok=false
21655 for ac_cxx_preproc_warn_flag in '' yes
21656 do
21657 # Use a header file that comes with gcc, so configuring glibc
21658 # with a fresh cross-compiler works.
21659 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21660 # <limits.h> exists even on freestanding compilers.
21661 # On the NeXT, cc -E runs the code through the compiler's parser,
21662 # not just through cpp. "Syntax error" is here to catch this case.
21663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21664 /* end confdefs.h. */
21665 #ifdef __STDC__
21666 # include <limits.h>
21667 #else
21668 # include <assert.h>
21669 #endif
21670 Syntax error
21671 _ACEOF
21672 if ac_fn_cxx_try_cpp "$LINENO"; then :
21673
21674 else
21675 # Broken: fails on valid input.
21676 continue
21677 fi
21678 rm -f conftest.err conftest.i conftest.$ac_ext
21679
21680 # OK, works on sane cases. Now check whether nonexistent headers
21681 # can be detected and how.
21682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21683 /* end confdefs.h. */
21684 #include <ac_nonexistent.h>
21685 _ACEOF
21686 if ac_fn_cxx_try_cpp "$LINENO"; then :
21687 # Broken: success on invalid input.
21688 continue
21689 else
21690 # Passes both tests.
21691 ac_preproc_ok=:
21692 break
21693 fi
21694 rm -f conftest.err conftest.i conftest.$ac_ext
21695
21696 done
21697 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21698 rm -f conftest.i conftest.err conftest.$ac_ext
21699 if $ac_preproc_ok; then :
21700 break
21701 fi
21702
21703 done
21704 ac_cv_prog_CXXCPP=$CXXCPP
21705
21706 fi
21707 CXXCPP=$ac_cv_prog_CXXCPP
21708 else
21709 ac_cv_prog_CXXCPP=$CXXCPP
21710 fi
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21712 $as_echo "$CXXCPP" >&6; }
21713 ac_preproc_ok=false
21714 for ac_cxx_preproc_warn_flag in '' yes
21715 do
21716 # Use a header file that comes with gcc, so configuring glibc
21717 # with a fresh cross-compiler works.
21718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21719 # <limits.h> exists even on freestanding compilers.
21720 # On the NeXT, cc -E runs the code through the compiler's parser,
21721 # not just through cpp. "Syntax error" is here to catch this case.
21722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21723 /* end confdefs.h. */
21724 #ifdef __STDC__
21725 # include <limits.h>
21726 #else
21727 # include <assert.h>
21728 #endif
21729 Syntax error
21730 _ACEOF
21731 if ac_fn_cxx_try_cpp "$LINENO"; then :
21732
21733 else
21734 # Broken: fails on valid input.
21735 continue
21736 fi
21737 rm -f conftest.err conftest.i conftest.$ac_ext
21738
21739 # OK, works on sane cases. Now check whether nonexistent headers
21740 # can be detected and how.
21741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h. */
21743 #include <ac_nonexistent.h>
21744 _ACEOF
21745 if ac_fn_cxx_try_cpp "$LINENO"; then :
21746 # Broken: success on invalid input.
21747 continue
21748 else
21749 # Passes both tests.
21750 ac_preproc_ok=:
21751 break
21752 fi
21753 rm -f conftest.err conftest.i conftest.$ac_ext
21754
21755 done
21756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21757 rm -f conftest.i conftest.err conftest.$ac_ext
21758 if $ac_preproc_ok; then :
21759
21760 else
21761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21763 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21764 See \`config.log' for more details" "$LINENO" 5; }
21765 fi
21766
21767 ac_ext=cpp
21768 ac_cpp='$CXXCPP $CPPFLAGS'
21769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21772
21773
21774 for ac_header in type_traits tr1/type_traits
21775 do :
21776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21777 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21779 cat >>confdefs.h <<_ACEOF
21780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21781 _ACEOF
21782
21783 fi
21784
21785 done
21786
21787
21788
21789
21790 if test -n "$GCC"; then
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21792 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21793 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then :
21794 $as_echo_n "(cached) " >&6
21795 else
21796
21797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21798 /* end confdefs.h. */
21799
21800 int
21801 main ()
21802 {
21803
21804 unsigned int value=0;
21805 /* wxAtomicInc doesn't use return value here */
21806 __sync_fetch_and_add(&value, 2);
21807 __sync_sub_and_fetch(&value, 1);
21808 /* but wxAtomicDec does, so mimic that: */
21809 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21810
21811 ;
21812 return 0;
21813 }
21814 _ACEOF
21815 if ac_fn_cxx_try_link "$LINENO"; then :
21816 wx_cv_cc_gcc_atomic_builtins=yes
21817 else
21818 wx_cv_cc_gcc_atomic_builtins=no
21819 fi
21820 rm -f core conftest.err conftest.$ac_objext \
21821 conftest$ac_exeext conftest.$ac_ext
21822
21823 fi
21824
21825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21826 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21827 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21828 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21829
21830 fi
21831 fi
21832
21833
21834 ac_ext=c
21835 ac_cpp='$CPP $CPPFLAGS'
21836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839
21840
21841
21842 SEARCH_INCLUDE="\
21843 /usr/local/include \
21844 /usr/local/X11/include \
21845 /usr/local/include/X11 \
21846 /usr/local/X11R7/include \
21847 /usr/local/X11R6/include \
21848 /usr/local/include/X11R7 \
21849 /usr/local/include/X11R6 \
21850 \
21851 /usr/Motif-2.1/include \
21852 /usr/Motif-1.2/include \
21853 /usr/include/Motif1.2 \
21854 \
21855 /usr/dt/include \
21856 /usr/openwin/include \
21857 \
21858 /usr/include/Xm \
21859 \
21860 /usr/X11R7/include \
21861 /usr/X11R6/include \
21862 /usr/X11R6.4/include \
21863 \
21864 /usr/include/X11R7 \
21865 /usr/include/X11R6 \
21866 \
21867 /usr/X11/include \
21868 /usr/include/X11 \
21869 \
21870 /usr/XFree86/include/X11 \
21871 /usr/pkg/include \
21872 \
21873 /usr/local/X1R5/include \
21874 /usr/local/include/X11R5 \
21875 /usr/X11R5/include \
21876 /usr/include/X11R5 \
21877 \
21878 /usr/local/X11R4/include \
21879 /usr/local/include/X11R4 \
21880 /usr/X11R4/include \
21881 /usr/include/X11R4 \
21882 \
21883 /usr/openwin/share/include"
21884
21885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21886 $as_echo_n "checking for libraries directories... " >&6; }
21887
21888 case "${host}" in
21889 *-*-irix6* )
21890 if test "${wx_cv_std_libpath+set}" = set; then :
21891 $as_echo_n "(cached) " >&6
21892 else
21893
21894 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21895 for e in a so sl dylib dll.a; do
21896 libc="$d/libc.$e"
21897 if test -f $libc; then
21898 save_LIBS="$LIBS"
21899 LIBS="$libc"
21900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21901 /* end confdefs.h. */
21902
21903 int main() { return 0; }
21904
21905 _ACEOF
21906 if ac_fn_c_try_link "$LINENO"; then :
21907 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21908 fi
21909 rm -f core conftest.err conftest.$ac_objext \
21910 conftest$ac_exeext conftest.$ac_ext
21911 LIBS="$save_LIBS"
21912 if test "x$wx_cv_std_libpath" != "x"; then
21913 break 2
21914 fi
21915 fi
21916 done
21917 done
21918
21919
21920 fi
21921
21922 ;;
21923
21924 *-*-solaris2* )
21925 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21926 wx_cv_std_libpath="lib/64"
21927 fi
21928 ;;
21929
21930 *-*-linux* )
21931 if test "$ac_cv_sizeof_void_p" = 8; then
21932 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21933 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21934 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21935 wx_cv_std_libpath="lib64"
21936 fi
21937 else
21938 case "${host}" in
21939 i*86-*-linux* )
21940 if test -d '/usr/lib/i386-linux-gnu'; then
21941 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21942 fi
21943 esac
21944 fi
21945
21946 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21947 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21948 fi
21949 ;;
21950 esac
21951
21952 if test -z "$wx_cv_std_libpath"; then
21953 wx_cv_std_libpath="lib"
21954 fi
21955
21956 if test -z "$wx_cv_std_libfullpath"; then
21957 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21958 fi
21959
21960
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21962 $as_echo "$wx_cv_std_libfullpath" >&6; }
21963
21964 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21965
21966 if test "$build" != "$host" -a "$GCC" = yes; then
21967 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21968 cross_root=`dirname $cross_root`
21969 cross_root=`dirname $cross_root`
21970
21971 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21972 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21973 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21974
21975 if test -z "$PKG_CONFIG_PATH"; then
21976 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21977 export PKG_CONFIG_PATH
21978 fi
21979
21980 if test -z "$x_includes" -o "$x_includes" = NONE; then
21981
21982 ac_find_includes=
21983 for ac_dir in $SEARCH_INCLUDE /usr/include
21984 do
21985 if test -f "$ac_dir/X11/Intrinsic.h"; then
21986 ac_find_includes=$ac_dir
21987 break
21988 fi
21989 done
21990
21991 x_includes=$ac_find_includes
21992 fi
21993 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
21994
21995 ac_find_libraries=
21996 for ac_dir in $SEARCH_LIB
21997 do
21998 for ac_extension in a so sl dylib dll.a; do
21999 if test -f "$ac_dir/libXt.$ac_extension"; then
22000 ac_find_libraries=$ac_dir
22001 break 2
22002 fi
22003 done
22004 done
22005
22006 x_libraries=$ac_find_libraries
22007 fi
22008 fi
22009 fi
22010
22011
22012 cat >confcache <<\_ACEOF
22013 # This file is a shell script that caches the results of configure
22014 # tests run on this system so they can be shared between configure
22015 # scripts and configure runs, see configure's option --config-cache.
22016 # It is not useful on other systems. If it contains results you don't
22017 # want to keep, you may remove or edit it.
22018 #
22019 # config.status only pays attention to the cache file if you give it
22020 # the --recheck option to rerun configure.
22021 #
22022 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22023 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22024 # following values.
22025
22026 _ACEOF
22027
22028 # The following way of writing the cache mishandles newlines in values,
22029 # but we know of no workaround that is simple, portable, and efficient.
22030 # So, we kill variables containing newlines.
22031 # Ultrix sh set writes to stderr and can't be redirected directly,
22032 # and sets the high bit in the cache file unless we assign to the vars.
22033 (
22034 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22035 eval ac_val=\$$ac_var
22036 case $ac_val in #(
22037 *${as_nl}*)
22038 case $ac_var in #(
22039 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22040 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22041 esac
22042 case $ac_var in #(
22043 _ | IFS | as_nl) ;; #(
22044 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22045 *) { eval $ac_var=; unset $ac_var;} ;;
22046 esac ;;
22047 esac
22048 done
22049
22050 (set) 2>&1 |
22051 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22052 *${as_nl}ac_space=\ *)
22053 # `set' does not quote correctly, so add quotes: double-quote
22054 # substitution turns \\\\ into \\, and sed turns \\ into \.
22055 sed -n \
22056 "s/'/'\\\\''/g;
22057 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22058 ;; #(
22059 *)
22060 # `set' quotes correctly as required by POSIX, so do not add quotes.
22061 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22062 ;;
22063 esac |
22064 sort
22065 ) |
22066 sed '
22067 /^ac_cv_env_/b end
22068 t clear
22069 :clear
22070 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22071 t end
22072 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22073 :end' >>confcache
22074 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22075 if test -w "$cache_file"; then
22076 test "x$cache_file" != "x/dev/null" &&
22077 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22078 $as_echo "$as_me: updating cache $cache_file" >&6;}
22079 cat confcache >$cache_file
22080 else
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22082 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22083 fi
22084 fi
22085 rm -f confcache
22086
22087 have_cos=0
22088 have_floor=0
22089 for ac_func in cos
22090 do :
22091 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22092 if test "x$ac_cv_func_cos" = x""yes; then :
22093 cat >>confdefs.h <<_ACEOF
22094 #define HAVE_COS 1
22095 _ACEOF
22096 have_cos=1
22097 fi
22098 done
22099
22100 for ac_func in floor
22101 do :
22102 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22103 if test "x$ac_cv_func_floor" = x""yes; then :
22104 cat >>confdefs.h <<_ACEOF
22105 #define HAVE_FLOOR 1
22106 _ACEOF
22107 have_floor=1
22108 fi
22109 done
22110
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22112 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22113 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22115 $as_echo "yes" >&6; }
22116 else
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22118 $as_echo "no" >&6; }
22119 LIBS="$LIBS -lm"
22120 # use different functions to avoid configure caching
22121 have_sin=0
22122 have_ceil=0
22123 for ac_func in sin
22124 do :
22125 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22126 if test "x$ac_cv_func_sin" = x""yes; then :
22127 cat >>confdefs.h <<_ACEOF
22128 #define HAVE_SIN 1
22129 _ACEOF
22130 have_sin=1
22131 fi
22132 done
22133
22134 for ac_func in ceil
22135 do :
22136 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22137 if test "x$ac_cv_func_ceil" = x""yes; then :
22138 cat >>confdefs.h <<_ACEOF
22139 #define HAVE_CEIL 1
22140 _ACEOF
22141 have_ceil=1
22142 fi
22143 done
22144
22145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22146 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22147 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22149 $as_echo "yes" >&6; }
22150 else
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22152 $as_echo "no" >&6; }
22153 # not sure we should warn the user, crash, etc.
22154 fi
22155 fi
22156
22157 ac_ext=cpp
22158 ac_cpp='$CXXCPP $CPPFLAGS'
22159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22162
22163 if test "wxUSE_UNICODE" = "yes"; then
22164
22165 for wx_func in wcstoull
22166 do
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22168 $as_echo_n "checking for $wx_func... " >&6; }
22169 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22170 $as_echo_n "(cached) " >&6
22171 else
22172
22173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h. */
22175
22176
22177
22178 $ac_includes_default
22179
22180 int
22181 main ()
22182 {
22183
22184 #ifndef $wx_func
22185 &$wx_func;
22186 #endif
22187
22188
22189 ;
22190 return 0;
22191 }
22192
22193 _ACEOF
22194 if ac_fn_cxx_try_link "$LINENO"; then :
22195 eval wx_cv_func_$wx_func=yes
22196 else
22197 eval wx_cv_func_$wx_func=no
22198 fi
22199 rm -f core conftest.err conftest.$ac_objext \
22200 conftest$ac_exeext conftest.$ac_ext
22201
22202 fi
22203 eval ac_res=\$wx_cv_func_$wx_func
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22205 $as_echo "$ac_res" >&6; }
22206
22207 if eval test \$wx_cv_func_$wx_func = yes
22208 then
22209 cat >>confdefs.h <<_ACEOF
22210 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22211 _ACEOF
22212
22213
22214 else
22215 :
22216
22217 fi
22218 done
22219
22220 else
22221
22222 for wx_func in strtoull
22223 do
22224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22225 $as_echo_n "checking for $wx_func... " >&6; }
22226 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22227 $as_echo_n "(cached) " >&6
22228 else
22229
22230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22231 /* end confdefs.h. */
22232
22233
22234
22235 $ac_includes_default
22236
22237 int
22238 main ()
22239 {
22240
22241 #ifndef $wx_func
22242 &$wx_func;
22243 #endif
22244
22245
22246 ;
22247 return 0;
22248 }
22249
22250 _ACEOF
22251 if ac_fn_cxx_try_link "$LINENO"; then :
22252 eval wx_cv_func_$wx_func=yes
22253 else
22254 eval wx_cv_func_$wx_func=no
22255 fi
22256 rm -f core conftest.err conftest.$ac_objext \
22257 conftest$ac_exeext conftest.$ac_ext
22258
22259 fi
22260 eval ac_res=\$wx_cv_func_$wx_func
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22262 $as_echo "$ac_res" >&6; }
22263
22264 if eval test \$wx_cv_func_$wx_func = yes
22265 then
22266 cat >>confdefs.h <<_ACEOF
22267 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22268 _ACEOF
22269
22270
22271 else
22272 :
22273
22274 fi
22275 done
22276
22277 fi
22278 ac_ext=c
22279 ac_cpp='$CPP $CPPFLAGS'
22280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22283
22284
22285
22286
22287 if test "$wxUSE_REGEX" != "no"; then
22288 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22289
22290
22291 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22293 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22294 wxUSE_REGEX=builtin
22295 fi
22296
22297 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22298 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22299 "
22300 if test "x$ac_cv_header_regex_h" = x""yes; then :
22301 for ac_func in regcomp re_search
22302 do :
22303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22305 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22306 cat >>confdefs.h <<_ACEOF
22307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22308 _ACEOF
22309
22310 fi
22311 done
22312
22313 fi
22314
22315
22316
22317 if test "x$ac_cv_func_regcomp" != "xyes"; then
22318 if test "$wxUSE_REGEX" = "sys" ; then
22319 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22320 else
22321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22322 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22323 wxUSE_REGEX=builtin
22324 fi
22325 else
22326 wxUSE_REGEX=sys
22327 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22328
22329 fi
22330 fi
22331 fi
22332
22333
22334 ZLIB_LINK=
22335 if test "$wxUSE_ZLIB" != "no" ; then
22336 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22337
22338
22339 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22340 if test "$USE_DARWIN" = 1; then
22341 system_zlib_h_ok="yes"
22342 else
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22344 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22345 if test "${ac_cv_header_zlib_h+set}" = set; then :
22346 $as_echo_n "(cached) " >&6
22347 else
22348 if test "$cross_compiling" = yes; then :
22349 unset ac_cv_header_zlib_h
22350
22351 else
22352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22353 /* end confdefs.h. */
22354
22355 #include <zlib.h>
22356 #include <stdio.h>
22357
22358 int main()
22359 {
22360 FILE *f=fopen("conftestval", "w");
22361 if (!f) exit(1);
22362 fprintf(f, "%s",
22363 ZLIB_VERSION[0] == '1' &&
22364 (ZLIB_VERSION[2] > '1' ||
22365 (ZLIB_VERSION[2] == '1' &&
22366 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22367 exit(0);
22368 }
22369
22370 _ACEOF
22371 if ac_fn_c_try_run "$LINENO"; then :
22372 ac_cv_header_zlib_h=`cat conftestval`
22373 else
22374 ac_cv_header_zlib_h=no
22375 fi
22376 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22377 conftest.$ac_objext conftest.beam conftest.$ac_ext
22378 fi
22379
22380
22381 fi
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22383 $as_echo "$ac_cv_header_zlib_h" >&6; }
22384 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22385 "
22386 if test "x$ac_cv_header_zlib_h" = x""yes; then :
22387
22388 fi
22389
22390
22391
22392 system_zlib_h_ok=$ac_cv_header_zlib_h
22393 fi
22394
22395 if test "$system_zlib_h_ok" = "yes"; then
22396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22397 $as_echo_n "checking for deflate in -lz... " >&6; }
22398 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22399 $as_echo_n "(cached) " >&6
22400 else
22401 ac_check_lib_save_LIBS=$LIBS
22402 LIBS="-lz $LIBS"
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22405
22406 /* Override any GCC internal prototype to avoid an error.
22407 Use char because int might match the return type of a GCC
22408 builtin and then its argument prototype would still apply. */
22409 #ifdef __cplusplus
22410 extern "C"
22411 #endif
22412 char deflate ();
22413 int
22414 main ()
22415 {
22416 return deflate ();
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 if ac_fn_c_try_link "$LINENO"; then :
22422 ac_cv_lib_z_deflate=yes
22423 else
22424 ac_cv_lib_z_deflate=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext \
22427 conftest$ac_exeext conftest.$ac_ext
22428 LIBS=$ac_check_lib_save_LIBS
22429 fi
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22431 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22432 if test "x$ac_cv_lib_z_deflate" = x""yes; then :
22433 ZLIB_LINK=" -lz"
22434 fi
22435
22436 fi
22437
22438 if test "x$ZLIB_LINK" = "x" ; then
22439 if test "$wxUSE_ZLIB" = "sys" ; then
22440 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22441 else
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22443 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22444 wxUSE_ZLIB=builtin
22445 fi
22446 else
22447 wxUSE_ZLIB=sys
22448 fi
22449 fi
22450 fi
22451
22452
22453 PNG_LINK=
22454 if test "$wxUSE_LIBPNG" != "no" ; then
22455 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22456
22457
22458 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22460 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22461 wxUSE_LIBPNG=builtin
22462 fi
22463
22464 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22466 $as_echo_n "checking for png.h > 0.90... " >&6; }
22467 if test "${ac_cv_header_png_h+set}" = set; then :
22468 $as_echo_n "(cached) " >&6
22469 else
22470 if test "$cross_compiling" = yes; then :
22471 unset ac_cv_header_png_h
22472
22473 else
22474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22475 /* end confdefs.h. */
22476
22477 #include <png.h>
22478 #include <stdio.h>
22479
22480 int main()
22481 {
22482 FILE *f=fopen("conftestval", "w");
22483 if (!f) exit(1);
22484 fprintf(f, "%s",
22485 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22486 exit(0);
22487 }
22488
22489 _ACEOF
22490 if ac_fn_c_try_run "$LINENO"; then :
22491 ac_cv_header_png_h=`cat conftestval`
22492 else
22493 ac_cv_header_png_h=no
22494 fi
22495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22496 conftest.$ac_objext conftest.beam conftest.$ac_ext
22497 fi
22498
22499
22500 fi
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22502 $as_echo "$ac_cv_header_png_h" >&6; }
22503 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22504 "
22505 if test "x$ac_cv_header_png_h" = x""yes; then :
22506
22507 fi
22508
22509
22510
22511 if test "$ac_cv_header_png_h" = "yes"; then
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22513 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22514 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then :
22515 $as_echo_n "(cached) " >&6
22516 else
22517 ac_check_lib_save_LIBS=$LIBS
22518 LIBS="-lpng -lz -lm $LIBS"
22519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22520 /* end confdefs.h. */
22521
22522 /* Override any GCC internal prototype to avoid an error.
22523 Use char because int might match the return type of a GCC
22524 builtin and then its argument prototype would still apply. */
22525 #ifdef __cplusplus
22526 extern "C"
22527 #endif
22528 char png_sig_cmp ();
22529 int
22530 main ()
22531 {
22532 return png_sig_cmp ();
22533 ;
22534 return 0;
22535 }
22536 _ACEOF
22537 if ac_fn_c_try_link "$LINENO"; then :
22538 ac_cv_lib_png_png_sig_cmp=yes
22539 else
22540 ac_cv_lib_png_png_sig_cmp=no
22541 fi
22542 rm -f core conftest.err conftest.$ac_objext \
22543 conftest$ac_exeext conftest.$ac_ext
22544 LIBS=$ac_check_lib_save_LIBS
22545 fi
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22547 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22548 if test "x$ac_cv_lib_png_png_sig_cmp" = x""yes; then :
22549 PNG_LINK=" -lpng -lz"
22550 fi
22551
22552 fi
22553
22554 if test "x$PNG_LINK" = "x" ; then
22555 if test "$wxUSE_LIBPNG" = "sys" ; then
22556 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22557 else
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22559 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22560 wxUSE_LIBPNG=builtin
22561 fi
22562 else
22563 wxUSE_LIBPNG=sys
22564 fi
22565 fi
22566 fi
22567
22568
22569 JPEG_LINK=
22570 if test "$wxUSE_LIBJPEG" != "no" ; then
22571 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22572
22573
22574 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22576 $as_echo_n "checking for jpeglib.h... " >&6; }
22577 if test "${ac_cv_header_jpeglib_h+set}" = set; then :
22578 $as_echo_n "(cached) " >&6
22579 else
22580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22581 /* end confdefs.h. */
22582
22583 #undef HAVE_STDLIB_H
22584 #include <stdio.h>
22585 #include <jpeglib.h>
22586
22587 int
22588 main ()
22589 {
22590
22591
22592 ;
22593 return 0;
22594 }
22595 _ACEOF
22596 if ac_fn_c_try_compile "$LINENO"; then :
22597 ac_cv_header_jpeglib_h=yes
22598 else
22599 ac_cv_header_jpeglib_h=no
22600
22601 fi
22602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22603
22604 fi
22605
22606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22607 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22608
22609 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22611 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22612 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then :
22613 $as_echo_n "(cached) " >&6
22614 else
22615 ac_check_lib_save_LIBS=$LIBS
22616 LIBS="-ljpeg $LIBS"
22617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22618 /* end confdefs.h. */
22619
22620 /* Override any GCC internal prototype to avoid an error.
22621 Use char because int might match the return type of a GCC
22622 builtin and then its argument prototype would still apply. */
22623 #ifdef __cplusplus
22624 extern "C"
22625 #endif
22626 char jpeg_read_header ();
22627 int
22628 main ()
22629 {
22630 return jpeg_read_header ();
22631 ;
22632 return 0;
22633 }
22634 _ACEOF
22635 if ac_fn_c_try_link "$LINENO"; then :
22636 ac_cv_lib_jpeg_jpeg_read_header=yes
22637 else
22638 ac_cv_lib_jpeg_jpeg_read_header=no
22639 fi
22640 rm -f core conftest.err conftest.$ac_objext \
22641 conftest$ac_exeext conftest.$ac_ext
22642 LIBS=$ac_check_lib_save_LIBS
22643 fi
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22645 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22646 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x""yes; then :
22647 JPEG_LINK=" -ljpeg"
22648 fi
22649
22650 fi
22651
22652 if test "x$JPEG_LINK" = "x" ; then
22653 if test "$wxUSE_LIBJPEG" = "sys" ; then
22654 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22655 else
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22657 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22658 wxUSE_LIBJPEG=builtin
22659 fi
22660 else
22661 wxUSE_LIBJPEG=sys
22662
22663 if test "$wxUSE_MSW" = 1; then
22664 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22665 "
22666 if test "x$ac_cv_type_boolean" = x""yes; then :
22667
22668 cat >>confdefs.h <<_ACEOF
22669 #define HAVE_BOOLEAN 1
22670 _ACEOF
22671
22672
22673 # The cast to long int works around a bug in the HP C Compiler
22674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22676 # This bug is HP SR number 8606223364.
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22678 $as_echo_n "checking size of boolean... " >&6; }
22679 if test "${ac_cv_sizeof_boolean+set}" = set; then :
22680 $as_echo_n "(cached) " >&6
22681 else
22682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22683 #undef HAVE_BOOLEAN
22684 #include <stdio.h>
22685 #include <jpeglib.h>
22686
22687 "; then :
22688
22689 else
22690 if test "$ac_cv_type_boolean" = yes; then
22691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22693 as_fn_error 77 "cannot compute sizeof (boolean)
22694 See \`config.log' for more details" "$LINENO" 5; }
22695 else
22696 ac_cv_sizeof_boolean=0
22697 fi
22698 fi
22699
22700 fi
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22702 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22703
22704
22705
22706 cat >>confdefs.h <<_ACEOF
22707 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22708 _ACEOF
22709
22710
22711 cat >>confdefs.h <<_ACEOF
22712 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22713 _ACEOF
22714
22715
22716 fi
22717
22718 fi
22719 fi
22720 fi
22721 fi
22722
22723
22724 TIFF_LINK=
22725 TIFF_PREREQ_LINKS=-lm
22726 if test "$wxUSE_LIBTIFF" != "no" ; then
22727 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22728
22729
22730 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22731 if test "$wxUSE_LIBJPEG" = "sys"; then
22732 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22733 fi
22734 if test "$wxUSE_ZLIB" = "sys"; then
22735 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22736 fi
22737 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22738
22739 "
22740 if test "x$ac_cv_header_tiffio_h" = x""yes; then :
22741
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22743 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22744 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then :
22745 $as_echo_n "(cached) " >&6
22746 else
22747 ac_check_lib_save_LIBS=$LIBS
22748 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22750 /* end confdefs.h. */
22751
22752 /* Override any GCC internal prototype to avoid an error.
22753 Use char because int might match the return type of a GCC
22754 builtin and then its argument prototype would still apply. */
22755 #ifdef __cplusplus
22756 extern "C"
22757 #endif
22758 char TIFFError ();
22759 int
22760 main ()
22761 {
22762 return TIFFError ();
22763 ;
22764 return 0;
22765 }
22766 _ACEOF
22767 if ac_fn_c_try_link "$LINENO"; then :
22768 ac_cv_lib_tiff_TIFFError=yes
22769 else
22770 ac_cv_lib_tiff_TIFFError=no
22771 fi
22772 rm -f core conftest.err conftest.$ac_objext \
22773 conftest$ac_exeext conftest.$ac_ext
22774 LIBS=$ac_check_lib_save_LIBS
22775 fi
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22777 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22778 if test "x$ac_cv_lib_tiff_TIFFError" = x""yes; then :
22779 TIFF_LINK=" -ltiff"
22780 fi
22781
22782
22783 fi
22784
22785
22786
22787 if test "x$TIFF_LINK" = "x" ; then
22788 if test "$wxUSE_LIBTIFF" = "sys" ; then
22789 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22790 else
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22792 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22793 wxUSE_LIBTIFF=builtin
22794 fi
22795 else
22796 wxUSE_LIBTIFF=sys
22797 fi
22798 fi
22799 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22800 if test "$wxUSE_LIBJPEG" = "no"; then
22801 ac_configure_args="$ac_configure_args --disable-jpeg"
22802 fi
22803
22804
22805 subdirs="$subdirs src/tiff"
22806
22807 fi
22808 fi
22809
22810
22811 if test "$wxUSE_EXPAT" != "no"; then
22812 wxUSE_XML=yes
22813 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22814
22815 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22816
22817
22818 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22819 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22820 "
22821 if test "x$ac_cv_header_expat_h" = x""yes; then :
22822 found_expat_h=1
22823 fi
22824
22825
22826 if test "x$found_expat_h" = "x1"; then
22827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22828 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22829 if test "${wx_cv_expat_is_not_broken+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22831 else
22832
22833 ac_ext=cpp
22834 ac_cpp='$CXXCPP $CPPFLAGS'
22835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22838
22839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840 /* end confdefs.h. */
22841 #include <expat.h>
22842 int
22843 main ()
22844 {
22845
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 if ac_fn_cxx_try_compile "$LINENO"; then :
22851 wx_cv_expat_is_not_broken=yes
22852 else
22853 wx_cv_expat_is_not_broken=no
22854
22855 fi
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22857 ac_ext=c
22858 ac_cpp='$CPP $CPPFLAGS'
22859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22862
22863
22864
22865 fi
22866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22867 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22868 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22870 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22871 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
22872 $as_echo_n "(cached) " >&6
22873 else
22874 ac_check_lib_save_LIBS=$LIBS
22875 LIBS="-lexpat $LIBS"
22876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22877 /* end confdefs.h. */
22878
22879 /* Override any GCC internal prototype to avoid an error.
22880 Use char because int might match the return type of a GCC
22881 builtin and then its argument prototype would still apply. */
22882 #ifdef __cplusplus
22883 extern "C"
22884 #endif
22885 char XML_ParserCreate ();
22886 int
22887 main ()
22888 {
22889 return XML_ParserCreate ();
22890 ;
22891 return 0;
22892 }
22893 _ACEOF
22894 if ac_fn_c_try_link "$LINENO"; then :
22895 ac_cv_lib_expat_XML_ParserCreate=yes
22896 else
22897 ac_cv_lib_expat_XML_ParserCreate=no
22898 fi
22899 rm -f core conftest.err conftest.$ac_objext \
22900 conftest$ac_exeext conftest.$ac_ext
22901 LIBS=$ac_check_lib_save_LIBS
22902 fi
22903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22904 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22905 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
22906 EXPAT_LINK=" -lexpat"
22907 fi
22908
22909 fi
22910 fi
22911 if test "x$EXPAT_LINK" = "x" ; then
22912 if test "$wxUSE_EXPAT" = "sys" ; then
22913 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22914 else
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22916 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22917 wxUSE_EXPAT=builtin
22918 fi
22919 else
22920 wxUSE_EXPAT=sys
22921 fi
22922 fi
22923 if test "$wxUSE_EXPAT" = "builtin" ; then
22924 subdirs="$subdirs src/expat"
22925
22926 fi
22927 fi
22928
22929
22930
22931 if test "$wxUSE_LIBMSPACK" != "no"; then
22932 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22933 "
22934 if test "x$ac_cv_header_mspack_h" = x""yes; then :
22935 found_mspack_h=1
22936 fi
22937
22938
22939 if test "x$found_mspack_h" = "x1"; then
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22941 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22942 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then :
22943 $as_echo_n "(cached) " >&6
22944 else
22945 ac_check_lib_save_LIBS=$LIBS
22946 LIBS="-lmspack $LIBS"
22947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22948 /* end confdefs.h. */
22949
22950 /* Override any GCC internal prototype to avoid an error.
22951 Use char because int might match the return type of a GCC
22952 builtin and then its argument prototype would still apply. */
22953 #ifdef __cplusplus
22954 extern "C"
22955 #endif
22956 char mspack_create_chm_decompressor ();
22957 int
22958 main ()
22959 {
22960 return mspack_create_chm_decompressor ();
22961 ;
22962 return 0;
22963 }
22964 _ACEOF
22965 if ac_fn_c_try_link "$LINENO"; then :
22966 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22967 else
22968 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22969 fi
22970 rm -f core conftest.err conftest.$ac_objext \
22971 conftest$ac_exeext conftest.$ac_ext
22972 LIBS=$ac_check_lib_save_LIBS
22973 fi
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22975 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22976 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x""yes; then :
22977 MSPACK_LINK=" -lmspack"
22978 fi
22979
22980 fi
22981 if test "x$MSPACK_LINK" = "x" ; then
22982 wxUSE_LIBMSPACK=no
22983 fi
22984 fi
22985
22986 if test "$wxUSE_LIBMSPACK" != "no"; then
22987 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22988
22989 fi
22990
22991
22992
22993 AFMINSTALL=
22994 WIN32INSTALL=
22995
22996 TOOLKIT=
22997 TOOLKIT_INCLUDE=
22998 WIDGET_SET=
22999
23000 if test "$USE_WIN32" = 1 ; then
23001 for ac_header in w32api.h
23002 do :
23003 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23004 "
23005 if test "x$ac_cv_header_w32api_h" = x""yes; then :
23006 cat >>confdefs.h <<_ACEOF
23007 #define HAVE_W32API_H 1
23008 _ACEOF
23009
23010 fi
23011
23012 done
23013
23014 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23015 "
23016 if test "x$ac_cv_header_windows_h" = x""yes; then :
23017
23018 else
23019
23020 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23021
23022 fi
23023
23024
23025
23026 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23027 case "${host}" in
23028 x86_64-*-mingw32* )
23029 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23030 ;;
23031 esac
23032 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23033 LIBS="$LIBS -loleacc"
23034 fi
23035
23036 case "${host}" in
23037 *-*-cygwin* )
23038 LIBS="$LIBS -lkernel32 -luser32"
23039 esac
23040
23041 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23042 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23043
23044 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23045
23046 WIN32INSTALL=win32install
23047 fi
23048
23049 if test "$wxUSE_GUI" = "yes"; then
23050 USE_GUI=1
23051
23052 GUI_TK_LIBRARY=
23053
23054 WXGTK1=
23055 WXGTK127=
23056 WXGTK2=
23057 WXGTK3=
23058 WXGPE=
23059
23060 if test "$wxUSE_OLD_COCOA" = 1 ; then
23061 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23063 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23064 wxUSE_PRINTING_ARCHITECTURE=no
23065 fi
23066 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23068 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23069 wxUSE_DRAG_AND_DROP=no
23070 fi
23071 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23073 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23074 wxUSE_DRAGIMAGE=no
23075 fi
23076 fi
23077
23078 if test "$wxUSE_MSW" = 1 ; then
23079 TOOLKIT=MSW
23080 GUIDIST=MSW_DIST
23081
23082 case "${host}" in
23083 *-*-mingw32* )
23084 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23085 esac
23086 fi
23087
23088 if test "$wxUSE_GTK" = 1; then
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23090 $as_echo_n "checking for GTK+ version... " >&6; }
23091
23092 gtk_version_cached=1
23093 if test "${wx_cv_lib_gtk+set}" = set; then :
23094 $as_echo_n "(cached) " >&6
23095 else
23096
23097 gtk_version_cached=0
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23099 $as_echo "" >&6; }
23100
23101 GTK_MODULES=
23102 if test "$wxUSE_THREADS" = "yes"; then
23103 GTK_MODULES=gthread
23104 fi
23105
23106 if test -z "$wxGTK_VERSION"; then
23107 wxGTK_VERSION=any
23108 fi
23109
23110 wx_cv_lib_gtk=
23111 if test "x$wxGTK_VERSION" != "x1"
23112 then
23113 case "${host}" in
23114 *-*-solaris2* )
23115 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23116 enable_gtktest=no
23117 fi
23118 esac
23119
23120 if test "$wxGTK_VERSION" != 3; then
23121 # Check whether --enable-gtktest was given.
23122 if test "${enable_gtktest+set}" = set; then :
23123 enableval=$enable_gtktest;
23124 else
23125 enable_gtktest=yes
23126 fi
23127
23128
23129 pkg_config_args=gtk+-2.0
23130 for module in . $GTK_MODULES
23131 do
23132 case "$module" in
23133 gthread)
23134 pkg_config_args="$pkg_config_args gthread-2.0"
23135 ;;
23136 esac
23137 done
23138
23139 no_gtk=""
23140
23141 # Extract the first word of "pkg-config", so it can be a program name with args.
23142 set dummy pkg-config; ac_word=$2
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23144 $as_echo_n "checking for $ac_word... " >&6; }
23145 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23146 $as_echo_n "(cached) " >&6
23147 else
23148 case $PKG_CONFIG in
23149 [\\/]* | ?:[\\/]*)
23150 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23151 ;;
23152 *)
23153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23154 for as_dir in $PATH
23155 do
23156 IFS=$as_save_IFS
23157 test -z "$as_dir" && as_dir=.
23158 for ac_exec_ext in '' $ac_executable_extensions; do
23159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23160 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23162 break 2
23163 fi
23164 done
23165 done
23166 IFS=$as_save_IFS
23167
23168 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23169 ;;
23170 esac
23171 fi
23172 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23173 if test -n "$PKG_CONFIG"; then
23174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23175 $as_echo "$PKG_CONFIG" >&6; }
23176 else
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23178 $as_echo "no" >&6; }
23179 fi
23180
23181
23182
23183 if test x$PKG_CONFIG != xno ; then
23184 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23185 :
23186 else
23187 echo "*** pkg-config too old; version 0.7 or better required."
23188 no_gtk=yes
23189 PKG_CONFIG=no
23190 fi
23191 else
23192 no_gtk=yes
23193 fi
23194
23195 min_gtk_version=2.4.0
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23197 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23198
23199 if test x$PKG_CONFIG != xno ; then
23200 ## don't try to run the test against uninstalled libtool libs
23201 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23202 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23203 enable_gtktest=no
23204 fi
23205
23206 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23207 :
23208 else
23209 no_gtk=yes
23210 fi
23211 fi
23212
23213 if test x"$no_gtk" = x ; then
23214 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23215 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23216 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23218 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23219 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23220 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23221 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23222 if test "x$enable_gtktest" = "xyes" ; then
23223 ac_save_CFLAGS="$CFLAGS"
23224 ac_save_LIBS="$LIBS"
23225 CFLAGS="$CFLAGS $GTK_CFLAGS"
23226 LIBS="$GTK_LIBS $LIBS"
23227 rm -f conf.gtktest
23228 if test "$cross_compiling" = yes; then :
23229 echo $ac_n "cross compiling; assumed OK... $ac_c"
23230 else
23231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23232 /* end confdefs.h. */
23233
23234 #include <gtk/gtk.h>
23235 #include <stdio.h>
23236 #include <stdlib.h>
23237
23238 int
23239 main ()
23240 {
23241 int major, minor, micro;
23242 char *tmp_version;
23243
23244 system ("touch conf.gtktest");
23245
23246 /* HP/UX 9 (%@#!) writes to sscanf strings */
23247 tmp_version = g_strdup("$min_gtk_version");
23248 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23249 printf("%s, bad version string\n", "$min_gtk_version");
23250 exit(1);
23251 }
23252
23253 if ((gtk_major_version != $gtk_config_major_version) ||
23254 (gtk_minor_version != $gtk_config_minor_version) ||
23255 (gtk_micro_version != $gtk_config_micro_version))
23256 {
23257 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23258 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23259 gtk_major_version, gtk_minor_version, gtk_micro_version);
23260 printf ("*** was found! If pkg-config was correct, then it is best\n");
23261 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23262 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23263 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23264 printf("*** required on your system.\n");
23265 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23266 printf("*** to point to the correct configuration files\n");
23267 }
23268 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23269 (gtk_minor_version != GTK_MINOR_VERSION) ||
23270 (gtk_micro_version != GTK_MICRO_VERSION))
23271 {
23272 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23273 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23274 printf("*** library (version %d.%d.%d)\n",
23275 gtk_major_version, gtk_minor_version, gtk_micro_version);
23276 }
23277 else
23278 {
23279 if ((gtk_major_version > major) ||
23280 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23281 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23282 {
23283 return 0;
23284 }
23285 else
23286 {
23287 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23288 gtk_major_version, gtk_minor_version, gtk_micro_version);
23289 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23290 major, minor, micro);
23291 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23292 printf("***\n");
23293 printf("*** If you have already installed a sufficiently new version, this error\n");
23294 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23295 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23296 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23297 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23298 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23299 printf("*** so that the correct libraries are found at run-time))\n");
23300 }
23301 }
23302 return 1;
23303 }
23304
23305 _ACEOF
23306 if ac_fn_c_try_run "$LINENO"; then :
23307
23308 else
23309 no_gtk=yes
23310 fi
23311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23312 conftest.$ac_objext conftest.beam conftest.$ac_ext
23313 fi
23314
23315 CFLAGS="$ac_save_CFLAGS"
23316 LIBS="$ac_save_LIBS"
23317 fi
23318 fi
23319 if test "x$no_gtk" = x ; then
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23321 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23322 wx_cv_lib_gtk=2.0
23323 else
23324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23325 $as_echo "no" >&6; }
23326 if test "$PKG_CONFIG" = "no" ; then
23327 echo "*** A new enough version of pkg-config was not found."
23328 echo "*** See http://pkgconfig.sourceforge.net"
23329 else
23330 if test -f conf.gtktest ; then
23331 :
23332 else
23333 echo "*** Could not run GTK+ test program, checking why..."
23334 ac_save_CFLAGS="$CFLAGS"
23335 ac_save_LIBS="$LIBS"
23336 CFLAGS="$CFLAGS $GTK_CFLAGS"
23337 LIBS="$LIBS $GTK_LIBS"
23338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23339 /* end confdefs.h. */
23340
23341 #include <gtk/gtk.h>
23342 #include <stdio.h>
23343
23344 int
23345 main ()
23346 {
23347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23348 ;
23349 return 0;
23350 }
23351 _ACEOF
23352 if ac_fn_c_try_link "$LINENO"; then :
23353 echo "*** The test program compiled, but did not run. This usually means"
23354 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23355 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23358 echo "*** is required on your system"
23359 echo "***"
23360 echo "*** If you have an old version installed, it is best to remove it, although"
23361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23362 else
23363 echo "*** The test program failed to compile or link. See the file config.log for the"
23364 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23365 fi
23366 rm -f core conftest.err conftest.$ac_objext \
23367 conftest$ac_exeext conftest.$ac_ext
23368 CFLAGS="$ac_save_CFLAGS"
23369 LIBS="$ac_save_LIBS"
23370 fi
23371 fi
23372 GTK_CFLAGS=""
23373 GTK_LIBS=""
23374 :
23375 fi
23376
23377
23378 rm -f conf.gtktest
23379
23380 fi
23381 if test -z "$wx_cv_lib_gtk"; then
23382 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23383 # Check whether --enable-gtktest was given.
23384 if test "${enable_gtktest+set}" = set; then :
23385 enableval=$enable_gtktest;
23386 else
23387 enable_gtktest=yes
23388 fi
23389
23390
23391 pkg_config_args=gtk+-3.0
23392 for module in . $GTK_MODULES
23393 do
23394 case "$module" in
23395 gthread)
23396 pkg_config_args="$pkg_config_args gthread-2.0"
23397 ;;
23398 esac
23399 done
23400
23401 no_gtk=""
23402
23403 # Extract the first word of "pkg-config", so it can be a program name with args.
23404 set dummy pkg-config; ac_word=$2
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23406 $as_echo_n "checking for $ac_word... " >&6; }
23407 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23408 $as_echo_n "(cached) " >&6
23409 else
23410 case $PKG_CONFIG in
23411 [\\/]* | ?:[\\/]*)
23412 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23413 ;;
23414 *)
23415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23416 for as_dir in $PATH
23417 do
23418 IFS=$as_save_IFS
23419 test -z "$as_dir" && as_dir=.
23420 for ac_exec_ext in '' $ac_executable_extensions; do
23421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23422 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23424 break 2
23425 fi
23426 done
23427 done
23428 IFS=$as_save_IFS
23429
23430 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23431 ;;
23432 esac
23433 fi
23434 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23435 if test -n "$PKG_CONFIG"; then
23436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23437 $as_echo "$PKG_CONFIG" >&6; }
23438 else
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23440 $as_echo "no" >&6; }
23441 fi
23442
23443
23444
23445 if test x$PKG_CONFIG != xno ; then
23446 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23447 :
23448 else
23449 echo "*** pkg-config too old; version 0.7 or better required."
23450 no_gtk=yes
23451 PKG_CONFIG=no
23452 fi
23453 else
23454 no_gtk=yes
23455 fi
23456
23457 min_gtk_version=3.0.0
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23459 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23460
23461 if test x$PKG_CONFIG != xno ; then
23462 ## don't try to run the test against uninstalled libtool libs
23463 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23464 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23465 enable_gtktest=no
23466 fi
23467
23468 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23469 :
23470 else
23471 no_gtk=yes
23472 fi
23473 fi
23474
23475 if test x"$no_gtk" = x ; then
23476 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23477 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23478 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23480 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23481 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23482 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23483 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23484 if test "x$enable_gtktest" = "xyes" ; then
23485 ac_save_CFLAGS="$CFLAGS"
23486 ac_save_LIBS="$LIBS"
23487 CFLAGS="$CFLAGS $GTK_CFLAGS"
23488 LIBS="$GTK_LIBS $LIBS"
23489 rm -f conf.gtktest
23490 if test "$cross_compiling" = yes; then :
23491 echo $ac_n "cross compiling; assumed OK... $ac_c"
23492 else
23493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23495
23496 #include <gtk/gtk.h>
23497 #include <stdio.h>
23498 #include <stdlib.h>
23499
23500 int
23501 main ()
23502 {
23503 int major, minor, micro;
23504 char *tmp_version;
23505
23506 fclose (fopen ("conf.gtktest", "w"));
23507
23508 /* HP/UX 9 (%@#!) writes to sscanf strings */
23509 tmp_version = g_strdup("$min_gtk_version");
23510 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23511 printf("%s, bad version string\n", "$min_gtk_version");
23512 exit(1);
23513 }
23514
23515 if ((gtk_major_version != $gtk_config_major_version) ||
23516 (gtk_minor_version != $gtk_config_minor_version) ||
23517 (gtk_micro_version != $gtk_config_micro_version))
23518 {
23519 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23520 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23521 gtk_major_version, gtk_minor_version, gtk_micro_version);
23522 printf ("*** was found! If pkg-config was correct, then it is best\n");
23523 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23524 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23525 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23526 printf("*** required on your system.\n");
23527 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23528 printf("*** to point to the correct configuration files\n");
23529 }
23530 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23531 (gtk_minor_version != GTK_MINOR_VERSION) ||
23532 (gtk_micro_version != GTK_MICRO_VERSION))
23533 {
23534 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23535 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23536 printf("*** library (version %d.%d.%d)\n",
23537 gtk_major_version, gtk_minor_version, gtk_micro_version);
23538 }
23539 else
23540 {
23541 if ((gtk_major_version > major) ||
23542 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23543 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23544 {
23545 return 0;
23546 }
23547 else
23548 {
23549 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23550 gtk_major_version, gtk_minor_version, gtk_micro_version);
23551 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23552 major, minor, micro);
23553 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23554 printf("***\n");
23555 printf("*** If you have already installed a sufficiently new version, this error\n");
23556 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23557 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23558 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23559 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23560 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23561 printf("*** so that the correct libraries are found at run-time))\n");
23562 }
23563 }
23564 return 1;
23565 }
23566
23567 _ACEOF
23568 if ac_fn_c_try_run "$LINENO"; then :
23569
23570 else
23571 no_gtk=yes
23572 fi
23573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23574 conftest.$ac_objext conftest.beam conftest.$ac_ext
23575 fi
23576
23577 CFLAGS="$ac_save_CFLAGS"
23578 LIBS="$ac_save_LIBS"
23579 fi
23580 fi
23581 if test "x$no_gtk" = x ; then
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23583 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23584 wx_cv_lib_gtk=3
23585 else
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23587 $as_echo "no" >&6; }
23588 if test "$PKG_CONFIG" = "no" ; then
23589 echo "*** A new enough version of pkg-config was not found."
23590 echo "*** See http://pkgconfig.sourceforge.net"
23591 else
23592 if test -f conf.gtktest ; then
23593 :
23594 else
23595 echo "*** Could not run GTK+ test program, checking why..."
23596 ac_save_CFLAGS="$CFLAGS"
23597 ac_save_LIBS="$LIBS"
23598 CFLAGS="$CFLAGS $GTK_CFLAGS"
23599 LIBS="$LIBS $GTK_LIBS"
23600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23601 /* end confdefs.h. */
23602
23603 #include <gtk/gtk.h>
23604 #include <stdio.h>
23605
23606 int
23607 main ()
23608 {
23609 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23610 ;
23611 return 0;
23612 }
23613 _ACEOF
23614 if ac_fn_c_try_link "$LINENO"; then :
23615 echo "*** The test program compiled, but did not run. This usually means"
23616 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23617 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23618 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23619 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23620 echo "*** is required on your system"
23621 echo "***"
23622 echo "*** If you have an old version installed, it is best to remove it, although"
23623 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23624 else
23625 echo "*** The test program failed to compile or link. See the file config.log for the"
23626 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23627 fi
23628 rm -f core conftest.err conftest.$ac_objext \
23629 conftest$ac_exeext conftest.$ac_ext
23630 CFLAGS="$ac_save_CFLAGS"
23631 LIBS="$ac_save_LIBS"
23632 fi
23633 fi
23634 GTK_CFLAGS=""
23635 GTK_LIBS=""
23636 :
23637 fi
23638
23639
23640 rm -f conf.gtktest
23641
23642 fi
23643 fi
23644 fi
23645
23646 if test -z "$wx_cv_lib_gtk"; then
23647 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23648
23649 # Check whether --with-gtk-prefix was given.
23650 if test "${with_gtk_prefix+set}" = set; then :
23651 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23652 else
23653 gtk_config_prefix=""
23654 fi
23655
23656
23657 # Check whether --with-gtk-exec-prefix was given.
23658 if test "${with_gtk_exec_prefix+set}" = set; then :
23659 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23660 else
23661 gtk_config_exec_prefix=""
23662 fi
23663
23664 # Check whether --enable-gtktest was given.
23665 if test "${enable_gtktest+set}" = set; then :
23666 enableval=$enable_gtktest;
23667 else
23668 enable_gtktest=yes
23669 fi
23670
23671
23672 for module in . $GTK_MODULES
23673 do
23674 case "$module" in
23675 gthread)
23676 gtk_config_args="$gtk_config_args gthread"
23677 ;;
23678 esac
23679 done
23680
23681 if test x$gtk_config_exec_prefix != x ; then
23682 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23683 if test x${GTK_CONFIG+set} != xset ; then
23684 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23685 fi
23686 fi
23687 if test x$gtk_config_prefix != x ; then
23688 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23689 if test x${GTK_CONFIG+set} != xset ; then
23690 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23691 fi
23692 fi
23693
23694 # Extract the first word of "gtk-config", so it can be a program name with args.
23695 set dummy gtk-config; ac_word=$2
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23697 $as_echo_n "checking for $ac_word... " >&6; }
23698 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23700 else
23701 case $GTK_CONFIG in
23702 [\\/]* | ?:[\\/]*)
23703 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23704 ;;
23705 *)
23706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23707 for as_dir in $PATH
23708 do
23709 IFS=$as_save_IFS
23710 test -z "$as_dir" && as_dir=.
23711 for ac_exec_ext in '' $ac_executable_extensions; do
23712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23713 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23715 break 2
23716 fi
23717 done
23718 done
23719 IFS=$as_save_IFS
23720
23721 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23722 ;;
23723 esac
23724 fi
23725 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23726 if test -n "$GTK_CONFIG"; then
23727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23728 $as_echo "$GTK_CONFIG" >&6; }
23729 else
23730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23731 $as_echo "no" >&6; }
23732 fi
23733
23734
23735 min_gtk_version=1.2.7
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23737 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23738 no_gtk=""
23739 if test "$GTK_CONFIG" = "no" ; then
23740 no_gtk=yes
23741 else
23742 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23743 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23744 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23746 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23747 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23748 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23749 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23750 if test "x$enable_gtktest" = "xyes" ; then
23751 ac_save_CFLAGS="$CFLAGS"
23752 ac_save_LIBS="$LIBS"
23753 CFLAGS="$CFLAGS $GTK_CFLAGS"
23754 LIBS="$GTK_LIBS $LIBS"
23755 rm -f conf.gtktest
23756 if test "$cross_compiling" = yes; then :
23757 echo $ac_n "cross compiling; assumed OK... $ac_c"
23758 else
23759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23760 /* end confdefs.h. */
23761
23762 #include <gtk/gtk.h>
23763 #include <stdio.h>
23764 #include <stdlib.h>
23765
23766 int
23767 main ()
23768 {
23769 int major, minor, micro;
23770 char *tmp_version;
23771
23772 system ("touch conf.gtktest");
23773
23774 /* HP/UX 9 (%@#!) writes to sscanf strings */
23775 tmp_version = g_strdup("$min_gtk_version");
23776 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23777 printf("%s, bad version string\n", "$min_gtk_version");
23778 exit(1);
23779 }
23780
23781 if ((gtk_major_version != $gtk_config_major_version) ||
23782 (gtk_minor_version != $gtk_config_minor_version) ||
23783 (gtk_micro_version != $gtk_config_micro_version))
23784 {
23785 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23786 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23787 gtk_major_version, gtk_minor_version, gtk_micro_version);
23788 printf ("*** was found! If gtk-config was correct, then it is best\n");
23789 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23790 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23791 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23792 printf("*** required on your system.\n");
23793 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23794 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23795 printf("*** before re-running configure\n");
23796 }
23797 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23798 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23799 (gtk_minor_version != GTK_MINOR_VERSION) ||
23800 (gtk_micro_version != GTK_MICRO_VERSION))
23801 {
23802 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23803 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23804 printf("*** library (version %d.%d.%d)\n",
23805 gtk_major_version, gtk_minor_version, gtk_micro_version);
23806 }
23807 #endif /* defined (GTK_MAJOR_VERSION) ... */
23808 else
23809 {
23810 if ((gtk_major_version > major) ||
23811 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23812 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23813 {
23814 return 0;
23815 }
23816 else
23817 {
23818 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23819 gtk_major_version, gtk_minor_version, gtk_micro_version);
23820 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23821 major, minor, micro);
23822 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23823 printf("***\n");
23824 printf("*** If you have already installed a sufficiently new version, this error\n");
23825 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23826 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23827 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23828 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23829 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23830 printf("*** so that the correct libraries are found at run-time))\n");
23831 }
23832 }
23833 return 1;
23834 }
23835
23836 _ACEOF
23837 if ac_fn_c_try_run "$LINENO"; then :
23838
23839 else
23840 no_gtk=yes
23841 fi
23842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23843 conftest.$ac_objext conftest.beam conftest.$ac_ext
23844 fi
23845
23846 CFLAGS="$ac_save_CFLAGS"
23847 LIBS="$ac_save_LIBS"
23848 fi
23849 fi
23850 if test "x$no_gtk" = x ; then
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23852 $as_echo "yes" >&6; }
23853 wx_cv_lib_gtk=1.2.7
23854 else
23855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23856 $as_echo "no" >&6; }
23857 if test "$GTK_CONFIG" = "no" ; then
23858 echo "*** The gtk-config script installed by GTK could not be found"
23859 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23860 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23861 echo "*** full path to gtk-config."
23862 else
23863 if test -f conf.gtktest ; then
23864 :
23865 else
23866 echo "*** Could not run GTK test program, checking why..."
23867 CFLAGS="$CFLAGS $GTK_CFLAGS"
23868 LIBS="$LIBS $GTK_LIBS"
23869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23870 /* end confdefs.h. */
23871
23872 #include <gtk/gtk.h>
23873 #include <stdio.h>
23874
23875 int
23876 main ()
23877 {
23878 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23879 ;
23880 return 0;
23881 }
23882 _ACEOF
23883 if ac_fn_c_try_link "$LINENO"; then :
23884 echo "*** The test program compiled, but did not run. This usually means"
23885 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23886 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23887 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23888 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23889 echo "*** is required on your system"
23890 echo "***"
23891 echo "*** If you have an old version installed, it is best to remove it, although"
23892 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23893 echo "***"
23894 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23895 echo "*** came with the system with the command"
23896 echo "***"
23897 echo "*** rpm --erase --nodeps gtk gtk-devel"
23898 else
23899 echo "*** The test program failed to compile or link. See the file config.log for the"
23900 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23901 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23902 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23903 fi
23904 rm -f core conftest.err conftest.$ac_objext \
23905 conftest$ac_exeext conftest.$ac_ext
23906 CFLAGS="$ac_save_CFLAGS"
23907 LIBS="$ac_save_LIBS"
23908 fi
23909 fi
23910 GTK_CFLAGS=""
23911 GTK_LIBS=""
23912 :
23913 fi
23914
23915
23916 rm -f conf.gtktest
23917
23918
23919 if test -z "$wx_cv_lib_gtk"; then
23920
23921 # Check whether --with-gtk-prefix was given.
23922 if test "${with_gtk_prefix+set}" = set; then :
23923 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23924 else
23925 gtk_config_prefix=""
23926 fi
23927
23928
23929 # Check whether --with-gtk-exec-prefix was given.
23930 if test "${with_gtk_exec_prefix+set}" = set; then :
23931 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23932 else
23933 gtk_config_exec_prefix=""
23934 fi
23935
23936 # Check whether --enable-gtktest was given.
23937 if test "${enable_gtktest+set}" = set; then :
23938 enableval=$enable_gtktest;
23939 else
23940 enable_gtktest=yes
23941 fi
23942
23943
23944 for module in . $GTK_MODULES
23945 do
23946 case "$module" in
23947 gthread)
23948 gtk_config_args="$gtk_config_args gthread"
23949 ;;
23950 esac
23951 done
23952
23953 if test x$gtk_config_exec_prefix != x ; then
23954 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23955 if test x${GTK_CONFIG+set} != xset ; then
23956 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23957 fi
23958 fi
23959 if test x$gtk_config_prefix != x ; then
23960 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23961 if test x${GTK_CONFIG+set} != xset ; then
23962 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23963 fi
23964 fi
23965
23966 # Extract the first word of "gtk-config", so it can be a program name with args.
23967 set dummy gtk-config; ac_word=$2
23968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23969 $as_echo_n "checking for $ac_word... " >&6; }
23970 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23971 $as_echo_n "(cached) " >&6
23972 else
23973 case $GTK_CONFIG in
23974 [\\/]* | ?:[\\/]*)
23975 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23976 ;;
23977 *)
23978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23979 for as_dir in $PATH
23980 do
23981 IFS=$as_save_IFS
23982 test -z "$as_dir" && as_dir=.
23983 for ac_exec_ext in '' $ac_executable_extensions; do
23984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23985 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23987 break 2
23988 fi
23989 done
23990 done
23991 IFS=$as_save_IFS
23992
23993 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23994 ;;
23995 esac
23996 fi
23997 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23998 if test -n "$GTK_CONFIG"; then
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24000 $as_echo "$GTK_CONFIG" >&6; }
24001 else
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24003 $as_echo "no" >&6; }
24004 fi
24005
24006
24007 min_gtk_version=1.2.3
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24009 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24010 no_gtk=""
24011 if test "$GTK_CONFIG" = "no" ; then
24012 no_gtk=yes
24013 else
24014 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
24015 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
24016 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
24017 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24018 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
24019 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24020 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
24021 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24022 if test "x$enable_gtktest" = "xyes" ; then
24023 ac_save_CFLAGS="$CFLAGS"
24024 ac_save_LIBS="$LIBS"
24025 CFLAGS="$CFLAGS $GTK_CFLAGS"
24026 LIBS="$GTK_LIBS $LIBS"
24027 rm -f conf.gtktest
24028 if test "$cross_compiling" = yes; then :
24029 echo $ac_n "cross compiling; assumed OK... $ac_c"
24030 else
24031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24032 /* end confdefs.h. */
24033
24034 #include <gtk/gtk.h>
24035 #include <stdio.h>
24036 #include <stdlib.h>
24037
24038 int
24039 main ()
24040 {
24041 int major, minor, micro;
24042 char *tmp_version;
24043
24044 system ("touch conf.gtktest");
24045
24046 /* HP/UX 9 (%@#!) writes to sscanf strings */
24047 tmp_version = g_strdup("$min_gtk_version");
24048 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
24049 printf("%s, bad version string\n", "$min_gtk_version");
24050 exit(1);
24051 }
24052
24053 if ((gtk_major_version != $gtk_config_major_version) ||
24054 (gtk_minor_version != $gtk_config_minor_version) ||
24055 (gtk_micro_version != $gtk_config_micro_version))
24056 {
24057 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24058 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24059 gtk_major_version, gtk_minor_version, gtk_micro_version);
24060 printf ("*** was found! If gtk-config was correct, then it is best\n");
24061 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24062 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24063 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24064 printf("*** required on your system.\n");
24065 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24066 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24067 printf("*** before re-running configure\n");
24068 }
24069 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24070 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24071 (gtk_minor_version != GTK_MINOR_VERSION) ||
24072 (gtk_micro_version != GTK_MICRO_VERSION))
24073 {
24074 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24075 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24076 printf("*** library (version %d.%d.%d)\n",
24077 gtk_major_version, gtk_minor_version, gtk_micro_version);
24078 }
24079 #endif /* defined (GTK_MAJOR_VERSION) ... */
24080 else
24081 {
24082 if ((gtk_major_version > major) ||
24083 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24084 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24085 {
24086 return 0;
24087 }
24088 else
24089 {
24090 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24091 gtk_major_version, gtk_minor_version, gtk_micro_version);
24092 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24093 major, minor, micro);
24094 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24095 printf("***\n");
24096 printf("*** If you have already installed a sufficiently new version, this error\n");
24097 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24098 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24099 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24100 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24101 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24102 printf("*** so that the correct libraries are found at run-time))\n");
24103 }
24104 }
24105 return 1;
24106 }
24107
24108 _ACEOF
24109 if ac_fn_c_try_run "$LINENO"; then :
24110
24111 else
24112 no_gtk=yes
24113 fi
24114 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24115 conftest.$ac_objext conftest.beam conftest.$ac_ext
24116 fi
24117
24118 CFLAGS="$ac_save_CFLAGS"
24119 LIBS="$ac_save_LIBS"
24120 fi
24121 fi
24122 if test "x$no_gtk" = x ; then
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24124 $as_echo "yes" >&6; }
24125 wx_cv_lib_gtk=1.2.3
24126 else
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24128 $as_echo "no" >&6; }
24129 if test "$GTK_CONFIG" = "no" ; then
24130 echo "*** The gtk-config script installed by GTK could not be found"
24131 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24132 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24133 echo "*** full path to gtk-config."
24134 else
24135 if test -f conf.gtktest ; then
24136 :
24137 else
24138 echo "*** Could not run GTK test program, checking why..."
24139 CFLAGS="$CFLAGS $GTK_CFLAGS"
24140 LIBS="$LIBS $GTK_LIBS"
24141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24142 /* end confdefs.h. */
24143
24144 #include <gtk/gtk.h>
24145 #include <stdio.h>
24146
24147 int
24148 main ()
24149 {
24150 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24151 ;
24152 return 0;
24153 }
24154 _ACEOF
24155 if ac_fn_c_try_link "$LINENO"; then :
24156 echo "*** The test program compiled, but did not run. This usually means"
24157 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24158 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24161 echo "*** is required on your system"
24162 echo "***"
24163 echo "*** If you have an old version installed, it is best to remove it, although"
24164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24165 echo "***"
24166 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24167 echo "*** came with the system with the command"
24168 echo "***"
24169 echo "*** rpm --erase --nodeps gtk gtk-devel"
24170 else
24171 echo "*** The test program failed to compile or link. See the file config.log for the"
24172 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24173 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24174 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24175 fi
24176 rm -f core conftest.err conftest.$ac_objext \
24177 conftest$ac_exeext conftest.$ac_ext
24178 CFLAGS="$ac_save_CFLAGS"
24179 LIBS="$ac_save_LIBS"
24180 fi
24181 fi
24182 GTK_CFLAGS=""
24183 GTK_LIBS=""
24184 :
24185 fi
24186
24187
24188 rm -f conf.gtktest
24189
24190 fi
24191 fi
24192 fi
24193
24194 if test -z "$wx_cv_lib_gtk"; then
24195 wx_cv_lib_gtk=none
24196 else
24197 GTK_LIBS="$GTK_LIBS -lX11"
24198
24199 wx_cv_cflags_gtk=$GTK_CFLAGS
24200 wx_cv_libs_gtk=$GTK_LIBS
24201 fi
24202
24203
24204 fi
24205
24206
24207 if test "$gtk_version_cached" = 1; then
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24209 $as_echo "$wx_cv_lib_gtk" >&6; }
24210 fi
24211
24212 case "$wx_cv_lib_gtk" in
24213 3) WXGTK3=1
24214 TOOLKIT_VERSION=3
24215 ;;
24216 2.0) WXGTK2=1
24217 TOOLKIT_VERSION=2
24218 ;;
24219 1.2.7) WXGTK127=1
24220 WXGTK1=1
24221 ;;
24222 1.2*) WXGTK1=1 ;;
24223 *) as_fn_error $? "
24224 The development files for GTK+ were not found. For GTK+ 2, please
24225 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24226 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24227 and that the version is 1.2.3 or above. Also check that the
24228 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24229 --libs' are in the LD_LIBRARY_PATH or equivalent.
24230 " "$LINENO" 5
24231 ;;
24232 esac
24233
24234 if test "$WXGTK3" = 1; then
24235 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24236
24237 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24238
24239 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24240
24241 elif test "$WXGTK2" = 1; then
24242 save_CFLAGS="$CFLAGS"
24243 save_LIBS="$LIBS"
24244 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24245 LIBS="$LIBS $wx_cv_libs_gtk"
24246
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24248 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24250 /* end confdefs.h. */
24251
24252 #include <gtk/gtk.h>
24253
24254 int
24255 main ()
24256 {
24257
24258 #if !GTK_CHECK_VERSION(2,18,0)
24259 Not GTK+ 2.18
24260 #endif
24261
24262 ;
24263 return 0;
24264 }
24265 _ACEOF
24266 if ac_fn_c_try_compile "$LINENO"; then :
24267
24268 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24269
24270 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24271
24272 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24273
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24275 $as_echo "yes" >&6; }
24276 ac_wxgtk218=1
24277
24278 else
24279
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24281 $as_echo "no" >&6; }
24282 ac_wxgtk218=0
24283
24284 fi
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286
24287 if test "$ac_wxgtk218" = 0; then
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24289 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24291 /* end confdefs.h. */
24292
24293 #include <gtk/gtk.h>
24294
24295 int
24296 main ()
24297 {
24298
24299 #if !GTK_CHECK_VERSION(2,10,0)
24300 Not GTK+ 2.10
24301 #endif
24302
24303 ;
24304 return 0;
24305 }
24306 _ACEOF
24307 if ac_fn_c_try_compile "$LINENO"; then :
24308
24309 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24310
24311 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24312
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24314 $as_echo "yes" >&6; }
24315 ac_wxgtk210=1
24316
24317 else
24318
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24320 $as_echo "no" >&6; }
24321 ac_wxgtk210=0
24322
24323 fi
24324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24325
24326 if test "$ac_wxgtk210" = 0; then
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.6" >&5
24328 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
24329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24330 /* end confdefs.h. */
24331
24332 #include <gtk/gtk.h>
24333
24334 int
24335 main ()
24336 {
24337
24338 #if !GTK_CHECK_VERSION(2,6,0)
24339 Not GTK+ 2.6
24340 #endif
24341
24342 ;
24343 return 0;
24344 }
24345 _ACEOF
24346 if ac_fn_c_try_compile "$LINENO"; then :
24347
24348 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24349
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24351 $as_echo "yes" >&6; }
24352 ac_wxgtk26=1
24353
24354 else
24355
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24357 $as_echo "no" >&6; }
24358 ac_wxgtk26=0
24359
24360 fi
24361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24362 fi
24363 fi
24364
24365 CFLAGS="$save_CFLAGS"
24366 LIBS="$save_LIBS"
24367 else
24368 if test "$wxUSE_UNICODE" = "yes"; then
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24370 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24371 wxUSE_UNICODE=no
24372 fi
24373
24374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24375 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24376 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then :
24377 $as_echo_n "(cached) " >&6
24378 else
24379 ac_check_lib_save_LIBS=$LIBS
24380 LIBS="-lgdk $LIBS"
24381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24382 /* end confdefs.h. */
24383
24384 /* Override any GCC internal prototype to avoid an error.
24385 Use char because int might match the return type of a GCC
24386 builtin and then its argument prototype would still apply. */
24387 #ifdef __cplusplus
24388 extern "C"
24389 #endif
24390 char gdk_im_open ();
24391 int
24392 main ()
24393 {
24394 return gdk_im_open ();
24395 ;
24396 return 0;
24397 }
24398 _ACEOF
24399 if ac_fn_c_try_link "$LINENO"; then :
24400 ac_cv_lib_gdk_gdk_im_open=yes
24401 else
24402 ac_cv_lib_gdk_gdk_im_open=no
24403 fi
24404 rm -f core conftest.err conftest.$ac_objext \
24405 conftest$ac_exeext conftest.$ac_ext
24406 LIBS=$ac_check_lib_save_LIBS
24407 fi
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24409 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24410 if test "x$ac_cv_lib_gdk_gdk_im_open" = x""yes; then :
24411 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24412
24413 fi
24414
24415
24416 if test "$USE_DARWIN" != 1; then
24417 for ac_func in poll
24418 do :
24419 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24420 if test "x$ac_cv_func_poll" = x""yes; then :
24421 cat >>confdefs.h <<_ACEOF
24422 #define HAVE_POLL 1
24423 _ACEOF
24424
24425 fi
24426 done
24427
24428 fi
24429 fi
24430
24431 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24432 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24433 AFMINSTALL=afminstall
24434 TOOLKIT=GTK
24435 GUIDIST=GTK_DIST
24436
24437 if test "$wxUSE_GPE" = "yes"; then
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24439 $as_echo_n "checking for gpewidget library... " >&6; }
24440
24441 ac_find_libraries=
24442 for ac_dir in $SEARCH_LIB
24443 do
24444 for ac_extension in a so sl dylib dll.a; do
24445 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24446 ac_find_libraries=$ac_dir
24447 break 2
24448 fi
24449 done
24450 done
24451
24452 if test "$ac_find_libraries" != "" ; then
24453
24454 if test "$ac_find_libraries" = "default location"; then
24455 ac_path_to_link=""
24456 else
24457 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24458 result=$?
24459 if test $result = 0; then
24460 ac_path_to_link=""
24461 else
24462 ac_path_to_link=" -L$ac_find_libraries"
24463 fi
24464 fi
24465
24466 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24467 WXGPE=1
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24469 $as_echo "found in $ac_find_libraries" >&6; }
24470 else
24471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24472 $as_echo "not found" >&6; }
24473 fi
24474
24475 fi
24476 fi
24477
24478 if test "$wxUSE_DFB" = 1; then
24479
24480
24481 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24482 if test -n "$ac_tool_prefix"; then
24483 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24484 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24486 $as_echo_n "checking for $ac_word... " >&6; }
24487 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24488 $as_echo_n "(cached) " >&6
24489 else
24490 case $PKG_CONFIG in
24491 [\\/]* | ?:[\\/]*)
24492 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24493 ;;
24494 *)
24495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24496 for as_dir in $PATH
24497 do
24498 IFS=$as_save_IFS
24499 test -z "$as_dir" && as_dir=.
24500 for ac_exec_ext in '' $ac_executable_extensions; do
24501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24502 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24504 break 2
24505 fi
24506 done
24507 done
24508 IFS=$as_save_IFS
24509
24510 ;;
24511 esac
24512 fi
24513 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24514 if test -n "$PKG_CONFIG"; then
24515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24516 $as_echo "$PKG_CONFIG" >&6; }
24517 else
24518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24519 $as_echo "no" >&6; }
24520 fi
24521
24522
24523 fi
24524 if test -z "$ac_cv_path_PKG_CONFIG"; then
24525 ac_pt_PKG_CONFIG=$PKG_CONFIG
24526 # Extract the first word of "pkg-config", so it can be a program name with args.
24527 set dummy pkg-config; ac_word=$2
24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24529 $as_echo_n "checking for $ac_word... " >&6; }
24530 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
24531 $as_echo_n "(cached) " >&6
24532 else
24533 case $ac_pt_PKG_CONFIG in
24534 [\\/]* | ?:[\\/]*)
24535 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24536 ;;
24537 *)
24538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24539 for as_dir in $PATH
24540 do
24541 IFS=$as_save_IFS
24542 test -z "$as_dir" && as_dir=.
24543 for ac_exec_ext in '' $ac_executable_extensions; do
24544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24545 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24547 break 2
24548 fi
24549 done
24550 done
24551 IFS=$as_save_IFS
24552
24553 ;;
24554 esac
24555 fi
24556 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24557 if test -n "$ac_pt_PKG_CONFIG"; then
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24559 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24560 else
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24562 $as_echo "no" >&6; }
24563 fi
24564
24565 if test "x$ac_pt_PKG_CONFIG" = x; then
24566 PKG_CONFIG=""
24567 else
24568 case $cross_compiling:$ac_tool_warned in
24569 yes:)
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24572 ac_tool_warned=yes ;;
24573 esac
24574 PKG_CONFIG=$ac_pt_PKG_CONFIG
24575 fi
24576 else
24577 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24578 fi
24579
24580 fi
24581 if test -n "$PKG_CONFIG"; then
24582 _pkg_min_version=0.9.0
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24584 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24585 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24587 $as_echo "yes" >&6; }
24588 else
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24590 $as_echo "no" >&6; }
24591 PKG_CONFIG=""
24592 fi
24593
24594 fi
24595
24596
24597 pkg_failed=no
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24599 $as_echo_n "checking for DIRECTFB... " >&6; }
24600
24601 if test -n "$PKG_CONFIG"; then
24602 if test -n "$DIRECTFB_CFLAGS"; then
24603 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24604 else
24605 if test -n "$PKG_CONFIG" && \
24606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24607 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24608 ac_status=$?
24609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24610 test $ac_status = 0; }; then
24611 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24612 else
24613 pkg_failed=yes
24614 fi
24615 fi
24616 else
24617 pkg_failed=untried
24618 fi
24619 if test -n "$PKG_CONFIG"; then
24620 if test -n "$DIRECTFB_LIBS"; then
24621 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24622 else
24623 if test -n "$PKG_CONFIG" && \
24624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24625 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24626 ac_status=$?
24627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24628 test $ac_status = 0; }; then
24629 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24630 else
24631 pkg_failed=yes
24632 fi
24633 fi
24634 else
24635 pkg_failed=untried
24636 fi
24637
24638
24639
24640 if test $pkg_failed = yes; then
24641
24642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24643 _pkg_short_errors_supported=yes
24644 else
24645 _pkg_short_errors_supported=no
24646 fi
24647 if test $_pkg_short_errors_supported = yes; then
24648 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24649 else
24650 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24651 fi
24652 # Put the nasty error message in config.log where it belongs
24653 echo "$DIRECTFB_PKG_ERRORS" >&5
24654
24655
24656 as_fn_error $? "DirectFB not found." "$LINENO" 5
24657
24658
24659 elif test $pkg_failed = untried; then
24660
24661 as_fn_error $? "DirectFB not found." "$LINENO" 5
24662
24663
24664 else
24665 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24666 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24668 $as_echo "yes" >&6; }
24669
24670 wxUSE_UNIVERSAL="yes"
24671 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24672 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24673 TOOLKIT=DFB
24674 GUIDIST=DFB_DIST
24675
24676 fi
24677 fi
24678
24679 if test "$wxUSE_MICROWIN" = 1; then
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24681 $as_echo_n "checking for MicroWindows... " >&6; }
24682 if test "x$MICROWINDOWS" = x ; then
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24684 $as_echo "not found" >&6; }
24685 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24686 else
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24688 $as_echo "$MICROWINDOWS" >&6; }
24689 fi
24690
24691 if test -f $MICROWINDOWS/lib/libmwin.a; then
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24693 $as_echo "MicroWindows' libraries found." >&6; }
24694 else
24695 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24696 fi
24697
24698 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24699 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24700
24701 wxUSE_UNIVERSAL="yes"
24702
24703 AFMINSTALL=afminstall
24704 TOOLKIT=MICROWIN
24705 GUIDIST=MICROWIN_DIST
24706
24707 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24708 fi
24709
24710 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24712 $as_echo_n "checking for X... " >&6; }
24713
24714
24715 # Check whether --with-x was given.
24716 if test "${with_x+set}" = set; then :
24717 withval=$with_x;
24718 fi
24719
24720 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24721 if test "x$with_x" = xno; then
24722 # The user explicitly disabled X.
24723 have_x=disabled
24724 else
24725 case $x_includes,$x_libraries in #(
24726 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
24727 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24728 $as_echo_n "(cached) " >&6
24729 else
24730 # One or both of the vars are not set, and there is no cached value.
24731 ac_x_includes=no ac_x_libraries=no
24732 rm -f -r conftest.dir
24733 if mkdir conftest.dir; then
24734 cd conftest.dir
24735 cat >Imakefile <<'_ACEOF'
24736 incroot:
24737 @echo incroot='${INCROOT}'
24738 usrlibdir:
24739 @echo usrlibdir='${USRLIBDIR}'
24740 libdir:
24741 @echo libdir='${LIBDIR}'
24742 _ACEOF
24743 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24744 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24745 for ac_var in incroot usrlibdir libdir; do
24746 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24747 done
24748 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24749 for ac_extension in a so sl dylib la dll; do
24750 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24751 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24752 ac_im_usrlibdir=$ac_im_libdir; break
24753 fi
24754 done
24755 # Screen out bogus values from the imake configuration. They are
24756 # bogus both because they are the default anyway, and because
24757 # using them would break gcc on systems where it needs fixed includes.
24758 case $ac_im_incroot in
24759 /usr/include) ac_x_includes= ;;
24760 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24761 esac
24762 case $ac_im_usrlibdir in
24763 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24764 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24765 esac
24766 fi
24767 cd ..
24768 rm -f -r conftest.dir
24769 fi
24770
24771 # Standard set of common directories for X headers.
24772 # Check X11 before X11Rn because it is often a symlink to the current release.
24773 ac_x_header_dirs='
24774 /usr/X11/include
24775 /usr/X11R7/include
24776 /usr/X11R6/include
24777 /usr/X11R5/include
24778 /usr/X11R4/include
24779
24780 /usr/include/X11
24781 /usr/include/X11R7
24782 /usr/include/X11R6
24783 /usr/include/X11R5
24784 /usr/include/X11R4
24785
24786 /usr/local/X11/include
24787 /usr/local/X11R7/include
24788 /usr/local/X11R6/include
24789 /usr/local/X11R5/include
24790 /usr/local/X11R4/include
24791
24792 /usr/local/include/X11
24793 /usr/local/include/X11R7
24794 /usr/local/include/X11R6
24795 /usr/local/include/X11R5
24796 /usr/local/include/X11R4
24797
24798 /usr/X386/include
24799 /usr/x386/include
24800 /usr/XFree86/include/X11
24801
24802 /usr/include
24803 /usr/local/include
24804 /usr/unsupported/include
24805 /usr/athena/include
24806 /usr/local/x11r5/include
24807 /usr/lpp/Xamples/include
24808
24809 /usr/openwin/include
24810 /usr/openwin/share/include'
24811
24812 if test "$ac_x_includes" = no; then
24813 # Guess where to find include files, by looking for Xlib.h.
24814 # First, try using that file with no special directory specified.
24815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24816 /* end confdefs.h. */
24817 #include <X11/Xlib.h>
24818 _ACEOF
24819 if ac_fn_c_try_cpp "$LINENO"; then :
24820 # We can compile using X headers with no special include directory.
24821 ac_x_includes=
24822 else
24823 for ac_dir in $ac_x_header_dirs; do
24824 if test -r "$ac_dir/X11/Xlib.h"; then
24825 ac_x_includes=$ac_dir
24826 break
24827 fi
24828 done
24829 fi
24830 rm -f conftest.err conftest.i conftest.$ac_ext
24831 fi # $ac_x_includes = no
24832
24833 if test "$ac_x_libraries" = no; then
24834 # Check for the libraries.
24835 # See if we find them without any special options.
24836 # Don't add to $LIBS permanently.
24837 ac_save_LIBS=$LIBS
24838 LIBS="-lX11 $LIBS"
24839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24840 /* end confdefs.h. */
24841 #include <X11/Xlib.h>
24842 int
24843 main ()
24844 {
24845 XrmInitialize ()
24846 ;
24847 return 0;
24848 }
24849 _ACEOF
24850 if ac_fn_c_try_link "$LINENO"; then :
24851 LIBS=$ac_save_LIBS
24852 # We can link X programs with no special library path.
24853 ac_x_libraries=
24854 else
24855 LIBS=$ac_save_LIBS
24856 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24857 do
24858 # Don't even attempt the hair of trying to link an X program!
24859 for ac_extension in a so sl dylib la dll; do
24860 if test -r "$ac_dir/libX11.$ac_extension"; then
24861 ac_x_libraries=$ac_dir
24862 break 2
24863 fi
24864 done
24865 done
24866 fi
24867 rm -f core conftest.err conftest.$ac_objext \
24868 conftest$ac_exeext conftest.$ac_ext
24869 fi # $ac_x_libraries = no
24870
24871 case $ac_x_includes,$ac_x_libraries in #(
24872 no,* | *,no | *\'*)
24873 # Didn't find X, or a directory has "'" in its name.
24874 ac_cv_have_x="have_x=no";; #(
24875 *)
24876 # Record where we found X for the cache.
24877 ac_cv_have_x="have_x=yes\
24878 ac_x_includes='$ac_x_includes'\
24879 ac_x_libraries='$ac_x_libraries'"
24880 esac
24881 fi
24882 ;; #(
24883 *) have_x=yes;;
24884 esac
24885 eval "$ac_cv_have_x"
24886 fi # $with_x != no
24887
24888 if test "$have_x" != yes; then
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24890 $as_echo "$have_x" >&6; }
24891 no_x=yes
24892 else
24893 # If each of the values was on the command line, it overrides each guess.
24894 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24895 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24896 # Update the cache value to reflect the command line values.
24897 ac_cv_have_x="have_x=yes\
24898 ac_x_includes='$x_includes'\
24899 ac_x_libraries='$x_libraries'"
24900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24901 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24902 fi
24903
24904 if test "$no_x" = yes; then
24905 # Not all programs may use this symbol, but it does not hurt to define it.
24906
24907 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24908
24909 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24910 else
24911 if test -n "$x_includes"; then
24912 X_CFLAGS="$X_CFLAGS -I$x_includes"
24913 fi
24914
24915 # It would also be nice to do this for all -L options, not just this one.
24916 if test -n "$x_libraries"; then
24917 X_LIBS="$X_LIBS -L$x_libraries"
24918 # For Solaris; some versions of Sun CC require a space after -R and
24919 # others require no space. Words are not sufficient . . . .
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24921 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24922 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24923 ac_xsave_c_werror_flag=$ac_c_werror_flag
24924 ac_c_werror_flag=yes
24925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24926 /* end confdefs.h. */
24927
24928 int
24929 main ()
24930 {
24931
24932 ;
24933 return 0;
24934 }
24935 _ACEOF
24936 if ac_fn_c_try_link "$LINENO"; then :
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24938 $as_echo "no" >&6; }
24939 X_LIBS="$X_LIBS -R$x_libraries"
24940 else
24941 LIBS="$ac_xsave_LIBS -R $x_libraries"
24942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24943 /* end confdefs.h. */
24944
24945 int
24946 main ()
24947 {
24948
24949 ;
24950 return 0;
24951 }
24952 _ACEOF
24953 if ac_fn_c_try_link "$LINENO"; then :
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24955 $as_echo "yes" >&6; }
24956 X_LIBS="$X_LIBS -R $x_libraries"
24957 else
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24959 $as_echo "neither works" >&6; }
24960 fi
24961 rm -f core conftest.err conftest.$ac_objext \
24962 conftest$ac_exeext conftest.$ac_ext
24963 fi
24964 rm -f core conftest.err conftest.$ac_objext \
24965 conftest$ac_exeext conftest.$ac_ext
24966 ac_c_werror_flag=$ac_xsave_c_werror_flag
24967 LIBS=$ac_xsave_LIBS
24968 fi
24969
24970 # Check for system-dependent libraries X programs must link with.
24971 # Do this before checking for the system-independent R6 libraries
24972 # (-lICE), since we may need -lsocket or whatever for X linking.
24973
24974 if test "$ISC" = yes; then
24975 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24976 else
24977 # Martyn Johnson says this is needed for Ultrix, if the X
24978 # libraries were built with DECnet support. And Karl Berry says
24979 # the Alpha needs dnet_stub (dnet does not exist).
24980 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24982 /* end confdefs.h. */
24983
24984 /* Override any GCC internal prototype to avoid an error.
24985 Use char because int might match the return type of a GCC
24986 builtin and then its argument prototype would still apply. */
24987 #ifdef __cplusplus
24988 extern "C"
24989 #endif
24990 char XOpenDisplay ();
24991 int
24992 main ()
24993 {
24994 return XOpenDisplay ();
24995 ;
24996 return 0;
24997 }
24998 _ACEOF
24999 if ac_fn_c_try_link "$LINENO"; then :
25000
25001 else
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25003 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25004 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
25005 $as_echo_n "(cached) " >&6
25006 else
25007 ac_check_lib_save_LIBS=$LIBS
25008 LIBS="-ldnet $LIBS"
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011
25012 /* Override any GCC internal prototype to avoid an error.
25013 Use char because int might match the return type of a GCC
25014 builtin and then its argument prototype would still apply. */
25015 #ifdef __cplusplus
25016 extern "C"
25017 #endif
25018 char dnet_ntoa ();
25019 int
25020 main ()
25021 {
25022 return dnet_ntoa ();
25023 ;
25024 return 0;
25025 }
25026 _ACEOF
25027 if ac_fn_c_try_link "$LINENO"; then :
25028 ac_cv_lib_dnet_dnet_ntoa=yes
25029 else
25030 ac_cv_lib_dnet_dnet_ntoa=no
25031 fi
25032 rm -f core conftest.err conftest.$ac_objext \
25033 conftest$ac_exeext conftest.$ac_ext
25034 LIBS=$ac_check_lib_save_LIBS
25035 fi
25036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25037 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25038 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
25039 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25040 fi
25041
25042 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25044 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25045 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
25046 $as_echo_n "(cached) " >&6
25047 else
25048 ac_check_lib_save_LIBS=$LIBS
25049 LIBS="-ldnet_stub $LIBS"
25050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25051 /* end confdefs.h. */
25052
25053 /* Override any GCC internal prototype to avoid an error.
25054 Use char because int might match the return type of a GCC
25055 builtin and then its argument prototype would still apply. */
25056 #ifdef __cplusplus
25057 extern "C"
25058 #endif
25059 char dnet_ntoa ();
25060 int
25061 main ()
25062 {
25063 return dnet_ntoa ();
25064 ;
25065 return 0;
25066 }
25067 _ACEOF
25068 if ac_fn_c_try_link "$LINENO"; then :
25069 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25070 else
25071 ac_cv_lib_dnet_stub_dnet_ntoa=no
25072 fi
25073 rm -f core conftest.err conftest.$ac_objext \
25074 conftest$ac_exeext conftest.$ac_ext
25075 LIBS=$ac_check_lib_save_LIBS
25076 fi
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25078 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25079 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
25080 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25081 fi
25082
25083 fi
25084 fi
25085 rm -f core conftest.err conftest.$ac_objext \
25086 conftest$ac_exeext conftest.$ac_ext
25087 LIBS="$ac_xsave_LIBS"
25088
25089 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25090 # to get the SysV transport functions.
25091 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25092 # needs -lnsl.
25093 # The nsl library prevents programs from opening the X display
25094 # on Irix 5.2, according to T.E. Dickey.
25095 # The functions gethostbyname, getservbyname, and inet_addr are
25096 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25097 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25098 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25099
25100 fi
25101
25102 if test $ac_cv_func_gethostbyname = no; then
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25104 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25105 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25106 $as_echo_n "(cached) " >&6
25107 else
25108 ac_check_lib_save_LIBS=$LIBS
25109 LIBS="-lnsl $LIBS"
25110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h. */
25112
25113 /* Override any GCC internal prototype to avoid an error.
25114 Use char because int might match the return type of a GCC
25115 builtin and then its argument prototype would still apply. */
25116 #ifdef __cplusplus
25117 extern "C"
25118 #endif
25119 char gethostbyname ();
25120 int
25121 main ()
25122 {
25123 return gethostbyname ();
25124 ;
25125 return 0;
25126 }
25127 _ACEOF
25128 if ac_fn_c_try_link "$LINENO"; then :
25129 ac_cv_lib_nsl_gethostbyname=yes
25130 else
25131 ac_cv_lib_nsl_gethostbyname=no
25132 fi
25133 rm -f core conftest.err conftest.$ac_objext \
25134 conftest$ac_exeext conftest.$ac_ext
25135 LIBS=$ac_check_lib_save_LIBS
25136 fi
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25138 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25139 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25141 fi
25142
25143 if test $ac_cv_lib_nsl_gethostbyname = no; then
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25145 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25146 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25147 $as_echo_n "(cached) " >&6
25148 else
25149 ac_check_lib_save_LIBS=$LIBS
25150 LIBS="-lbsd $LIBS"
25151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152 /* end confdefs.h. */
25153
25154 /* Override any GCC internal prototype to avoid an error.
25155 Use char because int might match the return type of a GCC
25156 builtin and then its argument prototype would still apply. */
25157 #ifdef __cplusplus
25158 extern "C"
25159 #endif
25160 char gethostbyname ();
25161 int
25162 main ()
25163 {
25164 return gethostbyname ();
25165 ;
25166 return 0;
25167 }
25168 _ACEOF
25169 if ac_fn_c_try_link "$LINENO"; then :
25170 ac_cv_lib_bsd_gethostbyname=yes
25171 else
25172 ac_cv_lib_bsd_gethostbyname=no
25173 fi
25174 rm -f core conftest.err conftest.$ac_objext \
25175 conftest$ac_exeext conftest.$ac_ext
25176 LIBS=$ac_check_lib_save_LIBS
25177 fi
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25179 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25180 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25181 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25182 fi
25183
25184 fi
25185 fi
25186
25187 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25188 # socket/setsockopt and other routines are undefined under SCO ODT
25189 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25190 # on later versions), says Simon Leinen: it contains gethostby*
25191 # variants that don't use the name server (or something). -lsocket
25192 # must be given before -lnsl if both are needed. We assume that
25193 # if connect needs -lnsl, so does gethostbyname.
25194 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25195 if test "x$ac_cv_func_connect" = x""yes; then :
25196
25197 fi
25198
25199 if test $ac_cv_func_connect = no; then
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25201 $as_echo_n "checking for connect in -lsocket... " >&6; }
25202 if test "${ac_cv_lib_socket_connect+set}" = set; then :
25203 $as_echo_n "(cached) " >&6
25204 else
25205 ac_check_lib_save_LIBS=$LIBS
25206 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25208 /* end confdefs.h. */
25209
25210 /* Override any GCC internal prototype to avoid an error.
25211 Use char because int might match the return type of a GCC
25212 builtin and then its argument prototype would still apply. */
25213 #ifdef __cplusplus
25214 extern "C"
25215 #endif
25216 char connect ();
25217 int
25218 main ()
25219 {
25220 return connect ();
25221 ;
25222 return 0;
25223 }
25224 _ACEOF
25225 if ac_fn_c_try_link "$LINENO"; then :
25226 ac_cv_lib_socket_connect=yes
25227 else
25228 ac_cv_lib_socket_connect=no
25229 fi
25230 rm -f core conftest.err conftest.$ac_objext \
25231 conftest$ac_exeext conftest.$ac_ext
25232 LIBS=$ac_check_lib_save_LIBS
25233 fi
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25235 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25236 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
25237 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25238 fi
25239
25240 fi
25241
25242 # Guillermo Gomez says -lposix is necessary on A/UX.
25243 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25244 if test "x$ac_cv_func_remove" = x""yes; then :
25245
25246 fi
25247
25248 if test $ac_cv_func_remove = no; then
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25250 $as_echo_n "checking for remove in -lposix... " >&6; }
25251 if test "${ac_cv_lib_posix_remove+set}" = set; then :
25252 $as_echo_n "(cached) " >&6
25253 else
25254 ac_check_lib_save_LIBS=$LIBS
25255 LIBS="-lposix $LIBS"
25256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h. */
25258
25259 /* Override any GCC internal prototype to avoid an error.
25260 Use char because int might match the return type of a GCC
25261 builtin and then its argument prototype would still apply. */
25262 #ifdef __cplusplus
25263 extern "C"
25264 #endif
25265 char remove ();
25266 int
25267 main ()
25268 {
25269 return remove ();
25270 ;
25271 return 0;
25272 }
25273 _ACEOF
25274 if ac_fn_c_try_link "$LINENO"; then :
25275 ac_cv_lib_posix_remove=yes
25276 else
25277 ac_cv_lib_posix_remove=no
25278 fi
25279 rm -f core conftest.err conftest.$ac_objext \
25280 conftest$ac_exeext conftest.$ac_ext
25281 LIBS=$ac_check_lib_save_LIBS
25282 fi
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25284 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25285 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25287 fi
25288
25289 fi
25290
25291 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25292 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25293 if test "x$ac_cv_func_shmat" = x""yes; then :
25294
25295 fi
25296
25297 if test $ac_cv_func_shmat = no; then
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25299 $as_echo_n "checking for shmat in -lipc... " >&6; }
25300 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25302 else
25303 ac_check_lib_save_LIBS=$LIBS
25304 LIBS="-lipc $LIBS"
25305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25306 /* end confdefs.h. */
25307
25308 /* Override any GCC internal prototype to avoid an error.
25309 Use char because int might match the return type of a GCC
25310 builtin and then its argument prototype would still apply. */
25311 #ifdef __cplusplus
25312 extern "C"
25313 #endif
25314 char shmat ();
25315 int
25316 main ()
25317 {
25318 return shmat ();
25319 ;
25320 return 0;
25321 }
25322 _ACEOF
25323 if ac_fn_c_try_link "$LINENO"; then :
25324 ac_cv_lib_ipc_shmat=yes
25325 else
25326 ac_cv_lib_ipc_shmat=no
25327 fi
25328 rm -f core conftest.err conftest.$ac_objext \
25329 conftest$ac_exeext conftest.$ac_ext
25330 LIBS=$ac_check_lib_save_LIBS
25331 fi
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25333 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25334 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25335 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25336 fi
25337
25338 fi
25339 fi
25340
25341 # Check for libraries that X11R6 Xt/Xaw programs need.
25342 ac_save_LDFLAGS=$LDFLAGS
25343 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25344 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25345 # check for ICE first), but we must link in the order -lSM -lICE or
25346 # we get undefined symbols. So assume we have SM if we have ICE.
25347 # These have to be linked with before -lX11, unlike the other
25348 # libraries we check for below, so use a different variable.
25349 # John Interrante, Karl Berry
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25351 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25352 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25353 $as_echo_n "(cached) " >&6
25354 else
25355 ac_check_lib_save_LIBS=$LIBS
25356 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25358 /* end confdefs.h. */
25359
25360 /* Override any GCC internal prototype to avoid an error.
25361 Use char because int might match the return type of a GCC
25362 builtin and then its argument prototype would still apply. */
25363 #ifdef __cplusplus
25364 extern "C"
25365 #endif
25366 char IceConnectionNumber ();
25367 int
25368 main ()
25369 {
25370 return IceConnectionNumber ();
25371 ;
25372 return 0;
25373 }
25374 _ACEOF
25375 if ac_fn_c_try_link "$LINENO"; then :
25376 ac_cv_lib_ICE_IceConnectionNumber=yes
25377 else
25378 ac_cv_lib_ICE_IceConnectionNumber=no
25379 fi
25380 rm -f core conftest.err conftest.$ac_objext \
25381 conftest$ac_exeext conftest.$ac_ext
25382 LIBS=$ac_check_lib_save_LIBS
25383 fi
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25385 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25386 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25387 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25388 fi
25389
25390 LDFLAGS=$ac_save_LDFLAGS
25391
25392 fi
25393
25394
25395 if test "$no_x" = "yes"; then
25396 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25397 fi
25398
25399 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25400 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25401 AFMINSTALL=afminstall
25402 COMPILED_X_PROGRAM=0
25403
25404 fi
25405
25406 if test "$wxUSE_X11" = 1; then
25407 if test "$wxUSE_NANOX" = "yes"; then
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25409 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25410 if test "x$MICROWIN" = x ; then
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25412 $as_echo "not found" >&6; }
25413 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25414 else
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25416 $as_echo "$MICROWIN" >&6; }
25417 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25418
25419 fi
25420 fi
25421
25422 if test "$wxUSE_UNICODE" = "yes"; then
25423
25424
25425 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25426 if test -n "$ac_tool_prefix"; then
25427 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25428 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25430 $as_echo_n "checking for $ac_word... " >&6; }
25431 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25432 $as_echo_n "(cached) " >&6
25433 else
25434 case $PKG_CONFIG in
25435 [\\/]* | ?:[\\/]*)
25436 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25437 ;;
25438 *)
25439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25440 for as_dir in $PATH
25441 do
25442 IFS=$as_save_IFS
25443 test -z "$as_dir" && as_dir=.
25444 for ac_exec_ext in '' $ac_executable_extensions; do
25445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25446 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25448 break 2
25449 fi
25450 done
25451 done
25452 IFS=$as_save_IFS
25453
25454 ;;
25455 esac
25456 fi
25457 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25458 if test -n "$PKG_CONFIG"; then
25459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25460 $as_echo "$PKG_CONFIG" >&6; }
25461 else
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25463 $as_echo "no" >&6; }
25464 fi
25465
25466
25467 fi
25468 if test -z "$ac_cv_path_PKG_CONFIG"; then
25469 ac_pt_PKG_CONFIG=$PKG_CONFIG
25470 # Extract the first word of "pkg-config", so it can be a program name with args.
25471 set dummy pkg-config; ac_word=$2
25472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25473 $as_echo_n "checking for $ac_word... " >&6; }
25474 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
25475 $as_echo_n "(cached) " >&6
25476 else
25477 case $ac_pt_PKG_CONFIG in
25478 [\\/]* | ?:[\\/]*)
25479 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25480 ;;
25481 *)
25482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25483 for as_dir in $PATH
25484 do
25485 IFS=$as_save_IFS
25486 test -z "$as_dir" && as_dir=.
25487 for ac_exec_ext in '' $ac_executable_extensions; do
25488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25489 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25491 break 2
25492 fi
25493 done
25494 done
25495 IFS=$as_save_IFS
25496
25497 ;;
25498 esac
25499 fi
25500 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25501 if test -n "$ac_pt_PKG_CONFIG"; then
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25503 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25504 else
25505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25506 $as_echo "no" >&6; }
25507 fi
25508
25509 if test "x$ac_pt_PKG_CONFIG" = x; then
25510 PKG_CONFIG=""
25511 else
25512 case $cross_compiling:$ac_tool_warned in
25513 yes:)
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25516 ac_tool_warned=yes ;;
25517 esac
25518 PKG_CONFIG=$ac_pt_PKG_CONFIG
25519 fi
25520 else
25521 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25522 fi
25523
25524 fi
25525 if test -n "$PKG_CONFIG"; then
25526 _pkg_min_version=0.9.0
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25528 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25529 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25531 $as_echo "yes" >&6; }
25532 else
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25534 $as_echo "no" >&6; }
25535 PKG_CONFIG=""
25536 fi
25537
25538 fi
25539
25540
25541 pkg_failed=no
25542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25543 $as_echo_n "checking for PANGOX... " >&6; }
25544
25545 if test -n "$PKG_CONFIG"; then
25546 if test -n "$PANGOX_CFLAGS"; then
25547 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25548 else
25549 if test -n "$PKG_CONFIG" && \
25550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25551 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25552 ac_status=$?
25553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25554 test $ac_status = 0; }; then
25555 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25556 else
25557 pkg_failed=yes
25558 fi
25559 fi
25560 else
25561 pkg_failed=untried
25562 fi
25563 if test -n "$PKG_CONFIG"; then
25564 if test -n "$PANGOX_LIBS"; then
25565 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25566 else
25567 if test -n "$PKG_CONFIG" && \
25568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25569 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25570 ac_status=$?
25571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25572 test $ac_status = 0; }; then
25573 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25574 else
25575 pkg_failed=yes
25576 fi
25577 fi
25578 else
25579 pkg_failed=untried
25580 fi
25581
25582
25583
25584 if test $pkg_failed = yes; then
25585
25586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25587 _pkg_short_errors_supported=yes
25588 else
25589 _pkg_short_errors_supported=no
25590 fi
25591 if test $_pkg_short_errors_supported = yes; then
25592 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25593 else
25594 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25595 fi
25596 # Put the nasty error message in config.log where it belongs
25597 echo "$PANGOX_PKG_ERRORS" >&5
25598
25599
25600 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25601
25602
25603 elif test $pkg_failed = untried; then
25604
25605 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25606
25607
25608 else
25609 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25610 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25612 $as_echo "yes" >&6; }
25613
25614 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25615 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25616 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25617
25618 fi
25619
25620 pkg_failed=no
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25622 $as_echo_n "checking for PANGOFT2... " >&6; }
25623
25624 if test -n "$PKG_CONFIG"; then
25625 if test -n "$PANGOFT2_CFLAGS"; then
25626 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25627 else
25628 if test -n "$PKG_CONFIG" && \
25629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25630 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25631 ac_status=$?
25632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25633 test $ac_status = 0; }; then
25634 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25635 else
25636 pkg_failed=yes
25637 fi
25638 fi
25639 else
25640 pkg_failed=untried
25641 fi
25642 if test -n "$PKG_CONFIG"; then
25643 if test -n "$PANGOFT2_LIBS"; then
25644 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25645 else
25646 if test -n "$PKG_CONFIG" && \
25647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25648 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25649 ac_status=$?
25650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25651 test $ac_status = 0; }; then
25652 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25653 else
25654 pkg_failed=yes
25655 fi
25656 fi
25657 else
25658 pkg_failed=untried
25659 fi
25660
25661
25662
25663 if test $pkg_failed = yes; then
25664
25665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25666 _pkg_short_errors_supported=yes
25667 else
25668 _pkg_short_errors_supported=no
25669 fi
25670 if test $_pkg_short_errors_supported = yes; then
25671 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25672 else
25673 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25674 fi
25675 # Put the nasty error message in config.log where it belongs
25676 echo "$PANGOFT2_PKG_ERRORS" >&5
25677
25678
25679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25680 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25681 wxUSE_PRINTING_ARCHITECTURE="no"
25682
25683
25684 elif test $pkg_failed = untried; then
25685
25686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25687 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25688 wxUSE_PRINTING_ARCHITECTURE="no"
25689
25690
25691 else
25692 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25693 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25695 $as_echo "yes" >&6; }
25696
25697 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25698 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25700
25701 fi
25702
25703 pkg_failed=no
25704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25705 $as_echo_n "checking for PANGOXFT... " >&6; }
25706
25707 if test -n "$PKG_CONFIG"; then
25708 if test -n "$PANGOXFT_CFLAGS"; then
25709 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25710 else
25711 if test -n "$PKG_CONFIG" && \
25712 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25713 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25714 ac_status=$?
25715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25716 test $ac_status = 0; }; then
25717 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25718 else
25719 pkg_failed=yes
25720 fi
25721 fi
25722 else
25723 pkg_failed=untried
25724 fi
25725 if test -n "$PKG_CONFIG"; then
25726 if test -n "$PANGOXFT_LIBS"; then
25727 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25728 else
25729 if test -n "$PKG_CONFIG" && \
25730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25731 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25732 ac_status=$?
25733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25734 test $ac_status = 0; }; then
25735 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25736 else
25737 pkg_failed=yes
25738 fi
25739 fi
25740 else
25741 pkg_failed=untried
25742 fi
25743
25744
25745
25746 if test $pkg_failed = yes; then
25747
25748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25749 _pkg_short_errors_supported=yes
25750 else
25751 _pkg_short_errors_supported=no
25752 fi
25753 if test $_pkg_short_errors_supported = yes; then
25754 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25755 else
25756 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25757 fi
25758 # Put the nasty error message in config.log where it belongs
25759 echo "$PANGOXFT_PKG_ERRORS" >&5
25760
25761
25762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25763 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25764
25765
25766 elif test $pkg_failed = untried; then
25767
25768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25769 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25770
25771
25772 else
25773 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25774 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25776 $as_echo "yes" >&6; }
25777
25778 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25779
25780 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25781 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25782 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25783
25784 fi
25785 save_LIBS="$LIBS"
25786 LIBS="$LIBS $PANGOX_LIBS"
25787 for ac_func in pango_font_family_is_monospace
25788 do :
25789 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25790 if test "x$ac_cv_func_pango_font_family_is_monospace" = x""yes; then :
25791 cat >>confdefs.h <<_ACEOF
25792 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25793 _ACEOF
25794
25795 fi
25796 done
25797
25798 LIBS="$save_LIBS"
25799 fi
25800
25801 wxUSE_UNIVERSAL="yes"
25802
25803 if test "$wxUSE_NANOX" = "yes"; then
25804 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25805 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"
25806 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25807 else
25808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25809 fi
25810
25811 TOOLKIT=X11
25812 GUIDIST=X11_DIST
25813 fi
25814
25815 if test "$wxUSE_MOTIF" = 1; then
25816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25817 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25818
25819 ac_find_includes=
25820 for ac_dir in $SEARCH_INCLUDE /usr/include
25821 do
25822 if test -f "$ac_dir/Xm/Xm.h"; then
25823 ac_find_includes=$ac_dir
25824 break
25825 fi
25826 done
25827
25828 if test "$ac_find_includes" != "" ; then
25829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25830 $as_echo "found in $ac_find_includes" >&6; }
25831
25832 if test "x$ac_find_includes" = "x/usr/include"; then
25833 ac_path_to_include=""
25834 else
25835 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25836 result=$?
25837 if test $result = 0; then
25838 ac_path_to_include=""
25839 else
25840 ac_path_to_include=" -I$ac_find_includes"
25841 fi
25842 fi
25843
25844 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25845 else
25846 save_CFLAGS=$CFLAGS
25847 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25848
25849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25850 /* end confdefs.h. */
25851
25852 #include <Xm/Xm.h>
25853
25854 int
25855 main ()
25856 {
25857
25858 int version;
25859 version = xmUseVersion;
25860
25861 ;
25862 return 0;
25863 }
25864 _ACEOF
25865 if ac_fn_c_try_compile "$LINENO"; then :
25866
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25868 $as_echo "found in default search path" >&6; }
25869 COMPILED_X_PROGRAM=1
25870
25871 else
25872
25873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25874 $as_echo "no" >&6; }
25875 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25876
25877
25878 fi
25879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25880
25881 CFLAGS=$save_CFLAGS
25882 fi
25883
25884
25885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25886 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25887
25888 ac_find_libraries=
25889 for ac_dir in $SEARCH_LIB
25890 do
25891 for ac_extension in a so sl dylib dll.a; do
25892 if test -f "$ac_dir/libXm.$ac_extension"; then
25893 ac_find_libraries=$ac_dir
25894 break 2
25895 fi
25896 done
25897 done
25898
25899
25900 if test "x$ac_find_libraries" != "x" ; then
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25902 $as_echo "found in $ac_find_libraries" >&6; }
25903
25904
25905 if test "$ac_find_libraries" = "default location"; then
25906 ac_path_to_link=""
25907 else
25908 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25909 result=$?
25910 if test $result = 0; then
25911 ac_path_to_link=""
25912 else
25913 ac_path_to_link=" -L$ac_find_libraries"
25914 fi
25915 fi
25916
25917 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25918 else
25919 save_CFLAGS=$CFLAGS
25920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25921 save_LIBS="$LIBS"
25922 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25923
25924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25925 /* end confdefs.h. */
25926
25927 #include <Xm/Xm.h>
25928
25929 int
25930 main ()
25931 {
25932
25933 int version;
25934 version = xmUseVersion;
25935
25936 ;
25937 return 0;
25938 }
25939 _ACEOF
25940 if ac_fn_c_try_link "$LINENO"; then :
25941
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25943 $as_echo "found in default search path" >&6; }
25944 COMPILED_X_PROGRAM=1
25945
25946 else
25947
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25949 $as_echo "no" >&6; }
25950 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25951
25952
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext \
25955 conftest$ac_exeext conftest.$ac_ext
25956
25957 CFLAGS=$save_CFLAGS
25958 LIBS="$save_LIBS"
25959 fi
25960
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25962 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25963 libp_link=""
25964 libsm_ice_link=""
25965 libs_found=0
25966 for libp in "" " -lXp"; do
25967 if test "$libs_found" = 0; then
25968 for libsm_ice in "" " -lSM -lICE"; do
25969 if test "$libs_found" = 0; then
25970 save_LIBS="$LIBS"
25971 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25972 save_CFLAGS=$CFLAGS
25973 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25974
25975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25976 /* end confdefs.h. */
25977
25978 #include <Xm/Xm.h>
25979 #include <Xm/List.h>
25980
25981 int
25982 main ()
25983 {
25984
25985 XmString string = NULL;
25986 Widget w = NULL;
25987 int position = 0;
25988 XmListAddItem(w, string, position);
25989
25990 ;
25991 return 0;
25992 }
25993 _ACEOF
25994 if ac_fn_c_try_link "$LINENO"; then :
25995
25996 libp_link="$libp"
25997 libsm_ice_link="$libsm_ice"
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25999 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26000 libs_found=1
26001
26002 fi
26003 rm -f core conftest.err conftest.$ac_objext \
26004 conftest$ac_exeext conftest.$ac_ext
26005
26006 LIBS="$save_LIBS"
26007 CFLAGS=$save_CFLAGS
26008 fi
26009 done
26010 fi
26011 done
26012
26013 if test "$libs_found" = 0; then
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26015 $as_echo "can't find the right libraries" >&6; }
26016 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
26017 fi
26018
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26020 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26021 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then :
26022 $as_echo_n "(cached) " >&6
26023 else
26024 ac_check_lib_save_LIBS=$LIBS
26025 LIBS="-lSgm $LIBS"
26026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26027 /* end confdefs.h. */
26028
26029 /* Override any GCC internal prototype to avoid an error.
26030 Use char because int might match the return type of a GCC
26031 builtin and then its argument prototype would still apply. */
26032 #ifdef __cplusplus
26033 extern "C"
26034 #endif
26035 char SgCreateList ();
26036 int
26037 main ()
26038 {
26039 return SgCreateList ();
26040 ;
26041 return 0;
26042 }
26043 _ACEOF
26044 if ac_fn_c_try_link "$LINENO"; then :
26045 ac_cv_lib_Sgm_SgCreateList=yes
26046 else
26047 ac_cv_lib_Sgm_SgCreateList=no
26048 fi
26049 rm -f core conftest.err conftest.$ac_objext \
26050 conftest$ac_exeext conftest.$ac_ext
26051 LIBS=$ac_check_lib_save_LIBS
26052 fi
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26054 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26055 if test "x$ac_cv_lib_Sgm_SgCreateList" = x""yes; then :
26056 libsgm_link=" -lSgm"
26057 fi
26058
26059
26060 save_CFLAGS=$CFLAGS
26061 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26062
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26064 $as_echo_n "checking for Motif 2... " >&6; }
26065 if test "${wx_cv_lib_motif2+set}" = set; then :
26066 $as_echo_n "(cached) " >&6
26067 else
26068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26069 /* end confdefs.h. */
26070
26071 #include <Xm/Xm.h>
26072
26073 int
26074 main ()
26075 {
26076
26077 #if XmVersion < 2000
26078 Not Motif 2
26079 #endif
26080
26081 ;
26082 return 0;
26083 }
26084 _ACEOF
26085 if ac_fn_c_try_compile "$LINENO"; then :
26086 wx_cv_lib_motif2="yes"
26087 else
26088 wx_cv_lib_motif2="no"
26089 fi
26090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26091 fi
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26093 $as_echo "$wx_cv_lib_motif2" >&6; }
26094 if test "$wx_cv_lib_motif2" = "yes"; then
26095 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26096
26097 else
26098 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26099
26100 fi
26101
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26103 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26104 if test "${wx_cv_lib_lesstif+set}" = set; then :
26105 $as_echo_n "(cached) " >&6
26106 else
26107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26108 /* end confdefs.h. */
26109
26110 #include <Xm/Xm.h>
26111
26112 int
26113 main ()
26114 {
26115
26116 #if !defined(LesstifVersion) || LesstifVersion <= 0
26117 Not Lesstif
26118 #endif
26119
26120 ;
26121 return 0;
26122 }
26123 _ACEOF
26124 if ac_fn_c_try_compile "$LINENO"; then :
26125 wx_cv_lib_lesstif="yes"
26126 else
26127 wx_cv_lib_lesstif="no"
26128 fi
26129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26130
26131 fi
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26133 $as_echo "$wx_cv_lib_lesstif" >&6; }
26134 if test "$wx_cv_lib_lesstif" = "yes"; then
26135 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26136
26137 else
26138 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26139
26140 fi
26141
26142 CFLAGS=$save_CFLAGS
26143
26144 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26145 TOOLKIT=MOTIF
26146 GUIDIST=MOTIF_DIST
26147 fi
26148
26149 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26150 if test "$wxUSE_LIBXPM" = "sys"; then
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26152 $as_echo_n "checking for Xpm library... " >&6; }
26153
26154 ac_find_libraries=
26155 for ac_dir in $SEARCH_LIB
26156 do
26157 for ac_extension in a so sl dylib dll.a; do
26158 if test -f "$ac_dir/libXpm.$ac_extension"; then
26159 ac_find_libraries=$ac_dir
26160 break 2
26161 fi
26162 done
26163 done
26164
26165 if test "$ac_find_libraries" != "" ; then
26166
26167 if test "$ac_find_libraries" = "default location"; then
26168 ac_path_to_link=""
26169 else
26170 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26171 result=$?
26172 if test $result = 0; then
26173 ac_path_to_link=""
26174 else
26175 ac_path_to_link=" -L$ac_find_libraries"
26176 fi
26177 fi
26178
26179 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26181 $as_echo "found in $ac_find_libraries" >&6; }
26182
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26184 $as_echo_n "checking for X11/xpm.h... " >&6; }
26185 if test "${wx_cv_x11_xpm_h+set}" = set; then :
26186 $as_echo_n "(cached) " >&6
26187 else
26188
26189 save_CFLAGS=$CFLAGS
26190 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26191
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194
26195 #include <X11/xpm.h>
26196
26197 int
26198 main ()
26199 {
26200
26201 int version;
26202 version = XpmLibraryVersion();
26203
26204 ;
26205 return 0;
26206 }
26207 _ACEOF
26208 if ac_fn_c_try_compile "$LINENO"; then :
26209 wx_cv_x11_xpm_h=yes
26210 else
26211 wx_cv_x11_xpm_h=no
26212
26213 fi
26214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215
26216 CFLAGS=$save_CFLAGS
26217
26218
26219 fi
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26221 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26222
26223 if test $wx_cv_x11_xpm_h = "yes"; then
26224 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26225 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26226
26227 else
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26229 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26230 fi
26231 fi
26232
26233 fi
26234
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26236 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26237 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
26238 $as_echo_n "(cached) " >&6
26239 else
26240 ac_check_lib_save_LIBS=$LIBS
26241 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26243 /* end confdefs.h. */
26244
26245 /* Override any GCC internal prototype to avoid an error.
26246 Use char because int might match the return type of a GCC
26247 builtin and then its argument prototype would still apply. */
26248 #ifdef __cplusplus
26249 extern "C"
26250 #endif
26251 char XShapeQueryExtension ();
26252 int
26253 main ()
26254 {
26255 return XShapeQueryExtension ();
26256 ;
26257 return 0;
26258 }
26259 _ACEOF
26260 if ac_fn_c_try_link "$LINENO"; then :
26261 ac_cv_lib_Xext_XShapeQueryExtension=yes
26262 else
26263 ac_cv_lib_Xext_XShapeQueryExtension=no
26264 fi
26265 rm -f core conftest.err conftest.$ac_objext \
26266 conftest$ac_exeext conftest.$ac_ext
26267 LIBS=$ac_check_lib_save_LIBS
26268 fi
26269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26270 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26271 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
26272
26273 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26274 wxHAVE_XEXT_LIB=1
26275
26276 fi
26277
26278
26279 if test "$wxHAVE_XEXT_LIB" = 1; then
26280 save_CFLAGS="$CFLAGS"
26281 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26282
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26284 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26286 /* end confdefs.h. */
26287
26288 #include <X11/Xlib.h>
26289 #include <X11/extensions/shape.h>
26290
26291 int
26292 main ()
26293 {
26294
26295 int dummy1, dummy2;
26296 XShapeQueryExtension((Display*)NULL,
26297 (int*)NULL, (int*)NULL);
26298
26299 ;
26300 return 0;
26301 }
26302 _ACEOF
26303 if ac_fn_c_try_compile "$LINENO"; then :
26304
26305 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26306
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26308 $as_echo "found" >&6; }
26309
26310 else
26311
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26313 $as_echo "not found" >&6; }
26314
26315 fi
26316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26317 CFLAGS="$save_CFLAGS"
26318
26319 fi
26320 fi
26321
26322 if test "$wxUSE_OSX_CARBON" = 1; then
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26324 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26325 if test "$GCC" = yes; then
26326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26327 $as_echo "gcc" >&6; }
26328 CPPFLAGS_PASCAL="-fpascal-strings"
26329 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26331 $as_echo "xlc" >&6; }
26332 CPPFLAGS_PASCAL="-qmacpstr"
26333 else
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26335 $as_echo "none" >&6; }
26336 fi
26337
26338 if test "x$wxUSE_UNIX" = "xyes"; then
26339 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26340 else
26341 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26342 fi
26343
26344 TOOLKIT=OSX_CARBON
26345 GUIDIST=OSX_CARBON_DIST
26346 WXBASEPORT="_carbon"
26347
26348 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26349 fi
26350
26351 if test "$wxUSE_OSX_COCOA" = 1; then
26352 TOOLKIT=OSX_COCOA
26353 GUIDIST=OSX_COCOA_DIST
26354
26355 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26356 fi
26357
26358 if test "$wxUSE_OSX_IPHONE" = 1; then
26359 TOOLKIT=OSX_IPHONE
26360 fi
26361
26362 if test "$wxUSE_OLD_COCOA" = 1; then
26363 TOOLKIT=COCOA
26364 GUIDIST=COCOA_DIST
26365 fi
26366
26367 if test "$wxUSE_PM" = 1; then
26368 TOOLKIT=PM
26369 GUIDIST=PM_DIST
26370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26371 $as_echo_n "checking for type SPBCDATA... " >&6; }
26372 if test "${wx_cv_spbcdata+set}" = set; then :
26373 $as_echo_n "(cached) " >&6
26374 else
26375
26376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h. */
26378
26379 #define INCL_PM
26380 #include <os2.h>
26381
26382 int
26383 main ()
26384 {
26385
26386 SPBCDATA test;
26387
26388 ;
26389 return 0;
26390 }
26391 _ACEOF
26392 if ac_fn_c_try_compile "$LINENO"; then :
26393 wx_cv_spbcdata=yes
26394 else
26395 wx_cv_spbcdata=no
26396
26397 fi
26398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26399
26400
26401 fi
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26403 $as_echo "$wx_cv_spbcdata" >&6; }
26404
26405 if test $wx_cv_spbcdata = "yes"; then
26406 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26407
26408 fi
26409 fi
26410
26411 if test "$TOOLKIT" = "PM" ; then
26412 TOOLKIT_DIR="os2"
26413 else
26414 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26415 fi
26416
26417 if test "$wxUSE_UNIVERSAL" = "yes"; then
26418 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26419 WIDGET_SET=univ
26420 fi
26421
26422 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26423 DISTDIR="wx\$(TOOLKIT)"
26424 else
26425 USE_GUI=0
26426
26427 TOOLKIT_DIR="base"
26428
26429 if test "$USE_WIN32" = 1 ; then
26430 TOOLKIT="MSW"
26431 fi
26432
26433 GUIDIST="BASE_DIST"
26434 DISTDIR="wxBase"
26435 fi
26436
26437
26438
26439 if test "$wxUSE_GUI" = "yes"; then
26440 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26441 for ac_header in X11/Xlib.h
26442 do :
26443 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26444 "
26445 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
26446 cat >>confdefs.h <<_ACEOF
26447 #define HAVE_X11_XLIB_H 1
26448 _ACEOF
26449
26450 fi
26451
26452 done
26453
26454 for ac_header in X11/XKBlib.h
26455 do :
26456 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26457 #if HAVE_X11_XLIB_H
26458 #include <X11/Xlib.h>
26459 #endif
26460
26461 "
26462 if test "x$ac_cv_header_X11_XKBlib_h" = x""yes; then :
26463 cat >>confdefs.h <<_ACEOF
26464 #define HAVE_X11_XKBLIB_H 1
26465 _ACEOF
26466
26467 fi
26468
26469 done
26470
26471 fi
26472 fi
26473
26474
26475
26476 USE_XINERAMA=0
26477 if test "$wxUSE_DISPLAY" = "yes"; then
26478 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26479
26480 ac_find_libraries=
26481
26482 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26483
26484
26485 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26486 if test -n "$ac_tool_prefix"; then
26487 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26488 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26490 $as_echo_n "checking for $ac_word... " >&6; }
26491 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26492 $as_echo_n "(cached) " >&6
26493 else
26494 case $PKG_CONFIG in
26495 [\\/]* | ?:[\\/]*)
26496 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26497 ;;
26498 *)
26499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26500 for as_dir in $PATH
26501 do
26502 IFS=$as_save_IFS
26503 test -z "$as_dir" && as_dir=.
26504 for ac_exec_ext in '' $ac_executable_extensions; do
26505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26506 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26508 break 2
26509 fi
26510 done
26511 done
26512 IFS=$as_save_IFS
26513
26514 ;;
26515 esac
26516 fi
26517 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26518 if test -n "$PKG_CONFIG"; then
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26520 $as_echo "$PKG_CONFIG" >&6; }
26521 else
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26523 $as_echo "no" >&6; }
26524 fi
26525
26526
26527 fi
26528 if test -z "$ac_cv_path_PKG_CONFIG"; then
26529 ac_pt_PKG_CONFIG=$PKG_CONFIG
26530 # Extract the first word of "pkg-config", so it can be a program name with args.
26531 set dummy pkg-config; ac_word=$2
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26533 $as_echo_n "checking for $ac_word... " >&6; }
26534 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26535 $as_echo_n "(cached) " >&6
26536 else
26537 case $ac_pt_PKG_CONFIG in
26538 [\\/]* | ?:[\\/]*)
26539 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26540 ;;
26541 *)
26542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26543 for as_dir in $PATH
26544 do
26545 IFS=$as_save_IFS
26546 test -z "$as_dir" && as_dir=.
26547 for ac_exec_ext in '' $ac_executable_extensions; do
26548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26549 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26551 break 2
26552 fi
26553 done
26554 done
26555 IFS=$as_save_IFS
26556
26557 ;;
26558 esac
26559 fi
26560 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26561 if test -n "$ac_pt_PKG_CONFIG"; then
26562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26563 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26564 else
26565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26566 $as_echo "no" >&6; }
26567 fi
26568
26569 if test "x$ac_pt_PKG_CONFIG" = x; then
26570 PKG_CONFIG=""
26571 else
26572 case $cross_compiling:$ac_tool_warned in
26573 yes:)
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26576 ac_tool_warned=yes ;;
26577 esac
26578 PKG_CONFIG=$ac_pt_PKG_CONFIG
26579 fi
26580 else
26581 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26582 fi
26583
26584 fi
26585 if test -n "$PKG_CONFIG"; then
26586 _pkg_min_version=0.9.0
26587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26588 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26589 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26591 $as_echo "yes" >&6; }
26592 else
26593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26594 $as_echo "no" >&6; }
26595 PKG_CONFIG=""
26596 fi
26597
26598 fi 6> /dev/null
26599
26600 pkg_failed=no
26601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26602 $as_echo_n "checking for Xinerama... " >&6; }
26603
26604 if test -n "$PKG_CONFIG"; then
26605 if test -n "$Xinerama_CFLAGS"; then
26606 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26607 else
26608 if test -n "$PKG_CONFIG" && \
26609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26610 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26611 ac_status=$?
26612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26613 test $ac_status = 0; }; then
26614 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26615 else
26616 pkg_failed=yes
26617 fi
26618 fi
26619 else
26620 pkg_failed=untried
26621 fi
26622 if test -n "$PKG_CONFIG"; then
26623 if test -n "$Xinerama_LIBS"; then
26624 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26625 else
26626 if test -n "$PKG_CONFIG" && \
26627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26628 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26629 ac_status=$?
26630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26631 test $ac_status = 0; }; then
26632 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26633 else
26634 pkg_failed=yes
26635 fi
26636 fi
26637 else
26638 pkg_failed=untried
26639 fi
26640
26641
26642
26643 if test $pkg_failed = yes; then
26644
26645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26646 _pkg_short_errors_supported=yes
26647 else
26648 _pkg_short_errors_supported=no
26649 fi
26650 if test $_pkg_short_errors_supported = yes; then
26651 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26652 else
26653 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26654 fi
26655 # Put the nasty error message in config.log where it belongs
26656 echo "$Xinerama_PKG_ERRORS" >&5
26657
26658
26659 if test "x$ac_find_libraries" = "x"; then
26660 if test "xXineramaQueryScreens" != "x"; then
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26662 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26663 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26664 $as_echo_n "(cached) " >&6
26665 else
26666 ac_check_lib_save_LIBS=$LIBS
26667 LIBS="-lXinerama $LIBS"
26668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26669 /* end confdefs.h. */
26670
26671 /* Override any GCC internal prototype to avoid an error.
26672 Use char because int might match the return type of a GCC
26673 builtin and then its argument prototype would still apply. */
26674 #ifdef __cplusplus
26675 extern "C"
26676 #endif
26677 char XineramaQueryScreens ();
26678 int
26679 main ()
26680 {
26681 return XineramaQueryScreens ();
26682 ;
26683 return 0;
26684 }
26685 _ACEOF
26686 if ac_fn_c_try_link "$LINENO"; then :
26687 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26688 else
26689 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26690 fi
26691 rm -f core conftest.err conftest.$ac_objext \
26692 conftest$ac_exeext conftest.$ac_ext
26693 LIBS=$ac_check_lib_save_LIBS
26694 fi
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26696 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26697 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26698 ac_find_libraries="std"
26699 fi
26700
26701 fi
26702 fi
26703
26704 if test "x$ac_find_libraries" = "x"; then
26705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26706 $as_echo_n "checking elsewhere... " >&6; }
26707
26708 ac_find_libraries=
26709 for ac_dir in $SEARCH_LIB
26710 do
26711 for ac_extension in a so sl dylib dll.a; do
26712 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26713 ac_find_libraries=$ac_dir
26714 break 2
26715 fi
26716 done
26717 done
26718
26719 if test "x$ac_find_libraries" != "x"; then
26720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26721 $as_echo "yes" >&6; }
26722 else
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26724 $as_echo "no" >&6; }
26725 fi
26726 fi
26727
26728 elif test $pkg_failed = untried; then
26729
26730 if test "x$ac_find_libraries" = "x"; then
26731 if test "xXineramaQueryScreens" != "x"; then
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26733 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26734 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26735 $as_echo_n "(cached) " >&6
26736 else
26737 ac_check_lib_save_LIBS=$LIBS
26738 LIBS="-lXinerama $LIBS"
26739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26740 /* end confdefs.h. */
26741
26742 /* Override any GCC internal prototype to avoid an error.
26743 Use char because int might match the return type of a GCC
26744 builtin and then its argument prototype would still apply. */
26745 #ifdef __cplusplus
26746 extern "C"
26747 #endif
26748 char XineramaQueryScreens ();
26749 int
26750 main ()
26751 {
26752 return XineramaQueryScreens ();
26753 ;
26754 return 0;
26755 }
26756 _ACEOF
26757 if ac_fn_c_try_link "$LINENO"; then :
26758 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26759 else
26760 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26761 fi
26762 rm -f core conftest.err conftest.$ac_objext \
26763 conftest$ac_exeext conftest.$ac_ext
26764 LIBS=$ac_check_lib_save_LIBS
26765 fi
26766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26767 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26768 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26769 ac_find_libraries="std"
26770 fi
26771
26772 fi
26773 fi
26774
26775 if test "x$ac_find_libraries" = "x"; then
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26777 $as_echo_n "checking elsewhere... " >&6; }
26778
26779 ac_find_libraries=
26780 for ac_dir in $SEARCH_LIB
26781 do
26782 for ac_extension in a so sl dylib dll.a; do
26783 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26784 ac_find_libraries=$ac_dir
26785 break 2
26786 fi
26787 done
26788 done
26789
26790 if test "x$ac_find_libraries" != "x"; then
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26792 $as_echo "yes" >&6; }
26793 else
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26795 $as_echo "no" >&6; }
26796 fi
26797 fi
26798
26799 else
26800 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26801 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26803 $as_echo "yes" >&6; }
26804
26805 ac_find_libraries="std"
26806
26807 eval ac_find_cflags=\$Xinerama_CFLAGS
26808 eval fl_libs=\$Xinerama_LIBS
26809
26810 for fl_path in $fl_libs
26811 do
26812 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26813 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26814 fi
26815 done
26816
26817 fi
26818
26819 if test "$ac_find_libraries" != "" ; then
26820 if test "$ac_find_libraries" != "std" ; then
26821
26822 if test "$ac_find_libraries" = "default location"; then
26823 ac_path_to_link=""
26824 else
26825 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26826 result=$?
26827 if test $result = 0; then
26828 ac_path_to_link=""
26829 else
26830 ac_path_to_link=" -L$ac_find_libraries"
26831 fi
26832 fi
26833
26834 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26835 LDFLAGS="$LDFLAGS $ac_path_to_link"
26836 fi
26837 fi
26838 USE_XINERAMA=1
26839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26840 else
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26842 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26843 wxUSE_DISPLAY="no"
26844 fi
26845 elif test "$wxUSE_MSW" = 1; then
26846 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26847 "
26848 if test "x$ac_cv_header_ddraw_h" = x""yes; then :
26849
26850 fi
26851
26852
26853 fi
26854 fi
26855
26856 if test "$wxUSE_DISPLAY" = "yes"; then
26857 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26858
26859 ac_find_libraries=
26860
26861 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26862
26863
26864 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26865 if test -n "$ac_tool_prefix"; then
26866 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26867 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26869 $as_echo_n "checking for $ac_word... " >&6; }
26870 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26871 $as_echo_n "(cached) " >&6
26872 else
26873 case $PKG_CONFIG in
26874 [\\/]* | ?:[\\/]*)
26875 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26876 ;;
26877 *)
26878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26879 for as_dir in $PATH
26880 do
26881 IFS=$as_save_IFS
26882 test -z "$as_dir" && as_dir=.
26883 for ac_exec_ext in '' $ac_executable_extensions; do
26884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26885 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26887 break 2
26888 fi
26889 done
26890 done
26891 IFS=$as_save_IFS
26892
26893 ;;
26894 esac
26895 fi
26896 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26897 if test -n "$PKG_CONFIG"; then
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26899 $as_echo "$PKG_CONFIG" >&6; }
26900 else
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26902 $as_echo "no" >&6; }
26903 fi
26904
26905
26906 fi
26907 if test -z "$ac_cv_path_PKG_CONFIG"; then
26908 ac_pt_PKG_CONFIG=$PKG_CONFIG
26909 # Extract the first word of "pkg-config", so it can be a program name with args.
26910 set dummy pkg-config; ac_word=$2
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26912 $as_echo_n "checking for $ac_word... " >&6; }
26913 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26914 $as_echo_n "(cached) " >&6
26915 else
26916 case $ac_pt_PKG_CONFIG in
26917 [\\/]* | ?:[\\/]*)
26918 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26919 ;;
26920 *)
26921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26922 for as_dir in $PATH
26923 do
26924 IFS=$as_save_IFS
26925 test -z "$as_dir" && as_dir=.
26926 for ac_exec_ext in '' $ac_executable_extensions; do
26927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26928 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26930 break 2
26931 fi
26932 done
26933 done
26934 IFS=$as_save_IFS
26935
26936 ;;
26937 esac
26938 fi
26939 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26940 if test -n "$ac_pt_PKG_CONFIG"; then
26941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26942 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26943 else
26944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26945 $as_echo "no" >&6; }
26946 fi
26947
26948 if test "x$ac_pt_PKG_CONFIG" = x; then
26949 PKG_CONFIG=""
26950 else
26951 case $cross_compiling:$ac_tool_warned in
26952 yes:)
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26955 ac_tool_warned=yes ;;
26956 esac
26957 PKG_CONFIG=$ac_pt_PKG_CONFIG
26958 fi
26959 else
26960 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26961 fi
26962
26963 fi
26964 if test -n "$PKG_CONFIG"; then
26965 _pkg_min_version=0.9.0
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26967 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26968 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26970 $as_echo "yes" >&6; }
26971 else
26972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26973 $as_echo "no" >&6; }
26974 PKG_CONFIG=""
26975 fi
26976
26977 fi 6> /dev/null
26978
26979 pkg_failed=no
26980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26981 $as_echo_n "checking for Xxf86vm... " >&6; }
26982
26983 if test -n "$PKG_CONFIG"; then
26984 if test -n "$Xxf86vm_CFLAGS"; then
26985 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26986 else
26987 if test -n "$PKG_CONFIG" && \
26988 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26989 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26990 ac_status=$?
26991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26992 test $ac_status = 0; }; then
26993 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26994 else
26995 pkg_failed=yes
26996 fi
26997 fi
26998 else
26999 pkg_failed=untried
27000 fi
27001 if test -n "$PKG_CONFIG"; then
27002 if test -n "$Xxf86vm_LIBS"; then
27003 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
27004 else
27005 if test -n "$PKG_CONFIG" && \
27006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27007 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27008 ac_status=$?
27009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27010 test $ac_status = 0; }; then
27011 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27012 else
27013 pkg_failed=yes
27014 fi
27015 fi
27016 else
27017 pkg_failed=untried
27018 fi
27019
27020
27021
27022 if test $pkg_failed = yes; then
27023
27024 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27025 _pkg_short_errors_supported=yes
27026 else
27027 _pkg_short_errors_supported=no
27028 fi
27029 if test $_pkg_short_errors_supported = yes; then
27030 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27031 else
27032 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27033 fi
27034 # Put the nasty error message in config.log where it belongs
27035 echo "$Xxf86vm_PKG_ERRORS" >&5
27036
27037
27038 if test "x$ac_find_libraries" = "x"; then
27039 if test "xXF86VidModeQueryExtension" != "x"; then
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27041 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27042 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
27043 $as_echo_n "(cached) " >&6
27044 else
27045 ac_check_lib_save_LIBS=$LIBS
27046 LIBS="-lXxf86vm $LIBS"
27047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27048 /* end confdefs.h. */
27049
27050 /* Override any GCC internal prototype to avoid an error.
27051 Use char because int might match the return type of a GCC
27052 builtin and then its argument prototype would still apply. */
27053 #ifdef __cplusplus
27054 extern "C"
27055 #endif
27056 char XF86VidModeQueryExtension ();
27057 int
27058 main ()
27059 {
27060 return XF86VidModeQueryExtension ();
27061 ;
27062 return 0;
27063 }
27064 _ACEOF
27065 if ac_fn_c_try_link "$LINENO"; then :
27066 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27067 else
27068 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27069 fi
27070 rm -f core conftest.err conftest.$ac_objext \
27071 conftest$ac_exeext conftest.$ac_ext
27072 LIBS=$ac_check_lib_save_LIBS
27073 fi
27074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27075 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27076 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
27077 ac_find_libraries="std"
27078 fi
27079
27080 fi
27081 fi
27082
27083 if test "x$ac_find_libraries" = "x"; then
27084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27085 $as_echo_n "checking elsewhere... " >&6; }
27086
27087 ac_find_libraries=
27088 for ac_dir in $SEARCH_LIB
27089 do
27090 for ac_extension in a so sl dylib dll.a; do
27091 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27092 ac_find_libraries=$ac_dir
27093 break 2
27094 fi
27095 done
27096 done
27097
27098 if test "x$ac_find_libraries" != "x"; then
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27100 $as_echo "yes" >&6; }
27101 else
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27103 $as_echo "no" >&6; }
27104 fi
27105 fi
27106
27107 elif test $pkg_failed = untried; then
27108
27109 if test "x$ac_find_libraries" = "x"; then
27110 if test "xXF86VidModeQueryExtension" != "x"; then
27111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27112 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27113 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
27114 $as_echo_n "(cached) " >&6
27115 else
27116 ac_check_lib_save_LIBS=$LIBS
27117 LIBS="-lXxf86vm $LIBS"
27118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27119 /* end confdefs.h. */
27120
27121 /* Override any GCC internal prototype to avoid an error.
27122 Use char because int might match the return type of a GCC
27123 builtin and then its argument prototype would still apply. */
27124 #ifdef __cplusplus
27125 extern "C"
27126 #endif
27127 char XF86VidModeQueryExtension ();
27128 int
27129 main ()
27130 {
27131 return XF86VidModeQueryExtension ();
27132 ;
27133 return 0;
27134 }
27135 _ACEOF
27136 if ac_fn_c_try_link "$LINENO"; then :
27137 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27138 else
27139 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27140 fi
27141 rm -f core conftest.err conftest.$ac_objext \
27142 conftest$ac_exeext conftest.$ac_ext
27143 LIBS=$ac_check_lib_save_LIBS
27144 fi
27145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27146 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27147 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
27148 ac_find_libraries="std"
27149 fi
27150
27151 fi
27152 fi
27153
27154 if test "x$ac_find_libraries" = "x"; then
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27156 $as_echo_n "checking elsewhere... " >&6; }
27157
27158 ac_find_libraries=
27159 for ac_dir in $SEARCH_LIB
27160 do
27161 for ac_extension in a so sl dylib dll.a; do
27162 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27163 ac_find_libraries=$ac_dir
27164 break 2
27165 fi
27166 done
27167 done
27168
27169 if test "x$ac_find_libraries" != "x"; then
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27171 $as_echo "yes" >&6; }
27172 else
27173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27174 $as_echo "no" >&6; }
27175 fi
27176 fi
27177
27178 else
27179 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27180 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27182 $as_echo "yes" >&6; }
27183
27184 ac_find_libraries="std"
27185
27186 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27187 eval fl_libs=\$Xxf86vm_LIBS
27188
27189 for fl_path in $fl_libs
27190 do
27191 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27192 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27193 fi
27194 done
27195
27196 fi
27197
27198 if test "$ac_find_libraries" != "" ; then
27199 for ac_header in X11/extensions/xf86vmode.h
27200 do :
27201 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27202 #if HAVE_X11_XLIB_H
27203 #include <X11/Xlib.h>
27204 #endif
27205
27206 "
27207 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x""yes; then :
27208 cat >>confdefs.h <<_ACEOF
27209 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27210 _ACEOF
27211
27212 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27213
27214 fi
27215
27216 done
27217
27218 fi
27219 fi
27220 fi
27221
27222 if test "$wxUSE_DETECT_SM" = "yes"; then
27223 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27224
27225 ac_find_libraries=
27226
27227 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27228
27229
27230 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27231 if test -n "$ac_tool_prefix"; then
27232 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27233 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27235 $as_echo_n "checking for $ac_word... " >&6; }
27236 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27237 $as_echo_n "(cached) " >&6
27238 else
27239 case $PKG_CONFIG in
27240 [\\/]* | ?:[\\/]*)
27241 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27242 ;;
27243 *)
27244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27245 for as_dir in $PATH
27246 do
27247 IFS=$as_save_IFS
27248 test -z "$as_dir" && as_dir=.
27249 for ac_exec_ext in '' $ac_executable_extensions; do
27250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27251 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27253 break 2
27254 fi
27255 done
27256 done
27257 IFS=$as_save_IFS
27258
27259 ;;
27260 esac
27261 fi
27262 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27263 if test -n "$PKG_CONFIG"; then
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27265 $as_echo "$PKG_CONFIG" >&6; }
27266 else
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27268 $as_echo "no" >&6; }
27269 fi
27270
27271
27272 fi
27273 if test -z "$ac_cv_path_PKG_CONFIG"; then
27274 ac_pt_PKG_CONFIG=$PKG_CONFIG
27275 # Extract the first word of "pkg-config", so it can be a program name with args.
27276 set dummy pkg-config; ac_word=$2
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27278 $as_echo_n "checking for $ac_word... " >&6; }
27279 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27280 $as_echo_n "(cached) " >&6
27281 else
27282 case $ac_pt_PKG_CONFIG in
27283 [\\/]* | ?:[\\/]*)
27284 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27285 ;;
27286 *)
27287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27288 for as_dir in $PATH
27289 do
27290 IFS=$as_save_IFS
27291 test -z "$as_dir" && as_dir=.
27292 for ac_exec_ext in '' $ac_executable_extensions; do
27293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27294 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27296 break 2
27297 fi
27298 done
27299 done
27300 IFS=$as_save_IFS
27301
27302 ;;
27303 esac
27304 fi
27305 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27306 if test -n "$ac_pt_PKG_CONFIG"; then
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27308 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27309 else
27310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27311 $as_echo "no" >&6; }
27312 fi
27313
27314 if test "x$ac_pt_PKG_CONFIG" = x; then
27315 PKG_CONFIG=""
27316 else
27317 case $cross_compiling:$ac_tool_warned in
27318 yes:)
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27321 ac_tool_warned=yes ;;
27322 esac
27323 PKG_CONFIG=$ac_pt_PKG_CONFIG
27324 fi
27325 else
27326 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27327 fi
27328
27329 fi
27330 if test -n "$PKG_CONFIG"; then
27331 _pkg_min_version=0.9.0
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27333 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27334 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27336 $as_echo "yes" >&6; }
27337 else
27338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27339 $as_echo "no" >&6; }
27340 PKG_CONFIG=""
27341 fi
27342
27343 fi 6> /dev/null
27344
27345 pkg_failed=no
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27347 $as_echo_n "checking for SM... " >&6; }
27348
27349 if test -n "$PKG_CONFIG"; then
27350 if test -n "$SM_CFLAGS"; then
27351 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27352 else
27353 if test -n "$PKG_CONFIG" && \
27354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27355 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27356 ac_status=$?
27357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27358 test $ac_status = 0; }; then
27359 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27360 else
27361 pkg_failed=yes
27362 fi
27363 fi
27364 else
27365 pkg_failed=untried
27366 fi
27367 if test -n "$PKG_CONFIG"; then
27368 if test -n "$SM_LIBS"; then
27369 pkg_cv_SM_LIBS="$SM_LIBS"
27370 else
27371 if test -n "$PKG_CONFIG" && \
27372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27373 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27374 ac_status=$?
27375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27376 test $ac_status = 0; }; then
27377 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27378 else
27379 pkg_failed=yes
27380 fi
27381 fi
27382 else
27383 pkg_failed=untried
27384 fi
27385
27386
27387
27388 if test $pkg_failed = yes; then
27389
27390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27391 _pkg_short_errors_supported=yes
27392 else
27393 _pkg_short_errors_supported=no
27394 fi
27395 if test $_pkg_short_errors_supported = yes; then
27396 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27397 else
27398 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27399 fi
27400 # Put the nasty error message in config.log where it belongs
27401 echo "$SM_PKG_ERRORS" >&5
27402
27403
27404 if test "x$ac_find_libraries" = "x"; then
27405 if test "xSmcOpenConnection" != "x"; then
27406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27407 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27408 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27409 $as_echo_n "(cached) " >&6
27410 else
27411 ac_check_lib_save_LIBS=$LIBS
27412 LIBS="-lSM $LIBS"
27413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27414 /* end confdefs.h. */
27415
27416 /* Override any GCC internal prototype to avoid an error.
27417 Use char because int might match the return type of a GCC
27418 builtin and then its argument prototype would still apply. */
27419 #ifdef __cplusplus
27420 extern "C"
27421 #endif
27422 char SmcOpenConnection ();
27423 int
27424 main ()
27425 {
27426 return SmcOpenConnection ();
27427 ;
27428 return 0;
27429 }
27430 _ACEOF
27431 if ac_fn_c_try_link "$LINENO"; then :
27432 ac_cv_lib_SM_SmcOpenConnection=yes
27433 else
27434 ac_cv_lib_SM_SmcOpenConnection=no
27435 fi
27436 rm -f core conftest.err conftest.$ac_objext \
27437 conftest$ac_exeext conftest.$ac_ext
27438 LIBS=$ac_check_lib_save_LIBS
27439 fi
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27441 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27442 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27443 ac_find_libraries="std"
27444 fi
27445
27446 fi
27447 fi
27448
27449 if test "x$ac_find_libraries" = "x"; then
27450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27451 $as_echo_n "checking elsewhere... " >&6; }
27452
27453 ac_find_libraries=
27454 for ac_dir in $SEARCH_LIB
27455 do
27456 for ac_extension in a so sl dylib dll.a; do
27457 if test -f "$ac_dir/libSM.$ac_extension"; then
27458 ac_find_libraries=$ac_dir
27459 break 2
27460 fi
27461 done
27462 done
27463
27464 if test "x$ac_find_libraries" != "x"; then
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27466 $as_echo "yes" >&6; }
27467 else
27468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27469 $as_echo "no" >&6; }
27470 fi
27471 fi
27472
27473 elif test $pkg_failed = untried; then
27474
27475 if test "x$ac_find_libraries" = "x"; then
27476 if test "xSmcOpenConnection" != "x"; then
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27478 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27479 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27480 $as_echo_n "(cached) " >&6
27481 else
27482 ac_check_lib_save_LIBS=$LIBS
27483 LIBS="-lSM $LIBS"
27484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27485 /* end confdefs.h. */
27486
27487 /* Override any GCC internal prototype to avoid an error.
27488 Use char because int might match the return type of a GCC
27489 builtin and then its argument prototype would still apply. */
27490 #ifdef __cplusplus
27491 extern "C"
27492 #endif
27493 char SmcOpenConnection ();
27494 int
27495 main ()
27496 {
27497 return SmcOpenConnection ();
27498 ;
27499 return 0;
27500 }
27501 _ACEOF
27502 if ac_fn_c_try_link "$LINENO"; then :
27503 ac_cv_lib_SM_SmcOpenConnection=yes
27504 else
27505 ac_cv_lib_SM_SmcOpenConnection=no
27506 fi
27507 rm -f core conftest.err conftest.$ac_objext \
27508 conftest$ac_exeext conftest.$ac_ext
27509 LIBS=$ac_check_lib_save_LIBS
27510 fi
27511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27512 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27513 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27514 ac_find_libraries="std"
27515 fi
27516
27517 fi
27518 fi
27519
27520 if test "x$ac_find_libraries" = "x"; then
27521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27522 $as_echo_n "checking elsewhere... " >&6; }
27523
27524 ac_find_libraries=
27525 for ac_dir in $SEARCH_LIB
27526 do
27527 for ac_extension in a so sl dylib dll.a; do
27528 if test -f "$ac_dir/libSM.$ac_extension"; then
27529 ac_find_libraries=$ac_dir
27530 break 2
27531 fi
27532 done
27533 done
27534
27535 if test "x$ac_find_libraries" != "x"; then
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27537 $as_echo "yes" >&6; }
27538 else
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27540 $as_echo "no" >&6; }
27541 fi
27542 fi
27543
27544 else
27545 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27546 SM_LIBS=$pkg_cv_SM_LIBS
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27548 $as_echo "yes" >&6; }
27549
27550 ac_find_libraries="std"
27551
27552 eval ac_find_cflags=\$SM_CFLAGS
27553 eval fl_libs=\$SM_LIBS
27554
27555 for fl_path in $fl_libs
27556 do
27557 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27558 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27559 fi
27560 done
27561
27562 fi
27563
27564 if test "$ac_find_libraries" != "" ; then
27565 if test "$ac_find_libraries" != "std" ; then
27566
27567 if test "$ac_find_libraries" = "default location"; then
27568 ac_path_to_link=""
27569 else
27570 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27571 result=$?
27572 if test $result = 0; then
27573 ac_path_to_link=""
27574 else
27575 ac_path_to_link=" -L$ac_find_libraries"
27576 fi
27577 fi
27578
27579 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27580 LDFLAGS="$LDFLAGS $ac_path_to_link"
27581 fi
27582 fi
27583 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27584 else
27585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27586 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27587 wxUSE_DETECT_SM="no"
27588 fi
27589 else
27590 wxUSE_DETECT_SM="no"
27591 fi
27592 fi
27593
27594
27595
27596 USE_OPENGL=0
27597 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27598
27599
27600 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27601 OPENGL_LIBS="-framework OpenGL -framework AGL"
27602 elif test "$wxUSE_MSW" = 1; then
27603 OPENGL_LIBS="-lopengl32 -lglu32"
27604 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27605
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27607 $as_echo_n "checking for OpenGL headers... " >&6; }
27608
27609 ac_find_includes=
27610 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27611 do
27612 if test -f "$ac_dir/GL/gl.h"; then
27613 ac_find_includes=$ac_dir
27614 break
27615 fi
27616 done
27617
27618 if test "$ac_find_includes" != "" ; then
27619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27620 $as_echo "found in $ac_find_includes" >&6; }
27621
27622 if test "x$ac_find_includes" = "x/usr/include"; then
27623 ac_path_to_include=""
27624 else
27625 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27626 result=$?
27627 if test $result = 0; then
27628 ac_path_to_include=""
27629 else
27630 ac_path_to_include=" -I$ac_find_includes"
27631 fi
27632 fi
27633
27634 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27635 else
27636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27637 $as_echo "not found" >&6; }
27638 fi
27639
27640 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27641 "
27642 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
27643
27644 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27645 "
27646 if test "x$ac_cv_header_GL_glu_h" = x""yes; then :
27647
27648 found_gl=0
27649
27650
27651 ac_find_libraries=
27652
27653 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27654
27655
27656 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27657 if test -n "$ac_tool_prefix"; then
27658 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27659 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27661 $as_echo_n "checking for $ac_word... " >&6; }
27662 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27663 $as_echo_n "(cached) " >&6
27664 else
27665 case $PKG_CONFIG in
27666 [\\/]* | ?:[\\/]*)
27667 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27668 ;;
27669 *)
27670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27671 for as_dir in $PATH
27672 do
27673 IFS=$as_save_IFS
27674 test -z "$as_dir" && as_dir=.
27675 for ac_exec_ext in '' $ac_executable_extensions; do
27676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27677 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27678 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27679 break 2
27680 fi
27681 done
27682 done
27683 IFS=$as_save_IFS
27684
27685 ;;
27686 esac
27687 fi
27688 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27689 if test -n "$PKG_CONFIG"; then
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27691 $as_echo "$PKG_CONFIG" >&6; }
27692 else
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27694 $as_echo "no" >&6; }
27695 fi
27696
27697
27698 fi
27699 if test -z "$ac_cv_path_PKG_CONFIG"; then
27700 ac_pt_PKG_CONFIG=$PKG_CONFIG
27701 # Extract the first word of "pkg-config", so it can be a program name with args.
27702 set dummy pkg-config; ac_word=$2
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27704 $as_echo_n "checking for $ac_word... " >&6; }
27705 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27706 $as_echo_n "(cached) " >&6
27707 else
27708 case $ac_pt_PKG_CONFIG in
27709 [\\/]* | ?:[\\/]*)
27710 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27711 ;;
27712 *)
27713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27714 for as_dir in $PATH
27715 do
27716 IFS=$as_save_IFS
27717 test -z "$as_dir" && as_dir=.
27718 for ac_exec_ext in '' $ac_executable_extensions; do
27719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27720 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27722 break 2
27723 fi
27724 done
27725 done
27726 IFS=$as_save_IFS
27727
27728 ;;
27729 esac
27730 fi
27731 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27732 if test -n "$ac_pt_PKG_CONFIG"; then
27733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27734 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27735 else
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27737 $as_echo "no" >&6; }
27738 fi
27739
27740 if test "x$ac_pt_PKG_CONFIG" = x; then
27741 PKG_CONFIG=""
27742 else
27743 case $cross_compiling:$ac_tool_warned in
27744 yes:)
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27747 ac_tool_warned=yes ;;
27748 esac
27749 PKG_CONFIG=$ac_pt_PKG_CONFIG
27750 fi
27751 else
27752 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27753 fi
27754
27755 fi
27756 if test -n "$PKG_CONFIG"; then
27757 _pkg_min_version=0.9.0
27758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27759 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27760 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27762 $as_echo "yes" >&6; }
27763 else
27764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27765 $as_echo "no" >&6; }
27766 PKG_CONFIG=""
27767 fi
27768
27769 fi 6> /dev/null
27770
27771 pkg_failed=no
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27773 $as_echo_n "checking for GL... " >&6; }
27774
27775 if test -n "$PKG_CONFIG"; then
27776 if test -n "$GL_CFLAGS"; then
27777 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27778 else
27779 if test -n "$PKG_CONFIG" && \
27780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27781 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27782 ac_status=$?
27783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27784 test $ac_status = 0; }; then
27785 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27786 else
27787 pkg_failed=yes
27788 fi
27789 fi
27790 else
27791 pkg_failed=untried
27792 fi
27793 if test -n "$PKG_CONFIG"; then
27794 if test -n "$GL_LIBS"; then
27795 pkg_cv_GL_LIBS="$GL_LIBS"
27796 else
27797 if test -n "$PKG_CONFIG" && \
27798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27799 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27800 ac_status=$?
27801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27802 test $ac_status = 0; }; then
27803 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27804 else
27805 pkg_failed=yes
27806 fi
27807 fi
27808 else
27809 pkg_failed=untried
27810 fi
27811
27812
27813
27814 if test $pkg_failed = yes; then
27815
27816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27817 _pkg_short_errors_supported=yes
27818 else
27819 _pkg_short_errors_supported=no
27820 fi
27821 if test $_pkg_short_errors_supported = yes; then
27822 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27823 else
27824 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27825 fi
27826 # Put the nasty error message in config.log where it belongs
27827 echo "$GL_PKG_ERRORS" >&5
27828
27829
27830 if test "x$ac_find_libraries" = "x"; then
27831 if test "xglBegin" != "x"; then
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27833 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27834 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27835 $as_echo_n "(cached) " >&6
27836 else
27837 ac_check_lib_save_LIBS=$LIBS
27838 LIBS="-lGL $LIBS"
27839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27840 /* end confdefs.h. */
27841
27842 /* Override any GCC internal prototype to avoid an error.
27843 Use char because int might match the return type of a GCC
27844 builtin and then its argument prototype would still apply. */
27845 #ifdef __cplusplus
27846 extern "C"
27847 #endif
27848 char glBegin ();
27849 int
27850 main ()
27851 {
27852 return glBegin ();
27853 ;
27854 return 0;
27855 }
27856 _ACEOF
27857 if ac_fn_c_try_link "$LINENO"; then :
27858 ac_cv_lib_GL_glBegin=yes
27859 else
27860 ac_cv_lib_GL_glBegin=no
27861 fi
27862 rm -f core conftest.err conftest.$ac_objext \
27863 conftest$ac_exeext conftest.$ac_ext
27864 LIBS=$ac_check_lib_save_LIBS
27865 fi
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27867 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27868 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27869 ac_find_libraries="std"
27870 fi
27871
27872 fi
27873 fi
27874
27875 if test "x$ac_find_libraries" = "x"; then
27876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27877 $as_echo_n "checking elsewhere... " >&6; }
27878
27879 ac_find_libraries=
27880 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27881 do
27882 for ac_extension in a so sl dylib dll.a; do
27883 if test -f "$ac_dir/libGL.$ac_extension"; then
27884 ac_find_libraries=$ac_dir
27885 break 2
27886 fi
27887 done
27888 done
27889
27890 if test "x$ac_find_libraries" != "x"; then
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27892 $as_echo "yes" >&6; }
27893 else
27894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27895 $as_echo "no" >&6; }
27896 fi
27897 fi
27898
27899 elif test $pkg_failed = untried; then
27900
27901 if test "x$ac_find_libraries" = "x"; then
27902 if test "xglBegin" != "x"; then
27903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27904 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27905 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27906 $as_echo_n "(cached) " >&6
27907 else
27908 ac_check_lib_save_LIBS=$LIBS
27909 LIBS="-lGL $LIBS"
27910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27911 /* end confdefs.h. */
27912
27913 /* Override any GCC internal prototype to avoid an error.
27914 Use char because int might match the return type of a GCC
27915 builtin and then its argument prototype would still apply. */
27916 #ifdef __cplusplus
27917 extern "C"
27918 #endif
27919 char glBegin ();
27920 int
27921 main ()
27922 {
27923 return glBegin ();
27924 ;
27925 return 0;
27926 }
27927 _ACEOF
27928 if ac_fn_c_try_link "$LINENO"; then :
27929 ac_cv_lib_GL_glBegin=yes
27930 else
27931 ac_cv_lib_GL_glBegin=no
27932 fi
27933 rm -f core conftest.err conftest.$ac_objext \
27934 conftest$ac_exeext conftest.$ac_ext
27935 LIBS=$ac_check_lib_save_LIBS
27936 fi
27937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27938 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27939 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27940 ac_find_libraries="std"
27941 fi
27942
27943 fi
27944 fi
27945
27946 if test "x$ac_find_libraries" = "x"; then
27947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27948 $as_echo_n "checking elsewhere... " >&6; }
27949
27950 ac_find_libraries=
27951 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27952 do
27953 for ac_extension in a so sl dylib dll.a; do
27954 if test -f "$ac_dir/libGL.$ac_extension"; then
27955 ac_find_libraries=$ac_dir
27956 break 2
27957 fi
27958 done
27959 done
27960
27961 if test "x$ac_find_libraries" != "x"; then
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27963 $as_echo "yes" >&6; }
27964 else
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27966 $as_echo "no" >&6; }
27967 fi
27968 fi
27969
27970 else
27971 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27972 GL_LIBS=$pkg_cv_GL_LIBS
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27974 $as_echo "yes" >&6; }
27975
27976 ac_find_libraries="std"
27977
27978 eval ac_find_cflags=\$GL_CFLAGS
27979 eval fl_libs=\$GL_LIBS
27980
27981 for fl_path in $fl_libs
27982 do
27983 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27984 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27985 fi
27986 done
27987
27988 fi
27989
27990 if test "$ac_find_libraries" != "" ; then
27991 if test "$ac_find_libraries" != "std" ; then
27992
27993 if test "$ac_find_libraries" = "default location"; then
27994 ac_path_to_link=""
27995 else
27996 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27997 result=$?
27998 if test $result = 0; then
27999 ac_path_to_link=""
28000 else
28001 ac_path_to_link=" -L$ac_find_libraries"
28002 fi
28003 fi
28004
28005 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28006 LDFLAGS_GL="$ac_path_to_link"
28007 fi
28008 fi
28009
28010
28011 ac_find_libraries=
28012
28013 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
28014
28015
28016 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28017 if test -n "$ac_tool_prefix"; then
28018 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28019 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28021 $as_echo_n "checking for $ac_word... " >&6; }
28022 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28023 $as_echo_n "(cached) " >&6
28024 else
28025 case $PKG_CONFIG in
28026 [\\/]* | ?:[\\/]*)
28027 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28028 ;;
28029 *)
28030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28031 for as_dir in $PATH
28032 do
28033 IFS=$as_save_IFS
28034 test -z "$as_dir" && as_dir=.
28035 for ac_exec_ext in '' $ac_executable_extensions; do
28036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28037 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28039 break 2
28040 fi
28041 done
28042 done
28043 IFS=$as_save_IFS
28044
28045 ;;
28046 esac
28047 fi
28048 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28049 if test -n "$PKG_CONFIG"; then
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28051 $as_echo "$PKG_CONFIG" >&6; }
28052 else
28053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28054 $as_echo "no" >&6; }
28055 fi
28056
28057
28058 fi
28059 if test -z "$ac_cv_path_PKG_CONFIG"; then
28060 ac_pt_PKG_CONFIG=$PKG_CONFIG
28061 # Extract the first word of "pkg-config", so it can be a program name with args.
28062 set dummy pkg-config; ac_word=$2
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28064 $as_echo_n "checking for $ac_word... " >&6; }
28065 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28066 $as_echo_n "(cached) " >&6
28067 else
28068 case $ac_pt_PKG_CONFIG in
28069 [\\/]* | ?:[\\/]*)
28070 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28071 ;;
28072 *)
28073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28074 for as_dir in $PATH
28075 do
28076 IFS=$as_save_IFS
28077 test -z "$as_dir" && as_dir=.
28078 for ac_exec_ext in '' $ac_executable_extensions; do
28079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28080 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28082 break 2
28083 fi
28084 done
28085 done
28086 IFS=$as_save_IFS
28087
28088 ;;
28089 esac
28090 fi
28091 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28092 if test -n "$ac_pt_PKG_CONFIG"; then
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28094 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28095 else
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28097 $as_echo "no" >&6; }
28098 fi
28099
28100 if test "x$ac_pt_PKG_CONFIG" = x; then
28101 PKG_CONFIG=""
28102 else
28103 case $cross_compiling:$ac_tool_warned in
28104 yes:)
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28107 ac_tool_warned=yes ;;
28108 esac
28109 PKG_CONFIG=$ac_pt_PKG_CONFIG
28110 fi
28111 else
28112 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28113 fi
28114
28115 fi
28116 if test -n "$PKG_CONFIG"; then
28117 _pkg_min_version=0.9.0
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28119 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28120 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28122 $as_echo "yes" >&6; }
28123 else
28124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28125 $as_echo "no" >&6; }
28126 PKG_CONFIG=""
28127 fi
28128
28129 fi 6> /dev/null
28130
28131 pkg_failed=no
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28133 $as_echo_n "checking for GLU... " >&6; }
28134
28135 if test -n "$PKG_CONFIG"; then
28136 if test -n "$GLU_CFLAGS"; then
28137 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28138 else
28139 if test -n "$PKG_CONFIG" && \
28140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28141 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28142 ac_status=$?
28143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28144 test $ac_status = 0; }; then
28145 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28146 else
28147 pkg_failed=yes
28148 fi
28149 fi
28150 else
28151 pkg_failed=untried
28152 fi
28153 if test -n "$PKG_CONFIG"; then
28154 if test -n "$GLU_LIBS"; then
28155 pkg_cv_GLU_LIBS="$GLU_LIBS"
28156 else
28157 if test -n "$PKG_CONFIG" && \
28158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28159 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28160 ac_status=$?
28161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28162 test $ac_status = 0; }; then
28163 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28164 else
28165 pkg_failed=yes
28166 fi
28167 fi
28168 else
28169 pkg_failed=untried
28170 fi
28171
28172
28173
28174 if test $pkg_failed = yes; then
28175
28176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28177 _pkg_short_errors_supported=yes
28178 else
28179 _pkg_short_errors_supported=no
28180 fi
28181 if test $_pkg_short_errors_supported = yes; then
28182 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28183 else
28184 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28185 fi
28186 # Put the nasty error message in config.log where it belongs
28187 echo "$GLU_PKG_ERRORS" >&5
28188
28189
28190 if test "x$ac_find_libraries" = "x"; then
28191 if test "xgluBeginCurve" != "x"; then
28192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28193 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28194 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28195 $as_echo_n "(cached) " >&6
28196 else
28197 ac_check_lib_save_LIBS=$LIBS
28198 LIBS="-lGLU $LIBS"
28199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28200 /* end confdefs.h. */
28201
28202 /* Override any GCC internal prototype to avoid an error.
28203 Use char because int might match the return type of a GCC
28204 builtin and then its argument prototype would still apply. */
28205 #ifdef __cplusplus
28206 extern "C"
28207 #endif
28208 char gluBeginCurve ();
28209 int
28210 main ()
28211 {
28212 return gluBeginCurve ();
28213 ;
28214 return 0;
28215 }
28216 _ACEOF
28217 if ac_fn_c_try_link "$LINENO"; then :
28218 ac_cv_lib_GLU_gluBeginCurve=yes
28219 else
28220 ac_cv_lib_GLU_gluBeginCurve=no
28221 fi
28222 rm -f core conftest.err conftest.$ac_objext \
28223 conftest$ac_exeext conftest.$ac_ext
28224 LIBS=$ac_check_lib_save_LIBS
28225 fi
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28227 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28228 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28229 ac_find_libraries="std"
28230 fi
28231
28232 fi
28233 fi
28234
28235 if test "x$ac_find_libraries" = "x"; then
28236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28237 $as_echo_n "checking elsewhere... " >&6; }
28238
28239 ac_find_libraries=
28240 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28241 do
28242 for ac_extension in a so sl dylib dll.a; do
28243 if test -f "$ac_dir/libGLU.$ac_extension"; then
28244 ac_find_libraries=$ac_dir
28245 break 2
28246 fi
28247 done
28248 done
28249
28250 if test "x$ac_find_libraries" != "x"; then
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28252 $as_echo "yes" >&6; }
28253 else
28254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28255 $as_echo "no" >&6; }
28256 fi
28257 fi
28258
28259 elif test $pkg_failed = untried; then
28260
28261 if test "x$ac_find_libraries" = "x"; then
28262 if test "xgluBeginCurve" != "x"; then
28263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28264 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28265 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28266 $as_echo_n "(cached) " >&6
28267 else
28268 ac_check_lib_save_LIBS=$LIBS
28269 LIBS="-lGLU $LIBS"
28270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28271 /* end confdefs.h. */
28272
28273 /* Override any GCC internal prototype to avoid an error.
28274 Use char because int might match the return type of a GCC
28275 builtin and then its argument prototype would still apply. */
28276 #ifdef __cplusplus
28277 extern "C"
28278 #endif
28279 char gluBeginCurve ();
28280 int
28281 main ()
28282 {
28283 return gluBeginCurve ();
28284 ;
28285 return 0;
28286 }
28287 _ACEOF
28288 if ac_fn_c_try_link "$LINENO"; then :
28289 ac_cv_lib_GLU_gluBeginCurve=yes
28290 else
28291 ac_cv_lib_GLU_gluBeginCurve=no
28292 fi
28293 rm -f core conftest.err conftest.$ac_objext \
28294 conftest$ac_exeext conftest.$ac_ext
28295 LIBS=$ac_check_lib_save_LIBS
28296 fi
28297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28298 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28299 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28300 ac_find_libraries="std"
28301 fi
28302
28303 fi
28304 fi
28305
28306 if test "x$ac_find_libraries" = "x"; then
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28308 $as_echo_n "checking elsewhere... " >&6; }
28309
28310 ac_find_libraries=
28311 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28312 do
28313 for ac_extension in a so sl dylib dll.a; do
28314 if test -f "$ac_dir/libGLU.$ac_extension"; then
28315 ac_find_libraries=$ac_dir
28316 break 2
28317 fi
28318 done
28319 done
28320
28321 if test "x$ac_find_libraries" != "x"; then
28322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28323 $as_echo "yes" >&6; }
28324 else
28325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28326 $as_echo "no" >&6; }
28327 fi
28328 fi
28329
28330 else
28331 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28332 GLU_LIBS=$pkg_cv_GLU_LIBS
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28334 $as_echo "yes" >&6; }
28335
28336 ac_find_libraries="std"
28337
28338 eval ac_find_cflags=\$GLU_CFLAGS
28339 eval fl_libs=\$GLU_LIBS
28340
28341 for fl_path in $fl_libs
28342 do
28343 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28344 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28345 fi
28346 done
28347
28348 fi
28349
28350 if test "$ac_find_libraries" != "" ; then
28351 if test "$ac_find_libraries" != "std" ; then
28352
28353 if test "$ac_find_libraries" = "default location"; then
28354 ac_path_to_link=""
28355 else
28356 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28357 result=$?
28358 if test $result = 0; then
28359 ac_path_to_link=""
28360 else
28361 ac_path_to_link=" -L$ac_find_libraries"
28362 fi
28363 fi
28364
28365 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28366 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28367 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28368 fi
28369 fi
28370
28371 found_gl=1
28372 OPENGL_LIBS="-lGL -lGLU"
28373 fi
28374 fi
28375
28376 if test "$found_gl" != 1; then
28377
28378 ac_find_libraries=
28379
28380 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28381
28382
28383 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28384 if test -n "$ac_tool_prefix"; then
28385 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28386 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28388 $as_echo_n "checking for $ac_word... " >&6; }
28389 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28390 $as_echo_n "(cached) " >&6
28391 else
28392 case $PKG_CONFIG in
28393 [\\/]* | ?:[\\/]*)
28394 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28395 ;;
28396 *)
28397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28398 for as_dir in $PATH
28399 do
28400 IFS=$as_save_IFS
28401 test -z "$as_dir" && as_dir=.
28402 for ac_exec_ext in '' $ac_executable_extensions; do
28403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28404 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28406 break 2
28407 fi
28408 done
28409 done
28410 IFS=$as_save_IFS
28411
28412 ;;
28413 esac
28414 fi
28415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28416 if test -n "$PKG_CONFIG"; then
28417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28418 $as_echo "$PKG_CONFIG" >&6; }
28419 else
28420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28421 $as_echo "no" >&6; }
28422 fi
28423
28424
28425 fi
28426 if test -z "$ac_cv_path_PKG_CONFIG"; then
28427 ac_pt_PKG_CONFIG=$PKG_CONFIG
28428 # Extract the first word of "pkg-config", so it can be a program name with args.
28429 set dummy pkg-config; ac_word=$2
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28431 $as_echo_n "checking for $ac_word... " >&6; }
28432 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28433 $as_echo_n "(cached) " >&6
28434 else
28435 case $ac_pt_PKG_CONFIG in
28436 [\\/]* | ?:[\\/]*)
28437 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28438 ;;
28439 *)
28440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28441 for as_dir in $PATH
28442 do
28443 IFS=$as_save_IFS
28444 test -z "$as_dir" && as_dir=.
28445 for ac_exec_ext in '' $ac_executable_extensions; do
28446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28447 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28449 break 2
28450 fi
28451 done
28452 done
28453 IFS=$as_save_IFS
28454
28455 ;;
28456 esac
28457 fi
28458 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28459 if test -n "$ac_pt_PKG_CONFIG"; then
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28461 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28462 else
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28464 $as_echo "no" >&6; }
28465 fi
28466
28467 if test "x$ac_pt_PKG_CONFIG" = x; then
28468 PKG_CONFIG=""
28469 else
28470 case $cross_compiling:$ac_tool_warned in
28471 yes:)
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28474 ac_tool_warned=yes ;;
28475 esac
28476 PKG_CONFIG=$ac_pt_PKG_CONFIG
28477 fi
28478 else
28479 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28480 fi
28481
28482 fi
28483 if test -n "$PKG_CONFIG"; then
28484 _pkg_min_version=0.9.0
28485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28486 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28487 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28489 $as_echo "yes" >&6; }
28490 else
28491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28492 $as_echo "no" >&6; }
28493 PKG_CONFIG=""
28494 fi
28495
28496 fi 6> /dev/null
28497
28498 pkg_failed=no
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28500 $as_echo_n "checking for MesaGL... " >&6; }
28501
28502 if test -n "$PKG_CONFIG"; then
28503 if test -n "$MesaGL_CFLAGS"; then
28504 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28505 else
28506 if test -n "$PKG_CONFIG" && \
28507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28508 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28509 ac_status=$?
28510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28511 test $ac_status = 0; }; then
28512 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28513 else
28514 pkg_failed=yes
28515 fi
28516 fi
28517 else
28518 pkg_failed=untried
28519 fi
28520 if test -n "$PKG_CONFIG"; then
28521 if test -n "$MesaGL_LIBS"; then
28522 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28523 else
28524 if test -n "$PKG_CONFIG" && \
28525 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28526 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28527 ac_status=$?
28528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28529 test $ac_status = 0; }; then
28530 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28531 else
28532 pkg_failed=yes
28533 fi
28534 fi
28535 else
28536 pkg_failed=untried
28537 fi
28538
28539
28540
28541 if test $pkg_failed = yes; then
28542
28543 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28544 _pkg_short_errors_supported=yes
28545 else
28546 _pkg_short_errors_supported=no
28547 fi
28548 if test $_pkg_short_errors_supported = yes; then
28549 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28550 else
28551 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28552 fi
28553 # Put the nasty error message in config.log where it belongs
28554 echo "$MesaGL_PKG_ERRORS" >&5
28555
28556
28557 if test "x$ac_find_libraries" = "x"; then
28558 if test "xglEnable" != "x"; then
28559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28560 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28561 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28562 $as_echo_n "(cached) " >&6
28563 else
28564 ac_check_lib_save_LIBS=$LIBS
28565 LIBS="-lMesaGL $LIBS"
28566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28567 /* end confdefs.h. */
28568
28569 /* Override any GCC internal prototype to avoid an error.
28570 Use char because int might match the return type of a GCC
28571 builtin and then its argument prototype would still apply. */
28572 #ifdef __cplusplus
28573 extern "C"
28574 #endif
28575 char glEnable ();
28576 int
28577 main ()
28578 {
28579 return glEnable ();
28580 ;
28581 return 0;
28582 }
28583 _ACEOF
28584 if ac_fn_c_try_link "$LINENO"; then :
28585 ac_cv_lib_MesaGL_glEnable=yes
28586 else
28587 ac_cv_lib_MesaGL_glEnable=no
28588 fi
28589 rm -f core conftest.err conftest.$ac_objext \
28590 conftest$ac_exeext conftest.$ac_ext
28591 LIBS=$ac_check_lib_save_LIBS
28592 fi
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28594 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28595 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28596 ac_find_libraries="std"
28597 fi
28598
28599 fi
28600 fi
28601
28602 if test "x$ac_find_libraries" = "x"; then
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28604 $as_echo_n "checking elsewhere... " >&6; }
28605
28606 ac_find_libraries=
28607 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28608 do
28609 for ac_extension in a so sl dylib dll.a; do
28610 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28611 ac_find_libraries=$ac_dir
28612 break 2
28613 fi
28614 done
28615 done
28616
28617 if test "x$ac_find_libraries" != "x"; then
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28619 $as_echo "yes" >&6; }
28620 else
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28622 $as_echo "no" >&6; }
28623 fi
28624 fi
28625
28626 elif test $pkg_failed = untried; then
28627
28628 if test "x$ac_find_libraries" = "x"; then
28629 if test "xglEnable" != "x"; then
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28631 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28632 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28633 $as_echo_n "(cached) " >&6
28634 else
28635 ac_check_lib_save_LIBS=$LIBS
28636 LIBS="-lMesaGL $LIBS"
28637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28638 /* end confdefs.h. */
28639
28640 /* Override any GCC internal prototype to avoid an error.
28641 Use char because int might match the return type of a GCC
28642 builtin and then its argument prototype would still apply. */
28643 #ifdef __cplusplus
28644 extern "C"
28645 #endif
28646 char glEnable ();
28647 int
28648 main ()
28649 {
28650 return glEnable ();
28651 ;
28652 return 0;
28653 }
28654 _ACEOF
28655 if ac_fn_c_try_link "$LINENO"; then :
28656 ac_cv_lib_MesaGL_glEnable=yes
28657 else
28658 ac_cv_lib_MesaGL_glEnable=no
28659 fi
28660 rm -f core conftest.err conftest.$ac_objext \
28661 conftest$ac_exeext conftest.$ac_ext
28662 LIBS=$ac_check_lib_save_LIBS
28663 fi
28664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28665 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28666 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28667 ac_find_libraries="std"
28668 fi
28669
28670 fi
28671 fi
28672
28673 if test "x$ac_find_libraries" = "x"; then
28674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28675 $as_echo_n "checking elsewhere... " >&6; }
28676
28677 ac_find_libraries=
28678 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28679 do
28680 for ac_extension in a so sl dylib dll.a; do
28681 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28682 ac_find_libraries=$ac_dir
28683 break 2
28684 fi
28685 done
28686 done
28687
28688 if test "x$ac_find_libraries" != "x"; then
28689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28690 $as_echo "yes" >&6; }
28691 else
28692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28693 $as_echo "no" >&6; }
28694 fi
28695 fi
28696
28697 else
28698 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28699 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28701 $as_echo "yes" >&6; }
28702
28703 ac_find_libraries="std"
28704
28705 eval ac_find_cflags=\$MesaGL_CFLAGS
28706 eval fl_libs=\$MesaGL_LIBS
28707
28708 for fl_path in $fl_libs
28709 do
28710 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28711 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28712 fi
28713 done
28714
28715 fi
28716
28717 if test "$ac_find_libraries" != "" ; then
28718 if test "$ac_find_libraries" != "std" ; then
28719
28720 if test "$ac_find_libraries" = "default location"; then
28721 ac_path_to_link=""
28722 else
28723 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28724 result=$?
28725 if test $result = 0; then
28726 ac_path_to_link=""
28727 else
28728 ac_path_to_link=" -L$ac_find_libraries"
28729 fi
28730 fi
28731
28732 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28733 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28734 fi
28735 fi
28736 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28737 fi
28738 fi
28739
28740 fi
28741
28742
28743
28744 fi
28745
28746
28747
28748 if test "x$OPENGL_LIBS" = "x"; then
28749 if test "$wxUSE_OPENGL" = "yes"; then
28750 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28751 else
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28753 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28754 wxUSE_OPENGL=no
28755 USE_OPENGL=0
28756 fi
28757 fi
28758 else
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28760 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28761 wxUSE_OPENGL="no"
28762 fi
28763
28764 if test "$wxUSE_OPENGL" = "auto"; then
28765 wxUSE_OPENGL=yes
28766 fi
28767
28768 if test "$wxUSE_OPENGL" = "yes"; then
28769 USE_OPENGL=1
28770 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28771
28772 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28773
28774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28775 fi
28776 fi
28777
28778
28779 if test -n "$TOOLKIT" ; then
28780 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28781 fi
28782
28783
28784
28785 if test "$wxUSE_SHARED" = "yes"; then
28786 case "${host}" in
28787 *-pc-msdosdjgpp )
28788 wxUSE_SHARED=no
28789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28790 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28791 ;;
28792 esac
28793 fi
28794
28795 if test "$wxUSE_SHARED" = "yes"; then
28796
28797
28798 case "${host}" in
28799 *-*-cygwin* | *-*-mingw* )
28800 wx_cv_version_script=no
28801 ;;
28802
28803 *)
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28805 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28806 if test "${wx_cv_version_script+set}" = set; then :
28807 $as_echo_n "(cached) " >&6
28808 else
28809
28810 echo "VER_1 { *; };" >conftest.sym
28811 echo "int main() { return 0; }" >conftest.cpp
28812
28813 if { ac_try='
28814 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28815 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28816 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28817 (eval $ac_try) 2>&5
28818 ac_status=$?
28819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28820 test $ac_status = 0; }; } ; then
28821 if test -s conftest.stderr ; then
28822 wx_cv_version_script=no
28823 else
28824 wx_cv_version_script=yes
28825 fi
28826 else
28827 wx_cv_version_script=no
28828 fi
28829
28830 if test $wx_cv_version_script = yes
28831 then
28832 echo "struct B { virtual ~B() { } }; \
28833 struct D : public B { }; \
28834 void F() { D d; }" > conftest.cpp
28835
28836 if { ac_try='
28837 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28838 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28839 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28840 (eval $ac_try) 2>&5
28841 ac_status=$?
28842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28843 test $ac_status = 0; }; } &&
28844 { ac_try='
28845 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28846 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28847 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28848 (eval $ac_try) 2>&5
28849 ac_status=$?
28850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28851 test $ac_status = 0; }; }
28852 then
28853 if { ac_try='
28854 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28855 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28856 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28860 test $ac_status = 0; }; }
28861 then
28862 wx_cv_version_script=yes
28863 else
28864 wx_cv_version_script=no
28865 fi
28866 fi
28867 fi
28868
28869 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28870 rm -f conftest1.output conftest2.output conftest3.output
28871
28872 fi
28873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28874 $as_echo "$wx_cv_version_script" >&6; }
28875
28876 if test $wx_cv_version_script = yes ; then
28877 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28878 fi
28879 ;;
28880 esac
28881
28882
28883 if test "$wxUSE_VISIBILITY" != "no"; then
28884
28885
28886 if test -n "$GCC"; then
28887 CFLAGS_VISIBILITY="-fvisibility=hidden"
28888 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28890 $as_echo_n "checking for symbols visibility support... " >&6; }
28891 if test "${wx_cv_cc_visibility+set}" = set; then :
28892 $as_echo_n "(cached) " >&6
28893 else
28894
28895 wx_save_CXXFLAGS="$CXXFLAGS"
28896 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28897 ac_ext=cpp
28898 ac_cpp='$CXXCPP $CPPFLAGS'
28899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28902
28903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28904 /* end confdefs.h. */
28905
28906 /* we need gcc >= 4.0, older versions with visibility support
28907 didn't have class visibility: */
28908 #if defined(__GNUC__) && __GNUC__ < 4
28909 error this gcc is too old;
28910 #endif
28911
28912 /* visibility only makes sense for ELF shared libs: */
28913 #if !defined(__ELF__) && !defined(__APPLE__)
28914 error this platform has no visibility;
28915 #endif
28916
28917 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28918 #if defined(__clang__)
28919 clang compiler is still broken w.r.t. visibility;
28920 #endif
28921
28922 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28923 extern __attribute__((__visibility__("default"))) int exportedvar;
28924 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28925 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28926 class __attribute__((__visibility__("default"))) Foo {
28927 Foo() {}
28928 };
28929
28930 int
28931 main ()
28932 {
28933
28934 ;
28935 return 0;
28936 }
28937 _ACEOF
28938 if ac_fn_cxx_try_compile "$LINENO"; then :
28939 wx_cv_cc_visibility=yes
28940 else
28941 wx_cv_cc_visibility=no
28942 fi
28943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28944 ac_ext=c
28945 ac_cpp='$CPP $CPPFLAGS'
28946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28949
28950 CXXFLAGS="$wx_save_CXXFLAGS"
28951 fi
28952
28953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28954 $as_echo "$wx_cv_cc_visibility" >&6; }
28955 if test $wx_cv_cc_visibility = yes; then
28956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28957 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28958 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then :
28959 $as_echo_n "(cached) " >&6
28960 else
28961
28962 wx_save_CXXFLAGS="$CXXFLAGS"
28963 wx_save_LDFLAGS="$LDFLAGS"
28964 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28965 LDFLAGS="$LDFLAGS -shared -fPIC"
28966 ac_ext=cpp
28967 ac_cpp='$CXXCPP $CPPFLAGS'
28968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28971
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28974
28975 #include <string>
28976
28977 int
28978 main ()
28979 {
28980
28981 std::string s("hello");
28982 return s.length();
28983
28984 ;
28985 return 0;
28986 }
28987 _ACEOF
28988 if ac_fn_cxx_try_link "$LINENO"; then :
28989 wx_cv_cc_broken_libstdcxx_visibility=no
28990 else
28991 wx_cv_cc_broken_libstdcxx_visibility=yes
28992 fi
28993 rm -f core conftest.err conftest.$ac_objext \
28994 conftest$ac_exeext conftest.$ac_ext
28995 ac_ext=c
28996 ac_cpp='$CPP $CPPFLAGS'
28997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29000
29001 CXXFLAGS="$wx_save_CXXFLAGS"
29002 LDFLAGS="$wx_save_LDFLAGS"
29003 fi
29004
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29006 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29007
29008 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29010 $as_echo_n "checking whether we can work around it... " >&6; }
29011 if test "${wx_cv_cc_visibility_workaround+set}" = set; then :
29012 $as_echo_n "(cached) " >&6
29013 else
29014
29015 ac_ext=cpp
29016 ac_cpp='$CXXCPP $CPPFLAGS'
29017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29020
29021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29022 /* end confdefs.h. */
29023
29024 #pragma GCC visibility push(default)
29025 #include <string>
29026 #pragma GCC visibility pop
29027
29028 int
29029 main ()
29030 {
29031
29032 std::string s("hello");
29033 return s.length();
29034
29035 ;
29036 return 0;
29037 }
29038 _ACEOF
29039 if ac_fn_cxx_try_link "$LINENO"; then :
29040 wx_cv_cc_visibility_workaround=no
29041 else
29042 wx_cv_cc_visibility_workaround=yes
29043 fi
29044 rm -f core conftest.err conftest.$ac_objext \
29045 conftest$ac_exeext conftest.$ac_ext
29046 ac_ext=c
29047 ac_cpp='$CPP $CPPFLAGS'
29048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29051
29052
29053 fi
29054
29055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29056 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29057
29058 if test $wx_cv_cc_visibility_workaround = no; then
29059 wx_cv_cc_visibility=no
29060 fi
29061 fi
29062 fi
29063
29064 if test $wx_cv_cc_visibility = yes; then
29065 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29066
29067 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29068 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29069
29070 fi
29071 else
29072 CFLAGS_VISIBILITY=""
29073 CXXFLAGS_VISIBILITY=""
29074 fi
29075
29076
29077 fi
29078
29079 fi
29080
29081 if test "x$SUNCXX" = xyes; then
29082 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
29083 WXCONFIG_RPATH="-R\$libdir"
29084 else
29085 case "${host}" in
29086 *-*-linux* | *-*-gnu* )
29087 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29088 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29089 ;;
29090
29091 *-*-solaris2* )
29092
29093 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
29094
29095 saveLdflags="$LDFLAGS"
29096 LDFLAGS="$saveLdflags -Wl,-rpath,/"
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29098 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29100 /* end confdefs.h. */
29101
29102 int
29103 main ()
29104 {
29105
29106 ;
29107 return 0;
29108 }
29109 _ACEOF
29110 if ac_fn_c_try_link "$LINENO"; then :
29111
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29113 $as_echo "yes" >&6; }
29114 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
29115 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
29116
29117 else
29118
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29120 $as_echo "no" >&6; }
29121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29122 $as_echo_n "checking if the linker accepts -R... " >&6; }
29123 LDFLAGS="$saveLdflags -Wl,-R,/"
29124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29125 /* end confdefs.h. */
29126
29127 int
29128 main ()
29129 {
29130
29131 ;
29132 return 0;
29133 }
29134 _ACEOF
29135 if ac_fn_c_try_link "$LINENO"; then :
29136
29137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29138 $as_echo "yes" >&6; }
29139 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29140 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29141
29142 else
29143
29144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29145 $as_echo "no" >&6; }
29146
29147 fi
29148 rm -f core conftest.err conftest.$ac_objext \
29149 conftest$ac_exeext conftest.$ac_ext
29150
29151 fi
29152 rm -f core conftest.err conftest.$ac_objext \
29153 conftest$ac_exeext conftest.$ac_ext
29154 LDFLAGS="$saveLdflags"
29155 ;;
29156
29157 *-*-darwin* )
29158 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29159 if test "$install_name_tool" -a -x "$install_name_tool"; then
29160 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29161 cat <<EOF >change-install-names
29162 #!/bin/sh
29163 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29164 for i in \${libnames} ; do
29165 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29166 for dep in \${libnames} ; do
29167 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29168 done
29169 done
29170 EOF
29171 chmod +x change-install-names
29172 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29173 fi
29174
29175 HEADER_PAD_OPTION="-headerpad_max_install_names"
29176 ;;
29177
29178 *-*-cygwin* | *-*-mingw32* )
29179 ;;
29180
29181 *-*-hpux* )
29182 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29183 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29184 ;;
29185
29186 esac
29187 fi
29188
29189 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29190
29191 if test $wxUSE_RPATH = "no"; then
29192 SAMPLES_RPATH_FLAG=''
29193 DYLIB_PATH_POSTLINK=''
29194 WXCONFIG_RPATH=''
29195 fi
29196
29197 SHARED=1
29198
29199 else
29200
29201 config_linkage_component="-static"
29202 SHARED=0
29203
29204 fi
29205
29206
29207 UNICODE=0
29208 lib_unicode_suffix=
29209 WX_CHARTYPE="ansi"
29210 if test "$wxUSE_UNICODE" = "yes"; then
29211 lib_unicode_suffix=u
29212 WX_CHARTYPE="unicode"
29213 UNICODE=1
29214 fi
29215
29216 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29217 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29218
29219 DEBUG_INFO=0
29220 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29221 DEBUG_INFO=1
29222 fi
29223
29224 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29225
29226 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29227
29228 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29229
29230
29231 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29232 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29233 else
29234 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29235 fi
29236 if test "${TOOLKIT_DIR}" = "os2"; then
29237 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29238 else
29239 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29240 fi
29241
29242
29243
29244 if test "$wxUSE_OLD_COCOA" = 1; then
29245
29246 ac_ext=c
29247 ac_cpp='$CPP $CPPFLAGS'
29248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29251
29252 ac_ext=m
29253
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29255 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29257 /* end confdefs.h. */
29258 #include <AppKit/NSEvent.h>
29259 #include <CoreFoundation/CoreFoundation.h>
29260
29261 int
29262 main ()
29263 {
29264
29265 ;
29266 return 0;
29267 }
29268 _ACEOF
29269 if ac_fn_c_try_compile "$LINENO"; then :
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29271 $as_echo "no" >&6; }
29272 else
29273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29274 $as_echo "yes" >&6; }
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29276 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29278 /* end confdefs.h. */
29279 #define __Point__ 1
29280 #include <AppKit/NSEvent.h>
29281 #include <CoreFoundation/CoreFoundation.h>
29282
29283 int
29284 main ()
29285 {
29286
29287 ;
29288 return 0;
29289 }
29290 _ACEOF
29291 if ac_fn_c_try_compile "$LINENO"; then :
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29293 $as_echo "yes" >&6; }
29294 $as_echo "#define __Point__ 1" >>confdefs.h
29295
29296
29297 else
29298 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29300 as_fn_error $? "no
29301 See \`config.log' for more details" "$LINENO" 5; }
29302
29303 fi
29304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29305
29306 fi
29307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29308 ac_ext=c
29309 ac_cpp='$CPP $CPPFLAGS'
29310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29313
29314 fi
29315
29316
29317 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29318 if test "x$ac_cv_type_mode_t" = x""yes; then :
29319
29320 else
29321
29322 cat >>confdefs.h <<_ACEOF
29323 #define mode_t int
29324 _ACEOF
29325
29326 fi
29327
29328 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29329 if test "x$ac_cv_type_off_t" = x""yes; then :
29330
29331 else
29332
29333 cat >>confdefs.h <<_ACEOF
29334 #define off_t long int
29335 _ACEOF
29336
29337 fi
29338
29339 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29340 if test "x$ac_cv_type_pid_t" = x""yes; then :
29341
29342 else
29343
29344 cat >>confdefs.h <<_ACEOF
29345 #define pid_t int
29346 _ACEOF
29347
29348 fi
29349
29350 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29351 if test "x$ac_cv_type_size_t" = x""yes; then :
29352
29353 else
29354
29355 cat >>confdefs.h <<_ACEOF
29356 #define size_t unsigned int
29357 _ACEOF
29358
29359 fi
29360
29361
29362 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29363 if test "x$ac_cv_type_ssize_t" = x""yes; then :
29364
29365 cat >>confdefs.h <<_ACEOF
29366 #define HAVE_SSIZE_T 1
29367 _ACEOF
29368
29369
29370 fi
29371
29372
29373 ac_ext=cpp
29374 ac_cpp='$CXXCPP $CPPFLAGS'
29375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29379 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29380 if test "${wx_cv_size_t_is_uint+set}" = set; then :
29381 $as_echo_n "(cached) " >&6
29382 else
29383
29384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29385 /* end confdefs.h. */
29386 #include <stddef.h>
29387 int
29388 main ()
29389 {
29390
29391 return 0; }
29392
29393 struct Foo { void foo(size_t); void foo(unsigned int); };
29394
29395 int bar() {
29396
29397 ;
29398 return 0;
29399 }
29400 _ACEOF
29401 if ac_fn_cxx_try_compile "$LINENO"; then :
29402 wx_cv_size_t_is_uint=no
29403 else
29404 wx_cv_size_t_is_uint=yes
29405
29406 fi
29407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29408
29409
29410 fi
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29412 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29413
29414 if test "$wx_cv_size_t_is_uint" = "yes"; then
29415 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29416
29417 else
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29419 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29420 if test "${wx_cv_size_t_is_ulong+set}" = set; then :
29421 $as_echo_n "(cached) " >&6
29422 else
29423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29424 /* end confdefs.h. */
29425 #include <stddef.h>
29426 int
29427 main ()
29428 {
29429
29430 return 0; }
29431
29432 struct Foo { void foo(size_t); void foo(unsigned long); };
29433
29434 int bar() {
29435
29436 ;
29437 return 0;
29438 }
29439 _ACEOF
29440 if ac_fn_cxx_try_compile "$LINENO"; then :
29441 wx_cv_size_t_is_ulong=no
29442 else
29443 wx_cv_size_t_is_ulong=yes
29444
29445 fi
29446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29447
29448 fi
29449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29450 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29451
29452 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29453 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29454
29455 fi
29456 fi
29457
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29459 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29460 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then :
29461 $as_echo_n "(cached) " >&6
29462 else
29463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29464 /* end confdefs.h. */
29465 #include <wchar.h>
29466 int
29467 main ()
29468 {
29469
29470 return 0; }
29471
29472 struct Foo { void foo(wchar_t);
29473 void foo(unsigned short);
29474 void foo(unsigned int);
29475 void foo(unsigned long); };
29476
29477 int bar() {
29478
29479 ;
29480 return 0;
29481 }
29482 _ACEOF
29483 if ac_fn_cxx_try_compile "$LINENO"; then :
29484 wx_cv_wchar_t_is_separate_type=yes
29485 else
29486 wx_cv_wchar_t_is_separate_type=no
29487
29488 fi
29489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29490
29491 fi
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29493 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29494
29495 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29496 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29497
29498 else
29499 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29500
29501 fi
29502
29503 ac_ext=c
29504 ac_cpp='$CPP $CPPFLAGS'
29505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29508
29509
29510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29511 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29512 if test "${wx_cv_struct_pw_gecos+set}" = set; then :
29513 $as_echo_n "(cached) " >&6
29514 else
29515
29516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29517 /* end confdefs.h. */
29518 #include <pwd.h>
29519 int
29520 main ()
29521 {
29522
29523 char *p;
29524 struct passwd *pw;
29525 p = pw->pw_gecos;
29526
29527 ;
29528 return 0;
29529 }
29530 _ACEOF
29531 if ac_fn_c_try_compile "$LINENO"; then :
29532
29533 wx_cv_struct_pw_gecos=yes
29534
29535 else
29536
29537 wx_cv_struct_pw_gecos=no
29538
29539
29540 fi
29541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29542
29543
29544 fi
29545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29546 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29547
29548 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29549 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29550
29551 fi
29552
29553
29554 WCSLEN_FOUND=0
29555 WCHAR_LINK=
29556 for ac_func in wcslen
29557 do :
29558 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29559 if test "x$ac_cv_func_wcslen" = x""yes; then :
29560 cat >>confdefs.h <<_ACEOF
29561 #define HAVE_WCSLEN 1
29562 _ACEOF
29563 WCSLEN_FOUND=1
29564 fi
29565 done
29566
29567
29568 if test "$WCSLEN_FOUND" = 0; then
29569 if test "$TOOLKIT" = "MSW"; then
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29571 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29572 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then :
29573 $as_echo_n "(cached) " >&6
29574 else
29575 ac_check_lib_save_LIBS=$LIBS
29576 LIBS="-lmsvcrt $LIBS"
29577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29578 /* end confdefs.h. */
29579
29580 /* Override any GCC internal prototype to avoid an error.
29581 Use char because int might match the return type of a GCC
29582 builtin and then its argument prototype would still apply. */
29583 #ifdef __cplusplus
29584 extern "C"
29585 #endif
29586 char wcslen ();
29587 int
29588 main ()
29589 {
29590 return wcslen ();
29591 ;
29592 return 0;
29593 }
29594 _ACEOF
29595 if ac_fn_c_try_link "$LINENO"; then :
29596 ac_cv_lib_msvcrt_wcslen=yes
29597 else
29598 ac_cv_lib_msvcrt_wcslen=no
29599 fi
29600 rm -f core conftest.err conftest.$ac_objext \
29601 conftest$ac_exeext conftest.$ac_ext
29602 LIBS=$ac_check_lib_save_LIBS
29603 fi
29604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29605 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29606 if test "x$ac_cv_lib_msvcrt_wcslen" = x""yes; then :
29607 WCHAR_OK=1
29608 fi
29609
29610 else
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29612 $as_echo_n "checking for wcslen in -lw... " >&6; }
29613 if test "${ac_cv_lib_w_wcslen+set}" = set; then :
29614 $as_echo_n "(cached) " >&6
29615 else
29616 ac_check_lib_save_LIBS=$LIBS
29617 LIBS="-lw $LIBS"
29618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29619 /* end confdefs.h. */
29620
29621 /* Override any GCC internal prototype to avoid an error.
29622 Use char because int might match the return type of a GCC
29623 builtin and then its argument prototype would still apply. */
29624 #ifdef __cplusplus
29625 extern "C"
29626 #endif
29627 char wcslen ();
29628 int
29629 main ()
29630 {
29631 return wcslen ();
29632 ;
29633 return 0;
29634 }
29635 _ACEOF
29636 if ac_fn_c_try_link "$LINENO"; then :
29637 ac_cv_lib_w_wcslen=yes
29638 else
29639 ac_cv_lib_w_wcslen=no
29640 fi
29641 rm -f core conftest.err conftest.$ac_objext \
29642 conftest$ac_exeext conftest.$ac_ext
29643 LIBS=$ac_check_lib_save_LIBS
29644 fi
29645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29646 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29647 if test "x$ac_cv_lib_w_wcslen" = x""yes; then :
29648
29649 WCHAR_LINK=" -lw"
29650 WCSLEN_FOUND=1
29651
29652 fi
29653
29654 fi
29655 fi
29656
29657 if test "$WCSLEN_FOUND" = 1; then
29658 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29659
29660 fi
29661
29662 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29663 do :
29664 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29665 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29666 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29667 cat >>confdefs.h <<_ACEOF
29668 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29669 _ACEOF
29670
29671 fi
29672 done
29673
29674
29675 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29676 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29677 fi
29678
29679 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29680 "
29681 if test "x$ac_cv_type_mbstate_t" = x""yes; then :
29682
29683 cat >>confdefs.h <<_ACEOF
29684 #define HAVE_MBSTATE_T 1
29685 _ACEOF
29686
29687 for ac_func in wcsrtombs
29688 do :
29689 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29690 if test "x$ac_cv_func_wcsrtombs" = x""yes; then :
29691 cat >>confdefs.h <<_ACEOF
29692 #define HAVE_WCSRTOMBS 1
29693 _ACEOF
29694
29695 fi
29696 done
29697
29698 fi
29699
29700
29701 for ac_func in snprintf vsnprintf vsscanf
29702 do :
29703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29705 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29706 cat >>confdefs.h <<_ACEOF
29707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29708 _ACEOF
29709
29710 fi
29711 done
29712
29713
29714 ac_ext=cpp
29715 ac_cpp='$CXXCPP $CPPFLAGS'
29716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29719
29720 if test "$ac_cv_func_vsnprintf" = "yes"; then
29721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29722 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29723 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then :
29724 $as_echo_n "(cached) " >&6
29725 else
29726
29727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29728 /* end confdefs.h. */
29729
29730 #include <stdio.h>
29731 #include <stdarg.h>
29732
29733 int
29734 main ()
29735 {
29736
29737 char *buf;
29738 va_list ap;
29739 vsnprintf(buf, 10u, "%s", ap);
29740
29741 ;
29742 return 0;
29743 }
29744 _ACEOF
29745 if ac_fn_cxx_try_compile "$LINENO"; then :
29746 wx_cv_func_vsnprintf_decl=yes
29747 else
29748 wx_cv_func_vsnprintf_decl=no
29749
29750 fi
29751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29752
29753
29754 fi
29755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29756 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29757
29758 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29759 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29760
29761
29762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29763 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29764 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then :
29765 $as_echo_n "(cached) " >&6
29766 else
29767
29768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29769 /* end confdefs.h. */
29770
29771 #include <stdio.h>
29772 #include <stdarg.h>
29773 #ifdef __MSL__
29774 #if __MSL__ >= 0x6000
29775 namespace std {}
29776 using namespace std;
29777 #endif
29778 #endif
29779
29780 int
29781 main ()
29782 {
29783
29784 char *buf;
29785 va_list ap;
29786 const char *fmt = "%s";
29787 vsnprintf(buf, 10u, fmt, ap);
29788
29789 ;
29790 return 0;
29791 }
29792 _ACEOF
29793 if ac_fn_cxx_try_compile "$LINENO"; then :
29794 wx_cv_func_broken_vsnprintf_decl=no
29795 else
29796 wx_cv_func_broken_vsnprintf_decl=yes
29797
29798 fi
29799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29800
29801
29802 fi
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29804 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29805
29806 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29807 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29808
29809 fi
29810 fi
29811 fi
29812
29813 if test "$ac_cv_func_snprintf" = "yes"; then
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29815 $as_echo_n "checking for snprintf declaration... " >&6; }
29816 if test "${wx_cv_func_snprintf_decl+set}" = set; then :
29817 $as_echo_n "(cached) " >&6
29818 else
29819
29820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29821 /* end confdefs.h. */
29822
29823 #include <stdio.h>
29824 #include <stdarg.h>
29825 #ifdef __MSL__
29826 #if __MSL__ >= 0x6000
29827 namespace std {}
29828 using namespace std;
29829 #endif
29830 #endif
29831
29832 int
29833 main ()
29834 {
29835
29836 char *buf;
29837 snprintf(buf, 10u, "%s", "wx");
29838
29839 ;
29840 return 0;
29841 }
29842 _ACEOF
29843 if ac_fn_cxx_try_compile "$LINENO"; then :
29844 wx_cv_func_snprintf_decl=yes
29845 else
29846 wx_cv_func_snprintf_decl=no
29847
29848 fi
29849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29850
29851
29852 fi
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29854 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29855
29856 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29857 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29858
29859 fi
29860
29861 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29862
29863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29864 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29865 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then :
29866 $as_echo_n "(cached) " >&6
29867 else
29868
29869 if test "$cross_compiling" = yes; then :
29870
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29872 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29873 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29874 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29875 wx_cv_func_snprintf_pos_params=no
29876
29877
29878 else
29879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29880 /* end confdefs.h. */
29881
29882 #include <stdio.h>
29883
29884 int main (void)
29885 {
29886 char buffer[128];
29887 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29888 if (strcmp ("2 3 1", buffer) == 0)
29889 exit (0);
29890 exit (1);
29891 }
29892
29893 _ACEOF
29894 if ac_fn_cxx_try_run "$LINENO"; then :
29895 wx_cv_func_snprintf_pos_params=no
29896 else
29897 wx_cv_func_snprintf_pos_params=yes
29898 fi
29899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29900 conftest.$ac_objext conftest.beam conftest.$ac_ext
29901 fi
29902
29903
29904
29905 fi
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29907 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29908
29909 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29910 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29911
29912 fi
29913 fi
29914 fi
29915
29916 if test "$ac_cv_func_vsscanf" = "yes"; then
29917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29918 $as_echo_n "checking for vsscanf declaration... " >&6; }
29919 if test "${wx_cv_func_vsscanf_decl+set}" = set; then :
29920 $as_echo_n "(cached) " >&6
29921 else
29922
29923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29924 /* end confdefs.h. */
29925
29926 #include <stdio.h>
29927 #include <stdarg.h>
29928 #ifdef __MSL__
29929 #if __MSL__ >= 0x6000
29930 namespace std {}
29931 using namespace std;
29932 #endif
29933 #endif
29934
29935 int
29936 main ()
29937 {
29938
29939 char *buf;
29940 va_list args;
29941 vsscanf(buf, "%s", args);
29942
29943 ;
29944 return 0;
29945 }
29946 _ACEOF
29947 if ac_fn_cxx_try_compile "$LINENO"; then :
29948 wx_cv_func_vsscanf_decl=yes
29949 else
29950 wx_cv_func_vsscanf_decl=no
29951
29952 fi
29953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29954
29955
29956 fi
29957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29958 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29959
29960 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29961 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29962
29963 fi
29964 fi
29965 ac_ext=c
29966 ac_cpp='$CPP $CPPFLAGS'
29967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29970
29971
29972 if test "$wxUSE_UNICODE" = yes; then
29973
29974 wchar_headers="#include <stdio.h>
29975 #include <wchar.h>"
29976 case "${host}" in
29977 *-*-solaris2* )
29978 for ac_header in widec.h
29979 do :
29980 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29981 "
29982 if test "x$ac_cv_header_widec_h" = x""yes; then :
29983 cat >>confdefs.h <<_ACEOF
29984 #define HAVE_WIDEC_H 1
29985 _ACEOF
29986
29987 fi
29988
29989 done
29990
29991 if test "$ac_cv_header_widec_h" = "yes"; then
29992 wchar_headers="$wchar_headers
29993 #include <widec.h>"
29994 fi
29995 esac
29996
29997
29998 for wx_func in putws fputws wprintf vswprintf vswscanf
29999 do
30000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30001 $as_echo_n "checking for $wx_func... " >&6; }
30002 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30003 $as_echo_n "(cached) " >&6
30004 else
30005
30006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30007 /* end confdefs.h. */
30008
30009
30010 $wchar_headers
30011 $ac_includes_default
30012
30013 int
30014 main ()
30015 {
30016
30017 #ifndef $wx_func
30018 &$wx_func;
30019 #endif
30020
30021
30022 ;
30023 return 0;
30024 }
30025
30026 _ACEOF
30027 if ac_fn_c_try_link "$LINENO"; then :
30028 eval wx_cv_func_$wx_func=yes
30029 else
30030 eval wx_cv_func_$wx_func=no
30031 fi
30032 rm -f core conftest.err conftest.$ac_objext \
30033 conftest$ac_exeext conftest.$ac_ext
30034
30035 fi
30036 eval ac_res=\$wx_cv_func_$wx_func
30037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30038 $as_echo "$ac_res" >&6; }
30039
30040 if eval test \$wx_cv_func_$wx_func = yes
30041 then
30042 cat >>confdefs.h <<_ACEOF
30043 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30044 _ACEOF
30045
30046
30047 else
30048 :
30049
30050 fi
30051 done
30052
30053
30054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30055 $as_echo_n "checking for _vsnwprintf... " >&6; }
30056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30057 /* end confdefs.h. */
30058 #include <wchar.h>
30059 int
30060 main ()
30061 {
30062 &_vsnwprintf;
30063 ;
30064 return 0;
30065 }
30066 _ACEOF
30067 if ac_fn_c_try_compile "$LINENO"; then :
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30069 $as_echo "yes" >&6; }
30070 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30071
30072 else
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30074 $as_echo "no" >&6; }
30075 fi
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
30077 fi
30078
30079 if test "$wxUSE_FILE" = "yes"; then
30080
30081 for wx_func in fsync
30082 do
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30084 $as_echo_n "checking for $wx_func... " >&6; }
30085 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30086 $as_echo_n "(cached) " >&6
30087 else
30088
30089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30090 /* end confdefs.h. */
30091
30092
30093
30094 $ac_includes_default
30095
30096 int
30097 main ()
30098 {
30099
30100 #ifndef $wx_func
30101 &$wx_func;
30102 #endif
30103
30104
30105 ;
30106 return 0;
30107 }
30108
30109 _ACEOF
30110 if ac_fn_c_try_link "$LINENO"; then :
30111 eval wx_cv_func_$wx_func=yes
30112 else
30113 eval wx_cv_func_$wx_func=no
30114 fi
30115 rm -f core conftest.err conftest.$ac_objext \
30116 conftest$ac_exeext conftest.$ac_ext
30117
30118 fi
30119 eval ac_res=\$wx_cv_func_$wx_func
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30121 $as_echo "$ac_res" >&6; }
30122
30123 if eval test \$wx_cv_func_$wx_func = yes
30124 then
30125 cat >>confdefs.h <<_ACEOF
30126 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30127 _ACEOF
30128
30129
30130 else
30131 :
30132
30133 fi
30134 done
30135
30136 fi
30137
30138 ac_ext=cpp
30139 ac_cpp='$CXXCPP $CPPFLAGS'
30140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30143
30144
30145 for wx_func in round
30146 do
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30148 $as_echo_n "checking for $wx_func... " >&6; }
30149 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30150 $as_echo_n "(cached) " >&6
30151 else
30152
30153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30154 /* end confdefs.h. */
30155
30156
30157 #include <math.h>
30158 $ac_includes_default
30159
30160 int
30161 main ()
30162 {
30163
30164 #ifndef $wx_func
30165 &$wx_func;
30166 #endif
30167
30168
30169 ;
30170 return 0;
30171 }
30172
30173 _ACEOF
30174 if ac_fn_cxx_try_link "$LINENO"; then :
30175 eval wx_cv_func_$wx_func=yes
30176 else
30177 eval wx_cv_func_$wx_func=no
30178 fi
30179 rm -f core conftest.err conftest.$ac_objext \
30180 conftest$ac_exeext conftest.$ac_ext
30181
30182 fi
30183 eval ac_res=\$wx_cv_func_$wx_func
30184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30185 $as_echo "$ac_res" >&6; }
30186
30187 if eval test \$wx_cv_func_$wx_func = yes
30188 then
30189 cat >>confdefs.h <<_ACEOF
30190 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30191 _ACEOF
30192
30193
30194 else
30195 :
30196
30197 fi
30198 done
30199
30200 ac_ext=c
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30205
30206
30207 if test "$TOOLKIT" != "MSW"; then
30208
30209 if test "$wxUSE_LIBICONV" != "no" ; then
30210
30211
30212
30213 # Check whether --with-libiconv-prefix was given.
30214 if test "${with_libiconv_prefix+set}" = set; then :
30215 withval=$with_libiconv_prefix;
30216 for dir in `echo "$withval" | tr : ' '`; do
30217 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30218 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30219 done
30220
30221 fi
30222
30223
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30225 $as_echo_n "checking for iconv... " >&6; }
30226 if test "${am_cv_func_iconv+set}" = set; then :
30227 $as_echo_n "(cached) " >&6
30228 else
30229
30230 am_cv_func_iconv="no, consider installing GNU libiconv"
30231 am_cv_lib_iconv=no
30232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30233 /* end confdefs.h. */
30234 #include <stdlib.h>
30235 #include <iconv.h>
30236 int
30237 main ()
30238 {
30239 iconv_t cd = iconv_open("","");
30240 iconv(cd,NULL,NULL,NULL,NULL);
30241 iconv_close(cd);
30242 ;
30243 return 0;
30244 }
30245 _ACEOF
30246 if ac_fn_c_try_link "$LINENO"; then :
30247 am_cv_func_iconv=yes
30248 fi
30249 rm -f core conftest.err conftest.$ac_objext \
30250 conftest$ac_exeext conftest.$ac_ext
30251 if test "$am_cv_func_iconv" != yes; then
30252 am_save_LIBS="$LIBS"
30253 LIBS="$LIBS -liconv"
30254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30255 /* end confdefs.h. */
30256 #include <stdlib.h>
30257 #include <iconv.h>
30258 int
30259 main ()
30260 {
30261 iconv_t cd = iconv_open("","");
30262 iconv(cd,NULL,NULL,NULL,NULL);
30263 iconv_close(cd);
30264 ;
30265 return 0;
30266 }
30267 _ACEOF
30268 if ac_fn_c_try_link "$LINENO"; then :
30269 am_cv_lib_iconv=yes
30270 am_cv_func_iconv=yes
30271 fi
30272 rm -f core conftest.err conftest.$ac_objext \
30273 conftest$ac_exeext conftest.$ac_ext
30274 LIBS="$am_save_LIBS"
30275 fi
30276
30277 fi
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30279 $as_echo "$am_cv_func_iconv" >&6; }
30280 if test "$am_cv_func_iconv" = yes; then
30281
30282 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30283
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30285 $as_echo_n "checking if iconv needs const... " >&6; }
30286 if test "${wx_cv_func_iconv_const+set}" = set; then :
30287 $as_echo_n "(cached) " >&6
30288 else
30289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30290 /* end confdefs.h. */
30291
30292 #include <stdlib.h>
30293 #include <iconv.h>
30294 extern
30295 #ifdef __cplusplus
30296 "C"
30297 #endif
30298 #if defined(__STDC__) || defined(__cplusplus)
30299 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30300 #else
30301 size_t iconv();
30302 #endif
30303
30304 int
30305 main ()
30306 {
30307
30308 ;
30309 return 0;
30310 }
30311 _ACEOF
30312 if ac_fn_c_try_compile "$LINENO"; then :
30313 wx_cv_func_iconv_const="no"
30314 else
30315 wx_cv_func_iconv_const="yes"
30316
30317 fi
30318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30319
30320 fi
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30322 $as_echo "$wx_cv_func_iconv_const" >&6; }
30323
30324 iconv_const=
30325 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30326 iconv_const="const"
30327 fi
30328
30329
30330 cat >>confdefs.h <<_ACEOF
30331 #define ICONV_CONST $iconv_const
30332 _ACEOF
30333
30334 fi
30335 LIBICONV=
30336 if test "$am_cv_lib_iconv" = yes; then
30337 LIBICONV="-liconv"
30338 fi
30339
30340
30341 LIBS="$LIBICONV $LIBS"
30342 fi
30343
30344 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30345 for ac_func in sigaction
30346 do :
30347 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30348 if test "x$ac_cv_func_sigaction" = x""yes; then :
30349 cat >>confdefs.h <<_ACEOF
30350 #define HAVE_SIGACTION 1
30351 _ACEOF
30352
30353 fi
30354 done
30355
30356
30357 if test "$ac_cv_func_sigaction" = "no"; then
30358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30359 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30360 wxUSE_ON_FATAL_EXCEPTION=no
30361 fi
30362
30363 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30365 $as_echo_n "checking for sa_handler type... " >&6; }
30366 if test "${wx_cv_type_sa_handler+set}" = set; then :
30367 $as_echo_n "(cached) " >&6
30368 else
30369
30370 ac_ext=cpp
30371 ac_cpp='$CXXCPP $CPPFLAGS'
30372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30375
30376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30377 /* end confdefs.h. */
30378 #include <signal.h>
30379 int
30380 main ()
30381 {
30382
30383 extern void testSigHandler(int);
30384
30385 struct sigaction sa;
30386 sa.sa_handler = testSigHandler;
30387
30388 ;
30389 return 0;
30390 }
30391 _ACEOF
30392 if ac_fn_cxx_try_compile "$LINENO"; then :
30393
30394 wx_cv_type_sa_handler=int
30395
30396 else
30397
30398 wx_cv_type_sa_handler=void
30399
30400 fi
30401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30402 ac_ext=c
30403 ac_cpp='$CPP $CPPFLAGS'
30404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30407
30408
30409 fi
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30411 $as_echo "$wx_cv_type_sa_handler" >&6; }
30412
30413 cat >>confdefs.h <<_ACEOF
30414 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30415 _ACEOF
30416
30417 fi
30418 fi
30419
30420 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30422 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30423 if test "${wx_cv_func_backtrace+set}" = set; then :
30424 $as_echo_n "(cached) " >&6
30425 else
30426
30427 ac_ext=cpp
30428 ac_cpp='$CXXCPP $CPPFLAGS'
30429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30432
30433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30434 /* end confdefs.h. */
30435 #include <execinfo.h>
30436 int
30437 main ()
30438 {
30439
30440 void *trace[1];
30441 char **messages;
30442
30443 backtrace(trace, 1);
30444 messages = backtrace_symbols(trace, 1);
30445
30446 ;
30447 return 0;
30448 }
30449 _ACEOF
30450 if ac_fn_cxx_try_compile "$LINENO"; then :
30451 wx_cv_func_backtrace=yes
30452 else
30453 wx_cv_func_backtrace=no
30454
30455 fi
30456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30457 ac_ext=c
30458 ac_cpp='$CPP $CPPFLAGS'
30459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30462
30463
30464
30465 fi
30466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30467 $as_echo "$wx_cv_func_backtrace" >&6; }
30468
30469
30470 if test "$wx_cv_func_backtrace" = "no"; then
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30472 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30473 wxUSE_STACKWALKER=no
30474 else
30475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30476 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30477 if test "${wx_cv_func_cxa_demangle+set}" = set; then :
30478 $as_echo_n "(cached) " >&6
30479 else
30480
30481 ac_ext=cpp
30482 ac_cpp='$CXXCPP $CPPFLAGS'
30483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30486
30487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30488 /* end confdefs.h. */
30489 #include <cxxabi.h>
30490 int
30491 main ()
30492 {
30493
30494 int rc;
30495 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30496
30497 ;
30498 return 0;
30499 }
30500 _ACEOF
30501 if ac_fn_cxx_try_link "$LINENO"; then :
30502 wx_cv_func_cxa_demangle=yes
30503 else
30504 wx_cv_func_cxa_demangle=no
30505
30506 fi
30507 rm -f core conftest.err conftest.$ac_objext \
30508 conftest$ac_exeext conftest.$ac_ext
30509 ac_ext=c
30510 ac_cpp='$CPP $CPPFLAGS'
30511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30514
30515
30516
30517 fi
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30519 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30520
30521 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30522 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30523
30524 fi
30525 fi
30526 fi
30527
30528 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30530 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30531 wxUSE_STACKWALKER=no
30532 fi
30533
30534
30535 for ac_func in mkstemp mktemp
30536 do :
30537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30539 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30540 cat >>confdefs.h <<_ACEOF
30541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30542 _ACEOF
30543 break
30544 fi
30545 done
30546
30547
30548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30549 $as_echo_n "checking for statfs... " >&6; }
30550 if test "${wx_cv_func_statfs+set}" = set; then :
30551 $as_echo_n "(cached) " >&6
30552 else
30553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30554 /* end confdefs.h. */
30555
30556 #if defined(__BSD__)
30557 #include <sys/param.h>
30558 #include <sys/mount.h>
30559 #else
30560 #include <sys/vfs.h>
30561 #endif
30562
30563 int
30564 main ()
30565 {
30566
30567 long l;
30568 struct statfs fs;
30569 statfs("/", &fs);
30570 l = fs.f_bsize;
30571 l += fs.f_blocks;
30572 l += fs.f_bavail;
30573
30574 ;
30575 return 0;
30576 }
30577 _ACEOF
30578 if ac_fn_c_try_compile "$LINENO"; then :
30579 wx_cv_func_statfs=yes
30580 else
30581 wx_cv_func_statfs=no
30582
30583 fi
30584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30585
30586 fi
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30588 $as_echo "$wx_cv_func_statfs" >&6; }
30589
30590 if test "$wx_cv_func_statfs" = "yes"; then
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30592 $as_echo_n "checking for statfs declaration... " >&6; }
30593 if test "${wx_cv_func_statfs_decl+set}" = set; then :
30594 $as_echo_n "(cached) " >&6
30595 else
30596 ac_ext=cpp
30597 ac_cpp='$CXXCPP $CPPFLAGS'
30598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30601
30602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30603 /* end confdefs.h. */
30604
30605 #if defined(__BSD__)
30606 #include <sys/param.h>
30607 #include <sys/mount.h>
30608 #else
30609 #include <sys/vfs.h>
30610 #endif
30611
30612 int
30613 main ()
30614 {
30615
30616 struct statfs fs;
30617 statfs("", &fs);
30618
30619 ;
30620 return 0;
30621 }
30622 _ACEOF
30623 if ac_fn_cxx_try_compile "$LINENO"; then :
30624 wx_cv_func_statfs_decl=yes
30625 else
30626 wx_cv_func_statfs_decl=no
30627
30628 fi
30629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30630 ac_ext=c
30631 ac_cpp='$CPP $CPPFLAGS'
30632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30635
30636
30637 fi
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30639 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30640
30641 if test "$wx_cv_func_statfs_decl" = "yes"; then
30642 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30643
30644 fi
30645
30646 wx_cv_type_statvfs_t="struct statfs"
30647 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30648
30649 else
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30651 $as_echo_n "checking for statvfs... " >&6; }
30652 if test "${wx_cv_func_statvfs+set}" = set; then :
30653 $as_echo_n "(cached) " >&6
30654 else
30655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30656 /* end confdefs.h. */
30657
30658 #include <stddef.h>
30659 #include <sys/statvfs.h>
30660
30661 int
30662 main ()
30663 {
30664
30665 statvfs("/", NULL);
30666
30667 ;
30668 return 0;
30669 }
30670 _ACEOF
30671 if ac_fn_c_try_compile "$LINENO"; then :
30672 wx_cv_func_statvfs=yes
30673 else
30674 wx_cv_func_statvfs=no
30675
30676 fi
30677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30678
30679 fi
30680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30681 $as_echo "$wx_cv_func_statvfs" >&6; }
30682
30683 if test "$wx_cv_func_statvfs" = "yes"; then
30684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30685 $as_echo_n "checking for statvfs argument type... " >&6; }
30686 if test "${wx_cv_type_statvfs_t+set}" = set; then :
30687 $as_echo_n "(cached) " >&6
30688 else
30689 ac_ext=cpp
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30694
30695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30697
30698 #include <sys/statvfs.h>
30699
30700 int
30701 main ()
30702 {
30703
30704 long l;
30705 statvfs_t fs;
30706 statvfs("/", &fs);
30707 l = fs.f_bsize;
30708 l += fs.f_blocks;
30709 l += fs.f_bavail;
30710
30711 ;
30712 return 0;
30713 }
30714 _ACEOF
30715 if ac_fn_cxx_try_compile "$LINENO"; then :
30716 wx_cv_type_statvfs_t=statvfs_t
30717 else
30718
30719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30720 /* end confdefs.h. */
30721
30722 #include <sys/statvfs.h>
30723
30724 int
30725 main ()
30726 {
30727
30728 long l;
30729 struct statvfs fs;
30730 statvfs("/", &fs);
30731 l = fs.f_bsize;
30732 l += fs.f_blocks;
30733 l += fs.f_bavail;
30734
30735 ;
30736 return 0;
30737 }
30738 _ACEOF
30739 if ac_fn_cxx_try_compile "$LINENO"; then :
30740 wx_cv_type_statvfs_t="struct statvfs"
30741 else
30742 wx_cv_type_statvfs_t="unknown"
30743
30744 fi
30745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30746
30747
30748 fi
30749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30750 ac_ext=c
30751 ac_cpp='$CPP $CPPFLAGS'
30752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30755
30756
30757 fi
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30759 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30760
30761 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30762 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30763
30764 fi
30765 else
30766 wx_cv_type_statvfs_t="unknown"
30767 fi
30768 fi
30769
30770 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30771 cat >>confdefs.h <<_ACEOF
30772 #define WX_STATFS_T $wx_cv_type_statvfs_t
30773 _ACEOF
30774
30775 else
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30777 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30778 fi
30779
30780 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30781 for ac_func in fcntl flock
30782 do :
30783 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30784 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30785 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30786 cat >>confdefs.h <<_ACEOF
30787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30788 _ACEOF
30789 break
30790 fi
30791 done
30792
30793
30794 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30796 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30797 wxUSE_SNGLINST_CHECKER=no
30798 fi
30799 fi
30800
30801 for ac_func in setenv putenv
30802 do :
30803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30805 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30806 cat >>confdefs.h <<_ACEOF
30807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30808 _ACEOF
30809 break
30810 fi
30811 done
30812
30813 if test "$ac_cv_func_setenv" = "yes"; then
30814 for ac_func in unsetenv
30815 do :
30816 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30817 if test "x$ac_cv_func_unsetenv" = x""yes; then :
30818 cat >>confdefs.h <<_ACEOF
30819 #define HAVE_UNSETENV 1
30820 _ACEOF
30821
30822 fi
30823 done
30824
30825 fi
30826
30827 HAVE_SOME_SLEEP_FUNC=0
30828 if test "$USE_BEOS" = 1; then
30829 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30830
30831 HAVE_SOME_SLEEP_FUNC=1
30832 fi
30833
30834 if test "$USE_DARWIN" = 1; then
30835 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30836
30837 HAVE_SOME_SLEEP_FUNC=1
30838 fi
30839
30840 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30841 POSIX4_LINK=
30842 for ac_func in nanosleep
30843 do :
30844 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30845 if test "x$ac_cv_func_nanosleep" = x""yes; then :
30846 cat >>confdefs.h <<_ACEOF
30847 #define HAVE_NANOSLEEP 1
30848 _ACEOF
30849 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30850
30851 else
30852
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30854 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30855 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then :
30856 $as_echo_n "(cached) " >&6
30857 else
30858 ac_check_lib_save_LIBS=$LIBS
30859 LIBS="-lposix4 $LIBS"
30860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30861 /* end confdefs.h. */
30862
30863 /* Override any GCC internal prototype to avoid an error.
30864 Use char because int might match the return type of a GCC
30865 builtin and then its argument prototype would still apply. */
30866 #ifdef __cplusplus
30867 extern "C"
30868 #endif
30869 char nanosleep ();
30870 int
30871 main ()
30872 {
30873 return nanosleep ();
30874 ;
30875 return 0;
30876 }
30877 _ACEOF
30878 if ac_fn_c_try_link "$LINENO"; then :
30879 ac_cv_lib_posix4_nanosleep=yes
30880 else
30881 ac_cv_lib_posix4_nanosleep=no
30882 fi
30883 rm -f core conftest.err conftest.$ac_objext \
30884 conftest$ac_exeext conftest.$ac_ext
30885 LIBS=$ac_check_lib_save_LIBS
30886 fi
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30888 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30889 if test "x$ac_cv_lib_posix4_nanosleep" = x""yes; then :
30890
30891 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30892
30893 POSIX4_LINK=" -lposix4"
30894
30895 else
30896
30897
30898 for wx_func in usleep
30899 do
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30901 $as_echo_n "checking for $wx_func... " >&6; }
30902 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30903 $as_echo_n "(cached) " >&6
30904 else
30905
30906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30907 /* end confdefs.h. */
30908
30909
30910
30911 $ac_includes_default
30912
30913 int
30914 main ()
30915 {
30916
30917 #ifndef $wx_func
30918 &$wx_func;
30919 #endif
30920
30921
30922 ;
30923 return 0;
30924 }
30925
30926 _ACEOF
30927 if ac_fn_c_try_link "$LINENO"; then :
30928 eval wx_cv_func_$wx_func=yes
30929 else
30930 eval wx_cv_func_$wx_func=no
30931 fi
30932 rm -f core conftest.err conftest.$ac_objext \
30933 conftest$ac_exeext conftest.$ac_ext
30934
30935 fi
30936 eval ac_res=\$wx_cv_func_$wx_func
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30938 $as_echo "$ac_res" >&6; }
30939
30940 if eval test \$wx_cv_func_$wx_func = yes
30941 then
30942 cat >>confdefs.h <<_ACEOF
30943 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30944 _ACEOF
30945
30946
30947 else
30948 :
30949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30950 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30951
30952 fi
30953 done
30954
30955
30956
30957 fi
30958
30959
30960
30961 fi
30962 done
30963
30964 fi
30965
30966
30967 for wx_func in uname
30968 do
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30970 $as_echo_n "checking for $wx_func... " >&6; }
30971 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30972 $as_echo_n "(cached) " >&6
30973 else
30974
30975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30976 /* end confdefs.h. */
30977
30978
30979 #include <sys/utsname.h>
30980 $ac_includes_default
30981
30982 int
30983 main ()
30984 {
30985
30986 #ifndef $wx_func
30987 &$wx_func;
30988 #endif
30989
30990
30991 ;
30992 return 0;
30993 }
30994
30995 _ACEOF
30996 if ac_fn_c_try_link "$LINENO"; then :
30997 eval wx_cv_func_$wx_func=yes
30998 else
30999 eval wx_cv_func_$wx_func=no
31000 fi
31001 rm -f core conftest.err conftest.$ac_objext \
31002 conftest$ac_exeext conftest.$ac_ext
31003
31004 fi
31005 eval ac_res=\$wx_cv_func_$wx_func
31006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31007 $as_echo "$ac_res" >&6; }
31008
31009 if eval test \$wx_cv_func_$wx_func = yes
31010 then
31011 cat >>confdefs.h <<_ACEOF
31012 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31013 _ACEOF
31014
31015
31016 else
31017 :
31018
31019 fi
31020 done
31021
31022 if test "$wx_cv_func_uname" != yes; then
31023
31024 for wx_func in gethostname
31025 do
31026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31027 $as_echo_n "checking for $wx_func... " >&6; }
31028 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31029 $as_echo_n "(cached) " >&6
31030 else
31031
31032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31033 /* end confdefs.h. */
31034
31035
31036
31037 $ac_includes_default
31038
31039 int
31040 main ()
31041 {
31042
31043 #ifndef $wx_func
31044 &$wx_func;
31045 #endif
31046
31047
31048 ;
31049 return 0;
31050 }
31051
31052 _ACEOF
31053 if ac_fn_c_try_link "$LINENO"; then :
31054 eval wx_cv_func_$wx_func=yes
31055 else
31056 eval wx_cv_func_$wx_func=no
31057 fi
31058 rm -f core conftest.err conftest.$ac_objext \
31059 conftest$ac_exeext conftest.$ac_ext
31060
31061 fi
31062 eval ac_res=\$wx_cv_func_$wx_func
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31064 $as_echo "$ac_res" >&6; }
31065
31066 if eval test \$wx_cv_func_$wx_func = yes
31067 then
31068 cat >>confdefs.h <<_ACEOF
31069 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31070 _ACEOF
31071
31072
31073 else
31074 :
31075
31076 fi
31077 done
31078
31079 fi
31080
31081
31082 for wx_func in strtok_r
31083 do
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31085 $as_echo_n "checking for $wx_func... " >&6; }
31086 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31087 $as_echo_n "(cached) " >&6
31088 else
31089
31090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31091 /* end confdefs.h. */
31092
31093
31094 #define _REENTRANT
31095 $ac_includes_default
31096
31097 int
31098 main ()
31099 {
31100
31101 #ifndef $wx_func
31102 &$wx_func;
31103 #endif
31104
31105
31106 ;
31107 return 0;
31108 }
31109
31110 _ACEOF
31111 if ac_fn_c_try_link "$LINENO"; then :
31112 eval wx_cv_func_$wx_func=yes
31113 else
31114 eval wx_cv_func_$wx_func=no
31115 fi
31116 rm -f core conftest.err conftest.$ac_objext \
31117 conftest$ac_exeext conftest.$ac_ext
31118
31119 fi
31120 eval ac_res=\$wx_cv_func_$wx_func
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31122 $as_echo "$ac_res" >&6; }
31123
31124 if eval test \$wx_cv_func_$wx_func = yes
31125 then
31126 cat >>confdefs.h <<_ACEOF
31127 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31128 _ACEOF
31129
31130
31131 else
31132 :
31133
31134 fi
31135 done
31136
31137
31138 INET_LINK=
31139 for ac_func in inet_addr
31140 do :
31141 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31142 if test "x$ac_cv_func_inet_addr" = x""yes; then :
31143 cat >>confdefs.h <<_ACEOF
31144 #define HAVE_INET_ADDR 1
31145 _ACEOF
31146 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31147
31148 else
31149
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31151 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31152 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
31153 $as_echo_n "(cached) " >&6
31154 else
31155 ac_check_lib_save_LIBS=$LIBS
31156 LIBS="-lnsl $LIBS"
31157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31158 /* end confdefs.h. */
31159
31160 /* Override any GCC internal prototype to avoid an error.
31161 Use char because int might match the return type of a GCC
31162 builtin and then its argument prototype would still apply. */
31163 #ifdef __cplusplus
31164 extern "C"
31165 #endif
31166 char inet_addr ();
31167 int
31168 main ()
31169 {
31170 return inet_addr ();
31171 ;
31172 return 0;
31173 }
31174 _ACEOF
31175 if ac_fn_c_try_link "$LINENO"; then :
31176 ac_cv_lib_nsl_inet_addr=yes
31177 else
31178 ac_cv_lib_nsl_inet_addr=no
31179 fi
31180 rm -f core conftest.err conftest.$ac_objext \
31181 conftest$ac_exeext conftest.$ac_ext
31182 LIBS=$ac_check_lib_save_LIBS
31183 fi
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31185 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31186 if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
31187 INET_LINK="nsl"
31188 else
31189
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31191 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31192 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then :
31193 $as_echo_n "(cached) " >&6
31194 else
31195 ac_check_lib_save_LIBS=$LIBS
31196 LIBS="-lresolv $LIBS"
31197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31198 /* end confdefs.h. */
31199
31200 /* Override any GCC internal prototype to avoid an error.
31201 Use char because int might match the return type of a GCC
31202 builtin and then its argument prototype would still apply. */
31203 #ifdef __cplusplus
31204 extern "C"
31205 #endif
31206 char inet_addr ();
31207 int
31208 main ()
31209 {
31210 return inet_addr ();
31211 ;
31212 return 0;
31213 }
31214 _ACEOF
31215 if ac_fn_c_try_link "$LINENO"; then :
31216 ac_cv_lib_resolv_inet_addr=yes
31217 else
31218 ac_cv_lib_resolv_inet_addr=no
31219 fi
31220 rm -f core conftest.err conftest.$ac_objext \
31221 conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31223 fi
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31225 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31226 if test "x$ac_cv_lib_resolv_inet_addr" = x""yes; then :
31227 INET_LINK="resolv"
31228 else
31229
31230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31231 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31232 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then :
31233 $as_echo_n "(cached) " >&6
31234 else
31235 ac_check_lib_save_LIBS=$LIBS
31236 LIBS="-lsocket $LIBS"
31237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31238 /* end confdefs.h. */
31239
31240 /* Override any GCC internal prototype to avoid an error.
31241 Use char because int might match the return type of a GCC
31242 builtin and then its argument prototype would still apply. */
31243 #ifdef __cplusplus
31244 extern "C"
31245 #endif
31246 char inet_addr ();
31247 int
31248 main ()
31249 {
31250 return inet_addr ();
31251 ;
31252 return 0;
31253 }
31254 _ACEOF
31255 if ac_fn_c_try_link "$LINENO"; then :
31256 ac_cv_lib_socket_inet_addr=yes
31257 else
31258 ac_cv_lib_socket_inet_addr=no
31259 fi
31260 rm -f core conftest.err conftest.$ac_objext \
31261 conftest$ac_exeext conftest.$ac_ext
31262 LIBS=$ac_check_lib_save_LIBS
31263 fi
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31265 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31266 if test "x$ac_cv_lib_socket_inet_addr" = x""yes; then :
31267 INET_LINK="socket"
31268
31269 fi
31270
31271
31272
31273 fi
31274
31275
31276
31277 fi
31278
31279
31280
31281 fi
31282 done
31283
31284
31285 for ac_func in inet_aton
31286 do :
31287 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31288 if test "x$ac_cv_func_inet_aton" = x""yes; then :
31289 cat >>confdefs.h <<_ACEOF
31290 #define HAVE_INET_ATON 1
31291 _ACEOF
31292 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31293
31294 else
31295
31296 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31298 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31299 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
31300 $as_echo_n "(cached) " >&6
31301 else
31302 ac_check_lib_save_LIBS=$LIBS
31303 LIBS="-l$INET_LINK $LIBS"
31304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31305 /* end confdefs.h. */
31306
31307 /* Override any GCC internal prototype to avoid an error.
31308 Use char because int might match the return type of a GCC
31309 builtin and then its argument prototype would still apply. */
31310 #ifdef __cplusplus
31311 extern "C"
31312 #endif
31313 char inet_aton ();
31314 int
31315 main ()
31316 {
31317 return inet_aton ();
31318 ;
31319 return 0;
31320 }
31321 _ACEOF
31322 if ac_fn_c_try_link "$LINENO"; then :
31323 eval "$as_ac_Lib=yes"
31324 else
31325 eval "$as_ac_Lib=no"
31326 fi
31327 rm -f core conftest.err conftest.$ac_objext \
31328 conftest$ac_exeext conftest.$ac_ext
31329 LIBS=$ac_check_lib_save_LIBS
31330 fi
31331 eval ac_res=\$$as_ac_Lib
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31333 $as_echo "$ac_res" >&6; }
31334 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31335 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31336
31337 fi
31338
31339
31340 fi
31341 done
31342
31343
31344 if test "x$INET_LINK" != "x"; then
31345 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31346
31347 INET_LINK=" -l$INET_LINK"
31348 fi
31349
31350
31351 for wx_func in fdopen
31352 do
31353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31354 $as_echo_n "checking for $wx_func... " >&6; }
31355 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31356 $as_echo_n "(cached) " >&6
31357 else
31358
31359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31360 /* end confdefs.h. */
31361
31362
31363
31364 $ac_includes_default
31365
31366 int
31367 main ()
31368 {
31369
31370 #ifndef $wx_func
31371 &$wx_func;
31372 #endif
31373
31374
31375 ;
31376 return 0;
31377 }
31378
31379 _ACEOF
31380 if ac_fn_c_try_link "$LINENO"; then :
31381 eval wx_cv_func_$wx_func=yes
31382 else
31383 eval wx_cv_func_$wx_func=no
31384 fi
31385 rm -f core conftest.err conftest.$ac_objext \
31386 conftest$ac_exeext conftest.$ac_ext
31387
31388 fi
31389 eval ac_res=\$wx_cv_func_$wx_func
31390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31391 $as_echo "$ac_res" >&6; }
31392
31393 if eval test \$wx_cv_func_$wx_func = yes
31394 then
31395 cat >>confdefs.h <<_ACEOF
31396 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31397 _ACEOF
31398
31399
31400 else
31401 :
31402
31403 fi
31404 done
31405
31406
31407 if test "$wxUSE_TARSTREAM" = "yes"; then
31408
31409 for wx_func in sysconf
31410 do
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31412 $as_echo_n "checking for $wx_func... " >&6; }
31413 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31414 $as_echo_n "(cached) " >&6
31415 else
31416
31417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31418 /* end confdefs.h. */
31419
31420
31421
31422 $ac_includes_default
31423
31424 int
31425 main ()
31426 {
31427
31428 #ifndef $wx_func
31429 &$wx_func;
31430 #endif
31431
31432
31433 ;
31434 return 0;
31435 }
31436
31437 _ACEOF
31438 if ac_fn_c_try_link "$LINENO"; then :
31439 eval wx_cv_func_$wx_func=yes
31440 else
31441 eval wx_cv_func_$wx_func=no
31442 fi
31443 rm -f core conftest.err conftest.$ac_objext \
31444 conftest$ac_exeext conftest.$ac_ext
31445
31446 fi
31447 eval ac_res=\$wx_cv_func_$wx_func
31448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31449 $as_echo "$ac_res" >&6; }
31450
31451 if eval test \$wx_cv_func_$wx_func = yes
31452 then
31453 cat >>confdefs.h <<_ACEOF
31454 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31455 _ACEOF
31456
31457
31458 else
31459 :
31460
31461 fi
31462 done
31463
31464
31465
31466 for wx_func in getpwuid_r
31467 do
31468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31469 $as_echo_n "checking for $wx_func... " >&6; }
31470 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31471 $as_echo_n "(cached) " >&6
31472 else
31473
31474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31475 /* end confdefs.h. */
31476
31477
31478
31479 #define _REENTRANT
31480 #include <pwd.h>
31481
31482 $ac_includes_default
31483
31484 int
31485 main ()
31486 {
31487
31488 #ifndef $wx_func
31489 &$wx_func;
31490 #endif
31491
31492 struct passwd pw, *ppw;
31493 char buf[1024];
31494 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31495
31496
31497 ;
31498 return 0;
31499 }
31500
31501 _ACEOF
31502 if ac_fn_c_try_link "$LINENO"; then :
31503 eval wx_cv_func_$wx_func=yes
31504 else
31505 eval wx_cv_func_$wx_func=no
31506 fi
31507 rm -f core conftest.err conftest.$ac_objext \
31508 conftest$ac_exeext conftest.$ac_ext
31509
31510 fi
31511 eval ac_res=\$wx_cv_func_$wx_func
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31513 $as_echo "$ac_res" >&6; }
31514
31515 if eval test \$wx_cv_func_$wx_func = yes
31516 then
31517 cat >>confdefs.h <<_ACEOF
31518 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31519 _ACEOF
31520
31521
31522 else
31523 :
31524
31525 fi
31526 done
31527
31528
31529
31530 for wx_func in getgrgid_r
31531 do
31532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31533 $as_echo_n "checking for $wx_func... " >&6; }
31534 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31535 $as_echo_n "(cached) " >&6
31536 else
31537
31538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31539 /* end confdefs.h. */
31540
31541
31542
31543 #define _REENTRANT
31544 #include <grp.h>
31545
31546 $ac_includes_default
31547
31548 int
31549 main ()
31550 {
31551
31552 #ifndef $wx_func
31553 &$wx_func;
31554 #endif
31555
31556 struct group grp, *pgrp;
31557 char buf[1024];
31558 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31559
31560
31561 ;
31562 return 0;
31563 }
31564
31565 _ACEOF
31566 if ac_fn_c_try_link "$LINENO"; then :
31567 eval wx_cv_func_$wx_func=yes
31568 else
31569 eval wx_cv_func_$wx_func=no
31570 fi
31571 rm -f core conftest.err conftest.$ac_objext \
31572 conftest$ac_exeext conftest.$ac_ext
31573
31574 fi
31575 eval ac_res=\$wx_cv_func_$wx_func
31576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31577 $as_echo "$ac_res" >&6; }
31578
31579 if eval test \$wx_cv_func_$wx_func = yes
31580 then
31581 cat >>confdefs.h <<_ACEOF
31582 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31583 _ACEOF
31584
31585
31586 else
31587 :
31588
31589 fi
31590 done
31591
31592 fi
31593
31594 fi
31595
31596
31597
31598 cat >confcache <<\_ACEOF
31599 # This file is a shell script that caches the results of configure
31600 # tests run on this system so they can be shared between configure
31601 # scripts and configure runs, see configure's option --config-cache.
31602 # It is not useful on other systems. If it contains results you don't
31603 # want to keep, you may remove or edit it.
31604 #
31605 # config.status only pays attention to the cache file if you give it
31606 # the --recheck option to rerun configure.
31607 #
31608 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31609 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31610 # following values.
31611
31612 _ACEOF
31613
31614 # The following way of writing the cache mishandles newlines in values,
31615 # but we know of no workaround that is simple, portable, and efficient.
31616 # So, we kill variables containing newlines.
31617 # Ultrix sh set writes to stderr and can't be redirected directly,
31618 # and sets the high bit in the cache file unless we assign to the vars.
31619 (
31620 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31621 eval ac_val=\$$ac_var
31622 case $ac_val in #(
31623 *${as_nl}*)
31624 case $ac_var in #(
31625 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31626 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31627 esac
31628 case $ac_var in #(
31629 _ | IFS | as_nl) ;; #(
31630 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31631 *) { eval $ac_var=; unset $ac_var;} ;;
31632 esac ;;
31633 esac
31634 done
31635
31636 (set) 2>&1 |
31637 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31638 *${as_nl}ac_space=\ *)
31639 # `set' does not quote correctly, so add quotes: double-quote
31640 # substitution turns \\\\ into \\, and sed turns \\ into \.
31641 sed -n \
31642 "s/'/'\\\\''/g;
31643 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31644 ;; #(
31645 *)
31646 # `set' quotes correctly as required by POSIX, so do not add quotes.
31647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31648 ;;
31649 esac |
31650 sort
31651 ) |
31652 sed '
31653 /^ac_cv_env_/b end
31654 t clear
31655 :clear
31656 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31657 t end
31658 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31659 :end' >>confcache
31660 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31661 if test -w "$cache_file"; then
31662 test "x$cache_file" != "x/dev/null" &&
31663 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31664 $as_echo "$as_me: updating cache $cache_file" >&6;}
31665 cat confcache >$cache_file
31666 else
31667 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31668 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31669 fi
31670 fi
31671 rm -f confcache
31672
31673
31674 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31675
31676
31677 THREADS_LINK=
31678 THREADS_CFLAGS=
31679
31680 if test "$wxUSE_THREADS" = "yes" ; then
31681 if test "$USE_BEOS" = 1; then
31682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31683 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31684 wxUSE_THREADS="no"
31685 fi
31686 fi
31687
31688 if test "$wxUSE_THREADS" = "yes" ; then
31689
31690
31691 THREAD_OPTS="-pthread"
31692 if test "x$SUNCXX" = xyes; then
31693 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31694 fi
31695
31696 case "${host}" in
31697 *-*-solaris2* | *-*-sunos4* )
31698 if test "x$GCC" = "xyes"; then
31699 THREAD_OPTS="-pthreads $THREAD_OPTS"
31700 fi
31701 ;;
31702 *-*-freebsd*)
31703 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31704 ;;
31705 *-*-darwin* | *-*-cygwin* )
31706 THREAD_OPTS=""
31707 ;;
31708 *-*-aix*)
31709 THREAD_OPTS="pthreads"
31710 ;;
31711 *-hp-hpux* )
31712 if test "x$GCC" = "xyes"; then
31713 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31714 THREAD_OPTS=""
31715 else
31716 THREAD_OPTS="-mt"
31717 fi
31718 ;;
31719
31720 *-*-irix* )
31721 if test "x$GCC" = "xyes"; then
31722 THREAD_OPTS=""
31723 fi
31724 ;;
31725
31726 *-*-qnx*)
31727 THREAD_OPTS=""
31728 ;;
31729
31730 *-*-*UnixWare*)
31731 if test "x$GCC" != "xyes"; then
31732 THREAD_OPTS="-Ethread"
31733 fi
31734 ;;
31735 esac
31736
31737 case "${host}" in
31738 *-*-qnx*)
31739 THREAD_OPTS="none pthread"
31740 ;;
31741
31742 *)
31743 THREAD_OPTS="$THREAD_OPTS pthread none"
31744 ;;
31745 esac
31746
31747 THREADS_OK=no
31748 for flag in $THREAD_OPTS; do
31749 case $flag in
31750 none)
31751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31752 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31753 ;;
31754
31755 -*)
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31757 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31758 THREADS_CFLAGS="$flag"
31759 ;;
31760
31761 *)
31762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31763 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31764 THREADS_LINK="-l$flag"
31765 ;;
31766 esac
31767
31768 save_LIBS="$LIBS"
31769 save_CFLAGS="$CFLAGS"
31770 LIBS="$THREADS_LINK $LIBS"
31771 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31772
31773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31774 /* end confdefs.h. */
31775 #include <pthread.h>
31776 int
31777 main ()
31778 {
31779 pthread_create(0,0,0,0);
31780 ;
31781 return 0;
31782 }
31783 _ACEOF
31784 if ac_fn_c_try_link "$LINENO"; then :
31785 THREADS_OK=yes
31786 fi
31787 rm -f core conftest.err conftest.$ac_objext \
31788 conftest$ac_exeext conftest.$ac_ext
31789
31790 LIBS="$save_LIBS"
31791 CFLAGS="$save_CFLAGS"
31792
31793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31794 $as_echo "$THREADS_OK" >&6; }
31795 if test "x$THREADS_OK" = "xyes"; then
31796 break;
31797 fi
31798
31799 THREADS_LINK=""
31800 THREADS_CFLAGS=""
31801 done
31802
31803 if test "x$THREADS_OK" != "xyes"; then
31804 wxUSE_THREADS=no
31805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31806 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31807 else
31808 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31809 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31810 LIBS="$THREADS_LINK $LIBS"
31811
31812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31813 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31814 flag=no
31815 case "${host}" in
31816 *-aix*)
31817 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31818 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31819 flag="-D_THREAD_SAFE"
31820 ;;
31821 *-freebsd*)
31822 flag="-D_THREAD_SAFE"
31823 ;;
31824 *-hp-hpux* )
31825 flag="-D_REENTRANT"
31826 if test "x$GCC" != "xyes"; then
31827 flag="$flag -D_RWSTD_MULTI_THREAD"
31828 fi
31829 ;;
31830 *solaris* | alpha*-osf*)
31831 flag="-D_REENTRANT"
31832 ;;
31833 esac
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31835 $as_echo "${flag}" >&6; }
31836 if test "x$flag" != xno; then
31837 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31838 fi
31839
31840 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31841 fi
31842 fi
31843
31844 if test "$wxUSE_THREADS" = "yes" ; then
31845 for ac_func in pthread_setconcurrency
31846 do :
31847 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31848 if test "x$ac_cv_func_pthread_setconcurrency" = x""yes; then :
31849 cat >>confdefs.h <<_ACEOF
31850 #define HAVE_PTHREAD_SETCONCURRENCY 1
31851 _ACEOF
31852 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31853
31854 else
31855
31856 for ac_func in thr_setconcurrency
31857 do :
31858 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31859 if test "x$ac_cv_func_thr_setconcurrency" = x""yes; then :
31860 cat >>confdefs.h <<_ACEOF
31861 #define HAVE_THR_SETCONCURRENCY 1
31862 _ACEOF
31863 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31864
31865 else
31866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31867 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31868 fi
31869 done
31870
31871
31872 fi
31873 done
31874
31875
31876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31877 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31878 if test "${wx_cv_func_pthread_cleanup+set}" = set; then :
31879 $as_echo_n "(cached) " >&6
31880 else
31881
31882 ac_ext=cpp
31883 ac_cpp='$CXXCPP $CPPFLAGS'
31884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31887
31888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31889 /* end confdefs.h. */
31890 #include <pthread.h>
31891 void ThreadCleanupFunc(void *p);
31892
31893 int
31894 main ()
31895 {
31896
31897 void *p;
31898 pthread_cleanup_push(ThreadCleanupFunc, p);
31899 pthread_cleanup_pop(0);
31900
31901 ;
31902 return 0;
31903 }
31904 _ACEOF
31905 if ac_fn_cxx_try_compile "$LINENO"; then :
31906
31907 wx_cv_func_pthread_cleanup=yes
31908
31909 else
31910
31911 wx_cv_func_pthread_cleanup=no
31912
31913
31914 fi
31915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31916 ac_ext=c
31917 ac_cpp='$CPP $CPPFLAGS'
31918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31921
31922
31923 fi
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31925 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31926 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31927 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31928
31929 fi
31930
31931 for ac_header in sched.h
31932 do :
31933 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31934 "
31935 if test "x$ac_cv_header_sched_h" = x""yes; then :
31936 cat >>confdefs.h <<_ACEOF
31937 #define HAVE_SCHED_H 1
31938 _ACEOF
31939
31940 fi
31941
31942 done
31943
31944 if test "$ac_cv_header_sched_h" = "yes"; then
31945 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31946 if test "x$ac_cv_func_sched_yield" = x""yes; then :
31947 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31948
31949 else
31950
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31952 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31953 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
31954 $as_echo_n "(cached) " >&6
31955 else
31956 ac_check_lib_save_LIBS=$LIBS
31957 LIBS="-lposix4 $LIBS"
31958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31959 /* end confdefs.h. */
31960
31961 /* Override any GCC internal prototype to avoid an error.
31962 Use char because int might match the return type of a GCC
31963 builtin and then its argument prototype would still apply. */
31964 #ifdef __cplusplus
31965 extern "C"
31966 #endif
31967 char sched_yield ();
31968 int
31969 main ()
31970 {
31971 return sched_yield ();
31972 ;
31973 return 0;
31974 }
31975 _ACEOF
31976 if ac_fn_c_try_link "$LINENO"; then :
31977 ac_cv_lib_posix4_sched_yield=yes
31978 else
31979 ac_cv_lib_posix4_sched_yield=no
31980 fi
31981 rm -f core conftest.err conftest.$ac_objext \
31982 conftest$ac_exeext conftest.$ac_ext
31983 LIBS=$ac_check_lib_save_LIBS
31984 fi
31985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31986 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31987 if test "x$ac_cv_lib_posix4_sched_yield" = x""yes; then :
31988 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31989 POSIX4_LINK=" -lposix4"
31990 else
31991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31992 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31993
31994 fi
31995
31996
31997
31998 fi
31999
32000 fi
32001
32002 HAVE_PRIOR_FUNCS=0
32003 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32004 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x""yes; then :
32005 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32006 if test "x$ac_cv_func_pthread_attr_setschedparam" = x""yes; then :
32007 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32008 if test "x$ac_cv_func_sched_get_priority_max" = x""yes; then :
32009 HAVE_PRIOR_FUNCS=1
32010 else
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32012 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32013 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then :
32014 $as_echo_n "(cached) " >&6
32015 else
32016 ac_check_lib_save_LIBS=$LIBS
32017 LIBS="-lposix4 $LIBS"
32018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32019 /* end confdefs.h. */
32020
32021 /* Override any GCC internal prototype to avoid an error.
32022 Use char because int might match the return type of a GCC
32023 builtin and then its argument prototype would still apply. */
32024 #ifdef __cplusplus
32025 extern "C"
32026 #endif
32027 char sched_get_priority_max ();
32028 int
32029 main ()
32030 {
32031 return sched_get_priority_max ();
32032 ;
32033 return 0;
32034 }
32035 _ACEOF
32036 if ac_fn_c_try_link "$LINENO"; then :
32037 ac_cv_lib_posix4_sched_get_priority_max=yes
32038 else
32039 ac_cv_lib_posix4_sched_get_priority_max=no
32040 fi
32041 rm -f core conftest.err conftest.$ac_objext \
32042 conftest$ac_exeext conftest.$ac_ext
32043 LIBS=$ac_check_lib_save_LIBS
32044 fi
32045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32046 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32047 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x""yes; then :
32048
32049 HAVE_PRIOR_FUNCS=1
32050 POSIX4_LINK=" -lposix4"
32051
32052 fi
32053
32054
32055 fi
32056
32057
32058 fi
32059
32060
32061 fi
32062
32063
32064 if test "$HAVE_PRIOR_FUNCS" = 1; then
32065 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32066
32067 else
32068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32069 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32070 fi
32071
32072 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32073 if test "x$ac_cv_func_pthread_cancel" = x""yes; then :
32074 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32075
32076 else
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32078 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32079 fi
32080
32081
32082 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32083 if test "x$ac_cv_func_pthread_mutex_timedlock" = x""yes; then :
32084 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32085
32086 else
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32088 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32089 fi
32090
32091
32092 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32093 if test "x$ac_cv_func_pthread_attr_setstacksize" = x""yes; then :
32094 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32095
32096 fi
32097
32098
32099
32100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32101 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32102 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then :
32103 $as_echo_n "(cached) " >&6
32104 else
32105
32106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32107 /* end confdefs.h. */
32108 #include <pthread.h>
32109 int
32110 main ()
32111 {
32112
32113 pthread_mutexattr_t attr;
32114 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32115
32116 ;
32117 return 0;
32118 }
32119 _ACEOF
32120 if ac_fn_c_try_compile "$LINENO"; then :
32121 wx_cv_type_pthread_mutexattr_t=yes
32122 else
32123 wx_cv_type_pthread_mutexattr_t=no
32124
32125 fi
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127
32128 fi
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32130 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32131
32132 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32133 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32134
32135
32136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32137 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32138 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then :
32139 $as_echo_n "(cached) " >&6
32140 else
32141
32142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32143 /* end confdefs.h. */
32144 #include <pthread.h>
32145 int
32146 main ()
32147 {
32148
32149 pthread_mutexattr_t attr;
32150 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32151
32152 ;
32153 return 0;
32154 }
32155 _ACEOF
32156 if ac_fn_c_try_compile "$LINENO"; then :
32157 wx_cv_func_pthread_mutexattr_settype_decl=yes
32158 else
32159 wx_cv_func_pthread_mutexattr_settype_decl=no
32160
32161 fi
32162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32163
32164 fi
32165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32166 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32167 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32168 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32169
32170 fi
32171 else
32172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32173 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32174 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then :
32175 $as_echo_n "(cached) " >&6
32176 else
32177
32178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32179 /* end confdefs.h. */
32180 #include <pthread.h>
32181 int
32182 main ()
32183 {
32184
32185 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32186
32187 ;
32188 return 0;
32189 }
32190 _ACEOF
32191 if ac_fn_c_try_compile "$LINENO"; then :
32192
32193 wx_cv_type_pthread_rec_mutex_init=yes
32194
32195 else
32196
32197 wx_cv_type_pthread_rec_mutex_init=no
32198
32199
32200 fi
32201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32202
32203 fi
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32205 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32206 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32207 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32208
32209 else
32210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32211 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32212 fi
32213 fi
32214
32215 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32216 if test "$USE_NETBSD" = 1; then
32217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32218 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32219 wxUSE_COMPILER_TLS=no
32220 else
32221 wxUSE_COMPILER_TLS=yes
32222 fi
32223 fi
32224
32225 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32227 $as_echo_n "checking for __thread keyword... " >&6; }
32228 if test "${wx_cv_cc___thread+set}" = set; then :
32229 $as_echo_n "(cached) " >&6
32230 else
32231
32232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32233 /* end confdefs.h. */
32234 #include <pthread.h>
32235 int
32236 main ()
32237 {
32238
32239 static __thread int n = 0;
32240 static __thread int *p = 0;
32241
32242 ;
32243 return 0;
32244 }
32245 _ACEOF
32246 if ac_fn_c_try_compile "$LINENO"; then :
32247 wx_cv_cc___thread=yes
32248 else
32249 wx_cv_cc___thread=no
32250
32251 fi
32252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32253
32254
32255 fi
32256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32257 $as_echo "$wx_cv_cc___thread" >&6; }
32258
32259 if test "$wx_cv_cc___thread" = "yes"; then
32260
32261 GXX_VERSION=""
32262
32263
32264
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32266 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32267
32268 if test "x$GCC" = "xyes" ; then :
32269
32270 if test -z "" ; then :
32271
32272 ax_gcc_option_test="int main()
32273 {
32274 return 0;
32275 }"
32276
32277 else
32278
32279 ax_gcc_option_test=""
32280
32281 fi
32282
32283 # Dump the test program to file
32284 cat <<EOF > conftest.c
32285 $ax_gcc_option_test
32286 EOF
32287
32288 # Dump back the file to the log, useful for debugging purposes
32289 { ac_try='cat conftest.c 1>&5'
32290 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32291 (eval $ac_try) 2>&5
32292 ac_status=$?
32293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32294 test $ac_status = 0; }; }
32295
32296 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32297 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32298 (eval $ac_try) 2>&5
32299 ac_status=$?
32300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32301 test $ac_status = 0; }; } ; then :
32302
32303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32304 $as_echo "yes" >&6; }
32305
32306 ax_gcc_version_option=yes
32307
32308
32309 else
32310
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32312 $as_echo "no" >&6; }
32313
32314 ax_gcc_version_option=no
32315
32316
32317 fi
32318
32319 else
32320
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32322 $as_echo "no gcc available" >&6; }
32323
32324 fi
32325
32326 if test "x$GXX" = "xyes"; then :
32327
32328 if test "x$ax_gxx_version_option" != "no"; then :
32329
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32331 $as_echo_n "checking gxx version... " >&6; }
32332 if test "${ax_cv_gxx_version+set}" = set; then :
32333 $as_echo_n "(cached) " >&6
32334 else
32335
32336 ax_cv_gxx_version="`$CXX -dumpversion`"
32337 if test "x$ax_cv_gxx_version" = "x"; then :
32338
32339 ax_cv_gxx_version=""
32340
32341 fi
32342
32343 fi
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32345 $as_echo "$ax_cv_gxx_version" >&6; }
32346 GXX_VERSION=$ax_cv_gxx_version
32347
32348 fi
32349
32350 fi
32351
32352
32353 if test -n "$ax_cv_gxx_version"; then
32354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32355 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32356 case "$ax_cv_gxx_version" in
32357 1.* | 2.* | 3.* )
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32359 $as_echo "no, it's broken" >&6; }
32360 wx_cv_cc___thread=no
32361 ;;
32362 *)
32363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32364 $as_echo "yes, it works" >&6; }
32365 ;;
32366 esac
32367 fi
32368 fi
32369
32370 if test "$wx_cv_cc___thread" = "yes"; then
32371 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32372
32373 fi
32374 fi
32375 fi
32376
32377 else
32378 if test "$wxUSE_THREADS" = "yes" ; then
32379 case "${host}" in
32380 x86_64-*-mingw32* )
32381 ;;
32382 *-*-mingw32* )
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32384 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32385 if test "${wx_cv_cflags_mthread+set}" = set; then :
32386 $as_echo_n "(cached) " >&6
32387 else
32388
32389 CFLAGS_OLD="$CFLAGS"
32390 CFLAGS="-mthreads $CFLAGS"
32391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32392 /* end confdefs.h. */
32393
32394 int
32395 main ()
32396 {
32397
32398 ;
32399 return 0;
32400 }
32401 _ACEOF
32402 if ac_fn_c_try_compile "$LINENO"; then :
32403 wx_cv_cflags_mthread=yes
32404 else
32405 wx_cv_cflags_mthread=no
32406
32407 fi
32408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32409
32410
32411 fi
32412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32413 $as_echo "$wx_cv_cflags_mthread" >&6; }
32414
32415 if test "$wx_cv_cflags_mthread" = "yes"; then
32416 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32417 LDFLAGS="$LDFLAGS -mthreads"
32418 else
32419 CFLAGS="$CFLAGS_OLD"
32420 fi
32421 ;;
32422 *-pc-os2*emx )
32423 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32424 LDFLAGS="$LDFLAGS -Zmt"
32425 ;;
32426 esac
32427 fi
32428 fi
32429
32430 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32431 if test "x$ac_cv_func_localtime_r" = x""yes; then :
32432 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32433
32434 fi
32435
32436 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32437 if test "x$ac_cv_func_gmtime_r" = x""yes; then :
32438 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32439
32440 fi
32441
32442
32443
32444
32445 ac_ext=c
32446 ac_cpp='$CPP $CPPFLAGS'
32447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32450
32451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32452 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32453
32454 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
32455 $as_echo_n "(cached) " >&6
32456 else
32457
32458
32459 ################################################################
32460
32461 ac_cv_func_which_gethostbyname_r=unknown
32462
32463 #
32464 # ONE ARGUMENT (sanity check)
32465 #
32466
32467 # This should fail, as there is no variant of gethostbyname_r() that takes
32468 # a single argument. If it actually compiles, then we can assume that
32469 # netdb.h is not declaring the function, and the compiler is thereby
32470 # assuming an implicit prototype. In which case, we're out of luck.
32471 #
32472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32473 /* end confdefs.h. */
32474 #include <netdb.h>
32475 int
32476 main ()
32477 {
32478
32479 char *name = "www.gnu.org";
32480 (void)gethostbyname_r(name) /* ; */
32481
32482
32483 ;
32484 return 0;
32485 }
32486 _ACEOF
32487 if ac_fn_c_try_compile "$LINENO"; then :
32488 ac_cv_func_which_gethostbyname_r=no
32489
32490 fi
32491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32492
32493 #
32494 # SIX ARGUMENTS
32495 # (e.g. Linux)
32496 #
32497
32498 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32499
32500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32501 /* end confdefs.h. */
32502 #include <netdb.h>
32503 int
32504 main ()
32505 {
32506
32507 char *name = "www.gnu.org";
32508 struct hostent ret, *retp;
32509 char buf[1024];
32510 int buflen = 1024;
32511 int my_h_errno;
32512 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32513
32514
32515 ;
32516 return 0;
32517 }
32518 _ACEOF
32519 if ac_fn_c_try_compile "$LINENO"; then :
32520 ac_cv_func_which_gethostbyname_r=six
32521
32522 fi
32523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32524
32525 fi
32526
32527 #
32528 # FIVE ARGUMENTS
32529 # (e.g. Solaris)
32530 #
32531
32532 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32533
32534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32535 /* end confdefs.h. */
32536 #include <netdb.h>
32537 int
32538 main ()
32539 {
32540
32541 char *name = "www.gnu.org";
32542 struct hostent ret;
32543 char buf[1024];
32544 int buflen = 1024;
32545 int my_h_errno;
32546 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32547
32548
32549 ;
32550 return 0;
32551 }
32552 _ACEOF
32553 if ac_fn_c_try_compile "$LINENO"; then :
32554 ac_cv_func_which_gethostbyname_r=five
32555
32556 fi
32557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32558
32559 fi
32560
32561 #
32562 # THREE ARGUMENTS
32563 # (e.g. AIX, HP-UX, Tru64)
32564 #
32565
32566 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32567
32568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32569 /* end confdefs.h. */
32570 #include <netdb.h>
32571 int
32572 main ()
32573 {
32574
32575 char *name = "www.gnu.org";
32576 struct hostent ret;
32577 struct hostent_data data;
32578 (void)gethostbyname_r(name, &ret, &data) /* ; */
32579
32580
32581 ;
32582 return 0;
32583 }
32584 _ACEOF
32585 if ac_fn_c_try_compile "$LINENO"; then :
32586 ac_cv_func_which_gethostbyname_r=three
32587
32588 fi
32589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32590
32591 fi
32592
32593 ################################################################
32594
32595
32596 fi
32597
32598 case "$ac_cv_func_which_gethostbyname_r" in
32599 three)
32600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32601 $as_echo "three" >&6; }
32602 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32603
32604 ;;
32605
32606 five)
32607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32608 $as_echo "five" >&6; }
32609 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32610
32611 ;;
32612
32613 six)
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32615 $as_echo "six" >&6; }
32616 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32617
32618 ;;
32619
32620 no)
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32622 $as_echo "cannot find function declaration in netdb.h" >&6; }
32623 ;;
32624
32625 unknown)
32626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32627 $as_echo "can't tell" >&6; }
32628 ;;
32629
32630 *)
32631 as_fn_error $? "internal error" "$LINENO" 5
32632 ;;
32633 esac
32634
32635 ac_ext=c
32636 ac_cpp='$CPP $CPPFLAGS'
32637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32640
32641
32642
32643 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32644 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32645 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32646 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
32647 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32648
32649 fi
32650
32651 fi
32652
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32654 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32655 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then :
32656 $as_echo_n "(cached) " >&6
32657 else
32658
32659 ac_ext=cpp
32660 ac_cpp='$CXXCPP $CPPFLAGS'
32661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32664
32665
32666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32667 /* end confdefs.h. */
32668 #include <netdb.h>
32669 int
32670 main ()
32671 {
32672
32673 char *name;
32674 char *proto;
32675 struct servent *se, *res;
32676 char buffer[2048];
32677 int buflen = 2048;
32678 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32679
32680 ;
32681 return 0;
32682 }
32683 _ACEOF
32684 if ac_fn_cxx_try_compile "$LINENO"; then :
32685 ac_cv_func_which_getservbyname_r=six
32686 else
32687
32688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32689 /* end confdefs.h. */
32690 #include <netdb.h>
32691 int
32692 main ()
32693 {
32694
32695 char *name;
32696 char *proto;
32697 struct servent *se;
32698 char buffer[2048];
32699 int buflen = 2048;
32700 (void) getservbyname_r(name, proto, se, buffer, buflen)
32701
32702 ;
32703 return 0;
32704 }
32705 _ACEOF
32706 if ac_fn_cxx_try_compile "$LINENO"; then :
32707 ac_cv_func_which_getservbyname_r=five
32708 else
32709
32710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32711 /* end confdefs.h. */
32712 #include <netdb.h>
32713 int
32714 main ()
32715 {
32716
32717 char *name;
32718 char *proto;
32719 struct servent *se;
32720 struct servent_data data;
32721 (void) getservbyname_r(name, proto, se, &data);
32722
32723 ;
32724 return 0;
32725 }
32726 _ACEOF
32727 if ac_fn_cxx_try_compile "$LINENO"; then :
32728 ac_cv_func_which_getservbyname_r=four
32729 else
32730 ac_cv_func_which_getservbyname_r=no
32731
32732 fi
32733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32734
32735
32736 fi
32737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32738
32739
32740 fi
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 ac_ext=c
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32747
32748
32749
32750 fi
32751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32752 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32753
32754 if test $ac_cv_func_which_getservbyname_r = six; then
32755 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32756
32757 elif test $ac_cv_func_which_getservbyname_r = five; then
32758 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32759
32760 elif test $ac_cv_func_which_getservbyname_r = four; then
32761 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32762
32763 fi
32764
32765
32766 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32767 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32768 for ac_func in getservbyname
32769 do :
32770 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32771 if test "x$ac_cv_func_getservbyname" = x""yes; then :
32772 cat >>confdefs.h <<_ACEOF
32773 #define HAVE_GETSERVBYNAME 1
32774 _ACEOF
32775 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32776
32777 fi
32778 done
32779
32780 fi
32781
32782 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32783
32784
32785 if test "$wxUSE_THREADS" = "yes"; then
32786 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32787
32788
32789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32790 else
32791 if test "$wx_cv_func_strtok_r" = "yes"; then
32792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32793 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32794 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32795 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32797 $as_echo "yes" >&6; }
32798 else
32799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32800 $as_echo "no" >&6; }
32801 fi
32802 fi
32803 fi
32804
32805 if test "$WXGTK3" = 1 ; then
32806 cat >>confdefs.h <<_ACEOF
32807 #define __WXGTK3__ 1
32808 _ACEOF
32809
32810 WXGTK2=1
32811 fi
32812 if test "$WXGTK2" = 1 ; then
32813 cat >>confdefs.h <<_ACEOF
32814 #define __WXGTK20__ $WXGTK2
32815 _ACEOF
32816
32817 fi
32818
32819 if test "$WXGTK127" = 1 ; then
32820 cat >>confdefs.h <<_ACEOF
32821 #define __WXGTK127__ $WXGTK127
32822 _ACEOF
32823
32824 fi
32825
32826 if test "$WXGPE" = 1 ; then
32827 cat >>confdefs.h <<_ACEOF
32828 #define __WXGPE__ $WXGPE
32829 _ACEOF
32830
32831 fi
32832
32833 DEBUG_CFLAGS=
32834 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32836 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32837 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32838 DEBUG_CFLAGS="-g"
32839 fi
32840
32841 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32842 wxUSE_DEBUG_INFO=yes
32843 if test "$GCC" = yes; then
32844 DEBUG_CFLAGS="-ggdb"
32845 fi
32846 fi
32847
32848 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32849 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32850
32851 if test "$wxUSE_GTK" = 1 ; then
32852 if test "$WXGTK2" = 1 ; then
32853 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32854 else
32855 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32856 fi
32857 fi
32858 fi
32859
32860 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32861 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32862
32863 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32864
32865 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32866
32867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32868 fi
32869
32870 if test "$wxUSE_DMALLOC" = "yes" ; then
32871 DMALLOC_LIBS="-ldmallocthcxx"
32872 fi
32873
32874 PROFILE_FLAGS=
32875 if test "$wxUSE_PROFILE" = "yes" ; then
32876 PROFILE_FLAGS=" -pg"
32877 fi
32878
32879 if test "$GCC" = "yes" ; then
32880 if test "$wxUSE_NO_RTTI" = "yes" ; then
32881 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32882 fi
32883 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32884 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32885 fi
32886 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32887 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32888 fi
32889
32890 case "${host}" in
32891 powerpc*-*-aix* )
32892 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32893 ;;
32894 *-hppa* )
32895 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32896 ;;
32897 esac
32898 fi
32899
32900 OPTIMISE_CFLAGS=
32901 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32903 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32904 else
32905 if test "$wxUSE_OPTIMISE" = "no" ; then
32906 if test "$GCC" = yes ; then
32907 OPTIMISE_CFLAGS="-O0"
32908 fi
32909 else
32910 if test "$GCC" = yes ; then
32911 case "${host}" in
32912 *-pc-os2_emx | *-pc-os2-emx )
32913 OPTIMISE_CFLAGS="-O2"
32914 ;;
32915 *)
32916 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32917 ;;
32918 esac
32919 else
32920 OPTIMISE_CFLAGS="-O"
32921 fi
32922 fi
32923 fi
32924
32925
32926 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32927 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32928
32929
32930 WXWIN_COMPATIBILITY_2_8="yes"
32931 fi
32932
32933 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32934 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32935
32936 fi
32937
32938
32939 if test "$wxUSE_GUI" = "yes"; then
32940 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32941
32942
32943 fi
32944
32945
32946 if test "$wxUSE_UNIX" = "yes"; then
32947 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32948
32949 fi
32950
32951
32952 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32953
32954 HAVE_DL_FUNCS=0
32955 HAVE_SHL_FUNCS=0
32956 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32957 if test "$USE_DOS" = 1; then
32958 HAVE_DL_FUNCS=0
32959 else
32960 for ac_func in dlopen
32961 do :
32962 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32963 if test "x$ac_cv_func_dlopen" = x""yes; then :
32964 cat >>confdefs.h <<_ACEOF
32965 #define HAVE_DLOPEN 1
32966 _ACEOF
32967
32968 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32969
32970 HAVE_DL_FUNCS=1
32971
32972 else
32973
32974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32975 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32976 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32977 $as_echo_n "(cached) " >&6
32978 else
32979 ac_check_lib_save_LIBS=$LIBS
32980 LIBS="-ldl $LIBS"
32981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32982 /* end confdefs.h. */
32983
32984 /* Override any GCC internal prototype to avoid an error.
32985 Use char because int might match the return type of a GCC
32986 builtin and then its argument prototype would still apply. */
32987 #ifdef __cplusplus
32988 extern "C"
32989 #endif
32990 char dlopen ();
32991 int
32992 main ()
32993 {
32994 return dlopen ();
32995 ;
32996 return 0;
32997 }
32998 _ACEOF
32999 if ac_fn_c_try_link "$LINENO"; then :
33000 ac_cv_lib_dl_dlopen=yes
33001 else
33002 ac_cv_lib_dl_dlopen=no
33003 fi
33004 rm -f core conftest.err conftest.$ac_objext \
33005 conftest$ac_exeext conftest.$ac_ext
33006 LIBS=$ac_check_lib_save_LIBS
33007 fi
33008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33009 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33010 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
33011
33012 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33013
33014 HAVE_DL_FUNCS=1
33015 DL_LINK=" -ldl$DL_LINK"
33016
33017 else
33018
33019 for ac_func in shl_load
33020 do :
33021 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
33022 if test "x$ac_cv_func_shl_load" = x""yes; then :
33023 cat >>confdefs.h <<_ACEOF
33024 #define HAVE_SHL_LOAD 1
33025 _ACEOF
33026
33027 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33028
33029 HAVE_SHL_FUNCS=1
33030
33031 else
33032
33033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33034 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33035 if test "${ac_cv_lib_shl_load_dld+set}" = set; then :
33036 $as_echo_n "(cached) " >&6
33037 else
33038 ac_check_lib_save_LIBS=$LIBS
33039 LIBS="-lshl_load $LIBS"
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042
33043 /* Override any GCC internal prototype to avoid an error.
33044 Use char because int might match the return type of a GCC
33045 builtin and then its argument prototype would still apply. */
33046 #ifdef __cplusplus
33047 extern "C"
33048 #endif
33049 char dld ();
33050 int
33051 main ()
33052 {
33053 return dld ();
33054 ;
33055 return 0;
33056 }
33057 _ACEOF
33058 if ac_fn_c_try_link "$LINENO"; then :
33059 ac_cv_lib_shl_load_dld=yes
33060 else
33061 ac_cv_lib_shl_load_dld=no
33062 fi
33063 rm -f core conftest.err conftest.$ac_objext \
33064 conftest$ac_exeext conftest.$ac_ext
33065 LIBS=$ac_check_lib_save_LIBS
33066 fi
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33068 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33069 if test "x$ac_cv_lib_shl_load_dld" = x""yes; then :
33070
33071 HAVE_SHL_FUNCS=1
33072 DL_LINK=" -ldld$DL_LINK"
33073
33074 fi
33075
33076
33077 fi
33078 done
33079
33080
33081 fi
33082
33083
33084 fi
33085 done
33086
33087
33088 if test "$HAVE_DL_FUNCS" = 1; then
33089 for ac_func in dlerror
33090 do :
33091 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
33092 if test "x$ac_cv_func_dlerror" = x""yes; then :
33093 cat >>confdefs.h <<_ACEOF
33094 #define HAVE_DLERROR 1
33095 _ACEOF
33096 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33097
33098 else
33099
33100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33101 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33102 if test "${ac_cv_lib_dl_dlerror+set}" = set; then :
33103 $as_echo_n "(cached) " >&6
33104 else
33105 ac_check_lib_save_LIBS=$LIBS
33106 LIBS="-ldl $LIBS"
33107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33108 /* end confdefs.h. */
33109
33110 /* Override any GCC internal prototype to avoid an error.
33111 Use char because int might match the return type of a GCC
33112 builtin and then its argument prototype would still apply. */
33113 #ifdef __cplusplus
33114 extern "C"
33115 #endif
33116 char dlerror ();
33117 int
33118 main ()
33119 {
33120 return dlerror ();
33121 ;
33122 return 0;
33123 }
33124 _ACEOF
33125 if ac_fn_c_try_link "$LINENO"; then :
33126 ac_cv_lib_dl_dlerror=yes
33127 else
33128 ac_cv_lib_dl_dlerror=no
33129 fi
33130 rm -f core conftest.err conftest.$ac_objext \
33131 conftest$ac_exeext conftest.$ac_ext
33132 LIBS=$ac_check_lib_save_LIBS
33133 fi
33134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33135 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33136 if test "x$ac_cv_lib_dl_dlerror" = x""yes; then :
33137 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33138
33139 fi
33140
33141
33142
33143 fi
33144 done
33145
33146 fi
33147 fi
33148
33149 if test "$USE_DARWIN" = 1; then
33150 HAVE_DL_FUNCS=1
33151 fi
33152
33153 if test "$HAVE_DL_FUNCS" = 0; then
33154 if test "$HAVE_SHL_FUNCS" = 0; then
33155 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33157 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33158 wxUSE_DYNAMIC_LOADER=no
33159 wxUSE_DYNLIB_CLASS=no
33160 else
33161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33162 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33163 fi
33164 fi
33165 fi
33166 fi
33167 fi
33168
33169 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33170 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33171
33172 fi
33173 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33174 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33175
33176 fi
33177
33178
33179
33180 if test "$wxUSE_PLUGINS" = "yes" ; then
33181 if test "$wxUSE_SHARED" = "no" ; then
33182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33183 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33184 wxUSE_PLUGINS=no
33185 fi
33186 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33188 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33189 wxUSE_PLUGINS=no
33190 fi
33191 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33193 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33194 wxUSE_PLUGINS=no
33195 fi
33196 if test "$wxUSE_PLUGINS" = "yes" ; then
33197 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33198
33199 fi
33200 fi
33201
33202
33203 if test "$wxUSE_FSWATCHER" = "yes"; then
33204 if test "$wxUSE_MSW" != "1"; then
33205 if test "$wxUSE_UNIX" = "yes"; then
33206 for ac_header in sys/inotify.h
33207 do :
33208 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33209 "
33210 if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
33211 cat >>confdefs.h <<_ACEOF
33212 #define HAVE_SYS_INOTIFY_H 1
33213 _ACEOF
33214
33215 fi
33216
33217 done
33218
33219 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33220 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33221
33222 else
33223 for ac_header in sys/event.h
33224 do :
33225 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33226 "
33227 if test "x$ac_cv_header_sys_event_h" = x""yes; then :
33228 cat >>confdefs.h <<_ACEOF
33229 #define HAVE_SYS_EVENT_H 1
33230 _ACEOF
33231
33232 fi
33233
33234 done
33235
33236 if test "$ac_cv_header_sys_event_h" = "yes"; then
33237 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33238
33239 else
33240 wxUSE_FSWATCHER=no
33241 fi
33242 fi
33243 else
33244 wxUSE_FSWATCHER=no
33245 fi
33246 else
33247 if test "$wxUSE_THREADS" != "yes"; then
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33249 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33250 wxUSE_FSWATCHER=no
33251 fi
33252 fi
33253
33254 if test "$wxUSE_FSWATCHER" = "yes"; then
33255 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33256
33257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33258 else
33259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33260 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33261 fi
33262 fi
33263
33264
33265 if test "$wxUSE_STL" = "yes"; then
33266 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33267
33268 fi
33269
33270 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33271 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33272
33273 fi
33274
33275 if test "$wxUSE_ANY" = "yes"; then
33276 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33277
33278 fi
33279
33280 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33281 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33282
33283 fi
33284
33285 if test "$wxUSE_TIMER" = "yes"; then
33286 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33287
33288 fi
33289
33290 if test "$USE_UNIX" = 1 ; then
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33292 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33293 if test "${ac_cv_header_sys_soundcard+set}" = set; then :
33294 $as_echo_n "(cached) " >&6
33295 else
33296
33297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33298 /* end confdefs.h. */
33299
33300 #include <sys/ioctl.h>
33301 #include <sys/soundcard.h>
33302
33303 int
33304 main ()
33305 {
33306
33307 ioctl(0, SNDCTL_DSP_SPEED, 0);
33308
33309 ;
33310 return 0;
33311 }
33312 _ACEOF
33313 if ac_fn_c_try_link "$LINENO"; then :
33314 ac_cv_header_sys_soundcard=yes
33315 else
33316
33317 saveLibs="$LIBS"
33318 LIBS="$saveLibs -lossaudio"
33319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33320 /* end confdefs.h. */
33321
33322 #include <sys/ioctl.h>
33323 #include <sys/soundcard.h>
33324
33325 int
33326 main ()
33327 {
33328
33329 ioctl(0, SNDCTL_DSP_SPEED, 0);
33330
33331 ;
33332 return 0;
33333 }
33334 _ACEOF
33335 if ac_fn_c_try_link "$LINENO"; then :
33336 ac_cv_header_sys_soundcard=yes
33337 else
33338
33339 LIBS="$saveLibs"
33340 ac_cv_header_sys_soundcard=no
33341
33342
33343 fi
33344 rm -f core conftest.err conftest.$ac_objext \
33345 conftest$ac_exeext conftest.$ac_ext
33346
33347
33348 fi
33349 rm -f core conftest.err conftest.$ac_objext \
33350 conftest$ac_exeext conftest.$ac_ext
33351
33352 fi
33353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33354 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33355
33356 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33357 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33358
33359 fi
33360 fi
33361
33362 WITH_PLUGIN_SDL=0
33363 if test "$wxUSE_SOUND" = "yes"; then
33364 if test "$USE_UNIX" = 1 ; then
33365 if test "$wxUSE_LIBSDL" != "no"; then
33366
33367 # Check whether --with-sdl-prefix was given.
33368 if test "${with_sdl_prefix+set}" = set; then :
33369 withval=$with_sdl_prefix; sdl_prefix="$withval"
33370 else
33371 sdl_prefix=""
33372 fi
33373
33374
33375 # Check whether --with-sdl-exec-prefix was given.
33376 if test "${with_sdl_exec_prefix+set}" = set; then :
33377 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33378 else
33379 sdl_exec_prefix=""
33380 fi
33381
33382 # Check whether --enable-sdltest was given.
33383 if test "${enable_sdltest+set}" = set; then :
33384 enableval=$enable_sdltest;
33385 else
33386 enable_sdltest=yes
33387 fi
33388
33389
33390 if test x$sdl_exec_prefix != x ; then
33391 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33392 if test x${SDL_CONFIG+set} != xset ; then
33393 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33394 fi
33395 fi
33396 if test x$sdl_prefix != x ; then
33397 sdl_args="$sdl_args --prefix=$sdl_prefix"
33398 if test x${SDL_CONFIG+set} != xset ; then
33399 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33400 fi
33401 fi
33402
33403 if test "x$prefix" != xNONE; then
33404 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33405 fi
33406 # Extract the first word of "sdl-config", so it can be a program name with args.
33407 set dummy sdl-config; ac_word=$2
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33409 $as_echo_n "checking for $ac_word... " >&6; }
33410 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
33411 $as_echo_n "(cached) " >&6
33412 else
33413 case $SDL_CONFIG in
33414 [\\/]* | ?:[\\/]*)
33415 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33416 ;;
33417 *)
33418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33419 for as_dir in $PATH
33420 do
33421 IFS=$as_save_IFS
33422 test -z "$as_dir" && as_dir=.
33423 for ac_exec_ext in '' $ac_executable_extensions; do
33424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33425 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33427 break 2
33428 fi
33429 done
33430 done
33431 IFS=$as_save_IFS
33432
33433 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33434 ;;
33435 esac
33436 fi
33437 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33438 if test -n "$SDL_CONFIG"; then
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33440 $as_echo "$SDL_CONFIG" >&6; }
33441 else
33442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33443 $as_echo "no" >&6; }
33444 fi
33445
33446
33447 min_sdl_version=1.2.0
33448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33449 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33450 no_sdl=""
33451 if test "$SDL_CONFIG" = "no" ; then
33452 no_sdl=yes
33453 else
33454 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33455 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33456
33457 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33458 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33459 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33460 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33461 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33462 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33463 if test "x$enable_sdltest" = "xyes" ; then
33464 ac_save_CFLAGS="$CFLAGS"
33465 ac_save_CXXFLAGS="$CXXFLAGS"
33466 ac_save_LIBS="$LIBS"
33467 CFLAGS="$CFLAGS $SDL_CFLAGS"
33468 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33469 LIBS="$LIBS $SDL_LIBS"
33470 rm -f conf.sdltest
33471 if test "$cross_compiling" = yes; then :
33472 echo $ac_n "cross compiling; assumed OK... $ac_c"
33473 else
33474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33475 /* end confdefs.h. */
33476
33477 #include <stdio.h>
33478 #include <stdlib.h>
33479 #include <string.h>
33480 #include "SDL.h"
33481
33482 char*
33483 my_strdup (char *str)
33484 {
33485 char *new_str;
33486
33487 if (str)
33488 {
33489 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33490 strcpy (new_str, str);
33491 }
33492 else
33493 new_str = NULL;
33494
33495 return new_str;
33496 }
33497
33498 int main (int argc, char *argv[])
33499 {
33500 int major, minor, micro;
33501 char *tmp_version;
33502
33503 /* This hangs on some systems (?)
33504 system ("touch conf.sdltest");
33505 */
33506 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33507
33508 /* HP/UX 9 (%@#!) writes to sscanf strings */
33509 tmp_version = my_strdup("$min_sdl_version");
33510 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33511 printf("%s, bad version string\n", "$min_sdl_version");
33512 exit(1);
33513 }
33514
33515 if (($sdl_major_version > major) ||
33516 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33517 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33518 {
33519 return 0;
33520 }
33521 else
33522 {
33523 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33524 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33525 printf("*** best to upgrade to the required version.\n");
33526 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33527 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33528 printf("*** config.cache before re-running configure\n");
33529 return 1;
33530 }
33531 }
33532
33533
33534 _ACEOF
33535 if ac_fn_c_try_run "$LINENO"; then :
33536
33537 else
33538 no_sdl=yes
33539 fi
33540 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33541 conftest.$ac_objext conftest.beam conftest.$ac_ext
33542 fi
33543
33544 CFLAGS="$ac_save_CFLAGS"
33545 CXXFLAGS="$ac_save_CXXFLAGS"
33546 LIBS="$ac_save_LIBS"
33547 fi
33548 fi
33549 if test "x$no_sdl" = x ; then
33550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33551 $as_echo "yes" >&6; }
33552
33553 EXTRALIBS_SDL="$SDL_LIBS"
33554 CFLAGS="$SDL_CFLAGS $CFLAGS"
33555 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33556 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33557
33558
33559 else
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33561 $as_echo "no" >&6; }
33562 if test "$SDL_CONFIG" = "no" ; then
33563 echo "*** The sdl-config script installed by SDL could not be found"
33564 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33565 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33566 echo "*** full path to sdl-config."
33567 else
33568 if test -f conf.sdltest ; then
33569 :
33570 else
33571 echo "*** Could not run SDL test program, checking why..."
33572 CFLAGS="$CFLAGS $SDL_CFLAGS"
33573 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33574 LIBS="$LIBS $SDL_LIBS"
33575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33576 /* end confdefs.h. */
33577
33578 #include <stdio.h>
33579 #include "SDL.h"
33580
33581 int main(int argc, char *argv[])
33582 { return 0; }
33583 #undef main
33584 #define main K_and_R_C_main
33585
33586 int
33587 main ()
33588 {
33589 return 0;
33590 ;
33591 return 0;
33592 }
33593 _ACEOF
33594 if ac_fn_c_try_link "$LINENO"; then :
33595 echo "*** The test program compiled, but did not run. This usually means"
33596 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33597 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33598 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33599 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33600 echo "*** is required on your system"
33601 echo "***"
33602 echo "*** If you have an old version installed, it is best to remove it, although"
33603 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33604 else
33605 echo "*** The test program failed to compile or link. See the file config.log for the"
33606 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33607 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33608 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33609 fi
33610 rm -f core conftest.err conftest.$ac_objext \
33611 conftest$ac_exeext conftest.$ac_ext
33612 CFLAGS="$ac_save_CFLAGS"
33613 CXXFLAGS="$ac_save_CXXFLAGS"
33614 LIBS="$ac_save_LIBS"
33615 fi
33616 fi
33617 SDL_CFLAGS=""
33618 SDL_LIBS=""
33619 wxUSE_LIBSDL="no"
33620 fi
33621
33622
33623 rm -f conf.sdltest
33624
33625 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33626 WITH_PLUGIN_SDL=1
33627 fi
33628 fi
33629 fi
33630 fi
33631
33632 if test "$wxUSE_SOUND" = "yes"; then
33633 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33634
33635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33636 fi
33637
33638 if test "$WXGTK2" = 1; then
33639
33640
33641 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33642 if test -n "$ac_tool_prefix"; then
33643 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33644 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33646 $as_echo_n "checking for $ac_word... " >&6; }
33647 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
33648 $as_echo_n "(cached) " >&6
33649 else
33650 case $PKG_CONFIG in
33651 [\\/]* | ?:[\\/]*)
33652 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33653 ;;
33654 *)
33655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33656 for as_dir in $PATH
33657 do
33658 IFS=$as_save_IFS
33659 test -z "$as_dir" && as_dir=.
33660 for ac_exec_ext in '' $ac_executable_extensions; do
33661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33662 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33664 break 2
33665 fi
33666 done
33667 done
33668 IFS=$as_save_IFS
33669
33670 ;;
33671 esac
33672 fi
33673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33674 if test -n "$PKG_CONFIG"; then
33675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33676 $as_echo "$PKG_CONFIG" >&6; }
33677 else
33678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33679 $as_echo "no" >&6; }
33680 fi
33681
33682
33683 fi
33684 if test -z "$ac_cv_path_PKG_CONFIG"; then
33685 ac_pt_PKG_CONFIG=$PKG_CONFIG
33686 # Extract the first word of "pkg-config", so it can be a program name with args.
33687 set dummy pkg-config; ac_word=$2
33688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33689 $as_echo_n "checking for $ac_word... " >&6; }
33690 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
33691 $as_echo_n "(cached) " >&6
33692 else
33693 case $ac_pt_PKG_CONFIG in
33694 [\\/]* | ?:[\\/]*)
33695 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33696 ;;
33697 *)
33698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33699 for as_dir in $PATH
33700 do
33701 IFS=$as_save_IFS
33702 test -z "$as_dir" && as_dir=.
33703 for ac_exec_ext in '' $ac_executable_extensions; do
33704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33705 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33707 break 2
33708 fi
33709 done
33710 done
33711 IFS=$as_save_IFS
33712
33713 ;;
33714 esac
33715 fi
33716 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33717 if test -n "$ac_pt_PKG_CONFIG"; then
33718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33719 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33720 else
33721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33722 $as_echo "no" >&6; }
33723 fi
33724
33725 if test "x$ac_pt_PKG_CONFIG" = x; then
33726 PKG_CONFIG=""
33727 else
33728 case $cross_compiling:$ac_tool_warned in
33729 yes:)
33730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33732 ac_tool_warned=yes ;;
33733 esac
33734 PKG_CONFIG=$ac_pt_PKG_CONFIG
33735 fi
33736 else
33737 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33738 fi
33739
33740 fi
33741 if test -n "$PKG_CONFIG"; then
33742 _pkg_min_version=0.9.0
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33744 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33745 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33747 $as_echo "yes" >&6; }
33748 else
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33750 $as_echo "no" >&6; }
33751 PKG_CONFIG=""
33752 fi
33753
33754 fi
33755
33756 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33757
33758 if test "$wxUSE_GTKPRINT" = "yes" ; then
33759 if test "$WXGTK3" = 1; then
33760 gtk_unix_print="gtk+-unix-print-3.0"
33761 else
33762 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33763 fi
33764
33765 pkg_failed=no
33766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33767 $as_echo_n "checking for GTKPRINT... " >&6; }
33768
33769 if test -n "$PKG_CONFIG"; then
33770 if test -n "$GTKPRINT_CFLAGS"; then
33771 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33772 else
33773 if test -n "$PKG_CONFIG" && \
33774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33775 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33776 ac_status=$?
33777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33778 test $ac_status = 0; }; then
33779 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33780 else
33781 pkg_failed=yes
33782 fi
33783 fi
33784 else
33785 pkg_failed=untried
33786 fi
33787 if test -n "$PKG_CONFIG"; then
33788 if test -n "$GTKPRINT_LIBS"; then
33789 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33790 else
33791 if test -n "$PKG_CONFIG" && \
33792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33793 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33794 ac_status=$?
33795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33796 test $ac_status = 0; }; then
33797 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33798 else
33799 pkg_failed=yes
33800 fi
33801 fi
33802 else
33803 pkg_failed=untried
33804 fi
33805
33806
33807
33808 if test $pkg_failed = yes; then
33809
33810 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33811 _pkg_short_errors_supported=yes
33812 else
33813 _pkg_short_errors_supported=no
33814 fi
33815 if test $_pkg_short_errors_supported = yes; then
33816 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33817 else
33818 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33819 fi
33820 # Put the nasty error message in config.log where it belongs
33821 echo "$GTKPRINT_PKG_ERRORS" >&5
33822
33823
33824 { $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
33825 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33826 wxUSE_GTKPRINT="no"
33827
33828
33829 elif test $pkg_failed = untried; then
33830
33831 { $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
33832 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33833 wxUSE_GTKPRINT="no"
33834
33835
33836 else
33837 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33838 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33840 $as_echo "yes" >&6; }
33841
33842 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33843 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33844 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33845
33846
33847 fi
33848 fi
33849
33850 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33851
33852
33853 pkg_failed=no
33854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33855 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33856
33857 if test -n "$PKG_CONFIG"; then
33858 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33859 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33860 else
33861 if test -n "$PKG_CONFIG" && \
33862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33863 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33864 ac_status=$?
33865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33866 test $ac_status = 0; }; then
33867 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33868 else
33869 pkg_failed=yes
33870 fi
33871 fi
33872 else
33873 pkg_failed=untried
33874 fi
33875 if test -n "$PKG_CONFIG"; then
33876 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33877 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33878 else
33879 if test -n "$PKG_CONFIG" && \
33880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33881 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33882 ac_status=$?
33883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33884 test $ac_status = 0; }; then
33885 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33886 else
33887 pkg_failed=yes
33888 fi
33889 fi
33890 else
33891 pkg_failed=untried
33892 fi
33893
33894
33895
33896 if test $pkg_failed = yes; then
33897
33898 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33899 _pkg_short_errors_supported=yes
33900 else
33901 _pkg_short_errors_supported=no
33902 fi
33903 if test $_pkg_short_errors_supported = yes; then
33904 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33905 else
33906 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33907 fi
33908 # Put the nasty error message in config.log where it belongs
33909 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33910
33911
33912 if test "$wxUSE_GTKPRINT" = yes; then
33913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33914 $as_echo "no" >&6; }
33915 else
33916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33917 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33918 fi
33919 wxUSE_LIBGNOMEPRINT="no"
33920
33921
33922 elif test $pkg_failed = untried; then
33923
33924 if test "$wxUSE_GTKPRINT" = yes; then
33925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33926 $as_echo "no" >&6; }
33927 else
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33929 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33930 fi
33931 wxUSE_LIBGNOMEPRINT="no"
33932
33933
33934 else
33935 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33936 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33938 $as_echo "yes" >&6; }
33939
33940 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33941 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33942 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33943
33944
33945 fi
33946 fi
33947 fi
33948
33949 if test "$wxUSE_MIMETYPE" = "yes" ; then
33950 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33951
33952
33953 pkg_failed=no
33954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33955 $as_echo_n "checking for GNOMEVFS... " >&6; }
33956
33957 if test -n "$PKG_CONFIG"; then
33958 if test -n "$GNOMEVFS_CFLAGS"; then
33959 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33960 else
33961 if test -n "$PKG_CONFIG" && \
33962 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33963 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33964 ac_status=$?
33965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33966 test $ac_status = 0; }; then
33967 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33968 else
33969 pkg_failed=yes
33970 fi
33971 fi
33972 else
33973 pkg_failed=untried
33974 fi
33975 if test -n "$PKG_CONFIG"; then
33976 if test -n "$GNOMEVFS_LIBS"; then
33977 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33978 else
33979 if test -n "$PKG_CONFIG" && \
33980 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33981 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33982 ac_status=$?
33983 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33984 test $ac_status = 0; }; then
33985 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33986 else
33987 pkg_failed=yes
33988 fi
33989 fi
33990 else
33991 pkg_failed=untried
33992 fi
33993
33994
33995
33996 if test $pkg_failed = yes; then
33997
33998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33999 _pkg_short_errors_supported=yes
34000 else
34001 _pkg_short_errors_supported=no
34002 fi
34003 if test $_pkg_short_errors_supported = yes; then
34004 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34005 else
34006 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34007 fi
34008 # Put the nasty error message in config.log where it belongs
34009 echo "$GNOMEVFS_PKG_ERRORS" >&5
34010
34011
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34013 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34014 wxUSE_LIBGNOMEVFS="no"
34015
34016
34017 elif test $pkg_failed = untried; then
34018
34019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34020 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34021 wxUSE_LIBGNOMEVFS="no"
34022
34023
34024 else
34025 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
34026 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
34027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34028 $as_echo "yes" >&6; }
34029
34030 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
34031 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
34032 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34033
34034
34035 fi
34036 fi
34037 fi
34038
34039 if test "$wxUSE_LIBHILDON" = "yes" ; then
34040
34041 pkg_failed=no
34042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34043 $as_echo_n "checking for HILDON... " >&6; }
34044
34045 if test -n "$PKG_CONFIG"; then
34046 if test -n "$HILDON_CFLAGS"; then
34047 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
34048 else
34049 if test -n "$PKG_CONFIG" && \
34050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34051 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34052 ac_status=$?
34053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34054 test $ac_status = 0; }; then
34055 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34056 else
34057 pkg_failed=yes
34058 fi
34059 fi
34060 else
34061 pkg_failed=untried
34062 fi
34063 if test -n "$PKG_CONFIG"; then
34064 if test -n "$HILDON_LIBS"; then
34065 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
34066 else
34067 if test -n "$PKG_CONFIG" && \
34068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34069 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34070 ac_status=$?
34071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34072 test $ac_status = 0; }; then
34073 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34074 else
34075 pkg_failed=yes
34076 fi
34077 fi
34078 else
34079 pkg_failed=untried
34080 fi
34081
34082
34083
34084 if test $pkg_failed = yes; then
34085
34086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34087 _pkg_short_errors_supported=yes
34088 else
34089 _pkg_short_errors_supported=no
34090 fi
34091 if test $_pkg_short_errors_supported = yes; then
34092 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34093 else
34094 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34095 fi
34096 # Put the nasty error message in config.log where it belongs
34097 echo "$HILDON_PKG_ERRORS" >&5
34098
34099
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34101 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34102 wxUSE_LIBHILDON="no"
34103 ac_hildon_lgpl=0
34104
34105
34106 elif test $pkg_failed = untried; then
34107
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34109 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34110 wxUSE_LIBHILDON="no"
34111 ac_hildon_lgpl=0
34112
34113
34114 else
34115 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
34116 HILDON_LIBS=$pkg_cv_HILDON_LIBS
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34118 $as_echo "yes" >&6; }
34119
34120 EXTRALIBS_HILDON="$HILDON_LIBS"
34121 CFLAGS="$CFLAGS $HILDON_CFLAGS"
34122 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
34123 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34124
34125 ac_hildon_lgpl=1
34126
34127 fi
34128
34129 if test "$ac_hildon_lgpl" = 0 ; then
34130
34131 pkg_failed=no
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34133 $as_echo_n "checking for HILDON2... " >&6; }
34134
34135 if test -n "$PKG_CONFIG"; then
34136 if test -n "$HILDON2_CFLAGS"; then
34137 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34138 else
34139 if test -n "$PKG_CONFIG" && \
34140 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34141 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34142 ac_status=$?
34143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34144 test $ac_status = 0; }; then
34145 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34146 else
34147 pkg_failed=yes
34148 fi
34149 fi
34150 else
34151 pkg_failed=untried
34152 fi
34153 if test -n "$PKG_CONFIG"; then
34154 if test -n "$HILDON2_LIBS"; then
34155 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34156 else
34157 if test -n "$PKG_CONFIG" && \
34158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34159 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34160 ac_status=$?
34161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34162 test $ac_status = 0; }; then
34163 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34164 else
34165 pkg_failed=yes
34166 fi
34167 fi
34168 else
34169 pkg_failed=untried
34170 fi
34171
34172
34173
34174 if test $pkg_failed = yes; then
34175
34176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34177 _pkg_short_errors_supported=yes
34178 else
34179 _pkg_short_errors_supported=no
34180 fi
34181 if test $_pkg_short_errors_supported = yes; then
34182 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34183 else
34184 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34185 fi
34186 # Put the nasty error message in config.log where it belongs
34187 echo "$HILDON2_PKG_ERRORS" >&5
34188
34189
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34191 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34192 wxUSE_LIBHILDON2="no"
34193
34194
34195 elif test $pkg_failed = untried; then
34196
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34198 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34199 wxUSE_LIBHILDON2="no"
34200
34201
34202 else
34203 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34204 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34206 $as_echo "yes" >&6; }
34207
34208 EXTRALIBS_HILDON="$HILDON2_LIBS"
34209 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34210 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34211 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34212
34213
34214 fi
34215 fi
34216 fi
34217 fi
34218
34219 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34220 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34221
34222 fi
34223
34224 if test "$wxUSE_STOPWATCH" = "yes"; then
34225 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34226
34227 fi
34228
34229 if test "$wxUSE_DATETIME" = "yes"; then
34230 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34231
34232 fi
34233
34234 if test "$wxUSE_FILE" = "yes"; then
34235 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34236
34237 fi
34238
34239 if test "$wxUSE_FFILE" = "yes"; then
34240 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34241
34242 fi
34243
34244 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34245 if test "$wxUSE_STREAMS" != yes; then
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34247 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34248 wxUSE_ARCHIVE_STREAMS=no
34249 else
34250 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34251
34252 fi
34253 fi
34254
34255 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34256 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34258 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34259 elif test "$wxUSE_ZLIB" = "no"; then
34260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34261 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34262 else
34263 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34264
34265 fi
34266 fi
34267
34268 if test "$wxUSE_TARSTREAM" = "yes"; then
34269 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34271 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34272 else
34273 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34274
34275 fi
34276 fi
34277
34278 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34279 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34280
34281 fi
34282
34283 if test "$wxUSE_FILESYSTEM" = "yes"; then
34284 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34286 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34287 wxUSE_FILESYSTEM=no
34288 else
34289 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34290
34291 fi
34292 fi
34293
34294 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34295 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34297 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34298 else
34299 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34300
34301 fi
34302 fi
34303
34304 if test "$wxUSE_FS_ZIP" = "yes"; then
34305 if test "$wxUSE_FS_ARCHIVE" != yes; then
34306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34307 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34308 else
34309 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34310
34311 fi
34312 fi
34313
34314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34315 if test "$USE_UNIX" != 1; then
34316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34317 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34318 wxUSE_ON_FATAL_EXCEPTION=no
34319 else
34320 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34321
34322 fi
34323 fi
34324
34325 if test "$wxUSE_STACKWALKER" = "yes"; then
34326 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34327
34328 fi
34329
34330 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34331 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34333 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34334 wxUSE_DEBUGREPORT=no
34335 else
34336 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34337
34338 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34340 fi
34341 fi
34342 fi
34343
34344 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34345 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34346
34347 fi
34348
34349 if test "$wxUSE_BUSYINFO" = "yes"; then
34350 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34351
34352 fi
34353
34354 if test "$wxUSE_HOTKEY" = "yes"; then
34355 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34357 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34358 wxUSE_HOTKEY=no
34359 fi
34360 elif test "$wxUSE_HOTKEY" = "auto"; then
34361 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34362 wxUSE_HOTKEY=yes
34363 fi
34364 fi
34365 if test "$wxUSE_HOTKEY" = "yes"; then
34366 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34367
34368 fi
34369
34370 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34371 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34372
34373 fi
34374
34375 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34376 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34377
34378 fi
34379
34380 if test "$wxUSE_STD_STRING" = "yes"; then
34381 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34382
34383 fi
34384
34385 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34386 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34387
34388 fi
34389
34390 if test "$wxUSE_STDPATHS" = "yes"; then
34391 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34392
34393 fi
34394
34395 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34396 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34397
34398 fi
34399
34400 if test "$wxUSE_TEXTFILE" = "yes"; then
34401 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34403 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34404 else
34405 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34406
34407 fi
34408 fi
34409
34410 if test "$wxUSE_CONFIG" = "yes" ; then
34411 if test "$wxUSE_TEXTFILE" != "yes"; then
34412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34413 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34414 else
34415 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34416
34417 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34418
34419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34420 fi
34421 fi
34422
34423 if test "$wxUSE_INTL" = "yes" ; then
34424 if test "$wxUSE_FILE" != "yes"; then
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34426 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34427 else
34428 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34429
34430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34431 GUIDIST="$GUIDIST INTL_DIST"
34432 fi
34433 fi
34434
34435 if test "$wxUSE_XLOCALE" = "yes" ; then
34436 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34437
34438 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34439 #include <locale.h>
34440 "
34441 if test "x$ac_cv_type_locale_t" = x""yes; then :
34442
34443 cat >>confdefs.h <<_ACEOF
34444 #define HAVE_LOCALE_T 1
34445 _ACEOF
34446
34447
34448 fi
34449
34450 fi
34451
34452 if test "$wxUSE_LOG" = "yes"; then
34453 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34454
34455
34456 if test "$wxUSE_LOGGUI" = "yes"; then
34457 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34458
34459 fi
34460
34461 if test "$wxUSE_LOGWINDOW" = "yes"; then
34462 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34463
34464 fi
34465
34466 if test "$wxUSE_LOGDIALOG" = "yes"; then
34467 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34468
34469 fi
34470
34471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34472 fi
34473
34474 if test "$wxUSE_LONGLONG" = "yes"; then
34475 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34476
34477 fi
34478
34479 if test "$wxUSE_GEOMETRY" = "yes"; then
34480 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34481
34482 fi
34483
34484 if test "$wxUSE_BASE64" = "yes"; then
34485 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34486
34487 fi
34488
34489 if test "$wxUSE_STREAMS" = "yes" ; then
34490 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34491
34492 fi
34493
34494 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34495 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34496
34497 fi
34498
34499 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34500 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34501
34502 fi
34503
34504
34505 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34506 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34507
34508
34509 if test "$wxUSE_UNIX" = "yes"; then
34510 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34511 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34512
34513 fi
34514
34515 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34516 for ac_header in sys/epoll.h
34517 do :
34518 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34519 "
34520 if test "x$ac_cv_header_sys_epoll_h" = x""yes; then :
34521 cat >>confdefs.h <<_ACEOF
34522 #define HAVE_SYS_EPOLL_H 1
34523 _ACEOF
34524
34525 fi
34526
34527 done
34528
34529 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34530 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34531
34532 else
34533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34534 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34535 fi
34536 fi
34537 fi
34538 fi
34539
34540
34541 for ac_func in gettimeofday ftime
34542 do :
34543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34545 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34546 cat >>confdefs.h <<_ACEOF
34547 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34548 _ACEOF
34549 break
34550 fi
34551 done
34552
34553
34554 if test "$ac_cv_func_gettimeofday" = "yes"; then
34555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34556 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34557 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then :
34558 $as_echo_n "(cached) " >&6
34559 else
34560
34561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34562 /* end confdefs.h. */
34563
34564 #include <sys/time.h>
34565 #include <unistd.h>
34566
34567 int
34568 main ()
34569 {
34570
34571 struct timeval tv;
34572 gettimeofday(&tv, NULL);
34573
34574 ;
34575 return 0;
34576 }
34577 _ACEOF
34578 if ac_fn_c_try_compile "$LINENO"; then :
34579 wx_cv_func_gettimeofday_has_2_args=yes
34580 else
34581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34582 /* end confdefs.h. */
34583
34584 #include <sys/time.h>
34585 #include <unistd.h>
34586
34587 int
34588 main ()
34589 {
34590
34591 struct timeval tv;
34592 gettimeofday(&tv);
34593
34594 ;
34595 return 0;
34596 }
34597 _ACEOF
34598 if ac_fn_c_try_compile "$LINENO"; then :
34599 wx_cv_func_gettimeofday_has_2_args=no
34600 else
34601
34602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34603 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34604 wx_cv_func_gettimeofday_has_2_args=unknown
34605
34606
34607 fi
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609
34610 fi
34611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34612
34613 fi
34614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34615 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34616
34617 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34618 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34619
34620 fi
34621 fi
34622
34623 if test "$wxUSE_DATETIME" = "yes"; then
34624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34625 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34626 if test "${wx_cv_var_timezone+set}" = set; then :
34627 $as_echo_n "(cached) " >&6
34628 else
34629
34630 ac_ext=cpp
34631 ac_cpp='$CXXCPP $CPPFLAGS'
34632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34635
34636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34637 /* end confdefs.h. */
34638
34639 #include <time.h>
34640
34641 int
34642 main ()
34643 {
34644
34645 int tz;
34646 tz = timezone;
34647
34648 ;
34649 return 0;
34650 }
34651 _ACEOF
34652 if ac_fn_cxx_try_compile "$LINENO"; then :
34653
34654 wx_cv_var_timezone=timezone
34655
34656 else
34657
34658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34659 /* end confdefs.h. */
34660
34661 #include <time.h>
34662
34663 int
34664 main ()
34665 {
34666
34667 int tz;
34668 tz = _timezone;
34669
34670 ;
34671 return 0;
34672 }
34673 _ACEOF
34674 if ac_fn_cxx_try_compile "$LINENO"; then :
34675
34676 wx_cv_var_timezone=_timezone
34677
34678 else
34679
34680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34681 /* end confdefs.h. */
34682
34683 #include <time.h>
34684
34685 int
34686 main ()
34687 {
34688
34689 int tz;
34690 tz = __timezone;
34691
34692 ;
34693 return 0;
34694 }
34695 _ACEOF
34696 if ac_fn_cxx_try_compile "$LINENO"; then :
34697
34698 wx_cv_var_timezone=__timezone
34699
34700 else
34701
34702 if test "$USE_DOS" = 0 ; then
34703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34704 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34705 fi
34706
34707
34708 fi
34709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34710
34711
34712 fi
34713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34714
34715
34716 fi
34717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34718 ac_ext=c
34719 ac_cpp='$CPP $CPPFLAGS'
34720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34723
34724
34725
34726 fi
34727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34728 $as_echo "$wx_cv_var_timezone" >&6; }
34729
34730 if test "x$wx_cv_var_timezone" != x ; then
34731 cat >>confdefs.h <<_ACEOF
34732 #define WX_TIMEZONE $wx_cv_var_timezone
34733 _ACEOF
34734
34735 fi
34736
34737 for ac_func in localtime
34738 do :
34739 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34740 if test "x$ac_cv_func_localtime" = x""yes; then :
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE_LOCALTIME 1
34743 _ACEOF
34744
34745 fi
34746 done
34747
34748
34749 if test "$ac_cv_func_localtime" = "yes"; then
34750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34751 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34752 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then :
34753 $as_echo_n "(cached) " >&6
34754 else
34755
34756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34757 /* end confdefs.h. */
34758
34759 #include <time.h>
34760
34761 int
34762 main ()
34763 {
34764
34765 struct tm tm;
34766 tm.tm_gmtoff++;
34767
34768 ;
34769 return 0;
34770 }
34771 _ACEOF
34772 if ac_fn_c_try_compile "$LINENO"; then :
34773
34774 wx_cv_struct_tm_has_gmtoff=yes
34775
34776 else
34777 wx_cv_struct_tm_has_gmtoff=no
34778
34779 fi
34780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34781
34782 fi
34783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34784 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34785 fi
34786
34787 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34788 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34789
34790 fi
34791
34792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34793 fi
34794
34795
34796 if test "$wxUSE_SOCKETS" = "yes"; then
34797 if test "$TOOLKIT" != "MSW"; then
34798 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34799 if test "x$ac_cv_func_socket" = x""yes; then :
34800
34801 else
34802
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34804 $as_echo_n "checking for socket in -lsocket... " >&6; }
34805 if test "${ac_cv_lib_socket_socket+set}" = set; then :
34806 $as_echo_n "(cached) " >&6
34807 else
34808 ac_check_lib_save_LIBS=$LIBS
34809 LIBS="-lsocket $LIBS"
34810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34811 /* end confdefs.h. */
34812
34813 /* Override any GCC internal prototype to avoid an error.
34814 Use char because int might match the return type of a GCC
34815 builtin and then its argument prototype would still apply. */
34816 #ifdef __cplusplus
34817 extern "C"
34818 #endif
34819 char socket ();
34820 int
34821 main ()
34822 {
34823 return socket ();
34824 ;
34825 return 0;
34826 }
34827 _ACEOF
34828 if ac_fn_c_try_link "$LINENO"; then :
34829 ac_cv_lib_socket_socket=yes
34830 else
34831 ac_cv_lib_socket_socket=no
34832 fi
34833 rm -f core conftest.err conftest.$ac_objext \
34834 conftest$ac_exeext conftest.$ac_ext
34835 LIBS=$ac_check_lib_save_LIBS
34836 fi
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34838 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34839 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
34840 if test "$INET_LINK" != " -lsocket"; then
34841 INET_LINK="$INET_LINK -lsocket"
34842 fi
34843 else
34844
34845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34846 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34847 wxUSE_SOCKETS=no
34848
34849
34850 fi
34851
34852
34853
34854 fi
34855
34856 fi
34857 fi
34858
34859 if test "$wxUSE_SOCKETS" = "yes" ; then
34860 if test "$TOOLKIT" != "MSW"; then
34861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34862 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34863 if test "${wx_cv_type_getsockname3+set}" = set; then :
34864 $as_echo_n "(cached) " >&6
34865 else
34866
34867 ac_ext=cpp
34868 ac_cpp='$CXXCPP $CPPFLAGS'
34869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34872
34873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34874 /* end confdefs.h. */
34875
34876 #include <sys/types.h>
34877 #include <sys/socket.h>
34878
34879 int
34880 main ()
34881 {
34882
34883 socklen_t len;
34884 getsockname(0, 0, &len);
34885
34886 ;
34887 return 0;
34888 }
34889 _ACEOF
34890 if ac_fn_cxx_try_compile "$LINENO"; then :
34891 wx_cv_type_getsockname3=socklen_t
34892 else
34893
34894 CFLAGS_OLD="$CFLAGS"
34895 if test "$GCC" = yes ; then
34896 CFLAGS="-Werror $CFLAGS"
34897 fi
34898
34899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34900 /* end confdefs.h. */
34901
34902 #include <sys/types.h>
34903 #include <sys/socket.h>
34904
34905 int
34906 main ()
34907 {
34908
34909 size_t len;
34910 getsockname(0, 0, &len);
34911
34912 ;
34913 return 0;
34914 }
34915 _ACEOF
34916 if ac_fn_cxx_try_compile "$LINENO"; then :
34917 wx_cv_type_getsockname3=size_t
34918 else
34919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34920 /* end confdefs.h. */
34921
34922 #include <sys/types.h>
34923 #include <sys/socket.h>
34924
34925 int
34926 main ()
34927 {
34928
34929 int len;
34930 getsockname(0, 0, &len);
34931
34932 ;
34933 return 0;
34934 }
34935 _ACEOF
34936 if ac_fn_cxx_try_compile "$LINENO"; then :
34937 wx_cv_type_getsockname3=int
34938 else
34939 wx_cv_type_getsockname3=unknown
34940
34941 fi
34942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34943
34944 fi
34945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34946
34947 CFLAGS="$CFLAGS_OLD"
34948
34949
34950 fi
34951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34952 ac_ext=c
34953 ac_cpp='$CPP $CPPFLAGS'
34954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34957
34958
34959 fi
34960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34961 $as_echo "$wx_cv_type_getsockname3" >&6; }
34962
34963 if test "$wx_cv_type_getsockname3" = "unknown"; then
34964 wxUSE_SOCKETS=no
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34966 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34967 else
34968 cat >>confdefs.h <<_ACEOF
34969 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34970 _ACEOF
34971
34972 fi
34973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34974 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34975 if test "${wx_cv_type_getsockopt5+set}" = set; then :
34976 $as_echo_n "(cached) " >&6
34977 else
34978
34979 ac_ext=cpp
34980 ac_cpp='$CXXCPP $CPPFLAGS'
34981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34984
34985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34986 /* end confdefs.h. */
34987
34988 #include <sys/types.h>
34989 #include <sys/socket.h>
34990
34991 int
34992 main ()
34993 {
34994
34995 socklen_t len;
34996 getsockopt(0, 0, 0, 0, &len);
34997
34998 ;
34999 return 0;
35000 }
35001 _ACEOF
35002 if ac_fn_cxx_try_compile "$LINENO"; then :
35003 wx_cv_type_getsockopt5=socklen_t
35004 else
35005
35006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35007 /* end confdefs.h. */
35008
35009 #include <sys/types.h>
35010 #include <sys/socket.h>
35011
35012 int
35013 main ()
35014 {
35015
35016 size_t len;
35017 getsockopt(0, 0, 0, 0, &len);
35018
35019 ;
35020 return 0;
35021 }
35022 _ACEOF
35023 if ac_fn_cxx_try_compile "$LINENO"; then :
35024 wx_cv_type_getsockopt5=size_t
35025 else
35026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35027 /* end confdefs.h. */
35028
35029 #include <sys/types.h>
35030 #include <sys/socket.h>
35031
35032 int
35033 main ()
35034 {
35035
35036 int len;
35037 getsockopt(0, 0, 0, 0, &len);
35038
35039 ;
35040 return 0;
35041 }
35042 _ACEOF
35043 if ac_fn_cxx_try_compile "$LINENO"; then :
35044 wx_cv_type_getsockopt5=int
35045 else
35046 wx_cv_type_getsockopt5=unknown
35047
35048 fi
35049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35050
35051 fi
35052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35053
35054
35055 fi
35056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35057 ac_ext=c
35058 ac_cpp='$CPP $CPPFLAGS'
35059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35062
35063
35064 fi
35065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35066 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35067
35068 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35069 wxUSE_SOCKETS=no
35070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35071 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35072 else
35073 cat >>confdefs.h <<_ACEOF
35074 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35075 _ACEOF
35076
35077 fi
35078 fi
35079 fi
35080
35081 if test "$wxUSE_SOCKETS" = "yes" ; then
35082 if test "$wxUSE_IPV6" = "yes"; then
35083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35084 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35085 if test "${wx_cv_type_sockaddr_in6+set}" = set; then :
35086 $as_echo_n "(cached) " >&6
35087 else
35088
35089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35090 /* end confdefs.h. */
35091
35092 #include <sys/types.h>
35093 #include <sys/socket.h>
35094 #include <netinet/in.h>
35095
35096 int
35097 main ()
35098 {
35099
35100 struct sockaddr_in6 sa6;
35101
35102 ;
35103 return 0;
35104 }
35105 _ACEOF
35106 if ac_fn_c_try_compile "$LINENO"; then :
35107 wx_cv_type_sockaddr_in6=yes
35108 else
35109 wx_cv_type_sockaddr_in6=no
35110
35111 fi
35112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35113
35114
35115 fi
35116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35117 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35118
35119 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35120 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35121
35122 else
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35124 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35125 fi
35126 fi
35127
35128 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35129
35130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35131 fi
35132
35133 if test "$wxUSE_PROTOCOL" = "yes"; then
35134 if test "$wxUSE_SOCKETS" != "yes"; then
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35136 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35137 wxUSE_PROTOCOL=no
35138 fi
35139 fi
35140
35141 if test "$wxUSE_PROTOCOL" = "yes"; then
35142 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35143
35144
35145 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35146 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35147
35148 fi
35149 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35150 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35151
35152 fi
35153 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35154 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35155
35156 fi
35157 else
35158 if test "$wxUSE_FS_INET" = "yes"; then
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35160 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35161 wxUSE_FS_INET="no"
35162 fi
35163 fi
35164
35165 if test "$wxUSE_URL" = "yes"; then
35166 if test "$wxUSE_PROTOCOL" != "yes"; then
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35168 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35169 wxUSE_URL=no
35170 fi
35171 if test "$wxUSE_URL" = "yes"; then
35172 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35173
35174 fi
35175 fi
35176
35177 if test "$wxUSE_VARIANT" = "yes"; then
35178 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35179
35180 fi
35181
35182 if test "$wxUSE_FS_INET" = "yes"; then
35183 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35184
35185 fi
35186
35187
35188 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35189 wxUSE_JOYSTICK=no
35190
35191 if test "$TOOLKIT" = "MSW"; then
35192 wxUSE_JOYSTICK=yes
35193
35194 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35195 if test "$USE_DARWIN" = 1; then
35196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35197 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35198 ac_ext=cpp
35199 ac_cpp='$CXXCPP $CPPFLAGS'
35200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35203
35204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35205 /* end confdefs.h. */
35206 #include <IOKit/hid/IOHIDLib.h>
35207 int
35208 main ()
35209 {
35210 IOHIDQueueInterface *qi = NULL;
35211 IOHIDCallbackFunction cb = NULL;
35212 qi->setEventCallout(NULL, cb, NULL, NULL);
35213 ;
35214 return 0;
35215 }
35216 _ACEOF
35217 if ac_fn_cxx_try_compile "$LINENO"; then :
35218 wxUSE_JOYSTICK=yes
35219
35220 fi
35221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35222 ac_ext=c
35223 ac_cpp='$CPP $CPPFLAGS'
35224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35227
35228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35229 $as_echo "$wxUSE_JOYSTICK" >&6; }
35230 fi
35231
35232 else
35233 for ac_header in linux/joystick.h
35234 do :
35235 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35236 "
35237 if test "x$ac_cv_header_linux_joystick_h" = x""yes; then :
35238 cat >>confdefs.h <<_ACEOF
35239 #define HAVE_LINUX_JOYSTICK_H 1
35240 _ACEOF
35241 wxUSE_JOYSTICK=yes
35242 fi
35243
35244 done
35245
35246 fi
35247
35248 if test "$wxUSE_JOYSTICK" = "yes"; then
35249 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35250
35251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35252 else
35253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35254 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35255 fi
35256 fi
35257
35258
35259
35260 if test "$wxUSE_FONTENUM" = "yes" ; then
35261 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35262
35263 fi
35264
35265 if test "$wxUSE_FONTMAP" = "yes" ; then
35266 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35267
35268 fi
35269
35270 if test "$wxUSE_UNICODE" = "yes" ; then
35271 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35272
35273
35274 if test "$USE_WIN32" != 1; then
35275 wxUSE_UNICODE_MSLU=no
35276 fi
35277
35278 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35280 $as_echo_n "checking for main in -lunicows... " >&6; }
35281 if test "${ac_cv_lib_unicows_main+set}" = set; then :
35282 $as_echo_n "(cached) " >&6
35283 else
35284 ac_check_lib_save_LIBS=$LIBS
35285 LIBS="-lunicows $LIBS"
35286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35287 /* end confdefs.h. */
35288
35289
35290 int
35291 main ()
35292 {
35293 return main ();
35294 ;
35295 return 0;
35296 }
35297 _ACEOF
35298 if ac_fn_c_try_link "$LINENO"; then :
35299 ac_cv_lib_unicows_main=yes
35300 else
35301 ac_cv_lib_unicows_main=no
35302 fi
35303 rm -f core conftest.err conftest.$ac_objext \
35304 conftest$ac_exeext conftest.$ac_ext
35305 LIBS=$ac_check_lib_save_LIBS
35306 fi
35307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35308 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35309 if test "x$ac_cv_lib_unicows_main" = x""yes; then :
35310
35311 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35312
35313
35314 else
35315
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35317 Applications will only run on Windows NT/2000/XP!" >&5
35318 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35319 Applications will only run on Windows NT/2000/XP!" >&2;}
35320 wxUSE_UNICODE_MSLU=no
35321
35322 fi
35323
35324 fi
35325 fi
35326
35327 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35328 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35329
35330
35331 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35332 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35333
35334 fi
35335 fi
35336
35337
35338 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35339 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35340
35341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35342 fi
35343
35344 if test "$wxUSE_MDI" = "yes"; then
35345 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35346
35347
35348 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35349 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35350
35351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35352 fi
35353 fi
35354
35355 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35356 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35357
35358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35359 fi
35360
35361 if test "$wxUSE_HELP" = "yes"; then
35362 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35363
35364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35365
35366 if test "$wxUSE_MSW" = 1; then
35367 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35368 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35369
35370 fi
35371 fi
35372
35373 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35374 if test "$wxUSE_HTML" = "yes"; then
35375 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35376
35377 else
35378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35379 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35380 wxUSE_WXHTML_HELP=no
35381 fi
35382 fi
35383 fi
35384
35385 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35386 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35387
35388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35389 fi
35390
35391 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35392 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35393
35394 fi
35395
35396 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35397
35398
35399 if test "$wxUSE_SVG" = "yes"; then
35400 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35401
35402 fi
35403
35404
35405 if test "$wxUSE_METAFILE" = "yes"; then
35406 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35408 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35409 wxUSE_METAFILE=no
35410 fi
35411 elif test "$wxUSE_METAFILE" = "auto"; then
35412 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35413 wxUSE_METAFILE=yes
35414 fi
35415 fi
35416
35417 if test "$wxUSE_METAFILE" = "yes"; then
35418 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35419
35420 if test "$wxUSE_MSW" = 1; then
35421 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35422
35423 fi
35424 fi
35425
35426
35427 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35428 -o "$wxUSE_CLIPBOARD" = "yes" \
35429 -o "$wxUSE_OLE" = "yes" \
35430 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35431 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35432 "
35433 if test "x$ac_cv_header_ole2_h" = x""yes; then :
35434
35435 fi
35436
35437
35438
35439 if test "$ac_cv_header_ole2_h" = "yes" ; then
35440 if test "$GCC" = yes ; then
35441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35442 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35444 /* end confdefs.h. */
35445 #include <windows.h>
35446 #include <ole2.h>
35447 int
35448 main ()
35449 {
35450
35451 ;
35452 return 0;
35453 }
35454 _ACEOF
35455 if ac_fn_c_try_compile "$LINENO"; then :
35456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35457 $as_echo "no" >&6; }
35458 else
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35460 $as_echo "yes" >&6; }
35461 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35462 fi
35463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35464 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35465 if test "$wxUSE_OLE" = "yes" ; then
35466 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35467
35468 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35469
35470 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35471
35472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35473 fi
35474 fi
35475
35476 if test "$wxUSE_DATAOBJ" = "yes" ; then
35477 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35478
35479 fi
35480 else
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35482 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35483
35484 wxUSE_CLIPBOARD=no
35485 wxUSE_DRAG_AND_DROP=no
35486 wxUSE_DATAOBJ=no
35487 wxUSE_OLE=no
35488 fi
35489 fi
35490
35491 if test "$wxUSE_IPC" = "yes"; then
35492 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35494 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35495 wxUSE_IPC=no
35496 fi
35497
35498 if test "$wxUSE_IPC" = "yes"; then
35499 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35500
35501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35502 fi
35503 fi
35504
35505 if test "$wxUSE_DATAOBJ" = "yes"; then
35506 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35507
35508 else
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35510 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35511 wxUSE_CLIPBOARD=no
35512 wxUSE_DRAG_AND_DROP=no
35513 fi
35514
35515 if test "$wxUSE_CLIPBOARD" = "yes"; then
35516 if test "$wxUSE_DFB" = 1; then
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35518 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35519 wxUSE_CLIPBOARD=no
35520 fi
35521
35522 if test "$wxUSE_CLIPBOARD" = "yes"; then
35523 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35524
35525 fi
35526 fi
35527
35528 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35529 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35531 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35532 wxUSE_DRAG_AND_DROP=no
35533 fi
35534
35535 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35536 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35537
35538 fi
35539
35540 fi
35541
35542 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35544 fi
35545
35546 if test "$wxUSE_CLIPBOARD" = "yes"; then
35547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35548 fi
35549
35550 if test "$wxUSE_SPLINES" = "yes" ; then
35551 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35552
35553 fi
35554
35555 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35556 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35557
35558 fi
35559
35560 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35561 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35562
35563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35564 fi
35565
35566 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35567 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35568
35569 fi
35570
35571
35572 USES_CONTROLS=0
35573 if test "$wxUSE_CONTROLS" = "yes"; then
35574 USES_CONTROLS=1
35575 fi
35576
35577 if test "$wxUSE_MARKUP" = "yes"; then
35578 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35579
35580 fi
35581
35582 if test "$wxUSE_ACCEL" = "yes"; then
35583 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35584
35585 USES_CONTROLS=1
35586 fi
35587
35588 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35589 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35590
35591 USES_CONTROLS=1
35592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35593 fi
35594
35595 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35596 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35597
35598 fi
35599
35600 if test "$wxUSE_BUTTON" = "yes"; then
35601 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35602
35603 USES_CONTROLS=1
35604 fi
35605
35606 if test "$wxUSE_BMPBUTTON" = "yes"; then
35607 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35608
35609 USES_CONTROLS=1
35610 fi
35611
35612 if test "$wxUSE_CALCTRL" = "yes"; then
35613 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35614
35615 USES_CONTROLS=1
35616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35617 fi
35618
35619 if test "$wxUSE_CARET" = "yes"; then
35620 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35621
35622 USES_CONTROLS=1
35623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35624 fi
35625
35626 if test "$wxUSE_COLLPANE" = "yes"; then
35627 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35628
35629 USES_CONTROLS=1
35630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35631 fi
35632
35633 if test "$wxUSE_COMBOBOX" = "yes"; then
35634 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35635
35636 USES_CONTROLS=1
35637 fi
35638
35639 if test "$wxUSE_COMBOCTRL" = "yes"; then
35640 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35641
35642 USES_CONTROLS=1
35643 fi
35644
35645 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35646 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35647
35648 USES_CONTROLS=1
35649 fi
35650
35651 if test "$wxUSE_CHOICE" = "yes"; then
35652 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35653
35654 USES_CONTROLS=1
35655 fi
35656
35657 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35658 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35659
35660 USES_CONTROLS=1
35661 fi
35662
35663 if test "$wxUSE_CHECKBOX" = "yes"; then
35664 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35665
35666 USES_CONTROLS=1
35667 fi
35668
35669 if test "$wxUSE_CHECKLST" = "yes"; then
35670 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35671
35672 USES_CONTROLS=1
35673 fi
35674
35675 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35676 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35677
35678 USES_CONTROLS=1
35679 fi
35680
35681 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35682 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35683
35684 USES_CONTROLS=1
35685 fi
35686
35687 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35688 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35689
35690 USES_CONTROLS=1
35691 fi
35692
35693 if test "$wxUSE_FILECTRL" = "yes"; then
35694 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35695
35696 USES_CONTROLS=1
35697 fi
35698
35699 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35700 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35701
35702 USES_CONTROLS=1
35703 fi
35704
35705 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35706 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35707
35708 USES_CONTROLS=1
35709 fi
35710
35711 if test "$wxUSE_DISPLAY" = "yes"; then
35712 if test "$wxUSE_DFB" = 1; then
35713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35714 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35715 wxUSE_DISPLAY=no
35716 else
35717 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35718
35719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35720 fi
35721 fi
35722
35723 if test "$wxUSE_DETECT_SM" = "yes"; then
35724 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35725
35726 fi
35727
35728 if test "$wxUSE_GAUGE" = "yes"; then
35729 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35730
35731 USES_CONTROLS=1
35732 fi
35733
35734 if test "$wxUSE_GRID" = "yes"; then
35735 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35736
35737 USES_CONTROLS=1
35738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35739 fi
35740
35741 if test "$wxUSE_HEADERCTRL" = "yes"; then
35742 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35743
35744 USES_CONTROLS=1
35745 fi
35746
35747 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35748 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35749
35750 USES_CONTROLS=1
35751 fi
35752
35753 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35754 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35755
35756 USES_CONTROLS=1
35757 fi
35758
35759 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35760 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35761
35762 USES_CONTROLS=1
35763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35764 fi
35765
35766 if test "$wxUSE_IMAGLIST" = "yes"; then
35767 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35768
35769 fi
35770
35771 if test "$wxUSE_INFOBAR" = "yes"; then
35772 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35773
35774 fi
35775
35776 if test "$wxUSE_LISTBOOK" = "yes"; then
35777 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35778
35779 USES_CONTROLS=1
35780 fi
35781
35782 if test "$wxUSE_LISTBOX" = "yes"; then
35783 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35784
35785 USES_CONTROLS=1
35786 fi
35787
35788 if test "$wxUSE_LISTCTRL" = "yes"; then
35789 if test "$wxUSE_IMAGLIST" = "yes"; then
35790 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35791
35792 USES_CONTROLS=1
35793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35794 else
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35796 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35797 fi
35798 fi
35799
35800 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35801 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35802
35803 USES_CONTROLS=1
35804 fi
35805
35806 if test "$wxUSE_NOTEBOOK" = "yes"; then
35807 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35808
35809 USES_CONTROLS=1
35810 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35811 fi
35812
35813 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35814 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35815
35816 fi
35817
35818 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35819 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35820
35821 USES_CONTROLS=1
35822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35823 fi
35824
35825 if test "$wxUSE_RADIOBOX" = "yes"; then
35826 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35827
35828 USES_CONTROLS=1
35829 fi
35830
35831 if test "$wxUSE_RADIOBTN" = "yes"; then
35832 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35833
35834 USES_CONTROLS=1
35835 fi
35836
35837 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35838 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35839
35840 fi
35841
35842 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35843 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35844
35845 fi
35846
35847 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35848 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35849
35850 fi
35851
35852 if test "$wxUSE_SASH" = "yes"; then
35853 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35854
35855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35856 fi
35857
35858 if test "$wxUSE_SCROLLBAR" = "yes"; then
35859 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35860
35861 USES_CONTROLS=1
35862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35863 fi
35864
35865 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35866 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35867
35868 USES_CONTROLS=1
35869 fi
35870
35871 if test "$wxUSE_SLIDER" = "yes"; then
35872 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35873
35874 USES_CONTROLS=1
35875 fi
35876
35877 if test "$wxUSE_SPINBTN" = "yes"; then
35878 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35879
35880 USES_CONTROLS=1
35881 fi
35882
35883 if test "$wxUSE_SPINCTRL" = "yes"; then
35884 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35885
35886 USES_CONTROLS=1
35887 fi
35888
35889 if test "$wxUSE_SPLITTER" = "yes"; then
35890 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35891
35892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35893 fi
35894
35895 if test "$wxUSE_STATBMP" = "yes"; then
35896 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35897
35898 USES_CONTROLS=1
35899 fi
35900
35901 if test "$wxUSE_STATBOX" = "yes"; then
35902 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35903
35904 USES_CONTROLS=1
35905 fi
35906
35907 if test "$wxUSE_STATTEXT" = "yes"; then
35908 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35909
35910 USES_CONTROLS=1
35911 fi
35912
35913 if test "$wxUSE_STATLINE" = "yes"; then
35914 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35915
35916 USES_CONTROLS=1
35917 fi
35918
35919 if test "$wxUSE_STATUSBAR" = "yes"; then
35920 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35921
35922 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35923
35924 USES_CONTROLS=1
35925
35926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35927 fi
35928
35929 if test "$wxUSE_TEXTCTRL" = "yes"; then
35930 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35931
35932 USES_CONTROLS=1
35933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35934
35935 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35936
35937 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35938
35939 fi
35940
35941 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35942 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35943
35944 USES_CONTROLS=1
35945 fi
35946
35947 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35948 if test "$wxUSE_OLD_COCOA" = 1 ; then
35949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35950 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35951 wxUSE_TOGGLEBTN=no
35952 fi
35953
35954 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35955 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35956
35957 USES_CONTROLS=1
35958 fi
35959 fi
35960
35961 if test "$wxUSE_TOOLBAR" = "yes"; then
35962 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35963
35964 USES_CONTROLS=1
35965
35966 if test "$wxUSE_UNIVERSAL" = "yes"; then
35967 wxUSE_TOOLBAR_NATIVE="no"
35968 else
35969 wxUSE_TOOLBAR_NATIVE="yes"
35970 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35971
35972 fi
35973
35974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35975 fi
35976
35977 if test "$wxUSE_TOOLTIPS" = "yes"; then
35978 if test "$wxUSE_MOTIF" = 1; then
35979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35980 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35981 else
35982 if test "$wxUSE_UNIVERSAL" = "yes"; then
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35984 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35985 else
35986 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35987
35988 fi
35989 fi
35990 fi
35991
35992 if test "$wxUSE_TREEBOOK" = "yes"; then
35993 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35994
35995 USES_CONTROLS=1
35996 fi
35997
35998 if test "$wxUSE_TOOLBOOK" = "yes"; then
35999 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36000
36001 USES_CONTROLS=1
36002 fi
36003
36004 if test "$wxUSE_TREECTRL" = "yes"; then
36005 if test "$wxUSE_IMAGLIST" = "yes"; then
36006 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36007
36008 USES_CONTROLS=1
36009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
36010 else
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36012 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36013 fi
36014 fi
36015
36016 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36017 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36018
36019 USES_CONTROLS=1
36020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
36021 fi
36022
36023 if test "$wxUSE_POPUPWIN" = "yes"; then
36024 if test "$wxUSE_OLD_COCOA" = 1 ; then
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36026 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36027 else
36028 if test "$wxUSE_PM" = 1; then
36029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36030 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36031 else
36032 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36033
36034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
36035
36036 USES_CONTROLS=1
36037 fi
36038 fi
36039 fi
36040
36041 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36042 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36044 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36045 else
36046 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36047
36048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
36049 fi
36050 fi
36051
36052 if test "$wxUSE_TIPWINDOW" = "yes"; then
36053 if test "$wxUSE_PM" = 1; then
36054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36055 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36056 else
36057 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36058
36059 fi
36060 fi
36061
36062 if test "$USES_CONTROLS" = 1; then
36063 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36064
36065 fi
36066
36067
36068 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36069 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36070
36071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
36072 fi
36073
36074 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36075 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36076
36077 fi
36078
36079 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36080 if test "$wxUSE_GTK" != 1; then
36081 if test "$wxUSE_LIBPNG" != no -a \
36082 "$wxUSE_IMAGE" = yes -a \
36083 "$wxUSE_STREAMS" = yes; then
36084 wxUSE_ARTPROVIDER_TANGO="yes"
36085 fi
36086 fi
36087 fi
36088
36089 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36090 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36091
36092 fi
36093
36094 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36095 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36096
36097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
36098 fi
36099
36100 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36101 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36103 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36104 else
36105 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36106
36107 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
36108 fi
36109 fi
36110
36111 USE_HTML=0
36112 if test "$wxUSE_HTML" = "yes"; then
36113 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36114
36115 USE_HTML=1
36116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36117 fi
36118 if test "$wxUSE_WEBKIT" = "yes"; then
36119 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36120 old_CPPFLAGS="$CPPFLAGS"
36121 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36122 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36123 #include <Carbon/Carbon.h>
36124 #include <WebKit/WebKit.h>
36125
36126 "
36127 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36128
36129 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36130
36131 WEBKIT_LINK="-framework WebKit"
36132
36133 else
36134
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36136 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36137 wxUSE_WEBKIT=no
36138
36139 fi
36140
36141
36142 CPPFLAGS="$old_CPPFLAGS"
36143 elif test "$wxUSE_OLD_COCOA" = 1; then
36144 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36145
36146 else
36147 wxUSE_WEBKIT=no
36148 fi
36149 if test "$wxUSE_WEBKIT" = "yes"; then
36150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36151 fi
36152 fi
36153
36154 USE_XRC=0
36155 if test "$wxUSE_XRC" = "yes"; then
36156 if test "$wxUSE_XML" != "yes"; then
36157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36158 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36159 wxUSE_XRC=no
36160 else
36161 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36162
36163 USE_XRC=1
36164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36165 fi
36166 fi
36167
36168 USE_AUI=0
36169 if test "$wxUSE_AUI" = "yes"; then
36170 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36171
36172 USE_AUI=1
36173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36174 fi
36175
36176 USE_PROPGRID=0
36177 if test "$wxUSE_PROPGRID" = "yes"; then
36178 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36179
36180 USE_PROPGRID=1
36181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36182 fi
36183
36184 USE_RIBBON=0
36185 if test "$wxUSE_RIBBON" = "yes"; then
36186 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36187
36188 USE_RIBBON=1
36189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36190 fi
36191
36192 USE_STC=0
36193 if test "$wxUSE_STC" = "yes"; then
36194 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36195
36196 USE_STC=1
36197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36198
36199 # Extract the first word of "python", so it can be a program name with args.
36200 set dummy python; ac_word=$2
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36202 $as_echo_n "checking for $ac_word... " >&6; }
36203 if test "${ac_cv_path_PYTHON+set}" = set; then :
36204 $as_echo_n "(cached) " >&6
36205 else
36206 case $PYTHON in
36207 [\\/]* | ?:[\\/]*)
36208 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36209 ;;
36210 *)
36211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36212 for as_dir in $PATH
36213 do
36214 IFS=$as_save_IFS
36215 test -z "$as_dir" && as_dir=.
36216 for ac_exec_ext in '' $ac_executable_extensions; do
36217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36218 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36220 break 2
36221 fi
36222 done
36223 done
36224 IFS=$as_save_IFS
36225
36226 ;;
36227 esac
36228 fi
36229 PYTHON=$ac_cv_path_PYTHON
36230 if test -n "$PYTHON"; then
36231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36232 $as_echo "$PYTHON" >&6; }
36233 else
36234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36235 $as_echo "no" >&6; }
36236 fi
36237
36238
36239 if test "x$PYTHON" = "x"; then
36240 COND_PYTHON="#"
36241 fi
36242
36243 fi
36244
36245 if test "$wxUSE_MENUS" = "yes"; then
36246 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36247
36248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36249 fi
36250
36251 if test "$wxUSE_MIMETYPE" = "yes"; then
36252 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36253
36254 fi
36255
36256 if test "$wxUSE_MINIFRAME" = "yes"; then
36257 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36258
36259 fi
36260
36261 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36262 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36263
36264 fi
36265
36266 if test "$wxUSE_TASKBARICON" = "yes"; then
36267 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36268
36269 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36270
36271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36272 fi
36273
36274
36275 if test "$wxUSE_VALIDATORS" = "yes"; then
36276 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36277
36278 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36279 fi
36280
36281 if test "$wxUSE_PALETTE" = "yes" ; then
36282 if test "$wxUSE_DFB" = 1; then
36283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36284 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36285 wxUSE_PALETTE=no
36286 else
36287 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36288
36289 fi
36290 fi
36291
36292 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36293 LIBS=" -lunicows $LIBS"
36294 fi
36295
36296 USE_RICHTEXT=0
36297 if test "$wxUSE_RICHTEXT" = "yes"; then
36298 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36299
36300 USE_RICHTEXT=1
36301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36302 fi
36303
36304 if test "$wxUSE_WEBVIEW" = "yes"; then
36305 USE_WEBVIEW_WEBKIT=0
36306 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36307 if test "$wxUSE_GTK" = 1; then
36308 webkitgtk=webkit-1.0
36309 if test "$WXGTK3" = 1; then
36310 webkitgtk=webkitgtk-3.0
36311 fi
36312
36313 pkg_failed=no
36314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36315 $as_echo_n "checking for WEBKIT... " >&6; }
36316
36317 if test -n "$PKG_CONFIG"; then
36318 if test -n "$WEBKIT_CFLAGS"; then
36319 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36320 else
36321 if test -n "$PKG_CONFIG" && \
36322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36323 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36324 ac_status=$?
36325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36326 test $ac_status = 0; }; then
36327 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36328 else
36329 pkg_failed=yes
36330 fi
36331 fi
36332 else
36333 pkg_failed=untried
36334 fi
36335 if test -n "$PKG_CONFIG"; then
36336 if test -n "$WEBKIT_LIBS"; then
36337 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36338 else
36339 if test -n "$PKG_CONFIG" && \
36340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36341 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36342 ac_status=$?
36343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36344 test $ac_status = 0; }; then
36345 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36346 else
36347 pkg_failed=yes
36348 fi
36349 fi
36350 else
36351 pkg_failed=untried
36352 fi
36353
36354
36355
36356 if test $pkg_failed = yes; then
36357
36358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36359 _pkg_short_errors_supported=yes
36360 else
36361 _pkg_short_errors_supported=no
36362 fi
36363 if test $_pkg_short_errors_supported = yes; then
36364 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36365 else
36366 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36367 fi
36368 # Put the nasty error message in config.log where it belongs
36369 echo "$WEBKIT_PKG_ERRORS" >&5
36370
36371
36372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36373 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36374
36375 elif test $pkg_failed = untried; then
36376
36377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36378 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36379
36380 else
36381 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36382 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36384 $as_echo "yes" >&6; }
36385
36386 USE_WEBVIEW_WEBKIT=1
36387 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36388 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36389
36390 fi
36391 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36392 old_CPPFLAGS="$CPPFLAGS"
36393 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36394 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36395 #include <Carbon/Carbon.h>
36396 #include <WebKit/WebKit.h>
36397
36398 "
36399 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36400
36401 USE_WEBVIEW_WEBKIT=1
36402 WEBKIT_LINK="-framework WebKit"
36403
36404 else
36405
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36407 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36408
36409 fi
36410
36411
36412 CPPFLAGS="$old_CPPFLAGS"
36413 fi
36414 fi
36415
36416 wxUSE_WEBVIEW="no"
36417 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36418 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36419 wxUSE_WEBVIEW="yes"
36420 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36421
36422 else
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36424 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36425 fi
36426 elif test "$wxUSE_MSW" = 1; then
36427 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36428 wxUSE_WEBVIEW="yes"
36429 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36430
36431 fi
36432 fi
36433 fi
36434
36435 if test "$wxUSE_WEBVIEW" = "yes"; then
36436 USE_WEBVIEW=1
36437 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36438
36439 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36440 else
36441 USE_WEBVIEW=0
36442 fi
36443
36444
36445 if test "$wxUSE_IMAGE" = "yes" ; then
36446 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36447
36448
36449 if test "$wxUSE_GIF" = "yes" ; then
36450 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36451
36452 fi
36453
36454 if test "$wxUSE_PCX" = "yes" ; then
36455 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36456
36457 fi
36458
36459 if test "$wxUSE_TGA" = "yes" ; then
36460 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36461
36462 fi
36463
36464 if test "$wxUSE_IFF" = "yes" ; then
36465 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36466
36467 fi
36468
36469 if test "$wxUSE_PNM" = "yes" ; then
36470 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36471
36472 fi
36473
36474 if test "$wxUSE_XPM" = "yes" ; then
36475 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36476
36477 fi
36478
36479 if test "$wxUSE_ICO_CUR" = "yes" ; then
36480 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36481
36482 fi
36483 fi
36484
36485
36486 if test "$wxUSE_ABOUTDLG" = "yes"; then
36487 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36488
36489 fi
36490
36491 if test "$wxUSE_CHOICEDLG" = "yes"; then
36492 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36493
36494 fi
36495
36496 if test "$wxUSE_COLOURDLG" = "yes"; then
36497 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36498
36499 fi
36500
36501 if test "$wxUSE_FILEDLG" = "yes"; then
36502 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36503
36504 fi
36505
36506 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36507 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36508
36509 fi
36510
36511 if test "$wxUSE_FONTDLG" = "yes"; then
36512 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36513
36514 fi
36515
36516 if test "$wxUSE_DIRDLG" = "yes"; then
36517 if test "$wxUSE_TREECTRL" != "yes"; then
36518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36519 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36520 else
36521 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36522
36523 fi
36524 fi
36525
36526 if test "$wxUSE_MSGDLG" = "yes"; then
36527 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36528
36529 fi
36530
36531 if test "$wxUSE_NUMBERDLG" = "yes"; then
36532 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36533
36534 fi
36535
36536 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36537 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36538
36539 fi
36540
36541 if test "$wxUSE_SPLASH" = "yes"; then
36542 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36543
36544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36545 fi
36546
36547 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36548 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36549
36550 fi
36551
36552 if test "$wxUSE_TEXTDLG" = "yes"; then
36553 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36554
36555 fi
36556
36557 if test "$wxUSE_WIZARDDLG" = "yes"; then
36558 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36559
36560 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36561 fi
36562
36563
36564 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36565 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36566 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36567
36568 fi
36569 fi
36570
36571
36572 if test "$wxUSE_MSW" = 1 ; then
36573
36574 if test "$wxUSE_DC_CACHEING" = "yes"; then
36575 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36576
36577 fi
36578
36579 if test "$wxUSE_DIB" = "yes"; then
36580 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36581
36582 fi
36583
36584 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36585 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36586
36587 fi
36588
36589 if test "$wxUSE_UXTHEME" = "yes"; then
36590 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36591
36592 fi
36593
36594 fi
36595
36596 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36597 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36598
36599 fi
36600
36601 if test "$USE_WIN32" = 1 ; then
36602 if test "$wxUSE_INICONF" = "yes"; then
36603 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36604
36605 fi
36606
36607 if test "$wxUSE_REGKEY" = "yes"; then
36608 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36609
36610 fi
36611 fi
36612
36613
36614 if test "$wxUSE_MAC" = 1; then
36615 wxUSE_GRAPHICS_CONTEXT="yes"
36616 fi
36617
36618 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36619 wx_has_graphics=0
36620 if test "$wxUSE_MSW" = 1; then
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36622 $as_echo_n "checking if GDI+ is available... " >&6; }
36623 if test "${wx_cv_lib_gdiplus+set}" = set; then :
36624 $as_echo_n "(cached) " >&6
36625 else
36626
36627 ac_ext=cpp
36628 ac_cpp='$CXXCPP $CPPFLAGS'
36629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36632
36633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36634 /* end confdefs.h. */
36635 #include <windows.h>
36636 #include <gdiplus.h>
36637 int
36638 main ()
36639 {
36640
36641 using namespace Gdiplus;
36642
36643 ;
36644 return 0;
36645 }
36646 _ACEOF
36647 if ac_fn_cxx_try_compile "$LINENO"; then :
36648 wx_cv_lib_gdiplus=yes
36649 else
36650 wx_cv_lib_gdiplus=no
36651
36652 fi
36653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36654 ac_ext=c
36655 ac_cpp='$CPP $CPPFLAGS'
36656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36659
36660
36661
36662 fi
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36664 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36665 if test "$wx_cv_lib_gdiplus" = "yes"; then
36666 wx_has_graphics=1
36667 fi
36668 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36669
36670 pkg_failed=no
36671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36672 $as_echo_n "checking for CAIRO... " >&6; }
36673
36674 if test -n "$PKG_CONFIG"; then
36675 if test -n "$CAIRO_CFLAGS"; then
36676 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36677 else
36678 if test -n "$PKG_CONFIG" && \
36679 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36680 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36681 ac_status=$?
36682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36683 test $ac_status = 0; }; then
36684 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36685 else
36686 pkg_failed=yes
36687 fi
36688 fi
36689 else
36690 pkg_failed=untried
36691 fi
36692 if test -n "$PKG_CONFIG"; then
36693 if test -n "$CAIRO_LIBS"; then
36694 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36695 else
36696 if test -n "$PKG_CONFIG" && \
36697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36698 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36699 ac_status=$?
36700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36701 test $ac_status = 0; }; then
36702 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36703 else
36704 pkg_failed=yes
36705 fi
36706 fi
36707 else
36708 pkg_failed=untried
36709 fi
36710
36711
36712
36713 if test $pkg_failed = yes; then
36714
36715 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36716 _pkg_short_errors_supported=yes
36717 else
36718 _pkg_short_errors_supported=no
36719 fi
36720 if test $_pkg_short_errors_supported = yes; then
36721 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36722 else
36723 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36724 fi
36725 # Put the nasty error message in config.log where it belongs
36726 echo "$CAIRO_PKG_ERRORS" >&5
36727
36728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36729 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36730
36731 elif test $pkg_failed = untried; then
36732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36733 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36734
36735 else
36736 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36737 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36739 $as_echo "yes" >&6; }
36740 wx_has_graphics=1
36741 fi
36742 if test "$wx_has_graphics" = 1; then
36743 save_LIBS="$LIBS"
36744 LIBS="$LIBS $CAIRO_LIBS"
36745 for ac_func in cairo_push_group
36746 do :
36747 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36748 if test "x$ac_cv_func_cairo_push_group" = x""yes; then :
36749 cat >>confdefs.h <<_ACEOF
36750 #define HAVE_CAIRO_PUSH_GROUP 1
36751 _ACEOF
36752
36753 fi
36754 done
36755
36756 LIBS="$save_LIBS"
36757 if test "$ac_cv_func_cairo_push_group" = "no"; then
36758 wx_has_graphics=0
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36760 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36761 else
36762 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36763
36764
36765 if test "$wxUSE_GTK" != 1; then
36766 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36767 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36768 fi
36769 fi
36770 fi
36771 else
36772 wx_has_graphics=1
36773 fi
36774
36775 if test "$wx_has_graphics" = 1; then
36776 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36777
36778 else
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36780 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36781 fi
36782 fi
36783
36784
36785 USE_MEDIA=0
36786
36787 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36788 USE_MEDIA=1
36789
36790 if test "$wxUSE_GTK" = 1; then
36791 wxUSE_GSTREAMER="no"
36792
36793 GST_VERSION_MAJOR=0
36794 GST_VERSION_MINOR=10
36795 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36796
36797 if test "$wxUSE_GSTREAMER8" = "no"; then
36798
36799 pkg_failed=no
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36801 $as_echo_n "checking for GST... " >&6; }
36802
36803 if test -n "$PKG_CONFIG"; then
36804 if test -n "$GST_CFLAGS"; then
36805 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36806 else
36807 if test -n "$PKG_CONFIG" && \
36808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36809 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36810 ac_status=$?
36811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36812 test $ac_status = 0; }; then
36813 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36814 else
36815 pkg_failed=yes
36816 fi
36817 fi
36818 else
36819 pkg_failed=untried
36820 fi
36821 if test -n "$PKG_CONFIG"; then
36822 if test -n "$GST_LIBS"; then
36823 pkg_cv_GST_LIBS="$GST_LIBS"
36824 else
36825 if test -n "$PKG_CONFIG" && \
36826 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36827 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36828 ac_status=$?
36829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36830 test $ac_status = 0; }; then
36831 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36832 else
36833 pkg_failed=yes
36834 fi
36835 fi
36836 else
36837 pkg_failed=untried
36838 fi
36839
36840
36841
36842 if test $pkg_failed = yes; then
36843
36844 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36845 _pkg_short_errors_supported=yes
36846 else
36847 _pkg_short_errors_supported=no
36848 fi
36849 if test $_pkg_short_errors_supported = yes; then
36850 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36851 else
36852 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36853 fi
36854 # Put the nasty error message in config.log where it belongs
36855 echo "$GST_PKG_ERRORS" >&5
36856
36857
36858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36859 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36860 GST_VERSION_MINOR=8
36861
36862
36863 elif test $pkg_failed = untried; then
36864
36865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36866 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36867 GST_VERSION_MINOR=8
36868
36869
36870 else
36871 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36872 GST_LIBS=$pkg_cv_GST_LIBS
36873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36874 $as_echo "yes" >&6; }
36875
36876 wxUSE_GSTREAMER="yes"
36877 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36878
36879 fi
36880 else
36881 GST_VERSION_MINOR=8
36882 fi
36883
36884 if test $GST_VERSION_MINOR = "8"; then
36885 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36886
36887 pkg_failed=no
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36889 $as_echo_n "checking for GST... " >&6; }
36890
36891 if test -n "$PKG_CONFIG"; then
36892 if test -n "$GST_CFLAGS"; then
36893 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36894 else
36895 if test -n "$PKG_CONFIG" && \
36896 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36897 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36898 ac_status=$?
36899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36900 test $ac_status = 0; }; then
36901 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36902 else
36903 pkg_failed=yes
36904 fi
36905 fi
36906 else
36907 pkg_failed=untried
36908 fi
36909 if test -n "$PKG_CONFIG"; then
36910 if test -n "$GST_LIBS"; then
36911 pkg_cv_GST_LIBS="$GST_LIBS"
36912 else
36913 if test -n "$PKG_CONFIG" && \
36914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36915 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36916 ac_status=$?
36917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36918 test $ac_status = 0; }; then
36919 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36920 else
36921 pkg_failed=yes
36922 fi
36923 fi
36924 else
36925 pkg_failed=untried
36926 fi
36927
36928
36929
36930 if test $pkg_failed = yes; then
36931
36932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36933 _pkg_short_errors_supported=yes
36934 else
36935 _pkg_short_errors_supported=no
36936 fi
36937 if test $_pkg_short_errors_supported = yes; then
36938 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36939 else
36940 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36941 fi
36942 # Put the nasty error message in config.log where it belongs
36943 echo "$GST_PKG_ERRORS" >&5
36944
36945
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36947 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36948
36949 elif test $pkg_failed = untried; then
36950
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36952 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36953
36954 else
36955 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36956 GST_LIBS=$pkg_cv_GST_LIBS
36957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36958 $as_echo "yes" >&6; }
36959 wxUSE_GSTREAMER="yes"
36960 fi
36961 fi
36962
36963
36964 if test "$wxUSE_GSTREAMER" = "yes"; then
36965 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36966 EXTRALIBS_MEDIA="$GST_LIBS"
36967
36968 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36969
36970 else
36971 USE_MEDIA=0
36972 fi
36973 fi
36974
36975 if test $USE_MEDIA = 1; then
36976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36977 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36978
36979 else
36980 if test "$wxUSE_MEDIACTRL" = "yes"; then
36981 as_fn_error $? "GStreamer not available" "$LINENO" 5
36982 else
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36984 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36985 fi
36986 fi
36987 fi
36988
36989
36990 if test "$cross_compiling" != "no"; then
36991 OSINFO="\"$host\""
36992 else
36993 OSINFO=`uname -s -r -m`
36994 OSINFO="\"$OSINFO\""
36995 fi
36996
36997 cat >>confdefs.h <<_ACEOF
36998 #define WXWIN_OS_DESCRIPTION $OSINFO
36999 _ACEOF
37000
37001
37002
37003 if test "x$prefix" != "xNONE"; then
37004 wxPREFIX=$prefix
37005 else
37006 wxPREFIX=$ac_default_prefix
37007 fi
37008
37009 cat >>confdefs.h <<_ACEOF
37010 #define wxINSTALL_PREFIX "$wxPREFIX"
37011 _ACEOF
37012
37013
37014
37015
37016 STD_BASE_LIBS="base"
37017 STD_GUI_LIBS=""
37018 BUILT_WX_LIBS="base"
37019 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
37020
37021 if test "$wxUSE_SOCKETS" = "yes" ; then
37022 STD_BASE_LIBS="net $STD_BASE_LIBS"
37023 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
37024 fi
37025 if test "$wxUSE_XML" = "yes" ; then
37026 STD_BASE_LIBS="xml $STD_BASE_LIBS"
37027 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
37028 fi
37029
37030 if test "$wxUSE_GUI" = "yes"; then
37031 STD_GUI_LIBS="adv core"
37032 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
37033
37034 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37035 STD_GUI_LIBS="qa $STD_GUI_LIBS"
37036 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
37037 fi
37038 if test "$wxUSE_HTML" = "yes" ; then
37039 STD_GUI_LIBS="html $STD_GUI_LIBS"
37040 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
37041 fi
37042 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37043 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
37044 fi
37045 if test "$wxUSE_OPENGL" = "yes" ; then
37046 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
37047 fi
37048 if test "$wxUSE_AUI" = "yes" ; then
37049 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
37050 fi
37051 if test "$wxUSE_PROPGRID" = "yes" ; then
37052 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
37053 fi
37054 if test "$wxUSE_RIBBON" = "yes" ; then
37055 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
37056 fi
37057 if test "$wxUSE_RICHTEXT" = "yes" ; then
37058 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
37059 fi
37060 if test "$wxUSE_STC" = "yes" ; then
37061 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
37062 fi
37063 if test "$wxUSE_WEBVIEW" = "yes" ; then
37064 STD_GUI_LIBS="webview $STD_GUI_LIBS"
37065 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
37066 fi
37067 if test "$wxUSE_XRC" = "yes" ; then
37068 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
37069 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
37070 fi
37071 fi
37072
37073
37074
37075
37076
37077
37078
37079 EXTRA_FRAMEWORKS=
37080 if test "$wxUSE_MAC" = 1 ; then
37081 if test "$USE_DARWIN" = 1; then
37082 if test "$wxUSE_OSX_IPHONE" = 1; then
37083 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37084 else
37085 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37086
37087
37088 if test "$cross_compiling" != "no"; then
37089 wx_cv_target_x86_64=no
37090 else
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37092 $as_echo_n "checking if we target only x86_64... " >&6; }
37093 if test "${wx_cv_target_x86_64+set}" = set; then :
37094 $as_echo_n "(cached) " >&6
37095 else
37096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37097 /* end confdefs.h. */
37098 int main() { return 0; }
37099 _ACEOF
37100 if ac_fn_c_try_link "$LINENO"; then :
37101 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
37102 wx_cv_target_x86_64=no
37103 else
37104 wx_cv_target_x86_64=yes
37105 fi
37106
37107 fi
37108 rm -f core conftest.err conftest.$ac_objext \
37109 conftest$ac_exeext conftest.$ac_ext
37110
37111 fi
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37113 $as_echo "$wx_cv_target_x86_64" >&6; }
37114 fi
37115
37116 if test "$wx_cv_target_x86_64" != "yes"; then
37117 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37118 fi
37119 fi
37120 fi
37121 fi
37122 if test "$wxUSE_OLD_COCOA" = 1 ; then
37123 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
37124 if test "$wxUSE_MEDIACTRL" = "yes"; then
37125 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
37126 fi
37127 fi
37128 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37129 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37130 fi
37131
37132 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37133 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37134
37135 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37136
37137 if test "$wxUSE_GUI" = "yes"; then
37138
37139
37140 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37141 erase event exec font image minimal render \
37142 shaped svg taborder vscroll widgets wrapsizer"
37143
37144 if test "$wxUSE_MONOLITHIC" != "yes"; then
37145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37146 fi
37147 if test "$TOOLKIT" = "MSW"; then
37148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37149 if test "$wxUSE_UNIVERSAL" != "yes"; then
37150 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37151 fi
37152 fi
37153 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37155 fi
37156 else
37157 SAMPLES_SUBDIRS="console"
37158 if test "$wxUSE_SOCKETS" = "yes" ; then
37159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37160 fi
37161 if test "$wxUSE_IPC" = "yes" ; then
37162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37163 fi
37164 fi
37165
37166
37167 if test "x$INTELCC" = "xyes" ; then
37168 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37169 elif test "$GCC" = yes ; then
37170 CWARNINGS="-Wall -Wundef"
37171 fi
37172
37173 if test "x$INTELCXX" = "xyes" ; then
37174 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37175 elif test "$GXX" = yes ; then
37176 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37178 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37179 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then :
37180 $as_echo_n "(cached) " >&6
37181 else
37182 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37183
37184 ac_ext=cpp
37185 ac_cpp='$CXXCPP $CPPFLAGS'
37186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37189
37190 ac_save_CXXFLAGS="$CXXFLAGS"
37191 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37192 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37194 /* end confdefs.h. */
37195
37196 int
37197 main ()
37198 {
37199 return 0;
37200 ;
37201 return 0;
37202 }
37203 _ACEOF
37204 if ac_fn_cxx_try_compile "$LINENO"; then :
37205 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37206 fi
37207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37208 done
37209 CXXFLAGS="$ac_save_CXXFLAGS"
37210 ac_ext=c
37211 ac_cpp='$CPP $CPPFLAGS'
37212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37215
37216
37217 fi
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37219 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37220 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37221 .ok|.ok,*) ;;
37222 .|.no|.no,*) ;;
37223 *)
37224 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37225 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37226 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37227 ac_status=$?
37228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37229 test $ac_status = 0; }
37230 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37231 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37232 ac_status=$?
37233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37234 test $ac_status = 0; }
37235 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37236 fi
37237 ;;
37238 esac
37239
37240
37241 if test "$wxUSE_MAC" = 1 ; then
37242 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37243 fi
37244 fi
37245
37246
37247 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37248 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37249
37250
37251 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37252 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37253 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37254 $CPPFLAGS `
37255
37256 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37257 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37258 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37259 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37260 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37261
37262 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37263
37264
37265 if test "x$MWCC" = "xyes"; then
37266
37267 CC="$CC -cwd source -I-"
37268 CXX="$CXX -cwd source -I-"
37269 fi
37270
37271
37272 LIBS=`echo $LIBS`
37273 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37274 EXTRALIBS_XML="$EXPAT_LINK"
37275 EXTRALIBS_HTML="$MSPACK_LINK"
37276 EXTRALIBS_MEDIA="$GST_LIBS"
37277 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37278 if test "$wxUSE_GUI" = "yes"; then
37279 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37280 fi
37281 if test "$wxUSE_OPENGL" = "yes"; then
37282 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37283 fi
37284
37285 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37286
37287 WXCONFIG_LIBS="$LIBS"
37288
37289 if test "$wxUSE_REGEX" = "builtin" ; then
37290 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37291 fi
37292 if test "$wxUSE_EXPAT" = "builtin" ; then
37293 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37294 fi
37295 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37296 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37297 fi
37298 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37299 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37300 fi
37301 if test "$wxUSE_LIBPNG" = "builtin" ; then
37302 wxconfig_3rdparty="png $wxconfig_3rdparty"
37303 fi
37304 if test "$wxUSE_ZLIB" = "builtin" ; then
37305 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37306 fi
37307
37308 for i in $wxconfig_3rdparty ; do
37309 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37310 done
37311
37312
37313 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37314 WXUNIV=1
37315
37316 case "$wxUNIV_THEMES" in
37317 ''|all)
37318 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37319
37320 ;;
37321
37322 *)
37323 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37324 cat >>confdefs.h <<_ACEOF
37325 #define wxUSE_THEME_$t 1
37326 _ACEOF
37327
37328 done
37329 esac
37330 else
37331 WXUNIV=0
37332 fi
37333
37334
37335
37336
37337
37338
37339
37340
37341 if test $wxUSE_MONOLITHIC = "yes" ; then
37342 MONOLITHIC=1
37343 else
37344 MONOLITHIC=0
37345 fi
37346
37347 if test $wxUSE_PLUGINS = "yes" ; then
37348 USE_PLUGINS=1
37349 else
37350 USE_PLUGINS=0
37351 fi
37352
37353 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37354 USE_QA=1
37355 else
37356 USE_QA=0
37357 fi
37358
37359 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37360 OFFICIAL_BUILD=1
37361 else
37362 OFFICIAL_BUILD=0
37363 fi
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385
37386
37387
37388
37389
37390
37391 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37392
37393
37394
37395
37396
37397
37398
37399
37400
37401
37402 case "$TOOLKIT" in
37403 GTK)
37404 TOOLKIT_DESC="GTK+"
37405 if test "$WXGTK2" = 1; then
37406 if test "$WXGTK3" = 1; then
37407 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37408 else
37409 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37410 fi
37411 if test "$wxUSE_GTKPRINT" = "yes" ; then
37412 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37413 fi
37414 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37415 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37416 fi
37417 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37418 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37419 fi
37420 if test "$wxUSE_LIBHILDON" = "yes"; then
37421 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37422 fi
37423 if test "$wxUSE_LIBHILDON2" = "yes"; then
37424 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37425 fi
37426
37427 if test "$TOOLKIT_EXTRA" != ""; then
37428 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37429 fi
37430 fi
37431 ;;
37432
37433 ?*)
37434 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37435 ;;
37436
37437 *)
37438 TOOLKIT_DESC="base only"
37439 ;;
37440 esac
37441
37442 if test "$wxUSE_WINE" = "yes"; then
37443 BAKEFILE_FORCE_PLATFORM=win32
37444 fi
37445
37446 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37447 then
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37449 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37450 if test "${wx_cv_gcc_pch_bug+set}" = set; then :
37451 $as_echo_n "(cached) " >&6
37452 else
37453
37454 echo '#include <stdio.h>
37455 const wchar_t test_var[] = L"awidetest";' > conftest.h
37456
37457 echo '#include "conftest.h"
37458 int main()
37459 {
37460 printf("%ls", test_var);
37461 return 0;
37462 }' > conftest.cpp
37463
37464 wx_cv_gcc_pch_bug="pch not supported"
37465
37466 if $CXX conftest.h >/dev/null 2>&1
37467 then
37468 wx_cv_gcc_pch_bug=
37469
37470 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37471 then
37472 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37473 grep awidetest >/dev/null
37474 then
37475 wx_cv_gcc_pch_bug=no
37476 else
37477 wx_cv_gcc_pch_bug=yes
37478 fi
37479 fi
37480 fi
37481
37482 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37483
37484 fi
37485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37486 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37487
37488 if test "$wx_cv_gcc_pch_bug" = yes; then
37489 bk_use_pch=no
37490 fi
37491 fi
37492
37493 # Find a good install program. We prefer a C program (faster),
37494 # so one script is as good as another. But avoid the broken or
37495 # incompatible versions:
37496 # SysV /etc/install, /usr/sbin/install
37497 # SunOS /usr/etc/install
37498 # IRIX /sbin/install
37499 # AIX /bin/install
37500 # AmigaOS /C/install, which installs bootblocks on floppy discs
37501 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37502 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37503 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37504 # OS/2's system install, which has a completely different semantic
37505 # ./install, which can be erroneously created by make from ./install.sh.
37506 # Reject install programs that cannot install multiple files.
37507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37508 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37509 if test -z "$INSTALL"; then
37510 if test "${ac_cv_path_install+set}" = set; then :
37511 $as_echo_n "(cached) " >&6
37512 else
37513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37514 for as_dir in $PATH
37515 do
37516 IFS=$as_save_IFS
37517 test -z "$as_dir" && as_dir=.
37518 # Account for people who put trailing slashes in PATH elements.
37519 case $as_dir/ in #((
37520 ./ | .// | /[cC]/* | \
37521 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37522 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37523 /usr/ucb/* ) ;;
37524 *)
37525 # OSF1 and SCO ODT 3.0 have their own names for install.
37526 # Don't use installbsd from OSF since it installs stuff as root
37527 # by default.
37528 for ac_prog in ginstall scoinst install; do
37529 for ac_exec_ext in '' $ac_executable_extensions; do
37530 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37531 if test $ac_prog = install &&
37532 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37533 # AIX install. It has an incompatible calling convention.
37534 :
37535 elif test $ac_prog = install &&
37536 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37537 # program-specific install script used by HP pwplus--don't use.
37538 :
37539 else
37540 rm -rf conftest.one conftest.two conftest.dir
37541 echo one > conftest.one
37542 echo two > conftest.two
37543 mkdir conftest.dir
37544 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37545 test -s conftest.one && test -s conftest.two &&
37546 test -s conftest.dir/conftest.one &&
37547 test -s conftest.dir/conftest.two
37548 then
37549 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37550 break 3
37551 fi
37552 fi
37553 fi
37554 done
37555 done
37556 ;;
37557 esac
37558
37559 done
37560 IFS=$as_save_IFS
37561
37562 rm -rf conftest.one conftest.two conftest.dir
37563
37564 fi
37565 if test "${ac_cv_path_install+set}" = set; then
37566 INSTALL=$ac_cv_path_install
37567 else
37568 # As a last resort, use the slow shell script. Don't cache a
37569 # value for INSTALL within a source directory, because that will
37570 # break other packages using the cache if that directory is
37571 # removed, or if the value is a relative name.
37572 INSTALL=$ac_install_sh
37573 fi
37574 fi
37575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37576 $as_echo "$INSTALL" >&6; }
37577
37578 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37579 # It thinks the first close brace ends the variable substitution.
37580 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37581
37582 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37583
37584 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37585
37586
37587
37588
37589
37590
37591
37592 if test "x$BAKEFILE_HOST" = "x"; then
37593 if test "x${host}" = "x" ; then
37594 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37595 fi
37596
37597 BAKEFILE_HOST="${host}"
37598 fi
37599
37600 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37601
37602 if test -n "$ac_tool_prefix"; then
37603 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37604 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37606 $as_echo_n "checking for $ac_word... " >&6; }
37607 if test "${ac_cv_prog_RANLIB+set}" = set; then :
37608 $as_echo_n "(cached) " >&6
37609 else
37610 if test -n "$RANLIB"; then
37611 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37612 else
37613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37614 for as_dir in $PATH
37615 do
37616 IFS=$as_save_IFS
37617 test -z "$as_dir" && as_dir=.
37618 for ac_exec_ext in '' $ac_executable_extensions; do
37619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37620 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37622 break 2
37623 fi
37624 done
37625 done
37626 IFS=$as_save_IFS
37627
37628 fi
37629 fi
37630 RANLIB=$ac_cv_prog_RANLIB
37631 if test -n "$RANLIB"; then
37632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37633 $as_echo "$RANLIB" >&6; }
37634 else
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37636 $as_echo "no" >&6; }
37637 fi
37638
37639
37640 fi
37641 if test -z "$ac_cv_prog_RANLIB"; then
37642 ac_ct_RANLIB=$RANLIB
37643 # Extract the first word of "ranlib", so it can be a program name with args.
37644 set dummy ranlib; ac_word=$2
37645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37646 $as_echo_n "checking for $ac_word... " >&6; }
37647 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
37648 $as_echo_n "(cached) " >&6
37649 else
37650 if test -n "$ac_ct_RANLIB"; then
37651 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37652 else
37653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37654 for as_dir in $PATH
37655 do
37656 IFS=$as_save_IFS
37657 test -z "$as_dir" && as_dir=.
37658 for ac_exec_ext in '' $ac_executable_extensions; do
37659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37660 ac_cv_prog_ac_ct_RANLIB="ranlib"
37661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37662 break 2
37663 fi
37664 done
37665 done
37666 IFS=$as_save_IFS
37667
37668 fi
37669 fi
37670 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37671 if test -n "$ac_ct_RANLIB"; then
37672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37673 $as_echo "$ac_ct_RANLIB" >&6; }
37674 else
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37676 $as_echo "no" >&6; }
37677 fi
37678
37679 if test "x$ac_ct_RANLIB" = x; then
37680 RANLIB=":"
37681 else
37682 case $cross_compiling:$ac_tool_warned in
37683 yes:)
37684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37686 ac_tool_warned=yes ;;
37687 esac
37688 RANLIB=$ac_ct_RANLIB
37689 fi
37690 else
37691 RANLIB="$ac_cv_prog_RANLIB"
37692 fi
37693
37694
37695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37696 $as_echo_n "checking whether ln -s works... " >&6; }
37697 LN_S=$as_ln_s
37698 if test "$LN_S" = "ln -s"; then
37699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37700 $as_echo "yes" >&6; }
37701 else
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37703 $as_echo "no, using $LN_S" >&6; }
37704 fi
37705
37706
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37708 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37709 set x ${MAKE-make}
37710 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37711 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
37712 $as_echo_n "(cached) " >&6
37713 else
37714 cat >conftest.make <<\_ACEOF
37715 SHELL = /bin/sh
37716 all:
37717 @echo '@@@%%%=$(MAKE)=@@@%%%'
37718 _ACEOF
37719 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37720 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37721 *@@@%%%=?*=@@@%%%*)
37722 eval ac_cv_prog_make_${ac_make}_set=yes;;
37723 *)
37724 eval ac_cv_prog_make_${ac_make}_set=no;;
37725 esac
37726 rm -f conftest.make
37727 fi
37728 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37730 $as_echo "yes" >&6; }
37731 SET_MAKE=
37732 else
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37734 $as_echo "no" >&6; }
37735 SET_MAKE="MAKE=${MAKE-make}"
37736 fi
37737
37738
37739
37740 if test "x$SUNCXX" = "xyes"; then
37741 AR=$CXX
37742 AROPTIONS="-xar -o"
37743
37744 elif test "x$SGICC" = "xyes"; then
37745 AR=$CXX
37746 AROPTIONS="-ar -o"
37747
37748 else
37749 if test -n "$ac_tool_prefix"; then
37750 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37751 set dummy ${ac_tool_prefix}ar; ac_word=$2
37752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37753 $as_echo_n "checking for $ac_word... " >&6; }
37754 if test "${ac_cv_prog_AR+set}" = set; then :
37755 $as_echo_n "(cached) " >&6
37756 else
37757 if test -n "$AR"; then
37758 ac_cv_prog_AR="$AR" # Let the user override the test.
37759 else
37760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37761 for as_dir in $PATH
37762 do
37763 IFS=$as_save_IFS
37764 test -z "$as_dir" && as_dir=.
37765 for ac_exec_ext in '' $ac_executable_extensions; do
37766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37767 ac_cv_prog_AR="${ac_tool_prefix}ar"
37768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37769 break 2
37770 fi
37771 done
37772 done
37773 IFS=$as_save_IFS
37774
37775 fi
37776 fi
37777 AR=$ac_cv_prog_AR
37778 if test -n "$AR"; then
37779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37780 $as_echo "$AR" >&6; }
37781 else
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37783 $as_echo "no" >&6; }
37784 fi
37785
37786
37787 fi
37788 if test -z "$ac_cv_prog_AR"; then
37789 ac_ct_AR=$AR
37790 # Extract the first word of "ar", so it can be a program name with args.
37791 set dummy ar; ac_word=$2
37792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37793 $as_echo_n "checking for $ac_word... " >&6; }
37794 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
37795 $as_echo_n "(cached) " >&6
37796 else
37797 if test -n "$ac_ct_AR"; then
37798 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37799 else
37800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37801 for as_dir in $PATH
37802 do
37803 IFS=$as_save_IFS
37804 test -z "$as_dir" && as_dir=.
37805 for ac_exec_ext in '' $ac_executable_extensions; do
37806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37807 ac_cv_prog_ac_ct_AR="ar"
37808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37809 break 2
37810 fi
37811 done
37812 done
37813 IFS=$as_save_IFS
37814
37815 fi
37816 fi
37817 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37818 if test -n "$ac_ct_AR"; then
37819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37820 $as_echo "$ac_ct_AR" >&6; }
37821 else
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37823 $as_echo "no" >&6; }
37824 fi
37825
37826 if test "x$ac_ct_AR" = x; then
37827 AR="ar"
37828 else
37829 case $cross_compiling:$ac_tool_warned in
37830 yes:)
37831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37833 ac_tool_warned=yes ;;
37834 esac
37835 AR=$ac_ct_AR
37836 fi
37837 else
37838 AR="$ac_cv_prog_AR"
37839 fi
37840
37841 AROPTIONS=rcu
37842 fi
37843
37844
37845 if test -n "$ac_tool_prefix"; then
37846 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37847 set dummy ${ac_tool_prefix}strip; ac_word=$2
37848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37849 $as_echo_n "checking for $ac_word... " >&6; }
37850 if test "${ac_cv_prog_STRIP+set}" = set; then :
37851 $as_echo_n "(cached) " >&6
37852 else
37853 if test -n "$STRIP"; then
37854 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37855 else
37856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37857 for as_dir in $PATH
37858 do
37859 IFS=$as_save_IFS
37860 test -z "$as_dir" && as_dir=.
37861 for ac_exec_ext in '' $ac_executable_extensions; do
37862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37863 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37865 break 2
37866 fi
37867 done
37868 done
37869 IFS=$as_save_IFS
37870
37871 fi
37872 fi
37873 STRIP=$ac_cv_prog_STRIP
37874 if test -n "$STRIP"; then
37875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37876 $as_echo "$STRIP" >&6; }
37877 else
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37879 $as_echo "no" >&6; }
37880 fi
37881
37882
37883 fi
37884 if test -z "$ac_cv_prog_STRIP"; then
37885 ac_ct_STRIP=$STRIP
37886 # Extract the first word of "strip", so it can be a program name with args.
37887 set dummy strip; ac_word=$2
37888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37889 $as_echo_n "checking for $ac_word... " >&6; }
37890 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
37891 $as_echo_n "(cached) " >&6
37892 else
37893 if test -n "$ac_ct_STRIP"; then
37894 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37895 else
37896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37897 for as_dir in $PATH
37898 do
37899 IFS=$as_save_IFS
37900 test -z "$as_dir" && as_dir=.
37901 for ac_exec_ext in '' $ac_executable_extensions; do
37902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37903 ac_cv_prog_ac_ct_STRIP="strip"
37904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37905 break 2
37906 fi
37907 done
37908 done
37909 IFS=$as_save_IFS
37910
37911 fi
37912 fi
37913 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37914 if test -n "$ac_ct_STRIP"; then
37915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37916 $as_echo "$ac_ct_STRIP" >&6; }
37917 else
37918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37919 $as_echo "no" >&6; }
37920 fi
37921
37922 if test "x$ac_ct_STRIP" = x; then
37923 STRIP=":"
37924 else
37925 case $cross_compiling:$ac_tool_warned in
37926 yes:)
37927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37929 ac_tool_warned=yes ;;
37930 esac
37931 STRIP=$ac_ct_STRIP
37932 fi
37933 else
37934 STRIP="$ac_cv_prog_STRIP"
37935 fi
37936
37937 if test -n "$ac_tool_prefix"; then
37938 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37939 set dummy ${ac_tool_prefix}nm; ac_word=$2
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37941 $as_echo_n "checking for $ac_word... " >&6; }
37942 if test "${ac_cv_prog_NM+set}" = set; then :
37943 $as_echo_n "(cached) " >&6
37944 else
37945 if test -n "$NM"; then
37946 ac_cv_prog_NM="$NM" # Let the user override the test.
37947 else
37948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37949 for as_dir in $PATH
37950 do
37951 IFS=$as_save_IFS
37952 test -z "$as_dir" && as_dir=.
37953 for ac_exec_ext in '' $ac_executable_extensions; do
37954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37955 ac_cv_prog_NM="${ac_tool_prefix}nm"
37956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37957 break 2
37958 fi
37959 done
37960 done
37961 IFS=$as_save_IFS
37962
37963 fi
37964 fi
37965 NM=$ac_cv_prog_NM
37966 if test -n "$NM"; then
37967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37968 $as_echo "$NM" >&6; }
37969 else
37970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37971 $as_echo "no" >&6; }
37972 fi
37973
37974
37975 fi
37976 if test -z "$ac_cv_prog_NM"; then
37977 ac_ct_NM=$NM
37978 # Extract the first word of "nm", so it can be a program name with args.
37979 set dummy nm; ac_word=$2
37980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37981 $as_echo_n "checking for $ac_word... " >&6; }
37982 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
37983 $as_echo_n "(cached) " >&6
37984 else
37985 if test -n "$ac_ct_NM"; then
37986 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37987 else
37988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37989 for as_dir in $PATH
37990 do
37991 IFS=$as_save_IFS
37992 test -z "$as_dir" && as_dir=.
37993 for ac_exec_ext in '' $ac_executable_extensions; do
37994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37995 ac_cv_prog_ac_ct_NM="nm"
37996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37997 break 2
37998 fi
37999 done
38000 done
38001 IFS=$as_save_IFS
38002
38003 fi
38004 fi
38005 ac_ct_NM=$ac_cv_prog_ac_ct_NM
38006 if test -n "$ac_ct_NM"; then
38007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38008 $as_echo "$ac_ct_NM" >&6; }
38009 else
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38011 $as_echo "no" >&6; }
38012 fi
38013
38014 if test "x$ac_ct_NM" = x; then
38015 NM=":"
38016 else
38017 case $cross_compiling:$ac_tool_warned in
38018 yes:)
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38021 ac_tool_warned=yes ;;
38022 esac
38023 NM=$ac_ct_NM
38024 fi
38025 else
38026 NM="$ac_cv_prog_NM"
38027 fi
38028
38029
38030 INSTALL_DIR="mkdir -p"
38031
38032
38033 LDFLAGS_GUI=
38034 case ${BAKEFILE_HOST} in
38035 *-*-cygwin* | *-*-mingw32* )
38036 LDFLAGS_GUI="-mwindows"
38037 esac
38038
38039
38040 fi
38041
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38043 $as_echo_n "checking if make is GNU make... " >&6; }
38044 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then :
38045 $as_echo_n "(cached) " >&6
38046 else
38047
38048 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
38049 egrep -s GNU > /dev/null); then
38050 bakefile_cv_prog_makeisgnu="yes"
38051 else
38052 bakefile_cv_prog_makeisgnu="no"
38053 fi
38054
38055 fi
38056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38057 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38058
38059 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38060 IF_GNU_MAKE=""
38061 else
38062 IF_GNU_MAKE="#"
38063 fi
38064
38065
38066
38067 PLATFORM_UNIX=0
38068 PLATFORM_WIN32=0
38069 PLATFORM_MSDOS=0
38070 PLATFORM_MAC=0
38071 PLATFORM_MACOS=0
38072 PLATFORM_MACOSX=0
38073 PLATFORM_OS2=0
38074 PLATFORM_BEOS=0
38075
38076 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38077 case "${BAKEFILE_HOST}" in
38078 *-*-mingw32* )
38079 PLATFORM_WIN32=1
38080 ;;
38081 *-pc-msdosdjgpp )
38082 PLATFORM_MSDOS=1
38083 ;;
38084 *-pc-os2_emx | *-pc-os2-emx )
38085 PLATFORM_OS2=1
38086 ;;
38087 *-*-darwin* )
38088 PLATFORM_MAC=1
38089 PLATFORM_MACOSX=1
38090 ;;
38091 *-*-beos* )
38092 PLATFORM_BEOS=1
38093 ;;
38094 powerpc-apple-macos* )
38095 PLATFORM_MAC=1
38096 PLATFORM_MACOS=1
38097 ;;
38098 * )
38099 PLATFORM_UNIX=1
38100 ;;
38101 esac
38102 else
38103 case "$BAKEFILE_FORCE_PLATFORM" in
38104 win32 )
38105 PLATFORM_WIN32=1
38106 ;;
38107 msdos )
38108 PLATFORM_MSDOS=1
38109 ;;
38110 os2 )
38111 PLATFORM_OS2=1
38112 ;;
38113 darwin )
38114 PLATFORM_MAC=1
38115 PLATFORM_MACOSX=1
38116 ;;
38117 unix )
38118 PLATFORM_UNIX=1
38119 ;;
38120 beos )
38121 PLATFORM_BEOS=1
38122 ;;
38123 * )
38124 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38125 ;;
38126 esac
38127 fi
38128
38129
38130
38131
38132
38133
38134
38135
38136
38137
38138
38139 # Check whether --enable-omf was given.
38140 if test "${enable_omf+set}" = set; then :
38141 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38142 fi
38143
38144
38145 case "${BAKEFILE_HOST}" in
38146 *-*-darwin* )
38147 if test "x$GCC" = "xyes"; then
38148 CFLAGS="$CFLAGS -fno-common"
38149 CXXFLAGS="$CXXFLAGS -fno-common"
38150 fi
38151 if test "x$XLCC" = "xyes"; then
38152 CFLAGS="$CFLAGS -qnocommon"
38153 CXXFLAGS="$CXXFLAGS -qnocommon"
38154 fi
38155 ;;
38156
38157 *-pc-os2_emx | *-pc-os2-emx )
38158 if test "x$bk_os2_use_omf" = "xyes" ; then
38159 AR=emxomfar
38160 RANLIB=:
38161 LDFLAGS="-Zomf $LDFLAGS"
38162 CFLAGS="-Zomf $CFLAGS"
38163 CXXFLAGS="-Zomf $CXXFLAGS"
38164 OS2_LIBEXT="lib"
38165 else
38166 OS2_LIBEXT="a"
38167 fi
38168 ;;
38169
38170 i*86-*-beos* )
38171 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38172 ;;
38173 esac
38174
38175
38176 SO_SUFFIX="so"
38177 SO_SUFFIX_MODULE="so"
38178 EXEEXT=""
38179 LIBPREFIX="lib"
38180 LIBEXT=".a"
38181 DLLPREFIX="lib"
38182 DLLPREFIX_MODULE=""
38183 DLLIMP_SUFFIX=""
38184 dlldir="$libdir"
38185
38186 case "${BAKEFILE_HOST}" in
38187 ia64-hp-hpux* )
38188 ;;
38189 *-hp-hpux* )
38190 SO_SUFFIX="sl"
38191 SO_SUFFIX_MODULE="sl"
38192 ;;
38193 *-*-aix* )
38194 SO_SUFFIX="a"
38195 SO_SUFFIX_MODULE="a"
38196 ;;
38197 *-*-cygwin* )
38198 SO_SUFFIX="dll"
38199 SO_SUFFIX_MODULE="dll"
38200 DLLIMP_SUFFIX="dll.a"
38201 EXEEXT=".exe"
38202 DLLPREFIX="cyg"
38203 dlldir="$bindir"
38204 ;;
38205 *-*-mingw32* )
38206 SO_SUFFIX="dll"
38207 SO_SUFFIX_MODULE="dll"
38208 DLLIMP_SUFFIX="dll.a"
38209 EXEEXT=".exe"
38210 DLLPREFIX=""
38211 dlldir="$bindir"
38212 ;;
38213 *-pc-msdosdjgpp )
38214 EXEEXT=".exe"
38215 DLLPREFIX=""
38216 dlldir="$bindir"
38217 ;;
38218 *-pc-os2_emx | *-pc-os2-emx )
38219 SO_SUFFIX="dll"
38220 SO_SUFFIX_MODULE="dll"
38221 DLLIMP_SUFFIX=$OS2_LIBEXT
38222 EXEEXT=".exe"
38223 DLLPREFIX=""
38224 LIBPREFIX=""
38225 LIBEXT=".$OS2_LIBEXT"
38226 dlldir="$bindir"
38227 ;;
38228 *-*-darwin* )
38229 SO_SUFFIX="dylib"
38230 SO_SUFFIX_MODULE="bundle"
38231 ;;
38232 esac
38233
38234 if test "x$DLLIMP_SUFFIX" = "x" ; then
38235 DLLIMP_SUFFIX="$SO_SUFFIX"
38236 fi
38237
38238
38239
38240
38241
38242
38243
38244
38245
38246
38247
38248
38249 PIC_FLAG=""
38250 if test "x$GCC" = "xyes"; then
38251 PIC_FLAG="-fPIC"
38252 fi
38253
38254 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38255 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38256 WINDOWS_IMPLIB=0
38257
38258 case "${BAKEFILE_HOST}" in
38259 *-hp-hpux* )
38260 if test "x$GCC" != "xyes"; then
38261 LDFLAGS="$LDFLAGS -L/usr/lib"
38262
38263 SHARED_LD_CC="${CC} -b -o"
38264 SHARED_LD_CXX="${CXX} -b -o"
38265 PIC_FLAG="+Z"
38266 fi
38267 ;;
38268
38269 *-*-linux* )
38270 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38271 PIC_FLAG="-KPIC"
38272 elif test "x$SUNCXX" = "xyes"; then
38273 SHARED_LD_CC="${CC} -G -o"
38274 SHARED_LD_CXX="${CXX} -G -o"
38275 PIC_FLAG="-KPIC"
38276 fi
38277 ;;
38278
38279 *-*-solaris2* )
38280 if test "x$SUNCXX" = xyes ; then
38281 SHARED_LD_CC="${CC} -G -o"
38282 SHARED_LD_CXX="${CXX} -G -o"
38283 PIC_FLAG="-KPIC"
38284 fi
38285 ;;
38286
38287 *-*-darwin* )
38288
38289 D='$'
38290 cat <<EOF >shared-ld-sh
38291 #!/bin/sh
38292 #-----------------------------------------------------------------------------
38293 #-- Name: distrib/mac/shared-ld-sh
38294 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38295 #-- Author: Gilles Depeyrot
38296 #-- Copyright: (c) 2002 Gilles Depeyrot
38297 #-- Licence: any use permitted
38298 #-----------------------------------------------------------------------------
38299
38300 verbose=0
38301 args=""
38302 objects=""
38303 linking_flag="-dynamiclib"
38304 ldargs="-r -keep_private_externs -nostdlib"
38305
38306 if test "x${D}CXX" = "x"; then
38307 CXX="c++"
38308 fi
38309
38310 while test ${D}# -gt 0; do
38311 case ${D}1 in
38312
38313 -v)
38314 verbose=1
38315 ;;
38316
38317 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38318 # collect these options and values
38319 args="${D}{args} ${D}1 ${D}2"
38320 shift
38321 ;;
38322
38323 -arch|-isysroot)
38324 # collect these options and values
38325 ldargs="${D}{ldargs} ${D}1 ${D}2"
38326 shift
38327 ;;
38328
38329 -s|-Wl,*)
38330 # collect these load args
38331 ldargs="${D}{ldargs} ${D}1"
38332 ;;
38333
38334 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38335 # collect these options
38336 args="${D}{args} ${D}1"
38337 ;;
38338
38339 -dynamiclib|-bundle)
38340 linking_flag="${D}1"
38341 ;;
38342
38343 -*)
38344 echo "shared-ld: unhandled option '${D}1'"
38345 exit 1
38346 ;;
38347
38348 *.o | *.a | *.dylib)
38349 # collect object files
38350 objects="${D}{objects} ${D}1"
38351 ;;
38352
38353 *)
38354 echo "shared-ld: unhandled argument '${D}1'"
38355 exit 1
38356 ;;
38357
38358 esac
38359 shift
38360 done
38361
38362 status=0
38363
38364 #
38365 # Link one module containing all the others
38366 #
38367 if test ${D}{verbose} = 1; then
38368 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38369 fi
38370 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38371 status=${D}?
38372
38373 #
38374 # Link the shared library from the single module created, but only if the
38375 # previous command didn't fail:
38376 #
38377 if test ${D}{status} = 0; then
38378 if test ${D}{verbose} = 1; then
38379 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38380 fi
38381 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38382 status=${D}?
38383 fi
38384
38385 #
38386 # Remove intermediate module
38387 #
38388 rm -f master.${D}${D}.o
38389
38390 exit ${D}status
38391 EOF
38392
38393 chmod +x shared-ld-sh
38394
38395 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38396 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38397
38398
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38400 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38401 if test "${bakefile_cv_gcc31+set}" = set; then :
38402 $as_echo_n "(cached) " >&6
38403 else
38404
38405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h. */
38407
38408 int
38409 main ()
38410 {
38411
38412 #if (__GNUC__ < 3) || \
38413 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38414 This is old gcc
38415 #endif
38416
38417 ;
38418 return 0;
38419 }
38420 _ACEOF
38421 if ac_fn_c_try_compile "$LINENO"; then :
38422
38423 bakefile_cv_gcc31=yes
38424
38425 else
38426
38427 bakefile_cv_gcc31=no
38428
38429
38430 fi
38431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38432
38433 fi
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38435 $as_echo "$bakefile_cv_gcc31" >&6; }
38436 if test "$bakefile_cv_gcc31" = "no"; then
38437 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38438 SHARED_LD_CXX="$SHARED_LD_CC"
38439 else
38440 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38441 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38442 fi
38443
38444 if test "x$GCC" == "xyes"; then
38445 PIC_FLAG="-dynamic -fPIC"
38446 fi
38447 if test "x$XLCC" = "xyes"; then
38448 PIC_FLAG="-dynamic -DPIC"
38449 fi
38450 ;;
38451
38452 *-*-aix* )
38453 if test "x$GCC" = "xyes"; then
38454 PIC_FLAG=""
38455
38456 case "${BAKEFILE_HOST}" in
38457 *-*-aix5* )
38458 LD_EXPFULL="-Wl,-bexpfull"
38459 ;;
38460 esac
38461
38462 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38463 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38464 else
38465 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38466 set dummy makeC++SharedLib; ac_word=$2
38467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38468 $as_echo_n "checking for $ac_word... " >&6; }
38469 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then :
38470 $as_echo_n "(cached) " >&6
38471 else
38472 if test -n "$AIX_CXX_LD"; then
38473 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38474 else
38475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38476 for as_dir in $PATH
38477 do
38478 IFS=$as_save_IFS
38479 test -z "$as_dir" && as_dir=.
38480 for ac_exec_ext in '' $ac_executable_extensions; do
38481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38482 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38484 break 2
38485 fi
38486 done
38487 done
38488 IFS=$as_save_IFS
38489
38490 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38491 fi
38492 fi
38493 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38494 if test -n "$AIX_CXX_LD"; then
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38496 $as_echo "$AIX_CXX_LD" >&6; }
38497 else
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38499 $as_echo "no" >&6; }
38500 fi
38501
38502
38503 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38504 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38505 fi
38506 ;;
38507
38508 *-*-beos* )
38509 SHARED_LD_CC="${LD} -nostart -o"
38510 SHARED_LD_CXX="${LD} -nostart -o"
38511 ;;
38512
38513 *-*-irix* )
38514 if test "x$GCC" != "xyes"; then
38515 PIC_FLAG="-KPIC"
38516 fi
38517 ;;
38518
38519 *-*-cygwin* | *-*-mingw32* )
38520 PIC_FLAG=""
38521 SHARED_LD_CC="\$(CC) -shared -o"
38522 SHARED_LD_CXX="\$(CXX) -shared -o"
38523 WINDOWS_IMPLIB=1
38524 ;;
38525
38526 *-pc-os2_emx | *-pc-os2-emx )
38527 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38528 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38529 PIC_FLAG=""
38530
38531 D='$'
38532 cat <<EOF >dllar.sh
38533 #!/bin/sh
38534 #
38535 # dllar - a tool to build both a .dll and an .a file
38536 # from a set of object (.o) files for EMX/OS2.
38537 #
38538 # Written by Andrew Zabolotny, bit@freya.etu.ru
38539 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38540 #
38541 # This script will accept a set of files on the command line.
38542 # All the public symbols from the .o files will be exported into
38543 # a .DEF file, then linker will be run (through gcc) against them to
38544 # build a shared library consisting of all given .o files. All libraries
38545 # (.a) will be first decompressed into component .o files then act as
38546 # described above. You can optionally give a description (-d "description")
38547 # which will be put into .DLL. To see the list of accepted options (as well
38548 # as command-line format) simply run this program without options. The .DLL
38549 # is built to be imported by name (there is no guarantee that new versions
38550 # of the library you build will have same ordinals for same symbols).
38551 #
38552 # dllar is free software; you can redistribute it and/or modify
38553 # it under the terms of the GNU General Public License as published by
38554 # the Free Software Foundation; either version 2, or (at your option)
38555 # any later version.
38556 #
38557 # dllar is distributed in the hope that it will be useful,
38558 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38559 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38560 # GNU General Public License for more details.
38561 #
38562 # You should have received a copy of the GNU General Public License
38563 # along with dllar; see the file COPYING. If not, write to the Free
38564 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38565 # 02111-1307, USA.
38566
38567 # To successfuly run this program you will need:
38568 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38569 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38570 # - gcc
38571 # (used to build the .dll)
38572 # - emxexp
38573 # (used to create .def file from .o files)
38574 # - emximp
38575 # (used to create .a file from .def file)
38576 # - GNU text utilites (cat, sort, uniq)
38577 # used to process emxexp output
38578 # - GNU file utilities (mv, rm)
38579 # - GNU sed
38580 # - lxlite (optional, see flag below)
38581 # (used for general .dll cleanup)
38582 #
38583
38584 flag_USE_LXLITE=1;
38585
38586 #
38587 # helper functions
38588 # basnam, variant of basename, which does _not_ remove the path, _iff_
38589 # second argument (suffix to remove) is given
38590 basnam(){
38591 case ${D}# in
38592 1)
38593 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38594 ;;
38595 2)
38596 echo ${D}1 | sed 's/'${D}2'${D}//'
38597 ;;
38598 *)
38599 echo "error in basnam ${D}*"
38600 exit 8
38601 ;;
38602 esac
38603 }
38604
38605 # Cleanup temporary files and output
38606 CleanUp() {
38607 cd ${D}curDir
38608 for i in ${D}inputFiles ; do
38609 case ${D}i in
38610 *!)
38611 rm -rf \`basnam ${D}i !\`
38612 ;;
38613 *)
38614 ;;
38615 esac
38616 done
38617
38618 # Kill result in case of failure as there is just to many stupid make/nmake
38619 # things out there which doesn't do this.
38620 if [ ${D}# -eq 0 ]; then
38621 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38622 fi
38623 }
38624
38625 # Print usage and exit script with rc=1.
38626 PrintHelp() {
38627 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38628 echo ' [-name-mangler-script script.sh]'
38629 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38630 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38631 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38632 echo ' [*.o] [*.a]'
38633 echo '*> "output_file" should have no extension.'
38634 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38635 echo ' The import library name is derived from this and is set to "name".a,'
38636 echo ' unless overridden by -import'
38637 echo '*> "importlib_name" should have no extension.'
38638 echo ' If it has the .o, or .a extension, it is automatically removed.'
38639 echo ' This name is used as the import library name and may be longer and'
38640 echo ' more descriptive than the DLL name which has to follow the old '
38641 echo ' 8.3 convention of FAT.'
38642 echo '*> "script.sh may be given to override the output_file name by a'
38643 echo ' different name. It is mainly useful if the regular make process'
38644 echo ' of some package does not take into account OS/2 restriction of'
38645 echo ' DLL name lengths. It takes the importlib name as input and is'
38646 echo ' supposed to procude a shorter name as output. The script should'
38647 echo ' expect to get importlib_name without extension and should produce'
38648 echo ' a (max.) 8 letter name without extension.'
38649 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38650 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38651 echo ' These flags will be put at the start of GCC command line.'
38652 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38653 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38654 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38655 echo ' If the last character of a symbol is "*", all symbols beginning'
38656 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38657 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38658 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38659 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38660 echo ' C runtime DLLs.'
38661 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38662 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38663 echo ' unchanged to GCC at the end of command line.'
38664 echo '*> If you create a DLL from a library and you do not specify -o,'
38665 echo ' the basename for DLL and import library will be set to library name,'
38666 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38667 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38668 echo ' library will be renamed into gcc_s.a.'
38669 echo '--------'
38670 echo 'Example:'
38671 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38672 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38673 CleanUp
38674 exit 1
38675 }
38676
38677 # Execute a command.
38678 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38679 # @Uses Whatever CleanUp() uses.
38680 doCommand() {
38681 echo "${D}*"
38682 eval ${D}*
38683 rcCmd=${D}?
38684
38685 if [ ${D}rcCmd -ne 0 ]; then
38686 echo "command failed, exit code="${D}rcCmd
38687 CleanUp
38688 exit ${D}rcCmd
38689 fi
38690 }
38691
38692 # main routine
38693 # setup globals
38694 cmdLine=${D}*
38695 outFile=""
38696 outimpFile=""
38697 inputFiles=""
38698 renameScript=""
38699 description=""
38700 CC=gcc.exe
38701 CFLAGS="-s -Zcrtdll"
38702 EXTRA_CFLAGS=""
38703 EXPORT_BY_ORDINALS=0
38704 exclude_symbols=""
38705 library_flags=""
38706 curDir=\`pwd\`
38707 curDirS=curDir
38708 case ${D}curDirS in
38709 */)
38710 ;;
38711 *)
38712 curDirS=${D}{curDirS}"/"
38713 ;;
38714 esac
38715 # Parse commandline
38716 libsToLink=0
38717 omfLinking=0
38718 while [ ${D}1 ]; do
38719 case ${D}1 in
38720 -ord*)
38721 EXPORT_BY_ORDINALS=1;
38722 ;;
38723 -o*)
38724 shift
38725 outFile=${D}1
38726 ;;
38727 -i*)
38728 shift
38729 outimpFile=${D}1
38730 ;;
38731 -name-mangler-script)
38732 shift
38733 renameScript=${D}1
38734 ;;
38735 -d*)
38736 shift
38737 description=${D}1
38738 ;;
38739 -f*)
38740 shift
38741 CFLAGS=${D}1
38742 ;;
38743 -c*)
38744 shift
38745 CC=${D}1
38746 ;;
38747 -h*)
38748 PrintHelp
38749 ;;
38750 -ex*)
38751 shift
38752 exclude_symbols=${D}{exclude_symbols}${D}1" "
38753 ;;
38754 -libf*)
38755 shift
38756 library_flags=${D}{library_flags}${D}1" "
38757 ;;
38758 -nocrt*)
38759 CFLAGS="-s"
38760 ;;
38761 -nolxl*)
38762 flag_USE_LXLITE=0
38763 ;;
38764 -* | /*)
38765 case ${D}1 in
38766 -L* | -l*)
38767 libsToLink=1
38768 ;;
38769 -Zomf)
38770 omfLinking=1
38771 ;;
38772 *)
38773 ;;
38774 esac
38775 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38776 ;;
38777 *.dll)
38778 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38779 if [ ${D}omfLinking -eq 1 ]; then
38780 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38781 else
38782 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38783 fi
38784 ;;
38785 *)
38786 found=0;
38787 if [ ${D}libsToLink -ne 0 ]; then
38788 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38789 else
38790 for file in ${D}1 ; do
38791 if [ -f ${D}file ]; then
38792 inputFiles="${D}{inputFiles} ${D}file"
38793 found=1
38794 fi
38795 done
38796 if [ ${D}found -eq 0 ]; then
38797 echo "ERROR: No file(s) found: "${D}1
38798 exit 8
38799 fi
38800 fi
38801 ;;
38802 esac
38803 shift
38804 done # iterate cmdline words
38805
38806 #
38807 if [ -z "${D}inputFiles" ]; then
38808 echo "dllar: no input files"
38809 PrintHelp
38810 fi
38811
38812 # Now extract all .o files from .a files
38813 newInputFiles=""
38814 for file in ${D}inputFiles ; do
38815 case ${D}file in
38816 *.a | *.lib)
38817 case ${D}file in
38818 *.a)
38819 suffix=".a"
38820 AR="ar"
38821 ;;
38822 *.lib)
38823 suffix=".lib"
38824 AR="emxomfar"
38825 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38826 ;;
38827 *)
38828 ;;
38829 esac
38830 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38831 mkdir ${D}dirname
38832 if [ ${D}? -ne 0 ]; then
38833 echo "Failed to create subdirectory ./${D}dirname"
38834 CleanUp
38835 exit 8;
38836 fi
38837 # Append '!' to indicate archive
38838 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38839 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38840 cd ${D}curDir
38841 found=0;
38842 for subfile in ${D}dirname/*.o* ; do
38843 if [ -f ${D}subfile ]; then
38844 found=1
38845 if [ -s ${D}subfile ]; then
38846 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38847 newInputFiles="${D}newInputFiles ${D}subfile"
38848 fi
38849 fi
38850 done
38851 if [ ${D}found -eq 0 ]; then
38852 echo "WARNING: there are no files in archive \\'${D}file\\'"
38853 fi
38854 ;;
38855 *)
38856 newInputFiles="${D}{newInputFiles} ${D}file"
38857 ;;
38858 esac
38859 done
38860 inputFiles="${D}newInputFiles"
38861
38862 # Output filename(s).
38863 do_backup=0;
38864 if [ -z ${D}outFile ]; then
38865 do_backup=1;
38866 set outFile ${D}inputFiles; outFile=${D}2
38867 fi
38868
38869 # If it is an archive, remove the '!' and the '_%' suffixes
38870 case ${D}outFile in
38871 *_%!)
38872 outFile=\`basnam ${D}outFile _%!\`
38873 ;;
38874 *)
38875 ;;
38876 esac
38877 case ${D}outFile in
38878 *.dll)
38879 outFile=\`basnam ${D}outFile .dll\`
38880 ;;
38881 *.DLL)
38882 outFile=\`basnam ${D}outFile .DLL\`
38883 ;;
38884 *.o)
38885 outFile=\`basnam ${D}outFile .o\`
38886 ;;
38887 *.obj)
38888 outFile=\`basnam ${D}outFile .obj\`
38889 ;;
38890 *.a)
38891 outFile=\`basnam ${D}outFile .a\`
38892 ;;
38893 *.lib)
38894 outFile=\`basnam ${D}outFile .lib\`
38895 ;;
38896 *)
38897 ;;
38898 esac
38899 case ${D}outimpFile in
38900 *.a)
38901 outimpFile=\`basnam ${D}outimpFile .a\`
38902 ;;
38903 *.lib)
38904 outimpFile=\`basnam ${D}outimpFile .lib\`
38905 ;;
38906 *)
38907 ;;
38908 esac
38909 if [ -z ${D}outimpFile ]; then
38910 outimpFile=${D}outFile
38911 fi
38912 defFile="${D}{outFile}.def"
38913 arcFile="${D}{outimpFile}.a"
38914 arcFile2="${D}{outimpFile}.lib"
38915
38916 #create ${D}dllFile as something matching 8.3 restrictions,
38917 if [ -z ${D}renameScript ] ; then
38918 dllFile="${D}outFile"
38919 else
38920 dllFile=\`${D}renameScript ${D}outimpFile\`
38921 fi
38922
38923 if [ ${D}do_backup -ne 0 ] ; then
38924 if [ -f ${D}arcFile ] ; then
38925 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38926 fi
38927 if [ -f ${D}arcFile2 ] ; then
38928 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38929 fi
38930 fi
38931
38932 # Extract public symbols from all the object files.
38933 tmpdefFile=${D}{defFile}_%
38934 rm -f ${D}tmpdefFile
38935 for file in ${D}inputFiles ; do
38936 case ${D}file in
38937 *!)
38938 ;;
38939 *)
38940 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38941 ;;
38942 esac
38943 done
38944
38945 # Create the def file.
38946 rm -f ${D}defFile
38947 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38948 dllFile="${D}{dllFile}.dll"
38949 if [ ! -z ${D}description ]; then
38950 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38951 fi
38952 echo "EXPORTS" >> ${D}defFile
38953
38954 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38955 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38956
38957 # Checks if the export is ok or not.
38958 for word in ${D}exclude_symbols; do
38959 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38960 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38961 done
38962
38963
38964 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38965 sed "=" < ${D}tmpdefFile | \\
38966 sed '
38967 N
38968 : loop
38969 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38970 t loop
38971 ' > ${D}{tmpdefFile}%
38972 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38973 else
38974 rm -f ${D}{tmpdefFile}%
38975 fi
38976 cat ${D}tmpdefFile >> ${D}defFile
38977 rm -f ${D}tmpdefFile
38978
38979 # Do linking, create implib, and apply lxlite.
38980 gccCmdl="";
38981 for file in ${D}inputFiles ; do
38982 case ${D}file in
38983 *!)
38984 ;;
38985 *)
38986 gccCmdl="${D}gccCmdl ${D}file"
38987 ;;
38988 esac
38989 done
38990 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38991 touch "${D}{outFile}.dll"
38992
38993 doCommand "emximp -o ${D}arcFile ${D}defFile"
38994 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38995 add_flags="";
38996 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38997 add_flags="-ynd"
38998 fi
38999 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39000 fi
39001 doCommand "emxomf -s -l ${D}arcFile"
39002
39003 # Successful exit.
39004 CleanUp 1
39005 exit 0
39006 EOF
39007
39008 chmod +x dllar.sh
39009 ;;
39010
39011 powerpc-apple-macos* | \
39012 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
39013 *-*-mirbsd* | \
39014 *-*-sunos4* | \
39015 *-*-osf* | \
39016 *-*-dgux5* | \
39017 *-*-sysv5* | \
39018 *-pc-msdosdjgpp )
39019 ;;
39020
39021 *)
39022 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
39023 esac
39024
39025 if test "x$PIC_FLAG" != "x" ; then
39026 PIC_FLAG="$PIC_FLAG -DPIC"
39027 fi
39028
39029 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39030 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
39031 fi
39032 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39033 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
39034 fi
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044 USE_SOVERSION=0
39045 USE_SOVERLINUX=0
39046 USE_SOVERSOLARIS=0
39047 USE_SOVERCYGWIN=0
39048 USE_SOTWOSYMLINKS=0
39049 USE_MACVERSION=0
39050 SONAME_FLAG=
39051
39052 case "${BAKEFILE_HOST}" in
39053 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39054 *-*-k*bsd*-gnu | *-*-mirbsd* )
39055 if test "x$SUNCXX" = "xyes"; then
39056 SONAME_FLAG="-h "
39057 else
39058 SONAME_FLAG="-Wl,-soname,"
39059 fi
39060 USE_SOVERSION=1
39061 USE_SOVERLINUX=1
39062 USE_SOTWOSYMLINKS=1
39063 ;;
39064
39065 *-*-solaris2* )
39066 SONAME_FLAG="-h "
39067 USE_SOVERSION=1
39068 USE_SOVERSOLARIS=1
39069 ;;
39070
39071 *-*-darwin* )
39072 USE_MACVERSION=1
39073 USE_SOVERSION=1
39074 USE_SOTWOSYMLINKS=1
39075 ;;
39076
39077 *-*-cygwin* )
39078 USE_SOVERSION=1
39079 USE_SOVERCYGWIN=1
39080 ;;
39081 esac
39082
39083
39084
39085
39086
39087
39088
39089
39090
39091
39092 # Check whether --enable-dependency-tracking was given.
39093 if test "${enable_dependency_tracking+set}" = set; then :
39094 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
39095 fi
39096
39097
39098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39099 $as_echo_n "checking for dependency tracking method... " >&6; }
39100
39101 BK_DEPS=""
39102 if test "x$bk_use_trackdeps" = "xno" ; then
39103 DEPS_TRACKING=0
39104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39105 $as_echo "disabled" >&6; }
39106 else
39107 DEPS_TRACKING=1
39108
39109 if test "x$GCC" = "xyes"; then
39110 DEPSMODE=gcc
39111 DEPSFLAG="-MMD"
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39113 $as_echo "gcc" >&6; }
39114 elif test "x$MWCC" = "xyes"; then
39115 DEPSMODE=mwcc
39116 DEPSFLAG="-MM"
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39118 $as_echo "mwcc" >&6; }
39119 elif test "x$SUNCC" = "xyes"; then
39120 DEPSMODE=unixcc
39121 DEPSFLAG="-xM1"
39122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39123 $as_echo "Sun cc" >&6; }
39124 elif test "x$SGICC" = "xyes"; then
39125 DEPSMODE=unixcc
39126 DEPSFLAG="-M"
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39128 $as_echo "SGI cc" >&6; }
39129 elif test "x$HPCC" = "xyes"; then
39130 DEPSMODE=unixcc
39131 DEPSFLAG="+make"
39132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39133 $as_echo "HP cc" >&6; }
39134 elif test "x$COMPAQCC" = "xyes"; then
39135 DEPSMODE=gcc
39136 DEPSFLAG="-MD"
39137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39138 $as_echo "Compaq cc" >&6; }
39139 else
39140 DEPS_TRACKING=0
39141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39142 $as_echo "none" >&6; }
39143 fi
39144
39145 if test $DEPS_TRACKING = 1 ; then
39146
39147 D='$'
39148 cat <<EOF >bk-deps
39149 #!/bin/sh
39150
39151 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39152 # script. It is used to track C/C++ files dependencies in portable way.
39153 #
39154 # Permission is given to use this file in any way.
39155
39156 DEPSMODE=${DEPSMODE}
39157 DEPSFLAG="${DEPSFLAG}"
39158 DEPSDIRBASE=.deps
39159
39160 if test ${D}DEPSMODE = gcc ; then
39161 ${D}* ${D}{DEPSFLAG}
39162 status=${D}?
39163
39164 # determine location of created files:
39165 while test ${D}# -gt 0; do
39166 case "${D}1" in
39167 -o )
39168 shift
39169 objfile=${D}1
39170 ;;
39171 -* )
39172 ;;
39173 * )
39174 srcfile=${D}1
39175 ;;
39176 esac
39177 shift
39178 done
39179 objfilebase=\`basename ${D}objfile\`
39180 builddir=\`dirname ${D}objfile\`
39181 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39182 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39183 depsdir=${D}builddir/${D}DEPSDIRBASE
39184 mkdir -p ${D}depsdir
39185
39186 # if the compiler failed, we're done:
39187 if test ${D}{status} != 0 ; then
39188 rm -f ${D}depfile
39189 exit ${D}{status}
39190 fi
39191
39192 # move created file to the location we want it in:
39193 if test -f ${D}depfile ; then
39194 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39195 rm -f ${D}depfile
39196 else
39197 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39198 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39199 if test ! -f ${D}depfile ; then
39200 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39201 depfile="${D}objfile.d"
39202 fi
39203 if test -f ${D}depfile ; then
39204 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39205 rm -f ${D}depfile
39206 fi
39207 fi
39208 exit 0
39209
39210 elif test ${D}DEPSMODE = mwcc ; then
39211 ${D}* || exit ${D}?
39212 # Run mwcc again with -MM and redirect into the dep file we want
39213 # NOTE: We can't use shift here because we need ${D}* to be valid
39214 prevarg=
39215 for arg in ${D}* ; do
39216 if test "${D}prevarg" = "-o"; then
39217 objfile=${D}arg
39218 else
39219 case "${D}arg" in
39220 -* )
39221 ;;
39222 * )
39223 srcfile=${D}arg
39224 ;;
39225 esac
39226 fi
39227 prevarg="${D}arg"
39228 done
39229
39230 objfilebase=\`basename ${D}objfile\`
39231 builddir=\`dirname ${D}objfile\`
39232 depsdir=${D}builddir/${D}DEPSDIRBASE
39233 mkdir -p ${D}depsdir
39234
39235 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39236 exit 0
39237
39238 elif test ${D}DEPSMODE = unixcc; then
39239 ${D}* || exit ${D}?
39240 # Run compiler again with deps flag and redirect into the dep file.
39241 # It doesn't work if the '-o FILE' option is used, but without it the
39242 # dependency file will contain the wrong name for the object. So it is
39243 # removed from the command line, and the dep file is fixed with sed.
39244 cmd=""
39245 while test ${D}# -gt 0; do
39246 case "${D}1" in
39247 -o )
39248 shift
39249 objfile=${D}1
39250 ;;
39251 * )
39252 eval arg${D}#=\\${D}1
39253 cmd="${D}cmd \\${D}arg${D}#"
39254 ;;
39255 esac
39256 shift
39257 done
39258
39259 objfilebase=\`basename ${D}objfile\`
39260 builddir=\`dirname ${D}objfile\`
39261 depsdir=${D}builddir/${D}DEPSDIRBASE
39262 mkdir -p ${D}depsdir
39263
39264 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39265 exit 0
39266
39267 else
39268 ${D}*
39269 exit ${D}?
39270 fi
39271 EOF
39272
39273 chmod +x bk-deps
39274 BK_DEPS="`pwd`/bk-deps"
39275 fi
39276 fi
39277
39278
39279
39280
39281
39282 case ${BAKEFILE_HOST} in
39283 *-*-cygwin* | *-*-mingw32* )
39284 if test -n "$ac_tool_prefix"; then
39285 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39286 set dummy ${ac_tool_prefix}windres; ac_word=$2
39287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39288 $as_echo_n "checking for $ac_word... " >&6; }
39289 if test "${ac_cv_prog_WINDRES+set}" = set; then :
39290 $as_echo_n "(cached) " >&6
39291 else
39292 if test -n "$WINDRES"; then
39293 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39294 else
39295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39296 for as_dir in $PATH
39297 do
39298 IFS=$as_save_IFS
39299 test -z "$as_dir" && as_dir=.
39300 for ac_exec_ext in '' $ac_executable_extensions; do
39301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39302 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39304 break 2
39305 fi
39306 done
39307 done
39308 IFS=$as_save_IFS
39309
39310 fi
39311 fi
39312 WINDRES=$ac_cv_prog_WINDRES
39313 if test -n "$WINDRES"; then
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39315 $as_echo "$WINDRES" >&6; }
39316 else
39317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39318 $as_echo "no" >&6; }
39319 fi
39320
39321
39322 fi
39323 if test -z "$ac_cv_prog_WINDRES"; then
39324 ac_ct_WINDRES=$WINDRES
39325 # Extract the first word of "windres", so it can be a program name with args.
39326 set dummy windres; ac_word=$2
39327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39328 $as_echo_n "checking for $ac_word... " >&6; }
39329 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
39330 $as_echo_n "(cached) " >&6
39331 else
39332 if test -n "$ac_ct_WINDRES"; then
39333 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39334 else
39335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39336 for as_dir in $PATH
39337 do
39338 IFS=$as_save_IFS
39339 test -z "$as_dir" && as_dir=.
39340 for ac_exec_ext in '' $ac_executable_extensions; do
39341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39342 ac_cv_prog_ac_ct_WINDRES="windres"
39343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39344 break 2
39345 fi
39346 done
39347 done
39348 IFS=$as_save_IFS
39349
39350 fi
39351 fi
39352 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39353 if test -n "$ac_ct_WINDRES"; then
39354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39355 $as_echo "$ac_ct_WINDRES" >&6; }
39356 else
39357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39358 $as_echo "no" >&6; }
39359 fi
39360
39361 if test "x$ac_ct_WINDRES" = x; then
39362 WINDRES=""
39363 else
39364 case $cross_compiling:$ac_tool_warned in
39365 yes:)
39366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39368 ac_tool_warned=yes ;;
39369 esac
39370 WINDRES=$ac_ct_WINDRES
39371 fi
39372 else
39373 WINDRES="$ac_cv_prog_WINDRES"
39374 fi
39375
39376 ;;
39377
39378 *-*-darwin* | powerpc-apple-macos* )
39379 # Extract the first word of "Rez", so it can be a program name with args.
39380 set dummy Rez; ac_word=$2
39381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39382 $as_echo_n "checking for $ac_word... " >&6; }
39383 if test "${ac_cv_prog_REZ+set}" = set; then :
39384 $as_echo_n "(cached) " >&6
39385 else
39386 if test -n "$REZ"; then
39387 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39388 else
39389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39390 for as_dir in $PATH
39391 do
39392 IFS=$as_save_IFS
39393 test -z "$as_dir" && as_dir=.
39394 for ac_exec_ext in '' $ac_executable_extensions; do
39395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39396 ac_cv_prog_REZ="Rez"
39397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39398 break 2
39399 fi
39400 done
39401 done
39402 IFS=$as_save_IFS
39403
39404 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39405 fi
39406 fi
39407 REZ=$ac_cv_prog_REZ
39408 if test -n "$REZ"; then
39409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39410 $as_echo "$REZ" >&6; }
39411 else
39412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39413 $as_echo "no" >&6; }
39414 fi
39415
39416
39417 # Extract the first word of "SetFile", so it can be a program name with args.
39418 set dummy SetFile; ac_word=$2
39419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39420 $as_echo_n "checking for $ac_word... " >&6; }
39421 if test "${ac_cv_prog_SETFILE+set}" = set; then :
39422 $as_echo_n "(cached) " >&6
39423 else
39424 if test -n "$SETFILE"; then
39425 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39426 else
39427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39428 for as_dir in $PATH
39429 do
39430 IFS=$as_save_IFS
39431 test -z "$as_dir" && as_dir=.
39432 for ac_exec_ext in '' $ac_executable_extensions; do
39433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39434 ac_cv_prog_SETFILE="SetFile"
39435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39436 break 2
39437 fi
39438 done
39439 done
39440 IFS=$as_save_IFS
39441
39442 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39443 fi
39444 fi
39445 SETFILE=$ac_cv_prog_SETFILE
39446 if test -n "$SETFILE"; then
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39448 $as_echo "$SETFILE" >&6; }
39449 else
39450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39451 $as_echo "no" >&6; }
39452 fi
39453
39454
39455 ;;
39456 esac
39457
39458
39459
39460
39461
39462
39463
39464
39465
39466 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39467
39468
39469 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39470
39471
39472
39473 # Check whether --enable-precomp-headers was given.
39474 if test "${enable_precomp_headers+set}" = set; then :
39475 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39476 fi
39477
39478
39479 GCC_PCH=0
39480 ICC_PCH=0
39481 USE_PCH=0
39482 BK_MAKE_PCH=""
39483
39484 case ${BAKEFILE_HOST} in
39485 *-*-cygwin* )
39486 bk_use_pch="no"
39487 ;;
39488 esac
39489
39490 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39491 if test "x$GCC" = "xyes"; then
39492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39493 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39495 /* end confdefs.h. */
39496
39497 int
39498 main ()
39499 {
39500
39501 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39502 There is no PCH support
39503 #endif
39504 #if (__GNUC__ < 3)
39505 There is no PCH support
39506 #endif
39507 #if (__GNUC__ == 3) && \
39508 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39509 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39510 ( defined(__INTEL_COMPILER) )
39511 There is no PCH support
39512 #endif
39513
39514 ;
39515 return 0;
39516 }
39517 _ACEOF
39518 if ac_fn_c_try_compile "$LINENO"; then :
39519
39520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39521 $as_echo "yes" >&6; }
39522 GCC_PCH=1
39523
39524 else
39525
39526 if test "$INTELCXX8" = "yes"; then
39527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39528 $as_echo "yes" >&6; }
39529 ICC_PCH=1
39530 if test "$INTELCXX10" = "yes"; then
39531 ICC_PCH_CREATE_SWITCH="-pch-create"
39532 ICC_PCH_USE_SWITCH="-pch-use"
39533 else
39534 ICC_PCH_CREATE_SWITCH="-create-pch"
39535 ICC_PCH_USE_SWITCH="-use-pch"
39536 fi
39537 else
39538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39539 $as_echo "no" >&6; }
39540 fi
39541
39542 fi
39543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39544 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39545 USE_PCH=1
39546
39547 D='$'
39548 cat <<EOF >bk-make-pch
39549 #!/bin/sh
39550
39551 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39552 # script. It is used to generated precompiled headers.
39553 #
39554 # Permission is given to use this file in any way.
39555
39556 outfile="${D}{1}"
39557 header="${D}{2}"
39558 shift
39559 shift
39560
39561 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39562
39563 compiler=""
39564 headerfile=""
39565
39566 while test ${D}{#} -gt 0; do
39567 add_to_cmdline=1
39568 case "${D}{1}" in
39569 -I* )
39570 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39571 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39572 headerfile="${D}{incdir}/${D}{header}"
39573 fi
39574 ;;
39575 -use-pch|-use_pch|-pch-use )
39576 shift
39577 add_to_cmdline=0
39578 ;;
39579 esac
39580 if test ${D}add_to_cmdline = 1 ; then
39581 compiler="${D}{compiler} ${D}{1}"
39582 fi
39583 shift
39584 done
39585
39586 if test "x${D}{headerfile}" = "x" ; then
39587 echo "error: can't find header ${D}{header} in include paths" >&2
39588 else
39589 if test -f ${D}{outfile} ; then
39590 rm -f ${D}{outfile}
39591 else
39592 mkdir -p \`dirname ${D}{outfile}\`
39593 fi
39594 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39595 mkdir -p ${D}{builddir}/.deps
39596 if test "x${GCC_PCH}" = "x1" ; then
39597 # can do this because gcc is >= 3.4:
39598 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39599 elif test "x${ICC_PCH}" = "x1" ; then
39600 filename=pch_gen-${D}${D}
39601 file=${D}{filename}.c
39602 dfile=${D}{filename}.d
39603 cat > ${D}file <<EOT
39604 #include "${D}header"
39605 EOT
39606 # using -MF icc complains about differing command lines in creation/use
39607 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39608 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39609 rm -f ${D}file ${D}dfile ${D}{filename}.o
39610 fi
39611 exit ${D}{?}
39612 fi
39613 EOF
39614
39615 chmod +x bk-make-pch
39616 BK_MAKE_PCH="`pwd`/bk-make-pch"
39617 fi
39618 fi
39619 fi
39620
39621
39622
39623
39624
39625
39626
39627 COND_BUILD_DEBUG="#"
39628 if test "x$BUILD" = "xdebug" ; then
39629 COND_BUILD_DEBUG=""
39630 fi
39631
39632 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39633 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39634 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39635 fi
39636
39637 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39638 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39639 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39640 fi
39641
39642 COND_BUILD_DEBUG_UNICODE_0="#"
39643 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39644 COND_BUILD_DEBUG_UNICODE_0=""
39645 fi
39646
39647 COND_BUILD_DEBUG_UNICODE_1="#"
39648 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39649 COND_BUILD_DEBUG_UNICODE_1=""
39650 fi
39651
39652 COND_BUILD_RELEASE="#"
39653 if test "x$BUILD" = "xrelease" ; then
39654 COND_BUILD_RELEASE=""
39655 fi
39656
39657 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39658 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39659 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39660 fi
39661
39662 COND_BUILD_RELEASE_UNICODE_0="#"
39663 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39664 COND_BUILD_RELEASE_UNICODE_0=""
39665 fi
39666
39667 COND_BUILD_RELEASE_UNICODE_1="#"
39668 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39669 COND_BUILD_RELEASE_UNICODE_1=""
39670 fi
39671
39672 COND_BUILD_debug="#"
39673 if test "x$BUILD" = "xdebug" ; then
39674 COND_BUILD_debug=""
39675 fi
39676
39677 COND_BUILD_debug_DEBUG_FLAG_default="#"
39678 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39679 COND_BUILD_debug_DEBUG_FLAG_default=""
39680 fi
39681
39682 COND_BUILD_debug_DEBUG_INFO_default="#"
39683 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39684 COND_BUILD_debug_DEBUG_INFO_default=""
39685 fi
39686
39687 COND_BUILD_debug_UNICODE_0="#"
39688 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39689 COND_BUILD_debug_UNICODE_0=""
39690 fi
39691
39692 COND_BUILD_debug_UNICODE_1="#"
39693 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39694 COND_BUILD_debug_UNICODE_1=""
39695 fi
39696
39697 COND_BUILD_release="#"
39698 if test "x$BUILD" = "xrelease" ; then
39699 COND_BUILD_release=""
39700 fi
39701
39702 COND_BUILD_release_DEBUG_INFO_default="#"
39703 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39704 COND_BUILD_release_DEBUG_INFO_default=""
39705 fi
39706
39707 COND_BUILD_release_UNICODE_0="#"
39708 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39709 COND_BUILD_release_UNICODE_0=""
39710 fi
39711
39712 COND_BUILD_release_UNICODE_1="#"
39713 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39714 COND_BUILD_release_UNICODE_1=""
39715 fi
39716
39717 COND_DEBUG_FLAG_0="#"
39718 if test "x$DEBUG_FLAG" = "x0" ; then
39719 COND_DEBUG_FLAG_0=""
39720 fi
39721
39722 COND_DEBUG_FLAG_1="#"
39723 if test "x$DEBUG_FLAG" = "x1" ; then
39724 COND_DEBUG_FLAG_1=""
39725 fi
39726
39727 COND_DEBUG_INFO_0="#"
39728 if test "x$DEBUG_INFO" = "x0" ; then
39729 COND_DEBUG_INFO_0=""
39730 fi
39731
39732 COND_DEBUG_INFO_1="#"
39733 if test "x$DEBUG_INFO" = "x1" ; then
39734 COND_DEBUG_INFO_1=""
39735 fi
39736
39737 COND_DEPS_TRACKING_0="#"
39738 if test "x$DEPS_TRACKING" = "x0" ; then
39739 COND_DEPS_TRACKING_0=""
39740 fi
39741
39742 COND_DEPS_TRACKING_1="#"
39743 if test "x$DEPS_TRACKING" = "x1" ; then
39744 COND_DEPS_TRACKING_1=""
39745 fi
39746
39747 COND_GCC_PCH_1="#"
39748 if test "x$GCC_PCH" = "x1" ; then
39749 COND_GCC_PCH_1=""
39750 fi
39751
39752 COND_ICC_PCH_1="#"
39753 if test "x$ICC_PCH" = "x1" ; then
39754 COND_ICC_PCH_1=""
39755 fi
39756
39757 COND_MONOLITHIC_0="#"
39758 if test "x$MONOLITHIC" = "x0" ; then
39759 COND_MONOLITHIC_0=""
39760 fi
39761
39762 COND_MONOLITHIC_0_SHARED_0="#"
39763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39764 COND_MONOLITHIC_0_SHARED_0=""
39765 fi
39766
39767 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39769 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39770 fi
39771
39772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39775 fi
39776
39777 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39779 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39780 fi
39781
39782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39785 fi
39786
39787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39790 fi
39791
39792 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39795 fi
39796
39797 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39799 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39800 fi
39801
39802 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39804 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39805 fi
39806
39807 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39809 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39810 fi
39811
39812 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39814 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39815 fi
39816
39817 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39819 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39820 fi
39821
39822 COND_MONOLITHIC_0_SHARED_1="#"
39823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39824 COND_MONOLITHIC_0_SHARED_1=""
39825 fi
39826
39827 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39829 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39830 fi
39831
39832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39835 fi
39836
39837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39840 fi
39841
39842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39845 fi
39846
39847 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39850 fi
39851
39852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39855 fi
39856
39857 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39859 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39860 fi
39861
39862 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39864 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39865 fi
39866
39867 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39869 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39870 fi
39871
39872 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39874 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39875 fi
39876
39877 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39879 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39880 fi
39881
39882 COND_MONOLITHIC_0_USE_AUI_1="#"
39883 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39884 COND_MONOLITHIC_0_USE_AUI_1=""
39885 fi
39886
39887 COND_MONOLITHIC_0_USE_GUI_1="#"
39888 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39889 COND_MONOLITHIC_0_USE_GUI_1=""
39890 fi
39891
39892 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39893 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39894 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39895 fi
39896
39897 COND_MONOLITHIC_0_USE_HTML_1="#"
39898 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39899 COND_MONOLITHIC_0_USE_HTML_1=""
39900 fi
39901
39902 COND_MONOLITHIC_0_USE_MEDIA_1="#"
39903 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39904 COND_MONOLITHIC_0_USE_MEDIA_1=""
39905 fi
39906
39907 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39908 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39909 COND_MONOLITHIC_0_USE_PROPGRID_1=""
39910 fi
39911
39912 COND_MONOLITHIC_0_USE_QA_1="#"
39913 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39914 COND_MONOLITHIC_0_USE_QA_1=""
39915 fi
39916
39917 COND_MONOLITHIC_0_USE_RIBBON_1="#"
39918 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39919 COND_MONOLITHIC_0_USE_RIBBON_1=""
39920 fi
39921
39922 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39923 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39924 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39925 fi
39926
39927 COND_MONOLITHIC_0_USE_STC_1="#"
39928 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39929 COND_MONOLITHIC_0_USE_STC_1=""
39930 fi
39931
39932 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39933 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39934 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39935 fi
39936
39937 COND_MONOLITHIC_0_USE_XRC_1="#"
39938 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39939 COND_MONOLITHIC_0_USE_XRC_1=""
39940 fi
39941
39942 COND_MONOLITHIC_1="#"
39943 if test "x$MONOLITHIC" = "x1" ; then
39944 COND_MONOLITHIC_1=""
39945 fi
39946
39947 COND_MONOLITHIC_1_SHARED_0="#"
39948 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39949 COND_MONOLITHIC_1_SHARED_0=""
39950 fi
39951
39952 COND_MONOLITHIC_1_SHARED_1="#"
39953 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39954 COND_MONOLITHIC_1_SHARED_1=""
39955 fi
39956
39957 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39958 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39959 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39960 fi
39961
39962 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39963 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39965 fi
39966
39967 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39968 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39969 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39970 fi
39971
39972 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39973 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39974 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39975 fi
39976
39977 COND_PLATFORM_MACOSX_1="#"
39978 if test "x$PLATFORM_MACOSX" = "x1" ; then
39979 COND_PLATFORM_MACOSX_1=""
39980 fi
39981
39982 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39984 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39985 fi
39986
39987 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39989 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39990 fi
39991
39992 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39994 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39995 fi
39996
39997 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39998 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39999 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
40000 fi
40001
40002 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40003 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40004 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40005 fi
40006
40007 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
40008 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40009 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
40010 fi
40011
40012 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40013 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40014 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40015 fi
40016
40017 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40018 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40019 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40020 fi
40021
40022 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
40023 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40024 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
40025 fi
40026
40027 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
40028 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40029 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
40030 fi
40031
40032 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
40033 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40034 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
40035 fi
40036
40037 COND_PLATFORM_MACOS_1="#"
40038 if test "x$PLATFORM_MACOS" = "x1" ; then
40039 COND_PLATFORM_MACOS_1=""
40040 fi
40041
40042 COND_PLATFORM_MAC_0="#"
40043 if test "x$PLATFORM_MAC" = "x0" ; then
40044 COND_PLATFORM_MAC_0=""
40045 fi
40046
40047 COND_PLATFORM_MAC_1="#"
40048 if test "x$PLATFORM_MAC" = "x1" ; then
40049 COND_PLATFORM_MAC_1=""
40050 fi
40051
40052 COND_PLATFORM_MSDOS_0="#"
40053 if test "x$PLATFORM_MSDOS" = "x0" ; then
40054 COND_PLATFORM_MSDOS_0=""
40055 fi
40056
40057 COND_PLATFORM_MSDOS_1="#"
40058 if test "x$PLATFORM_MSDOS" = "x1" ; then
40059 COND_PLATFORM_MSDOS_1=""
40060 fi
40061
40062 COND_PLATFORM_OS2_1="#"
40063 if test "x$PLATFORM_OS2" = "x1" ; then
40064 COND_PLATFORM_OS2_1=""
40065 fi
40066
40067 COND_PLATFORM_UNIX_0="#"
40068 if test "x$PLATFORM_UNIX" = "x0" ; then
40069 COND_PLATFORM_UNIX_0=""
40070 fi
40071
40072 COND_PLATFORM_UNIX_1="#"
40073 if test "x$PLATFORM_UNIX" = "x1" ; then
40074 COND_PLATFORM_UNIX_1=""
40075 fi
40076
40077 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40078 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40079 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40080 fi
40081
40082 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40083 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40084 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40085 fi
40086
40087 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40088 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40089 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40090 fi
40091
40092 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40093 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40094 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40095 fi
40096
40097 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
40098 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40099 COND_PLATFORM_UNIX_1_USE_GUI_1=""
40100 fi
40101
40102 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
40103 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40104 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
40105 fi
40106
40107 COND_PLATFORM_WIN32_0="#"
40108 if test "x$PLATFORM_WIN32" = "x0" ; then
40109 COND_PLATFORM_WIN32_0=""
40110 fi
40111
40112 COND_PLATFORM_WIN32_1="#"
40113 if test "x$PLATFORM_WIN32" = "x1" ; then
40114 COND_PLATFORM_WIN32_1=""
40115 fi
40116
40117 COND_PLATFORM_WIN32_1_SHARED_0="#"
40118 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40119 COND_PLATFORM_WIN32_1_SHARED_0=""
40120 fi
40121
40122 COND_SHARED_0="#"
40123 if test "x$SHARED" = "x0" ; then
40124 COND_SHARED_0=""
40125 fi
40126
40127 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40128 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40129 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40130 fi
40131
40132 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40133 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40134 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40135 fi
40136
40137 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40138 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40139 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40140 fi
40141
40142 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40143 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40144 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40145 fi
40146
40147 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40148 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40149 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40150 fi
40151
40152 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40153 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40154 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40155 fi
40156
40157 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40158 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40159 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40160 fi
40161
40162 COND_SHARED_0_USE_STC_1="#"
40163 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40164 COND_SHARED_0_USE_STC_1=""
40165 fi
40166
40167 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40168 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40169 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40170 fi
40171
40172 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40173 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40174 COND_SHARED_0_wxUSE_REGEX_builtin=""
40175 fi
40176
40177 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40178 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40179 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40180 fi
40181
40182 COND_SHARED_1="#"
40183 if test "x$SHARED" = "x1" ; then
40184 COND_SHARED_1=""
40185 fi
40186
40187 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40188 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40189 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40190 fi
40191
40192 COND_TOOLKIT_="#"
40193 if test "x$TOOLKIT" = "x" ; then
40194 COND_TOOLKIT_=""
40195 fi
40196
40197 COND_TOOLKIT_COCOA="#"
40198 if test "x$TOOLKIT" = "xCOCOA" ; then
40199 COND_TOOLKIT_COCOA=""
40200 fi
40201
40202 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40203 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40204 COND_TOOLKIT_COCOA_USE_GUI_1=""
40205 fi
40206
40207 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40208 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40209 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40210 fi
40211
40212 COND_TOOLKIT_DFB="#"
40213 if test "x$TOOLKIT" = "xDFB" ; then
40214 COND_TOOLKIT_DFB=""
40215 fi
40216
40217 COND_TOOLKIT_DFB_USE_GUI_1="#"
40218 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40219 COND_TOOLKIT_DFB_USE_GUI_1=""
40220 fi
40221
40222 COND_TOOLKIT_GTK="#"
40223 if test "x$TOOLKIT" = "xGTK" ; then
40224 COND_TOOLKIT_GTK=""
40225 fi
40226
40227 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40228 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40229 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40230 fi
40231
40232 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40233 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40234 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40235 fi
40236
40237 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40238 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40239 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40240 fi
40241
40242 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40243 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40244 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40245 fi
40246
40247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40248 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40249 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40250 fi
40251
40252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40253 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40255 fi
40256
40257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40258 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40259 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40260 fi
40261
40262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40263 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40264 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40265 fi
40266
40267 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40268 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40269 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40270 fi
40271
40272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40273 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40274 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40275 fi
40276
40277 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40278 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40279 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40280 fi
40281
40282 COND_TOOLKIT_GTK_USE_GUI_1="#"
40283 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40284 COND_TOOLKIT_GTK_USE_GUI_1=""
40285 fi
40286
40287 COND_TOOLKIT_MAC="#"
40288 if test "x$TOOLKIT" = "xMAC" ; then
40289 COND_TOOLKIT_MAC=""
40290 fi
40291
40292 COND_TOOLKIT_MOTIF="#"
40293 if test "x$TOOLKIT" = "xMOTIF" ; then
40294 COND_TOOLKIT_MOTIF=""
40295 fi
40296
40297 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40298 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40299 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40300 fi
40301
40302 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40303 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40304 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40305 fi
40306
40307 COND_TOOLKIT_MSW="#"
40308 if test "x$TOOLKIT" = "xMSW" ; then
40309 COND_TOOLKIT_MSW=""
40310 fi
40311
40312 COND_TOOLKIT_MSW_USE_GUI_1="#"
40313 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40314 COND_TOOLKIT_MSW_USE_GUI_1=""
40315 fi
40316
40317 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40318 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40319 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40320 fi
40321
40322 COND_TOOLKIT_MSW_WXUNIV_0="#"
40323 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40324 COND_TOOLKIT_MSW_WXUNIV_0=""
40325 fi
40326
40327 COND_TOOLKIT_OSX_CARBON="#"
40328 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40329 COND_TOOLKIT_OSX_CARBON=""
40330 fi
40331
40332 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40333 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40334 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40335 fi
40336
40337 COND_TOOLKIT_OSX_COCOA="#"
40338 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40339 COND_TOOLKIT_OSX_COCOA=""
40340 fi
40341
40342 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40343 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40344 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40345 fi
40346
40347 COND_TOOLKIT_OSX_IPHONE="#"
40348 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40349 COND_TOOLKIT_OSX_IPHONE=""
40350 fi
40351
40352 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40353 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40354 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40355 fi
40356
40357 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40358 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40359 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40360 fi
40361
40362 COND_TOOLKIT_PM="#"
40363 if test "x$TOOLKIT" = "xPM" ; then
40364 COND_TOOLKIT_PM=""
40365 fi
40366
40367 COND_TOOLKIT_PM_USE_GUI_1="#"
40368 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40369 COND_TOOLKIT_PM_USE_GUI_1=""
40370 fi
40371
40372 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40373 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40374 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40375 fi
40376
40377 COND_TOOLKIT_WINCE="#"
40378 if test "x$TOOLKIT" = "xWINCE" ; then
40379 COND_TOOLKIT_WINCE=""
40380 fi
40381
40382 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40383 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40384 COND_TOOLKIT_WINCE_USE_GUI_1=""
40385 fi
40386
40387 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40388 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40389 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40390 fi
40391
40392 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40393 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40394 COND_TOOLKIT_WINCE_WXUNIV_0=""
40395 fi
40396
40397 COND_TOOLKIT_X11="#"
40398 if test "x$TOOLKIT" = "xX11" ; then
40399 COND_TOOLKIT_X11=""
40400 fi
40401
40402 COND_TOOLKIT_X11_USE_GUI_1="#"
40403 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40404 COND_TOOLKIT_X11_USE_GUI_1=""
40405 fi
40406
40407 COND_UNICODE_1="#"
40408 if test "x$UNICODE" = "x1" ; then
40409 COND_UNICODE_1=""
40410 fi
40411
40412 COND_USE_CAIRO_1="#"
40413 if test "x$USE_CAIRO" = "x1" ; then
40414 COND_USE_CAIRO_1=""
40415 fi
40416
40417 COND_USE_EXCEPTIONS_0="#"
40418 if test "x$USE_EXCEPTIONS" = "x0" ; then
40419 COND_USE_EXCEPTIONS_0=""
40420 fi
40421
40422 COND_USE_EXCEPTIONS_1="#"
40423 if test "x$USE_EXCEPTIONS" = "x1" ; then
40424 COND_USE_EXCEPTIONS_1=""
40425 fi
40426
40427 COND_USE_GUI_0="#"
40428 if test "x$USE_GUI" = "x0" ; then
40429 COND_USE_GUI_0=""
40430 fi
40431
40432 COND_USE_GUI_1="#"
40433 if test "x$USE_GUI" = "x1" ; then
40434 COND_USE_GUI_1=""
40435 fi
40436
40437 COND_USE_GUI_1_USE_OPENGL_1="#"
40438 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40439 COND_USE_GUI_1_USE_OPENGL_1=""
40440 fi
40441
40442 COND_USE_GUI_1_WXUNIV_0="#"
40443 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40444 COND_USE_GUI_1_WXUNIV_0=""
40445 fi
40446
40447 COND_USE_GUI_1_WXUNIV_1="#"
40448 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40449 COND_USE_GUI_1_WXUNIV_1=""
40450 fi
40451
40452 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40453 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40454 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40455 fi
40456
40457 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40458 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40459 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40460 fi
40461
40462 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40463 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40464 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40465 fi
40466
40467 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40468 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40469 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40470 fi
40471
40472 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40473 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40474 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40475 fi
40476
40477 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40478 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40479 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40480 fi
40481
40482 COND_USE_OPENGL_1="#"
40483 if test "x$USE_OPENGL" = "x1" ; then
40484 COND_USE_OPENGL_1=""
40485 fi
40486
40487 COND_USE_PCH_1="#"
40488 if test "x$USE_PCH" = "x1" ; then
40489 COND_USE_PCH_1=""
40490 fi
40491
40492 COND_USE_PLUGINS_0="#"
40493 if test "x$USE_PLUGINS" = "x0" ; then
40494 COND_USE_PLUGINS_0=""
40495 fi
40496
40497 COND_USE_RTTI_0="#"
40498 if test "x$USE_RTTI" = "x0" ; then
40499 COND_USE_RTTI_0=""
40500 fi
40501
40502 COND_USE_RTTI_1="#"
40503 if test "x$USE_RTTI" = "x1" ; then
40504 COND_USE_RTTI_1=""
40505 fi
40506
40507 COND_USE_SOTWOSYMLINKS_1="#"
40508 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40509 COND_USE_SOTWOSYMLINKS_1=""
40510 fi
40511
40512 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40513 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40514 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40515 fi
40516
40517 COND_USE_SOVERLINUX_1="#"
40518 if test "x$USE_SOVERLINUX" = "x1" ; then
40519 COND_USE_SOVERLINUX_1=""
40520 fi
40521
40522 COND_USE_SOVERSION_0="#"
40523 if test "x$USE_SOVERSION" = "x0" ; then
40524 COND_USE_SOVERSION_0=""
40525 fi
40526
40527 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40528 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40529 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40530 fi
40531
40532 COND_USE_SOVERSOLARIS_1="#"
40533 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40534 COND_USE_SOVERSOLARIS_1=""
40535 fi
40536
40537 COND_USE_STC_1="#"
40538 if test "x$USE_STC" = "x1" ; then
40539 COND_USE_STC_1=""
40540 fi
40541
40542 COND_USE_THREADS_0="#"
40543 if test "x$USE_THREADS" = "x0" ; then
40544 COND_USE_THREADS_0=""
40545 fi
40546
40547 COND_USE_THREADS_1="#"
40548 if test "x$USE_THREADS" = "x1" ; then
40549 COND_USE_THREADS_1=""
40550 fi
40551
40552 COND_USE_XRC_1="#"
40553 if test "x$USE_XRC" = "x1" ; then
40554 COND_USE_XRC_1=""
40555 fi
40556
40557 COND_WINDOWS_IMPLIB_1="#"
40558 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40559 COND_WINDOWS_IMPLIB_1=""
40560 fi
40561
40562 COND_WITH_PLUGIN_SDL_1="#"
40563 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40564 COND_WITH_PLUGIN_SDL_1=""
40565 fi
40566
40567 COND_WXUNIV_0="#"
40568 if test "x$WXUNIV" = "x0" ; then
40569 COND_WXUNIV_0=""
40570 fi
40571
40572 COND_WXUNIV_1="#"
40573 if test "x$WXUNIV" = "x1" ; then
40574 COND_WXUNIV_1=""
40575 fi
40576
40577 COND_WXUSE_EXPAT_BUILTIN="#"
40578 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40579 COND_WXUSE_EXPAT_BUILTIN=""
40580 fi
40581
40582 COND_WXUSE_LIBJPEG_BUILTIN="#"
40583 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40584 COND_WXUSE_LIBJPEG_BUILTIN=""
40585 fi
40586
40587 COND_WXUSE_LIBPNG_BUILTIN="#"
40588 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40589 COND_WXUSE_LIBPNG_BUILTIN=""
40590 fi
40591
40592 COND_WXUSE_LIBTIFF_BUILTIN="#"
40593 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40594 COND_WXUSE_LIBTIFF_BUILTIN=""
40595 fi
40596
40597 COND_WXUSE_REGEX_BUILTIN="#"
40598 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40599 COND_WXUSE_REGEX_BUILTIN=""
40600 fi
40601
40602 COND_WXUSE_ZLIB_BUILTIN="#"
40603 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40604 COND_WXUSE_ZLIB_BUILTIN=""
40605 fi
40606
40607 COND_wxUSE_EXPAT_builtin="#"
40608 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40609 COND_wxUSE_EXPAT_builtin=""
40610 fi
40611
40612 COND_wxUSE_LIBJPEG_builtin="#"
40613 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40614 COND_wxUSE_LIBJPEG_builtin=""
40615 fi
40616
40617 COND_wxUSE_LIBPNG_builtin="#"
40618 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40619 COND_wxUSE_LIBPNG_builtin=""
40620 fi
40621
40622 COND_wxUSE_LIBTIFF_builtin="#"
40623 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40624 COND_wxUSE_LIBTIFF_builtin=""
40625 fi
40626
40627 COND_wxUSE_REGEX_builtin="#"
40628 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40629 COND_wxUSE_REGEX_builtin=""
40630 fi
40631
40632 COND_wxUSE_ZLIB_builtin="#"
40633 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40634 COND_wxUSE_ZLIB_builtin=""
40635 fi
40636
40637
40638
40639 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40640 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
40641 fi
40642
40643 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40644 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
40645 fi
40646
40647
40648 case ${INSTALL} in
40649 /* ) # Absolute
40650 ;;
40651 ?:* ) # Drive letter, considered as absolute.
40652 ;;
40653 *)
40654 INSTALL=`pwd`/${INSTALL} ;;
40655 esac
40656
40657 if test "$wxUSE_GUI" = "yes"; then
40658
40659 if test "$wxUSE_MSW" = 1 ; then
40660 if test "x$WINDRES" = "x"; then
40661 as_fn_error $? "Required windres program not found" "$LINENO" 5
40662 fi
40663
40664 RESCOMP="$WINDRES"
40665 fi
40666
40667 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40668 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40669 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40670
40671 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40672
40673 # Extract the first word of "DeRez", so it can be a program name with args.
40674 set dummy DeRez; ac_word=$2
40675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40676 $as_echo_n "checking for $ac_word... " >&6; }
40677 if test "${ac_cv_prog_DEREZ+set}" = set; then :
40678 $as_echo_n "(cached) " >&6
40679 else
40680 if test -n "$DEREZ"; then
40681 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40682 else
40683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40684 for as_dir in $PATH
40685 do
40686 IFS=$as_save_IFS
40687 test -z "$as_dir" && as_dir=.
40688 for ac_exec_ext in '' $ac_executable_extensions; do
40689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40690 ac_cv_prog_DEREZ="DeRez"
40691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40692 break 2
40693 fi
40694 done
40695 done
40696 IFS=$as_save_IFS
40697
40698 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40699 fi
40700 fi
40701 DEREZ=$ac_cv_prog_DEREZ
40702 if test -n "$DEREZ"; then
40703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40704 $as_echo "$DEREZ" >&6; }
40705 else
40706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40707 $as_echo "no" >&6; }
40708 fi
40709
40710
40711
40712 MACSETFILE="\$(SETFILE)"
40713
40714 if test "$wxUSE_OSX_CARBON" = 1; then
40715 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40716 RESCOMP="$REZ"
40717 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40718 else
40719 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40720 RESCOMP="cat /dev/null \| $REZ"
40721 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40722 fi
40723
40724 else
40725 MACSETFILE="@true"
40726
40727 if test "$wxUSE_PM" = 1; then
40728 RESCOMP="emxbind"
40729 WXCONFIG_RESFLAGS="-ep"
40730
40731 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40732 else
40733 POSTLINK_COMMAND="@true"
40734 fi
40735 fi
40736
40737 fi
40738
40739
40740 if test $GCC_PCH = 1
40741 then
40742 if test "$wx_cv_gcc_pch_bug" = yes; then
40743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40744 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40746 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40748 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40749 fi
40750
40751 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40752 # the headers that benefit from precompilation are mostly C++ headers.
40753 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40754 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40755 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40756 fi
40757
40758
40759 if test "$wxUSE_MAC" = 1 ; then
40760 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40761 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40762 mv temp bk-deps
40763 chmod +x bk-deps
40764 fi
40765 fi
40766
40767 if test "$wxUSE_SHARED" = "yes"; then
40768 case "${host}" in
40769 *-pc-os2_emx | *-pc-os2-emx )
40770 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40771 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40772 cp -p ${srcdir}/src/os2/dllnames.sh .
40773 cp -p ${srcdir}/src/os2/dllar.sh .
40774 ;;
40775 esac
40776 fi
40777 if test "$wxUSE_OMF" = "yes"; then
40778 case "${host}" in
40779 *-pc-os2_emx | *-pc-os2-emx )
40780 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40781 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40782 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40783 ;;
40784 esac
40785 fi
40786
40787 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40788
40789
40790 case "${host}" in
40791 *-*-solaris2* )
40792 if test "$GCC" = yes; then
40793 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40794 LIBS=`echo $LIBS | sed 's/-mt//g'`
40795 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40796 fi
40797 ;;
40798
40799 *-*-linux* )
40800 if test "x$SUNCXX" = xyes; then
40801 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40802 LIBS=`echo $LIBS | sed 's/-pthread//g'`
40803 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40804 fi
40805 ;;
40806 esac
40807
40808 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40809 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40810 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40811 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40812
40813 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40814
40815
40816
40817
40818
40819
40820
40821
40822
40823
40824
40825
40826
40827
40828
40829
40830
40831
40832
40833
40834
40835
40836
40837
40838
40839
40840
40841
40842
40843
40844
40845
40846
40847
40848
40849
40850
40851
40852
40853
40854
40855
40856
40857
40858
40859
40860
40861
40862
40863
40864
40865
40866
40867
40868
40869
40870
40871
40872
40873
40874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40875 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40876 set x ${MAKE-make}
40877 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40878 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
40879 $as_echo_n "(cached) " >&6
40880 else
40881 cat >conftest.make <<\_ACEOF
40882 SHELL = /bin/sh
40883 all:
40884 @echo '@@@%%%=$(MAKE)=@@@%%%'
40885 _ACEOF
40886 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40887 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40888 *@@@%%%=?*=@@@%%%*)
40889 eval ac_cv_prog_make_${ac_make}_set=yes;;
40890 *)
40891 eval ac_cv_prog_make_${ac_make}_set=no;;
40892 esac
40893 rm -f conftest.make
40894 fi
40895 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40897 $as_echo "yes" >&6; }
40898 SET_MAKE=
40899 else
40900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40901 $as_echo "no" >&6; }
40902 SET_MAKE="MAKE=${MAKE-make}"
40903 fi
40904
40905
40906
40907 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40908
40909
40910 if test "$USE_WIN32" = 1; then
40911 ac_config_commands="$ac_config_commands rcdefs.h"
40912
40913 fi
40914
40915 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40916
40917
40918 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40919
40920
40921 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40922
40923
40924 if test "$wx_cv_version_script" = "yes"; then
40925 ac_config_files="$ac_config_files version-script"
40926
40927 fi
40928 ac_config_files="$ac_config_files Makefile"
40929
40930
40931 ac_config_commands="$ac_config_commands wx-config"
40932
40933
40934
40935 if test "$wxWITH_SUBDIRS" != "no"; then
40936 if test "$wxUSE_GUI" = "yes"; then
40937 SUBDIRS="samples demos utils"
40938 else
40939 SUBDIRS="samples utils"
40940 fi
40941
40942
40943
40944 # Check whether --with-cppunit-prefix was given.
40945 if test "${with_cppunit_prefix+set}" = set; then :
40946 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40947 else
40948 cppunit_config_prefix=""
40949 fi
40950
40951
40952 # Check whether --with-cppunit-exec-prefix was given.
40953 if test "${with_cppunit_exec_prefix+set}" = set; then :
40954 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40955 else
40956 cppunit_config_exec_prefix=""
40957 fi
40958
40959
40960 if test x$cppunit_config_exec_prefix != x ; then
40961 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40962 if test x${CPPUNIT_CONFIG+set} != xset ; then
40963 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40964 fi
40965 fi
40966 if test x$cppunit_config_prefix != x ; then
40967 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40968 if test x${CPPUNIT_CONFIG+set} != xset ; then
40969 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40970 fi
40971 fi
40972
40973 # Extract the first word of "cppunit-config", so it can be a program name with args.
40974 set dummy cppunit-config; ac_word=$2
40975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40976 $as_echo_n "checking for $ac_word... " >&6; }
40977 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
40978 $as_echo_n "(cached) " >&6
40979 else
40980 case $CPPUNIT_CONFIG in
40981 [\\/]* | ?:[\\/]*)
40982 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40983 ;;
40984 *)
40985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40986 for as_dir in $PATH
40987 do
40988 IFS=$as_save_IFS
40989 test -z "$as_dir" && as_dir=.
40990 for ac_exec_ext in '' $ac_executable_extensions; do
40991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40992 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40994 break 2
40995 fi
40996 done
40997 done
40998 IFS=$as_save_IFS
40999
41000 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
41001 ;;
41002 esac
41003 fi
41004 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
41005 if test -n "$CPPUNIT_CONFIG"; then
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41007 $as_echo "$CPPUNIT_CONFIG" >&6; }
41008 else
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41010 $as_echo "no" >&6; }
41011 fi
41012
41013
41014 cppunit_version_min=1.8.0
41015
41016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41017 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41018 no_cppunit=""
41019 if test "$CPPUNIT_CONFIG" = "no" ; then
41020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41021 $as_echo "no" >&6; }
41022 no_cppunit=yes
41023 else
41024 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
41025 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
41026 cppunit_version=`$CPPUNIT_CONFIG --version`
41027
41028 cppunit_major_version=`echo $cppunit_version | \
41029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41030 cppunit_minor_version=`echo $cppunit_version | \
41031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41032 cppunit_micro_version=`echo $cppunit_version | \
41033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41034
41035 cppunit_major_min=`echo $cppunit_version_min | \
41036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41037 cppunit_minor_min=`echo $cppunit_version_min | \
41038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41039 cppunit_micro_min=`echo $cppunit_version_min | \
41040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41041
41042 cppunit_version_proper=`expr \
41043 $cppunit_major_version \> $cppunit_major_min \| \
41044 $cppunit_major_version \= $cppunit_major_min \& \
41045 $cppunit_minor_version \> $cppunit_minor_min \| \
41046 $cppunit_major_version \= $cppunit_major_min \& \
41047 $cppunit_minor_version \= $cppunit_minor_min \& \
41048 $cppunit_micro_version \>= $cppunit_micro_min `
41049
41050 if test "$cppunit_version_proper" = "1" ; then
41051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41052 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41053 else
41054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41055 $as_echo "no" >&6; }
41056 no_cppunit=yes
41057 fi
41058 fi
41059
41060 if test "x$no_cppunit" = x ; then
41061 SUBDIRS="$SUBDIRS tests"
41062 else
41063 CPPUNIT_CFLAGS=""
41064 CPPUNIT_LIBS=""
41065 :
41066 fi
41067
41068
41069
41070
41071
41072 for subdir in $SUBDIRS; do
41073 if test -d ${srcdir}/${subdir} ; then
41074 if test "$wxUSE_GUI" = "yes"; then
41075 if test ${subdir} = "samples"; then
41076 makefiles="samples/Makefile.in $makefiles"
41077 for sample in $SAMPLES_SUBDIRS; do
41078 if test -d $srcdir/samples/$sample; then
41079 makefiles="samples/$sample/Makefile.in $makefiles"
41080 fi
41081 done
41082 else
41083 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
41084 eval "disabled=\$$disabled_var"
41085 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
41086 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41087 fi
41088 else
41089 if test ${subdir} = "samples"; then
41090 makefiles="samples/Makefile.in $makefiles"
41091 for sample in `echo $SAMPLES_SUBDIRS`; do
41092 if test -d $srcdir/samples/$sample; then
41093 makefiles="samples/$sample/Makefile.in $makefiles"
41094 fi
41095 done
41096 elif test ${subdir} = "utils"; then
41097 makefiles=""
41098 for util in ifacecheck ; do
41099 if test -d $srcdir/utils/$util ; then
41100 makefiles="utils/$util/src/Makefile.in \
41101 $makefiles"
41102 fi
41103 done
41104 else
41105 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
41106 fi
41107 fi
41108
41109 for mkin in $makefiles ; do
41110 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41111 ac_config_files="$ac_config_files $mk"
41112
41113 done
41114 fi
41115 done
41116 fi
41117 cat >confcache <<\_ACEOF
41118 # This file is a shell script that caches the results of configure
41119 # tests run on this system so they can be shared between configure
41120 # scripts and configure runs, see configure's option --config-cache.
41121 # It is not useful on other systems. If it contains results you don't
41122 # want to keep, you may remove or edit it.
41123 #
41124 # config.status only pays attention to the cache file if you give it
41125 # the --recheck option to rerun configure.
41126 #
41127 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41128 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41129 # following values.
41130
41131 _ACEOF
41132
41133 # The following way of writing the cache mishandles newlines in values,
41134 # but we know of no workaround that is simple, portable, and efficient.
41135 # So, we kill variables containing newlines.
41136 # Ultrix sh set writes to stderr and can't be redirected directly,
41137 # and sets the high bit in the cache file unless we assign to the vars.
41138 (
41139 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41140 eval ac_val=\$$ac_var
41141 case $ac_val in #(
41142 *${as_nl}*)
41143 case $ac_var in #(
41144 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41145 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41146 esac
41147 case $ac_var in #(
41148 _ | IFS | as_nl) ;; #(
41149 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41150 *) { eval $ac_var=; unset $ac_var;} ;;
41151 esac ;;
41152 esac
41153 done
41154
41155 (set) 2>&1 |
41156 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41157 *${as_nl}ac_space=\ *)
41158 # `set' does not quote correctly, so add quotes: double-quote
41159 # substitution turns \\\\ into \\, and sed turns \\ into \.
41160 sed -n \
41161 "s/'/'\\\\''/g;
41162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41163 ;; #(
41164 *)
41165 # `set' quotes correctly as required by POSIX, so do not add quotes.
41166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41167 ;;
41168 esac |
41169 sort
41170 ) |
41171 sed '
41172 /^ac_cv_env_/b end
41173 t clear
41174 :clear
41175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41176 t end
41177 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41178 :end' >>confcache
41179 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41180 if test -w "$cache_file"; then
41181 test "x$cache_file" != "x/dev/null" &&
41182 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41183 $as_echo "$as_me: updating cache $cache_file" >&6;}
41184 cat confcache >$cache_file
41185 else
41186 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41187 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41188 fi
41189 fi
41190 rm -f confcache
41191
41192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41193 # Let make expand exec_prefix.
41194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41195
41196 DEFS=-DHAVE_CONFIG_H
41197
41198 ac_libobjs=
41199 ac_ltlibobjs=
41200 U=
41201 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41202 # 1. Remove the extension, and $U if already installed.
41203 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41204 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41205 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41206 # will be set to the directory where LIBOBJS objects are built.
41207 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41208 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41209 done
41210 LIBOBJS=$ac_libobjs
41211
41212 LTLIBOBJS=$ac_ltlibobjs
41213
41214
41215
41216 : ${CONFIG_STATUS=./config.status}
41217 ac_write_fail=0
41218 ac_clean_files_save=$ac_clean_files
41219 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41220 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41221 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41222 as_write_fail=0
41223 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41224 #! $SHELL
41225 # Generated by $as_me.
41226 # Run this file to recreate the current configuration.
41227 # Compiler output produced by configure, useful for debugging
41228 # configure, is in config.log if it exists.
41229
41230 debug=false
41231 ac_cs_recheck=false
41232 ac_cs_silent=false
41233
41234 SHELL=\${CONFIG_SHELL-$SHELL}
41235 export SHELL
41236 _ASEOF
41237 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41238 ## -------------------- ##
41239 ## M4sh Initialization. ##
41240 ## -------------------- ##
41241
41242 # Be more Bourne compatible
41243 DUALCASE=1; export DUALCASE # for MKS sh
41244 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41245 emulate sh
41246 NULLCMD=:
41247 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41248 # is contrary to our usage. Disable this feature.
41249 alias -g '${1+"$@"}'='"$@"'
41250 setopt NO_GLOB_SUBST
41251 else
41252 case `(set -o) 2>/dev/null` in #(
41253 *posix*) :
41254 set -o posix ;; #(
41255 *) :
41256 ;;
41257 esac
41258 fi
41259
41260
41261 as_nl='
41262 '
41263 export as_nl
41264 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41265 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41266 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41267 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41268 # Prefer a ksh shell builtin over an external printf program on Solaris,
41269 # but without wasting forks for bash or zsh.
41270 if test -z "$BASH_VERSION$ZSH_VERSION" \
41271 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41272 as_echo='print -r --'
41273 as_echo_n='print -rn --'
41274 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41275 as_echo='printf %s\n'
41276 as_echo_n='printf %s'
41277 else
41278 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41279 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41280 as_echo_n='/usr/ucb/echo -n'
41281 else
41282 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41283 as_echo_n_body='eval
41284 arg=$1;
41285 case $arg in #(
41286 *"$as_nl"*)
41287 expr "X$arg" : "X\\(.*\\)$as_nl";
41288 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41289 esac;
41290 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41291 '
41292 export as_echo_n_body
41293 as_echo_n='sh -c $as_echo_n_body as_echo'
41294 fi
41295 export as_echo_body
41296 as_echo='sh -c $as_echo_body as_echo'
41297 fi
41298
41299 # The user is always right.
41300 if test "${PATH_SEPARATOR+set}" != set; then
41301 PATH_SEPARATOR=:
41302 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41303 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41304 PATH_SEPARATOR=';'
41305 }
41306 fi
41307
41308
41309 # IFS
41310 # We need space, tab and new line, in precisely that order. Quoting is
41311 # there to prevent editors from complaining about space-tab.
41312 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41313 # splitting by setting IFS to empty value.)
41314 IFS=" "" $as_nl"
41315
41316 # Find who we are. Look in the path if we contain no directory separator.
41317 case $0 in #((
41318 *[\\/]* ) as_myself=$0 ;;
41319 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41320 for as_dir in $PATH
41321 do
41322 IFS=$as_save_IFS
41323 test -z "$as_dir" && as_dir=.
41324 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41325 done
41326 IFS=$as_save_IFS
41327
41328 ;;
41329 esac
41330 # We did not find ourselves, most probably we were run as `sh COMMAND'
41331 # in which case we are not to be found in the path.
41332 if test "x$as_myself" = x; then
41333 as_myself=$0
41334 fi
41335 if test ! -f "$as_myself"; then
41336 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41337 exit 1
41338 fi
41339
41340 # Unset variables that we do not need and which cause bugs (e.g. in
41341 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41342 # suppresses any "Segmentation fault" message there. '((' could
41343 # trigger a bug in pdksh 5.2.14.
41344 for as_var in BASH_ENV ENV MAIL MAILPATH
41345 do eval test x\${$as_var+set} = xset \
41346 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41347 done
41348 PS1='$ '
41349 PS2='> '
41350 PS4='+ '
41351
41352 # NLS nuisances.
41353 LC_ALL=C
41354 export LC_ALL
41355 LANGUAGE=C
41356 export LANGUAGE
41357
41358 # CDPATH.
41359 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41360
41361
41362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41363 # ----------------------------------------
41364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41366 # script with STATUS, using 1 if that was 0.
41367 as_fn_error ()
41368 {
41369 as_status=$1; test $as_status -eq 0 && as_status=1
41370 if test "$4"; then
41371 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41373 fi
41374 $as_echo "$as_me: error: $2" >&2
41375 as_fn_exit $as_status
41376 } # as_fn_error
41377
41378
41379 # as_fn_set_status STATUS
41380 # -----------------------
41381 # Set $? to STATUS, without forking.
41382 as_fn_set_status ()
41383 {
41384 return $1
41385 } # as_fn_set_status
41386
41387 # as_fn_exit STATUS
41388 # -----------------
41389 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41390 as_fn_exit ()
41391 {
41392 set +e
41393 as_fn_set_status $1
41394 exit $1
41395 } # as_fn_exit
41396
41397 # as_fn_unset VAR
41398 # ---------------
41399 # Portably unset VAR.
41400 as_fn_unset ()
41401 {
41402 { eval $1=; unset $1;}
41403 }
41404 as_unset=as_fn_unset
41405 # as_fn_append VAR VALUE
41406 # ----------------------
41407 # Append the text in VALUE to the end of the definition contained in VAR. Take
41408 # advantage of any shell optimizations that allow amortized linear growth over
41409 # repeated appends, instead of the typical quadratic growth present in naive
41410 # implementations.
41411 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41412 eval 'as_fn_append ()
41413 {
41414 eval $1+=\$2
41415 }'
41416 else
41417 as_fn_append ()
41418 {
41419 eval $1=\$$1\$2
41420 }
41421 fi # as_fn_append
41422
41423 # as_fn_arith ARG...
41424 # ------------------
41425 # Perform arithmetic evaluation on the ARGs, and store the result in the
41426 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41427 # must be portable across $(()) and expr.
41428 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41429 eval 'as_fn_arith ()
41430 {
41431 as_val=$(( $* ))
41432 }'
41433 else
41434 as_fn_arith ()
41435 {
41436 as_val=`expr "$@" || test $? -eq 1`
41437 }
41438 fi # as_fn_arith
41439
41440
41441 if expr a : '\(a\)' >/dev/null 2>&1 &&
41442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41443 as_expr=expr
41444 else
41445 as_expr=false
41446 fi
41447
41448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41449 as_basename=basename
41450 else
41451 as_basename=false
41452 fi
41453
41454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41455 as_dirname=dirname
41456 else
41457 as_dirname=false
41458 fi
41459
41460 as_me=`$as_basename -- "$0" ||
41461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41462 X"$0" : 'X\(//\)$' \| \
41463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41464 $as_echo X/"$0" |
41465 sed '/^.*\/\([^/][^/]*\)\/*$/{
41466 s//\1/
41467 q
41468 }
41469 /^X\/\(\/\/\)$/{
41470 s//\1/
41471 q
41472 }
41473 /^X\/\(\/\).*/{
41474 s//\1/
41475 q
41476 }
41477 s/.*/./; q'`
41478
41479 # Avoid depending upon Character Ranges.
41480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41483 as_cr_digits='0123456789'
41484 as_cr_alnum=$as_cr_Letters$as_cr_digits
41485
41486 ECHO_C= ECHO_N= ECHO_T=
41487 case `echo -n x` in #(((((
41488 -n*)
41489 case `echo 'xy\c'` in
41490 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41491 xy) ECHO_C='\c';;
41492 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41493 ECHO_T=' ';;
41494 esac;;
41495 *)
41496 ECHO_N='-n';;
41497 esac
41498
41499 rm -f conf$$ conf$$.exe conf$$.file
41500 if test -d conf$$.dir; then
41501 rm -f conf$$.dir/conf$$.file
41502 else
41503 rm -f conf$$.dir
41504 mkdir conf$$.dir 2>/dev/null
41505 fi
41506 if (echo >conf$$.file) 2>/dev/null; then
41507 if ln -s conf$$.file conf$$ 2>/dev/null; then
41508 as_ln_s='ln -s'
41509 # ... but there are two gotchas:
41510 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41511 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41512 # In both cases, we have to default to `cp -p'.
41513 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41514 as_ln_s='cp -p'
41515 elif ln conf$$.file conf$$ 2>/dev/null; then
41516 as_ln_s=ln
41517 else
41518 as_ln_s='cp -p'
41519 fi
41520 else
41521 as_ln_s='cp -p'
41522 fi
41523 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41524 rmdir conf$$.dir 2>/dev/null
41525
41526
41527 # as_fn_mkdir_p
41528 # -------------
41529 # Create "$as_dir" as a directory, including parents if necessary.
41530 as_fn_mkdir_p ()
41531 {
41532
41533 case $as_dir in #(
41534 -*) as_dir=./$as_dir;;
41535 esac
41536 test -d "$as_dir" || eval $as_mkdir_p || {
41537 as_dirs=
41538 while :; do
41539 case $as_dir in #(
41540 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41541 *) as_qdir=$as_dir;;
41542 esac
41543 as_dirs="'$as_qdir' $as_dirs"
41544 as_dir=`$as_dirname -- "$as_dir" ||
41545 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41546 X"$as_dir" : 'X\(//\)[^/]' \| \
41547 X"$as_dir" : 'X\(//\)$' \| \
41548 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41549 $as_echo X"$as_dir" |
41550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41551 s//\1/
41552 q
41553 }
41554 /^X\(\/\/\)[^/].*/{
41555 s//\1/
41556 q
41557 }
41558 /^X\(\/\/\)$/{
41559 s//\1/
41560 q
41561 }
41562 /^X\(\/\).*/{
41563 s//\1/
41564 q
41565 }
41566 s/.*/./; q'`
41567 test -d "$as_dir" && break
41568 done
41569 test -z "$as_dirs" || eval "mkdir $as_dirs"
41570 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41571
41572
41573 } # as_fn_mkdir_p
41574 if mkdir -p . 2>/dev/null; then
41575 as_mkdir_p='mkdir -p "$as_dir"'
41576 else
41577 test -d ./-p && rmdir ./-p
41578 as_mkdir_p=false
41579 fi
41580
41581 if test -x / >/dev/null 2>&1; then
41582 as_test_x='test -x'
41583 else
41584 if ls -dL / >/dev/null 2>&1; then
41585 as_ls_L_option=L
41586 else
41587 as_ls_L_option=
41588 fi
41589 as_test_x='
41590 eval sh -c '\''
41591 if test -d "$1"; then
41592 test -d "$1/.";
41593 else
41594 case $1 in #(
41595 -*)set "./$1";;
41596 esac;
41597 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41598 ???[sx]*):;;*)false;;esac;fi
41599 '\'' sh
41600 '
41601 fi
41602 as_executable_p=$as_test_x
41603
41604 # Sed expression to map a string onto a valid CPP name.
41605 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41606
41607 # Sed expression to map a string onto a valid variable name.
41608 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41609
41610
41611 exec 6>&1
41612 ## ----------------------------------- ##
41613 ## Main body of $CONFIG_STATUS script. ##
41614 ## ----------------------------------- ##
41615 _ASEOF
41616 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41617
41618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41619 # Save the log message, to keep $0 and so on meaningful, and to
41620 # report actual input values of CONFIG_FILES etc. instead of their
41621 # values after options handling.
41622 ac_log="
41623 This file was extended by wxWidgets $as_me 2.9.4, which was
41624 generated by GNU Autoconf 2.67. Invocation command line was
41625
41626 CONFIG_FILES = $CONFIG_FILES
41627 CONFIG_HEADERS = $CONFIG_HEADERS
41628 CONFIG_LINKS = $CONFIG_LINKS
41629 CONFIG_COMMANDS = $CONFIG_COMMANDS
41630 $ $0 $@
41631
41632 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41633 "
41634
41635 _ACEOF
41636
41637 case $ac_config_files in *"
41638 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41639 esac
41640
41641 case $ac_config_headers in *"
41642 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41643 esac
41644
41645
41646 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41647 # Files that config.status was made for.
41648 config_files="$ac_config_files"
41649 config_headers="$ac_config_headers"
41650 config_commands="$ac_config_commands"
41651
41652 _ACEOF
41653
41654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41655 ac_cs_usage="\
41656 \`$as_me' instantiates files and other configuration actions
41657 from templates according to the current configuration. Unless the files
41658 and actions are specified as TAGs, all are instantiated by default.
41659
41660 Usage: $0 [OPTION]... [TAG]...
41661
41662 -h, --help print this help, then exit
41663 -V, --version print version number and configuration settings, then exit
41664 --config print configuration, then exit
41665 -q, --quiet, --silent
41666 do not print progress messages
41667 -d, --debug don't remove temporary files
41668 --recheck update $as_me by reconfiguring in the same conditions
41669 --file=FILE[:TEMPLATE]
41670 instantiate the configuration file FILE
41671 --header=FILE[:TEMPLATE]
41672 instantiate the configuration header FILE
41673
41674 Configuration files:
41675 $config_files
41676
41677 Configuration headers:
41678 $config_headers
41679
41680 Configuration commands:
41681 $config_commands
41682
41683 Report bugs to <wx-dev@lists.wxwidgets.org>."
41684
41685 _ACEOF
41686 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41687 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41688 ac_cs_version="\\
41689 wxWidgets config.status 2.9.4
41690 configured by $0, generated by GNU Autoconf 2.67,
41691 with options \\"\$ac_cs_config\\"
41692
41693 Copyright (C) 2010 Free Software Foundation, Inc.
41694 This config.status script is free software; the Free Software Foundation
41695 gives unlimited permission to copy, distribute and modify it."
41696
41697 ac_pwd='$ac_pwd'
41698 srcdir='$srcdir'
41699 INSTALL='$INSTALL'
41700 test -n "\$AWK" || AWK=awk
41701 _ACEOF
41702
41703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41704 # The default lists apply if the user does not specify any file.
41705 ac_need_defaults=:
41706 while test $# != 0
41707 do
41708 case $1 in
41709 --*=?*)
41710 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41711 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41712 ac_shift=:
41713 ;;
41714 --*=)
41715 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41716 ac_optarg=
41717 ac_shift=:
41718 ;;
41719 *)
41720 ac_option=$1
41721 ac_optarg=$2
41722 ac_shift=shift
41723 ;;
41724 esac
41725
41726 case $ac_option in
41727 # Handling of the options.
41728 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41729 ac_cs_recheck=: ;;
41730 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41731 $as_echo "$ac_cs_version"; exit ;;
41732 --config | --confi | --conf | --con | --co | --c )
41733 $as_echo "$ac_cs_config"; exit ;;
41734 --debug | --debu | --deb | --de | --d | -d )
41735 debug=: ;;
41736 --file | --fil | --fi | --f )
41737 $ac_shift
41738 case $ac_optarg in
41739 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41740 '') as_fn_error $? "missing file argument" ;;
41741 esac
41742 as_fn_append CONFIG_FILES " '$ac_optarg'"
41743 ac_need_defaults=false;;
41744 --header | --heade | --head | --hea )
41745 $ac_shift
41746 case $ac_optarg in
41747 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41748 esac
41749 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41750 ac_need_defaults=false;;
41751 --he | --h)
41752 # Conflict between --help and --header
41753 as_fn_error $? "ambiguous option: \`$1'
41754 Try \`$0 --help' for more information.";;
41755 --help | --hel | -h )
41756 $as_echo "$ac_cs_usage"; exit ;;
41757 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41758 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41759 ac_cs_silent=: ;;
41760
41761 # This is an error.
41762 -*) as_fn_error $? "unrecognized option: \`$1'
41763 Try \`$0 --help' for more information." ;;
41764
41765 *) as_fn_append ac_config_targets " $1"
41766 ac_need_defaults=false ;;
41767
41768 esac
41769 shift
41770 done
41771
41772 ac_configure_extra_args=
41773
41774 if $ac_cs_silent; then
41775 exec 6>/dev/null
41776 ac_configure_extra_args="$ac_configure_extra_args --silent"
41777 fi
41778
41779 _ACEOF
41780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41781 if \$ac_cs_recheck; then
41782 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41783 shift
41784 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41785 CONFIG_SHELL='$SHELL'
41786 export CONFIG_SHELL
41787 exec "\$@"
41788 fi
41789
41790 _ACEOF
41791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41792 exec 5>>config.log
41793 {
41794 echo
41795 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41796 ## Running $as_me. ##
41797 _ASBOX
41798 $as_echo "$ac_log"
41799 } >&5
41800
41801 _ACEOF
41802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41803 #
41804 # INIT-COMMANDS
41805 #
41806
41807 CPP="$CPP"
41808 infile="$srcdir/include/wx/msw/genrcdefs.h"
41809 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41810
41811
41812 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41813 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41814 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41815 LN_S="${LN_S}"
41816
41817
41818 _ACEOF
41819
41820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41821
41822 # Handling of arguments.
41823 for ac_config_target in $ac_config_targets
41824 do
41825 case $ac_config_target in
41826 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41827 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41828 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41829 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41830 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41831 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41832 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41833 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41834 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41835
41836 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
41837 esac
41838 done
41839
41840
41841 # If the user did not use the arguments to specify the items to instantiate,
41842 # then the envvar interface is used. Set only those that are not.
41843 # We use the long form for the default assignment because of an extremely
41844 # bizarre bug on SunOS 4.1.3.
41845 if $ac_need_defaults; then
41846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41848 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41849 fi
41850
41851 # Have a temporary directory for convenience. Make it in the build tree
41852 # simply because there is no reason against having it here, and in addition,
41853 # creating and moving files from /tmp can sometimes cause problems.
41854 # Hook for its removal unless debugging.
41855 # Note that there is a small window in which the directory will not be cleaned:
41856 # after its creation but before its name has been assigned to `$tmp'.
41857 $debug ||
41858 {
41859 tmp=
41860 trap 'exit_status=$?
41861 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
41862 ' 0
41863 trap 'as_fn_exit 1' 1 2 13 15
41864 }
41865 # Create a (secure) tmp directory for tmp files.
41866
41867 {
41868 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41869 test -n "$tmp" && test -d "$tmp"
41870 } ||
41871 {
41872 tmp=./conf$$-$RANDOM
41873 (umask 077 && mkdir "$tmp")
41874 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41875
41876 # Set up the scripts for CONFIG_FILES section.
41877 # No need to generate them if there are no CONFIG_FILES.
41878 # This happens for instance with `./config.status config.h'.
41879 if test -n "$CONFIG_FILES"; then
41880
41881
41882 ac_cr=`echo X | tr X '\015'`
41883 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41884 # But we know of no other shell where ac_cr would be empty at this
41885 # point, so we can use a bashism as a fallback.
41886 if test "x$ac_cr" = x; then
41887 eval ac_cr=\$\'\\r\'
41888 fi
41889 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41891 ac_cs_awk_cr='\\r'
41892 else
41893 ac_cs_awk_cr=$ac_cr
41894 fi
41895
41896 echo 'BEGIN {' >"$tmp/subs1.awk" &&
41897 _ACEOF
41898
41899
41900 {
41901 echo "cat >conf$$subs.awk <<_ACEOF" &&
41902 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41903 echo "_ACEOF"
41904 } >conf$$subs.sh ||
41905 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41906 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41907 ac_delim='%!_!# '
41908 for ac_last_try in false false false false false :; do
41909 . ./conf$$subs.sh ||
41910 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41911
41912 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41913 if test $ac_delim_n = $ac_delim_num; then
41914 break
41915 elif $ac_last_try; then
41916 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41917 else
41918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41919 fi
41920 done
41921 rm -f conf$$subs.sh
41922
41923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41924 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
41925 _ACEOF
41926 sed -n '
41927 h
41928 s/^/S["/; s/!.*/"]=/
41929 p
41930 g
41931 s/^[^!]*!//
41932 :repl
41933 t repl
41934 s/'"$ac_delim"'$//
41935 t delim
41936 :nl
41937 h
41938 s/\(.\{148\}\)..*/\1/
41939 t more1
41940 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41941 p
41942 n
41943 b repl
41944 :more1
41945 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41946 p
41947 g
41948 s/.\{148\}//
41949 t nl
41950 :delim
41951 h
41952 s/\(.\{148\}\)..*/\1/
41953 t more2
41954 s/["\\]/\\&/g; s/^/"/; s/$/"/
41955 p
41956 b
41957 :more2
41958 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41959 p
41960 g
41961 s/.\{148\}//
41962 t delim
41963 ' <conf$$subs.awk | sed '
41964 /^[^""]/{
41965 N
41966 s/\n//
41967 }
41968 ' >>$CONFIG_STATUS || ac_write_fail=1
41969 rm -f conf$$subs.awk
41970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41971 _ACAWK
41972 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
41973 for (key in S) S_is_set[key] = 1
41974 FS = "\a"
41975
41976 }
41977 {
41978 line = $ 0
41979 nfields = split(line, field, "@")
41980 substed = 0
41981 len = length(field[1])
41982 for (i = 2; i < nfields; i++) {
41983 key = field[i]
41984 keylen = length(key)
41985 if (S_is_set[key]) {
41986 value = S[key]
41987 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41988 len += length(value) + length(field[++i])
41989 substed = 1
41990 } else
41991 len += 1 + keylen
41992 }
41993
41994 print line
41995 }
41996
41997 _ACAWK
41998 _ACEOF
41999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42000 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42001 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
42002 else
42003 cat
42004 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
42005 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
42006 _ACEOF
42007
42008 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42009 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
42010 # trailing colons and then remove the whole line if VPATH becomes empty
42011 # (actually we leave an empty line to preserve line numbers).
42012 if test "x$srcdir" = x.; then
42013 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42014 h
42015 s///
42016 s/^/:/
42017 s/[ ]*$/:/
42018 s/:\$(srcdir):/:/g
42019 s/:\${srcdir}:/:/g
42020 s/:@srcdir@:/:/g
42021 s/^:*//
42022 s/:*$//
42023 x
42024 s/\(=[ ]*\).*/\1/
42025 G
42026 s/\n//
42027 s/^[^=]*=[ ]*$//
42028 }'
42029 fi
42030
42031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42032 fi # test -n "$CONFIG_FILES"
42033
42034 # Set up the scripts for CONFIG_HEADERS section.
42035 # No need to generate them if there are no CONFIG_HEADERS.
42036 # This happens for instance with `./config.status Makefile'.
42037 if test -n "$CONFIG_HEADERS"; then
42038 cat >"$tmp/defines.awk" <<\_ACAWK ||
42039 BEGIN {
42040 _ACEOF
42041
42042 # Transform confdefs.h into an awk script `defines.awk', embedded as
42043 # here-document in config.status, that substitutes the proper values into
42044 # config.h.in to produce config.h.
42045
42046 # Create a delimiter string that does not exist in confdefs.h, to ease
42047 # handling of long lines.
42048 ac_delim='%!_!# '
42049 for ac_last_try in false false :; do
42050 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
42051 if test -z "$ac_t"; then
42052 break
42053 elif $ac_last_try; then
42054 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
42055 else
42056 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42057 fi
42058 done
42059
42060 # For the awk script, D is an array of macro values keyed by name,
42061 # likewise P contains macro parameters if any. Preserve backslash
42062 # newline sequences.
42063
42064 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42065 sed -n '
42066 s/.\{148\}/&'"$ac_delim"'/g
42067 t rset
42068 :rset
42069 s/^[ ]*#[ ]*define[ ][ ]*/ /
42070 t def
42071 d
42072 :def
42073 s/\\$//
42074 t bsnl
42075 s/["\\]/\\&/g
42076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42077 D["\1"]=" \3"/p
42078 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
42079 d
42080 :bsnl
42081 s/["\\]/\\&/g
42082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
42083 D["\1"]=" \3\\\\\\n"\\/p
42084 t cont
42085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
42086 t cont
42087 d
42088 :cont
42089 n
42090 s/.\{148\}/&'"$ac_delim"'/g
42091 t clear
42092 :clear
42093 s/\\$//
42094 t bsnlc
42095 s/["\\]/\\&/g; s/^/"/; s/$/"/p
42096 d
42097 :bsnlc
42098 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
42099 b cont
42100 ' <confdefs.h | sed '
42101 s/'"$ac_delim"'/"\\\
42102 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42103
42104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42105 for (key in D) D_is_set[key] = 1
42106 FS = "\a"
42107 }
42108 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42109 line = \$ 0
42110 split(line, arg, " ")
42111 if (arg[1] == "#") {
42112 defundef = arg[2]
42113 mac1 = arg[3]
42114 } else {
42115 defundef = substr(arg[1], 2)
42116 mac1 = arg[2]
42117 }
42118 split(mac1, mac2, "(") #)
42119 macro = mac2[1]
42120 prefix = substr(line, 1, index(line, defundef) - 1)
42121 if (D_is_set[macro]) {
42122 # Preserve the white space surrounding the "#".
42123 print prefix "define", macro P[macro] D[macro]
42124 next
42125 } else {
42126 # Replace #undef with comments. This is necessary, for example,
42127 # in the case of _POSIX_SOURCE, which is predefined and required
42128 # on some systems where configure will not decide to define it.
42129 if (defundef == "undef") {
42130 print "/*", prefix defundef, macro, "*/"
42131 next
42132 }
42133 }
42134 }
42135 { print }
42136 _ACAWK
42137 _ACEOF
42138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42139 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42140 fi # test -n "$CONFIG_HEADERS"
42141
42142
42143 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42144 shift
42145 for ac_tag
42146 do
42147 case $ac_tag in
42148 :[FHLC]) ac_mode=$ac_tag; continue;;
42149 esac
42150 case $ac_mode$ac_tag in
42151 :[FHL]*:*);;
42152 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
42153 :[FH]-) ac_tag=-:-;;
42154 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42155 esac
42156 ac_save_IFS=$IFS
42157 IFS=:
42158 set x $ac_tag
42159 IFS=$ac_save_IFS
42160 shift
42161 ac_file=$1
42162 shift
42163
42164 case $ac_mode in
42165 :L) ac_source=$1;;
42166 :[FH])
42167 ac_file_inputs=
42168 for ac_f
42169 do
42170 case $ac_f in
42171 -) ac_f="$tmp/stdin";;
42172 *) # Look for the file first in the build tree, then in the source tree
42173 # (if the path is not absolute). The absolute path cannot be DOS-style,
42174 # because $ac_f cannot contain `:'.
42175 test -f "$ac_f" ||
42176 case $ac_f in
42177 [\\/$]*) false;;
42178 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42179 esac ||
42180 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42181 esac
42182 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42183 as_fn_append ac_file_inputs " '$ac_f'"
42184 done
42185
42186 # Let's still pretend it is `configure' which instantiates (i.e., don't
42187 # use $as_me), people would be surprised to read:
42188 # /* config.h. Generated by config.status. */
42189 configure_input='Generated from '`
42190 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42191 `' by configure.'
42192 if test x"$ac_file" != x-; then
42193 configure_input="$ac_file. $configure_input"
42194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42195 $as_echo "$as_me: creating $ac_file" >&6;}
42196 fi
42197 # Neutralize special characters interpreted by sed in replacement strings.
42198 case $configure_input in #(
42199 *\&* | *\|* | *\\* )
42200 ac_sed_conf_input=`$as_echo "$configure_input" |
42201 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42202 *) ac_sed_conf_input=$configure_input;;
42203 esac
42204
42205 case $ac_tag in
42206 *:-:* | *:-) cat >"$tmp/stdin" \
42207 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42208 esac
42209 ;;
42210 esac
42211
42212 ac_dir=`$as_dirname -- "$ac_file" ||
42213 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42214 X"$ac_file" : 'X\(//\)[^/]' \| \
42215 X"$ac_file" : 'X\(//\)$' \| \
42216 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42217 $as_echo X"$ac_file" |
42218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42219 s//\1/
42220 q
42221 }
42222 /^X\(\/\/\)[^/].*/{
42223 s//\1/
42224 q
42225 }
42226 /^X\(\/\/\)$/{
42227 s//\1/
42228 q
42229 }
42230 /^X\(\/\).*/{
42231 s//\1/
42232 q
42233 }
42234 s/.*/./; q'`
42235 as_dir="$ac_dir"; as_fn_mkdir_p
42236 ac_builddir=.
42237
42238 case "$ac_dir" in
42239 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42240 *)
42241 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42242 # A ".." for each directory in $ac_dir_suffix.
42243 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42244 case $ac_top_builddir_sub in
42245 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42246 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42247 esac ;;
42248 esac
42249 ac_abs_top_builddir=$ac_pwd
42250 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42251 # for backward compatibility:
42252 ac_top_builddir=$ac_top_build_prefix
42253
42254 case $srcdir in
42255 .) # We are building in place.
42256 ac_srcdir=.
42257 ac_top_srcdir=$ac_top_builddir_sub
42258 ac_abs_top_srcdir=$ac_pwd ;;
42259 [\\/]* | ?:[\\/]* ) # Absolute name.
42260 ac_srcdir=$srcdir$ac_dir_suffix;
42261 ac_top_srcdir=$srcdir
42262 ac_abs_top_srcdir=$srcdir ;;
42263 *) # Relative name.
42264 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42265 ac_top_srcdir=$ac_top_build_prefix$srcdir
42266 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42267 esac
42268 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42269
42270
42271 case $ac_mode in
42272 :F)
42273 #
42274 # CONFIG_FILE
42275 #
42276
42277 case $INSTALL in
42278 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42279 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42280 esac
42281 _ACEOF
42282
42283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42284 # If the template does not know about datarootdir, expand it.
42285 # FIXME: This hack should be removed a few years after 2.60.
42286 ac_datarootdir_hack=; ac_datarootdir_seen=
42287 ac_sed_dataroot='
42288 /datarootdir/ {
42289 p
42290 q
42291 }
42292 /@datadir@/p
42293 /@docdir@/p
42294 /@infodir@/p
42295 /@localedir@/p
42296 /@mandir@/p'
42297 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42298 *datarootdir*) ac_datarootdir_seen=yes;;
42299 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42301 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42302 _ACEOF
42303 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42304 ac_datarootdir_hack='
42305 s&@datadir@&$datadir&g
42306 s&@docdir@&$docdir&g
42307 s&@infodir@&$infodir&g
42308 s&@localedir@&$localedir&g
42309 s&@mandir@&$mandir&g
42310 s&\\\${datarootdir}&$datarootdir&g' ;;
42311 esac
42312 _ACEOF
42313
42314 # Neutralize VPATH when `$srcdir' = `.'.
42315 # Shell code in configure.ac might set extrasub.
42316 # FIXME: do we really want to maintain this feature?
42317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42318 ac_sed_extra="$ac_vpsub
42319 $extrasub
42320 _ACEOF
42321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42322 :t
42323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42324 s|@configure_input@|$ac_sed_conf_input|;t t
42325 s&@top_builddir@&$ac_top_builddir_sub&;t t
42326 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42327 s&@srcdir@&$ac_srcdir&;t t
42328 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42329 s&@top_srcdir@&$ac_top_srcdir&;t t
42330 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42331 s&@builddir@&$ac_builddir&;t t
42332 s&@abs_builddir@&$ac_abs_builddir&;t t
42333 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42334 s&@INSTALL@&$ac_INSTALL&;t t
42335 $ac_datarootdir_hack
42336 "
42337 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
42338 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42339
42340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42341 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
42342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
42343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42344 which seems to be undefined. Please make sure it is defined" >&5
42345 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42346 which seems to be undefined. Please make sure it is defined" >&2;}
42347
42348 rm -f "$tmp/stdin"
42349 case $ac_file in
42350 -) cat "$tmp/out" && rm -f "$tmp/out";;
42351 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
42352 esac \
42353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42354 ;;
42355 :H)
42356 #
42357 # CONFIG_HEADER
42358 #
42359 if test x"$ac_file" != x-; then
42360 {
42361 $as_echo "/* $configure_input */" \
42362 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
42363 } >"$tmp/config.h" \
42364 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42365 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42367 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42368 else
42369 rm -f "$ac_file"
42370 mv "$tmp/config.h" "$ac_file" \
42371 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42372 fi
42373 else
42374 $as_echo "/* $configure_input */" \
42375 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
42376 || as_fn_error $? "could not create -" "$LINENO" 5
42377 fi
42378 ;;
42379
42380 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42381 $as_echo "$as_me: executing $ac_file commands" >&6;}
42382 ;;
42383 esac
42384
42385
42386 case $ac_file$ac_mode in
42387 "rcdefs.h":C)
42388 mkdir -p $outdir &&
42389 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42390 ;;
42391 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42392 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42393 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42394 "wx-config":C) rm -f wx-config
42395 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42396 ;;
42397
42398 esac
42399 done # for ac_tag
42400
42401
42402 as_fn_exit 0
42403 _ACEOF
42404 ac_clean_files=$ac_clean_files_save
42405
42406 test $ac_write_fail = 0 ||
42407 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42408
42409
42410 # configure is writing to config.log, and then calls config.status.
42411 # config.status does its own redirection, appending to config.log.
42412 # Unfortunately, on DOS this fails, as config.log is still kept open
42413 # by configure, so config.status won't be able to write to it; its
42414 # output is simply discarded. So we exec the FD to /dev/null,
42415 # effectively closing config.log, so it can be properly (re)opened and
42416 # appended to by config.status. When coming back to configure, we
42417 # need to make the FD available again.
42418 if test "$no_create" != yes; then
42419 ac_cs_success=:
42420 ac_config_status_args=
42421 test "$silent" = yes &&
42422 ac_config_status_args="$ac_config_status_args --quiet"
42423 exec 5>/dev/null
42424 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42425 exec 5>>config.log
42426 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42427 # would make configure fail if this is the last instruction.
42428 $ac_cs_success || as_fn_exit 1
42429 fi
42430
42431 #
42432 # CONFIG_SUBDIRS section.
42433 #
42434 if test "$no_recursion" != yes; then
42435
42436 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42437 # so they do not pile up.
42438 ac_sub_configure_args=
42439 ac_prev=
42440 eval "set x $ac_configure_args"
42441 shift
42442 for ac_arg
42443 do
42444 if test -n "$ac_prev"; then
42445 ac_prev=
42446 continue
42447 fi
42448 case $ac_arg in
42449 -cache-file | --cache-file | --cache-fil | --cache-fi \
42450 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42451 ac_prev=cache_file ;;
42452 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42453 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42454 | --c=*)
42455 ;;
42456 --config-cache | -C)
42457 ;;
42458 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42459 ac_prev=srcdir ;;
42460 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42461 ;;
42462 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42463 ac_prev=prefix ;;
42464 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42465 ;;
42466 --disable-option-checking)
42467 ;;
42468 *)
42469 case $ac_arg in
42470 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42471 esac
42472 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42473 esac
42474 done
42475
42476 # Always prepend --prefix to ensure using the same prefix
42477 # in subdir configurations.
42478 ac_arg="--prefix=$prefix"
42479 case $ac_arg in
42480 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42481 esac
42482 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42483
42484 # Pass --silent
42485 if test "$silent" = yes; then
42486 ac_sub_configure_args="--silent $ac_sub_configure_args"
42487 fi
42488
42489 # Always prepend --disable-option-checking to silence warnings, since
42490 # different subdirs can have different --enable and --with options.
42491 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42492
42493 ac_popdir=`pwd`
42494 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42495
42496 # Do not complain, so a configure script can configure whichever
42497 # parts of a large source tree are present.
42498 test -d "$srcdir/$ac_dir" || continue
42499
42500 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42501 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42502 $as_echo "$ac_msg" >&6
42503 as_dir="$ac_dir"; as_fn_mkdir_p
42504 ac_builddir=.
42505
42506 case "$ac_dir" in
42507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42508 *)
42509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42510 # A ".." for each directory in $ac_dir_suffix.
42511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42512 case $ac_top_builddir_sub in
42513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42515 esac ;;
42516 esac
42517 ac_abs_top_builddir=$ac_pwd
42518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42519 # for backward compatibility:
42520 ac_top_builddir=$ac_top_build_prefix
42521
42522 case $srcdir in
42523 .) # We are building in place.
42524 ac_srcdir=.
42525 ac_top_srcdir=$ac_top_builddir_sub
42526 ac_abs_top_srcdir=$ac_pwd ;;
42527 [\\/]* | ?:[\\/]* ) # Absolute name.
42528 ac_srcdir=$srcdir$ac_dir_suffix;
42529 ac_top_srcdir=$srcdir
42530 ac_abs_top_srcdir=$srcdir ;;
42531 *) # Relative name.
42532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42533 ac_top_srcdir=$ac_top_build_prefix$srcdir
42534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42535 esac
42536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42537
42538
42539 cd "$ac_dir"
42540
42541 # Check for guested configure; otherwise get Cygnus style configure.
42542 if test -f "$ac_srcdir/configure.gnu"; then
42543 ac_sub_configure=$ac_srcdir/configure.gnu
42544 elif test -f "$ac_srcdir/configure"; then
42545 ac_sub_configure=$ac_srcdir/configure
42546 elif test -f "$ac_srcdir/configure.in"; then
42547 # This should be Cygnus configure.
42548 ac_sub_configure=$ac_aux_dir/configure
42549 else
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42551 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42552 ac_sub_configure=
42553 fi
42554
42555 # The recursion is here.
42556 if test -n "$ac_sub_configure"; then
42557 # Make the cache file name correct relative to the subdirectory.
42558 case $cache_file in
42559 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42560 *) # Relative name.
42561 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42562 esac
42563
42564 { $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
42565 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42566 # The eval makes quoting arguments work.
42567 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42568 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42569 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42570 fi
42571
42572 cd "$ac_popdir"
42573 done
42574 fi
42575 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42577 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42578 fi
42579
42580
42581 echo
42582 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42583 echo ""
42584 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42585 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42586 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42587 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42588 if test "$wxUSE_UNICODE" = "yes"; then
42589 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42590 echo " (using UTF-8)"
42591 else
42592 echo " (using wchar_t)"
42593 fi
42594 else
42595 echo
42596 fi
42597
42598 echo " What level of wxWidgets compatibility should be enabled?"
42599 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42600 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42601
42602 echo " Which libraries should wxWidgets use?"
42603 echo " STL ${wxUSE_STL}"
42604 echo " jpeg ${wxUSE_LIBJPEG-none}"
42605 echo " png ${wxUSE_LIBPNG-none}"
42606 echo " regex ${wxUSE_REGEX}"
42607 echo " tiff ${wxUSE_LIBTIFF-none}"
42608 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42609 echo " xpm ${wxUSE_LIBXPM-none}"
42610 fi
42611 echo " zlib ${wxUSE_ZLIB}"
42612 echo " expat ${wxUSE_EXPAT}"
42613 echo " libmspack ${wxUSE_LIBMSPACK}"
42614 echo " sdl ${wxUSE_LIBSDL}"
42615
42616 echo ""
42617