]> git.saurik.com Git - wxWidgets.git/blob - configure
Fixed wxRichTextCtrl caret test case
[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.5.
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.5'
557 PACKAGE_STRING='wxWidgets 2.9.5'
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 AR
1000 ac_ct_CXX
1001 CXXFLAGS
1002 CXX
1003 EGREP
1004 GREP
1005 CPP
1006 OBJEXT
1007 EXEEXT
1008 ac_ct_CC
1009 CPPFLAGS
1010 LDFLAGS
1011 CFLAGS
1012 CC
1013 wx_top_builddir
1014 host_os
1015 host_vendor
1016 host_cpu
1017 host
1018 build_os
1019 build_vendor
1020 build_cpu
1021 build
1022 target_alias
1023 host_alias
1024 build_alias
1025 LIBS
1026 ECHO_T
1027 ECHO_N
1028 ECHO_C
1029 DEFS
1030 mandir
1031 localedir
1032 libdir
1033 psdir
1034 pdfdir
1035 dvidir
1036 htmldir
1037 infodir
1038 docdir
1039 oldincludedir
1040 includedir
1041 localstatedir
1042 sharedstatedir
1043 sysconfdir
1044 datadir
1045 datarootdir
1046 libexecdir
1047 sbindir
1048 bindir
1049 program_transform_name
1050 prefix
1051 exec_prefix
1052 PACKAGE_URL
1053 PACKAGE_BUGREPORT
1054 PACKAGE_STRING
1055 PACKAGE_VERSION
1056 PACKAGE_TARNAME
1057 PACKAGE_NAME
1058 PATH_SEPARATOR
1059 SHELL'
1060 ac_subst_files=''
1061 ac_user_opts='
1062 enable_option_checking
1063 enable_gui
1064 enable_monolithic
1065 enable_plugins
1066 with_subdirs
1067 with_flavour
1068 enable_official_build
1069 enable_vendor
1070 enable_all_features
1071 enable_universal
1072 with_themes
1073 with_gtk
1074 with_motif
1075 with_osx_carbon
1076 with_osx_cocoa
1077 with_osx_iphone
1078 with_osx
1079 with_carbon
1080 with_cocoa
1081 with_iphone
1082 with_mac
1083 with_old_cocoa
1084 with_wine
1085 with_msw
1086 with_pm
1087 with_directfb
1088 with_microwin
1089 with_x11
1090 enable_nanox
1091 enable_gpe
1092 with_libpng
1093 with_libjpeg
1094 with_libtiff
1095 with_libxpm
1096 with_libiconv
1097 with_libmspack
1098 with_gtkprint
1099 with_gnomeprint
1100 with_gnomevfs
1101 with_hildon
1102 with_opengl
1103 with_dmalloc
1104 with_sdl
1105 with_regex
1106 with_zlib
1107 with_expat
1108 with_macosx_sdk
1109 with_macosx_version_min
1110 enable_debug
1111 enable_debug_flag
1112 enable_debug_info
1113 enable_debug_gdb
1114 enable_debug_cntxt
1115 enable_mem_tracing
1116 enable_shared
1117 enable_stl
1118 enable_std_containers
1119 enable_std_iostreams
1120 enable_std_string
1121 enable_std_string_conv_in_wxstring
1122 enable_unicode
1123 enable_mslu
1124 enable_utf8
1125 enable_utf8only
1126 enable_extended_rtti
1127 enable_omf
1128 enable_optimise
1129 enable_profile
1130 enable_no_rtti
1131 enable_no_exceptions
1132 enable_permissive
1133 enable_no_deps
1134 enable_vararg_macros
1135 enable_universal_binary
1136 enable_macosx_arch
1137 enable_compat26
1138 enable_compat28
1139 enable_rpath
1140 enable_objc_uniquifying
1141 enable_visibility
1142 enable_tls
1143 enable_intl
1144 enable_xlocale
1145 enable_config
1146 enable_protocols
1147 enable_ftp
1148 enable_http
1149 enable_fileproto
1150 enable_sockets
1151 enable_ipv6
1152 enable_ole
1153 enable_dataobj
1154 enable_ipc
1155 enable_baseevtloop
1156 enable_epollloop
1157 enable_selectloop
1158 enable_any
1159 enable_apple_ieee
1160 enable_arcstream
1161 enable_base64
1162 enable_backtrace
1163 enable_catch_segvs
1164 enable_cmdline
1165 enable_datetime
1166 enable_debugreport
1167 enable_dialupman
1168 enable_dynlib
1169 enable_dynamicloader
1170 enable_exceptions
1171 enable_ffile
1172 enable_file
1173 enable_filehistory
1174 enable_filesystem
1175 enable_fontenum
1176 enable_fontmap
1177 enable_fs_archive
1178 enable_fs_inet
1179 enable_fs_zip
1180 enable_fswatcher
1181 enable_geometry
1182 enable_log
1183 enable_longlong
1184 enable_mimetype
1185 enable_printfposparam
1186 enable_snglinst
1187 enable_sound
1188 enable_stdpaths
1189 enable_stopwatch
1190 enable_streams
1191 enable_sysoptions
1192 enable_tarstream
1193 enable_textbuf
1194 enable_textfile
1195 enable_timer
1196 enable_variant
1197 enable_zipstream
1198 enable_url
1199 enable_protocol
1200 enable_protocol_http
1201 enable_protocol_ftp
1202 enable_protocol_file
1203 enable_threads
1204 enable_iniconf
1205 enable_regkey
1206 enable_docview
1207 enable_help
1208 enable_mshtmlhelp
1209 enable_html
1210 enable_htmlhelp
1211 enable_xrc
1212 enable_aui
1213 enable_propgrid
1214 enable_ribbon
1215 enable_stc
1216 enable_constraints
1217 enable_loggui
1218 enable_logwin
1219 enable_logdialog
1220 enable_mdi
1221 enable_mdidoc
1222 enable_mediactrl
1223 enable_gstreamer8
1224 enable_richtext
1225 enable_postscript
1226 enable_printarch
1227 enable_svg
1228 enable_webkit
1229 enable_webview
1230 enable_graphics_ctx
1231 enable_clipboard
1232 enable_dnd
1233 enable_controls
1234 enable_markup
1235 enable_accel
1236 enable_animatectrl
1237 enable_bannerwindow
1238 enable_artstd
1239 enable_arttango
1240 enable_bmpbutton
1241 enable_bmpcombobox
1242 enable_button
1243 enable_calendar
1244 enable_caret
1245 enable_checkbox
1246 enable_checklst
1247 enable_choice
1248 enable_choicebook
1249 enable_collpane
1250 enable_colourpicker
1251 enable_combobox
1252 enable_comboctrl
1253 enable_commandlinkbutton
1254 enable_dataviewctrl
1255 enable_datepick
1256 enable_detect_sm
1257 enable_dirpicker
1258 enable_display
1259 enable_editablebox
1260 enable_filectrl
1261 enable_filepicker
1262 enable_fontpicker
1263 enable_gauge
1264 enable_grid
1265 enable_headerctrl
1266 enable_hyperlink
1267 enable_imaglist
1268 enable_infobar
1269 enable_listbook
1270 enable_listbox
1271 enable_listctrl
1272 enable_notebook
1273 enable_notifmsg
1274 enable_odcombobox
1275 enable_popupwin
1276 enable_radiobox
1277 enable_radiobtn
1278 enable_richmsgdlg
1279 enable_richtooltip
1280 enable_rearrangectrl
1281 enable_sash
1282 enable_scrollbar
1283 enable_searchctrl
1284 enable_slider
1285 enable_spinbtn
1286 enable_spinctrl
1287 enable_splitter
1288 enable_statbmp
1289 enable_statbox
1290 enable_statline
1291 enable_stattext
1292 enable_statusbar
1293 enable_taskbaricon
1294 enable_tbarnative
1295 enable_textctrl
1296 enable_tipwindow
1297 enable_togglebtn
1298 enable_toolbar
1299 enable_toolbook
1300 enable_treebook
1301 enable_treectrl
1302 enable_treelist
1303 enable_commondlg
1304 enable_aboutdlg
1305 enable_choicedlg
1306 enable_coldlg
1307 enable_filedlg
1308 enable_finddlg
1309 enable_fontdlg
1310 enable_dirdlg
1311 enable_msgdlg
1312 enable_numberdlg
1313 enable_splash
1314 enable_textdlg
1315 enable_tipdlg
1316 enable_progressdlg
1317 enable_wizarddlg
1318 enable_menus
1319 enable_miniframe
1320 enable_tooltips
1321 enable_splines
1322 enable_mousewheel
1323 enable_validators
1324 enable_busyinfo
1325 enable_hotkey
1326 enable_joystick
1327 enable_metafile
1328 enable_dragimage
1329 enable_accessibility
1330 enable_uiactionsim
1331 enable_dctransform
1332 enable_webviewwebkit
1333 enable_palette
1334 enable_image
1335 enable_gif
1336 enable_pcx
1337 enable_tga
1338 enable_iff
1339 enable_pnm
1340 enable_xpm
1341 enable_ico_cur
1342 enable_dccache
1343 enable_ps_in_msw
1344 enable_ownerdrawn
1345 enable_uxtheme
1346 enable_wxdib
1347 enable_webviewie
1348 enable_autoidman
1349 enable_largefile
1350 enable_gtktest
1351 with_gtk_prefix
1352 with_gtk_exec_prefix
1353 with_x
1354 with_libiconv_prefix
1355 with_sdl_prefix
1356 with_sdl_exec_prefix
1357 enable_sdltest
1358 enable_dependency_tracking
1359 enable_precomp_headers
1360 with_cppunit_prefix
1361 with_cppunit_exec_prefix
1362 '
1363 ac_precious_vars='build_alias
1364 host_alias
1365 target_alias
1366 CC
1367 CFLAGS
1368 LDFLAGS
1369 LIBS
1370 CPPFLAGS
1371 CPP
1372 CXX
1373 CXXFLAGS
1374 CCC
1375 CXXCPP
1376 PKG_CONFIG
1377 DIRECTFB_CFLAGS
1378 DIRECTFB_LIBS
1379 XMKMF
1380 PANGOX_CFLAGS
1381 PANGOX_LIBS
1382 PANGOFT2_CFLAGS
1383 PANGOFT2_LIBS
1384 PANGOXFT_CFLAGS
1385 PANGOXFT_LIBS
1386 Xinerama_CFLAGS
1387 Xinerama_LIBS
1388 Xxf86vm_CFLAGS
1389 Xxf86vm_LIBS
1390 SM_CFLAGS
1391 SM_LIBS
1392 GL_CFLAGS
1393 GL_LIBS
1394 GLU_CFLAGS
1395 GLU_LIBS
1396 MesaGL_CFLAGS
1397 MesaGL_LIBS
1398 GTKPRINT_CFLAGS
1399 GTKPRINT_LIBS
1400 LIBGNOMEPRINTUI_CFLAGS
1401 LIBGNOMEPRINTUI_LIBS
1402 GNOMEVFS_CFLAGS
1403 GNOMEVFS_LIBS
1404 HILDON_CFLAGS
1405 HILDON_LIBS
1406 HILDON2_CFLAGS
1407 HILDON2_LIBS
1408 WEBKIT_CFLAGS
1409 WEBKIT_LIBS
1410 CAIRO_CFLAGS
1411 CAIRO_LIBS
1412 GST_CFLAGS
1413 GST_LIBS'
1414 ac_subdirs_all='src/tiff
1415 src/expat'
1416
1417 # Initialize some variables set by options.
1418 ac_init_help=
1419 ac_init_version=false
1420 ac_unrecognized_opts=
1421 ac_unrecognized_sep=
1422 # The variables have the same names as the options, with
1423 # dashes changed to underlines.
1424 cache_file=/dev/null
1425 exec_prefix=NONE
1426 no_create=
1427 no_recursion=
1428 prefix=NONE
1429 program_prefix=NONE
1430 program_suffix=NONE
1431 program_transform_name=s,x,x,
1432 silent=
1433 site=
1434 srcdir=
1435 verbose=
1436 x_includes=NONE
1437 x_libraries=NONE
1438
1439 # Installation directory options.
1440 # These are left unexpanded so users can "make install exec_prefix=/foo"
1441 # and all the variables that are supposed to be based on exec_prefix
1442 # by default will actually change.
1443 # Use braces instead of parens because sh, perl, etc. also accept them.
1444 # (The list follows the same order as the GNU Coding Standards.)
1445 bindir='${exec_prefix}/bin'
1446 sbindir='${exec_prefix}/sbin'
1447 libexecdir='${exec_prefix}/libexec'
1448 datarootdir='${prefix}/share'
1449 datadir='${datarootdir}'
1450 sysconfdir='${prefix}/etc'
1451 sharedstatedir='${prefix}/com'
1452 localstatedir='${prefix}/var'
1453 includedir='${prefix}/include'
1454 oldincludedir='/usr/include'
1455 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1456 infodir='${datarootdir}/info'
1457 htmldir='${docdir}'
1458 dvidir='${docdir}'
1459 pdfdir='${docdir}'
1460 psdir='${docdir}'
1461 libdir='${exec_prefix}/lib'
1462 localedir='${datarootdir}/locale'
1463 mandir='${datarootdir}/man'
1464
1465 ac_prev=
1466 ac_dashdash=
1467 for ac_option
1468 do
1469 # If the previous option needs an argument, assign it.
1470 if test -n "$ac_prev"; then
1471 eval $ac_prev=\$ac_option
1472 ac_prev=
1473 continue
1474 fi
1475
1476 case $ac_option in
1477 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1478 *=) ac_optarg= ;;
1479 *) ac_optarg=yes ;;
1480 esac
1481
1482 # Accept the important Cygnus configure options, so we can diagnose typos.
1483
1484 case $ac_dashdash$ac_option in
1485 --)
1486 ac_dashdash=yes ;;
1487
1488 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1489 ac_prev=bindir ;;
1490 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1491 bindir=$ac_optarg ;;
1492
1493 -build | --build | --buil | --bui | --bu)
1494 ac_prev=build_alias ;;
1495 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1496 build_alias=$ac_optarg ;;
1497
1498 -cache-file | --cache-file | --cache-fil | --cache-fi \
1499 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1500 ac_prev=cache_file ;;
1501 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1502 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1503 cache_file=$ac_optarg ;;
1504
1505 --config-cache | -C)
1506 cache_file=config.cache ;;
1507
1508 -datadir | --datadir | --datadi | --datad)
1509 ac_prev=datadir ;;
1510 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1511 datadir=$ac_optarg ;;
1512
1513 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1514 | --dataroo | --dataro | --datar)
1515 ac_prev=datarootdir ;;
1516 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1517 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1518 datarootdir=$ac_optarg ;;
1519
1520 -disable-* | --disable-*)
1521 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1522 # Reject names that are not valid shell variable names.
1523 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1524 as_fn_error $? "invalid feature name: $ac_useropt"
1525 ac_useropt_orig=$ac_useropt
1526 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1527 case $ac_user_opts in
1528 *"
1529 "enable_$ac_useropt"
1530 "*) ;;
1531 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1532 ac_unrecognized_sep=', ';;
1533 esac
1534 eval enable_$ac_useropt=no ;;
1535
1536 -docdir | --docdir | --docdi | --doc | --do)
1537 ac_prev=docdir ;;
1538 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1539 docdir=$ac_optarg ;;
1540
1541 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1542 ac_prev=dvidir ;;
1543 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1544 dvidir=$ac_optarg ;;
1545
1546 -enable-* | --enable-*)
1547 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1548 # Reject names that are not valid shell variable names.
1549 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1550 as_fn_error $? "invalid feature name: $ac_useropt"
1551 ac_useropt_orig=$ac_useropt
1552 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1553 case $ac_user_opts in
1554 *"
1555 "enable_$ac_useropt"
1556 "*) ;;
1557 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1558 ac_unrecognized_sep=', ';;
1559 esac
1560 eval enable_$ac_useropt=\$ac_optarg ;;
1561
1562 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1563 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1564 | --exec | --exe | --ex)
1565 ac_prev=exec_prefix ;;
1566 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1567 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1568 | --exec=* | --exe=* | --ex=*)
1569 exec_prefix=$ac_optarg ;;
1570
1571 -gas | --gas | --ga | --g)
1572 # Obsolete; use --with-gas.
1573 with_gas=yes ;;
1574
1575 -help | --help | --hel | --he | -h)
1576 ac_init_help=long ;;
1577 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1578 ac_init_help=recursive ;;
1579 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1580 ac_init_help=short ;;
1581
1582 -host | --host | --hos | --ho)
1583 ac_prev=host_alias ;;
1584 -host=* | --host=* | --hos=* | --ho=*)
1585 host_alias=$ac_optarg ;;
1586
1587 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1588 ac_prev=htmldir ;;
1589 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1590 | --ht=*)
1591 htmldir=$ac_optarg ;;
1592
1593 -includedir | --includedir | --includedi | --included | --include \
1594 | --includ | --inclu | --incl | --inc)
1595 ac_prev=includedir ;;
1596 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1597 | --includ=* | --inclu=* | --incl=* | --inc=*)
1598 includedir=$ac_optarg ;;
1599
1600 -infodir | --infodir | --infodi | --infod | --info | --inf)
1601 ac_prev=infodir ;;
1602 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1603 infodir=$ac_optarg ;;
1604
1605 -libdir | --libdir | --libdi | --libd)
1606 ac_prev=libdir ;;
1607 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1608 libdir=$ac_optarg ;;
1609
1610 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1611 | --libexe | --libex | --libe)
1612 ac_prev=libexecdir ;;
1613 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1614 | --libexe=* | --libex=* | --libe=*)
1615 libexecdir=$ac_optarg ;;
1616
1617 -localedir | --localedir | --localedi | --localed | --locale)
1618 ac_prev=localedir ;;
1619 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1620 localedir=$ac_optarg ;;
1621
1622 -localstatedir | --localstatedir | --localstatedi | --localstated \
1623 | --localstate | --localstat | --localsta | --localst | --locals)
1624 ac_prev=localstatedir ;;
1625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1626 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1627 localstatedir=$ac_optarg ;;
1628
1629 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1630 ac_prev=mandir ;;
1631 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1632 mandir=$ac_optarg ;;
1633
1634 -nfp | --nfp | --nf)
1635 # Obsolete; use --without-fp.
1636 with_fp=no ;;
1637
1638 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1639 | --no-cr | --no-c | -n)
1640 no_create=yes ;;
1641
1642 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1643 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1644 no_recursion=yes ;;
1645
1646 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1647 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1648 | --oldin | --oldi | --old | --ol | --o)
1649 ac_prev=oldincludedir ;;
1650 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1651 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1652 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1653 oldincludedir=$ac_optarg ;;
1654
1655 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1656 ac_prev=prefix ;;
1657 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1658 prefix=$ac_optarg ;;
1659
1660 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1661 | --program-pre | --program-pr | --program-p)
1662 ac_prev=program_prefix ;;
1663 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1664 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1665 program_prefix=$ac_optarg ;;
1666
1667 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1668 | --program-suf | --program-su | --program-s)
1669 ac_prev=program_suffix ;;
1670 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1671 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1672 program_suffix=$ac_optarg ;;
1673
1674 -program-transform-name | --program-transform-name \
1675 | --program-transform-nam | --program-transform-na \
1676 | --program-transform-n | --program-transform- \
1677 | --program-transform | --program-transfor \
1678 | --program-transfo | --program-transf \
1679 | --program-trans | --program-tran \
1680 | --progr-tra | --program-tr | --program-t)
1681 ac_prev=program_transform_name ;;
1682 -program-transform-name=* | --program-transform-name=* \
1683 | --program-transform-nam=* | --program-transform-na=* \
1684 | --program-transform-n=* | --program-transform-=* \
1685 | --program-transform=* | --program-transfor=* \
1686 | --program-transfo=* | --program-transf=* \
1687 | --program-trans=* | --program-tran=* \
1688 | --progr-tra=* | --program-tr=* | --program-t=*)
1689 program_transform_name=$ac_optarg ;;
1690
1691 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1692 ac_prev=pdfdir ;;
1693 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1694 pdfdir=$ac_optarg ;;
1695
1696 -psdir | --psdir | --psdi | --psd | --ps)
1697 ac_prev=psdir ;;
1698 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1699 psdir=$ac_optarg ;;
1700
1701 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1702 | -silent | --silent | --silen | --sile | --sil)
1703 silent=yes ;;
1704
1705 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1706 ac_prev=sbindir ;;
1707 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1708 | --sbi=* | --sb=*)
1709 sbindir=$ac_optarg ;;
1710
1711 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1712 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1713 | --sharedst | --shareds | --shared | --share | --shar \
1714 | --sha | --sh)
1715 ac_prev=sharedstatedir ;;
1716 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1717 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1718 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1719 | --sha=* | --sh=*)
1720 sharedstatedir=$ac_optarg ;;
1721
1722 -site | --site | --sit)
1723 ac_prev=site ;;
1724 -site=* | --site=* | --sit=*)
1725 site=$ac_optarg ;;
1726
1727 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1728 ac_prev=srcdir ;;
1729 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1730 srcdir=$ac_optarg ;;
1731
1732 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1733 | --syscon | --sysco | --sysc | --sys | --sy)
1734 ac_prev=sysconfdir ;;
1735 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1736 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1737 sysconfdir=$ac_optarg ;;
1738
1739 -target | --target | --targe | --targ | --tar | --ta | --t)
1740 ac_prev=target_alias ;;
1741 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1742 target_alias=$ac_optarg ;;
1743
1744 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1745 verbose=yes ;;
1746
1747 -version | --version | --versio | --versi | --vers | -V)
1748 ac_init_version=: ;;
1749
1750 -with-* | --with-*)
1751 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1752 # Reject names that are not valid shell variable names.
1753 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1754 as_fn_error $? "invalid package name: $ac_useropt"
1755 ac_useropt_orig=$ac_useropt
1756 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1757 case $ac_user_opts in
1758 *"
1759 "with_$ac_useropt"
1760 "*) ;;
1761 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1762 ac_unrecognized_sep=', ';;
1763 esac
1764 eval with_$ac_useropt=\$ac_optarg ;;
1765
1766 -without-* | --without-*)
1767 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1768 # Reject names that are not valid shell variable names.
1769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1770 as_fn_error $? "invalid package name: $ac_useropt"
1771 ac_useropt_orig=$ac_useropt
1772 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1773 case $ac_user_opts in
1774 *"
1775 "with_$ac_useropt"
1776 "*) ;;
1777 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1778 ac_unrecognized_sep=', ';;
1779 esac
1780 eval with_$ac_useropt=no ;;
1781
1782 --x)
1783 # Obsolete; use --with-x.
1784 with_x=yes ;;
1785
1786 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1787 | --x-incl | --x-inc | --x-in | --x-i)
1788 ac_prev=x_includes ;;
1789 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1790 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1791 x_includes=$ac_optarg ;;
1792
1793 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1794 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1795 ac_prev=x_libraries ;;
1796 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1797 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1798 x_libraries=$ac_optarg ;;
1799
1800 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1801 Try \`$0 --help' for more information"
1802 ;;
1803
1804 *=*)
1805 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1806 # Reject names that are not valid shell variable names.
1807 case $ac_envvar in #(
1808 '' | [0-9]* | *[!_$as_cr_alnum]* )
1809 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1810 esac
1811 eval $ac_envvar=\$ac_optarg
1812 export $ac_envvar ;;
1813
1814 *)
1815 # FIXME: should be removed in autoconf 3.0.
1816 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1817 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1818 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1819 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1820 ;;
1821
1822 esac
1823 done
1824
1825 if test -n "$ac_prev"; then
1826 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1827 as_fn_error $? "missing argument to $ac_option"
1828 fi
1829
1830 if test -n "$ac_unrecognized_opts"; then
1831 case $enable_option_checking in
1832 no) ;;
1833 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1834 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1835 esac
1836 fi
1837
1838 # Check all directory arguments for consistency.
1839 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1840 datadir sysconfdir sharedstatedir localstatedir includedir \
1841 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1842 libdir localedir mandir
1843 do
1844 eval ac_val=\$$ac_var
1845 # Remove trailing slashes.
1846 case $ac_val in
1847 */ )
1848 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1849 eval $ac_var=\$ac_val;;
1850 esac
1851 # Be sure to have absolute directory names.
1852 case $ac_val in
1853 [\\/$]* | ?:[\\/]* ) continue;;
1854 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1855 esac
1856 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1857 done
1858
1859 # There might be people who depend on the old broken behavior: `$host'
1860 # used to hold the argument of --host etc.
1861 # FIXME: To remove some day.
1862 build=$build_alias
1863 host=$host_alias
1864 target=$target_alias
1865
1866 # FIXME: To remove some day.
1867 if test "x$host_alias" != x; then
1868 if test "x$build_alias" = x; then
1869 cross_compiling=maybe
1870 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1871 If a cross compiler is detected then cross compile mode will be used" >&2
1872 elif test "x$build_alias" != "x$host_alias"; then
1873 cross_compiling=yes
1874 fi
1875 fi
1876
1877 ac_tool_prefix=
1878 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1879
1880 test "$silent" = yes && exec 6>/dev/null
1881
1882
1883 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1884 ac_ls_di=`ls -di .` &&
1885 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1886 as_fn_error $? "working directory cannot be determined"
1887 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1888 as_fn_error $? "pwd does not report name of working directory"
1889
1890
1891 # Find the source files, if location was not specified.
1892 if test -z "$srcdir"; then
1893 ac_srcdir_defaulted=yes
1894 # Try the directory containing this script, then the parent directory.
1895 ac_confdir=`$as_dirname -- "$as_myself" ||
1896 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1897 X"$as_myself" : 'X\(//\)[^/]' \| \
1898 X"$as_myself" : 'X\(//\)$' \| \
1899 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1900 $as_echo X"$as_myself" |
1901 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1902 s//\1/
1903 q
1904 }
1905 /^X\(\/\/\)[^/].*/{
1906 s//\1/
1907 q
1908 }
1909 /^X\(\/\/\)$/{
1910 s//\1/
1911 q
1912 }
1913 /^X\(\/\).*/{
1914 s//\1/
1915 q
1916 }
1917 s/.*/./; q'`
1918 srcdir=$ac_confdir
1919 if test ! -r "$srcdir/$ac_unique_file"; then
1920 srcdir=..
1921 fi
1922 else
1923 ac_srcdir_defaulted=no
1924 fi
1925 if test ! -r "$srcdir/$ac_unique_file"; then
1926 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1927 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1928 fi
1929 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1930 ac_abs_confdir=`(
1931 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1932 pwd)`
1933 # When building in place, set srcdir=.
1934 if test "$ac_abs_confdir" = "$ac_pwd"; then
1935 srcdir=.
1936 fi
1937 # Remove unnecessary trailing slashes from srcdir.
1938 # Double slashes in file names in object file debugging info
1939 # mess up M-x gdb in Emacs.
1940 case $srcdir in
1941 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1942 esac
1943 for ac_var in $ac_precious_vars; do
1944 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1945 eval ac_env_${ac_var}_value=\$${ac_var}
1946 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1947 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1948 done
1949
1950 #
1951 # Report the --help message.
1952 #
1953 if test "$ac_init_help" = "long"; then
1954 # Omit some internal or obsolete options to make the list less imposing.
1955 # This message is too long to be a string in the A/UX 3.1 sh.
1956 cat <<_ACEOF
1957 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1958
1959 Usage: $0 [OPTION]... [VAR=VALUE]...
1960
1961 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1962 VAR=VALUE. See below for descriptions of some of the useful variables.
1963
1964 Defaults for the options are specified in brackets.
1965
1966 Configuration:
1967 -h, --help display this help and exit
1968 --help=short display options specific to this package
1969 --help=recursive display the short help of all the included packages
1970 -V, --version display version information and exit
1971 -q, --quiet, --silent do not print \`checking ...' messages
1972 --cache-file=FILE cache test results in FILE [disabled]
1973 -C, --config-cache alias for \`--cache-file=config.cache'
1974 -n, --no-create do not create output files
1975 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1976
1977 Installation directories:
1978 --prefix=PREFIX install architecture-independent files in PREFIX
1979 [$ac_default_prefix]
1980 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1981 [PREFIX]
1982
1983 By default, \`make install' will install all the files in
1984 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1985 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1986 for instance \`--prefix=\$HOME'.
1987
1988 For better control, use the options below.
1989
1990 Fine tuning of the installation directories:
1991 --bindir=DIR user executables [EPREFIX/bin]
1992 --sbindir=DIR system admin executables [EPREFIX/sbin]
1993 --libexecdir=DIR program executables [EPREFIX/libexec]
1994 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1995 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1996 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1997 --libdir=DIR object code libraries [EPREFIX/lib]
1998 --includedir=DIR C header files [PREFIX/include]
1999 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2000 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2001 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2002 --infodir=DIR info documentation [DATAROOTDIR/info]
2003 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2004 --mandir=DIR man documentation [DATAROOTDIR/man]
2005 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2006 --htmldir=DIR html documentation [DOCDIR]
2007 --dvidir=DIR dvi documentation [DOCDIR]
2008 --pdfdir=DIR pdf documentation [DOCDIR]
2009 --psdir=DIR ps documentation [DOCDIR]
2010 _ACEOF
2011
2012 cat <<\_ACEOF
2013
2014 X features:
2015 --x-includes=DIR X include files are in DIR
2016 --x-libraries=DIR X library files are in DIR
2017
2018 System types:
2019 --build=BUILD configure for building on BUILD [guessed]
2020 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2021 _ACEOF
2022 fi
2023
2024 if test -n "$ac_init_help"; then
2025 case $ac_init_help in
2026 short | recursive ) echo "Configuration of wxWidgets 2.9.5:";;
2027 esac
2028 cat <<\_ACEOF
2029
2030 Optional Features:
2031 --disable-option-checking ignore unrecognized --enable/--with options
2032 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2033 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2034 --disable-gui don't build GUI parts of the library
2035 --enable-monolithic build wxWidgets as single library
2036 --enable-plugins build parts of wxWidgets as loadable components
2037 --enable-official_build official build of wxWidgets (win32 DLL only)
2038 --enable-vendor=VENDOR vendor name (win32 DLL only)
2039 --disable-all-features disable all optional features to build minimal library
2040 --enable-universal use wxWidgets GUI controls instead of native ones
2041 --enable-nanox use NanoX
2042 --enable-gpe use GNOME PDA Environment features if possible
2043 --enable-debug build library for debugging
2044 --disable-debug_flag disable all debugging support
2045 --enable-debug_info generate debug information
2046 --enable-debug_gdb create code with extra GDB debugging information
2047 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2048 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2049 --disable-shared create static library instead of shared
2050 --enable-stl use standard C++ classes for everything
2051 --enable-std_containers use standard C++ container classes
2052 --enable-std_iostreams use standard C++ stream classes
2053 --enable-std_string use standard C++ string classes
2054 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2055 --disable-unicode compile without Unicode support
2056 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2057 --enable-utf8 use UTF-8 representation for strings (Unix only)
2058 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2059 --enable-extended_rtti use extended RTTI (XTI)
2060 --enable-omf use OMF object format
2061 --disable-optimise compile without optimisations
2062 --enable-profile create code with profiling information
2063 --enable-no_rtti create code without RTTI information
2064 --enable-no_exceptions create code without C++ exceptions handling
2065 --enable-permissive compile code disregarding strict ANSI
2066 --enable-no_deps create code without dependency information
2067 --disable-vararg_macros don't use vararg macros, even if they are supported
2068 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2069 --enable-macosx_arch=ARCH build for just the specified architecture
2070 --enable-compat26 enable wxWidgets 2.6 compatibility
2071 --disable-compat28 disable wxWidgets 2.8 compatibility
2072 --disable-rpath disable use of rpath for uninstalled builds
2073 --enable-objc_uniquifying enable Objective-C class name uniquifying
2074 --disable-visibility disable use of ELF symbols visibility even if supported
2075 --disable-tls disable use of compiler TLS support
2076 --enable-intl use internationalization system
2077 --enable-xlocale use x-locale support (requires wxLocale)
2078 --enable-config use wxConfig (and derived) classes
2079 --enable-protocols use wxProtocol and derived classes
2080 --enable-ftp use wxFTP (requires wxProtocol
2081 --enable-http use wxHTTP (requires wxProtocol
2082 --enable-fileproto use wxFileProto class (requires wxProtocol
2083 --enable-sockets use socket/network classes
2084 --enable-ipv6 enable IPv6 support in wxSocket
2085 --enable-ole use OLE classes (Win32 only)
2086 --enable-dataobj use data object classes
2087 --enable-ipc use interprocess communication (wxSocket etc.)
2088 --enable-baseevtloop use event loop in console programs too
2089 --enable-epollloop use wxEpollDispatcher class (Linux only)
2090 --enable-selectloop use wxSelectDispatcher class
2091 --enable-any use wxAny class
2092 --enable-apple_ieee use the Apple IEEE codec
2093 --enable-arcstream use wxArchive streams
2094 --enable-base64 use base64 encoding/decoding functions
2095 --enable-backtrace use wxStackWalker class for getting backtraces
2096 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2097 --enable-cmdline use wxCmdLineParser class
2098 --enable-datetime use wxDateTime class
2099 --enable-debugreport use wxDebugReport class
2100 --enable-dialupman use dialup network classes
2101 --enable-dynlib use wxLibrary class for DLL loading
2102 --enable-dynamicloader use (new) wxDynamicLibrary class
2103 --enable-exceptions build exception-safe library
2104 --enable-ffile use wxFFile class
2105 --enable-file use wxFile class
2106 --enable-filehistory use wxFileHistory class
2107 --enable-filesystem use virtual file systems classes
2108 --enable-fontenum use wxFontEnumerator class
2109 --enable-fontmap use font encodings conversion classes
2110 --enable-fs_archive use virtual archive filesystems
2111 --enable-fs_inet use virtual HTTP/FTP filesystems
2112 --enable-fs_zip now replaced by fs_archive
2113 --enable-fswatcher use wxFileSystemWatcher class
2114 --enable-geometry use geometry class
2115 --enable-log use logging system
2116 --enable-longlong use wxLongLong class
2117 --enable-mimetype use wxMimeTypesManager
2118 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2119 --enable-snglinst use wxSingleInstanceChecker class
2120 --enable-sound use wxSound class
2121 --enable-stdpaths use wxStandardPaths class
2122 --enable-stopwatch use wxStopWatch class
2123 --enable-streams use wxStream etc classes
2124 --enable-sysoptions use wxSystemOptions
2125 --enable-tarstream use wxTar streams
2126 --enable-textbuf use wxTextBuffer class
2127 --enable-textfile use wxTextFile class
2128 --enable-timer use wxTimer class
2129 --enable-variant use wxVariant class
2130 --enable-zipstream use wxZip streams
2131 --enable-url use wxURL class
2132 --enable-protocol use wxProtocol class
2133 --enable-protocol-http HTTP support in wxProtocol
2134 --enable-protocol-ftp FTP support in wxProtocol
2135 --enable-protocol-file FILE support in wxProtocol
2136 --enable-threads use threads
2137 --enable-iniconf use wxIniConfig (Win32 only)
2138 --enable-regkey use wxRegKey class (Win32 only)
2139 --enable-docview use document view architecture
2140 --enable-help use help subsystem
2141 --enable-mshtmlhelp use MS HTML Help (win32)
2142 --enable-html use wxHTML sub-library
2143 --enable-htmlhelp use wxHTML-based help
2144 --enable-xrc use XRC resources sub-library
2145 --enable-aui use AUI docking library
2146 --enable-propgrid use wxPropertyGrid library
2147 --enable-ribbon use wxRibbon library
2148 --enable-stc use wxStyledTextCtrl library
2149 --enable-constraints use layout-constraints system
2150 --enable-loggui use standard GUI logger
2151 --enable-logwin use wxLogWindow
2152 --enable-logdialog use wxLogDialog
2153 --enable-mdi use multiple document interface architecture
2154 --enable-mdidoc use docview architecture with MDI
2155 --enable-mediactrl use wxMediaCtrl class
2156 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2157 --enable-richtext use wxRichTextCtrl
2158 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2159 --enable-printarch use printing architecture
2160 --enable-svg use wxSVGFileDC device context
2161 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2162 --enable-webview use wxWebView library
2163 --enable-graphics_ctx use graphics context 2D drawing API
2164 --enable-clipboard use wxClipboard class
2165 --enable-dnd use Drag'n'Drop classes
2166 --disable-controls disable compilation of all standard controls
2167 --enable-markup support wxControl::SetLabelMarkup
2168 --enable-accel use accelerators
2169 --enable-animatectrl use wxAnimationCtrl class
2170 --enable-bannerwindow use wxBannerWindow class
2171 --enable-artstd use standard XPM icons in wxArtProvider
2172 --enable-arttango use Tango icons in wxArtProvider
2173 --enable-bmpbutton use wxBitmapButton class
2174 --enable-bmpcombobox use wxBitmapComboBox class
2175 --enable-button use wxButton class
2176 --enable-calendar use wxCalendarCtrl class
2177 --enable-caret use wxCaret class
2178 --enable-checkbox use wxCheckBox class
2179 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2180 --enable-choice use wxChoice class
2181 --enable-choicebook use wxChoicebook class
2182 --enable-collpane use wxCollapsiblePane class
2183 --enable-colourpicker use wxColourPickerCtrl class
2184 --enable-combobox use wxComboBox class
2185 --enable-comboctrl use wxComboCtrl class
2186 --enable-commandlinkbutton use wxCommmandLinkButton class
2187 --enable-dataviewctrl use wxDataViewCtrl class
2188 --enable-datepick use wxDatePickerCtrl class
2189 --enable-detect_sm use code to detect X11 session manager
2190 --enable-dirpicker use wxDirPickerCtrl class
2191 --enable-display use wxDisplay class
2192 --enable-editablebox use wxEditableListBox class
2193 --enable-filectrl use wxFileCtrl class
2194 --enable-filepicker use wxFilePickerCtrl class
2195 --enable-fontpicker use wxFontPickerCtrl class
2196 --enable-gauge use wxGauge class
2197 --enable-grid use wxGrid class
2198 --enable-headerctrl use wxHeaderCtrl class
2199 --enable-hyperlink use wxHyperlinkCtrl class
2200 --enable-imaglist use wxImageList class
2201 --enable-infobar use wxInfoBar class
2202 --enable-listbook use wxListbook class
2203 --enable-listbox use wxListBox class
2204 --enable-listctrl use wxListCtrl class
2205 --enable-notebook use wxNotebook class
2206 --enable-notifmsg use wxNotificationMessage class
2207 --enable-odcombobox use wxOwnerDrawnComboBox class
2208 --enable-popupwin use wxPopUpWindow class
2209 --enable-radiobox use wxRadioBox class
2210 --enable-radiobtn use wxRadioButton class
2211 --enable-richmsgdlg use wxRichMessageDialog class
2212 --enable-richtooltip use wxRichToolTip class
2213 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2214 --enable-sash use wxSashWindow class
2215 --enable-scrollbar use wxScrollBar class and scrollable windows
2216 --enable-searchctrl use wxSearchCtrl class
2217 --enable-slider use wxSlider class
2218 --enable-spinbtn use wxSpinButton class
2219 --enable-spinctrl use wxSpinCtrl class
2220 --enable-splitter use wxSplitterWindow class
2221 --enable-statbmp use wxStaticBitmap class
2222 --enable-statbox use wxStaticBox class
2223 --enable-statline use wxStaticLine class
2224 --enable-stattext use wxStaticText class
2225 --enable-statusbar use wxStatusBar class
2226 --enable-taskbaricon use wxTaskBarIcon class
2227 --enable-tbarnative use native wxToolBar class
2228 --enable-textctrl use wxTextCtrl class
2229 --enable-timepick use wxTimePickerCtrl class
2230 --enable-tipwindow use wxTipWindow class
2231 --enable-togglebtn use wxToggleButton class
2232 --enable-toolbar use wxToolBar class
2233 --enable-toolbook use wxToolbook class
2234 --enable-treebook use wxTreebook class
2235 --enable-treectrl use wxTreeCtrl class
2236 --enable-treelist use wxTreeListCtrl class
2237 --enable-commondlg use all common dialogs
2238 --enable-aboutdlg use wxAboutBox
2239 --enable-choicedlg use wxChoiceDialog
2240 --enable-coldlg use wxColourDialog
2241 --enable-filedlg use wxFileDialog
2242 --enable-finddlg use wxFindReplaceDialog
2243 --enable-fontdlg use wxFontDialog
2244 --enable-dirdlg use wxDirDialog
2245 --enable-msgdlg use wxMessageDialog
2246 --enable-numberdlg use wxNumberEntryDialog
2247 --enable-splash use wxSplashScreen
2248 --enable-textdlg use wxTextDialog
2249 --enable-tipdlg use startup tips
2250 --enable-progressdlg use wxProgressDialog
2251 --enable-wizarddlg use wxWizard
2252 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2253 --enable-miniframe use wxMiniFrame class
2254 --enable-tooltips use wxToolTip class
2255 --enable-splines use spline drawing code
2256 --enable-mousewheel use mousewheel
2257 --enable-validators use wxValidator and derived classes
2258 --enable-busyinfo use wxBusyInfo
2259 --enable-hotkey use wxWindow::RegisterHotKey()
2260 --enable-joystick use wxJoystick
2261 --enable-metafiles use wxMetaFile
2262 --enable-dragimage use wxDragImage
2263 --enable-accessibility enable accessibility support
2264 --enable-uiactionsim use wxUIActionSimulator (experimental)
2265 --enable-dctransform use wxDC::SetTransformMatrix and related
2266 --enable-webview-webkit use wxWebView WebKit backend
2267 --enable-palette use wxPalette class
2268 --enable-image use wxImage class
2269 --enable-gif use gif images (GIF file format)
2270 --enable-pcx use pcx images (PCX file format)
2271 --enable-tga use tga images (TGA file format)
2272 --enable-iff use iff images (IFF file format)
2273 --enable-pnm use pnm images (PNM file format)
2274 --enable-xpm use xpm images (XPM file format)
2275 --enable-ico_cur use Windows ICO and CUR formats
2276 --enable-dccache cache temporary wxDC objects (Win32 only)
2277 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2278 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2279 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2280 --enable-wxdib use wxDIB class (Win32 only)
2281 --enable-webview-ie use wxWebView IE backend (Win32 only)
2282 --enable-autoidman use automatic ids management
2283 --disable-largefile omit support for large files
2284 --disable-gtktest do not try to compile and run a test GTK+ program
2285 --disable-gtktest Do not try to compile and run a test GTK program
2286 --disable-sdltest Do not try to compile and run a test SDL program
2287 --enable-omf use OMF object format (OS/2)
2288 --disable-dependency-tracking
2289 don't use dependency tracking even if the compiler
2290 can
2291 --disable-precomp-headers
2292 don't use precompiled headers even if compiler can
2293
2294 Optional Packages:
2295 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2296 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2297 --without-subdirs don't generate makefiles for samples/demos/...
2298 --with-flavour=NAME specify a name to identify this build
2299 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2300 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2301 --with-motif use Motif/Lesstif
2302 --with-osx_carbon use Mac OS X (Carbon)
2303 --with-osx_cocoa use Mac OS X (Cocoa)
2304 --with-osx_iphone use iPhone OS X port
2305 --with-osx use Mac OS X (default port, currently Carbon)
2306 --with-carbon same as --with-osx_carbon
2307 --with-cocoa same as --with-osx_cocoa
2308 --with-iphone same as --with-osx_iphone
2309 --with-mac same as --with-osx
2310 --with-old_cocoa use old, deprecated, Cocoa port
2311 --with-wine use Wine
2312 --with-msw use MS-Windows
2313 --with-pm use OS/2 Presentation Manager
2314 --with-directfb use DirectFB
2315 --with-microwin use MicroWindows
2316 --with-x11 use X11
2317 --with-libpng use libpng (PNG image format)
2318 --with-libjpeg use libjpeg (JPEG file format)
2319 --with-libtiff use libtiff (TIFF file format)
2320 --with-libxpm use libxpm (XPM file format)
2321 --with-libiconv use libiconv (character conversion)
2322 --with-libmspack use libmspack (CHM help files loading)
2323 --without-gtkprint don't use GTK printing support
2324 --without-gnomeprint don't use GNOME printing libraries
2325 --with-gnomevfs use GNOME VFS for associating MIME types
2326 --with-hildon use Hildon framework for Nokia 770/800/810
2327 --with-opengl use OpenGL (or Mesa)
2328 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2329 --with-sdl use SDL for audio on Unix
2330 --with-regex enable support for wxRegEx class
2331 --with-zlib use zlib for LZW compression
2332 --with-expat enable XML support using expat parser
2333 --with-macosx-sdk=PATH use an OS X SDK at PATH
2334 --with-macosx-version-min=VER build binaries which require at least this OS X version
2335 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2336 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2337 --with-x use the X Window System
2338 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2339 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2340 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2341 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2342 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2343
2344 Some influential environment variables:
2345 CC C compiler command
2346 CFLAGS C compiler flags
2347 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2348 nonstandard directory <lib dir>
2349 LIBS libraries to pass to the linker, e.g. -l<library>
2350 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2351 you have headers in a nonstandard directory <include dir>
2352 CPP C preprocessor
2353 CXX C++ compiler command
2354 CXXFLAGS C++ compiler flags
2355 CXXCPP C++ preprocessor
2356 PKG_CONFIG path to pkg-config utility
2357 DIRECTFB_CFLAGS
2358 C compiler flags for DIRECTFB, overriding pkg-config
2359 DIRECTFB_LIBS
2360 linker flags for DIRECTFB, overriding pkg-config
2361 XMKMF Path to xmkmf, Makefile generator for X Window System
2362 PANGOX_CFLAGS
2363 C compiler flags for PANGOX, overriding pkg-config
2364 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2365 PANGOFT2_CFLAGS
2366 C compiler flags for PANGOFT2, overriding pkg-config
2367 PANGOFT2_LIBS
2368 linker flags for PANGOFT2, overriding pkg-config
2369 PANGOXFT_CFLAGS
2370 C compiler flags for PANGOXFT, overriding pkg-config
2371 PANGOXFT_LIBS
2372 linker flags for PANGOXFT, overriding pkg-config
2373 Xinerama_CFLAGS
2374 C compiler flags for Xinerama, overriding pkg-config
2375 Xinerama_LIBS
2376 linker flags for Xinerama, overriding pkg-config
2377 Xxf86vm_CFLAGS
2378 C compiler flags for Xxf86vm, overriding pkg-config
2379 Xxf86vm_LIBS
2380 linker flags for Xxf86vm, overriding pkg-config
2381 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2382 SM_LIBS linker flags for SM, overriding pkg-config
2383 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2384 GL_LIBS linker flags for GL, overriding pkg-config
2385 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2386 GLU_LIBS linker flags for GLU, overriding pkg-config
2387 MesaGL_CFLAGS
2388 C compiler flags for MesaGL, overriding pkg-config
2389 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2390 GTKPRINT_CFLAGS
2391 C compiler flags for GTKPRINT, overriding pkg-config
2392 GTKPRINT_LIBS
2393 linker flags for GTKPRINT, overriding pkg-config
2394 LIBGNOMEPRINTUI_CFLAGS
2395 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2396 LIBGNOMEPRINTUI_LIBS
2397 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2398 GNOMEVFS_CFLAGS
2399 C compiler flags for GNOMEVFS, overriding pkg-config
2400 GNOMEVFS_LIBS
2401 linker flags for GNOMEVFS, overriding pkg-config
2402 HILDON_CFLAGS
2403 C compiler flags for HILDON, overriding pkg-config
2404 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2405 HILDON2_CFLAGS
2406 C compiler flags for HILDON2, overriding pkg-config
2407 HILDON2_LIBS
2408 linker flags for HILDON2, overriding pkg-config
2409 WEBKIT_CFLAGS
2410 C compiler flags for WEBKIT, overriding pkg-config
2411 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2412 CAIRO_CFLAGS
2413 C compiler flags for CAIRO, overriding pkg-config
2414 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2415 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2416 GST_LIBS linker flags for GST, overriding pkg-config
2417
2418 Use these variables to override the choices made by `configure' or to help
2419 it to find libraries and programs with nonstandard names/locations.
2420
2421 Report bugs to <wx-dev@lists.wxwidgets.org>.
2422 _ACEOF
2423 ac_status=$?
2424 fi
2425
2426 if test "$ac_init_help" = "recursive"; then
2427 # If there are subdirs, report their specific --help.
2428 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2429 test -d "$ac_dir" ||
2430 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2431 continue
2432 ac_builddir=.
2433
2434 case "$ac_dir" in
2435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2436 *)
2437 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2438 # A ".." for each directory in $ac_dir_suffix.
2439 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2440 case $ac_top_builddir_sub in
2441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2443 esac ;;
2444 esac
2445 ac_abs_top_builddir=$ac_pwd
2446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2447 # for backward compatibility:
2448 ac_top_builddir=$ac_top_build_prefix
2449
2450 case $srcdir in
2451 .) # We are building in place.
2452 ac_srcdir=.
2453 ac_top_srcdir=$ac_top_builddir_sub
2454 ac_abs_top_srcdir=$ac_pwd ;;
2455 [\\/]* | ?:[\\/]* ) # Absolute name.
2456 ac_srcdir=$srcdir$ac_dir_suffix;
2457 ac_top_srcdir=$srcdir
2458 ac_abs_top_srcdir=$srcdir ;;
2459 *) # Relative name.
2460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2461 ac_top_srcdir=$ac_top_build_prefix$srcdir
2462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2463 esac
2464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2465
2466 cd "$ac_dir" || { ac_status=$?; continue; }
2467 # Check for guested configure.
2468 if test -f "$ac_srcdir/configure.gnu"; then
2469 echo &&
2470 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2471 elif test -f "$ac_srcdir/configure"; then
2472 echo &&
2473 $SHELL "$ac_srcdir/configure" --help=recursive
2474 else
2475 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2476 fi || ac_status=$?
2477 cd "$ac_pwd" || { ac_status=$?; break; }
2478 done
2479 fi
2480
2481 test -n "$ac_init_help" && exit $ac_status
2482 if $ac_init_version; then
2483 cat <<\_ACEOF
2484 wxWidgets configure 2.9.5
2485 generated by GNU Autoconf 2.67
2486
2487 Copyright (C) 2010 Free Software Foundation, Inc.
2488 This configure script is free software; the Free Software Foundation
2489 gives unlimited permission to copy, distribute and modify it.
2490 _ACEOF
2491 exit
2492 fi
2493
2494 ## ------------------------ ##
2495 ## Autoconf initialization. ##
2496 ## ------------------------ ##
2497
2498 # ac_fn_c_try_compile LINENO
2499 # --------------------------
2500 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2501 ac_fn_c_try_compile ()
2502 {
2503 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2504 rm -f conftest.$ac_objext
2505 if { { ac_try="$ac_compile"
2506 case "(($ac_try" in
2507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2508 *) ac_try_echo=$ac_try;;
2509 esac
2510 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2511 $as_echo "$ac_try_echo"; } >&5
2512 (eval "$ac_compile") 2>conftest.err
2513 ac_status=$?
2514 if test -s conftest.err; then
2515 grep -v '^ *+' conftest.err >conftest.er1
2516 cat conftest.er1 >&5
2517 mv -f conftest.er1 conftest.err
2518 fi
2519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2520 test $ac_status = 0; } && {
2521 test -z "$ac_c_werror_flag" ||
2522 test ! -s conftest.err
2523 } && test -s conftest.$ac_objext; then :
2524 ac_retval=0
2525 else
2526 $as_echo "$as_me: failed program was:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2528
2529 ac_retval=1
2530 fi
2531 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2532 as_fn_set_status $ac_retval
2533
2534 } # ac_fn_c_try_compile
2535
2536 # ac_fn_c_try_cpp LINENO
2537 # ----------------------
2538 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2539 ac_fn_c_try_cpp ()
2540 {
2541 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2542 if { { ac_try="$ac_cpp conftest.$ac_ext"
2543 case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2546 esac
2547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2548 $as_echo "$ac_try_echo"; } >&5
2549 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2550 ac_status=$?
2551 if test -s conftest.err; then
2552 grep -v '^ *+' conftest.err >conftest.er1
2553 cat conftest.er1 >&5
2554 mv -f conftest.er1 conftest.err
2555 fi
2556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2557 test $ac_status = 0; } > conftest.i && {
2558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2559 test ! -s conftest.err
2560 }; then :
2561 ac_retval=0
2562 else
2563 $as_echo "$as_me: failed program was:" >&5
2564 sed 's/^/| /' conftest.$ac_ext >&5
2565
2566 ac_retval=1
2567 fi
2568 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2569 as_fn_set_status $ac_retval
2570
2571 } # ac_fn_c_try_cpp
2572
2573 # ac_fn_cxx_try_compile LINENO
2574 # ----------------------------
2575 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2576 ac_fn_cxx_try_compile ()
2577 {
2578 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579 rm -f conftest.$ac_objext
2580 if { { ac_try="$ac_compile"
2581 case "(($ac_try" in
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2584 esac
2585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2586 $as_echo "$ac_try_echo"; } >&5
2587 (eval "$ac_compile") 2>conftest.err
2588 ac_status=$?
2589 if test -s conftest.err; then
2590 grep -v '^ *+' conftest.err >conftest.er1
2591 cat conftest.er1 >&5
2592 mv -f conftest.er1 conftest.err
2593 fi
2594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2595 test $ac_status = 0; } && {
2596 test -z "$ac_cxx_werror_flag" ||
2597 test ! -s conftest.err
2598 } && test -s conftest.$ac_objext; then :
2599 ac_retval=0
2600 else
2601 $as_echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2603
2604 ac_retval=1
2605 fi
2606 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2607 as_fn_set_status $ac_retval
2608
2609 } # ac_fn_cxx_try_compile
2610
2611 # ac_fn_c_try_link LINENO
2612 # -----------------------
2613 # Try to link conftest.$ac_ext, and return whether this succeeded.
2614 ac_fn_c_try_link ()
2615 {
2616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2617 rm -f conftest.$ac_objext conftest$ac_exeext
2618 if { { ac_try="$ac_link"
2619 case "(($ac_try" in
2620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621 *) ac_try_echo=$ac_try;;
2622 esac
2623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2624 $as_echo "$ac_try_echo"; } >&5
2625 (eval "$ac_link") 2>conftest.err
2626 ac_status=$?
2627 if test -s conftest.err; then
2628 grep -v '^ *+' conftest.err >conftest.er1
2629 cat conftest.er1 >&5
2630 mv -f conftest.er1 conftest.err
2631 fi
2632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2633 test $ac_status = 0; } && {
2634 test -z "$ac_c_werror_flag" ||
2635 test ! -s conftest.err
2636 } && test -s conftest$ac_exeext && {
2637 test "$cross_compiling" = yes ||
2638 $as_test_x conftest$ac_exeext
2639 }; then :
2640 ac_retval=0
2641 else
2642 $as_echo "$as_me: failed program was:" >&5
2643 sed 's/^/| /' conftest.$ac_ext >&5
2644
2645 ac_retval=1
2646 fi
2647 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2648 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2649 # interfere with the next link command; also delete a directory that is
2650 # left behind by Apple's compiler. We do this before executing the actions.
2651 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2652 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2653 as_fn_set_status $ac_retval
2654
2655 } # ac_fn_c_try_link
2656
2657 # ac_fn_cxx_try_link LINENO
2658 # -------------------------
2659 # Try to link conftest.$ac_ext, and return whether this succeeded.
2660 ac_fn_cxx_try_link ()
2661 {
2662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2663 rm -f conftest.$ac_objext conftest$ac_exeext
2664 if { { ac_try="$ac_link"
2665 case "(($ac_try" in
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2668 esac
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_link") 2>conftest.err
2672 ac_status=$?
2673 if test -s conftest.err; then
2674 grep -v '^ *+' conftest.err >conftest.er1
2675 cat conftest.er1 >&5
2676 mv -f conftest.er1 conftest.err
2677 fi
2678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2679 test $ac_status = 0; } && {
2680 test -z "$ac_cxx_werror_flag" ||
2681 test ! -s conftest.err
2682 } && test -s conftest$ac_exeext && {
2683 test "$cross_compiling" = yes ||
2684 $as_test_x conftest$ac_exeext
2685 }; then :
2686 ac_retval=0
2687 else
2688 $as_echo "$as_me: failed program was:" >&5
2689 sed 's/^/| /' conftest.$ac_ext >&5
2690
2691 ac_retval=1
2692 fi
2693 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2694 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2695 # interfere with the next link command; also delete a directory that is
2696 # left behind by Apple's compiler. We do this before executing the actions.
2697 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2698 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2699 as_fn_set_status $ac_retval
2700
2701 } # ac_fn_cxx_try_link
2702
2703 # ac_fn_c_try_run LINENO
2704 # ----------------------
2705 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2706 # that executables *can* be run.
2707 ac_fn_c_try_run ()
2708 {
2709 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2710 if { { ac_try="$ac_link"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2716 $as_echo "$ac_try_echo"; } >&5
2717 (eval "$ac_link") 2>&5
2718 ac_status=$?
2719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2720 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2721 { { case "(($ac_try" in
2722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2723 *) ac_try_echo=$ac_try;;
2724 esac
2725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2726 $as_echo "$ac_try_echo"; } >&5
2727 (eval "$ac_try") 2>&5
2728 ac_status=$?
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; }; }; then :
2731 ac_retval=0
2732 else
2733 $as_echo "$as_me: program exited with status $ac_status" >&5
2734 $as_echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2736
2737 ac_retval=$ac_status
2738 fi
2739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2741 as_fn_set_status $ac_retval
2742
2743 } # ac_fn_c_try_run
2744
2745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2746 # -------------------------------------------------------
2747 # Tests whether HEADER exists and can be compiled using the include files in
2748 # INCLUDES, setting the cache variable VAR accordingly.
2749 ac_fn_c_check_header_compile ()
2750 {
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2753 $as_echo_n "checking for $2... " >&6; }
2754 if eval "test \"\${$3+set}\"" = set; then :
2755 $as_echo_n "(cached) " >&6
2756 else
2757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2758 /* end confdefs.h. */
2759 $4
2760 #include <$2>
2761 _ACEOF
2762 if ac_fn_c_try_compile "$LINENO"; then :
2763 eval "$3=yes"
2764 else
2765 eval "$3=no"
2766 fi
2767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2768 fi
2769 eval ac_res=\$$3
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2771 $as_echo "$ac_res" >&6; }
2772 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2773
2774 } # ac_fn_c_check_header_compile
2775
2776 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2777 # --------------------------------------------
2778 # Tries to find the compile-time value of EXPR in a program that includes
2779 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2780 # computed
2781 ac_fn_c_compute_int ()
2782 {
2783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2784 if test "$cross_compiling" = yes; then
2785 # Depending upon the size, compute the lo and hi bounds.
2786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2787 /* end confdefs.h. */
2788 $4
2789 int
2790 main ()
2791 {
2792 static int test_array [1 - 2 * !(($2) >= 0)];
2793 test_array [0] = 0
2794
2795 ;
2796 return 0;
2797 }
2798 _ACEOF
2799 if ac_fn_c_try_compile "$LINENO"; then :
2800 ac_lo=0 ac_mid=0
2801 while :; do
2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2803 /* end confdefs.h. */
2804 $4
2805 int
2806 main ()
2807 {
2808 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2809 test_array [0] = 0
2810
2811 ;
2812 return 0;
2813 }
2814 _ACEOF
2815 if ac_fn_c_try_compile "$LINENO"; then :
2816 ac_hi=$ac_mid; break
2817 else
2818 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2819 if test $ac_lo -le $ac_mid; then
2820 ac_lo= ac_hi=
2821 break
2822 fi
2823 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2824 fi
2825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2826 done
2827 else
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2830 $4
2831 int
2832 main ()
2833 {
2834 static int test_array [1 - 2 * !(($2) < 0)];
2835 test_array [0] = 0
2836
2837 ;
2838 return 0;
2839 }
2840 _ACEOF
2841 if ac_fn_c_try_compile "$LINENO"; then :
2842 ac_hi=-1 ac_mid=-1
2843 while :; do
2844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2845 /* end confdefs.h. */
2846 $4
2847 int
2848 main ()
2849 {
2850 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2851 test_array [0] = 0
2852
2853 ;
2854 return 0;
2855 }
2856 _ACEOF
2857 if ac_fn_c_try_compile "$LINENO"; then :
2858 ac_lo=$ac_mid; break
2859 else
2860 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2861 if test $ac_mid -le $ac_hi; then
2862 ac_lo= ac_hi=
2863 break
2864 fi
2865 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2866 fi
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 done
2869 else
2870 ac_lo= ac_hi=
2871 fi
2872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2873 fi
2874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2875 # Binary search between lo and hi bounds.
2876 while test "x$ac_lo" != "x$ac_hi"; do
2877 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2880 $4
2881 int
2882 main ()
2883 {
2884 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2885 test_array [0] = 0
2886
2887 ;
2888 return 0;
2889 }
2890 _ACEOF
2891 if ac_fn_c_try_compile "$LINENO"; then :
2892 ac_hi=$ac_mid
2893 else
2894 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2895 fi
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2897 done
2898 case $ac_lo in #((
2899 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2900 '') ac_retval=1 ;;
2901 esac
2902 else
2903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2904 /* end confdefs.h. */
2905 $4
2906 static long int longval () { return $2; }
2907 static unsigned long int ulongval () { return $2; }
2908 #include <stdio.h>
2909 #include <stdlib.h>
2910 int
2911 main ()
2912 {
2913
2914 FILE *f = fopen ("conftest.val", "w");
2915 if (! f)
2916 return 1;
2917 if (($2) < 0)
2918 {
2919 long int i = longval ();
2920 if (i != ($2))
2921 return 1;
2922 fprintf (f, "%ld", i);
2923 }
2924 else
2925 {
2926 unsigned long int i = ulongval ();
2927 if (i != ($2))
2928 return 1;
2929 fprintf (f, "%lu", i);
2930 }
2931 /* Do not output a trailing newline, as this causes \r\n confusion
2932 on some platforms. */
2933 return ferror (f) || fclose (f) != 0;
2934
2935 ;
2936 return 0;
2937 }
2938 _ACEOF
2939 if ac_fn_c_try_run "$LINENO"; then :
2940 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2941 else
2942 ac_retval=1
2943 fi
2944 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2945 conftest.$ac_objext conftest.beam conftest.$ac_ext
2946 rm -f conftest.val
2947
2948 fi
2949 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2950 as_fn_set_status $ac_retval
2951
2952 } # ac_fn_c_compute_int
2953
2954 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2955 # ---------------------------------------------------------
2956 # Tests whether HEADER exists and can be compiled using the include files in
2957 # INCLUDES, setting the cache variable VAR accordingly.
2958 ac_fn_cxx_check_header_compile ()
2959 {
2960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2962 $as_echo_n "checking for $2... " >&6; }
2963 if eval "test \"\${$3+set}\"" = set; then :
2964 $as_echo_n "(cached) " >&6
2965 else
2966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2967 /* end confdefs.h. */
2968 $4
2969 #include <$2>
2970 _ACEOF
2971 if ac_fn_cxx_try_compile "$LINENO"; then :
2972 eval "$3=yes"
2973 else
2974 eval "$3=no"
2975 fi
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 fi
2978 eval ac_res=\$$3
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2980 $as_echo "$ac_res" >&6; }
2981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2982
2983 } # ac_fn_cxx_check_header_compile
2984
2985 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2986 # ---------------------------------------------
2987 # Tests whether TYPE exists after having included INCLUDES, setting cache
2988 # variable VAR accordingly.
2989 ac_fn_cxx_check_type ()
2990 {
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2993 $as_echo_n "checking for $2... " >&6; }
2994 if eval "test \"\${$3+set}\"" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 eval "$3=no"
2998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999 /* end confdefs.h. */
3000 $4
3001 int
3002 main ()
3003 {
3004 if (sizeof ($2))
3005 return 0;
3006 ;
3007 return 0;
3008 }
3009 _ACEOF
3010 if ac_fn_cxx_try_compile "$LINENO"; then :
3011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3012 /* end confdefs.h. */
3013 $4
3014 int
3015 main ()
3016 {
3017 if (sizeof (($2)))
3018 return 0;
3019 ;
3020 return 0;
3021 }
3022 _ACEOF
3023 if ac_fn_cxx_try_compile "$LINENO"; then :
3024
3025 else
3026 eval "$3=yes"
3027 fi
3028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3029 fi
3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3031 fi
3032 eval ac_res=\$$3
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3034 $as_echo "$ac_res" >&6; }
3035 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3036
3037 } # ac_fn_cxx_check_type
3038
3039 # ac_fn_cxx_try_cpp LINENO
3040 # ------------------------
3041 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3042 ac_fn_cxx_try_cpp ()
3043 {
3044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3045 if { { ac_try="$ac_cpp conftest.$ac_ext"
3046 case "(($ac_try" in
3047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048 *) ac_try_echo=$ac_try;;
3049 esac
3050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3051 $as_echo "$ac_try_echo"; } >&5
3052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3053 ac_status=$?
3054 if test -s conftest.err; then
3055 grep -v '^ *+' conftest.err >conftest.er1
3056 cat conftest.er1 >&5
3057 mv -f conftest.er1 conftest.err
3058 fi
3059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3060 test $ac_status = 0; } > conftest.i && {
3061 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3062 test ! -s conftest.err
3063 }; then :
3064 ac_retval=0
3065 else
3066 $as_echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3068
3069 ac_retval=1
3070 fi
3071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3072 as_fn_set_status $ac_retval
3073
3074 } # ac_fn_cxx_try_cpp
3075
3076 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3077 # ---------------------------------------------------------
3078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3079 # the include files in INCLUDES and setting the cache variable VAR
3080 # accordingly.
3081 ac_fn_cxx_check_header_mongrel ()
3082 {
3083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3084 if eval "test \"\${$3+set}\"" = set; then :
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3086 $as_echo_n "checking for $2... " >&6; }
3087 if eval "test \"\${$3+set}\"" = set; then :
3088 $as_echo_n "(cached) " >&6
3089 fi
3090 eval ac_res=\$$3
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3092 $as_echo "$ac_res" >&6; }
3093 else
3094 # Is the header compilable?
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3096 $as_echo_n "checking $2 usability... " >&6; }
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3099 $4
3100 #include <$2>
3101 _ACEOF
3102 if ac_fn_cxx_try_compile "$LINENO"; then :
3103 ac_header_compiler=yes
3104 else
3105 ac_header_compiler=no
3106 fi
3107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3109 $as_echo "$ac_header_compiler" >&6; }
3110
3111 # Is the header present?
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3113 $as_echo_n "checking $2 presence... " >&6; }
3114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h. */
3116 #include <$2>
3117 _ACEOF
3118 if ac_fn_cxx_try_cpp "$LINENO"; then :
3119 ac_header_preproc=yes
3120 else
3121 ac_header_preproc=no
3122 fi
3123 rm -f conftest.err conftest.i conftest.$ac_ext
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3125 $as_echo "$ac_header_preproc" >&6; }
3126
3127 # So? What about this header?
3128 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3129 yes:no: )
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3134 ;;
3135 no:yes:* )
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3146 ( $as_echo "## ----------------------------------------- ##
3147 ## Report this to wx-dev@lists.wxwidgets.org ##
3148 ## ----------------------------------------- ##"
3149 ) | sed "s/^/$as_me: WARNING: /" >&2
3150 ;;
3151 esac
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3153 $as_echo_n "checking for $2... " >&6; }
3154 if eval "test \"\${$3+set}\"" = set; then :
3155 $as_echo_n "(cached) " >&6
3156 else
3157 eval "$3=\$ac_header_compiler"
3158 fi
3159 eval ac_res=\$$3
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3161 $as_echo "$ac_res" >&6; }
3162 fi
3163 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3164
3165 } # ac_fn_cxx_check_header_mongrel
3166
3167 # ac_fn_c_check_func LINENO FUNC VAR
3168 # ----------------------------------
3169 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3170 ac_fn_c_check_func ()
3171 {
3172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3174 $as_echo_n "checking for $2... " >&6; }
3175 if eval "test \"\${$3+set}\"" = set; then :
3176 $as_echo_n "(cached) " >&6
3177 else
3178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179 /* end confdefs.h. */
3180 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3182 #define $2 innocuous_$2
3183
3184 /* System header to define __stub macros and hopefully few prototypes,
3185 which can conflict with char $2 (); below.
3186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3187 <limits.h> exists even on freestanding compilers. */
3188
3189 #ifdef __STDC__
3190 # include <limits.h>
3191 #else
3192 # include <assert.h>
3193 #endif
3194
3195 #undef $2
3196
3197 /* Override any GCC internal prototype to avoid an error.
3198 Use char because int might match the return type of a GCC
3199 builtin and then its argument prototype would still apply. */
3200 #ifdef __cplusplus
3201 extern "C"
3202 #endif
3203 char $2 ();
3204 /* The GNU C library defines this for functions which it implements
3205 to always fail with ENOSYS. Some functions are actually named
3206 something starting with __ and the normal name is an alias. */
3207 #if defined __stub_$2 || defined __stub___$2
3208 choke me
3209 #endif
3210
3211 int
3212 main ()
3213 {
3214 return $2 ();
3215 ;
3216 return 0;
3217 }
3218 _ACEOF
3219 if ac_fn_c_try_link "$LINENO"; then :
3220 eval "$3=yes"
3221 else
3222 eval "$3=no"
3223 fi
3224 rm -f core conftest.err conftest.$ac_objext \
3225 conftest$ac_exeext conftest.$ac_ext
3226 fi
3227 eval ac_res=\$$3
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3229 $as_echo "$ac_res" >&6; }
3230 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3231
3232 } # ac_fn_c_check_func
3233
3234 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3235 # -------------------------------------------
3236 # Tests whether TYPE exists after having included INCLUDES, setting cache
3237 # variable VAR accordingly.
3238 ac_fn_c_check_type ()
3239 {
3240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3242 $as_echo_n "checking for $2... " >&6; }
3243 if eval "test \"\${$3+set}\"" = set; then :
3244 $as_echo_n "(cached) " >&6
3245 else
3246 eval "$3=no"
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3249 $4
3250 int
3251 main ()
3252 {
3253 if (sizeof ($2))
3254 return 0;
3255 ;
3256 return 0;
3257 }
3258 _ACEOF
3259 if ac_fn_c_try_compile "$LINENO"; then :
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3262 $4
3263 int
3264 main ()
3265 {
3266 if (sizeof (($2)))
3267 return 0;
3268 ;
3269 return 0;
3270 }
3271 _ACEOF
3272 if ac_fn_c_try_compile "$LINENO"; then :
3273
3274 else
3275 eval "$3=yes"
3276 fi
3277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3278 fi
3279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 fi
3281 eval ac_res=\$$3
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3283 $as_echo "$ac_res" >&6; }
3284 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3285
3286 } # ac_fn_c_check_type
3287
3288 # ac_fn_cxx_try_run LINENO
3289 # ------------------------
3290 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3291 # that executables *can* be run.
3292 ac_fn_cxx_try_run ()
3293 {
3294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3295 if { { ac_try="$ac_link"
3296 case "(($ac_try" in
3297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3298 *) ac_try_echo=$ac_try;;
3299 esac
3300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link") 2>&5
3303 ac_status=$?
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3306 { { case "(($ac_try" in
3307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308 *) ac_try_echo=$ac_try;;
3309 esac
3310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311 $as_echo "$ac_try_echo"; } >&5
3312 (eval "$ac_try") 2>&5
3313 ac_status=$?
3314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315 test $ac_status = 0; }; }; then :
3316 ac_retval=0
3317 else
3318 $as_echo "$as_me: program exited with status $ac_status" >&5
3319 $as_echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3321
3322 ac_retval=$ac_status
3323 fi
3324 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3325 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3326 as_fn_set_status $ac_retval
3327
3328 } # ac_fn_cxx_try_run
3329 cat >config.log <<_ACEOF
3330 This file contains any messages produced by compilers while
3331 running configure, to aid debugging if configure makes a mistake.
3332
3333 It was created by wxWidgets $as_me 2.9.5, which was
3334 generated by GNU Autoconf 2.67. Invocation command line was
3335
3336 $ $0 $@
3337
3338 _ACEOF
3339 exec 5>>config.log
3340 {
3341 cat <<_ASUNAME
3342 ## --------- ##
3343 ## Platform. ##
3344 ## --------- ##
3345
3346 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3347 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3348 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3349 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3350 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3351
3352 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3353 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3354
3355 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3356 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3357 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3358 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3359 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3360 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3361 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3362
3363 _ASUNAME
3364
3365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 for as_dir in $PATH
3367 do
3368 IFS=$as_save_IFS
3369 test -z "$as_dir" && as_dir=.
3370 $as_echo "PATH: $as_dir"
3371 done
3372 IFS=$as_save_IFS
3373
3374 } >&5
3375
3376 cat >&5 <<_ACEOF
3377
3378
3379 ## ----------- ##
3380 ## Core tests. ##
3381 ## ----------- ##
3382
3383 _ACEOF
3384
3385
3386 # Keep a trace of the command line.
3387 # Strip out --no-create and --no-recursion so they do not pile up.
3388 # Strip out --silent because we don't want to record it for future runs.
3389 # Also quote any args containing shell meta-characters.
3390 # Make two passes to allow for proper duplicate-argument suppression.
3391 ac_configure_args=
3392 ac_configure_args0=
3393 ac_configure_args1=
3394 ac_must_keep_next=false
3395 for ac_pass in 1 2
3396 do
3397 for ac_arg
3398 do
3399 case $ac_arg in
3400 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3401 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3402 | -silent | --silent | --silen | --sile | --sil)
3403 continue ;;
3404 *\'*)
3405 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3406 esac
3407 case $ac_pass in
3408 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3409 2)
3410 as_fn_append ac_configure_args1 " '$ac_arg'"
3411 if test $ac_must_keep_next = true; then
3412 ac_must_keep_next=false # Got value, back to normal.
3413 else
3414 case $ac_arg in
3415 *=* | --config-cache | -C | -disable-* | --disable-* \
3416 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3417 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3418 | -with-* | --with-* | -without-* | --without-* | --x)
3419 case "$ac_configure_args0 " in
3420 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3421 esac
3422 ;;
3423 -* ) ac_must_keep_next=true ;;
3424 esac
3425 fi
3426 as_fn_append ac_configure_args " '$ac_arg'"
3427 ;;
3428 esac
3429 done
3430 done
3431 { ac_configure_args0=; unset ac_configure_args0;}
3432 { ac_configure_args1=; unset ac_configure_args1;}
3433
3434 # When interrupted or exit'd, cleanup temporary files, and complete
3435 # config.log. We remove comments because anyway the quotes in there
3436 # would cause problems or look ugly.
3437 # WARNING: Use '\'' to represent an apostrophe within the trap.
3438 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3439 trap 'exit_status=$?
3440 # Save into config.log some information that might help in debugging.
3441 {
3442 echo
3443
3444 $as_echo "## ---------------- ##
3445 ## Cache variables. ##
3446 ## ---------------- ##"
3447 echo
3448 # The following way of writing the cache mishandles newlines in values,
3449 (
3450 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3451 eval ac_val=\$$ac_var
3452 case $ac_val in #(
3453 *${as_nl}*)
3454 case $ac_var in #(
3455 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3456 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3457 esac
3458 case $ac_var in #(
3459 _ | IFS | as_nl) ;; #(
3460 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3461 *) { eval $ac_var=; unset $ac_var;} ;;
3462 esac ;;
3463 esac
3464 done
3465 (set) 2>&1 |
3466 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3467 *${as_nl}ac_space=\ *)
3468 sed -n \
3469 "s/'\''/'\''\\\\'\'''\''/g;
3470 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3471 ;; #(
3472 *)
3473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3474 ;;
3475 esac |
3476 sort
3477 )
3478 echo
3479
3480 $as_echo "## ----------------- ##
3481 ## Output variables. ##
3482 ## ----------------- ##"
3483 echo
3484 for ac_var in $ac_subst_vars
3485 do
3486 eval ac_val=\$$ac_var
3487 case $ac_val in
3488 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3489 esac
3490 $as_echo "$ac_var='\''$ac_val'\''"
3491 done | sort
3492 echo
3493
3494 if test -n "$ac_subst_files"; then
3495 $as_echo "## ------------------- ##
3496 ## File substitutions. ##
3497 ## ------------------- ##"
3498 echo
3499 for ac_var in $ac_subst_files
3500 do
3501 eval ac_val=\$$ac_var
3502 case $ac_val in
3503 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3504 esac
3505 $as_echo "$ac_var='\''$ac_val'\''"
3506 done | sort
3507 echo
3508 fi
3509
3510 if test -s confdefs.h; then
3511 $as_echo "## ----------- ##
3512 ## confdefs.h. ##
3513 ## ----------- ##"
3514 echo
3515 cat confdefs.h
3516 echo
3517 fi
3518 test "$ac_signal" != 0 &&
3519 $as_echo "$as_me: caught signal $ac_signal"
3520 $as_echo "$as_me: exit $exit_status"
3521 } >&5
3522 rm -f core *.core core.conftest.* &&
3523 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3524 exit $exit_status
3525 ' 0
3526 for ac_signal in 1 2 13 15; do
3527 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3528 done
3529 ac_signal=0
3530
3531 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3532 rm -f -r conftest* confdefs.h
3533
3534 $as_echo "/* confdefs.h */" > confdefs.h
3535
3536 # Predefined preprocessor variables.
3537
3538 cat >>confdefs.h <<_ACEOF
3539 #define PACKAGE_NAME "$PACKAGE_NAME"
3540 _ACEOF
3541
3542 cat >>confdefs.h <<_ACEOF
3543 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3544 _ACEOF
3545
3546 cat >>confdefs.h <<_ACEOF
3547 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3548 _ACEOF
3549
3550 cat >>confdefs.h <<_ACEOF
3551 #define PACKAGE_STRING "$PACKAGE_STRING"
3552 _ACEOF
3553
3554 cat >>confdefs.h <<_ACEOF
3555 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3556 _ACEOF
3557
3558 cat >>confdefs.h <<_ACEOF
3559 #define PACKAGE_URL "$PACKAGE_URL"
3560 _ACEOF
3561
3562
3563 # Let the site file select an alternate cache file if it wants to.
3564 # Prefer an explicitly selected file to automatically selected ones.
3565 ac_site_file1=NONE
3566 ac_site_file2=NONE
3567 if test -n "$CONFIG_SITE"; then
3568 # We do not want a PATH search for config.site.
3569 case $CONFIG_SITE in #((
3570 -*) ac_site_file1=./$CONFIG_SITE;;
3571 */*) ac_site_file1=$CONFIG_SITE;;
3572 *) ac_site_file1=./$CONFIG_SITE;;
3573 esac
3574 elif test "x$prefix" != xNONE; then
3575 ac_site_file1=$prefix/share/config.site
3576 ac_site_file2=$prefix/etc/config.site
3577 else
3578 ac_site_file1=$ac_default_prefix/share/config.site
3579 ac_site_file2=$ac_default_prefix/etc/config.site
3580 fi
3581 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3582 do
3583 test "x$ac_site_file" = xNONE && continue
3584 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3586 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3587 sed 's/^/| /' "$ac_site_file" >&5
3588 . "$ac_site_file" \
3589 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "failed to load site script $ac_site_file
3592 See \`config.log' for more details" "$LINENO" 5 ; }
3593 fi
3594 done
3595
3596 if test -r "$cache_file"; then
3597 # Some versions of bash will fail to source /dev/null (special files
3598 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3599 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3601 $as_echo "$as_me: loading cache $cache_file" >&6;}
3602 case $cache_file in
3603 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3604 *) . "./$cache_file";;
3605 esac
3606 fi
3607 else
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3609 $as_echo "$as_me: creating cache $cache_file" >&6;}
3610 >$cache_file
3611 fi
3612
3613 # Check that the precious variables saved in the cache have kept the same
3614 # value.
3615 ac_cache_corrupted=false
3616 for ac_var in $ac_precious_vars; do
3617 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3618 eval ac_new_set=\$ac_env_${ac_var}_set
3619 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3620 eval ac_new_val=\$ac_env_${ac_var}_value
3621 case $ac_old_set,$ac_new_set in
3622 set,)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3624 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3625 ac_cache_corrupted=: ;;
3626 ,set)
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3628 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3629 ac_cache_corrupted=: ;;
3630 ,);;
3631 *)
3632 if test "x$ac_old_val" != "x$ac_new_val"; then
3633 # differences in whitespace do not lead to failure.
3634 ac_old_val_w=`echo x $ac_old_val`
3635 ac_new_val_w=`echo x $ac_new_val`
3636 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3638 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3639 ac_cache_corrupted=:
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3642 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3643 eval $ac_var=\$ac_old_val
3644 fi
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3646 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3648 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3649 fi;;
3650 esac
3651 # Pass precious variables to config.status.
3652 if test "$ac_new_set" = set; then
3653 case $ac_new_val in
3654 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3655 *) ac_arg=$ac_var=$ac_new_val ;;
3656 esac
3657 case " $ac_configure_args " in
3658 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3659 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3660 esac
3661 fi
3662 done
3663 if $ac_cache_corrupted; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3667 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3668 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3669 fi
3670 ## -------------------- ##
3671 ## Main body of script. ##
3672 ## -------------------- ##
3673
3674 ac_ext=c
3675 ac_cpp='$CPP $CPPFLAGS'
3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679
3680
3681
3682
3683
3684 ac_aux_dir=
3685 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3686 if test -f "$ac_dir/install-sh"; then
3687 ac_aux_dir=$ac_dir
3688 ac_install_sh="$ac_aux_dir/install-sh -c"
3689 break
3690 elif test -f "$ac_dir/install.sh"; then
3691 ac_aux_dir=$ac_dir
3692 ac_install_sh="$ac_aux_dir/install.sh -c"
3693 break
3694 elif test -f "$ac_dir/shtool"; then
3695 ac_aux_dir=$ac_dir
3696 ac_install_sh="$ac_aux_dir/shtool install -c"
3697 break
3698 fi
3699 done
3700 if test -z "$ac_aux_dir"; then
3701 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3702 fi
3703
3704 # These three variables are undocumented and unsupported,
3705 # and are intended to be withdrawn in a future Autoconf release.
3706 # They can cause serious problems if a builder's source tree is in a directory
3707 # whose full name contains unusual characters.
3708 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3709 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3710 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3711
3712
3713 # Make sure we can run config.sub.
3714 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3715 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3716
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3718 $as_echo_n "checking build system type... " >&6; }
3719 if test "${ac_cv_build+set}" = set; then :
3720 $as_echo_n "(cached) " >&6
3721 else
3722 ac_build_alias=$build_alias
3723 test "x$ac_build_alias" = x &&
3724 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3725 test "x$ac_build_alias" = x &&
3726 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3727 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3728 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3729
3730 fi
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3732 $as_echo "$ac_cv_build" >&6; }
3733 case $ac_cv_build in
3734 *-*-*) ;;
3735 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3736 esac
3737 build=$ac_cv_build
3738 ac_save_IFS=$IFS; IFS='-'
3739 set x $ac_cv_build
3740 shift
3741 build_cpu=$1
3742 build_vendor=$2
3743 shift; shift
3744 # Remember, the first character of IFS is used to create $*,
3745 # except with old shells:
3746 build_os=$*
3747 IFS=$ac_save_IFS
3748 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3749
3750
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3752 $as_echo_n "checking host system type... " >&6; }
3753 if test "${ac_cv_host+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test "x$host_alias" = x; then
3757 ac_cv_host=$ac_cv_build
3758 else
3759 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3760 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3761 fi
3762
3763 fi
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3765 $as_echo "$ac_cv_host" >&6; }
3766 case $ac_cv_host in
3767 *-*-*) ;;
3768 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3769 esac
3770 host=$ac_cv_host
3771 ac_save_IFS=$IFS; IFS='-'
3772 set x $ac_cv_host
3773 shift
3774 host_cpu=$1
3775 host_vendor=$2
3776 shift; shift
3777 # Remember, the first character of IFS is used to create $*,
3778 # except with old shells:
3779 host_os=$*
3780 IFS=$ac_save_IFS
3781 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3782
3783
3784
3785 if test "$cross_compiling" != "no"; then
3786 HOST_PREFIX="${host_alias}-"
3787 HOST_SUFFIX="-$host_alias"
3788 else
3789 HOST_PREFIX=
3790 HOST_SUFFIX=
3791 fi
3792
3793
3794 wx_major_version_number=2
3795 wx_minor_version_number=9
3796 wx_release_number=5
3797 wx_subrelease_number=0
3798
3799 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3800 WX_VERSION=$WX_RELEASE.$wx_release_number
3801 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3802
3803 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3804
3805
3806 wx_top_builddir="`pwd`"
3807
3808
3809
3810
3811 USE_UNIX=1
3812 USE_OS2=0
3813 USE_WIN32=0
3814 USE_DOS=0
3815 USE_BEOS=0
3816 USE_MAC=0
3817
3818 USE_AIX=
3819 USE_BSD= USE_DARWIN= USE_FREEBSD=
3820 USE_GNU= USE_HPUX=
3821 USE_LINUX=
3822 USE_NETBSD=
3823 USE_OPENBSD=
3824 USE_OSF= USE_SGI=
3825 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3826 USE_ULTRIX=
3827 USE_UNIXWARE=
3828
3829 USE_ALPHA=
3830
3831 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3832
3833 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3834
3835 DEFAULT_wxUSE_OLD_COCOA=0
3836 DEFAULT_wxUSE_GTK=0
3837 DEFAULT_wxUSE_OSX_CARBON=0
3838 DEFAULT_wxUSE_OSX_COCOA=0
3839 DEFAULT_wxUSE_OSX_IPHONE=0
3840 DEFAULT_wxUSE_MICROWIN=0
3841 DEFAULT_wxUSE_MOTIF=0
3842 DEFAULT_wxUSE_MSW=0
3843 DEFAULT_wxUSE_PM=0
3844 DEFAULT_wxUSE_X11=0
3845 DEFAULT_wxUSE_DFB=0
3846
3847 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3848 DEFAULT_DEFAULT_wxUSE_GTK=0
3849 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3850 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3851 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3852 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3853 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3854 DEFAULT_DEFAULT_wxUSE_MSW=0
3855 DEFAULT_DEFAULT_wxUSE_PM=0
3856 DEFAULT_DEFAULT_wxUSE_X11=0
3857 DEFAULT_DEFAULT_wxUSE_DFB=0
3858
3859 PROGRAM_EXT=
3860 SAMPLES_RPATH_FLAG=
3861 DYLIB_RPATH_INSTALL=
3862 DYLIB_RPATH_POSTLINK=
3863
3864 DEFAULT_STD_FLAG=yes
3865
3866 case "${host}" in
3867 *-hp-hpux* )
3868 USE_HPUX=1
3869 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3870 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3871 $as_echo "#define __HPUX__ 1" >>confdefs.h
3872
3873
3874 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3875 ;;
3876 *-*-linux* )
3877 USE_LINUX=1
3878 $as_echo "#define __LINUX__ 1" >>confdefs.h
3879
3880 TMP=`uname -m`
3881 if test "x$TMP" = "xalpha"; then
3882 USE_ALPHA=1
3883 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3884
3885 fi
3886 DEFAULT_DEFAULT_wxUSE_GTK=1
3887 ;;
3888 *-*-gnu* | *-*-k*bsd*-gnu )
3889 USE_GNU=1
3890 TMP=`uname -m`
3891 if test "x$TMP" = "xalpha"; then
3892 USE_ALPHA=1
3893 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3894
3895 fi
3896 DEFAULT_DEFAULT_wxUSE_GTK=1
3897 ;;
3898 *-*-irix5* | *-*-irix6* )
3899 USE_SGI=1
3900 USE_SVR4=1
3901 $as_echo "#define __SGI__ 1" >>confdefs.h
3902
3903 $as_echo "#define __SVR4__ 1" >>confdefs.h
3904
3905 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3906 ;;
3907 *-*-qnx*)
3908 USE_QNX=1
3909 $as_echo "#define __QNX__ 1" >>confdefs.h
3910
3911 DEFAULT_DEFAULT_wxUSE_X11=1
3912 ;;
3913 *-*-solaris2* )
3914 USE_SUN=1
3915 USE_SOLARIS=1
3916 USE_SVR4=1
3917 $as_echo "#define __SUN__ 1" >>confdefs.h
3918
3919 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3920
3921 $as_echo "#define __SVR4__ 1" >>confdefs.h
3922
3923 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3924 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3925 ;;
3926 *-*-sunos4* )
3927 USE_SUN=1
3928 USE_SUNOS=1
3929 USE_BSD=1
3930 $as_echo "#define __SUN__ 1" >>confdefs.h
3931
3932 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3933
3934 $as_echo "#define __BSD__ 1" >>confdefs.h
3935
3936 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3937 ;;
3938 *-*-freebsd*)
3939 USE_BSD=1
3940 USE_FREEBSD=1
3941 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3942
3943 $as_echo "#define __BSD__ 1" >>confdefs.h
3944
3945 DEFAULT_DEFAULT_wxUSE_GTK=1
3946 ;;
3947 *-*-openbsd*|*-*-mirbsd*)
3948 USE_BSD=1
3949 USE_OPENBSD=1
3950 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3951
3952 $as_echo "#define __BSD__ 1" >>confdefs.h
3953
3954 DEFAULT_DEFAULT_wxUSE_GTK=1
3955 ;;
3956 *-*-netbsd*)
3957 USE_BSD=1
3958 USE_NETBSD=1
3959 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3960
3961 $as_echo "#define __BSD__ 1" >>confdefs.h
3962
3963 DEFAULT_DEFAULT_wxUSE_GTK=1
3964 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3965
3966 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3967 ;;
3968 *-*-osf* )
3969 USE_ALPHA=1
3970 USE_OSF=1
3971 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3972
3973 $as_echo "#define __OSF__ 1" >>confdefs.h
3974
3975 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3976 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3977 ;;
3978 *-*-dgux5* )
3979 USE_ALPHA=1
3980 USE_SVR4=1
3981 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3982
3983 $as_echo "#define __SVR4__ 1" >>confdefs.h
3984
3985 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3986 ;;
3987 *-*-sysv5* )
3988 USE_SYSV=1
3989 USE_SVR4=1
3990 $as_echo "#define __SYSV__ 1" >>confdefs.h
3991
3992 $as_echo "#define __SVR4__ 1" >>confdefs.h
3993
3994 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3995 ;;
3996 *-*-aix* )
3997 USE_AIX=1
3998 USE_SYSV=1
3999 USE_SVR4=1
4000 $as_echo "#define __AIX__ 1" >>confdefs.h
4001
4002 $as_echo "#define __SYSV__ 1" >>confdefs.h
4003
4004 $as_echo "#define __SVR4__ 1" >>confdefs.h
4005
4006 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4007 ;;
4008
4009 *-*-*UnixWare*)
4010 USE_SYSV=1
4011 USE_SVR4=1
4012 USE_UNIXWARE=1
4013 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4014
4015 ;;
4016
4017 *-*-cygwin* | *-*-mingw32* )
4018 PROGRAM_EXT=".exe"
4019 DEFAULT_DEFAULT_wxUSE_MSW=1
4020 ;;
4021
4022 *-pc-msdosdjgpp )
4023 USE_UNIX=0
4024 USE_DOS=1
4025 $as_echo "#define __DOS__ 1" >>confdefs.h
4026
4027 PROGRAM_EXT=".exe"
4028 ;;
4029
4030 *-pc-os2_emx | *-pc-os2-emx )
4031 $as_echo "#define __EMX__ 1" >>confdefs.h
4032
4033 USE_OS2=1
4034 $as_echo "#define __OS2__ 1" >>confdefs.h
4035
4036 PROGRAM_EXT=".exe"
4037 DEFAULT_DEFAULT_wxUSE_PM=1
4038 CXX=gcc
4039 LDFLAGS="$LDFLAGS -Zcrtdll"
4040 ac_executable_extensions=".exe"
4041 export ac_executable_extensions
4042 ac_save_IFS="$IFS"
4043 IFS='\\'
4044 ac_TEMP_PATH=
4045 for ac_dir in $PATH; do
4046 IFS=$ac_save_IFS
4047 if test -z "$ac_TEMP_PATH"; then
4048 ac_TEMP_PATH="$ac_dir"
4049 else
4050 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4051 fi
4052 done
4053 export PATH="$ac_TEMP_PATH"
4054 unset ac_TEMP_PATH
4055 DEFAULT_STD_FLAG=no
4056 ;;
4057
4058 arm-apple-darwin*)
4059 USE_BSD=1
4060 USE_DARWIN=1
4061 $as_echo "#define __BSD__ 1" >>confdefs.h
4062
4063 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4064
4065 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4066 ;;
4067
4068 *-*-darwin* )
4069 USE_BSD=1
4070 USE_DARWIN=1
4071 $as_echo "#define __BSD__ 1" >>confdefs.h
4072
4073 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4074
4075 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4076
4077 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4078 ;;
4079
4080 *-*-beos* )
4081 USE_BEOS=1
4082 $as_echo "#define __BEOS__ 1" >>confdefs.h
4083
4084 ;;
4085
4086 *)
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4088 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4090 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4091
4092 DEFAULT_DEFAULT_wxUSE_X11=1
4093 DEFAULT_wxUSE_SHARED=no
4094 esac
4095
4096
4097
4098 DEFAULT_wxUSE_ALL_FEATURES=yes
4099
4100 DEFAULT_wxUSE_STD_CONTAINERS=no
4101 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4102 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4103
4104 DEFAULT_wxUSE_DMALLOC=no
4105 DEFAULT_wxUSE_LIBGNOMEVFS=no
4106 DEFAULT_wxUSE_LIBHILDON=no
4107 DEFAULT_wxUSE_LIBHILDON2=no
4108 DEFAULT_wxUSE_LIBMSPACK=no
4109 DEFAULT_wxUSE_LIBSDL=no
4110
4111 DEFAULT_wxUSE_ACCESSIBILITY=no
4112 DEFAULT_wxUSE_IPV6=no
4113 DEFAULT_wxUSE_GSTREAMER8=no
4114 DEFAULT_wxUSE_UNICODE_UTF8=no
4115 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4116
4117 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4118 DEFAULT_wxUSE_OPENGL=auto
4119 DEFAULT_wxUSE_MEDIACTRL=auto
4120 DEFAULT_wxUSE_COMPILER_TLS=auto
4121 DEFAULT_wxUSE_HOTKEY=auto
4122 DEFAULT_wxUSE_METAFILE=auto
4123
4124 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4125 DEFAULT_wxUSE_MAC_ARCH=no
4126
4127 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4128
4129 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4130
4131
4132
4133
4134
4135 enablestring=disable
4136 defaultval=
4137 if test -z "$defaultval"; then
4138 if test x"$enablestring" = xdisable; then
4139 defaultval=yes
4140 else
4141 defaultval=no
4142 fi
4143 fi
4144
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4146 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4147 # Check whether --enable-gui was given.
4148 if test "${enable_gui+set}" = set; then :
4149 enableval=$enable_gui;
4150 if test "$enableval" = yes; then
4151 wx_cv_use_gui='wxUSE_GUI=yes'
4152 else
4153 wx_cv_use_gui='wxUSE_GUI=no'
4154 fi
4155
4156 else
4157
4158 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4159
4160 fi
4161
4162
4163 eval "$wx_cv_use_gui"
4164
4165 if test x"$enablestring" = xdisable; then
4166 if test $wxUSE_GUI = no; then
4167 result=yes
4168 else
4169 result=no
4170 fi
4171 else
4172 result=$wxUSE_GUI
4173 fi
4174
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4176 $as_echo "$result" >&6; }
4177
4178
4179 enablestring=
4180 defaultval=
4181 if test -z "$defaultval"; then
4182 if test x"$enablestring" = xdisable; then
4183 defaultval=yes
4184 else
4185 defaultval=no
4186 fi
4187 fi
4188
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4190 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4191 # Check whether --enable-monolithic was given.
4192 if test "${enable_monolithic+set}" = set; then :
4193 enableval=$enable_monolithic;
4194 if test "$enableval" = yes; then
4195 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4196 else
4197 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4198 fi
4199
4200 else
4201
4202 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4203
4204 fi
4205
4206
4207 eval "$wx_cv_use_monolithic"
4208
4209 if test x"$enablestring" = xdisable; then
4210 if test $wxUSE_MONOLITHIC = no; then
4211 result=yes
4212 else
4213 result=no
4214 fi
4215 else
4216 result=$wxUSE_MONOLITHIC
4217 fi
4218
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4220 $as_echo "$result" >&6; }
4221
4222
4223 enablestring=
4224 defaultval=
4225 if test -z "$defaultval"; then
4226 if test x"$enablestring" = xdisable; then
4227 defaultval=yes
4228 else
4229 defaultval=no
4230 fi
4231 fi
4232
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4234 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4235 # Check whether --enable-plugins was given.
4236 if test "${enable_plugins+set}" = set; then :
4237 enableval=$enable_plugins;
4238 if test "$enableval" = yes; then
4239 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4240 else
4241 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4242 fi
4243
4244 else
4245
4246 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4247
4248 fi
4249
4250
4251 eval "$wx_cv_use_plugins"
4252
4253 if test x"$enablestring" = xdisable; then
4254 if test $wxUSE_PLUGINS = no; then
4255 result=yes
4256 else
4257 result=no
4258 fi
4259 else
4260 result=$wxUSE_PLUGINS
4261 fi
4262
4263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4264 $as_echo "$result" >&6; }
4265
4266
4267 withstring=without
4268 defaultval=$wxUSE_ALL_FEATURES
4269 if test -z "$defaultval"; then
4270 if test x"$withstring" = xwithout; then
4271 defaultval=yes
4272 else
4273 defaultval=no
4274 fi
4275 fi
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4277 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4278
4279 # Check whether --with-subdirs was given.
4280 if test "${with_subdirs+set}" = set; then :
4281 withval=$with_subdirs;
4282 if test "$withval" = yes; then
4283 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4284 else
4285 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4286 fi
4287
4288 else
4289
4290 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4291
4292 fi
4293
4294
4295 eval "$wx_cv_use_subdirs"
4296
4297 if test x"$withstring" = xwithout; then
4298 if test $wxWITH_SUBDIRS = yes; then
4299 result=no
4300 else
4301 result=yes
4302 fi
4303 else
4304 result=$wxWITH_SUBDIRS
4305 fi
4306
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4308 $as_echo "$result" >&6; }
4309
4310
4311 # Check whether --with-flavour was given.
4312 if test "${with_flavour+set}" = set; then :
4313 withval=$with_flavour; WX_FLAVOUR="$withval"
4314 fi
4315
4316
4317 enablestring=
4318 defaultval=
4319 if test -z "$defaultval"; then
4320 if test x"$enablestring" = xdisable; then
4321 defaultval=yes
4322 else
4323 defaultval=no
4324 fi
4325 fi
4326
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4328 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4329 # Check whether --enable-official_build was given.
4330 if test "${enable_official_build+set}" = set; then :
4331 enableval=$enable_official_build;
4332 if test "$enableval" = yes; then
4333 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4334 else
4335 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4336 fi
4337
4338 else
4339
4340 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4341
4342 fi
4343
4344
4345 eval "$wx_cv_use_official_build"
4346
4347 if test x"$enablestring" = xdisable; then
4348 if test $wxUSE_OFFICIAL_BUILD = no; then
4349 result=yes
4350 else
4351 result=no
4352 fi
4353 else
4354 result=$wxUSE_OFFICIAL_BUILD
4355 fi
4356
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4358 $as_echo "$result" >&6; }
4359
4360 # Check whether --enable-vendor was given.
4361 if test "${enable_vendor+set}" = set; then :
4362 enableval=$enable_vendor; VENDOR="$enableval"
4363 fi
4364
4365 if test "x$VENDOR" = "x"; then
4366 VENDOR="custom"
4367 fi
4368
4369
4370 enablestring=disable
4371 defaultval=
4372 if test -z "$defaultval"; then
4373 if test x"$enablestring" = xdisable; then
4374 defaultval=yes
4375 else
4376 defaultval=no
4377 fi
4378 fi
4379
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4381 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4382 # Check whether --enable-all-features was given.
4383 if test "${enable_all_features+set}" = set; then :
4384 enableval=$enable_all_features;
4385 if test "$enableval" = yes; then
4386 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4387 else
4388 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4389 fi
4390
4391 else
4392
4393 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4394
4395 fi
4396
4397
4398 eval "$wx_cv_use_all_features"
4399
4400 if test x"$enablestring" = xdisable; then
4401 if test $wxUSE_ALL_FEATURES = no; then
4402 result=yes
4403 else
4404 result=no
4405 fi
4406 else
4407 result=$wxUSE_ALL_FEATURES
4408 fi
4409
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4411 $as_echo "$result" >&6; }
4412
4413
4414 if test "$wxUSE_ALL_FEATURES" = "no"; then
4415 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4416 DEFAULT_wxUSE_MEDIACTRL=no
4417 fi
4418
4419
4420 if test "$wxUSE_GUI" = "yes"; then
4421
4422
4423 enablestring=
4424 defaultval=
4425 if test -z "$defaultval"; then
4426 if test x"$enablestring" = xdisable; then
4427 defaultval=yes
4428 else
4429 defaultval=no
4430 fi
4431 fi
4432
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4434 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4435 # Check whether --enable-universal was given.
4436 if test "${enable_universal+set}" = set; then :
4437 enableval=$enable_universal;
4438 if test "$enableval" = yes; then
4439 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4440 else
4441 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4442 fi
4443
4444 else
4445
4446 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4447
4448 fi
4449
4450
4451 eval "$wx_cv_use_universal"
4452
4453 if test x"$enablestring" = xdisable; then
4454 if test $wxUSE_UNIVERSAL = no; then
4455 result=yes
4456 else
4457 result=no
4458 fi
4459 else
4460 result=$wxUSE_UNIVERSAL
4461 fi
4462
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4464 $as_echo "$result" >&6; }
4465
4466 if test "$wxUSE_UNIVERSAL" = "yes"; then
4467
4468 # Check whether --with-themes was given.
4469 if test "${with_themes+set}" = set; then :
4470 withval=$with_themes; wxUNIV_THEMES="$withval"
4471 fi
4472
4473 fi
4474
4475
4476 # Check whether --with-gtk was given.
4477 if test "${with_gtk+set}" = set; then :
4478 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4479 fi
4480
4481
4482 # Check whether --with-motif was given.
4483 if test "${with_motif+set}" = set; then :
4484 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4485 fi
4486
4487
4488 # Check whether --with-osx_carbon was given.
4489 if test "${with_osx_carbon+set}" = set; then :
4490 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4491 fi
4492
4493
4494 # Check whether --with-osx_cocoa was given.
4495 if test "${with_osx_cocoa+set}" = set; then :
4496 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4497 fi
4498
4499
4500 # Check whether --with-osx_iphone was given.
4501 if test "${with_osx_iphone+set}" = set; then :
4502 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4503 fi
4504
4505
4506 # Check whether --with-osx was given.
4507 if test "${with_osx+set}" = set; then :
4508 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4509 fi
4510
4511
4512 # Check whether --with-carbon was given.
4513 if test "${with_carbon+set}" = set; then :
4514 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4515 fi
4516
4517
4518 # Check whether --with-cocoa was given.
4519 if test "${with_cocoa+set}" = set; then :
4520 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4521 fi
4522
4523
4524 # Check whether --with-iphone was given.
4525 if test "${with_iphone+set}" = set; then :
4526 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4527 fi
4528
4529
4530 # Check whether --with-mac was given.
4531 if test "${with_mac+set}" = set; then :
4532 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4533 fi
4534
4535
4536 # Check whether --with-old_cocoa was given.
4537 if test "${with_old_cocoa+set}" = set; then :
4538 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4539 fi
4540
4541
4542 # Check whether --with-wine was given.
4543 if test "${with_wine+set}" = set; then :
4544 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4545 fi
4546
4547
4548 # Check whether --with-msw was given.
4549 if test "${with_msw+set}" = set; then :
4550 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4551 fi
4552
4553
4554 # Check whether --with-pm was given.
4555 if test "${with_pm+set}" = set; then :
4556 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4557 fi
4558
4559
4560 # Check whether --with-directfb was given.
4561 if test "${with_directfb+set}" = set; then :
4562 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4563 fi
4564
4565
4566 # Check whether --with-microwin was given.
4567 if test "${with_microwin+set}" = set; then :
4568 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4569 fi
4570
4571
4572 # Check whether --with-x11 was given.
4573 if test "${with_x11+set}" = set; then :
4574 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4575 fi
4576
4577
4578 enablestring=
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4589 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4590 # Check whether --enable-nanox was given.
4591 if test "${enable_nanox+set}" = set; then :
4592 enableval=$enable_nanox;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_nanox='wxUSE_NANOX=yes'
4595 else
4596 wx_cv_use_nanox='wxUSE_NANOX=no'
4597 fi
4598
4599 else
4600
4601 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4602
4603 fi
4604
4605
4606 eval "$wx_cv_use_nanox"
4607
4608 if test x"$enablestring" = xdisable; then
4609 if test $wxUSE_NANOX = no; then
4610 result=yes
4611 else
4612 result=no
4613 fi
4614 else
4615 result=$wxUSE_NANOX
4616 fi
4617
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4619 $as_echo "$result" >&6; }
4620
4621
4622 enablestring=
4623 defaultval=
4624 if test -z "$defaultval"; then
4625 if test x"$enablestring" = xdisable; then
4626 defaultval=yes
4627 else
4628 defaultval=no
4629 fi
4630 fi
4631
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4633 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4634 # Check whether --enable-gpe was given.
4635 if test "${enable_gpe+set}" = set; then :
4636 enableval=$enable_gpe;
4637 if test "$enableval" = yes; then
4638 wx_cv_use_gpe='wxUSE_GPE=yes'
4639 else
4640 wx_cv_use_gpe='wxUSE_GPE=no'
4641 fi
4642
4643 else
4644
4645 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4646
4647 fi
4648
4649
4650 eval "$wx_cv_use_gpe"
4651
4652 if test x"$enablestring" = xdisable; then
4653 if test $wxUSE_GPE = no; then
4654 result=yes
4655 else
4656 result=no
4657 fi
4658 else
4659 result=$wxUSE_GPE
4660 fi
4661
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4663 $as_echo "$result" >&6; }
4664
4665
4666
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4668 $as_echo_n "checking for toolkit... " >&6; }
4669
4670
4671
4672 # In Wine, we need to default to MSW, not GTK or MOTIF
4673 if test "$wxUSE_WINE" = "yes"; then
4674 DEFAULT_DEFAULT_wxUSE_GTK=0
4675 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4676 DEFAULT_DEFAULT_wxUSE_MSW=1
4677 wxUSE_SHARED=no
4678 CC=${CC:-winegcc}
4679 CXX=${CXX:-wineg++}
4680 fi
4681
4682
4683 if test "$wxUSE_GUI" = "yes"; then
4684
4685 if test "$USE_BEOS" = 1; then
4686 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4687 fi
4688
4689 if test "$TOOLKIT_GIVEN" = 1; then
4690 for toolkit in $ALL_TOOLKITS; do
4691 var=wxUSE_$toolkit
4692 eval "value=\$${var}"
4693 if test "x$value" = "xno"; then
4694 eval "$var=0"
4695 elif test "x$value" != "x"; then
4696 eval "$var=1"
4697 fi
4698
4699 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4700 eval "wx${toolkit}_VERSION=$value"
4701 fi
4702 done
4703 else
4704 for toolkit in $ALL_TOOLKITS; do
4705 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4706 eval "wxUSE_$toolkit=\$${var}"
4707 done
4708 fi
4709
4710 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4711 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4712 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4713
4714 case "${host}" in
4715 *-pc-os2_emx | *-pc-os2-emx )
4716 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4717 esac
4718
4719 case "$NUM_TOOLKITS" in
4720 1)
4721 ;;
4722 0)
4723 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4724 ;;
4725 *)
4726 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4727 esac
4728
4729 for toolkit in $ALL_TOOLKITS; do
4730 var=wxUSE_$toolkit
4731 eval "value=\$${var}"
4732 if test "$value" = 1; then
4733 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4735 $as_echo "$toolkit_echo" >&6; }
4736 fi
4737 done
4738 else
4739 if test "x$host_alias" != "x"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4741 $as_echo "base ($host_alias hosted) only" >&6; }
4742 else
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4744 $as_echo "base only" >&6; }
4745 fi
4746 fi
4747
4748 wxUSE_MAC=0
4749 if test "$wxUSE_OSX_CARBON" = 1 \
4750 -o "$wxUSE_OSX_COCOA" = 1 \
4751 -o "$wxUSE_OSX_IPHONE" = 1; then
4752 wxUSE_MAC=1
4753 fi
4754
4755
4756
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4758 $as_echo_n "checking for --with-libpng... " >&6; }
4759
4760 # Check whether --with-libpng was given.
4761 if test "${with_libpng+set}" = set; then :
4762 withval=$with_libpng;
4763 if test "$withval" = yes; then
4764 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4765 elif test "$withval" = no; then
4766 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4767 elif test "$withval" = sys; then
4768 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4769 elif test "$withval" = builtin; then
4770 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4771 else
4772 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4773 fi
4774
4775 else
4776
4777 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4778
4779 fi
4780
4781
4782 eval "$wx_cv_use_libpng"
4783
4784 if test "$wxUSE_LIBPNG" = yes; then
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4786 $as_echo "yes" >&6; }
4787 elif test "$wxUSE_LIBPNG" = no; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4789 $as_echo "no" >&6; }
4790 elif test "$wxUSE_LIBPNG" = sys; then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4792 $as_echo "system version" >&6; }
4793 elif test "$wxUSE_LIBPNG" = builtin; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4795 $as_echo "builtin version" >&6; }
4796 else
4797 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4798 fi
4799
4800
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4802 $as_echo_n "checking for --with-libjpeg... " >&6; }
4803
4804 # Check whether --with-libjpeg was given.
4805 if test "${with_libjpeg+set}" = set; then :
4806 withval=$with_libjpeg;
4807 if test "$withval" = yes; then
4808 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4809 elif test "$withval" = no; then
4810 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4811 elif test "$withval" = sys; then
4812 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4813 elif test "$withval" = builtin; then
4814 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4815 else
4816 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4817 fi
4818
4819 else
4820
4821 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4822
4823 fi
4824
4825
4826 eval "$wx_cv_use_libjpeg"
4827
4828 if test "$wxUSE_LIBJPEG" = yes; then
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4830 $as_echo "yes" >&6; }
4831 elif test "$wxUSE_LIBJPEG" = no; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4833 $as_echo "no" >&6; }
4834 elif test "$wxUSE_LIBJPEG" = sys; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4836 $as_echo "system version" >&6; }
4837 elif test "$wxUSE_LIBJPEG" = builtin; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4839 $as_echo "builtin version" >&6; }
4840 else
4841 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4842 fi
4843
4844
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4846 $as_echo_n "checking for --with-libtiff... " >&6; }
4847
4848 # Check whether --with-libtiff was given.
4849 if test "${with_libtiff+set}" = set; then :
4850 withval=$with_libtiff;
4851 if test "$withval" = yes; then
4852 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4853 elif test "$withval" = no; then
4854 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4855 elif test "$withval" = sys; then
4856 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4857 elif test "$withval" = builtin; then
4858 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4859 else
4860 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4861 fi
4862
4863 else
4864
4865 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4866
4867 fi
4868
4869
4870 eval "$wx_cv_use_libtiff"
4871
4872 if test "$wxUSE_LIBTIFF" = yes; then
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4874 $as_echo "yes" >&6; }
4875 elif test "$wxUSE_LIBTIFF" = no; then
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877 $as_echo "no" >&6; }
4878 elif test "$wxUSE_LIBTIFF" = sys; then
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4880 $as_echo "system version" >&6; }
4881 elif test "$wxUSE_LIBTIFF" = builtin; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4883 $as_echo "builtin version" >&6; }
4884 else
4885 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4886 fi
4887
4888
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4890 $as_echo_n "checking for --with-libxpm... " >&6; }
4891
4892 # Check whether --with-libxpm was given.
4893 if test "${with_libxpm+set}" = set; then :
4894 withval=$with_libxpm;
4895 if test "$withval" = yes; then
4896 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4897 elif test "$withval" = no; then
4898 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4899 elif test "$withval" = sys; then
4900 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4901 elif test "$withval" = builtin; then
4902 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4903 else
4904 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4905 fi
4906
4907 else
4908
4909 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4910
4911 fi
4912
4913
4914 eval "$wx_cv_use_libxpm"
4915
4916 if test "$wxUSE_LIBXPM" = yes; then
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4918 $as_echo "yes" >&6; }
4919 elif test "$wxUSE_LIBXPM" = no; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4921 $as_echo "no" >&6; }
4922 elif test "$wxUSE_LIBXPM" = sys; then
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4924 $as_echo "system version" >&6; }
4925 elif test "$wxUSE_LIBXPM" = builtin; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4927 $as_echo "builtin version" >&6; }
4928 else
4929 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4930 fi
4931
4932
4933 withstring=
4934 defaultval=$wxUSE_ALL_FEATURES
4935 if test -z "$defaultval"; then
4936 if test x"$withstring" = xwithout; then
4937 defaultval=yes
4938 else
4939 defaultval=no
4940 fi
4941 fi
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4943 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4944
4945 # Check whether --with-libiconv was given.
4946 if test "${with_libiconv+set}" = set; then :
4947 withval=$with_libiconv;
4948 if test "$withval" = yes; then
4949 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4950 else
4951 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4952 fi
4953
4954 else
4955
4956 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4957
4958 fi
4959
4960
4961 eval "$wx_cv_use_libiconv"
4962
4963 if test x"$withstring" = xwithout; then
4964 if test $wxUSE_LIBICONV = yes; then
4965 result=no
4966 else
4967 result=yes
4968 fi
4969 else
4970 result=$wxUSE_LIBICONV
4971 fi
4972
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4974 $as_echo "$result" >&6; }
4975
4976
4977 withstring=
4978 defaultval=$wxUSE_ALL_FEATURES
4979 if test -z "$defaultval"; then
4980 if test x"$withstring" = xwithout; then
4981 defaultval=yes
4982 else
4983 defaultval=no
4984 fi
4985 fi
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
4987 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
4988
4989 # Check whether --with-libmspack was given.
4990 if test "${with_libmspack+set}" = set; then :
4991 withval=$with_libmspack;
4992 if test "$withval" = yes; then
4993 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
4994 else
4995 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
4996 fi
4997
4998 else
4999
5000 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5001
5002 fi
5003
5004
5005 eval "$wx_cv_use_libmspack"
5006
5007 if test x"$withstring" = xwithout; then
5008 if test $wxUSE_LIBMSPACK = yes; then
5009 result=no
5010 else
5011 result=yes
5012 fi
5013 else
5014 result=$wxUSE_LIBMSPACK
5015 fi
5016
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5018 $as_echo "$result" >&6; }
5019
5020
5021 withstring=without
5022 defaultval=$wxUSE_ALL_FEATURES
5023 if test -z "$defaultval"; then
5024 if test x"$withstring" = xwithout; then
5025 defaultval=yes
5026 else
5027 defaultval=no
5028 fi
5029 fi
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5031 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5032
5033 # Check whether --with-gtkprint was given.
5034 if test "${with_gtkprint+set}" = set; then :
5035 withval=$with_gtkprint;
5036 if test "$withval" = yes; then
5037 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5038 else
5039 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5040 fi
5041
5042 else
5043
5044 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5045
5046 fi
5047
5048
5049 eval "$wx_cv_use_gtkprint"
5050
5051 if test x"$withstring" = xwithout; then
5052 if test $wxUSE_GTKPRINT = yes; then
5053 result=no
5054 else
5055 result=yes
5056 fi
5057 else
5058 result=$wxUSE_GTKPRINT
5059 fi
5060
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5062 $as_echo "$result" >&6; }
5063
5064
5065 withstring=without
5066 defaultval=$wxUSE_ALL_FEATURES
5067 if test -z "$defaultval"; then
5068 if test x"$withstring" = xwithout; then
5069 defaultval=yes
5070 else
5071 defaultval=no
5072 fi
5073 fi
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5075 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5076
5077 # Check whether --with-gnomeprint was given.
5078 if test "${with_gnomeprint+set}" = set; then :
5079 withval=$with_gnomeprint;
5080 if test "$withval" = yes; then
5081 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5082 else
5083 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5084 fi
5085
5086 else
5087
5088 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5089
5090 fi
5091
5092
5093 eval "$wx_cv_use_gnomeprint"
5094
5095 if test x"$withstring" = xwithout; then
5096 if test $wxUSE_LIBGNOMEPRINT = yes; then
5097 result=no
5098 else
5099 result=yes
5100 fi
5101 else
5102 result=$wxUSE_LIBGNOMEPRINT
5103 fi
5104
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5106 $as_echo "$result" >&6; }
5107
5108
5109 withstring=
5110 defaultval=$wxUSE_ALL_FEATURES
5111 if test -z "$defaultval"; then
5112 if test x"$withstring" = xwithout; then
5113 defaultval=yes
5114 else
5115 defaultval=no
5116 fi
5117 fi
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5119 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5120
5121 # Check whether --with-gnomevfs was given.
5122 if test "${with_gnomevfs+set}" = set; then :
5123 withval=$with_gnomevfs;
5124 if test "$withval" = yes; then
5125 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5126 else
5127 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5128 fi
5129
5130 else
5131
5132 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5133
5134 fi
5135
5136
5137 eval "$wx_cv_use_gnomevfs"
5138
5139 if test x"$withstring" = xwithout; then
5140 if test $wxUSE_LIBGNOMEVFS = yes; then
5141 result=no
5142 else
5143 result=yes
5144 fi
5145 else
5146 result=$wxUSE_LIBGNOMEVFS
5147 fi
5148
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5150 $as_echo "$result" >&6; }
5151
5152
5153 withstring=
5154 defaultval=$wxUSE_ALL_FEATURES
5155 if test -z "$defaultval"; then
5156 if test x"$withstring" = xwithout; then
5157 defaultval=yes
5158 else
5159 defaultval=no
5160 fi
5161 fi
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5163 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5164
5165 # Check whether --with-hildon was given.
5166 if test "${with_hildon+set}" = set; then :
5167 withval=$with_hildon;
5168 if test "$withval" = yes; then
5169 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5170 else
5171 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5172 fi
5173
5174 else
5175
5176 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5177
5178 fi
5179
5180
5181 eval "$wx_cv_use_hildon"
5182
5183 if test x"$withstring" = xwithout; then
5184 if test $wxUSE_LIBHILDON = yes; then
5185 result=no
5186 else
5187 result=yes
5188 fi
5189 else
5190 result=$wxUSE_LIBHILDON
5191 fi
5192
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5194 $as_echo "$result" >&6; }
5195
5196
5197 withstring=
5198 defaultval=$wxUSE_ALL_FEATURES
5199 if test -z "$defaultval"; then
5200 if test x"$withstring" = xwithout; then
5201 defaultval=yes
5202 else
5203 defaultval=no
5204 fi
5205 fi
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5207 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5208
5209 # Check whether --with-opengl was given.
5210 if test "${with_opengl+set}" = set; then :
5211 withval=$with_opengl;
5212 if test "$withval" = yes; then
5213 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5214 else
5215 wx_cv_use_opengl='wxUSE_OPENGL=no'
5216 fi
5217
5218 else
5219
5220 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5221
5222 fi
5223
5224
5225 eval "$wx_cv_use_opengl"
5226
5227 if test x"$withstring" = xwithout; then
5228 if test $wxUSE_OPENGL = yes; then
5229 result=no
5230 else
5231 result=yes
5232 fi
5233 else
5234 result=$wxUSE_OPENGL
5235 fi
5236
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5238 $as_echo "$result" >&6; }
5239
5240
5241 fi
5242
5243
5244 withstring=
5245 defaultval=$wxUSE_ALL_FEATURES
5246 if test -z "$defaultval"; then
5247 if test x"$withstring" = xwithout; then
5248 defaultval=yes
5249 else
5250 defaultval=no
5251 fi
5252 fi
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5254 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5255
5256 # Check whether --with-dmalloc was given.
5257 if test "${with_dmalloc+set}" = set; then :
5258 withval=$with_dmalloc;
5259 if test "$withval" = yes; then
5260 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5261 else
5262 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5263 fi
5264
5265 else
5266
5267 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5268
5269 fi
5270
5271
5272 eval "$wx_cv_use_dmalloc"
5273
5274 if test x"$withstring" = xwithout; then
5275 if test $wxUSE_DMALLOC = yes; then
5276 result=no
5277 else
5278 result=yes
5279 fi
5280 else
5281 result=$wxUSE_DMALLOC
5282 fi
5283
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5285 $as_echo "$result" >&6; }
5286
5287
5288 withstring=
5289 defaultval=$wxUSE_ALL_FEATURES
5290 if test -z "$defaultval"; then
5291 if test x"$withstring" = xwithout; then
5292 defaultval=yes
5293 else
5294 defaultval=no
5295 fi
5296 fi
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5298 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5299
5300 # Check whether --with-sdl was given.
5301 if test "${with_sdl+set}" = set; then :
5302 withval=$with_sdl;
5303 if test "$withval" = yes; then
5304 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5305 else
5306 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5307 fi
5308
5309 else
5310
5311 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5312
5313 fi
5314
5315
5316 eval "$wx_cv_use_sdl"
5317
5318 if test x"$withstring" = xwithout; then
5319 if test $wxUSE_LIBSDL = yes; then
5320 result=no
5321 else
5322 result=yes
5323 fi
5324 else
5325 result=$wxUSE_LIBSDL
5326 fi
5327
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5329 $as_echo "$result" >&6; }
5330
5331
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5333 $as_echo_n "checking for --with-regex... " >&6; }
5334
5335 # Check whether --with-regex was given.
5336 if test "${with_regex+set}" = set; then :
5337 withval=$with_regex;
5338 if test "$withval" = yes; then
5339 wx_cv_use_regex='wxUSE_REGEX=yes'
5340 elif test "$withval" = no; then
5341 wx_cv_use_regex='wxUSE_REGEX=no'
5342 elif test "$withval" = sys; then
5343 wx_cv_use_regex='wxUSE_REGEX=sys'
5344 elif test "$withval" = builtin; then
5345 wx_cv_use_regex='wxUSE_REGEX=builtin'
5346 else
5347 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5348 fi
5349
5350 else
5351
5352 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5353
5354 fi
5355
5356
5357 eval "$wx_cv_use_regex"
5358
5359 if test "$wxUSE_REGEX" = yes; then
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5361 $as_echo "yes" >&6; }
5362 elif test "$wxUSE_REGEX" = no; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5364 $as_echo "no" >&6; }
5365 elif test "$wxUSE_REGEX" = sys; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5367 $as_echo "system version" >&6; }
5368 elif test "$wxUSE_REGEX" = builtin; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5370 $as_echo "builtin version" >&6; }
5371 else
5372 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5373 fi
5374
5375
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5377 $as_echo_n "checking for --with-zlib... " >&6; }
5378
5379 # Check whether --with-zlib was given.
5380 if test "${with_zlib+set}" = set; then :
5381 withval=$with_zlib;
5382 if test "$withval" = yes; then
5383 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5384 elif test "$withval" = no; then
5385 wx_cv_use_zlib='wxUSE_ZLIB=no'
5386 elif test "$withval" = sys; then
5387 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5388 elif test "$withval" = builtin; then
5389 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5390 else
5391 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5392 fi
5393
5394 else
5395
5396 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5397
5398 fi
5399
5400
5401 eval "$wx_cv_use_zlib"
5402
5403 if test "$wxUSE_ZLIB" = yes; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5405 $as_echo "yes" >&6; }
5406 elif test "$wxUSE_ZLIB" = no; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5408 $as_echo "no" >&6; }
5409 elif test "$wxUSE_ZLIB" = sys; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5411 $as_echo "system version" >&6; }
5412 elif test "$wxUSE_ZLIB" = builtin; then
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5414 $as_echo "builtin version" >&6; }
5415 else
5416 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5417 fi
5418
5419
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5421 $as_echo_n "checking for --with-expat... " >&6; }
5422
5423 # Check whether --with-expat was given.
5424 if test "${with_expat+set}" = set; then :
5425 withval=$with_expat;
5426 if test "$withval" = yes; then
5427 wx_cv_use_expat='wxUSE_EXPAT=yes'
5428 elif test "$withval" = no; then
5429 wx_cv_use_expat='wxUSE_EXPAT=no'
5430 elif test "$withval" = sys; then
5431 wx_cv_use_expat='wxUSE_EXPAT=sys'
5432 elif test "$withval" = builtin; then
5433 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5434 else
5435 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5436 fi
5437
5438 else
5439
5440 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5441
5442 fi
5443
5444
5445 eval "$wx_cv_use_expat"
5446
5447 if test "$wxUSE_EXPAT" = yes; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5449 $as_echo "yes" >&6; }
5450 elif test "$wxUSE_EXPAT" = no; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5452 $as_echo "no" >&6; }
5453 elif test "$wxUSE_EXPAT" = sys; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5455 $as_echo "system version" >&6; }
5456 elif test "$wxUSE_EXPAT" = builtin; then
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5458 $as_echo "builtin version" >&6; }
5459 else
5460 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5461 fi
5462
5463
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5465 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5466
5467 # Check whether --with-macosx-sdk was given.
5468 if test "${with_macosx_sdk+set}" = set; then :
5469 withval=$with_macosx_sdk;
5470 wxUSE_MACOSX_SDK=$withval
5471 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5472
5473 fi
5474
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5476 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5477
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5479 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5480
5481 # Check whether --with-macosx-version-min was given.
5482 if test "${with_macosx_version_min+set}" = set; then :
5483 withval=$with_macosx_version_min;
5484 wxUSE_MACOSX_VERSION_MIN=$withval
5485 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5486
5487 fi
5488
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5490 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5491
5492
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5494 $as_echo_n "checking for --enable-debug... " >&6; }
5495 # Check whether --enable-debug was given.
5496 if test "${enable_debug+set}" = set; then :
5497 enableval=$enable_debug;
5498 if test "$enableval" = yes; then
5499 wxUSE_DEBUG=yes
5500 elif test "$enableval" = no; then
5501 wxUSE_DEBUG=no
5502 elif test "$enableval" = max; then
5503 wxUSE_DEBUG=yes
5504 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5505 else
5506 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5507 fi
5508
5509 else
5510 wxUSE_DEBUG=default
5511
5512 fi
5513
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5515 $as_echo "${enable_debug-default}" >&6; }
5516
5517 case "$wxUSE_DEBUG" in
5518 yes)
5519 DEFAULT_wxUSE_DEBUG_FLAG=yes
5520 DEFAULT_wxUSE_DEBUG_INFO=yes
5521
5522 DEFAULT_wxUSE_OPTIMISE=no
5523 ;;
5524
5525 no)
5526 DEFAULT_wxUSE_DEBUG_FLAG=no
5527 DEFAULT_wxUSE_DEBUG_INFO=no
5528 ;;
5529
5530 default)
5531 DEFAULT_wxUSE_DEBUG_FLAG=yes
5532 DEFAULT_wxUSE_DEBUG_INFO=no
5533 ;;
5534 esac
5535
5536
5537 enablestring=disable
5538 defaultval=
5539 if test -z "$defaultval"; then
5540 if test x"$enablestring" = xdisable; then
5541 defaultval=yes
5542 else
5543 defaultval=no
5544 fi
5545 fi
5546
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5548 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5549 # Check whether --enable-debug_flag was given.
5550 if test "${enable_debug_flag+set}" = set; then :
5551 enableval=$enable_debug_flag;
5552 if test "$enableval" = yes; then
5553 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5554 else
5555 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5556 fi
5557
5558 else
5559
5560 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5561
5562 fi
5563
5564
5565 eval "$wx_cv_use_debug_flag"
5566
5567 if test x"$enablestring" = xdisable; then
5568 if test $wxUSE_DEBUG_FLAG = no; then
5569 result=yes
5570 else
5571 result=no
5572 fi
5573 else
5574 result=$wxUSE_DEBUG_FLAG
5575 fi
5576
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5578 $as_echo "$result" >&6; }
5579
5580
5581 enablestring=
5582 defaultval=
5583 if test -z "$defaultval"; then
5584 if test x"$enablestring" = xdisable; then
5585 defaultval=yes
5586 else
5587 defaultval=no
5588 fi
5589 fi
5590
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5592 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5593 # Check whether --enable-debug_info was given.
5594 if test "${enable_debug_info+set}" = set; then :
5595 enableval=$enable_debug_info;
5596 if test "$enableval" = yes; then
5597 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5598 else
5599 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5600 fi
5601
5602 else
5603
5604 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5605
5606 fi
5607
5608
5609 eval "$wx_cv_use_debug_info"
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_DEBUG_INFO = no; then
5613 result=yes
5614 else
5615 result=no
5616 fi
5617 else
5618 result=$wxUSE_DEBUG_INFO
5619 fi
5620
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5622 $as_echo "$result" >&6; }
5623
5624
5625
5626
5627 enablestring=
5628 defaultval=
5629 if test -z "$defaultval"; then
5630 if test x"$enablestring" = xdisable; then
5631 defaultval=yes
5632 else
5633 defaultval=no
5634 fi
5635 fi
5636
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5638 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5639 # Check whether --enable-debug_gdb was given.
5640 if test "${enable_debug_gdb+set}" = set; then :
5641 enableval=$enable_debug_gdb;
5642 if test "$enableval" = yes; then
5643 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5644 else
5645 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5646 fi
5647
5648 else
5649
5650 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5651
5652 fi
5653
5654
5655 eval "$wx_cv_use_debug_gdb"
5656
5657 if test x"$enablestring" = xdisable; then
5658 if test $wxUSE_DEBUG_GDB = no; then
5659 result=yes
5660 else
5661 result=no
5662 fi
5663 else
5664 result=$wxUSE_DEBUG_GDB
5665 fi
5666
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5668 $as_echo "$result" >&6; }
5669
5670
5671 enablestring=
5672 defaultval=
5673 if test -z "$defaultval"; then
5674 if test x"$enablestring" = xdisable; then
5675 defaultval=yes
5676 else
5677 defaultval=no
5678 fi
5679 fi
5680
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5682 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5683 # Check whether --enable-debug_cntxt was given.
5684 if test "${enable_debug_cntxt+set}" = set; then :
5685 enableval=$enable_debug_cntxt;
5686 if test "$enableval" = yes; then
5687 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5688 else
5689 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5690 fi
5691
5692 else
5693
5694 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5695
5696 fi
5697
5698
5699 eval "$wx_cv_use_debug_cntxt"
5700
5701 if test x"$enablestring" = xdisable; then
5702 if test $wxUSE_DEBUG_CONTEXT = no; then
5703 result=yes
5704 else
5705 result=no
5706 fi
5707 else
5708 result=$wxUSE_DEBUG_CONTEXT
5709 fi
5710
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5712 $as_echo "$result" >&6; }
5713
5714
5715 enablestring=
5716 defaultval=
5717 if test -z "$defaultval"; then
5718 if test x"$enablestring" = xdisable; then
5719 defaultval=yes
5720 else
5721 defaultval=no
5722 fi
5723 fi
5724
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5726 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5727 # Check whether --enable-mem_tracing was given.
5728 if test "${enable_mem_tracing+set}" = set; then :
5729 enableval=$enable_mem_tracing;
5730 if test "$enableval" = yes; then
5731 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5732 else
5733 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5734 fi
5735
5736 else
5737
5738 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5739
5740 fi
5741
5742
5743 eval "$wx_cv_use_mem_tracing"
5744
5745 if test x"$enablestring" = xdisable; then
5746 if test $wxUSE_MEM_TRACING = no; then
5747 result=yes
5748 else
5749 result=no
5750 fi
5751 else
5752 result=$wxUSE_MEM_TRACING
5753 fi
5754
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5756 $as_echo "$result" >&6; }
5757
5758
5759
5760
5761 enablestring=disable
5762 defaultval=
5763 if test -z "$defaultval"; then
5764 if test x"$enablestring" = xdisable; then
5765 defaultval=yes
5766 else
5767 defaultval=no
5768 fi
5769 fi
5770
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5772 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5773 # Check whether --enable-shared was given.
5774 if test "${enable_shared+set}" = set; then :
5775 enableval=$enable_shared;
5776 if test "$enableval" = yes; then
5777 wx_cv_use_shared='wxUSE_SHARED=yes'
5778 else
5779 wx_cv_use_shared='wxUSE_SHARED=no'
5780 fi
5781
5782 else
5783
5784 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5785
5786 fi
5787
5788
5789 eval "$wx_cv_use_shared"
5790
5791 if test x"$enablestring" = xdisable; then
5792 if test $wxUSE_SHARED = no; then
5793 result=yes
5794 else
5795 result=no
5796 fi
5797 else
5798 result=$wxUSE_SHARED
5799 fi
5800
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5802 $as_echo "$result" >&6; }
5803
5804
5805 enablestring=
5806 defaultval=
5807 if test -z "$defaultval"; then
5808 if test x"$enablestring" = xdisable; then
5809 defaultval=yes
5810 else
5811 defaultval=no
5812 fi
5813 fi
5814
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5816 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5817 # Check whether --enable-stl was given.
5818 if test "${enable_stl+set}" = set; then :
5819 enableval=$enable_stl;
5820 if test "$enableval" = yes; then
5821 wx_cv_use_stl='wxUSE_STL=yes'
5822 else
5823 wx_cv_use_stl='wxUSE_STL=no'
5824 fi
5825
5826 else
5827
5828 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5829
5830 fi
5831
5832
5833 eval "$wx_cv_use_stl"
5834
5835 if test x"$enablestring" = xdisable; then
5836 if test $wxUSE_STL = no; then
5837 result=yes
5838 else
5839 result=no
5840 fi
5841 else
5842 result=$wxUSE_STL
5843 fi
5844
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5846 $as_echo "$result" >&6; }
5847
5848 if test "$wxUSE_STL" = "yes"; then
5849 DEFAULT_wxUSE_STD_CONTAINERS=yes
5850 DEFAULT_wxUSE_STD_IOSTREAM=yes
5851 DEFAULT_wxUSE_STD_STRING=yes
5852 fi
5853
5854 enablestring=
5855 defaultval=
5856 if test -z "$defaultval"; then
5857 if test x"$enablestring" = xdisable; then
5858 defaultval=yes
5859 else
5860 defaultval=no
5861 fi
5862 fi
5863
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5865 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5866 # Check whether --enable-std_containers was given.
5867 if test "${enable_std_containers+set}" = set; then :
5868 enableval=$enable_std_containers;
5869 if test "$enableval" = yes; then
5870 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5871 else
5872 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5873 fi
5874
5875 else
5876
5877 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5878
5879 fi
5880
5881
5882 eval "$wx_cv_use_std_containers"
5883
5884 if test x"$enablestring" = xdisable; then
5885 if test $wxUSE_STD_CONTAINERS = no; then
5886 result=yes
5887 else
5888 result=no
5889 fi
5890 else
5891 result=$wxUSE_STD_CONTAINERS
5892 fi
5893
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5895 $as_echo "$result" >&6; }
5896
5897
5898 enablestring=
5899 defaultval=
5900 if test -z "$defaultval"; then
5901 if test x"$enablestring" = xdisable; then
5902 defaultval=yes
5903 else
5904 defaultval=no
5905 fi
5906 fi
5907
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5909 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5910 # Check whether --enable-std_iostreams was given.
5911 if test "${enable_std_iostreams+set}" = set; then :
5912 enableval=$enable_std_iostreams;
5913 if test "$enableval" = yes; then
5914 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5915 else
5916 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5917 fi
5918
5919 else
5920
5921 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5922
5923 fi
5924
5925
5926 eval "$wx_cv_use_std_iostreams"
5927
5928 if test x"$enablestring" = xdisable; then
5929 if test $wxUSE_STD_IOSTREAM = no; then
5930 result=yes
5931 else
5932 result=no
5933 fi
5934 else
5935 result=$wxUSE_STD_IOSTREAM
5936 fi
5937
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5939 $as_echo "$result" >&6; }
5940
5941
5942 enablestring=
5943 defaultval=
5944 if test -z "$defaultval"; then
5945 if test x"$enablestring" = xdisable; then
5946 defaultval=yes
5947 else
5948 defaultval=no
5949 fi
5950 fi
5951
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5953 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5954 # Check whether --enable-std_string was given.
5955 if test "${enable_std_string+set}" = set; then :
5956 enableval=$enable_std_string;
5957 if test "$enableval" = yes; then
5958 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5959 else
5960 wx_cv_use_std_string='wxUSE_STD_STRING=no'
5961 fi
5962
5963 else
5964
5965 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5966
5967 fi
5968
5969
5970 eval "$wx_cv_use_std_string"
5971
5972 if test x"$enablestring" = xdisable; then
5973 if test $wxUSE_STD_STRING = no; then
5974 result=yes
5975 else
5976 result=no
5977 fi
5978 else
5979 result=$wxUSE_STD_STRING
5980 fi
5981
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5983 $as_echo "$result" >&6; }
5984
5985
5986 enablestring=
5987 defaultval=
5988 if test -z "$defaultval"; then
5989 if test x"$enablestring" = xdisable; then
5990 defaultval=yes
5991 else
5992 defaultval=no
5993 fi
5994 fi
5995
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
5997 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
5998 # Check whether --enable-std_string_conv_in_wxstring was given.
5999 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6000 enableval=$enable_std_string_conv_in_wxstring;
6001 if test "$enableval" = yes; then
6002 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6003 else
6004 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6005 fi
6006
6007 else
6008
6009 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6010
6011 fi
6012
6013
6014 eval "$wx_cv_use_std_string_conv_in_wxstring"
6015
6016 if test x"$enablestring" = xdisable; then
6017 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6018 result=yes
6019 else
6020 result=no
6021 fi
6022 else
6023 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6024 fi
6025
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6027 $as_echo "$result" >&6; }
6028
6029
6030 enablestring=disable
6031 defaultval=
6032 if test -z "$defaultval"; then
6033 if test x"$enablestring" = xdisable; then
6034 defaultval=yes
6035 else
6036 defaultval=no
6037 fi
6038 fi
6039
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6041 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6042 # Check whether --enable-unicode was given.
6043 if test "${enable_unicode+set}" = set; then :
6044 enableval=$enable_unicode;
6045 if test "$enableval" = yes; then
6046 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6047 else
6048 wx_cv_use_unicode='wxUSE_UNICODE=no'
6049 fi
6050
6051 else
6052
6053 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6054
6055 fi
6056
6057
6058 eval "$wx_cv_use_unicode"
6059
6060 if test x"$enablestring" = xdisable; then
6061 if test $wxUSE_UNICODE = no; then
6062 result=yes
6063 else
6064 result=no
6065 fi
6066 else
6067 result=$wxUSE_UNICODE
6068 fi
6069
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6071 $as_echo "$result" >&6; }
6072
6073
6074 enablestring=
6075 defaultval=
6076 if test -z "$defaultval"; then
6077 if test x"$enablestring" = xdisable; then
6078 defaultval=yes
6079 else
6080 defaultval=no
6081 fi
6082 fi
6083
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6085 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6086 # Check whether --enable-mslu was given.
6087 if test "${enable_mslu+set}" = set; then :
6088 enableval=$enable_mslu;
6089 if test "$enableval" = yes; then
6090 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6091 else
6092 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6093 fi
6094
6095 else
6096
6097 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6098
6099 fi
6100
6101
6102 eval "$wx_cv_use_mslu"
6103
6104 if test x"$enablestring" = xdisable; then
6105 if test $wxUSE_UNICODE_MSLU = no; then
6106 result=yes
6107 else
6108 result=no
6109 fi
6110 else
6111 result=$wxUSE_UNICODE_MSLU
6112 fi
6113
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6115 $as_echo "$result" >&6; }
6116
6117
6118 enablestring=
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6120 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6121 # Check whether --enable-utf8 was given.
6122 if test "${enable_utf8+set}" = set; then :
6123 enableval=$enable_utf8;
6124 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6125
6126 else
6127
6128 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6129
6130 fi
6131
6132
6133 eval "$wx_cv_use_utf8"
6134
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6136 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6137
6138
6139 enablestring=
6140 defaultval=
6141 if test -z "$defaultval"; then
6142 if test x"$enablestring" = xdisable; then
6143 defaultval=yes
6144 else
6145 defaultval=no
6146 fi
6147 fi
6148
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6150 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6151 # Check whether --enable-utf8only was given.
6152 if test "${enable_utf8only+set}" = set; then :
6153 enableval=$enable_utf8only;
6154 if test "$enableval" = yes; then
6155 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6156 else
6157 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6158 fi
6159
6160 else
6161
6162 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6163
6164 fi
6165
6166
6167 eval "$wx_cv_use_utf8only"
6168
6169 if test x"$enablestring" = xdisable; then
6170 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6171 result=yes
6172 else
6173 result=no
6174 fi
6175 else
6176 result=$wxUSE_UNICODE_UTF8_LOCALE
6177 fi
6178
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6180 $as_echo "$result" >&6; }
6181
6182
6183 enablestring=
6184 defaultval=
6185 if test -z "$defaultval"; then
6186 if test x"$enablestring" = xdisable; then
6187 defaultval=yes
6188 else
6189 defaultval=no
6190 fi
6191 fi
6192
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6194 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6195 # Check whether --enable-extended_rtti was given.
6196 if test "${enable_extended_rtti+set}" = set; then :
6197 enableval=$enable_extended_rtti;
6198 if test "$enableval" = yes; then
6199 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6200 else
6201 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6202 fi
6203
6204 else
6205
6206 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6207
6208 fi
6209
6210
6211 eval "$wx_cv_use_extended_rtti"
6212
6213 if test x"$enablestring" = xdisable; then
6214 if test $wxUSE_EXTENDED_RTTI = no; then
6215 result=yes
6216 else
6217 result=no
6218 fi
6219 else
6220 result=$wxUSE_EXTENDED_RTTI
6221 fi
6222
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6224 $as_echo "$result" >&6; }
6225
6226 if test "$USE_OS2" = 1; then
6227 DEFAULT_wxUSE_OMF=no
6228
6229 enablestring=
6230 defaultval=
6231 if test -z "$defaultval"; then
6232 if test x"$enablestring" = xdisable; then
6233 defaultval=yes
6234 else
6235 defaultval=no
6236 fi
6237 fi
6238
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6240 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6241 # Check whether --enable-omf was given.
6242 if test "${enable_omf+set}" = set; then :
6243 enableval=$enable_omf;
6244 if test "$enableval" = yes; then
6245 wx_cv_use_omf='wxUSE_OMF=yes'
6246 else
6247 wx_cv_use_omf='wxUSE_OMF=no'
6248 fi
6249
6250 else
6251
6252 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6253
6254 fi
6255
6256
6257 eval "$wx_cv_use_omf"
6258
6259 if test x"$enablestring" = xdisable; then
6260 if test $wxUSE_OMF = no; then
6261 result=yes
6262 else
6263 result=no
6264 fi
6265 else
6266 result=$wxUSE_OMF
6267 fi
6268
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6270 $as_echo "$result" >&6; }
6271
6272 fi
6273
6274
6275 enablestring=disable
6276 defaultval=
6277 if test -z "$defaultval"; then
6278 if test x"$enablestring" = xdisable; then
6279 defaultval=yes
6280 else
6281 defaultval=no
6282 fi
6283 fi
6284
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6286 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6287 # Check whether --enable-optimise was given.
6288 if test "${enable_optimise+set}" = set; then :
6289 enableval=$enable_optimise;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6292 else
6293 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6294 fi
6295
6296 else
6297
6298 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6299
6300 fi
6301
6302
6303 eval "$wx_cv_use_optimise"
6304
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_OPTIMISE = no; then
6307 result=yes
6308 else
6309 result=no
6310 fi
6311 else
6312 result=$wxUSE_OPTIMISE
6313 fi
6314
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6316 $as_echo "$result" >&6; }
6317
6318
6319
6320 enablestring=
6321 defaultval=
6322 if test -z "$defaultval"; then
6323 if test x"$enablestring" = xdisable; then
6324 defaultval=yes
6325 else
6326 defaultval=no
6327 fi
6328 fi
6329
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6331 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6332 # Check whether --enable-profile was given.
6333 if test "${enable_profile+set}" = set; then :
6334 enableval=$enable_profile;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_profile='wxUSE_PROFILE=yes'
6337 else
6338 wx_cv_use_profile='wxUSE_PROFILE=no'
6339 fi
6340
6341 else
6342
6343 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6344
6345 fi
6346
6347
6348 eval "$wx_cv_use_profile"
6349
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_PROFILE = no; then
6352 result=yes
6353 else
6354 result=no
6355 fi
6356 else
6357 result=$wxUSE_PROFILE
6358 fi
6359
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6361 $as_echo "$result" >&6; }
6362
6363
6364 enablestring=
6365 defaultval=
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6368 defaultval=yes
6369 else
6370 defaultval=no
6371 fi
6372 fi
6373
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6375 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6376 # Check whether --enable-no_rtti was given.
6377 if test "${enable_no_rtti+set}" = set; then :
6378 enableval=$enable_no_rtti;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6381 else
6382 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6383 fi
6384
6385 else
6386
6387 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6388
6389 fi
6390
6391
6392 eval "$wx_cv_use_no_rtti"
6393
6394 if test x"$enablestring" = xdisable; then
6395 if test $wxUSE_NO_RTTI = no; then
6396 result=yes
6397 else
6398 result=no
6399 fi
6400 else
6401 result=$wxUSE_NO_RTTI
6402 fi
6403
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6405 $as_echo "$result" >&6; }
6406
6407
6408 enablestring=
6409 defaultval=
6410 if test -z "$defaultval"; then
6411 if test x"$enablestring" = xdisable; then
6412 defaultval=yes
6413 else
6414 defaultval=no
6415 fi
6416 fi
6417
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6419 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6420 # Check whether --enable-no_exceptions was given.
6421 if test "${enable_no_exceptions+set}" = set; then :
6422 enableval=$enable_no_exceptions;
6423 if test "$enableval" = yes; then
6424 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6425 else
6426 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6427 fi
6428
6429 else
6430
6431 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6432
6433 fi
6434
6435
6436 eval "$wx_cv_use_no_exceptions"
6437
6438 if test x"$enablestring" = xdisable; then
6439 if test $wxUSE_NO_EXCEPTIONS = no; then
6440 result=yes
6441 else
6442 result=no
6443 fi
6444 else
6445 result=$wxUSE_NO_EXCEPTIONS
6446 fi
6447
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6449 $as_echo "$result" >&6; }
6450
6451
6452 enablestring=
6453 defaultval=
6454 if test -z "$defaultval"; then
6455 if test x"$enablestring" = xdisable; then
6456 defaultval=yes
6457 else
6458 defaultval=no
6459 fi
6460 fi
6461
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6463 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6464 # Check whether --enable-permissive was given.
6465 if test "${enable_permissive+set}" = set; then :
6466 enableval=$enable_permissive;
6467 if test "$enableval" = yes; then
6468 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6469 else
6470 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6471 fi
6472
6473 else
6474
6475 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6476
6477 fi
6478
6479
6480 eval "$wx_cv_use_permissive"
6481
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_PERMISSIVE = no; then
6484 result=yes
6485 else
6486 result=no
6487 fi
6488 else
6489 result=$wxUSE_PERMISSIVE
6490 fi
6491
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6493 $as_echo "$result" >&6; }
6494
6495
6496 enablestring=
6497 defaultval=
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6500 defaultval=yes
6501 else
6502 defaultval=no
6503 fi
6504 fi
6505
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6507 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6508 # Check whether --enable-no_deps was given.
6509 if test "${enable_no_deps+set}" = set; then :
6510 enableval=$enable_no_deps;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6513 else
6514 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6515 fi
6516
6517 else
6518
6519 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6520
6521 fi
6522
6523
6524 eval "$wx_cv_use_no_deps"
6525
6526 if test x"$enablestring" = xdisable; then
6527 if test $wxUSE_NO_DEPS = no; then
6528 result=yes
6529 else
6530 result=no
6531 fi
6532 else
6533 result=$wxUSE_NO_DEPS
6534 fi
6535
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6537 $as_echo "$result" >&6; }
6538
6539
6540 enablestring=disable
6541 defaultval=
6542 if test -z "$defaultval"; then
6543 if test x"$enablestring" = xdisable; then
6544 defaultval=yes
6545 else
6546 defaultval=no
6547 fi
6548 fi
6549
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6551 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6552 # Check whether --enable-vararg_macros was given.
6553 if test "${enable_vararg_macros+set}" = set; then :
6554 enableval=$enable_vararg_macros;
6555 if test "$enableval" = yes; then
6556 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6557 else
6558 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6559 fi
6560
6561 else
6562
6563 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6564
6565 fi
6566
6567
6568 eval "$wx_cv_use_vararg_macros"
6569
6570 if test x"$enablestring" = xdisable; then
6571 if test $wxUSE_VARARG_MACROS = no; then
6572 result=yes
6573 else
6574 result=no
6575 fi
6576 else
6577 result=$wxUSE_VARARG_MACROS
6578 fi
6579
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6581 $as_echo "$result" >&6; }
6582
6583
6584
6585 enablestring=
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6587 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6588 # Check whether --enable-universal_binary was given.
6589 if test "${enable_universal_binary+set}" = set; then :
6590 enableval=$enable_universal_binary;
6591 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6592
6593 else
6594
6595 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6596
6597 fi
6598
6599
6600 eval "$wx_cv_use_universal_binary"
6601
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6603 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6604
6605
6606 enablestring=
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6608 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6609 # Check whether --enable-macosx_arch was given.
6610 if test "${enable_macosx_arch+set}" = set; then :
6611 enableval=$enable_macosx_arch;
6612 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6613
6614 else
6615
6616 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6617
6618 fi
6619
6620
6621 eval "$wx_cv_use_macosx_arch"
6622
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6624 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6625
6626
6627
6628 enablestring=
6629 defaultval=
6630 if test -z "$defaultval"; then
6631 if test x"$enablestring" = xdisable; then
6632 defaultval=yes
6633 else
6634 defaultval=no
6635 fi
6636 fi
6637
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6639 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6640 # Check whether --enable-compat26 was given.
6641 if test "${enable_compat26+set}" = set; then :
6642 enableval=$enable_compat26;
6643 if test "$enableval" = yes; then
6644 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6645 else
6646 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6647 fi
6648
6649 else
6650
6651 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6652
6653 fi
6654
6655
6656 eval "$wx_cv_use_compat26"
6657
6658 if test x"$enablestring" = xdisable; then
6659 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6660 result=yes
6661 else
6662 result=no
6663 fi
6664 else
6665 result=$WXWIN_COMPATIBILITY_2_6
6666 fi
6667
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6669 $as_echo "$result" >&6; }
6670
6671
6672 enablestring=disable
6673 defaultval=
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6676 defaultval=yes
6677 else
6678 defaultval=no
6679 fi
6680 fi
6681
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6683 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6684 # Check whether --enable-compat28 was given.
6685 if test "${enable_compat28+set}" = set; then :
6686 enableval=$enable_compat28;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6689 else
6690 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6691 fi
6692
6693 else
6694
6695 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6696
6697 fi
6698
6699
6700 eval "$wx_cv_use_compat28"
6701
6702 if test x"$enablestring" = xdisable; then
6703 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6704 result=yes
6705 else
6706 result=no
6707 fi
6708 else
6709 result=$WXWIN_COMPATIBILITY_2_8
6710 fi
6711
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6713 $as_echo "$result" >&6; }
6714
6715
6716
6717 enablestring=disable
6718 defaultval=
6719 if test -z "$defaultval"; then
6720 if test x"$enablestring" = xdisable; then
6721 defaultval=yes
6722 else
6723 defaultval=no
6724 fi
6725 fi
6726
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6728 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6729 # Check whether --enable-rpath was given.
6730 if test "${enable_rpath+set}" = set; then :
6731 enableval=$enable_rpath;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_rpath='wxUSE_RPATH=yes'
6734 else
6735 wx_cv_use_rpath='wxUSE_RPATH=no'
6736 fi
6737
6738 else
6739
6740 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6741
6742 fi
6743
6744
6745 eval "$wx_cv_use_rpath"
6746
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_RPATH = no; then
6749 result=yes
6750 else
6751 result=no
6752 fi
6753 else
6754 result=$wxUSE_RPATH
6755 fi
6756
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6758 $as_echo "$result" >&6; }
6759
6760
6761
6762 enablestring=
6763 defaultval=
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6766 defaultval=yes
6767 else
6768 defaultval=no
6769 fi
6770 fi
6771
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6773 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6774 # Check whether --enable-objc_uniquifying was given.
6775 if test "${enable_objc_uniquifying+set}" = set; then :
6776 enableval=$enable_objc_uniquifying;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6779 else
6780 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6781 fi
6782
6783 else
6784
6785 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6786
6787 fi
6788
6789
6790 eval "$wx_cv_use_objc_uniquifying"
6791
6792 if test x"$enablestring" = xdisable; then
6793 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6794 result=yes
6795 else
6796 result=no
6797 fi
6798 else
6799 result=$wxUSE_OBJC_UNIQUIFYING
6800 fi
6801
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6803 $as_echo "$result" >&6; }
6804
6805
6806
6807 enablestring=disable
6808 defaultval=
6809 if test -z "$defaultval"; then
6810 if test x"$enablestring" = xdisable; then
6811 defaultval=yes
6812 else
6813 defaultval=no
6814 fi
6815 fi
6816
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6818 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6819 # Check whether --enable-visibility was given.
6820 if test "${enable_visibility+set}" = set; then :
6821 enableval=$enable_visibility;
6822 if test "$enableval" = yes; then
6823 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6824 else
6825 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6826 fi
6827
6828 else
6829
6830 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6831
6832 fi
6833
6834
6835 eval "$wx_cv_use_visibility"
6836
6837 if test x"$enablestring" = xdisable; then
6838 if test $wxUSE_VISIBILITY = no; then
6839 result=yes
6840 else
6841 result=no
6842 fi
6843 else
6844 result=$wxUSE_VISIBILITY
6845 fi
6846
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6848 $as_echo "$result" >&6; }
6849
6850
6851 enablestring=disable
6852 defaultval=
6853 if test -z "$defaultval"; then
6854 if test x"$enablestring" = xdisable; then
6855 defaultval=yes
6856 else
6857 defaultval=no
6858 fi
6859 fi
6860
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6862 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6863 # Check whether --enable-tls was given.
6864 if test "${enable_tls+set}" = set; then :
6865 enableval=$enable_tls;
6866 if test "$enableval" = yes; then
6867 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6868 else
6869 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6870 fi
6871
6872 else
6873
6874 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6875
6876 fi
6877
6878
6879 eval "$wx_cv_use_tls"
6880
6881 if test x"$enablestring" = xdisable; then
6882 if test $wxUSE_COMPILER_TLS = no; then
6883 result=yes
6884 else
6885 result=no
6886 fi
6887 else
6888 result=$wxUSE_COMPILER_TLS
6889 fi
6890
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6892 $as_echo "$result" >&6; }
6893
6894
6895
6896
6897 enablestring=
6898 defaultval=$wxUSE_ALL_FEATURES
6899 if test -z "$defaultval"; then
6900 if test x"$enablestring" = xdisable; then
6901 defaultval=yes
6902 else
6903 defaultval=no
6904 fi
6905 fi
6906
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6908 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6909 # Check whether --enable-intl was given.
6910 if test "${enable_intl+set}" = set; then :
6911 enableval=$enable_intl;
6912 if test "$enableval" = yes; then
6913 wx_cv_use_intl='wxUSE_INTL=yes'
6914 else
6915 wx_cv_use_intl='wxUSE_INTL=no'
6916 fi
6917
6918 else
6919
6920 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6921
6922 fi
6923
6924
6925 eval "$wx_cv_use_intl"
6926
6927 if test x"$enablestring" = xdisable; then
6928 if test $wxUSE_INTL = no; then
6929 result=yes
6930 else
6931 result=no
6932 fi
6933 else
6934 result=$wxUSE_INTL
6935 fi
6936
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6938 $as_echo "$result" >&6; }
6939
6940
6941 enablestring=
6942 defaultval=$wxUSE_ALL_FEATURES
6943 if test -z "$defaultval"; then
6944 if test x"$enablestring" = xdisable; then
6945 defaultval=yes
6946 else
6947 defaultval=no
6948 fi
6949 fi
6950
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6952 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6953 # Check whether --enable-xlocale was given.
6954 if test "${enable_xlocale+set}" = set; then :
6955 enableval=$enable_xlocale;
6956 if test "$enableval" = yes; then
6957 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6958 else
6959 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6960 fi
6961
6962 else
6963
6964 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6965
6966 fi
6967
6968
6969 eval "$wx_cv_use_xlocale"
6970
6971 if test x"$enablestring" = xdisable; then
6972 if test $wxUSE_XLOCALE = no; then
6973 result=yes
6974 else
6975 result=no
6976 fi
6977 else
6978 result=$wxUSE_XLOCALE
6979 fi
6980
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6982 $as_echo "$result" >&6; }
6983
6984
6985 enablestring=
6986 defaultval=$wxUSE_ALL_FEATURES
6987 if test -z "$defaultval"; then
6988 if test x"$enablestring" = xdisable; then
6989 defaultval=yes
6990 else
6991 defaultval=no
6992 fi
6993 fi
6994
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
6996 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
6997 # Check whether --enable-config was given.
6998 if test "${enable_config+set}" = set; then :
6999 enableval=$enable_config;
7000 if test "$enableval" = yes; then
7001 wx_cv_use_config='wxUSE_CONFIG=yes'
7002 else
7003 wx_cv_use_config='wxUSE_CONFIG=no'
7004 fi
7005
7006 else
7007
7008 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7009
7010 fi
7011
7012
7013 eval "$wx_cv_use_config"
7014
7015 if test x"$enablestring" = xdisable; then
7016 if test $wxUSE_CONFIG = no; then
7017 result=yes
7018 else
7019 result=no
7020 fi
7021 else
7022 result=$wxUSE_CONFIG
7023 fi
7024
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7026 $as_echo "$result" >&6; }
7027
7028
7029
7030 enablestring=
7031 defaultval=$wxUSE_ALL_FEATURES
7032 if test -z "$defaultval"; then
7033 if test x"$enablestring" = xdisable; then
7034 defaultval=yes
7035 else
7036 defaultval=no
7037 fi
7038 fi
7039
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7041 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7042 # Check whether --enable-protocols was given.
7043 if test "${enable_protocols+set}" = set; then :
7044 enableval=$enable_protocols;
7045 if test "$enableval" = yes; then
7046 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7047 else
7048 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7049 fi
7050
7051 else
7052
7053 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7054
7055 fi
7056
7057
7058 eval "$wx_cv_use_protocols"
7059
7060 if test x"$enablestring" = xdisable; then
7061 if test $wxUSE_PROTOCOL = no; then
7062 result=yes
7063 else
7064 result=no
7065 fi
7066 else
7067 result=$wxUSE_PROTOCOL
7068 fi
7069
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7071 $as_echo "$result" >&6; }
7072
7073
7074 enablestring=
7075 defaultval=$wxUSE_ALL_FEATURES
7076 if test -z "$defaultval"; then
7077 if test x"$enablestring" = xdisable; then
7078 defaultval=yes
7079 else
7080 defaultval=no
7081 fi
7082 fi
7083
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7085 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7086 # Check whether --enable-ftp was given.
7087 if test "${enable_ftp+set}" = set; then :
7088 enableval=$enable_ftp;
7089 if test "$enableval" = yes; then
7090 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7091 else
7092 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7093 fi
7094
7095 else
7096
7097 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7098
7099 fi
7100
7101
7102 eval "$wx_cv_use_ftp"
7103
7104 if test x"$enablestring" = xdisable; then
7105 if test $wxUSE_PROTOCOL_FTP = no; then
7106 result=yes
7107 else
7108 result=no
7109 fi
7110 else
7111 result=$wxUSE_PROTOCOL_FTP
7112 fi
7113
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7115 $as_echo "$result" >&6; }
7116
7117
7118 enablestring=
7119 defaultval=$wxUSE_ALL_FEATURES
7120 if test -z "$defaultval"; then
7121 if test x"$enablestring" = xdisable; then
7122 defaultval=yes
7123 else
7124 defaultval=no
7125 fi
7126 fi
7127
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7129 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7130 # Check whether --enable-http was given.
7131 if test "${enable_http+set}" = set; then :
7132 enableval=$enable_http;
7133 if test "$enableval" = yes; then
7134 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7135 else
7136 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7137 fi
7138
7139 else
7140
7141 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7142
7143 fi
7144
7145
7146 eval "$wx_cv_use_http"
7147
7148 if test x"$enablestring" = xdisable; then
7149 if test $wxUSE_PROTOCOL_HTTP = no; then
7150 result=yes
7151 else
7152 result=no
7153 fi
7154 else
7155 result=$wxUSE_PROTOCOL_HTTP
7156 fi
7157
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7159 $as_echo "$result" >&6; }
7160
7161
7162 enablestring=
7163 defaultval=$wxUSE_ALL_FEATURES
7164 if test -z "$defaultval"; then
7165 if test x"$enablestring" = xdisable; then
7166 defaultval=yes
7167 else
7168 defaultval=no
7169 fi
7170 fi
7171
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7173 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7174 # Check whether --enable-fileproto was given.
7175 if test "${enable_fileproto+set}" = set; then :
7176 enableval=$enable_fileproto;
7177 if test "$enableval" = yes; then
7178 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7179 else
7180 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7181 fi
7182
7183 else
7184
7185 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7186
7187 fi
7188
7189
7190 eval "$wx_cv_use_fileproto"
7191
7192 if test x"$enablestring" = xdisable; then
7193 if test $wxUSE_PROTOCOL_FILE = no; then
7194 result=yes
7195 else
7196 result=no
7197 fi
7198 else
7199 result=$wxUSE_PROTOCOL_FILE
7200 fi
7201
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7203 $as_echo "$result" >&6; }
7204
7205
7206 enablestring=
7207 defaultval=$wxUSE_ALL_FEATURES
7208 if test -z "$defaultval"; then
7209 if test x"$enablestring" = xdisable; then
7210 defaultval=yes
7211 else
7212 defaultval=no
7213 fi
7214 fi
7215
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7217 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7218 # Check whether --enable-sockets was given.
7219 if test "${enable_sockets+set}" = set; then :
7220 enableval=$enable_sockets;
7221 if test "$enableval" = yes; then
7222 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7223 else
7224 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7225 fi
7226
7227 else
7228
7229 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7230
7231 fi
7232
7233
7234 eval "$wx_cv_use_sockets"
7235
7236 if test x"$enablestring" = xdisable; then
7237 if test $wxUSE_SOCKETS = no; then
7238 result=yes
7239 else
7240 result=no
7241 fi
7242 else
7243 result=$wxUSE_SOCKETS
7244 fi
7245
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7247 $as_echo "$result" >&6; }
7248
7249
7250 enablestring=
7251 defaultval=$wxUSE_ALL_FEATURES
7252 if test -z "$defaultval"; then
7253 if test x"$enablestring" = xdisable; then
7254 defaultval=yes
7255 else
7256 defaultval=no
7257 fi
7258 fi
7259
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7261 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7262 # Check whether --enable-ipv6 was given.
7263 if test "${enable_ipv6+set}" = set; then :
7264 enableval=$enable_ipv6;
7265 if test "$enableval" = yes; then
7266 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7267 else
7268 wx_cv_use_ipv6='wxUSE_IPV6=no'
7269 fi
7270
7271 else
7272
7273 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7274
7275 fi
7276
7277
7278 eval "$wx_cv_use_ipv6"
7279
7280 if test x"$enablestring" = xdisable; then
7281 if test $wxUSE_IPV6 = no; then
7282 result=yes
7283 else
7284 result=no
7285 fi
7286 else
7287 result=$wxUSE_IPV6
7288 fi
7289
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7291 $as_echo "$result" >&6; }
7292
7293
7294 enablestring=
7295 defaultval=$wxUSE_ALL_FEATURES
7296 if test -z "$defaultval"; then
7297 if test x"$enablestring" = xdisable; then
7298 defaultval=yes
7299 else
7300 defaultval=no
7301 fi
7302 fi
7303
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7305 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7306 # Check whether --enable-ole was given.
7307 if test "${enable_ole+set}" = set; then :
7308 enableval=$enable_ole;
7309 if test "$enableval" = yes; then
7310 wx_cv_use_ole='wxUSE_OLE=yes'
7311 else
7312 wx_cv_use_ole='wxUSE_OLE=no'
7313 fi
7314
7315 else
7316
7317 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7318
7319 fi
7320
7321
7322 eval "$wx_cv_use_ole"
7323
7324 if test x"$enablestring" = xdisable; then
7325 if test $wxUSE_OLE = no; then
7326 result=yes
7327 else
7328 result=no
7329 fi
7330 else
7331 result=$wxUSE_OLE
7332 fi
7333
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7335 $as_echo "$result" >&6; }
7336
7337
7338 enablestring=
7339 defaultval=$wxUSE_ALL_FEATURES
7340 if test -z "$defaultval"; then
7341 if test x"$enablestring" = xdisable; then
7342 defaultval=yes
7343 else
7344 defaultval=no
7345 fi
7346 fi
7347
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7349 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7350 # Check whether --enable-dataobj was given.
7351 if test "${enable_dataobj+set}" = set; then :
7352 enableval=$enable_dataobj;
7353 if test "$enableval" = yes; then
7354 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7355 else
7356 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7357 fi
7358
7359 else
7360
7361 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7362
7363 fi
7364
7365
7366 eval "$wx_cv_use_dataobj"
7367
7368 if test x"$enablestring" = xdisable; then
7369 if test $wxUSE_DATAOBJ = no; then
7370 result=yes
7371 else
7372 result=no
7373 fi
7374 else
7375 result=$wxUSE_DATAOBJ
7376 fi
7377
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7379 $as_echo "$result" >&6; }
7380
7381
7382
7383 enablestring=
7384 defaultval=$wxUSE_ALL_FEATURES
7385 if test -z "$defaultval"; then
7386 if test x"$enablestring" = xdisable; then
7387 defaultval=yes
7388 else
7389 defaultval=no
7390 fi
7391 fi
7392
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7394 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7395 # Check whether --enable-ipc was given.
7396 if test "${enable_ipc+set}" = set; then :
7397 enableval=$enable_ipc;
7398 if test "$enableval" = yes; then
7399 wx_cv_use_ipc='wxUSE_IPC=yes'
7400 else
7401 wx_cv_use_ipc='wxUSE_IPC=no'
7402 fi
7403
7404 else
7405
7406 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7407
7408 fi
7409
7410
7411 eval "$wx_cv_use_ipc"
7412
7413 if test x"$enablestring" = xdisable; then
7414 if test $wxUSE_IPC = no; then
7415 result=yes
7416 else
7417 result=no
7418 fi
7419 else
7420 result=$wxUSE_IPC
7421 fi
7422
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7424 $as_echo "$result" >&6; }
7425
7426
7427
7428 enablestring=
7429 defaultval=$wxUSE_ALL_FEATURES
7430 if test -z "$defaultval"; then
7431 if test x"$enablestring" = xdisable; then
7432 defaultval=yes
7433 else
7434 defaultval=no
7435 fi
7436 fi
7437
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7439 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7440 # Check whether --enable-baseevtloop was given.
7441 if test "${enable_baseevtloop+set}" = set; then :
7442 enableval=$enable_baseevtloop;
7443 if test "$enableval" = yes; then
7444 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7445 else
7446 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7447 fi
7448
7449 else
7450
7451 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7452
7453 fi
7454
7455
7456 eval "$wx_cv_use_baseevtloop"
7457
7458 if test x"$enablestring" = xdisable; then
7459 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7460 result=yes
7461 else
7462 result=no
7463 fi
7464 else
7465 result=$wxUSE_CONSOLE_EVENTLOOP
7466 fi
7467
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7469 $as_echo "$result" >&6; }
7470
7471
7472 enablestring=
7473 defaultval=$wxUSE_ALL_FEATURES
7474 if test -z "$defaultval"; then
7475 if test x"$enablestring" = xdisable; then
7476 defaultval=yes
7477 else
7478 defaultval=no
7479 fi
7480 fi
7481
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7483 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7484 # Check whether --enable-epollloop was given.
7485 if test "${enable_epollloop+set}" = set; then :
7486 enableval=$enable_epollloop;
7487 if test "$enableval" = yes; then
7488 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7489 else
7490 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7491 fi
7492
7493 else
7494
7495 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7496
7497 fi
7498
7499
7500 eval "$wx_cv_use_epollloop"
7501
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_EPOLL_DISPATCHER = no; then
7504 result=yes
7505 else
7506 result=no
7507 fi
7508 else
7509 result=$wxUSE_EPOLL_DISPATCHER
7510 fi
7511
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7513 $as_echo "$result" >&6; }
7514
7515
7516 enablestring=
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7520 defaultval=yes
7521 else
7522 defaultval=no
7523 fi
7524 fi
7525
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7527 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7528 # Check whether --enable-selectloop was given.
7529 if test "${enable_selectloop+set}" = set; then :
7530 enableval=$enable_selectloop;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7533 else
7534 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7535 fi
7536
7537 else
7538
7539 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7540
7541 fi
7542
7543
7544 eval "$wx_cv_use_selectloop"
7545
7546 if test x"$enablestring" = xdisable; then
7547 if test $wxUSE_SELECT_DISPATCHER = no; then
7548 result=yes
7549 else
7550 result=no
7551 fi
7552 else
7553 result=$wxUSE_SELECT_DISPATCHER
7554 fi
7555
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7557 $as_echo "$result" >&6; }
7558
7559
7560
7561 enablestring=
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7565 defaultval=yes
7566 else
7567 defaultval=no
7568 fi
7569 fi
7570
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7572 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7573 # Check whether --enable-any was given.
7574 if test "${enable_any+set}" = set; then :
7575 enableval=$enable_any;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_any='wxUSE_ANY=yes'
7578 else
7579 wx_cv_use_any='wxUSE_ANY=no'
7580 fi
7581
7582 else
7583
7584 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7585
7586 fi
7587
7588
7589 eval "$wx_cv_use_any"
7590
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_ANY = no; then
7593 result=yes
7594 else
7595 result=no
7596 fi
7597 else
7598 result=$wxUSE_ANY
7599 fi
7600
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7602 $as_echo "$result" >&6; }
7603
7604
7605 enablestring=
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7609 defaultval=yes
7610 else
7611 defaultval=no
7612 fi
7613 fi
7614
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7616 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7617 # Check whether --enable-apple_ieee was given.
7618 if test "${enable_apple_ieee+set}" = set; then :
7619 enableval=$enable_apple_ieee;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7622 else
7623 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7624 fi
7625
7626 else
7627
7628 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7629
7630 fi
7631
7632
7633 eval "$wx_cv_use_apple_ieee"
7634
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_APPLE_IEEE = no; then
7637 result=yes
7638 else
7639 result=no
7640 fi
7641 else
7642 result=$wxUSE_APPLE_IEEE
7643 fi
7644
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7646 $as_echo "$result" >&6; }
7647
7648
7649 enablestring=
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7653 defaultval=yes
7654 else
7655 defaultval=no
7656 fi
7657 fi
7658
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7660 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7661 # Check whether --enable-arcstream was given.
7662 if test "${enable_arcstream+set}" = set; then :
7663 enableval=$enable_arcstream;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7666 else
7667 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7668 fi
7669
7670 else
7671
7672 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7673
7674 fi
7675
7676
7677 eval "$wx_cv_use_arcstream"
7678
7679 if test x"$enablestring" = xdisable; then
7680 if test $wxUSE_ARCHIVE_STREAMS = no; then
7681 result=yes
7682 else
7683 result=no
7684 fi
7685 else
7686 result=$wxUSE_ARCHIVE_STREAMS
7687 fi
7688
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7690 $as_echo "$result" >&6; }
7691
7692
7693 enablestring=
7694 defaultval=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x"$enablestring" = xdisable; then
7697 defaultval=yes
7698 else
7699 defaultval=no
7700 fi
7701 fi
7702
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7704 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7705 # Check whether --enable-base64 was given.
7706 if test "${enable_base64+set}" = set; then :
7707 enableval=$enable_base64;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_base64='wxUSE_BASE64=yes'
7710 else
7711 wx_cv_use_base64='wxUSE_BASE64=no'
7712 fi
7713
7714 else
7715
7716 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7717
7718 fi
7719
7720
7721 eval "$wx_cv_use_base64"
7722
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_BASE64 = no; then
7725 result=yes
7726 else
7727 result=no
7728 fi
7729 else
7730 result=$wxUSE_BASE64
7731 fi
7732
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7734 $as_echo "$result" >&6; }
7735
7736
7737 enablestring=
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7741 defaultval=yes
7742 else
7743 defaultval=no
7744 fi
7745 fi
7746
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7748 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7749 # Check whether --enable-backtrace was given.
7750 if test "${enable_backtrace+set}" = set; then :
7751 enableval=$enable_backtrace;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7754 else
7755 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7756 fi
7757
7758 else
7759
7760 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7761
7762 fi
7763
7764
7765 eval "$wx_cv_use_backtrace"
7766
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_STACKWALKER = no; then
7769 result=yes
7770 else
7771 result=no
7772 fi
7773 else
7774 result=$wxUSE_STACKWALKER
7775 fi
7776
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7778 $as_echo "$result" >&6; }
7779
7780
7781 enablestring=
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7785 defaultval=yes
7786 else
7787 defaultval=no
7788 fi
7789 fi
7790
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7792 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7793 # Check whether --enable-catch_segvs was given.
7794 if test "${enable_catch_segvs+set}" = set; then :
7795 enableval=$enable_catch_segvs;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7798 else
7799 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7800 fi
7801
7802 else
7803
7804 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7805
7806 fi
7807
7808
7809 eval "$wx_cv_use_catch_segvs"
7810
7811 if test x"$enablestring" = xdisable; then
7812 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7813 result=yes
7814 else
7815 result=no
7816 fi
7817 else
7818 result=$wxUSE_ON_FATAL_EXCEPTION
7819 fi
7820
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7822 $as_echo "$result" >&6; }
7823
7824
7825 enablestring=
7826 defaultval=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x"$enablestring" = xdisable; then
7829 defaultval=yes
7830 else
7831 defaultval=no
7832 fi
7833 fi
7834
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7836 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7837 # Check whether --enable-cmdline was given.
7838 if test "${enable_cmdline+set}" = set; then :
7839 enableval=$enable_cmdline;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7842 else
7843 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7844 fi
7845
7846 else
7847
7848 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7849
7850 fi
7851
7852
7853 eval "$wx_cv_use_cmdline"
7854
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_CMDLINE_PARSER = no; then
7857 result=yes
7858 else
7859 result=no
7860 fi
7861 else
7862 result=$wxUSE_CMDLINE_PARSER
7863 fi
7864
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7866 $as_echo "$result" >&6; }
7867
7868
7869 enablestring=
7870 defaultval=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x"$enablestring" = xdisable; then
7873 defaultval=yes
7874 else
7875 defaultval=no
7876 fi
7877 fi
7878
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7880 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7881 # Check whether --enable-datetime was given.
7882 if test "${enable_datetime+set}" = set; then :
7883 enableval=$enable_datetime;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7886 else
7887 wx_cv_use_datetime='wxUSE_DATETIME=no'
7888 fi
7889
7890 else
7891
7892 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7893
7894 fi
7895
7896
7897 eval "$wx_cv_use_datetime"
7898
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_DATETIME = no; then
7901 result=yes
7902 else
7903 result=no
7904 fi
7905 else
7906 result=$wxUSE_DATETIME
7907 fi
7908
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7910 $as_echo "$result" >&6; }
7911
7912
7913 enablestring=
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7917 defaultval=yes
7918 else
7919 defaultval=no
7920 fi
7921 fi
7922
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7924 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7925 # Check whether --enable-debugreport was given.
7926 if test "${enable_debugreport+set}" = set; then :
7927 enableval=$enable_debugreport;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7930 else
7931 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7932 fi
7933
7934 else
7935
7936 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7937
7938 fi
7939
7940
7941 eval "$wx_cv_use_debugreport"
7942
7943 if test x"$enablestring" = xdisable; then
7944 if test $wxUSE_DEBUGREPORT = no; then
7945 result=yes
7946 else
7947 result=no
7948 fi
7949 else
7950 result=$wxUSE_DEBUGREPORT
7951 fi
7952
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7954 $as_echo "$result" >&6; }
7955
7956
7957 enablestring=
7958 defaultval=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x"$enablestring" = xdisable; then
7961 defaultval=yes
7962 else
7963 defaultval=no
7964 fi
7965 fi
7966
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7968 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7969 # Check whether --enable-dialupman was given.
7970 if test "${enable_dialupman+set}" = set; then :
7971 enableval=$enable_dialupman;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7974 else
7975 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7976 fi
7977
7978 else
7979
7980 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7981
7982 fi
7983
7984
7985 eval "$wx_cv_use_dialupman"
7986
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_DIALUP_MANAGER = no; then
7989 result=yes
7990 else
7991 result=no
7992 fi
7993 else
7994 result=$wxUSE_DIALUP_MANAGER
7995 fi
7996
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7998 $as_echo "$result" >&6; }
7999
8000
8001 enablestring=
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8005 defaultval=yes
8006 else
8007 defaultval=no
8008 fi
8009 fi
8010
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8012 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8013 # Check whether --enable-dynlib was given.
8014 if test "${enable_dynlib+set}" = set; then :
8015 enableval=$enable_dynlib;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8018 else
8019 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8020 fi
8021
8022 else
8023
8024 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8025
8026 fi
8027
8028
8029 eval "$wx_cv_use_dynlib"
8030
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_DYNLIB_CLASS = no; then
8033 result=yes
8034 else
8035 result=no
8036 fi
8037 else
8038 result=$wxUSE_DYNLIB_CLASS
8039 fi
8040
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8042 $as_echo "$result" >&6; }
8043
8044
8045 enablestring=
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8049 defaultval=yes
8050 else
8051 defaultval=no
8052 fi
8053 fi
8054
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8056 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8057 # Check whether --enable-dynamicloader was given.
8058 if test "${enable_dynamicloader+set}" = set; then :
8059 enableval=$enable_dynamicloader;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8062 else
8063 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8064 fi
8065
8066 else
8067
8068 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8069
8070 fi
8071
8072
8073 eval "$wx_cv_use_dynamicloader"
8074
8075 if test x"$enablestring" = xdisable; then
8076 if test $wxUSE_DYNAMIC_LOADER = no; then
8077 result=yes
8078 else
8079 result=no
8080 fi
8081 else
8082 result=$wxUSE_DYNAMIC_LOADER
8083 fi
8084
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8086 $as_echo "$result" >&6; }
8087
8088
8089 enablestring=
8090 defaultval=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x"$enablestring" = xdisable; then
8093 defaultval=yes
8094 else
8095 defaultval=no
8096 fi
8097 fi
8098
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8100 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8101 # Check whether --enable-exceptions was given.
8102 if test "${enable_exceptions+set}" = set; then :
8103 enableval=$enable_exceptions;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8106 else
8107 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8108 fi
8109
8110 else
8111
8112 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8113
8114 fi
8115
8116
8117 eval "$wx_cv_use_exceptions"
8118
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_EXCEPTIONS = no; then
8121 result=yes
8122 else
8123 result=no
8124 fi
8125 else
8126 result=$wxUSE_EXCEPTIONS
8127 fi
8128
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8130 $as_echo "$result" >&6; }
8131
8132
8133 enablestring=
8134 defaultval=$wxUSE_ALL_FEATURES
8135 if test -z "$defaultval"; then
8136 if test x"$enablestring" = xdisable; then
8137 defaultval=yes
8138 else
8139 defaultval=no
8140 fi
8141 fi
8142
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8144 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8145 # Check whether --enable-ffile was given.
8146 if test "${enable_ffile+set}" = set; then :
8147 enableval=$enable_ffile;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_ffile='wxUSE_FFILE=yes'
8150 else
8151 wx_cv_use_ffile='wxUSE_FFILE=no'
8152 fi
8153
8154 else
8155
8156 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8157
8158 fi
8159
8160
8161 eval "$wx_cv_use_ffile"
8162
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_FFILE = no; then
8165 result=yes
8166 else
8167 result=no
8168 fi
8169 else
8170 result=$wxUSE_FFILE
8171 fi
8172
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8174 $as_echo "$result" >&6; }
8175
8176
8177 enablestring=
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8181 defaultval=yes
8182 else
8183 defaultval=no
8184 fi
8185 fi
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8188 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8189 # Check whether --enable-file was given.
8190 if test "${enable_file+set}" = set; then :
8191 enableval=$enable_file;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_file='wxUSE_FILE=yes'
8194 else
8195 wx_cv_use_file='wxUSE_FILE=no'
8196 fi
8197
8198 else
8199
8200 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8201
8202 fi
8203
8204
8205 eval "$wx_cv_use_file"
8206
8207 if test x"$enablestring" = xdisable; then
8208 if test $wxUSE_FILE = no; then
8209 result=yes
8210 else
8211 result=no
8212 fi
8213 else
8214 result=$wxUSE_FILE
8215 fi
8216
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8218 $as_echo "$result" >&6; }
8219
8220
8221 enablestring=
8222 defaultval=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x"$enablestring" = xdisable; then
8225 defaultval=yes
8226 else
8227 defaultval=no
8228 fi
8229 fi
8230
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8232 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8233 # Check whether --enable-filehistory was given.
8234 if test "${enable_filehistory+set}" = set; then :
8235 enableval=$enable_filehistory;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8238 else
8239 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8240 fi
8241
8242 else
8243
8244 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8245
8246 fi
8247
8248
8249 eval "$wx_cv_use_filehistory"
8250
8251 if test x"$enablestring" = xdisable; then
8252 if test $wxUSE_FILE_HISTORY = no; then
8253 result=yes
8254 else
8255 result=no
8256 fi
8257 else
8258 result=$wxUSE_FILE_HISTORY
8259 fi
8260
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8262 $as_echo "$result" >&6; }
8263
8264
8265 enablestring=
8266 defaultval=$wxUSE_ALL_FEATURES
8267 if test -z "$defaultval"; then
8268 if test x"$enablestring" = xdisable; then
8269 defaultval=yes
8270 else
8271 defaultval=no
8272 fi
8273 fi
8274
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8276 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8277 # Check whether --enable-filesystem was given.
8278 if test "${enable_filesystem+set}" = set; then :
8279 enableval=$enable_filesystem;
8280 if test "$enableval" = yes; then
8281 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8282 else
8283 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8284 fi
8285
8286 else
8287
8288 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8289
8290 fi
8291
8292
8293 eval "$wx_cv_use_filesystem"
8294
8295 if test x"$enablestring" = xdisable; then
8296 if test $wxUSE_FILESYSTEM = no; then
8297 result=yes
8298 else
8299 result=no
8300 fi
8301 else
8302 result=$wxUSE_FILESYSTEM
8303 fi
8304
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8306 $as_echo "$result" >&6; }
8307
8308
8309 enablestring=
8310 defaultval=$wxUSE_ALL_FEATURES
8311 if test -z "$defaultval"; then
8312 if test x"$enablestring" = xdisable; then
8313 defaultval=yes
8314 else
8315 defaultval=no
8316 fi
8317 fi
8318
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8320 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8321 # Check whether --enable-fontenum was given.
8322 if test "${enable_fontenum+set}" = set; then :
8323 enableval=$enable_fontenum;
8324 if test "$enableval" = yes; then
8325 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8326 else
8327 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8328 fi
8329
8330 else
8331
8332 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8333
8334 fi
8335
8336
8337 eval "$wx_cv_use_fontenum"
8338
8339 if test x"$enablestring" = xdisable; then
8340 if test $wxUSE_FONTENUM = no; then
8341 result=yes
8342 else
8343 result=no
8344 fi
8345 else
8346 result=$wxUSE_FONTENUM
8347 fi
8348
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8350 $as_echo "$result" >&6; }
8351
8352
8353 enablestring=
8354 defaultval=$wxUSE_ALL_FEATURES
8355 if test -z "$defaultval"; then
8356 if test x"$enablestring" = xdisable; then
8357 defaultval=yes
8358 else
8359 defaultval=no
8360 fi
8361 fi
8362
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8364 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8365 # Check whether --enable-fontmap was given.
8366 if test "${enable_fontmap+set}" = set; then :
8367 enableval=$enable_fontmap;
8368 if test "$enableval" = yes; then
8369 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8370 else
8371 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8372 fi
8373
8374 else
8375
8376 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8377
8378 fi
8379
8380
8381 eval "$wx_cv_use_fontmap"
8382
8383 if test x"$enablestring" = xdisable; then
8384 if test $wxUSE_FONTMAP = no; then
8385 result=yes
8386 else
8387 result=no
8388 fi
8389 else
8390 result=$wxUSE_FONTMAP
8391 fi
8392
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8394 $as_echo "$result" >&6; }
8395
8396
8397 enablestring=
8398 defaultval=$wxUSE_ALL_FEATURES
8399 if test -z "$defaultval"; then
8400 if test x"$enablestring" = xdisable; then
8401 defaultval=yes
8402 else
8403 defaultval=no
8404 fi
8405 fi
8406
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8408 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8409 # Check whether --enable-fs_archive was given.
8410 if test "${enable_fs_archive+set}" = set; then :
8411 enableval=$enable_fs_archive;
8412 if test "$enableval" = yes; then
8413 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8414 else
8415 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8416 fi
8417
8418 else
8419
8420 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8421
8422 fi
8423
8424
8425 eval "$wx_cv_use_fs_archive"
8426
8427 if test x"$enablestring" = xdisable; then
8428 if test $wxUSE_FS_ARCHIVE = no; then
8429 result=yes
8430 else
8431 result=no
8432 fi
8433 else
8434 result=$wxUSE_FS_ARCHIVE
8435 fi
8436
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8438 $as_echo "$result" >&6; }
8439
8440
8441 enablestring=
8442 defaultval=$wxUSE_ALL_FEATURES
8443 if test -z "$defaultval"; then
8444 if test x"$enablestring" = xdisable; then
8445 defaultval=yes
8446 else
8447 defaultval=no
8448 fi
8449 fi
8450
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8452 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8453 # Check whether --enable-fs_inet was given.
8454 if test "${enable_fs_inet+set}" = set; then :
8455 enableval=$enable_fs_inet;
8456 if test "$enableval" = yes; then
8457 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8458 else
8459 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8460 fi
8461
8462 else
8463
8464 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8465
8466 fi
8467
8468
8469 eval "$wx_cv_use_fs_inet"
8470
8471 if test x"$enablestring" = xdisable; then
8472 if test $wxUSE_FS_INET = no; then
8473 result=yes
8474 else
8475 result=no
8476 fi
8477 else
8478 result=$wxUSE_FS_INET
8479 fi
8480
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8482 $as_echo "$result" >&6; }
8483
8484
8485 enablestring=
8486 defaultval=$wxUSE_ALL_FEATURES
8487 if test -z "$defaultval"; then
8488 if test x"$enablestring" = xdisable; then
8489 defaultval=yes
8490 else
8491 defaultval=no
8492 fi
8493 fi
8494
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8496 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8497 # Check whether --enable-fs_zip was given.
8498 if test "${enable_fs_zip+set}" = set; then :
8499 enableval=$enable_fs_zip;
8500 if test "$enableval" = yes; then
8501 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8502 else
8503 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8504 fi
8505
8506 else
8507
8508 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8509
8510 fi
8511
8512
8513 eval "$wx_cv_use_fs_zip"
8514
8515 if test x"$enablestring" = xdisable; then
8516 if test $wxUSE_FS_ZIP = no; then
8517 result=yes
8518 else
8519 result=no
8520 fi
8521 else
8522 result=$wxUSE_FS_ZIP
8523 fi
8524
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8526 $as_echo "$result" >&6; }
8527
8528
8529 enablestring=
8530 defaultval=$wxUSE_ALL_FEATURES
8531 if test -z "$defaultval"; then
8532 if test x"$enablestring" = xdisable; then
8533 defaultval=yes
8534 else
8535 defaultval=no
8536 fi
8537 fi
8538
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8540 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8541 # Check whether --enable-fswatcher was given.
8542 if test "${enable_fswatcher+set}" = set; then :
8543 enableval=$enable_fswatcher;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8546 else
8547 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8548 fi
8549
8550 else
8551
8552 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8553
8554 fi
8555
8556
8557 eval "$wx_cv_use_fswatcher"
8558
8559 if test x"$enablestring" = xdisable; then
8560 if test $wxUSE_FSWATCHER = no; then
8561 result=yes
8562 else
8563 result=no
8564 fi
8565 else
8566 result=$wxUSE_FSWATCHER
8567 fi
8568
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8570 $as_echo "$result" >&6; }
8571
8572
8573 enablestring=
8574 defaultval=$wxUSE_ALL_FEATURES
8575 if test -z "$defaultval"; then
8576 if test x"$enablestring" = xdisable; then
8577 defaultval=yes
8578 else
8579 defaultval=no
8580 fi
8581 fi
8582
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8584 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8585 # Check whether --enable-geometry was given.
8586 if test "${enable_geometry+set}" = set; then :
8587 enableval=$enable_geometry;
8588 if test "$enableval" = yes; then
8589 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8590 else
8591 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8592 fi
8593
8594 else
8595
8596 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8597
8598 fi
8599
8600
8601 eval "$wx_cv_use_geometry"
8602
8603 if test x"$enablestring" = xdisable; then
8604 if test $wxUSE_GEOMETRY = no; then
8605 result=yes
8606 else
8607 result=no
8608 fi
8609 else
8610 result=$wxUSE_GEOMETRY
8611 fi
8612
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8614 $as_echo "$result" >&6; }
8615
8616
8617 enablestring=
8618 defaultval=$wxUSE_ALL_FEATURES
8619 if test -z "$defaultval"; then
8620 if test x"$enablestring" = xdisable; then
8621 defaultval=yes
8622 else
8623 defaultval=no
8624 fi
8625 fi
8626
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8628 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8629 # Check whether --enable-log was given.
8630 if test "${enable_log+set}" = set; then :
8631 enableval=$enable_log;
8632 if test "$enableval" = yes; then
8633 wx_cv_use_log='wxUSE_LOG=yes'
8634 else
8635 wx_cv_use_log='wxUSE_LOG=no'
8636 fi
8637
8638 else
8639
8640 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8641
8642 fi
8643
8644
8645 eval "$wx_cv_use_log"
8646
8647 if test x"$enablestring" = xdisable; then
8648 if test $wxUSE_LOG = no; then
8649 result=yes
8650 else
8651 result=no
8652 fi
8653 else
8654 result=$wxUSE_LOG
8655 fi
8656
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8658 $as_echo "$result" >&6; }
8659
8660
8661 enablestring=
8662 defaultval=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x"$enablestring" = xdisable; then
8665 defaultval=yes
8666 else
8667 defaultval=no
8668 fi
8669 fi
8670
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8672 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8673 # Check whether --enable-longlong was given.
8674 if test "${enable_longlong+set}" = set; then :
8675 enableval=$enable_longlong;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8678 else
8679 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8680 fi
8681
8682 else
8683
8684 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8685
8686 fi
8687
8688
8689 eval "$wx_cv_use_longlong"
8690
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_LONGLONG = no; then
8693 result=yes
8694 else
8695 result=no
8696 fi
8697 else
8698 result=$wxUSE_LONGLONG
8699 fi
8700
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8702 $as_echo "$result" >&6; }
8703
8704
8705 enablestring=
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8716 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8717 # Check whether --enable-mimetype was given.
8718 if test "${enable_mimetype+set}" = set; then :
8719 enableval=$enable_mimetype;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8722 else
8723 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8724 fi
8725
8726 else
8727
8728 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8729
8730 fi
8731
8732
8733 eval "$wx_cv_use_mimetype"
8734
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_MIMETYPE = no; then
8737 result=yes
8738 else
8739 result=no
8740 fi
8741 else
8742 result=$wxUSE_MIMETYPE
8743 fi
8744
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8746 $as_echo "$result" >&6; }
8747
8748
8749 enablestring=
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8753 defaultval=yes
8754 else
8755 defaultval=no
8756 fi
8757 fi
8758
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8760 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8761 # Check whether --enable-printfposparam was given.
8762 if test "${enable_printfposparam+set}" = set; then :
8763 enableval=$enable_printfposparam;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8766 else
8767 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8768 fi
8769
8770 else
8771
8772 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8773
8774 fi
8775
8776
8777 eval "$wx_cv_use_printfposparam"
8778
8779 if test x"$enablestring" = xdisable; then
8780 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8781 result=yes
8782 else
8783 result=no
8784 fi
8785 else
8786 result=$wxUSE_PRINTF_POS_PARAMS
8787 fi
8788
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8790 $as_echo "$result" >&6; }
8791
8792
8793 enablestring=
8794 defaultval=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x"$enablestring" = xdisable; then
8797 defaultval=yes
8798 else
8799 defaultval=no
8800 fi
8801 fi
8802
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8804 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8805 # Check whether --enable-snglinst was given.
8806 if test "${enable_snglinst+set}" = set; then :
8807 enableval=$enable_snglinst;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8810 else
8811 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8812 fi
8813
8814 else
8815
8816 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8817
8818 fi
8819
8820
8821 eval "$wx_cv_use_snglinst"
8822
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_SNGLINST_CHECKER = no; then
8825 result=yes
8826 else
8827 result=no
8828 fi
8829 else
8830 result=$wxUSE_SNGLINST_CHECKER
8831 fi
8832
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8834 $as_echo "$result" >&6; }
8835
8836
8837 enablestring=
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8841 defaultval=yes
8842 else
8843 defaultval=no
8844 fi
8845 fi
8846
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8848 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8849 # Check whether --enable-sound was given.
8850 if test "${enable_sound+set}" = set; then :
8851 enableval=$enable_sound;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_sound='wxUSE_SOUND=yes'
8854 else
8855 wx_cv_use_sound='wxUSE_SOUND=no'
8856 fi
8857
8858 else
8859
8860 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8861
8862 fi
8863
8864
8865 eval "$wx_cv_use_sound"
8866
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_SOUND = no; then
8869 result=yes
8870 else
8871 result=no
8872 fi
8873 else
8874 result=$wxUSE_SOUND
8875 fi
8876
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8878 $as_echo "$result" >&6; }
8879
8880
8881 enablestring=
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8885 defaultval=yes
8886 else
8887 defaultval=no
8888 fi
8889 fi
8890
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8892 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8893 # Check whether --enable-stdpaths was given.
8894 if test "${enable_stdpaths+set}" = set; then :
8895 enableval=$enable_stdpaths;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8898 else
8899 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8900 fi
8901
8902 else
8903
8904 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8905
8906 fi
8907
8908
8909 eval "$wx_cv_use_stdpaths"
8910
8911 if test x"$enablestring" = xdisable; then
8912 if test $wxUSE_STDPATHS = no; then
8913 result=yes
8914 else
8915 result=no
8916 fi
8917 else
8918 result=$wxUSE_STDPATHS
8919 fi
8920
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8922 $as_echo "$result" >&6; }
8923
8924
8925 enablestring=
8926 defaultval=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x"$enablestring" = xdisable; then
8929 defaultval=yes
8930 else
8931 defaultval=no
8932 fi
8933 fi
8934
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8936 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8937 # Check whether --enable-stopwatch was given.
8938 if test "${enable_stopwatch+set}" = set; then :
8939 enableval=$enable_stopwatch;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8942 else
8943 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8944 fi
8945
8946 else
8947
8948 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8949
8950 fi
8951
8952
8953 eval "$wx_cv_use_stopwatch"
8954
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_STOPWATCH = no; then
8957 result=yes
8958 else
8959 result=no
8960 fi
8961 else
8962 result=$wxUSE_STOPWATCH
8963 fi
8964
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8966 $as_echo "$result" >&6; }
8967
8968
8969 enablestring=
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8973 defaultval=yes
8974 else
8975 defaultval=no
8976 fi
8977 fi
8978
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
8980 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
8981 # Check whether --enable-streams was given.
8982 if test "${enable_streams+set}" = set; then :
8983 enableval=$enable_streams;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_streams='wxUSE_STREAMS=yes'
8986 else
8987 wx_cv_use_streams='wxUSE_STREAMS=no'
8988 fi
8989
8990 else
8991
8992 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8993
8994 fi
8995
8996
8997 eval "$wx_cv_use_streams"
8998
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_STREAMS = no; then
9001 result=yes
9002 else
9003 result=no
9004 fi
9005 else
9006 result=$wxUSE_STREAMS
9007 fi
9008
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9010 $as_echo "$result" >&6; }
9011
9012
9013 enablestring=
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9017 defaultval=yes
9018 else
9019 defaultval=no
9020 fi
9021 fi
9022
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9024 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9025 # Check whether --enable-sysoptions was given.
9026 if test "${enable_sysoptions+set}" = set; then :
9027 enableval=$enable_sysoptions;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9030 else
9031 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9032 fi
9033
9034 else
9035
9036 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9037
9038 fi
9039
9040
9041 eval "$wx_cv_use_sysoptions"
9042
9043 if test x"$enablestring" = xdisable; then
9044 if test $wxUSE_SYSTEM_OPTIONS = no; then
9045 result=yes
9046 else
9047 result=no
9048 fi
9049 else
9050 result=$wxUSE_SYSTEM_OPTIONS
9051 fi
9052
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9054 $as_echo "$result" >&6; }
9055
9056
9057 enablestring=
9058 defaultval=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x"$enablestring" = xdisable; then
9061 defaultval=yes
9062 else
9063 defaultval=no
9064 fi
9065 fi
9066
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9068 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9069 # Check whether --enable-tarstream was given.
9070 if test "${enable_tarstream+set}" = set; then :
9071 enableval=$enable_tarstream;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9074 else
9075 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9076 fi
9077
9078 else
9079
9080 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9081
9082 fi
9083
9084
9085 eval "$wx_cv_use_tarstream"
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_TARSTREAM = no; then
9089 result=yes
9090 else
9091 result=no
9092 fi
9093 else
9094 result=$wxUSE_TARSTREAM
9095 fi
9096
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9098 $as_echo "$result" >&6; }
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9112 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9113 # Check whether --enable-textbuf was given.
9114 if test "${enable_textbuf+set}" = set; then :
9115 enableval=$enable_textbuf;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9118 else
9119 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9120 fi
9121
9122 else
9123
9124 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9125
9126 fi
9127
9128
9129 eval "$wx_cv_use_textbuf"
9130
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_TEXTBUFFER = no; then
9133 result=yes
9134 else
9135 result=no
9136 fi
9137 else
9138 result=$wxUSE_TEXTBUFFER
9139 fi
9140
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9142 $as_echo "$result" >&6; }
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9156 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9157 # Check whether --enable-textfile was given.
9158 if test "${enable_textfile+set}" = set; then :
9159 enableval=$enable_textfile;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9162 else
9163 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_textfile"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_TEXTFILE = no; then
9177 result=yes
9178 else
9179 result=no
9180 fi
9181 else
9182 result=$wxUSE_TEXTFILE
9183 fi
9184
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9186 $as_echo "$result" >&6; }
9187
9188
9189 enablestring=
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9193 defaultval=yes
9194 else
9195 defaultval=no
9196 fi
9197 fi
9198
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9200 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9201 # Check whether --enable-timer was given.
9202 if test "${enable_timer+set}" = set; then :
9203 enableval=$enable_timer;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_timer='wxUSE_TIMER=yes'
9206 else
9207 wx_cv_use_timer='wxUSE_TIMER=no'
9208 fi
9209
9210 else
9211
9212 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9213
9214 fi
9215
9216
9217 eval "$wx_cv_use_timer"
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_TIMER = no; then
9221 result=yes
9222 else
9223 result=no
9224 fi
9225 else
9226 result=$wxUSE_TIMER
9227 fi
9228
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9230 $as_echo "$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9244 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9245 # Check whether --enable-variant was given.
9246 if test "${enable_variant+set}" = set; then :
9247 enableval=$enable_variant;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_variant='wxUSE_VARIANT=yes'
9250 else
9251 wx_cv_use_variant='wxUSE_VARIANT=no'
9252 fi
9253
9254 else
9255
9256 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9257
9258 fi
9259
9260
9261 eval "$wx_cv_use_variant"
9262
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_VARIANT = no; then
9265 result=yes
9266 else
9267 result=no
9268 fi
9269 else
9270 result=$wxUSE_VARIANT
9271 fi
9272
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9274 $as_echo "$result" >&6; }
9275
9276
9277 enablestring=
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9281 defaultval=yes
9282 else
9283 defaultval=no
9284 fi
9285 fi
9286
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9288 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9289 # Check whether --enable-zipstream was given.
9290 if test "${enable_zipstream+set}" = set; then :
9291 enableval=$enable_zipstream;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9294 else
9295 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9296 fi
9297
9298 else
9299
9300 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9301
9302 fi
9303
9304
9305 eval "$wx_cv_use_zipstream"
9306
9307 if test x"$enablestring" = xdisable; then
9308 if test $wxUSE_ZIPSTREAM = no; then
9309 result=yes
9310 else
9311 result=no
9312 fi
9313 else
9314 result=$wxUSE_ZIPSTREAM
9315 fi
9316
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9318 $as_echo "$result" >&6; }
9319
9320
9321
9322 enablestring=
9323 defaultval=$wxUSE_ALL_FEATURES
9324 if test -z "$defaultval"; then
9325 if test x"$enablestring" = xdisable; then
9326 defaultval=yes
9327 else
9328 defaultval=no
9329 fi
9330 fi
9331
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9333 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9334 # Check whether --enable-url was given.
9335 if test "${enable_url+set}" = set; then :
9336 enableval=$enable_url;
9337 if test "$enableval" = yes; then
9338 wx_cv_use_url='wxUSE_URL=yes'
9339 else
9340 wx_cv_use_url='wxUSE_URL=no'
9341 fi
9342
9343 else
9344
9345 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9346
9347 fi
9348
9349
9350 eval "$wx_cv_use_url"
9351
9352 if test x"$enablestring" = xdisable; then
9353 if test $wxUSE_URL = no; then
9354 result=yes
9355 else
9356 result=no
9357 fi
9358 else
9359 result=$wxUSE_URL
9360 fi
9361
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9363 $as_echo "$result" >&6; }
9364
9365
9366 enablestring=
9367 defaultval=$wxUSE_ALL_FEATURES
9368 if test -z "$defaultval"; then
9369 if test x"$enablestring" = xdisable; then
9370 defaultval=yes
9371 else
9372 defaultval=no
9373 fi
9374 fi
9375
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9377 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9378 # Check whether --enable-protocol was given.
9379 if test "${enable_protocol+set}" = set; then :
9380 enableval=$enable_protocol;
9381 if test "$enableval" = yes; then
9382 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9383 else
9384 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9385 fi
9386
9387 else
9388
9389 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9390
9391 fi
9392
9393
9394 eval "$wx_cv_use_protocol"
9395
9396 if test x"$enablestring" = xdisable; then
9397 if test $wxUSE_PROTOCOL = no; then
9398 result=yes
9399 else
9400 result=no
9401 fi
9402 else
9403 result=$wxUSE_PROTOCOL
9404 fi
9405
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9407 $as_echo "$result" >&6; }
9408
9409
9410 enablestring=
9411 defaultval=$wxUSE_ALL_FEATURES
9412 if test -z "$defaultval"; then
9413 if test x"$enablestring" = xdisable; then
9414 defaultval=yes
9415 else
9416 defaultval=no
9417 fi
9418 fi
9419
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9421 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9422 # Check whether --enable-protocol_http was given.
9423 if test "${enable_protocol_http+set}" = set; then :
9424 enableval=$enable_protocol_http;
9425 if test "$enableval" = yes; then
9426 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9427 else
9428 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9429 fi
9430
9431 else
9432
9433 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9434
9435 fi
9436
9437
9438 eval "$wx_cv_use_protocol_http"
9439
9440 if test x"$enablestring" = xdisable; then
9441 if test $wxUSE_PROTOCOL_HTTP = no; then
9442 result=yes
9443 else
9444 result=no
9445 fi
9446 else
9447 result=$wxUSE_PROTOCOL_HTTP
9448 fi
9449
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9451 $as_echo "$result" >&6; }
9452
9453
9454 enablestring=
9455 defaultval=$wxUSE_ALL_FEATURES
9456 if test -z "$defaultval"; then
9457 if test x"$enablestring" = xdisable; then
9458 defaultval=yes
9459 else
9460 defaultval=no
9461 fi
9462 fi
9463
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9465 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9466 # Check whether --enable-protocol_ftp was given.
9467 if test "${enable_protocol_ftp+set}" = set; then :
9468 enableval=$enable_protocol_ftp;
9469 if test "$enableval" = yes; then
9470 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9471 else
9472 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9473 fi
9474
9475 else
9476
9477 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9478
9479 fi
9480
9481
9482 eval "$wx_cv_use_protocol_ftp"
9483
9484 if test x"$enablestring" = xdisable; then
9485 if test $wxUSE_PROTOCOL_FTP = no; then
9486 result=yes
9487 else
9488 result=no
9489 fi
9490 else
9491 result=$wxUSE_PROTOCOL_FTP
9492 fi
9493
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9495 $as_echo "$result" >&6; }
9496
9497
9498 enablestring=
9499 defaultval=$wxUSE_ALL_FEATURES
9500 if test -z "$defaultval"; then
9501 if test x"$enablestring" = xdisable; then
9502 defaultval=yes
9503 else
9504 defaultval=no
9505 fi
9506 fi
9507
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9509 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9510 # Check whether --enable-protocol_file was given.
9511 if test "${enable_protocol_file+set}" = set; then :
9512 enableval=$enable_protocol_file;
9513 if test "$enableval" = yes; then
9514 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9515 else
9516 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9517 fi
9518
9519 else
9520
9521 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9522
9523 fi
9524
9525
9526 eval "$wx_cv_use_protocol_file"
9527
9528 if test x"$enablestring" = xdisable; then
9529 if test $wxUSE_PROTOCOL_FILE = no; then
9530 result=yes
9531 else
9532 result=no
9533 fi
9534 else
9535 result=$wxUSE_PROTOCOL_FILE
9536 fi
9537
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9539 $as_echo "$result" >&6; }
9540
9541
9542
9543 enablestring=
9544 defaultval=$wxUSE_ALL_FEATURES
9545 if test -z "$defaultval"; then
9546 if test x"$enablestring" = xdisable; then
9547 defaultval=yes
9548 else
9549 defaultval=no
9550 fi
9551 fi
9552
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9554 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9555 # Check whether --enable-threads was given.
9556 if test "${enable_threads+set}" = set; then :
9557 enableval=$enable_threads;
9558 if test "$enableval" = yes; then
9559 wx_cv_use_threads='wxUSE_THREADS=yes'
9560 else
9561 wx_cv_use_threads='wxUSE_THREADS=no'
9562 fi
9563
9564 else
9565
9566 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9567
9568 fi
9569
9570
9571 eval "$wx_cv_use_threads"
9572
9573 if test x"$enablestring" = xdisable; then
9574 if test $wxUSE_THREADS = no; then
9575 result=yes
9576 else
9577 result=no
9578 fi
9579 else
9580 result=$wxUSE_THREADS
9581 fi
9582
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9584 $as_echo "$result" >&6; }
9585
9586
9587
9588 enablestring=
9589 defaultval=
9590 if test -z "$defaultval"; then
9591 if test x"$enablestring" = xdisable; then
9592 defaultval=yes
9593 else
9594 defaultval=no
9595 fi
9596 fi
9597
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9599 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9600 # Check whether --enable-iniconf was given.
9601 if test "${enable_iniconf+set}" = set; then :
9602 enableval=$enable_iniconf;
9603 if test "$enableval" = yes; then
9604 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9605 else
9606 wx_cv_use_iniconf='wxUSE_INICONF=no'
9607 fi
9608
9609 else
9610
9611 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9612
9613 fi
9614
9615
9616 eval "$wx_cv_use_iniconf"
9617
9618 if test x"$enablestring" = xdisable; then
9619 if test $wxUSE_INICONF = no; then
9620 result=yes
9621 else
9622 result=no
9623 fi
9624 else
9625 result=$wxUSE_INICONF
9626 fi
9627
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9629 $as_echo "$result" >&6; }
9630
9631
9632 enablestring=
9633 defaultval=$wxUSE_ALL_FEATURES
9634 if test -z "$defaultval"; then
9635 if test x"$enablestring" = xdisable; then
9636 defaultval=yes
9637 else
9638 defaultval=no
9639 fi
9640 fi
9641
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9643 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9644 # Check whether --enable-regkey was given.
9645 if test "${enable_regkey+set}" = set; then :
9646 enableval=$enable_regkey;
9647 if test "$enableval" = yes; then
9648 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9649 else
9650 wx_cv_use_regkey='wxUSE_REGKEY=no'
9651 fi
9652
9653 else
9654
9655 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9656
9657 fi
9658
9659
9660 eval "$wx_cv_use_regkey"
9661
9662 if test x"$enablestring" = xdisable; then
9663 if test $wxUSE_REGKEY = no; then
9664 result=yes
9665 else
9666 result=no
9667 fi
9668 else
9669 result=$wxUSE_REGKEY
9670 fi
9671
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9673 $as_echo "$result" >&6; }
9674
9675
9676 if test "$wxUSE_GUI" = "yes"; then
9677
9678
9679
9680 enablestring=
9681 defaultval=$wxUSE_ALL_FEATURES
9682 if test -z "$defaultval"; then
9683 if test x"$enablestring" = xdisable; then
9684 defaultval=yes
9685 else
9686 defaultval=no
9687 fi
9688 fi
9689
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9691 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9692 # Check whether --enable-docview was given.
9693 if test "${enable_docview+set}" = set; then :
9694 enableval=$enable_docview;
9695 if test "$enableval" = yes; then
9696 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9697 else
9698 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9699 fi
9700
9701 else
9702
9703 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9704
9705 fi
9706
9707
9708 eval "$wx_cv_use_docview"
9709
9710 if test x"$enablestring" = xdisable; then
9711 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9712 result=yes
9713 else
9714 result=no
9715 fi
9716 else
9717 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9718 fi
9719
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9721 $as_echo "$result" >&6; }
9722
9723
9724 enablestring=
9725 defaultval=$wxUSE_ALL_FEATURES
9726 if test -z "$defaultval"; then
9727 if test x"$enablestring" = xdisable; then
9728 defaultval=yes
9729 else
9730 defaultval=no
9731 fi
9732 fi
9733
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9735 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9736 # Check whether --enable-help was given.
9737 if test "${enable_help+set}" = set; then :
9738 enableval=$enable_help;
9739 if test "$enableval" = yes; then
9740 wx_cv_use_help='wxUSE_HELP=yes'
9741 else
9742 wx_cv_use_help='wxUSE_HELP=no'
9743 fi
9744
9745 else
9746
9747 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9748
9749 fi
9750
9751
9752 eval "$wx_cv_use_help"
9753
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_HELP = no; then
9756 result=yes
9757 else
9758 result=no
9759 fi
9760 else
9761 result=$wxUSE_HELP
9762 fi
9763
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9765 $as_echo "$result" >&6; }
9766
9767
9768 enablestring=
9769 defaultval=$wxUSE_ALL_FEATURES
9770 if test -z "$defaultval"; then
9771 if test x"$enablestring" = xdisable; then
9772 defaultval=yes
9773 else
9774 defaultval=no
9775 fi
9776 fi
9777
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9779 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9780 # Check whether --enable-mshtmlhelp was given.
9781 if test "${enable_mshtmlhelp+set}" = set; then :
9782 enableval=$enable_mshtmlhelp;
9783 if test "$enableval" = yes; then
9784 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9785 else
9786 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9787 fi
9788
9789 else
9790
9791 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9792
9793 fi
9794
9795
9796 eval "$wx_cv_use_mshtmlhelp"
9797
9798 if test x"$enablestring" = xdisable; then
9799 if test $wxUSE_MS_HTML_HELP = no; then
9800 result=yes
9801 else
9802 result=no
9803 fi
9804 else
9805 result=$wxUSE_MS_HTML_HELP
9806 fi
9807
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9809 $as_echo "$result" >&6; }
9810
9811
9812 enablestring=
9813 defaultval=$wxUSE_ALL_FEATURES
9814 if test -z "$defaultval"; then
9815 if test x"$enablestring" = xdisable; then
9816 defaultval=yes
9817 else
9818 defaultval=no
9819 fi
9820 fi
9821
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9823 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9824 # Check whether --enable-html was given.
9825 if test "${enable_html+set}" = set; then :
9826 enableval=$enable_html;
9827 if test "$enableval" = yes; then
9828 wx_cv_use_html='wxUSE_HTML=yes'
9829 else
9830 wx_cv_use_html='wxUSE_HTML=no'
9831 fi
9832
9833 else
9834
9835 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9836
9837 fi
9838
9839
9840 eval "$wx_cv_use_html"
9841
9842 if test x"$enablestring" = xdisable; then
9843 if test $wxUSE_HTML = no; then
9844 result=yes
9845 else
9846 result=no
9847 fi
9848 else
9849 result=$wxUSE_HTML
9850 fi
9851
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9853 $as_echo "$result" >&6; }
9854
9855
9856 enablestring=
9857 defaultval=$wxUSE_ALL_FEATURES
9858 if test -z "$defaultval"; then
9859 if test x"$enablestring" = xdisable; then
9860 defaultval=yes
9861 else
9862 defaultval=no
9863 fi
9864 fi
9865
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9867 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9868 # Check whether --enable-htmlhelp was given.
9869 if test "${enable_htmlhelp+set}" = set; then :
9870 enableval=$enable_htmlhelp;
9871 if test "$enableval" = yes; then
9872 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9873 else
9874 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9875 fi
9876
9877 else
9878
9879 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9880
9881 fi
9882
9883
9884 eval "$wx_cv_use_htmlhelp"
9885
9886 if test x"$enablestring" = xdisable; then
9887 if test $wxUSE_WXHTML_HELP = no; then
9888 result=yes
9889 else
9890 result=no
9891 fi
9892 else
9893 result=$wxUSE_WXHTML_HELP
9894 fi
9895
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9897 $as_echo "$result" >&6; }
9898
9899
9900 enablestring=
9901 defaultval=$wxUSE_ALL_FEATURES
9902 if test -z "$defaultval"; then
9903 if test x"$enablestring" = xdisable; then
9904 defaultval=yes
9905 else
9906 defaultval=no
9907 fi
9908 fi
9909
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9911 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9912 # Check whether --enable-xrc was given.
9913 if test "${enable_xrc+set}" = set; then :
9914 enableval=$enable_xrc;
9915 if test "$enableval" = yes; then
9916 wx_cv_use_xrc='wxUSE_XRC=yes'
9917 else
9918 wx_cv_use_xrc='wxUSE_XRC=no'
9919 fi
9920
9921 else
9922
9923 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9924
9925 fi
9926
9927
9928 eval "$wx_cv_use_xrc"
9929
9930 if test x"$enablestring" = xdisable; then
9931 if test $wxUSE_XRC = no; then
9932 result=yes
9933 else
9934 result=no
9935 fi
9936 else
9937 result=$wxUSE_XRC
9938 fi
9939
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9941 $as_echo "$result" >&6; }
9942
9943
9944 enablestring=
9945 defaultval=$wxUSE_ALL_FEATURES
9946 if test -z "$defaultval"; then
9947 if test x"$enablestring" = xdisable; then
9948 defaultval=yes
9949 else
9950 defaultval=no
9951 fi
9952 fi
9953
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9955 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9956 # Check whether --enable-aui was given.
9957 if test "${enable_aui+set}" = set; then :
9958 enableval=$enable_aui;
9959 if test "$enableval" = yes; then
9960 wx_cv_use_aui='wxUSE_AUI=yes'
9961 else
9962 wx_cv_use_aui='wxUSE_AUI=no'
9963 fi
9964
9965 else
9966
9967 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9968
9969 fi
9970
9971
9972 eval "$wx_cv_use_aui"
9973
9974 if test x"$enablestring" = xdisable; then
9975 if test $wxUSE_AUI = no; then
9976 result=yes
9977 else
9978 result=no
9979 fi
9980 else
9981 result=$wxUSE_AUI
9982 fi
9983
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9985 $as_echo "$result" >&6; }
9986
9987
9988 enablestring=
9989 defaultval=$wxUSE_ALL_FEATURES
9990 if test -z "$defaultval"; then
9991 if test x"$enablestring" = xdisable; then
9992 defaultval=yes
9993 else
9994 defaultval=no
9995 fi
9996 fi
9997
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
9999 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10000 # Check whether --enable-propgrid was given.
10001 if test "${enable_propgrid+set}" = set; then :
10002 enableval=$enable_propgrid;
10003 if test "$enableval" = yes; then
10004 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10005 else
10006 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10007 fi
10008
10009 else
10010
10011 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10012
10013 fi
10014
10015
10016 eval "$wx_cv_use_propgrid"
10017
10018 if test x"$enablestring" = xdisable; then
10019 if test $wxUSE_PROPGRID = no; then
10020 result=yes
10021 else
10022 result=no
10023 fi
10024 else
10025 result=$wxUSE_PROPGRID
10026 fi
10027
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10029 $as_echo "$result" >&6; }
10030
10031
10032 enablestring=
10033 defaultval=$wxUSE_ALL_FEATURES
10034 if test -z "$defaultval"; then
10035 if test x"$enablestring" = xdisable; then
10036 defaultval=yes
10037 else
10038 defaultval=no
10039 fi
10040 fi
10041
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10043 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10044 # Check whether --enable-ribbon was given.
10045 if test "${enable_ribbon+set}" = set; then :
10046 enableval=$enable_ribbon;
10047 if test "$enableval" = yes; then
10048 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10049 else
10050 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10051 fi
10052
10053 else
10054
10055 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10056
10057 fi
10058
10059
10060 eval "$wx_cv_use_ribbon"
10061
10062 if test x"$enablestring" = xdisable; then
10063 if test $wxUSE_RIBBON = no; then
10064 result=yes
10065 else
10066 result=no
10067 fi
10068 else
10069 result=$wxUSE_RIBBON
10070 fi
10071
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10073 $as_echo "$result" >&6; }
10074
10075
10076 enablestring=
10077 defaultval=$wxUSE_ALL_FEATURES
10078 if test -z "$defaultval"; then
10079 if test x"$enablestring" = xdisable; then
10080 defaultval=yes
10081 else
10082 defaultval=no
10083 fi
10084 fi
10085
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10087 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10088 # Check whether --enable-stc was given.
10089 if test "${enable_stc+set}" = set; then :
10090 enableval=$enable_stc;
10091 if test "$enableval" = yes; then
10092 wx_cv_use_stc='wxUSE_STC=yes'
10093 else
10094 wx_cv_use_stc='wxUSE_STC=no'
10095 fi
10096
10097 else
10098
10099 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10100
10101 fi
10102
10103
10104 eval "$wx_cv_use_stc"
10105
10106 if test x"$enablestring" = xdisable; then
10107 if test $wxUSE_STC = no; then
10108 result=yes
10109 else
10110 result=no
10111 fi
10112 else
10113 result=$wxUSE_STC
10114 fi
10115
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10117 $as_echo "$result" >&6; }
10118
10119
10120 enablestring=
10121 defaultval=$wxUSE_ALL_FEATURES
10122 if test -z "$defaultval"; then
10123 if test x"$enablestring" = xdisable; then
10124 defaultval=yes
10125 else
10126 defaultval=no
10127 fi
10128 fi
10129
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10131 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10132 # Check whether --enable-constraints was given.
10133 if test "${enable_constraints+set}" = set; then :
10134 enableval=$enable_constraints;
10135 if test "$enableval" = yes; then
10136 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10137 else
10138 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10139 fi
10140
10141 else
10142
10143 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10144
10145 fi
10146
10147
10148 eval "$wx_cv_use_constraints"
10149
10150 if test x"$enablestring" = xdisable; then
10151 if test $wxUSE_CONSTRAINTS = no; then
10152 result=yes
10153 else
10154 result=no
10155 fi
10156 else
10157 result=$wxUSE_CONSTRAINTS
10158 fi
10159
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10161 $as_echo "$result" >&6; }
10162
10163
10164 enablestring=
10165 defaultval=$wxUSE_ALL_FEATURES
10166 if test -z "$defaultval"; then
10167 if test x"$enablestring" = xdisable; then
10168 defaultval=yes
10169 else
10170 defaultval=no
10171 fi
10172 fi
10173
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10175 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10176 # Check whether --enable-loggui was given.
10177 if test "${enable_loggui+set}" = set; then :
10178 enableval=$enable_loggui;
10179 if test "$enableval" = yes; then
10180 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10181 else
10182 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10183 fi
10184
10185 else
10186
10187 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10188
10189 fi
10190
10191
10192 eval "$wx_cv_use_loggui"
10193
10194 if test x"$enablestring" = xdisable; then
10195 if test $wxUSE_LOGGUI = no; then
10196 result=yes
10197 else
10198 result=no
10199 fi
10200 else
10201 result=$wxUSE_LOGGUI
10202 fi
10203
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10205 $as_echo "$result" >&6; }
10206
10207
10208 enablestring=
10209 defaultval=$wxUSE_ALL_FEATURES
10210 if test -z "$defaultval"; then
10211 if test x"$enablestring" = xdisable; then
10212 defaultval=yes
10213 else
10214 defaultval=no
10215 fi
10216 fi
10217
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10219 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10220 # Check whether --enable-logwin was given.
10221 if test "${enable_logwin+set}" = set; then :
10222 enableval=$enable_logwin;
10223 if test "$enableval" = yes; then
10224 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10225 else
10226 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10227 fi
10228
10229 else
10230
10231 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10232
10233 fi
10234
10235
10236 eval "$wx_cv_use_logwin"
10237
10238 if test x"$enablestring" = xdisable; then
10239 if test $wxUSE_LOGWINDOW = no; then
10240 result=yes
10241 else
10242 result=no
10243 fi
10244 else
10245 result=$wxUSE_LOGWINDOW
10246 fi
10247
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10249 $as_echo "$result" >&6; }
10250
10251
10252 enablestring=
10253 defaultval=$wxUSE_ALL_FEATURES
10254 if test -z "$defaultval"; then
10255 if test x"$enablestring" = xdisable; then
10256 defaultval=yes
10257 else
10258 defaultval=no
10259 fi
10260 fi
10261
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10263 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10264 # Check whether --enable-logdialog was given.
10265 if test "${enable_logdialog+set}" = set; then :
10266 enableval=$enable_logdialog;
10267 if test "$enableval" = yes; then
10268 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10269 else
10270 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10271 fi
10272
10273 else
10274
10275 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10276
10277 fi
10278
10279
10280 eval "$wx_cv_use_logdialog"
10281
10282 if test x"$enablestring" = xdisable; then
10283 if test $wxUSE_LOGDIALOG = no; then
10284 result=yes
10285 else
10286 result=no
10287 fi
10288 else
10289 result=$wxUSE_LOGDIALOG
10290 fi
10291
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10293 $as_echo "$result" >&6; }
10294
10295
10296 enablestring=
10297 defaultval=$wxUSE_ALL_FEATURES
10298 if test -z "$defaultval"; then
10299 if test x"$enablestring" = xdisable; then
10300 defaultval=yes
10301 else
10302 defaultval=no
10303 fi
10304 fi
10305
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10307 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10308 # Check whether --enable-mdi was given.
10309 if test "${enable_mdi+set}" = set; then :
10310 enableval=$enable_mdi;
10311 if test "$enableval" = yes; then
10312 wx_cv_use_mdi='wxUSE_MDI=yes'
10313 else
10314 wx_cv_use_mdi='wxUSE_MDI=no'
10315 fi
10316
10317 else
10318
10319 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10320
10321 fi
10322
10323
10324 eval "$wx_cv_use_mdi"
10325
10326 if test x"$enablestring" = xdisable; then
10327 if test $wxUSE_MDI = no; then
10328 result=yes
10329 else
10330 result=no
10331 fi
10332 else
10333 result=$wxUSE_MDI
10334 fi
10335
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10337 $as_echo "$result" >&6; }
10338
10339
10340 enablestring=
10341 defaultval=$wxUSE_ALL_FEATURES
10342 if test -z "$defaultval"; then
10343 if test x"$enablestring" = xdisable; then
10344 defaultval=yes
10345 else
10346 defaultval=no
10347 fi
10348 fi
10349
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10351 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10352 # Check whether --enable-mdidoc was given.
10353 if test "${enable_mdidoc+set}" = set; then :
10354 enableval=$enable_mdidoc;
10355 if test "$enableval" = yes; then
10356 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10357 else
10358 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10359 fi
10360
10361 else
10362
10363 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10364
10365 fi
10366
10367
10368 eval "$wx_cv_use_mdidoc"
10369
10370 if test x"$enablestring" = xdisable; then
10371 if test $wxUSE_MDI_ARCHITECTURE = no; then
10372 result=yes
10373 else
10374 result=no
10375 fi
10376 else
10377 result=$wxUSE_MDI_ARCHITECTURE
10378 fi
10379
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10381 $as_echo "$result" >&6; }
10382
10383
10384 enablestring=
10385 defaultval=$wxUSE_ALL_FEATURES
10386 if test -z "$defaultval"; then
10387 if test x"$enablestring" = xdisable; then
10388 defaultval=yes
10389 else
10390 defaultval=no
10391 fi
10392 fi
10393
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10395 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10396 # Check whether --enable-mediactrl was given.
10397 if test "${enable_mediactrl+set}" = set; then :
10398 enableval=$enable_mediactrl;
10399 if test "$enableval" = yes; then
10400 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10401 else
10402 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10403 fi
10404
10405 else
10406
10407 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10408
10409 fi
10410
10411
10412 eval "$wx_cv_use_mediactrl"
10413
10414 if test x"$enablestring" = xdisable; then
10415 if test $wxUSE_MEDIACTRL = no; then
10416 result=yes
10417 else
10418 result=no
10419 fi
10420 else
10421 result=$wxUSE_MEDIACTRL
10422 fi
10423
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10425 $as_echo "$result" >&6; }
10426
10427
10428 enablestring=
10429 defaultval=$wxUSE_ALL_FEATURES
10430 if test -z "$defaultval"; then
10431 if test x"$enablestring" = xdisable; then
10432 defaultval=yes
10433 else
10434 defaultval=no
10435 fi
10436 fi
10437
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10439 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10440 # Check whether --enable-gstreamer8 was given.
10441 if test "${enable_gstreamer8+set}" = set; then :
10442 enableval=$enable_gstreamer8;
10443 if test "$enableval" = yes; then
10444 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10445 else
10446 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10447 fi
10448
10449 else
10450
10451 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10452
10453 fi
10454
10455
10456 eval "$wx_cv_use_gstreamer8"
10457
10458 if test x"$enablestring" = xdisable; then
10459 if test $wxUSE_GSTREAMER8 = no; then
10460 result=yes
10461 else
10462 result=no
10463 fi
10464 else
10465 result=$wxUSE_GSTREAMER8
10466 fi
10467
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10469 $as_echo "$result" >&6; }
10470
10471
10472 enablestring=
10473 defaultval=$wxUSE_ALL_FEATURES
10474 if test -z "$defaultval"; then
10475 if test x"$enablestring" = xdisable; then
10476 defaultval=yes
10477 else
10478 defaultval=no
10479 fi
10480 fi
10481
10482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10483 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10484 # Check whether --enable-richtext was given.
10485 if test "${enable_richtext+set}" = set; then :
10486 enableval=$enable_richtext;
10487 if test "$enableval" = yes; then
10488 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10489 else
10490 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10491 fi
10492
10493 else
10494
10495 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10496
10497 fi
10498
10499
10500 eval "$wx_cv_use_richtext"
10501
10502 if test x"$enablestring" = xdisable; then
10503 if test $wxUSE_RICHTEXT = no; then
10504 result=yes
10505 else
10506 result=no
10507 fi
10508 else
10509 result=$wxUSE_RICHTEXT
10510 fi
10511
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10513 $as_echo "$result" >&6; }
10514
10515
10516 enablestring=
10517 defaultval=$wxUSE_ALL_FEATURES
10518 if test -z "$defaultval"; then
10519 if test x"$enablestring" = xdisable; then
10520 defaultval=yes
10521 else
10522 defaultval=no
10523 fi
10524 fi
10525
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10527 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10528 # Check whether --enable-postscript was given.
10529 if test "${enable_postscript+set}" = set; then :
10530 enableval=$enable_postscript;
10531 if test "$enableval" = yes; then
10532 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10533 else
10534 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10535 fi
10536
10537 else
10538
10539 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10540
10541 fi
10542
10543
10544 eval "$wx_cv_use_postscript"
10545
10546 if test x"$enablestring" = xdisable; then
10547 if test $wxUSE_POSTSCRIPT = no; then
10548 result=yes
10549 else
10550 result=no
10551 fi
10552 else
10553 result=$wxUSE_POSTSCRIPT
10554 fi
10555
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10557 $as_echo "$result" >&6; }
10558
10559
10560 enablestring=
10561 defaultval=$wxUSE_ALL_FEATURES
10562 if test -z "$defaultval"; then
10563 if test x"$enablestring" = xdisable; then
10564 defaultval=yes
10565 else
10566 defaultval=no
10567 fi
10568 fi
10569
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10571 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10572 # Check whether --enable-printarch was given.
10573 if test "${enable_printarch+set}" = set; then :
10574 enableval=$enable_printarch;
10575 if test "$enableval" = yes; then
10576 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10577 else
10578 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10579 fi
10580
10581 else
10582
10583 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10584
10585 fi
10586
10587
10588 eval "$wx_cv_use_printarch"
10589
10590 if test x"$enablestring" = xdisable; then
10591 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10592 result=yes
10593 else
10594 result=no
10595 fi
10596 else
10597 result=$wxUSE_PRINTING_ARCHITECTURE
10598 fi
10599
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10601 $as_echo "$result" >&6; }
10602
10603
10604 enablestring=
10605 defaultval=$wxUSE_ALL_FEATURES
10606 if test -z "$defaultval"; then
10607 if test x"$enablestring" = xdisable; then
10608 defaultval=yes
10609 else
10610 defaultval=no
10611 fi
10612 fi
10613
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10615 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10616 # Check whether --enable-svg was given.
10617 if test "${enable_svg+set}" = set; then :
10618 enableval=$enable_svg;
10619 if test "$enableval" = yes; then
10620 wx_cv_use_svg='wxUSE_SVG=yes'
10621 else
10622 wx_cv_use_svg='wxUSE_SVG=no'
10623 fi
10624
10625 else
10626
10627 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10628
10629 fi
10630
10631
10632 eval "$wx_cv_use_svg"
10633
10634 if test x"$enablestring" = xdisable; then
10635 if test $wxUSE_SVG = no; then
10636 result=yes
10637 else
10638 result=no
10639 fi
10640 else
10641 result=$wxUSE_SVG
10642 fi
10643
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10645 $as_echo "$result" >&6; }
10646
10647
10648 enablestring=
10649 defaultval=$wxUSE_ALL_FEATURES
10650 if test -z "$defaultval"; then
10651 if test x"$enablestring" = xdisable; then
10652 defaultval=yes
10653 else
10654 defaultval=no
10655 fi
10656 fi
10657
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10659 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10660 # Check whether --enable-webkit was given.
10661 if test "${enable_webkit+set}" = set; then :
10662 enableval=$enable_webkit;
10663 if test "$enableval" = yes; then
10664 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10665 else
10666 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10667 fi
10668
10669 else
10670
10671 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10672
10673 fi
10674
10675
10676 eval "$wx_cv_use_webkit"
10677
10678 if test x"$enablestring" = xdisable; then
10679 if test $wxUSE_WEBKIT = no; then
10680 result=yes
10681 else
10682 result=no
10683 fi
10684 else
10685 result=$wxUSE_WEBKIT
10686 fi
10687
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10689 $as_echo "$result" >&6; }
10690
10691
10692 enablestring=
10693 defaultval=$wxUSE_ALL_FEATURES
10694 if test -z "$defaultval"; then
10695 if test x"$enablestring" = xdisable; then
10696 defaultval=yes
10697 else
10698 defaultval=no
10699 fi
10700 fi
10701
10702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10703 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10704 # Check whether --enable-webview was given.
10705 if test "${enable_webview+set}" = set; then :
10706 enableval=$enable_webview;
10707 if test "$enableval" = yes; then
10708 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10709 else
10710 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10711 fi
10712
10713 else
10714
10715 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10716
10717 fi
10718
10719
10720 eval "$wx_cv_use_webview"
10721
10722 if test x"$enablestring" = xdisable; then
10723 if test $wxUSE_WEBVIEW = no; then
10724 result=yes
10725 else
10726 result=no
10727 fi
10728 else
10729 result=$wxUSE_WEBVIEW
10730 fi
10731
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10733 $as_echo "$result" >&6; }
10734
10735
10736 if test "$wxUSE_MAC" != 1; then
10737
10738 enablestring=
10739 defaultval=$wxUSE_ALL_FEATURES
10740 if test -z "$defaultval"; then
10741 if test x"$enablestring" = xdisable; then
10742 defaultval=yes
10743 else
10744 defaultval=no
10745 fi
10746 fi
10747
10748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10749 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10750 # Check whether --enable-graphics_ctx was given.
10751 if test "${enable_graphics_ctx+set}" = set; then :
10752 enableval=$enable_graphics_ctx;
10753 if test "$enableval" = yes; then
10754 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10755 else
10756 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10757 fi
10758
10759 else
10760
10761 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10762
10763 fi
10764
10765
10766 eval "$wx_cv_use_graphics_ctx"
10767
10768 if test x"$enablestring" = xdisable; then
10769 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10770 result=yes
10771 else
10772 result=no
10773 fi
10774 else
10775 result=$wxUSE_GRAPHICS_CONTEXT
10776 fi
10777
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10779 $as_echo "$result" >&6; }
10780
10781 fi
10782
10783
10784
10785 enablestring=
10786 defaultval=$wxUSE_ALL_FEATURES
10787 if test -z "$defaultval"; then
10788 if test x"$enablestring" = xdisable; then
10789 defaultval=yes
10790 else
10791 defaultval=no
10792 fi
10793 fi
10794
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10796 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10797 # Check whether --enable-clipboard was given.
10798 if test "${enable_clipboard+set}" = set; then :
10799 enableval=$enable_clipboard;
10800 if test "$enableval" = yes; then
10801 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10802 else
10803 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10804 fi
10805
10806 else
10807
10808 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10809
10810 fi
10811
10812
10813 eval "$wx_cv_use_clipboard"
10814
10815 if test x"$enablestring" = xdisable; then
10816 if test $wxUSE_CLIPBOARD = no; then
10817 result=yes
10818 else
10819 result=no
10820 fi
10821 else
10822 result=$wxUSE_CLIPBOARD
10823 fi
10824
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10826 $as_echo "$result" >&6; }
10827
10828
10829 enablestring=
10830 defaultval=$wxUSE_ALL_FEATURES
10831 if test -z "$defaultval"; then
10832 if test x"$enablestring" = xdisable; then
10833 defaultval=yes
10834 else
10835 defaultval=no
10836 fi
10837 fi
10838
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10840 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10841 # Check whether --enable-dnd was given.
10842 if test "${enable_dnd+set}" = set; then :
10843 enableval=$enable_dnd;
10844 if test "$enableval" = yes; then
10845 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10846 else
10847 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10848 fi
10849
10850 else
10851
10852 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10853
10854 fi
10855
10856
10857 eval "$wx_cv_use_dnd"
10858
10859 if test x"$enablestring" = xdisable; then
10860 if test $wxUSE_DRAG_AND_DROP = no; then
10861 result=yes
10862 else
10863 result=no
10864 fi
10865 else
10866 result=$wxUSE_DRAG_AND_DROP
10867 fi
10868
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10870 $as_echo "$result" >&6; }
10871
10872
10873
10874 DEFAULT_wxUSE_CONTROLS=none
10875
10876 enablestring=disable
10877 defaultval=
10878 if test -z "$defaultval"; then
10879 if test x"$enablestring" = xdisable; then
10880 defaultval=yes
10881 else
10882 defaultval=no
10883 fi
10884 fi
10885
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10887 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10888 # Check whether --enable-controls was given.
10889 if test "${enable_controls+set}" = set; then :
10890 enableval=$enable_controls;
10891 if test "$enableval" = yes; then
10892 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10893 else
10894 wx_cv_use_controls='wxUSE_CONTROLS=no'
10895 fi
10896
10897 else
10898
10899 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10900
10901 fi
10902
10903
10904 eval "$wx_cv_use_controls"
10905
10906 if test x"$enablestring" = xdisable; then
10907 if test $wxUSE_CONTROLS = no; then
10908 result=yes
10909 else
10910 result=no
10911 fi
10912 else
10913 result=$wxUSE_CONTROLS
10914 fi
10915
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10917 $as_echo "$result" >&6; }
10918
10919
10920 if test "$wxUSE_CONTROLS" = "no"; then
10921 DEFAULT_wxUSE_ACCEL=no
10922 DEFAULT_wxUSE_ANIMATIONCTRL=no
10923 DEFAULT_wxUSE_BANNERWINDOW=no
10924 DEFAULT_wxUSE_BMPBUTTON=no
10925 DEFAULT_wxUSE_BUTTON=no
10926 DEFAULT_wxUSE_CALCTRL=no
10927 DEFAULT_wxUSE_CARET=no
10928 DEFAULT_wxUSE_CHECKBOX=no
10929 DEFAULT_wxUSE_CHECKLISTBOX=no
10930 DEFAULT_wxUSE_CHOICE=no
10931 DEFAULT_wxUSE_CHOICEBOOK=no
10932 DEFAULT_wxUSE_COLLPANE=no
10933 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10934 DEFAULT_wxUSE_COMBOBOX=no
10935 DEFAULT_wxUSE_COMBOBOX=no
10936 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10937 DEFAULT_wxUSE_DATAVIEWCTRL=no
10938 DEFAULT_wxUSE_DATEPICKCTRL=no
10939 DEFAULT_wxUSE_DETECT_SM=no
10940 DEFAULT_wxUSE_DIRPICKERCTRL=no
10941 DEFAULT_wxUSE_DISPLAY=no
10942 DEFAULT_wxUSE_FILECTRL=no
10943 DEFAULT_wxUSE_FILEPICKERCTRL=no
10944 DEFAULT_wxUSE_FONTPICKERCTRL=no
10945 DEFAULT_wxUSE_GAUGE=no
10946 DEFAULT_wxUSE_GRID=no
10947 DEFAULT_wxUSE_HEADERCTRL=no
10948 DEFAULT_wxUSE_HYPERLINKCTRL=no
10949 DEFAULT_wxUSE_IMAGLIST=no
10950 DEFAULT_wxUSE_LISTBOOK=no
10951 DEFAULT_wxUSE_LISTBOX=no
10952 DEFAULT_wxUSE_LISTCTRL=no
10953 DEFAULT_wxUSE_MARKUP=no
10954 DEFAULT_wxUSE_NOTEBOOK=no
10955 DEFAULT_wxUSE_POPUPWIN=no
10956 DEFAULT_wxUSE_RADIOBOX=no
10957 DEFAULT_wxUSE_RADIOBTN=no
10958 DEFAULT_wxUSE_RICHMSGDLG=no
10959 DEFAULT_wxUSE_RICHTOOLTIP=no
10960 DEFAULT_wxUSE_REARRANGECTRL=no
10961 DEFAULT_wxUSE_SASH=no
10962 DEFAULT_wxUSE_SCROLLBAR=no
10963 DEFAULT_wxUSE_SEARCHCTRL=no
10964 DEFAULT_wxUSE_SLIDER=no
10965 DEFAULT_wxUSE_SPINBTN=no
10966 DEFAULT_wxUSE_SPINCTRL=no
10967 DEFAULT_wxUSE_SPLITTER=no
10968 DEFAULT_wxUSE_STATBMP=no
10969 DEFAULT_wxUSE_STATBOX=no
10970 DEFAULT_wxUSE_STATLINE=no
10971 DEFAULT_wxUSE_STATUSBAR=no
10972 DEFAULT_wxUSE_TIMEPICKCTRL=no
10973 DEFAULT_wxUSE_TIPWINDOW=no
10974 DEFAULT_wxUSE_TOGGLEBTN=no
10975 DEFAULT_wxUSE_TOOLBAR=no
10976 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10977 DEFAULT_wxUSE_TOOLBOOK=no
10978 DEFAULT_wxUSE_TOOLTIPS=no
10979 DEFAULT_wxUSE_TREEBOOK=no
10980 DEFAULT_wxUSE_TREECTRL=no
10981 DEFAULT_wxUSE_TREELISTCTRL=no
10982 fi
10983
10984
10985 enablestring=
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10989 defaultval=yes
10990 else
10991 defaultval=no
10992 fi
10993 fi
10994
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
10996 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
10997 # Check whether --enable-markup was given.
10998 if test "${enable_markup+set}" = set; then :
10999 enableval=$enable_markup;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_markup='wxUSE_MARKUP=yes'
11002 else
11003 wx_cv_use_markup='wxUSE_MARKUP=no'
11004 fi
11005
11006 else
11007
11008 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11009
11010 fi
11011
11012
11013 eval "$wx_cv_use_markup"
11014
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_MARKUP = no; then
11017 result=yes
11018 else
11019 result=no
11020 fi
11021 else
11022 result=$wxUSE_MARKUP
11023 fi
11024
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11026 $as_echo "$result" >&6; }
11027
11028
11029
11030 enablestring=
11031 defaultval=$wxUSE_ALL_FEATURES
11032 if test -z "$defaultval"; then
11033 if test x"$enablestring" = xdisable; then
11034 defaultval=yes
11035 else
11036 defaultval=no
11037 fi
11038 fi
11039
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11041 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11042 # Check whether --enable-accel was given.
11043 if test "${enable_accel+set}" = set; then :
11044 enableval=$enable_accel;
11045 if test "$enableval" = yes; then
11046 wx_cv_use_accel='wxUSE_ACCEL=yes'
11047 else
11048 wx_cv_use_accel='wxUSE_ACCEL=no'
11049 fi
11050
11051 else
11052
11053 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11054
11055 fi
11056
11057
11058 eval "$wx_cv_use_accel"
11059
11060 if test x"$enablestring" = xdisable; then
11061 if test $wxUSE_ACCEL = no; then
11062 result=yes
11063 else
11064 result=no
11065 fi
11066 else
11067 result=$wxUSE_ACCEL
11068 fi
11069
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11071 $as_echo "$result" >&6; }
11072
11073
11074 enablestring=
11075 defaultval=$wxUSE_ALL_FEATURES
11076 if test -z "$defaultval"; then
11077 if test x"$enablestring" = xdisable; then
11078 defaultval=yes
11079 else
11080 defaultval=no
11081 fi
11082 fi
11083
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11085 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11086 # Check whether --enable-animatectrl was given.
11087 if test "${enable_animatectrl+set}" = set; then :
11088 enableval=$enable_animatectrl;
11089 if test "$enableval" = yes; then
11090 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11091 else
11092 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11093 fi
11094
11095 else
11096
11097 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11098
11099 fi
11100
11101
11102 eval "$wx_cv_use_animatectrl"
11103
11104 if test x"$enablestring" = xdisable; then
11105 if test $wxUSE_ANIMATIONCTRL = no; then
11106 result=yes
11107 else
11108 result=no
11109 fi
11110 else
11111 result=$wxUSE_ANIMATIONCTRL
11112 fi
11113
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11115 $as_echo "$result" >&6; }
11116
11117
11118 enablestring=
11119 defaultval=$wxUSE_ALL_FEATURES
11120 if test -z "$defaultval"; then
11121 if test x"$enablestring" = xdisable; then
11122 defaultval=yes
11123 else
11124 defaultval=no
11125 fi
11126 fi
11127
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11129 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11130 # Check whether --enable-bannerwindow was given.
11131 if test "${enable_bannerwindow+set}" = set; then :
11132 enableval=$enable_bannerwindow;
11133 if test "$enableval" = yes; then
11134 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11135 else
11136 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11137 fi
11138
11139 else
11140
11141 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11142
11143 fi
11144
11145
11146 eval "$wx_cv_use_bannerwindow"
11147
11148 if test x"$enablestring" = xdisable; then
11149 if test $wxUSE_BANNERWINDOW = no; then
11150 result=yes
11151 else
11152 result=no
11153 fi
11154 else
11155 result=$wxUSE_BANNERWINDOW
11156 fi
11157
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11159 $as_echo "$result" >&6; }
11160
11161
11162 enablestring=
11163 defaultval=$wxUSE_ALL_FEATURES
11164 if test -z "$defaultval"; then
11165 if test x"$enablestring" = xdisable; then
11166 defaultval=yes
11167 else
11168 defaultval=no
11169 fi
11170 fi
11171
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11173 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11174 # Check whether --enable-artstd was given.
11175 if test "${enable_artstd+set}" = set; then :
11176 enableval=$enable_artstd;
11177 if test "$enableval" = yes; then
11178 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11179 else
11180 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11181 fi
11182
11183 else
11184
11185 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11186
11187 fi
11188
11189
11190 eval "$wx_cv_use_artstd"
11191
11192 if test x"$enablestring" = xdisable; then
11193 if test $wxUSE_ARTPROVIDER_STD = no; then
11194 result=yes
11195 else
11196 result=no
11197 fi
11198 else
11199 result=$wxUSE_ARTPROVIDER_STD
11200 fi
11201
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11203 $as_echo "$result" >&6; }
11204
11205
11206 enablestring=
11207 defaultval=$wxUSE_ALL_FEATURES
11208 if test -z "$defaultval"; then
11209 if test x"$enablestring" = xdisable; then
11210 defaultval=yes
11211 else
11212 defaultval=no
11213 fi
11214 fi
11215
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11217 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11218 # Check whether --enable-arttango was given.
11219 if test "${enable_arttango+set}" = set; then :
11220 enableval=$enable_arttango;
11221 if test "$enableval" = yes; then
11222 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11223 else
11224 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11225 fi
11226
11227 else
11228
11229 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11230
11231 fi
11232
11233
11234 eval "$wx_cv_use_arttango"
11235
11236 if test x"$enablestring" = xdisable; then
11237 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11238 result=yes
11239 else
11240 result=no
11241 fi
11242 else
11243 result=$wxUSE_ARTPROVIDER_TANGO
11244 fi
11245
11246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11247 $as_echo "$result" >&6; }
11248
11249
11250 enablestring=
11251 defaultval=$wxUSE_ALL_FEATURES
11252 if test -z "$defaultval"; then
11253 if test x"$enablestring" = xdisable; then
11254 defaultval=yes
11255 else
11256 defaultval=no
11257 fi
11258 fi
11259
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11261 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11262 # Check whether --enable-bmpbutton was given.
11263 if test "${enable_bmpbutton+set}" = set; then :
11264 enableval=$enable_bmpbutton;
11265 if test "$enableval" = yes; then
11266 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11267 else
11268 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11269 fi
11270
11271 else
11272
11273 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11274
11275 fi
11276
11277
11278 eval "$wx_cv_use_bmpbutton"
11279
11280 if test x"$enablestring" = xdisable; then
11281 if test $wxUSE_BMPBUTTON = no; then
11282 result=yes
11283 else
11284 result=no
11285 fi
11286 else
11287 result=$wxUSE_BMPBUTTON
11288 fi
11289
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11291 $as_echo "$result" >&6; }
11292
11293
11294 enablestring=
11295 defaultval=$wxUSE_ALL_FEATURES
11296 if test -z "$defaultval"; then
11297 if test x"$enablestring" = xdisable; then
11298 defaultval=yes
11299 else
11300 defaultval=no
11301 fi
11302 fi
11303
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11305 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11306 # Check whether --enable-bmpcombobox was given.
11307 if test "${enable_bmpcombobox+set}" = set; then :
11308 enableval=$enable_bmpcombobox;
11309 if test "$enableval" = yes; then
11310 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11311 else
11312 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11313 fi
11314
11315 else
11316
11317 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11318
11319 fi
11320
11321
11322 eval "$wx_cv_use_bmpcombobox"
11323
11324 if test x"$enablestring" = xdisable; then
11325 if test $wxUSE_BITMAPCOMBOBOX = no; then
11326 result=yes
11327 else
11328 result=no
11329 fi
11330 else
11331 result=$wxUSE_BITMAPCOMBOBOX
11332 fi
11333
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11335 $as_echo "$result" >&6; }
11336
11337
11338 enablestring=
11339 defaultval=$wxUSE_ALL_FEATURES
11340 if test -z "$defaultval"; then
11341 if test x"$enablestring" = xdisable; then
11342 defaultval=yes
11343 else
11344 defaultval=no
11345 fi
11346 fi
11347
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11349 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11350 # Check whether --enable-button was given.
11351 if test "${enable_button+set}" = set; then :
11352 enableval=$enable_button;
11353 if test "$enableval" = yes; then
11354 wx_cv_use_button='wxUSE_BUTTON=yes'
11355 else
11356 wx_cv_use_button='wxUSE_BUTTON=no'
11357 fi
11358
11359 else
11360
11361 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11362
11363 fi
11364
11365
11366 eval "$wx_cv_use_button"
11367
11368 if test x"$enablestring" = xdisable; then
11369 if test $wxUSE_BUTTON = no; then
11370 result=yes
11371 else
11372 result=no
11373 fi
11374 else
11375 result=$wxUSE_BUTTON
11376 fi
11377
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11379 $as_echo "$result" >&6; }
11380
11381
11382 enablestring=
11383 defaultval=$wxUSE_ALL_FEATURES
11384 if test -z "$defaultval"; then
11385 if test x"$enablestring" = xdisable; then
11386 defaultval=yes
11387 else
11388 defaultval=no
11389 fi
11390 fi
11391
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11393 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11394 # Check whether --enable-calendar was given.
11395 if test "${enable_calendar+set}" = set; then :
11396 enableval=$enable_calendar;
11397 if test "$enableval" = yes; then
11398 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11399 else
11400 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11401 fi
11402
11403 else
11404
11405 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11406
11407 fi
11408
11409
11410 eval "$wx_cv_use_calendar"
11411
11412 if test x"$enablestring" = xdisable; then
11413 if test $wxUSE_CALCTRL = no; then
11414 result=yes
11415 else
11416 result=no
11417 fi
11418 else
11419 result=$wxUSE_CALCTRL
11420 fi
11421
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11423 $as_echo "$result" >&6; }
11424
11425
11426 enablestring=
11427 defaultval=$wxUSE_ALL_FEATURES
11428 if test -z "$defaultval"; then
11429 if test x"$enablestring" = xdisable; then
11430 defaultval=yes
11431 else
11432 defaultval=no
11433 fi
11434 fi
11435
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11437 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11438 # Check whether --enable-caret was given.
11439 if test "${enable_caret+set}" = set; then :
11440 enableval=$enable_caret;
11441 if test "$enableval" = yes; then
11442 wx_cv_use_caret='wxUSE_CARET=yes'
11443 else
11444 wx_cv_use_caret='wxUSE_CARET=no'
11445 fi
11446
11447 else
11448
11449 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11450
11451 fi
11452
11453
11454 eval "$wx_cv_use_caret"
11455
11456 if test x"$enablestring" = xdisable; then
11457 if test $wxUSE_CARET = no; then
11458 result=yes
11459 else
11460 result=no
11461 fi
11462 else
11463 result=$wxUSE_CARET
11464 fi
11465
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11467 $as_echo "$result" >&6; }
11468
11469
11470 enablestring=
11471 defaultval=$wxUSE_ALL_FEATURES
11472 if test -z "$defaultval"; then
11473 if test x"$enablestring" = xdisable; then
11474 defaultval=yes
11475 else
11476 defaultval=no
11477 fi
11478 fi
11479
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11481 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11482 # Check whether --enable-checkbox was given.
11483 if test "${enable_checkbox+set}" = set; then :
11484 enableval=$enable_checkbox;
11485 if test "$enableval" = yes; then
11486 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11487 else
11488 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11489 fi
11490
11491 else
11492
11493 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11494
11495 fi
11496
11497
11498 eval "$wx_cv_use_checkbox"
11499
11500 if test x"$enablestring" = xdisable; then
11501 if test $wxUSE_CHECKBOX = no; then
11502 result=yes
11503 else
11504 result=no
11505 fi
11506 else
11507 result=$wxUSE_CHECKBOX
11508 fi
11509
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11511 $as_echo "$result" >&6; }
11512
11513
11514 enablestring=
11515 defaultval=$wxUSE_ALL_FEATURES
11516 if test -z "$defaultval"; then
11517 if test x"$enablestring" = xdisable; then
11518 defaultval=yes
11519 else
11520 defaultval=no
11521 fi
11522 fi
11523
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11525 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11526 # Check whether --enable-checklst was given.
11527 if test "${enable_checklst+set}" = set; then :
11528 enableval=$enable_checklst;
11529 if test "$enableval" = yes; then
11530 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11531 else
11532 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11533 fi
11534
11535 else
11536
11537 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11538
11539 fi
11540
11541
11542 eval "$wx_cv_use_checklst"
11543
11544 if test x"$enablestring" = xdisable; then
11545 if test $wxUSE_CHECKLST = no; then
11546 result=yes
11547 else
11548 result=no
11549 fi
11550 else
11551 result=$wxUSE_CHECKLST
11552 fi
11553
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11555 $as_echo "$result" >&6; }
11556
11557
11558 enablestring=
11559 defaultval=$wxUSE_ALL_FEATURES
11560 if test -z "$defaultval"; then
11561 if test x"$enablestring" = xdisable; then
11562 defaultval=yes
11563 else
11564 defaultval=no
11565 fi
11566 fi
11567
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11569 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11570 # Check whether --enable-choice was given.
11571 if test "${enable_choice+set}" = set; then :
11572 enableval=$enable_choice;
11573 if test "$enableval" = yes; then
11574 wx_cv_use_choice='wxUSE_CHOICE=yes'
11575 else
11576 wx_cv_use_choice='wxUSE_CHOICE=no'
11577 fi
11578
11579 else
11580
11581 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11582
11583 fi
11584
11585
11586 eval "$wx_cv_use_choice"
11587
11588 if test x"$enablestring" = xdisable; then
11589 if test $wxUSE_CHOICE = no; then
11590 result=yes
11591 else
11592 result=no
11593 fi
11594 else
11595 result=$wxUSE_CHOICE
11596 fi
11597
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11599 $as_echo "$result" >&6; }
11600
11601
11602 enablestring=
11603 defaultval=$wxUSE_ALL_FEATURES
11604 if test -z "$defaultval"; then
11605 if test x"$enablestring" = xdisable; then
11606 defaultval=yes
11607 else
11608 defaultval=no
11609 fi
11610 fi
11611
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11613 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11614 # Check whether --enable-choicebook was given.
11615 if test "${enable_choicebook+set}" = set; then :
11616 enableval=$enable_choicebook;
11617 if test "$enableval" = yes; then
11618 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11619 else
11620 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11621 fi
11622
11623 else
11624
11625 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11626
11627 fi
11628
11629
11630 eval "$wx_cv_use_choicebook"
11631
11632 if test x"$enablestring" = xdisable; then
11633 if test $wxUSE_CHOICEBOOK = no; then
11634 result=yes
11635 else
11636 result=no
11637 fi
11638 else
11639 result=$wxUSE_CHOICEBOOK
11640 fi
11641
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11643 $as_echo "$result" >&6; }
11644
11645
11646 enablestring=
11647 defaultval=$wxUSE_ALL_FEATURES
11648 if test -z "$defaultval"; then
11649 if test x"$enablestring" = xdisable; then
11650 defaultval=yes
11651 else
11652 defaultval=no
11653 fi
11654 fi
11655
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11657 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11658 # Check whether --enable-collpane was given.
11659 if test "${enable_collpane+set}" = set; then :
11660 enableval=$enable_collpane;
11661 if test "$enableval" = yes; then
11662 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11663 else
11664 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11665 fi
11666
11667 else
11668
11669 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11670
11671 fi
11672
11673
11674 eval "$wx_cv_use_collpane"
11675
11676 if test x"$enablestring" = xdisable; then
11677 if test $wxUSE_COLLPANE = no; then
11678 result=yes
11679 else
11680 result=no
11681 fi
11682 else
11683 result=$wxUSE_COLLPANE
11684 fi
11685
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11687 $as_echo "$result" >&6; }
11688
11689
11690 enablestring=
11691 defaultval=$wxUSE_ALL_FEATURES
11692 if test -z "$defaultval"; then
11693 if test x"$enablestring" = xdisable; then
11694 defaultval=yes
11695 else
11696 defaultval=no
11697 fi
11698 fi
11699
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11701 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11702 # Check whether --enable-colourpicker was given.
11703 if test "${enable_colourpicker+set}" = set; then :
11704 enableval=$enable_colourpicker;
11705 if test "$enableval" = yes; then
11706 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11707 else
11708 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11709 fi
11710
11711 else
11712
11713 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11714
11715 fi
11716
11717
11718 eval "$wx_cv_use_colourpicker"
11719
11720 if test x"$enablestring" = xdisable; then
11721 if test $wxUSE_COLOURPICKERCTRL = no; then
11722 result=yes
11723 else
11724 result=no
11725 fi
11726 else
11727 result=$wxUSE_COLOURPICKERCTRL
11728 fi
11729
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11731 $as_echo "$result" >&6; }
11732
11733
11734 enablestring=
11735 defaultval=$wxUSE_ALL_FEATURES
11736 if test -z "$defaultval"; then
11737 if test x"$enablestring" = xdisable; then
11738 defaultval=yes
11739 else
11740 defaultval=no
11741 fi
11742 fi
11743
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11745 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11746 # Check whether --enable-combobox was given.
11747 if test "${enable_combobox+set}" = set; then :
11748 enableval=$enable_combobox;
11749 if test "$enableval" = yes; then
11750 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11751 else
11752 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11753 fi
11754
11755 else
11756
11757 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11758
11759 fi
11760
11761
11762 eval "$wx_cv_use_combobox"
11763
11764 if test x"$enablestring" = xdisable; then
11765 if test $wxUSE_COMBOBOX = no; then
11766 result=yes
11767 else
11768 result=no
11769 fi
11770 else
11771 result=$wxUSE_COMBOBOX
11772 fi
11773
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11775 $as_echo "$result" >&6; }
11776
11777
11778 enablestring=
11779 defaultval=$wxUSE_ALL_FEATURES
11780 if test -z "$defaultval"; then
11781 if test x"$enablestring" = xdisable; then
11782 defaultval=yes
11783 else
11784 defaultval=no
11785 fi
11786 fi
11787
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11789 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11790 # Check whether --enable-comboctrl was given.
11791 if test "${enable_comboctrl+set}" = set; then :
11792 enableval=$enable_comboctrl;
11793 if test "$enableval" = yes; then
11794 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11795 else
11796 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11797 fi
11798
11799 else
11800
11801 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11802
11803 fi
11804
11805
11806 eval "$wx_cv_use_comboctrl"
11807
11808 if test x"$enablestring" = xdisable; then
11809 if test $wxUSE_COMBOCTRL = no; then
11810 result=yes
11811 else
11812 result=no
11813 fi
11814 else
11815 result=$wxUSE_COMBOCTRL
11816 fi
11817
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11819 $as_echo "$result" >&6; }
11820
11821
11822 enablestring=
11823 defaultval=$wxUSE_ALL_FEATURES
11824 if test -z "$defaultval"; then
11825 if test x"$enablestring" = xdisable; then
11826 defaultval=yes
11827 else
11828 defaultval=no
11829 fi
11830 fi
11831
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11833 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11834 # Check whether --enable-commandlinkbutton was given.
11835 if test "${enable_commandlinkbutton+set}" = set; then :
11836 enableval=$enable_commandlinkbutton;
11837 if test "$enableval" = yes; then
11838 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11839 else
11840 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11841 fi
11842
11843 else
11844
11845 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11846
11847 fi
11848
11849
11850 eval "$wx_cv_use_commandlinkbutton"
11851
11852 if test x"$enablestring" = xdisable; then
11853 if test $wxUSE_COMMANDLINKBUTTON = no; then
11854 result=yes
11855 else
11856 result=no
11857 fi
11858 else
11859 result=$wxUSE_COMMANDLINKBUTTON
11860 fi
11861
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11863 $as_echo "$result" >&6; }
11864
11865
11866 enablestring=
11867 defaultval=$wxUSE_ALL_FEATURES
11868 if test -z "$defaultval"; then
11869 if test x"$enablestring" = xdisable; then
11870 defaultval=yes
11871 else
11872 defaultval=no
11873 fi
11874 fi
11875
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11877 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11878 # Check whether --enable-dataviewctrl was given.
11879 if test "${enable_dataviewctrl+set}" = set; then :
11880 enableval=$enable_dataviewctrl;
11881 if test "$enableval" = yes; then
11882 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11883 else
11884 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11885 fi
11886
11887 else
11888
11889 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11890
11891 fi
11892
11893
11894 eval "$wx_cv_use_dataviewctrl"
11895
11896 if test x"$enablestring" = xdisable; then
11897 if test $wxUSE_DATAVIEWCTRL = no; then
11898 result=yes
11899 else
11900 result=no
11901 fi
11902 else
11903 result=$wxUSE_DATAVIEWCTRL
11904 fi
11905
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11907 $as_echo "$result" >&6; }
11908
11909
11910 enablestring=
11911 defaultval=$wxUSE_ALL_FEATURES
11912 if test -z "$defaultval"; then
11913 if test x"$enablestring" = xdisable; then
11914 defaultval=yes
11915 else
11916 defaultval=no
11917 fi
11918 fi
11919
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11921 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11922 # Check whether --enable-datepick was given.
11923 if test "${enable_datepick+set}" = set; then :
11924 enableval=$enable_datepick;
11925 if test "$enableval" = yes; then
11926 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11927 else
11928 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11929 fi
11930
11931 else
11932
11933 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11934
11935 fi
11936
11937
11938 eval "$wx_cv_use_datepick"
11939
11940 if test x"$enablestring" = xdisable; then
11941 if test $wxUSE_DATEPICKCTRL = no; then
11942 result=yes
11943 else
11944 result=no
11945 fi
11946 else
11947 result=$wxUSE_DATEPICKCTRL
11948 fi
11949
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11951 $as_echo "$result" >&6; }
11952
11953
11954 enablestring=
11955 defaultval=$wxUSE_ALL_FEATURES
11956 if test -z "$defaultval"; then
11957 if test x"$enablestring" = xdisable; then
11958 defaultval=yes
11959 else
11960 defaultval=no
11961 fi
11962 fi
11963
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11965 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11966 # Check whether --enable-detect_sm was given.
11967 if test "${enable_detect_sm+set}" = set; then :
11968 enableval=$enable_detect_sm;
11969 if test "$enableval" = yes; then
11970 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11971 else
11972 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11973 fi
11974
11975 else
11976
11977 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11978
11979 fi
11980
11981
11982 eval "$wx_cv_use_detect_sm"
11983
11984 if test x"$enablestring" = xdisable; then
11985 if test $wxUSE_DETECT_SM = no; then
11986 result=yes
11987 else
11988 result=no
11989 fi
11990 else
11991 result=$wxUSE_DETECT_SM
11992 fi
11993
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11995 $as_echo "$result" >&6; }
11996
11997
11998 enablestring=
11999 defaultval=$wxUSE_ALL_FEATURES
12000 if test -z "$defaultval"; then
12001 if test x"$enablestring" = xdisable; then
12002 defaultval=yes
12003 else
12004 defaultval=no
12005 fi
12006 fi
12007
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12009 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12010 # Check whether --enable-dirpicker was given.
12011 if test "${enable_dirpicker+set}" = set; then :
12012 enableval=$enable_dirpicker;
12013 if test "$enableval" = yes; then
12014 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12015 else
12016 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12017 fi
12018
12019 else
12020
12021 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12022
12023 fi
12024
12025
12026 eval "$wx_cv_use_dirpicker"
12027
12028 if test x"$enablestring" = xdisable; then
12029 if test $wxUSE_DIRPICKERCTRL = no; then
12030 result=yes
12031 else
12032 result=no
12033 fi
12034 else
12035 result=$wxUSE_DIRPICKERCTRL
12036 fi
12037
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12039 $as_echo "$result" >&6; }
12040
12041
12042 enablestring=
12043 defaultval=$wxUSE_ALL_FEATURES
12044 if test -z "$defaultval"; then
12045 if test x"$enablestring" = xdisable; then
12046 defaultval=yes
12047 else
12048 defaultval=no
12049 fi
12050 fi
12051
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12053 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12054 # Check whether --enable-display was given.
12055 if test "${enable_display+set}" = set; then :
12056 enableval=$enable_display;
12057 if test "$enableval" = yes; then
12058 wx_cv_use_display='wxUSE_DISPLAY=yes'
12059 else
12060 wx_cv_use_display='wxUSE_DISPLAY=no'
12061 fi
12062
12063 else
12064
12065 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12066
12067 fi
12068
12069
12070 eval "$wx_cv_use_display"
12071
12072 if test x"$enablestring" = xdisable; then
12073 if test $wxUSE_DISPLAY = no; then
12074 result=yes
12075 else
12076 result=no
12077 fi
12078 else
12079 result=$wxUSE_DISPLAY
12080 fi
12081
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12083 $as_echo "$result" >&6; }
12084
12085
12086 enablestring=
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12090 defaultval=yes
12091 else
12092 defaultval=no
12093 fi
12094 fi
12095
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12097 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12098 # Check whether --enable-editablebox was given.
12099 if test "${enable_editablebox+set}" = set; then :
12100 enableval=$enable_editablebox;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12103 else
12104 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12105 fi
12106
12107 else
12108
12109 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12110
12111 fi
12112
12113
12114 eval "$wx_cv_use_editablebox"
12115
12116 if test x"$enablestring" = xdisable; then
12117 if test $wxUSE_EDITABLELISTBOX = no; then
12118 result=yes
12119 else
12120 result=no
12121 fi
12122 else
12123 result=$wxUSE_EDITABLELISTBOX
12124 fi
12125
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12127 $as_echo "$result" >&6; }
12128
12129
12130 enablestring=
12131 defaultval=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x"$enablestring" = xdisable; then
12134 defaultval=yes
12135 else
12136 defaultval=no
12137 fi
12138 fi
12139
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12141 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12142 # Check whether --enable-filectrl was given.
12143 if test "${enable_filectrl+set}" = set; then :
12144 enableval=$enable_filectrl;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12147 else
12148 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12149 fi
12150
12151 else
12152
12153 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12154
12155 fi
12156
12157
12158 eval "$wx_cv_use_filectrl"
12159
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_FILECTRL = no; then
12162 result=yes
12163 else
12164 result=no
12165 fi
12166 else
12167 result=$wxUSE_FILECTRL
12168 fi
12169
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12171 $as_echo "$result" >&6; }
12172
12173
12174 enablestring=
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12178 defaultval=yes
12179 else
12180 defaultval=no
12181 fi
12182 fi
12183
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12185 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12186 # Check whether --enable-filepicker was given.
12187 if test "${enable_filepicker+set}" = set; then :
12188 enableval=$enable_filepicker;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12191 else
12192 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12193 fi
12194
12195 else
12196
12197 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12198
12199 fi
12200
12201
12202 eval "$wx_cv_use_filepicker"
12203
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_FILEPICKERCTRL = no; then
12206 result=yes
12207 else
12208 result=no
12209 fi
12210 else
12211 result=$wxUSE_FILEPICKERCTRL
12212 fi
12213
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12215 $as_echo "$result" >&6; }
12216
12217
12218 enablestring=
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12222 defaultval=yes
12223 else
12224 defaultval=no
12225 fi
12226 fi
12227
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12229 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12230 # Check whether --enable-fontpicker was given.
12231 if test "${enable_fontpicker+set}" = set; then :
12232 enableval=$enable_fontpicker;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12235 else
12236 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12237 fi
12238
12239 else
12240
12241 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12242
12243 fi
12244
12245
12246 eval "$wx_cv_use_fontpicker"
12247
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_FONTPICKERCTRL = no; then
12250 result=yes
12251 else
12252 result=no
12253 fi
12254 else
12255 result=$wxUSE_FONTPICKERCTRL
12256 fi
12257
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12259 $as_echo "$result" >&6; }
12260
12261
12262 enablestring=
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12266 defaultval=yes
12267 else
12268 defaultval=no
12269 fi
12270 fi
12271
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12273 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12274 # Check whether --enable-gauge was given.
12275 if test "${enable_gauge+set}" = set; then :
12276 enableval=$enable_gauge;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12279 else
12280 wx_cv_use_gauge='wxUSE_GAUGE=no'
12281 fi
12282
12283 else
12284
12285 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12286
12287 fi
12288
12289
12290 eval "$wx_cv_use_gauge"
12291
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_GAUGE = no; then
12294 result=yes
12295 else
12296 result=no
12297 fi
12298 else
12299 result=$wxUSE_GAUGE
12300 fi
12301
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12303 $as_echo "$result" >&6; }
12304
12305
12306 enablestring=
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12310 defaultval=yes
12311 else
12312 defaultval=no
12313 fi
12314 fi
12315
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12317 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12318 # Check whether --enable-grid was given.
12319 if test "${enable_grid+set}" = set; then :
12320 enableval=$enable_grid;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_grid='wxUSE_GRID=yes'
12323 else
12324 wx_cv_use_grid='wxUSE_GRID=no'
12325 fi
12326
12327 else
12328
12329 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12330
12331 fi
12332
12333
12334 eval "$wx_cv_use_grid"
12335
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_GRID = no; then
12338 result=yes
12339 else
12340 result=no
12341 fi
12342 else
12343 result=$wxUSE_GRID
12344 fi
12345
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12347 $as_echo "$result" >&6; }
12348
12349
12350 enablestring=
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12354 defaultval=yes
12355 else
12356 defaultval=no
12357 fi
12358 fi
12359
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12361 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12362 # Check whether --enable-headerctrl was given.
12363 if test "${enable_headerctrl+set}" = set; then :
12364 enableval=$enable_headerctrl;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12367 else
12368 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12369 fi
12370
12371 else
12372
12373 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12374
12375 fi
12376
12377
12378 eval "$wx_cv_use_headerctrl"
12379
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_HEADERCTRL = no; then
12382 result=yes
12383 else
12384 result=no
12385 fi
12386 else
12387 result=$wxUSE_HEADERCTRL
12388 fi
12389
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12391 $as_echo "$result" >&6; }
12392
12393
12394 enablestring=
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12398 defaultval=yes
12399 else
12400 defaultval=no
12401 fi
12402 fi
12403
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12405 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12406 # Check whether --enable-hyperlink was given.
12407 if test "${enable_hyperlink+set}" = set; then :
12408 enableval=$enable_hyperlink;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12411 else
12412 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12413 fi
12414
12415 else
12416
12417 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12418
12419 fi
12420
12421
12422 eval "$wx_cv_use_hyperlink"
12423
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_HYPERLINKCTRL = no; then
12426 result=yes
12427 else
12428 result=no
12429 fi
12430 else
12431 result=$wxUSE_HYPERLINKCTRL
12432 fi
12433
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12435 $as_echo "$result" >&6; }
12436
12437
12438 enablestring=
12439 defaultval=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x"$enablestring" = xdisable; then
12442 defaultval=yes
12443 else
12444 defaultval=no
12445 fi
12446 fi
12447
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12449 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12450 # Check whether --enable-imaglist was given.
12451 if test "${enable_imaglist+set}" = set; then :
12452 enableval=$enable_imaglist;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12455 else
12456 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12457 fi
12458
12459 else
12460
12461 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12462
12463 fi
12464
12465
12466 eval "$wx_cv_use_imaglist"
12467
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_IMAGLIST = no; then
12470 result=yes
12471 else
12472 result=no
12473 fi
12474 else
12475 result=$wxUSE_IMAGLIST
12476 fi
12477
12478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12479 $as_echo "$result" >&6; }
12480
12481
12482 enablestring=
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12486 defaultval=yes
12487 else
12488 defaultval=no
12489 fi
12490 fi
12491
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12493 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12494 # Check whether --enable-infobar was given.
12495 if test "${enable_infobar+set}" = set; then :
12496 enableval=$enable_infobar;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12499 else
12500 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12501 fi
12502
12503 else
12504
12505 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12506
12507 fi
12508
12509
12510 eval "$wx_cv_use_infobar"
12511
12512 if test x"$enablestring" = xdisable; then
12513 if test $wxUSE_INFOBAR = no; then
12514 result=yes
12515 else
12516 result=no
12517 fi
12518 else
12519 result=$wxUSE_INFOBAR
12520 fi
12521
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12523 $as_echo "$result" >&6; }
12524
12525
12526 enablestring=
12527 defaultval=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x"$enablestring" = xdisable; then
12530 defaultval=yes
12531 else
12532 defaultval=no
12533 fi
12534 fi
12535
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12537 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12538 # Check whether --enable-listbook was given.
12539 if test "${enable_listbook+set}" = set; then :
12540 enableval=$enable_listbook;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12543 else
12544 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12545 fi
12546
12547 else
12548
12549 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12550
12551 fi
12552
12553
12554 eval "$wx_cv_use_listbook"
12555
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_LISTBOOK = no; then
12558 result=yes
12559 else
12560 result=no
12561 fi
12562 else
12563 result=$wxUSE_LISTBOOK
12564 fi
12565
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12567 $as_echo "$result" >&6; }
12568
12569
12570 enablestring=
12571 defaultval=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x"$enablestring" = xdisable; then
12574 defaultval=yes
12575 else
12576 defaultval=no
12577 fi
12578 fi
12579
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12581 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12582 # Check whether --enable-listbox was given.
12583 if test "${enable_listbox+set}" = set; then :
12584 enableval=$enable_listbox;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12587 else
12588 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12589 fi
12590
12591 else
12592
12593 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12594
12595 fi
12596
12597
12598 eval "$wx_cv_use_listbox"
12599
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_LISTBOX = no; then
12602 result=yes
12603 else
12604 result=no
12605 fi
12606 else
12607 result=$wxUSE_LISTBOX
12608 fi
12609
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12611 $as_echo "$result" >&6; }
12612
12613
12614 enablestring=
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12618 defaultval=yes
12619 else
12620 defaultval=no
12621 fi
12622 fi
12623
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12625 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12626 # Check whether --enable-listctrl was given.
12627 if test "${enable_listctrl+set}" = set; then :
12628 enableval=$enable_listctrl;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12631 else
12632 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12633 fi
12634
12635 else
12636
12637 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12638
12639 fi
12640
12641
12642 eval "$wx_cv_use_listctrl"
12643
12644 if test x"$enablestring" = xdisable; then
12645 if test $wxUSE_LISTCTRL = no; then
12646 result=yes
12647 else
12648 result=no
12649 fi
12650 else
12651 result=$wxUSE_LISTCTRL
12652 fi
12653
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12655 $as_echo "$result" >&6; }
12656
12657
12658 enablestring=
12659 defaultval=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x"$enablestring" = xdisable; then
12662 defaultval=yes
12663 else
12664 defaultval=no
12665 fi
12666 fi
12667
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12669 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12670 # Check whether --enable-notebook was given.
12671 if test "${enable_notebook+set}" = set; then :
12672 enableval=$enable_notebook;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12675 else
12676 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12677 fi
12678
12679 else
12680
12681 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12682
12683 fi
12684
12685
12686 eval "$wx_cv_use_notebook"
12687
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_NOTEBOOK = no; then
12690 result=yes
12691 else
12692 result=no
12693 fi
12694 else
12695 result=$wxUSE_NOTEBOOK
12696 fi
12697
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12699 $as_echo "$result" >&6; }
12700
12701
12702 enablestring=
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12706 defaultval=yes
12707 else
12708 defaultval=no
12709 fi
12710 fi
12711
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12713 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12714 # Check whether --enable-notifmsg was given.
12715 if test "${enable_notifmsg+set}" = set; then :
12716 enableval=$enable_notifmsg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12719 else
12720 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12721 fi
12722
12723 else
12724
12725 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12726
12727 fi
12728
12729
12730 eval "$wx_cv_use_notifmsg"
12731
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12734 result=yes
12735 else
12736 result=no
12737 fi
12738 else
12739 result=$wxUSE_NOTIFICATION_MESSAGE
12740 fi
12741
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12743 $as_echo "$result" >&6; }
12744
12745
12746 enablestring=
12747 defaultval=$wxUSE_ALL_FEATURES
12748 if test -z "$defaultval"; then
12749 if test x"$enablestring" = xdisable; then
12750 defaultval=yes
12751 else
12752 defaultval=no
12753 fi
12754 fi
12755
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12757 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12758 # Check whether --enable-odcombobox was given.
12759 if test "${enable_odcombobox+set}" = set; then :
12760 enableval=$enable_odcombobox;
12761 if test "$enableval" = yes; then
12762 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12763 else
12764 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12765 fi
12766
12767 else
12768
12769 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12770
12771 fi
12772
12773
12774 eval "$wx_cv_use_odcombobox"
12775
12776 if test x"$enablestring" = xdisable; then
12777 if test $wxUSE_ODCOMBOBOX = no; then
12778 result=yes
12779 else
12780 result=no
12781 fi
12782 else
12783 result=$wxUSE_ODCOMBOBOX
12784 fi
12785
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12787 $as_echo "$result" >&6; }
12788
12789
12790 enablestring=
12791 defaultval=$wxUSE_ALL_FEATURES
12792 if test -z "$defaultval"; then
12793 if test x"$enablestring" = xdisable; then
12794 defaultval=yes
12795 else
12796 defaultval=no
12797 fi
12798 fi
12799
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12801 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12802 # Check whether --enable-popupwin was given.
12803 if test "${enable_popupwin+set}" = set; then :
12804 enableval=$enable_popupwin;
12805 if test "$enableval" = yes; then
12806 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12807 else
12808 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12809 fi
12810
12811 else
12812
12813 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12814
12815 fi
12816
12817
12818 eval "$wx_cv_use_popupwin"
12819
12820 if test x"$enablestring" = xdisable; then
12821 if test $wxUSE_POPUPWIN = no; then
12822 result=yes
12823 else
12824 result=no
12825 fi
12826 else
12827 result=$wxUSE_POPUPWIN
12828 fi
12829
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12831 $as_echo "$result" >&6; }
12832
12833
12834 enablestring=
12835 defaultval=$wxUSE_ALL_FEATURES
12836 if test -z "$defaultval"; then
12837 if test x"$enablestring" = xdisable; then
12838 defaultval=yes
12839 else
12840 defaultval=no
12841 fi
12842 fi
12843
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12845 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12846 # Check whether --enable-radiobox was given.
12847 if test "${enable_radiobox+set}" = set; then :
12848 enableval=$enable_radiobox;
12849 if test "$enableval" = yes; then
12850 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12851 else
12852 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12853 fi
12854
12855 else
12856
12857 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12858
12859 fi
12860
12861
12862 eval "$wx_cv_use_radiobox"
12863
12864 if test x"$enablestring" = xdisable; then
12865 if test $wxUSE_RADIOBOX = no; then
12866 result=yes
12867 else
12868 result=no
12869 fi
12870 else
12871 result=$wxUSE_RADIOBOX
12872 fi
12873
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12875 $as_echo "$result" >&6; }
12876
12877
12878 enablestring=
12879 defaultval=$wxUSE_ALL_FEATURES
12880 if test -z "$defaultval"; then
12881 if test x"$enablestring" = xdisable; then
12882 defaultval=yes
12883 else
12884 defaultval=no
12885 fi
12886 fi
12887
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12889 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12890 # Check whether --enable-radiobtn was given.
12891 if test "${enable_radiobtn+set}" = set; then :
12892 enableval=$enable_radiobtn;
12893 if test "$enableval" = yes; then
12894 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12895 else
12896 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12897 fi
12898
12899 else
12900
12901 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12902
12903 fi
12904
12905
12906 eval "$wx_cv_use_radiobtn"
12907
12908 if test x"$enablestring" = xdisable; then
12909 if test $wxUSE_RADIOBTN = no; then
12910 result=yes
12911 else
12912 result=no
12913 fi
12914 else
12915 result=$wxUSE_RADIOBTN
12916 fi
12917
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12919 $as_echo "$result" >&6; }
12920
12921
12922 enablestring=
12923 defaultval=$wxUSE_ALL_FEATURES
12924 if test -z "$defaultval"; then
12925 if test x"$enablestring" = xdisable; then
12926 defaultval=yes
12927 else
12928 defaultval=no
12929 fi
12930 fi
12931
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12933 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12934 # Check whether --enable-richmsgdlg was given.
12935 if test "${enable_richmsgdlg+set}" = set; then :
12936 enableval=$enable_richmsgdlg;
12937 if test "$enableval" = yes; then
12938 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12939 else
12940 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12941 fi
12942
12943 else
12944
12945 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12946
12947 fi
12948
12949
12950 eval "$wx_cv_use_richmsgdlg"
12951
12952 if test x"$enablestring" = xdisable; then
12953 if test $wxUSE_RICHMSGDLG = no; then
12954 result=yes
12955 else
12956 result=no
12957 fi
12958 else
12959 result=$wxUSE_RICHMSGDLG
12960 fi
12961
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12963 $as_echo "$result" >&6; }
12964
12965
12966 enablestring=
12967 defaultval=$wxUSE_ALL_FEATURES
12968 if test -z "$defaultval"; then
12969 if test x"$enablestring" = xdisable; then
12970 defaultval=yes
12971 else
12972 defaultval=no
12973 fi
12974 fi
12975
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12977 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12978 # Check whether --enable-richtooltip was given.
12979 if test "${enable_richtooltip+set}" = set; then :
12980 enableval=$enable_richtooltip;
12981 if test "$enableval" = yes; then
12982 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
12983 else
12984 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
12985 fi
12986
12987 else
12988
12989 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
12990
12991 fi
12992
12993
12994 eval "$wx_cv_use_richtooltip"
12995
12996 if test x"$enablestring" = xdisable; then
12997 if test $wxUSE_RICHTOOLTIP = no; then
12998 result=yes
12999 else
13000 result=no
13001 fi
13002 else
13003 result=$wxUSE_RICHTOOLTIP
13004 fi
13005
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13007 $as_echo "$result" >&6; }
13008
13009
13010 enablestring=
13011 defaultval=$wxUSE_ALL_FEATURES
13012 if test -z "$defaultval"; then
13013 if test x"$enablestring" = xdisable; then
13014 defaultval=yes
13015 else
13016 defaultval=no
13017 fi
13018 fi
13019
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13021 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13022 # Check whether --enable-rearrangectrl was given.
13023 if test "${enable_rearrangectrl+set}" = set; then :
13024 enableval=$enable_rearrangectrl;
13025 if test "$enableval" = yes; then
13026 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13027 else
13028 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13029 fi
13030
13031 else
13032
13033 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13034
13035 fi
13036
13037
13038 eval "$wx_cv_use_rearrangectrl"
13039
13040 if test x"$enablestring" = xdisable; then
13041 if test $wxUSE_REARRANGECTRL = no; then
13042 result=yes
13043 else
13044 result=no
13045 fi
13046 else
13047 result=$wxUSE_REARRANGECTRL
13048 fi
13049
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13051 $as_echo "$result" >&6; }
13052
13053
13054 enablestring=
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13058 defaultval=yes
13059 else
13060 defaultval=no
13061 fi
13062 fi
13063
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13065 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13066 # Check whether --enable-sash was given.
13067 if test "${enable_sash+set}" = set; then :
13068 enableval=$enable_sash;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_sash='wxUSE_SASH=yes'
13071 else
13072 wx_cv_use_sash='wxUSE_SASH=no'
13073 fi
13074
13075 else
13076
13077 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13078
13079 fi
13080
13081
13082 eval "$wx_cv_use_sash"
13083
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_SASH = no; then
13086 result=yes
13087 else
13088 result=no
13089 fi
13090 else
13091 result=$wxUSE_SASH
13092 fi
13093
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13095 $as_echo "$result" >&6; }
13096
13097
13098 enablestring=
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13102 defaultval=yes
13103 else
13104 defaultval=no
13105 fi
13106 fi
13107
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13109 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13110 # Check whether --enable-scrollbar was given.
13111 if test "${enable_scrollbar+set}" = set; then :
13112 enableval=$enable_scrollbar;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13115 else
13116 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13117 fi
13118
13119 else
13120
13121 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13122
13123 fi
13124
13125
13126 eval "$wx_cv_use_scrollbar"
13127
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_SCROLLBAR = no; then
13130 result=yes
13131 else
13132 result=no
13133 fi
13134 else
13135 result=$wxUSE_SCROLLBAR
13136 fi
13137
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13139 $as_echo "$result" >&6; }
13140
13141
13142 enablestring=
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13146 defaultval=yes
13147 else
13148 defaultval=no
13149 fi
13150 fi
13151
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13153 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13154 # Check whether --enable-searchctrl was given.
13155 if test "${enable_searchctrl+set}" = set; then :
13156 enableval=$enable_searchctrl;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13159 else
13160 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13161 fi
13162
13163 else
13164
13165 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13166
13167 fi
13168
13169
13170 eval "$wx_cv_use_searchctrl"
13171
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_SEARCHCTRL = no; then
13174 result=yes
13175 else
13176 result=no
13177 fi
13178 else
13179 result=$wxUSE_SEARCHCTRL
13180 fi
13181
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13183 $as_echo "$result" >&6; }
13184
13185
13186 enablestring=
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13190 defaultval=yes
13191 else
13192 defaultval=no
13193 fi
13194 fi
13195
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13197 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13198 # Check whether --enable-slider was given.
13199 if test "${enable_slider+set}" = set; then :
13200 enableval=$enable_slider;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_slider='wxUSE_SLIDER=yes'
13203 else
13204 wx_cv_use_slider='wxUSE_SLIDER=no'
13205 fi
13206
13207 else
13208
13209 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13210
13211 fi
13212
13213
13214 eval "$wx_cv_use_slider"
13215
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_SLIDER = no; then
13218 result=yes
13219 else
13220 result=no
13221 fi
13222 else
13223 result=$wxUSE_SLIDER
13224 fi
13225
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13227 $as_echo "$result" >&6; }
13228
13229
13230 enablestring=
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13234 defaultval=yes
13235 else
13236 defaultval=no
13237 fi
13238 fi
13239
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13241 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13242 # Check whether --enable-spinbtn was given.
13243 if test "${enable_spinbtn+set}" = set; then :
13244 enableval=$enable_spinbtn;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13247 else
13248 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13249 fi
13250
13251 else
13252
13253 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13254
13255 fi
13256
13257
13258 eval "$wx_cv_use_spinbtn"
13259
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_SPINBTN = no; then
13262 result=yes
13263 else
13264 result=no
13265 fi
13266 else
13267 result=$wxUSE_SPINBTN
13268 fi
13269
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13271 $as_echo "$result" >&6; }
13272
13273
13274 enablestring=
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13278 defaultval=yes
13279 else
13280 defaultval=no
13281 fi
13282 fi
13283
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13285 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13286 # Check whether --enable-spinctrl was given.
13287 if test "${enable_spinctrl+set}" = set; then :
13288 enableval=$enable_spinctrl;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13291 else
13292 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13293 fi
13294
13295 else
13296
13297 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13298
13299 fi
13300
13301
13302 eval "$wx_cv_use_spinctrl"
13303
13304 if test x"$enablestring" = xdisable; then
13305 if test $wxUSE_SPINCTRL = no; then
13306 result=yes
13307 else
13308 result=no
13309 fi
13310 else
13311 result=$wxUSE_SPINCTRL
13312 fi
13313
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13315 $as_echo "$result" >&6; }
13316
13317
13318 enablestring=
13319 defaultval=$wxUSE_ALL_FEATURES
13320 if test -z "$defaultval"; then
13321 if test x"$enablestring" = xdisable; then
13322 defaultval=yes
13323 else
13324 defaultval=no
13325 fi
13326 fi
13327
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13329 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13330 # Check whether --enable-splitter was given.
13331 if test "${enable_splitter+set}" = set; then :
13332 enableval=$enable_splitter;
13333 if test "$enableval" = yes; then
13334 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13335 else
13336 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13337 fi
13338
13339 else
13340
13341 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13342
13343 fi
13344
13345
13346 eval "$wx_cv_use_splitter"
13347
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_SPLITTER = no; then
13350 result=yes
13351 else
13352 result=no
13353 fi
13354 else
13355 result=$wxUSE_SPLITTER
13356 fi
13357
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13359 $as_echo "$result" >&6; }
13360
13361
13362 enablestring=
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13366 defaultval=yes
13367 else
13368 defaultval=no
13369 fi
13370 fi
13371
13372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13373 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13374 # Check whether --enable-statbmp was given.
13375 if test "${enable_statbmp+set}" = set; then :
13376 enableval=$enable_statbmp;
13377 if test "$enableval" = yes; then
13378 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13379 else
13380 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13381 fi
13382
13383 else
13384
13385 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13386
13387 fi
13388
13389
13390 eval "$wx_cv_use_statbmp"
13391
13392 if test x"$enablestring" = xdisable; then
13393 if test $wxUSE_STATBMP = no; then
13394 result=yes
13395 else
13396 result=no
13397 fi
13398 else
13399 result=$wxUSE_STATBMP
13400 fi
13401
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13403 $as_echo "$result" >&6; }
13404
13405
13406 enablestring=
13407 defaultval=$wxUSE_ALL_FEATURES
13408 if test -z "$defaultval"; then
13409 if test x"$enablestring" = xdisable; then
13410 defaultval=yes
13411 else
13412 defaultval=no
13413 fi
13414 fi
13415
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13417 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13418 # Check whether --enable-statbox was given.
13419 if test "${enable_statbox+set}" = set; then :
13420 enableval=$enable_statbox;
13421 if test "$enableval" = yes; then
13422 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13423 else
13424 wx_cv_use_statbox='wxUSE_STATBOX=no'
13425 fi
13426
13427 else
13428
13429 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13430
13431 fi
13432
13433
13434 eval "$wx_cv_use_statbox"
13435
13436 if test x"$enablestring" = xdisable; then
13437 if test $wxUSE_STATBOX = no; then
13438 result=yes
13439 else
13440 result=no
13441 fi
13442 else
13443 result=$wxUSE_STATBOX
13444 fi
13445
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13447 $as_echo "$result" >&6; }
13448
13449
13450 enablestring=
13451 defaultval=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x"$enablestring" = xdisable; then
13454 defaultval=yes
13455 else
13456 defaultval=no
13457 fi
13458 fi
13459
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13461 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13462 # Check whether --enable-statline was given.
13463 if test "${enable_statline+set}" = set; then :
13464 enableval=$enable_statline;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_statline='wxUSE_STATLINE=yes'
13467 else
13468 wx_cv_use_statline='wxUSE_STATLINE=no'
13469 fi
13470
13471 else
13472
13473 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13474
13475 fi
13476
13477
13478 eval "$wx_cv_use_statline"
13479
13480 if test x"$enablestring" = xdisable; then
13481 if test $wxUSE_STATLINE = no; then
13482 result=yes
13483 else
13484 result=no
13485 fi
13486 else
13487 result=$wxUSE_STATLINE
13488 fi
13489
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13491 $as_echo "$result" >&6; }
13492
13493
13494 enablestring=
13495 defaultval=$wxUSE_ALL_FEATURES
13496 if test -z "$defaultval"; then
13497 if test x"$enablestring" = xdisable; then
13498 defaultval=yes
13499 else
13500 defaultval=no
13501 fi
13502 fi
13503
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13505 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13506 # Check whether --enable-stattext was given.
13507 if test "${enable_stattext+set}" = set; then :
13508 enableval=$enable_stattext;
13509 if test "$enableval" = yes; then
13510 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13511 else
13512 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13513 fi
13514
13515 else
13516
13517 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13518
13519 fi
13520
13521
13522 eval "$wx_cv_use_stattext"
13523
13524 if test x"$enablestring" = xdisable; then
13525 if test $wxUSE_STATTEXT = no; then
13526 result=yes
13527 else
13528 result=no
13529 fi
13530 else
13531 result=$wxUSE_STATTEXT
13532 fi
13533
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13535 $as_echo "$result" >&6; }
13536
13537
13538 enablestring=
13539 defaultval=$wxUSE_ALL_FEATURES
13540 if test -z "$defaultval"; then
13541 if test x"$enablestring" = xdisable; then
13542 defaultval=yes
13543 else
13544 defaultval=no
13545 fi
13546 fi
13547
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13549 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13550 # Check whether --enable-statusbar was given.
13551 if test "${enable_statusbar+set}" = set; then :
13552 enableval=$enable_statusbar;
13553 if test "$enableval" = yes; then
13554 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13555 else
13556 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13557 fi
13558
13559 else
13560
13561 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13562
13563 fi
13564
13565
13566 eval "$wx_cv_use_statusbar"
13567
13568 if test x"$enablestring" = xdisable; then
13569 if test $wxUSE_STATUSBAR = no; then
13570 result=yes
13571 else
13572 result=no
13573 fi
13574 else
13575 result=$wxUSE_STATUSBAR
13576 fi
13577
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13579 $as_echo "$result" >&6; }
13580
13581
13582 enablestring=
13583 defaultval=$wxUSE_ALL_FEATURES
13584 if test -z "$defaultval"; then
13585 if test x"$enablestring" = xdisable; then
13586 defaultval=yes
13587 else
13588 defaultval=no
13589 fi
13590 fi
13591
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13593 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13594 # Check whether --enable-taskbaricon was given.
13595 if test "${enable_taskbaricon+set}" = set; then :
13596 enableval=$enable_taskbaricon;
13597 if test "$enableval" = yes; then
13598 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13599 else
13600 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13601 fi
13602
13603 else
13604
13605 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13606
13607 fi
13608
13609
13610 eval "$wx_cv_use_taskbaricon"
13611
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_TASKBARICON = no; then
13614 result=yes
13615 else
13616 result=no
13617 fi
13618 else
13619 result=$wxUSE_TASKBARICON
13620 fi
13621
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13623 $as_echo "$result" >&6; }
13624
13625
13626 enablestring=
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13630 defaultval=yes
13631 else
13632 defaultval=no
13633 fi
13634 fi
13635
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13637 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13638 # Check whether --enable-tbarnative was given.
13639 if test "${enable_tbarnative+set}" = set; then :
13640 enableval=$enable_tbarnative;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13643 else
13644 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13645 fi
13646
13647 else
13648
13649 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13650
13651 fi
13652
13653
13654 eval "$wx_cv_use_tbarnative"
13655
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_TOOLBAR_NATIVE = no; then
13658 result=yes
13659 else
13660 result=no
13661 fi
13662 else
13663 result=$wxUSE_TOOLBAR_NATIVE
13664 fi
13665
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13667 $as_echo "$result" >&6; }
13668
13669
13670 enablestring=
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13674 defaultval=yes
13675 else
13676 defaultval=no
13677 fi
13678 fi
13679
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13681 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13682 # Check whether --enable-textctrl was given.
13683 if test "${enable_textctrl+set}" = set; then :
13684 enableval=$enable_textctrl;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13687 else
13688 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13689 fi
13690
13691 else
13692
13693 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13694
13695 fi
13696
13697
13698 eval "$wx_cv_use_textctrl"
13699
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_TEXTCTRL = no; then
13702 result=yes
13703 else
13704 result=no
13705 fi
13706 else
13707 result=$wxUSE_TEXTCTRL
13708 fi
13709
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13711 $as_echo "$result" >&6; }
13712
13713
13714 enablestring=
13715 defaultval=$wxUSE_ALL_FEATURES
13716 if test -z "$defaultval"; then
13717 if test x"$enablestring" = xdisable; then
13718 defaultval=yes
13719 else
13720 defaultval=no
13721 fi
13722 fi
13723
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13725 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13726 # Check whether --enable-datepick was given.
13727 if test "${enable_datepick+set}" = set; then :
13728 enableval=$enable_datepick;
13729 if test "$enableval" = yes; then
13730 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13731 else
13732 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13733 fi
13734
13735 else
13736
13737 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13738
13739 fi
13740
13741
13742 eval "$wx_cv_use_datepick"
13743
13744 if test x"$enablestring" = xdisable; then
13745 if test $wxUSE_TIMEPICKCTRL = no; then
13746 result=yes
13747 else
13748 result=no
13749 fi
13750 else
13751 result=$wxUSE_TIMEPICKCTRL
13752 fi
13753
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13755 $as_echo "$result" >&6; }
13756
13757
13758 enablestring=
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13762 defaultval=yes
13763 else
13764 defaultval=no
13765 fi
13766 fi
13767
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13769 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13770 # Check whether --enable-tipwindow was given.
13771 if test "${enable_tipwindow+set}" = set; then :
13772 enableval=$enable_tipwindow;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13775 else
13776 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13777 fi
13778
13779 else
13780
13781 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13782
13783 fi
13784
13785
13786 eval "$wx_cv_use_tipwindow"
13787
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_TIPWINDOW = no; then
13790 result=yes
13791 else
13792 result=no
13793 fi
13794 else
13795 result=$wxUSE_TIPWINDOW
13796 fi
13797
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13799 $as_echo "$result" >&6; }
13800
13801
13802 enablestring=
13803 defaultval=$wxUSE_ALL_FEATURES
13804 if test -z "$defaultval"; then
13805 if test x"$enablestring" = xdisable; then
13806 defaultval=yes
13807 else
13808 defaultval=no
13809 fi
13810 fi
13811
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13813 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13814 # Check whether --enable-togglebtn was given.
13815 if test "${enable_togglebtn+set}" = set; then :
13816 enableval=$enable_togglebtn;
13817 if test "$enableval" = yes; then
13818 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13819 else
13820 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13821 fi
13822
13823 else
13824
13825 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13826
13827 fi
13828
13829
13830 eval "$wx_cv_use_togglebtn"
13831
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_TOGGLEBTN = no; then
13834 result=yes
13835 else
13836 result=no
13837 fi
13838 else
13839 result=$wxUSE_TOGGLEBTN
13840 fi
13841
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13843 $as_echo "$result" >&6; }
13844
13845
13846 enablestring=
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13850 defaultval=yes
13851 else
13852 defaultval=no
13853 fi
13854 fi
13855
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13857 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13858 # Check whether --enable-toolbar was given.
13859 if test "${enable_toolbar+set}" = set; then :
13860 enableval=$enable_toolbar;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13863 else
13864 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13865 fi
13866
13867 else
13868
13869 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13870
13871 fi
13872
13873
13874 eval "$wx_cv_use_toolbar"
13875
13876 if test x"$enablestring" = xdisable; then
13877 if test $wxUSE_TOOLBAR = no; then
13878 result=yes
13879 else
13880 result=no
13881 fi
13882 else
13883 result=$wxUSE_TOOLBAR
13884 fi
13885
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13887 $as_echo "$result" >&6; }
13888
13889
13890 enablestring=
13891 defaultval=$wxUSE_ALL_FEATURES
13892 if test -z "$defaultval"; then
13893 if test x"$enablestring" = xdisable; then
13894 defaultval=yes
13895 else
13896 defaultval=no
13897 fi
13898 fi
13899
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13901 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13902 # Check whether --enable-toolbook was given.
13903 if test "${enable_toolbook+set}" = set; then :
13904 enableval=$enable_toolbook;
13905 if test "$enableval" = yes; then
13906 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13907 else
13908 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13909 fi
13910
13911 else
13912
13913 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13914
13915 fi
13916
13917
13918 eval "$wx_cv_use_toolbook"
13919
13920 if test x"$enablestring" = xdisable; then
13921 if test $wxUSE_TOOLBOOK = no; then
13922 result=yes
13923 else
13924 result=no
13925 fi
13926 else
13927 result=$wxUSE_TOOLBOOK
13928 fi
13929
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13931 $as_echo "$result" >&6; }
13932
13933
13934 enablestring=
13935 defaultval=$wxUSE_ALL_FEATURES
13936 if test -z "$defaultval"; then
13937 if test x"$enablestring" = xdisable; then
13938 defaultval=yes
13939 else
13940 defaultval=no
13941 fi
13942 fi
13943
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13945 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13946 # Check whether --enable-treebook was given.
13947 if test "${enable_treebook+set}" = set; then :
13948 enableval=$enable_treebook;
13949 if test "$enableval" = yes; then
13950 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13951 else
13952 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13953 fi
13954
13955 else
13956
13957 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13958
13959 fi
13960
13961
13962 eval "$wx_cv_use_treebook"
13963
13964 if test x"$enablestring" = xdisable; then
13965 if test $wxUSE_TREEBOOK = no; then
13966 result=yes
13967 else
13968 result=no
13969 fi
13970 else
13971 result=$wxUSE_TREEBOOK
13972 fi
13973
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13975 $as_echo "$result" >&6; }
13976
13977
13978 enablestring=
13979 defaultval=$wxUSE_ALL_FEATURES
13980 if test -z "$defaultval"; then
13981 if test x"$enablestring" = xdisable; then
13982 defaultval=yes
13983 else
13984 defaultval=no
13985 fi
13986 fi
13987
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
13989 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
13990 # Check whether --enable-treectrl was given.
13991 if test "${enable_treectrl+set}" = set; then :
13992 enableval=$enable_treectrl;
13993 if test "$enableval" = yes; then
13994 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13995 else
13996 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13997 fi
13998
13999 else
14000
14001 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14002
14003 fi
14004
14005
14006 eval "$wx_cv_use_treectrl"
14007
14008 if test x"$enablestring" = xdisable; then
14009 if test $wxUSE_TREECTRL = no; then
14010 result=yes
14011 else
14012 result=no
14013 fi
14014 else
14015 result=$wxUSE_TREECTRL
14016 fi
14017
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14019 $as_echo "$result" >&6; }
14020
14021
14022 enablestring=
14023 defaultval=$wxUSE_ALL_FEATURES
14024 if test -z "$defaultval"; then
14025 if test x"$enablestring" = xdisable; then
14026 defaultval=yes
14027 else
14028 defaultval=no
14029 fi
14030 fi
14031
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14033 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14034 # Check whether --enable-treelist was given.
14035 if test "${enable_treelist+set}" = set; then :
14036 enableval=$enable_treelist;
14037 if test "$enableval" = yes; then
14038 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14039 else
14040 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14041 fi
14042
14043 else
14044
14045 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14046
14047 fi
14048
14049
14050 eval "$wx_cv_use_treelist"
14051
14052 if test x"$enablestring" = xdisable; then
14053 if test $wxUSE_TREELISTCTRL = no; then
14054 result=yes
14055 else
14056 result=no
14057 fi
14058 else
14059 result=$wxUSE_TREELISTCTRL
14060 fi
14061
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14063 $as_echo "$result" >&6; }
14064
14065
14066
14067
14068 enablestring=
14069 defaultval=$wxUSE_ALL_FEATURES
14070 if test -z "$defaultval"; then
14071 if test x"$enablestring" = xdisable; then
14072 defaultval=yes
14073 else
14074 defaultval=no
14075 fi
14076 fi
14077
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14079 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14080 # Check whether --enable-commondlg was given.
14081 if test "${enable_commondlg+set}" = set; then :
14082 enableval=$enable_commondlg;
14083 if test "$enableval" = yes; then
14084 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14085 else
14086 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14087 fi
14088
14089 else
14090
14091 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14092
14093 fi
14094
14095
14096 eval "$wx_cv_use_commondlg"
14097
14098 if test x"$enablestring" = xdisable; then
14099 if test $wxUSE_COMMONDLGS = no; then
14100 result=yes
14101 else
14102 result=no
14103 fi
14104 else
14105 result=$wxUSE_COMMONDLGS
14106 fi
14107
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14109 $as_echo "$result" >&6; }
14110
14111
14112 enablestring=
14113 defaultval=$wxUSE_ALL_FEATURES
14114 if test -z "$defaultval"; then
14115 if test x"$enablestring" = xdisable; then
14116 defaultval=yes
14117 else
14118 defaultval=no
14119 fi
14120 fi
14121
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14123 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14124 # Check whether --enable-aboutdlg was given.
14125 if test "${enable_aboutdlg+set}" = set; then :
14126 enableval=$enable_aboutdlg;
14127 if test "$enableval" = yes; then
14128 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14129 else
14130 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14131 fi
14132
14133 else
14134
14135 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14136
14137 fi
14138
14139
14140 eval "$wx_cv_use_aboutdlg"
14141
14142 if test x"$enablestring" = xdisable; then
14143 if test $wxUSE_ABOUTDLG = no; then
14144 result=yes
14145 else
14146 result=no
14147 fi
14148 else
14149 result=$wxUSE_ABOUTDLG
14150 fi
14151
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14153 $as_echo "$result" >&6; }
14154
14155
14156 enablestring=
14157 defaultval=$wxUSE_ALL_FEATURES
14158 if test -z "$defaultval"; then
14159 if test x"$enablestring" = xdisable; then
14160 defaultval=yes
14161 else
14162 defaultval=no
14163 fi
14164 fi
14165
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14167 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14168 # Check whether --enable-choicedlg was given.
14169 if test "${enable_choicedlg+set}" = set; then :
14170 enableval=$enable_choicedlg;
14171 if test "$enableval" = yes; then
14172 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14173 else
14174 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14175 fi
14176
14177 else
14178
14179 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14180
14181 fi
14182
14183
14184 eval "$wx_cv_use_choicedlg"
14185
14186 if test x"$enablestring" = xdisable; then
14187 if test $wxUSE_CHOICEDLG = no; then
14188 result=yes
14189 else
14190 result=no
14191 fi
14192 else
14193 result=$wxUSE_CHOICEDLG
14194 fi
14195
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14197 $as_echo "$result" >&6; }
14198
14199
14200 enablestring=
14201 defaultval=$wxUSE_ALL_FEATURES
14202 if test -z "$defaultval"; then
14203 if test x"$enablestring" = xdisable; then
14204 defaultval=yes
14205 else
14206 defaultval=no
14207 fi
14208 fi
14209
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14211 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14212 # Check whether --enable-coldlg was given.
14213 if test "${enable_coldlg+set}" = set; then :
14214 enableval=$enable_coldlg;
14215 if test "$enableval" = yes; then
14216 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14217 else
14218 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14219 fi
14220
14221 else
14222
14223 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14224
14225 fi
14226
14227
14228 eval "$wx_cv_use_coldlg"
14229
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_COLOURDLG = no; then
14232 result=yes
14233 else
14234 result=no
14235 fi
14236 else
14237 result=$wxUSE_COLOURDLG
14238 fi
14239
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14241 $as_echo "$result" >&6; }
14242
14243
14244 enablestring=
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14248 defaultval=yes
14249 else
14250 defaultval=no
14251 fi
14252 fi
14253
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14255 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14256 # Check whether --enable-filedlg was given.
14257 if test "${enable_filedlg+set}" = set; then :
14258 enableval=$enable_filedlg;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14261 else
14262 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14263 fi
14264
14265 else
14266
14267 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14268
14269 fi
14270
14271
14272 eval "$wx_cv_use_filedlg"
14273
14274 if test x"$enablestring" = xdisable; then
14275 if test $wxUSE_FILEDLG = no; then
14276 result=yes
14277 else
14278 result=no
14279 fi
14280 else
14281 result=$wxUSE_FILEDLG
14282 fi
14283
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14285 $as_echo "$result" >&6; }
14286
14287
14288 enablestring=
14289 defaultval=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x"$enablestring" = xdisable; then
14292 defaultval=yes
14293 else
14294 defaultval=no
14295 fi
14296 fi
14297
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14299 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14300 # Check whether --enable-finddlg was given.
14301 if test "${enable_finddlg+set}" = set; then :
14302 enableval=$enable_finddlg;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14305 else
14306 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14307 fi
14308
14309 else
14310
14311 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14312
14313 fi
14314
14315
14316 eval "$wx_cv_use_finddlg"
14317
14318 if test x"$enablestring" = xdisable; then
14319 if test $wxUSE_FINDREPLDLG = no; then
14320 result=yes
14321 else
14322 result=no
14323 fi
14324 else
14325 result=$wxUSE_FINDREPLDLG
14326 fi
14327
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14329 $as_echo "$result" >&6; }
14330
14331
14332 enablestring=
14333 defaultval=$wxUSE_ALL_FEATURES
14334 if test -z "$defaultval"; then
14335 if test x"$enablestring" = xdisable; then
14336 defaultval=yes
14337 else
14338 defaultval=no
14339 fi
14340 fi
14341
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14343 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14344 # Check whether --enable-fontdlg was given.
14345 if test "${enable_fontdlg+set}" = set; then :
14346 enableval=$enable_fontdlg;
14347 if test "$enableval" = yes; then
14348 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14349 else
14350 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14351 fi
14352
14353 else
14354
14355 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14356
14357 fi
14358
14359
14360 eval "$wx_cv_use_fontdlg"
14361
14362 if test x"$enablestring" = xdisable; then
14363 if test $wxUSE_FONTDLG = no; then
14364 result=yes
14365 else
14366 result=no
14367 fi
14368 else
14369 result=$wxUSE_FONTDLG
14370 fi
14371
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14373 $as_echo "$result" >&6; }
14374
14375
14376 enablestring=
14377 defaultval=$wxUSE_ALL_FEATURES
14378 if test -z "$defaultval"; then
14379 if test x"$enablestring" = xdisable; then
14380 defaultval=yes
14381 else
14382 defaultval=no
14383 fi
14384 fi
14385
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14387 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14388 # Check whether --enable-dirdlg was given.
14389 if test "${enable_dirdlg+set}" = set; then :
14390 enableval=$enable_dirdlg;
14391 if test "$enableval" = yes; then
14392 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14393 else
14394 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14395 fi
14396
14397 else
14398
14399 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14400
14401 fi
14402
14403
14404 eval "$wx_cv_use_dirdlg"
14405
14406 if test x"$enablestring" = xdisable; then
14407 if test $wxUSE_DIRDLG = no; then
14408 result=yes
14409 else
14410 result=no
14411 fi
14412 else
14413 result=$wxUSE_DIRDLG
14414 fi
14415
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14417 $as_echo "$result" >&6; }
14418
14419
14420 enablestring=
14421 defaultval=$wxUSE_ALL_FEATURES
14422 if test -z "$defaultval"; then
14423 if test x"$enablestring" = xdisable; then
14424 defaultval=yes
14425 else
14426 defaultval=no
14427 fi
14428 fi
14429
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14431 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14432 # Check whether --enable-msgdlg was given.
14433 if test "${enable_msgdlg+set}" = set; then :
14434 enableval=$enable_msgdlg;
14435 if test "$enableval" = yes; then
14436 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14437 else
14438 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14439 fi
14440
14441 else
14442
14443 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14444
14445 fi
14446
14447
14448 eval "$wx_cv_use_msgdlg"
14449
14450 if test x"$enablestring" = xdisable; then
14451 if test $wxUSE_MSGDLG = no; then
14452 result=yes
14453 else
14454 result=no
14455 fi
14456 else
14457 result=$wxUSE_MSGDLG
14458 fi
14459
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14461 $as_echo "$result" >&6; }
14462
14463
14464 enablestring=
14465 defaultval=$wxUSE_ALL_FEATURES
14466 if test -z "$defaultval"; then
14467 if test x"$enablestring" = xdisable; then
14468 defaultval=yes
14469 else
14470 defaultval=no
14471 fi
14472 fi
14473
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14475 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14476 # Check whether --enable-numberdlg was given.
14477 if test "${enable_numberdlg+set}" = set; then :
14478 enableval=$enable_numberdlg;
14479 if test "$enableval" = yes; then
14480 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14481 else
14482 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14483 fi
14484
14485 else
14486
14487 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14488
14489 fi
14490
14491
14492 eval "$wx_cv_use_numberdlg"
14493
14494 if test x"$enablestring" = xdisable; then
14495 if test $wxUSE_NUMBERDLG = no; then
14496 result=yes
14497 else
14498 result=no
14499 fi
14500 else
14501 result=$wxUSE_NUMBERDLG
14502 fi
14503
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14505 $as_echo "$result" >&6; }
14506
14507
14508 enablestring=
14509 defaultval=$wxUSE_ALL_FEATURES
14510 if test -z "$defaultval"; then
14511 if test x"$enablestring" = xdisable; then
14512 defaultval=yes
14513 else
14514 defaultval=no
14515 fi
14516 fi
14517
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14519 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14520 # Check whether --enable-splash was given.
14521 if test "${enable_splash+set}" = set; then :
14522 enableval=$enable_splash;
14523 if test "$enableval" = yes; then
14524 wx_cv_use_splash='wxUSE_SPLASH=yes'
14525 else
14526 wx_cv_use_splash='wxUSE_SPLASH=no'
14527 fi
14528
14529 else
14530
14531 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14532
14533 fi
14534
14535
14536 eval "$wx_cv_use_splash"
14537
14538 if test x"$enablestring" = xdisable; then
14539 if test $wxUSE_SPLASH = no; then
14540 result=yes
14541 else
14542 result=no
14543 fi
14544 else
14545 result=$wxUSE_SPLASH
14546 fi
14547
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14549 $as_echo "$result" >&6; }
14550
14551
14552 enablestring=
14553 defaultval=$wxUSE_ALL_FEATURES
14554 if test -z "$defaultval"; then
14555 if test x"$enablestring" = xdisable; then
14556 defaultval=yes
14557 else
14558 defaultval=no
14559 fi
14560 fi
14561
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14563 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14564 # Check whether --enable-textdlg was given.
14565 if test "${enable_textdlg+set}" = set; then :
14566 enableval=$enable_textdlg;
14567 if test "$enableval" = yes; then
14568 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14569 else
14570 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14571 fi
14572
14573 else
14574
14575 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14576
14577 fi
14578
14579
14580 eval "$wx_cv_use_textdlg"
14581
14582 if test x"$enablestring" = xdisable; then
14583 if test $wxUSE_TEXTDLG = no; then
14584 result=yes
14585 else
14586 result=no
14587 fi
14588 else
14589 result=$wxUSE_TEXTDLG
14590 fi
14591
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14593 $as_echo "$result" >&6; }
14594
14595
14596 enablestring=
14597 defaultval=$wxUSE_ALL_FEATURES
14598 if test -z "$defaultval"; then
14599 if test x"$enablestring" = xdisable; then
14600 defaultval=yes
14601 else
14602 defaultval=no
14603 fi
14604 fi
14605
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14607 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14608 # Check whether --enable-tipdlg was given.
14609 if test "${enable_tipdlg+set}" = set; then :
14610 enableval=$enable_tipdlg;
14611 if test "$enableval" = yes; then
14612 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14613 else
14614 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14615 fi
14616
14617 else
14618
14619 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14620
14621 fi
14622
14623
14624 eval "$wx_cv_use_tipdlg"
14625
14626 if test x"$enablestring" = xdisable; then
14627 if test $wxUSE_STARTUP_TIPS = no; then
14628 result=yes
14629 else
14630 result=no
14631 fi
14632 else
14633 result=$wxUSE_STARTUP_TIPS
14634 fi
14635
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14637 $as_echo "$result" >&6; }
14638
14639
14640 enablestring=
14641 defaultval=$wxUSE_ALL_FEATURES
14642 if test -z "$defaultval"; then
14643 if test x"$enablestring" = xdisable; then
14644 defaultval=yes
14645 else
14646 defaultval=no
14647 fi
14648 fi
14649
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14651 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14652 # Check whether --enable-progressdlg was given.
14653 if test "${enable_progressdlg+set}" = set; then :
14654 enableval=$enable_progressdlg;
14655 if test "$enableval" = yes; then
14656 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14657 else
14658 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14659 fi
14660
14661 else
14662
14663 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14664
14665 fi
14666
14667
14668 eval "$wx_cv_use_progressdlg"
14669
14670 if test x"$enablestring" = xdisable; then
14671 if test $wxUSE_PROGRESSDLG = no; then
14672 result=yes
14673 else
14674 result=no
14675 fi
14676 else
14677 result=$wxUSE_PROGRESSDLG
14678 fi
14679
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14681 $as_echo "$result" >&6; }
14682
14683
14684 enablestring=
14685 defaultval=$wxUSE_ALL_FEATURES
14686 if test -z "$defaultval"; then
14687 if test x"$enablestring" = xdisable; then
14688 defaultval=yes
14689 else
14690 defaultval=no
14691 fi
14692 fi
14693
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14695 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14696 # Check whether --enable-wizarddlg was given.
14697 if test "${enable_wizarddlg+set}" = set; then :
14698 enableval=$enable_wizarddlg;
14699 if test "$enableval" = yes; then
14700 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14701 else
14702 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14703 fi
14704
14705 else
14706
14707 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14708
14709 fi
14710
14711
14712 eval "$wx_cv_use_wizarddlg"
14713
14714 if test x"$enablestring" = xdisable; then
14715 if test $wxUSE_WIZARDDLG = no; then
14716 result=yes
14717 else
14718 result=no
14719 fi
14720 else
14721 result=$wxUSE_WIZARDDLG
14722 fi
14723
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14725 $as_echo "$result" >&6; }
14726
14727
14728
14729
14730 enablestring=
14731 defaultval=$wxUSE_ALL_FEATURES
14732 if test -z "$defaultval"; then
14733 if test x"$enablestring" = xdisable; then
14734 defaultval=yes
14735 else
14736 defaultval=no
14737 fi
14738 fi
14739
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14741 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14742 # Check whether --enable-menus was given.
14743 if test "${enable_menus+set}" = set; then :
14744 enableval=$enable_menus;
14745 if test "$enableval" = yes; then
14746 wx_cv_use_menus='wxUSE_MENUS=yes'
14747 else
14748 wx_cv_use_menus='wxUSE_MENUS=no'
14749 fi
14750
14751 else
14752
14753 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14754
14755 fi
14756
14757
14758 eval "$wx_cv_use_menus"
14759
14760 if test x"$enablestring" = xdisable; then
14761 if test $wxUSE_MENUS = no; then
14762 result=yes
14763 else
14764 result=no
14765 fi
14766 else
14767 result=$wxUSE_MENUS
14768 fi
14769
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14771 $as_echo "$result" >&6; }
14772
14773
14774 enablestring=
14775 defaultval=$wxUSE_ALL_FEATURES
14776 if test -z "$defaultval"; then
14777 if test x"$enablestring" = xdisable; then
14778 defaultval=yes
14779 else
14780 defaultval=no
14781 fi
14782 fi
14783
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14785 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14786 # Check whether --enable-miniframe was given.
14787 if test "${enable_miniframe+set}" = set; then :
14788 enableval=$enable_miniframe;
14789 if test "$enableval" = yes; then
14790 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14791 else
14792 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14793 fi
14794
14795 else
14796
14797 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14798
14799 fi
14800
14801
14802 eval "$wx_cv_use_miniframe"
14803
14804 if test x"$enablestring" = xdisable; then
14805 if test $wxUSE_MINIFRAME = no; then
14806 result=yes
14807 else
14808 result=no
14809 fi
14810 else
14811 result=$wxUSE_MINIFRAME
14812 fi
14813
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14815 $as_echo "$result" >&6; }
14816
14817
14818 enablestring=
14819 defaultval=$wxUSE_ALL_FEATURES
14820 if test -z "$defaultval"; then
14821 if test x"$enablestring" = xdisable; then
14822 defaultval=yes
14823 else
14824 defaultval=no
14825 fi
14826 fi
14827
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14829 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14830 # Check whether --enable-tooltips was given.
14831 if test "${enable_tooltips+set}" = set; then :
14832 enableval=$enable_tooltips;
14833 if test "$enableval" = yes; then
14834 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14835 else
14836 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14837 fi
14838
14839 else
14840
14841 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14842
14843 fi
14844
14845
14846 eval "$wx_cv_use_tooltips"
14847
14848 if test x"$enablestring" = xdisable; then
14849 if test $wxUSE_TOOLTIPS = no; then
14850 result=yes
14851 else
14852 result=no
14853 fi
14854 else
14855 result=$wxUSE_TOOLTIPS
14856 fi
14857
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14859 $as_echo "$result" >&6; }
14860
14861
14862 enablestring=
14863 defaultval=$wxUSE_ALL_FEATURES
14864 if test -z "$defaultval"; then
14865 if test x"$enablestring" = xdisable; then
14866 defaultval=yes
14867 else
14868 defaultval=no
14869 fi
14870 fi
14871
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14873 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14874 # Check whether --enable-splines was given.
14875 if test "${enable_splines+set}" = set; then :
14876 enableval=$enable_splines;
14877 if test "$enableval" = yes; then
14878 wx_cv_use_splines='wxUSE_SPLINES=yes'
14879 else
14880 wx_cv_use_splines='wxUSE_SPLINES=no'
14881 fi
14882
14883 else
14884
14885 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14886
14887 fi
14888
14889
14890 eval "$wx_cv_use_splines"
14891
14892 if test x"$enablestring" = xdisable; then
14893 if test $wxUSE_SPLINES = no; then
14894 result=yes
14895 else
14896 result=no
14897 fi
14898 else
14899 result=$wxUSE_SPLINES
14900 fi
14901
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14903 $as_echo "$result" >&6; }
14904
14905
14906 enablestring=
14907 defaultval=$wxUSE_ALL_FEATURES
14908 if test -z "$defaultval"; then
14909 if test x"$enablestring" = xdisable; then
14910 defaultval=yes
14911 else
14912 defaultval=no
14913 fi
14914 fi
14915
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14917 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14918 # Check whether --enable-mousewheel was given.
14919 if test "${enable_mousewheel+set}" = set; then :
14920 enableval=$enable_mousewheel;
14921 if test "$enableval" = yes; then
14922 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14923 else
14924 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14925 fi
14926
14927 else
14928
14929 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14930
14931 fi
14932
14933
14934 eval "$wx_cv_use_mousewheel"
14935
14936 if test x"$enablestring" = xdisable; then
14937 if test $wxUSE_MOUSEWHEEL = no; then
14938 result=yes
14939 else
14940 result=no
14941 fi
14942 else
14943 result=$wxUSE_MOUSEWHEEL
14944 fi
14945
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14947 $as_echo "$result" >&6; }
14948
14949
14950 enablestring=
14951 defaultval=$wxUSE_ALL_FEATURES
14952 if test -z "$defaultval"; then
14953 if test x"$enablestring" = xdisable; then
14954 defaultval=yes
14955 else
14956 defaultval=no
14957 fi
14958 fi
14959
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14961 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14962 # Check whether --enable-validators was given.
14963 if test "${enable_validators+set}" = set; then :
14964 enableval=$enable_validators;
14965 if test "$enableval" = yes; then
14966 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14967 else
14968 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14969 fi
14970
14971 else
14972
14973 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14974
14975 fi
14976
14977
14978 eval "$wx_cv_use_validators"
14979
14980 if test x"$enablestring" = xdisable; then
14981 if test $wxUSE_VALIDATORS = no; then
14982 result=yes
14983 else
14984 result=no
14985 fi
14986 else
14987 result=$wxUSE_VALIDATORS
14988 fi
14989
14990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14991 $as_echo "$result" >&6; }
14992
14993
14994 enablestring=
14995 defaultval=$wxUSE_ALL_FEATURES
14996 if test -z "$defaultval"; then
14997 if test x"$enablestring" = xdisable; then
14998 defaultval=yes
14999 else
15000 defaultval=no
15001 fi
15002 fi
15003
15004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15005 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15006 # Check whether --enable-busyinfo was given.
15007 if test "${enable_busyinfo+set}" = set; then :
15008 enableval=$enable_busyinfo;
15009 if test "$enableval" = yes; then
15010 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15011 else
15012 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15013 fi
15014
15015 else
15016
15017 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15018
15019 fi
15020
15021
15022 eval "$wx_cv_use_busyinfo"
15023
15024 if test x"$enablestring" = xdisable; then
15025 if test $wxUSE_BUSYINFO = no; then
15026 result=yes
15027 else
15028 result=no
15029 fi
15030 else
15031 result=$wxUSE_BUSYINFO
15032 fi
15033
15034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15035 $as_echo "$result" >&6; }
15036
15037
15038 enablestring=
15039 defaultval=$wxUSE_ALL_FEATURES
15040 if test -z "$defaultval"; then
15041 if test x"$enablestring" = xdisable; then
15042 defaultval=yes
15043 else
15044 defaultval=no
15045 fi
15046 fi
15047
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15049 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15050 # Check whether --enable-hotkey was given.
15051 if test "${enable_hotkey+set}" = set; then :
15052 enableval=$enable_hotkey;
15053 if test "$enableval" = yes; then
15054 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15055 else
15056 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15057 fi
15058
15059 else
15060
15061 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15062
15063 fi
15064
15065
15066 eval "$wx_cv_use_hotkey"
15067
15068 if test x"$enablestring" = xdisable; then
15069 if test $wxUSE_HOTKEY = no; then
15070 result=yes
15071 else
15072 result=no
15073 fi
15074 else
15075 result=$wxUSE_HOTKEY
15076 fi
15077
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15079 $as_echo "$result" >&6; }
15080
15081
15082 enablestring=
15083 defaultval=$wxUSE_ALL_FEATURES
15084 if test -z "$defaultval"; then
15085 if test x"$enablestring" = xdisable; then
15086 defaultval=yes
15087 else
15088 defaultval=no
15089 fi
15090 fi
15091
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15093 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15094 # Check whether --enable-joystick was given.
15095 if test "${enable_joystick+set}" = set; then :
15096 enableval=$enable_joystick;
15097 if test "$enableval" = yes; then
15098 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15099 else
15100 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15101 fi
15102
15103 else
15104
15105 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15106
15107 fi
15108
15109
15110 eval "$wx_cv_use_joystick"
15111
15112 if test x"$enablestring" = xdisable; then
15113 if test $wxUSE_JOYSTICK = no; then
15114 result=yes
15115 else
15116 result=no
15117 fi
15118 else
15119 result=$wxUSE_JOYSTICK
15120 fi
15121
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15123 $as_echo "$result" >&6; }
15124
15125
15126 enablestring=
15127 defaultval=$wxUSE_ALL_FEATURES
15128 if test -z "$defaultval"; then
15129 if test x"$enablestring" = xdisable; then
15130 defaultval=yes
15131 else
15132 defaultval=no
15133 fi
15134 fi
15135
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15137 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15138 # Check whether --enable-metafile was given.
15139 if test "${enable_metafile+set}" = set; then :
15140 enableval=$enable_metafile;
15141 if test "$enableval" = yes; then
15142 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15143 else
15144 wx_cv_use_metafile='wxUSE_METAFILE=no'
15145 fi
15146
15147 else
15148
15149 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15150
15151 fi
15152
15153
15154 eval "$wx_cv_use_metafile"
15155
15156 if test x"$enablestring" = xdisable; then
15157 if test $wxUSE_METAFILE = no; then
15158 result=yes
15159 else
15160 result=no
15161 fi
15162 else
15163 result=$wxUSE_METAFILE
15164 fi
15165
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15167 $as_echo "$result" >&6; }
15168
15169
15170 enablestring=
15171 defaultval=$wxUSE_ALL_FEATURES
15172 if test -z "$defaultval"; then
15173 if test x"$enablestring" = xdisable; then
15174 defaultval=yes
15175 else
15176 defaultval=no
15177 fi
15178 fi
15179
15180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15181 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15182 # Check whether --enable-dragimage was given.
15183 if test "${enable_dragimage+set}" = set; then :
15184 enableval=$enable_dragimage;
15185 if test "$enableval" = yes; then
15186 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15187 else
15188 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15189 fi
15190
15191 else
15192
15193 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15194
15195 fi
15196
15197
15198 eval "$wx_cv_use_dragimage"
15199
15200 if test x"$enablestring" = xdisable; then
15201 if test $wxUSE_DRAGIMAGE = no; then
15202 result=yes
15203 else
15204 result=no
15205 fi
15206 else
15207 result=$wxUSE_DRAGIMAGE
15208 fi
15209
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15211 $as_echo "$result" >&6; }
15212
15213
15214 enablestring=
15215 defaultval=$wxUSE_ALL_FEATURES
15216 if test -z "$defaultval"; then
15217 if test x"$enablestring" = xdisable; then
15218 defaultval=yes
15219 else
15220 defaultval=no
15221 fi
15222 fi
15223
15224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15225 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15226 # Check whether --enable-accessibility was given.
15227 if test "${enable_accessibility+set}" = set; then :
15228 enableval=$enable_accessibility;
15229 if test "$enableval" = yes; then
15230 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15231 else
15232 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15233 fi
15234
15235 else
15236
15237 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15238
15239 fi
15240
15241
15242 eval "$wx_cv_use_accessibility"
15243
15244 if test x"$enablestring" = xdisable; then
15245 if test $wxUSE_ACCESSIBILITY = no; then
15246 result=yes
15247 else
15248 result=no
15249 fi
15250 else
15251 result=$wxUSE_ACCESSIBILITY
15252 fi
15253
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15255 $as_echo "$result" >&6; }
15256
15257
15258 enablestring=
15259 defaultval=$wxUSE_ALL_FEATURES
15260 if test -z "$defaultval"; then
15261 if test x"$enablestring" = xdisable; then
15262 defaultval=yes
15263 else
15264 defaultval=no
15265 fi
15266 fi
15267
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15269 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15270 # Check whether --enable-uiactionsim was given.
15271 if test "${enable_uiactionsim+set}" = set; then :
15272 enableval=$enable_uiactionsim;
15273 if test "$enableval" = yes; then
15274 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15275 else
15276 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15277 fi
15278
15279 else
15280
15281 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15282
15283 fi
15284
15285
15286 eval "$wx_cv_use_uiactionsim"
15287
15288 if test x"$enablestring" = xdisable; then
15289 if test $wxUSE_UIACTIONSIMULATOR = no; then
15290 result=yes
15291 else
15292 result=no
15293 fi
15294 else
15295 result=$wxUSE_UIACTIONSIMULATOR
15296 fi
15297
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15299 $as_echo "$result" >&6; }
15300
15301
15302 enablestring=
15303 defaultval=$wxUSE_ALL_FEATURES
15304 if test -z "$defaultval"; then
15305 if test x"$enablestring" = xdisable; then
15306 defaultval=yes
15307 else
15308 defaultval=no
15309 fi
15310 fi
15311
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15313 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15314 # Check whether --enable-dctransform was given.
15315 if test "${enable_dctransform+set}" = set; then :
15316 enableval=$enable_dctransform;
15317 if test "$enableval" = yes; then
15318 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15319 else
15320 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15321 fi
15322
15323 else
15324
15325 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15326
15327 fi
15328
15329
15330 eval "$wx_cv_use_dctransform"
15331
15332 if test x"$enablestring" = xdisable; then
15333 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15334 result=yes
15335 else
15336 result=no
15337 fi
15338 else
15339 result=$wxUSE_DC_TRANSFORM_MATRIX
15340 fi
15341
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15343 $as_echo "$result" >&6; }
15344
15345
15346 enablestring=
15347 defaultval=$wxUSE_ALL_FEATURES
15348 if test -z "$defaultval"; then
15349 if test x"$enablestring" = xdisable; then
15350 defaultval=yes
15351 else
15352 defaultval=no
15353 fi
15354 fi
15355
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15357 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15358 # Check whether --enable-webviewwebkit was given.
15359 if test "${enable_webviewwebkit+set}" = set; then :
15360 enableval=$enable_webviewwebkit;
15361 if test "$enableval" = yes; then
15362 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15363 else
15364 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15365 fi
15366
15367 else
15368
15369 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15370
15371 fi
15372
15373
15374 eval "$wx_cv_use_webviewwebkit"
15375
15376 if test x"$enablestring" = xdisable; then
15377 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15378 result=yes
15379 else
15380 result=no
15381 fi
15382 else
15383 result=$wxUSE_WEBVIEW_WEBKIT
15384 fi
15385
15386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15387 $as_echo "$result" >&6; }
15388
15389
15390
15391
15392 enablestring=
15393 defaultval=$wxUSE_ALL_FEATURES
15394 if test -z "$defaultval"; then
15395 if test x"$enablestring" = xdisable; then
15396 defaultval=yes
15397 else
15398 defaultval=no
15399 fi
15400 fi
15401
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15403 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15404 # Check whether --enable-palette was given.
15405 if test "${enable_palette+set}" = set; then :
15406 enableval=$enable_palette;
15407 if test "$enableval" = yes; then
15408 wx_cv_use_palette='wxUSE_PALETTE=yes'
15409 else
15410 wx_cv_use_palette='wxUSE_PALETTE=no'
15411 fi
15412
15413 else
15414
15415 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15416
15417 fi
15418
15419
15420 eval "$wx_cv_use_palette"
15421
15422 if test x"$enablestring" = xdisable; then
15423 if test $wxUSE_PALETTE = no; then
15424 result=yes
15425 else
15426 result=no
15427 fi
15428 else
15429 result=$wxUSE_PALETTE
15430 fi
15431
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15433 $as_echo "$result" >&6; }
15434
15435
15436 enablestring=
15437 defaultval=$wxUSE_ALL_FEATURES
15438 if test -z "$defaultval"; then
15439 if test x"$enablestring" = xdisable; then
15440 defaultval=yes
15441 else
15442 defaultval=no
15443 fi
15444 fi
15445
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15447 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15448 # Check whether --enable-image was given.
15449 if test "${enable_image+set}" = set; then :
15450 enableval=$enable_image;
15451 if test "$enableval" = yes; then
15452 wx_cv_use_image='wxUSE_IMAGE=yes'
15453 else
15454 wx_cv_use_image='wxUSE_IMAGE=no'
15455 fi
15456
15457 else
15458
15459 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15460
15461 fi
15462
15463
15464 eval "$wx_cv_use_image"
15465
15466 if test x"$enablestring" = xdisable; then
15467 if test $wxUSE_IMAGE = no; then
15468 result=yes
15469 else
15470 result=no
15471 fi
15472 else
15473 result=$wxUSE_IMAGE
15474 fi
15475
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15477 $as_echo "$result" >&6; }
15478
15479
15480 enablestring=
15481 defaultval=$wxUSE_ALL_FEATURES
15482 if test -z "$defaultval"; then
15483 if test x"$enablestring" = xdisable; then
15484 defaultval=yes
15485 else
15486 defaultval=no
15487 fi
15488 fi
15489
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15491 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15492 # Check whether --enable-gif was given.
15493 if test "${enable_gif+set}" = set; then :
15494 enableval=$enable_gif;
15495 if test "$enableval" = yes; then
15496 wx_cv_use_gif='wxUSE_GIF=yes'
15497 else
15498 wx_cv_use_gif='wxUSE_GIF=no'
15499 fi
15500
15501 else
15502
15503 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15504
15505 fi
15506
15507
15508 eval "$wx_cv_use_gif"
15509
15510 if test x"$enablestring" = xdisable; then
15511 if test $wxUSE_GIF = no; then
15512 result=yes
15513 else
15514 result=no
15515 fi
15516 else
15517 result=$wxUSE_GIF
15518 fi
15519
15520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15521 $as_echo "$result" >&6; }
15522
15523
15524 enablestring=
15525 defaultval=$wxUSE_ALL_FEATURES
15526 if test -z "$defaultval"; then
15527 if test x"$enablestring" = xdisable; then
15528 defaultval=yes
15529 else
15530 defaultval=no
15531 fi
15532 fi
15533
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15535 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15536 # Check whether --enable-pcx was given.
15537 if test "${enable_pcx+set}" = set; then :
15538 enableval=$enable_pcx;
15539 if test "$enableval" = yes; then
15540 wx_cv_use_pcx='wxUSE_PCX=yes'
15541 else
15542 wx_cv_use_pcx='wxUSE_PCX=no'
15543 fi
15544
15545 else
15546
15547 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15548
15549 fi
15550
15551
15552 eval "$wx_cv_use_pcx"
15553
15554 if test x"$enablestring" = xdisable; then
15555 if test $wxUSE_PCX = no; then
15556 result=yes
15557 else
15558 result=no
15559 fi
15560 else
15561 result=$wxUSE_PCX
15562 fi
15563
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15565 $as_echo "$result" >&6; }
15566
15567
15568 enablestring=
15569 defaultval=$wxUSE_ALL_FEATURES
15570 if test -z "$defaultval"; then
15571 if test x"$enablestring" = xdisable; then
15572 defaultval=yes
15573 else
15574 defaultval=no
15575 fi
15576 fi
15577
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15579 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15580 # Check whether --enable-tga was given.
15581 if test "${enable_tga+set}" = set; then :
15582 enableval=$enable_tga;
15583 if test "$enableval" = yes; then
15584 wx_cv_use_tga='wxUSE_TGA=yes'
15585 else
15586 wx_cv_use_tga='wxUSE_TGA=no'
15587 fi
15588
15589 else
15590
15591 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15592
15593 fi
15594
15595
15596 eval "$wx_cv_use_tga"
15597
15598 if test x"$enablestring" = xdisable; then
15599 if test $wxUSE_TGA = no; then
15600 result=yes
15601 else
15602 result=no
15603 fi
15604 else
15605 result=$wxUSE_TGA
15606 fi
15607
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15609 $as_echo "$result" >&6; }
15610
15611
15612 enablestring=
15613 defaultval=$wxUSE_ALL_FEATURES
15614 if test -z "$defaultval"; then
15615 if test x"$enablestring" = xdisable; then
15616 defaultval=yes
15617 else
15618 defaultval=no
15619 fi
15620 fi
15621
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15623 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15624 # Check whether --enable-iff was given.
15625 if test "${enable_iff+set}" = set; then :
15626 enableval=$enable_iff;
15627 if test "$enableval" = yes; then
15628 wx_cv_use_iff='wxUSE_IFF=yes'
15629 else
15630 wx_cv_use_iff='wxUSE_IFF=no'
15631 fi
15632
15633 else
15634
15635 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15636
15637 fi
15638
15639
15640 eval "$wx_cv_use_iff"
15641
15642 if test x"$enablestring" = xdisable; then
15643 if test $wxUSE_IFF = no; then
15644 result=yes
15645 else
15646 result=no
15647 fi
15648 else
15649 result=$wxUSE_IFF
15650 fi
15651
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15653 $as_echo "$result" >&6; }
15654
15655
15656 enablestring=
15657 defaultval=$wxUSE_ALL_FEATURES
15658 if test -z "$defaultval"; then
15659 if test x"$enablestring" = xdisable; then
15660 defaultval=yes
15661 else
15662 defaultval=no
15663 fi
15664 fi
15665
15666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15667 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15668 # Check whether --enable-pnm was given.
15669 if test "${enable_pnm+set}" = set; then :
15670 enableval=$enable_pnm;
15671 if test "$enableval" = yes; then
15672 wx_cv_use_pnm='wxUSE_PNM=yes'
15673 else
15674 wx_cv_use_pnm='wxUSE_PNM=no'
15675 fi
15676
15677 else
15678
15679 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15680
15681 fi
15682
15683
15684 eval "$wx_cv_use_pnm"
15685
15686 if test x"$enablestring" = xdisable; then
15687 if test $wxUSE_PNM = no; then
15688 result=yes
15689 else
15690 result=no
15691 fi
15692 else
15693 result=$wxUSE_PNM
15694 fi
15695
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15697 $as_echo "$result" >&6; }
15698
15699
15700 enablestring=
15701 defaultval=$wxUSE_ALL_FEATURES
15702 if test -z "$defaultval"; then
15703 if test x"$enablestring" = xdisable; then
15704 defaultval=yes
15705 else
15706 defaultval=no
15707 fi
15708 fi
15709
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15711 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15712 # Check whether --enable-xpm was given.
15713 if test "${enable_xpm+set}" = set; then :
15714 enableval=$enable_xpm;
15715 if test "$enableval" = yes; then
15716 wx_cv_use_xpm='wxUSE_XPM=yes'
15717 else
15718 wx_cv_use_xpm='wxUSE_XPM=no'
15719 fi
15720
15721 else
15722
15723 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15724
15725 fi
15726
15727
15728 eval "$wx_cv_use_xpm"
15729
15730 if test x"$enablestring" = xdisable; then
15731 if test $wxUSE_XPM = no; then
15732 result=yes
15733 else
15734 result=no
15735 fi
15736 else
15737 result=$wxUSE_XPM
15738 fi
15739
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15741 $as_echo "$result" >&6; }
15742
15743
15744 enablestring=
15745 defaultval=$wxUSE_ALL_FEATURES
15746 if test -z "$defaultval"; then
15747 if test x"$enablestring" = xdisable; then
15748 defaultval=yes
15749 else
15750 defaultval=no
15751 fi
15752 fi
15753
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15755 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15756 # Check whether --enable-ico_cur was given.
15757 if test "${enable_ico_cur+set}" = set; then :
15758 enableval=$enable_ico_cur;
15759 if test "$enableval" = yes; then
15760 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15761 else
15762 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15763 fi
15764
15765 else
15766
15767 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15768
15769 fi
15770
15771
15772 eval "$wx_cv_use_ico_cur"
15773
15774 if test x"$enablestring" = xdisable; then
15775 if test $wxUSE_ICO_CUR = no; then
15776 result=yes
15777 else
15778 result=no
15779 fi
15780 else
15781 result=$wxUSE_ICO_CUR
15782 fi
15783
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15785 $as_echo "$result" >&6; }
15786
15787
15788
15789
15790 enablestring=
15791 defaultval=$wxUSE_ALL_FEATURES
15792 if test -z "$defaultval"; then
15793 if test x"$enablestring" = xdisable; then
15794 defaultval=yes
15795 else
15796 defaultval=no
15797 fi
15798 fi
15799
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15801 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15802 # Check whether --enable-dccache was given.
15803 if test "${enable_dccache+set}" = set; then :
15804 enableval=$enable_dccache;
15805 if test "$enableval" = yes; then
15806 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15807 else
15808 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15809 fi
15810
15811 else
15812
15813 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15814
15815 fi
15816
15817
15818 eval "$wx_cv_use_dccache"
15819
15820 if test x"$enablestring" = xdisable; then
15821 if test $wxUSE_DC_CACHEING = no; then
15822 result=yes
15823 else
15824 result=no
15825 fi
15826 else
15827 result=$wxUSE_DC_CACHEING
15828 fi
15829
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15831 $as_echo "$result" >&6; }
15832
15833
15834 enablestring=
15835 defaultval=$wxUSE_ALL_FEATURES
15836 if test -z "$defaultval"; then
15837 if test x"$enablestring" = xdisable; then
15838 defaultval=yes
15839 else
15840 defaultval=no
15841 fi
15842 fi
15843
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15845 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15846 # Check whether --enable-ps-in-msw was given.
15847 if test "${enable_ps_in_msw+set}" = set; then :
15848 enableval=$enable_ps_in_msw;
15849 if test "$enableval" = yes; then
15850 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15851 else
15852 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15853 fi
15854
15855 else
15856
15857 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15858
15859 fi
15860
15861
15862 eval "$wx_cv_use_ps_in_msw"
15863
15864 if test x"$enablestring" = xdisable; then
15865 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15866 result=yes
15867 else
15868 result=no
15869 fi
15870 else
15871 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15872 fi
15873
15874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15875 $as_echo "$result" >&6; }
15876
15877
15878 enablestring=
15879 defaultval=$wxUSE_ALL_FEATURES
15880 if test -z "$defaultval"; then
15881 if test x"$enablestring" = xdisable; then
15882 defaultval=yes
15883 else
15884 defaultval=no
15885 fi
15886 fi
15887
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15889 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15890 # Check whether --enable-ownerdrawn was given.
15891 if test "${enable_ownerdrawn+set}" = set; then :
15892 enableval=$enable_ownerdrawn;
15893 if test "$enableval" = yes; then
15894 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15895 else
15896 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15897 fi
15898
15899 else
15900
15901 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15902
15903 fi
15904
15905
15906 eval "$wx_cv_use_ownerdrawn"
15907
15908 if test x"$enablestring" = xdisable; then
15909 if test $wxUSE_OWNER_DRAWN = no; then
15910 result=yes
15911 else
15912 result=no
15913 fi
15914 else
15915 result=$wxUSE_OWNER_DRAWN
15916 fi
15917
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15919 $as_echo "$result" >&6; }
15920
15921
15922 enablestring=
15923 defaultval=$wxUSE_ALL_FEATURES
15924 if test -z "$defaultval"; then
15925 if test x"$enablestring" = xdisable; then
15926 defaultval=yes
15927 else
15928 defaultval=no
15929 fi
15930 fi
15931
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15933 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15934 # Check whether --enable-uxtheme was given.
15935 if test "${enable_uxtheme+set}" = set; then :
15936 enableval=$enable_uxtheme;
15937 if test "$enableval" = yes; then
15938 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15939 else
15940 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15941 fi
15942
15943 else
15944
15945 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15946
15947 fi
15948
15949
15950 eval "$wx_cv_use_uxtheme"
15951
15952 if test x"$enablestring" = xdisable; then
15953 if test $wxUSE_UXTHEME = no; then
15954 result=yes
15955 else
15956 result=no
15957 fi
15958 else
15959 result=$wxUSE_UXTHEME
15960 fi
15961
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15963 $as_echo "$result" >&6; }
15964
15965
15966 enablestring=
15967 defaultval=$wxUSE_ALL_FEATURES
15968 if test -z "$defaultval"; then
15969 if test x"$enablestring" = xdisable; then
15970 defaultval=yes
15971 else
15972 defaultval=no
15973 fi
15974 fi
15975
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15977 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15978 # Check whether --enable-wxdib was given.
15979 if test "${enable_wxdib+set}" = set; then :
15980 enableval=$enable_wxdib;
15981 if test "$enableval" = yes; then
15982 wx_cv_use_wxdib='wxUSE_DIB=yes'
15983 else
15984 wx_cv_use_wxdib='wxUSE_DIB=no'
15985 fi
15986
15987 else
15988
15989 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15990
15991 fi
15992
15993
15994 eval "$wx_cv_use_wxdib"
15995
15996 if test x"$enablestring" = xdisable; then
15997 if test $wxUSE_DIB = no; then
15998 result=yes
15999 else
16000 result=no
16001 fi
16002 else
16003 result=$wxUSE_DIB
16004 fi
16005
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16007 $as_echo "$result" >&6; }
16008
16009
16010 enablestring=
16011 defaultval=$wxUSE_ALL_FEATURES
16012 if test -z "$defaultval"; then
16013 if test x"$enablestring" = xdisable; then
16014 defaultval=yes
16015 else
16016 defaultval=no
16017 fi
16018 fi
16019
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16021 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16022 # Check whether --enable-webviewie was given.
16023 if test "${enable_webviewie+set}" = set; then :
16024 enableval=$enable_webviewie;
16025 if test "$enableval" = yes; then
16026 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16027 else
16028 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16029 fi
16030
16031 else
16032
16033 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16034
16035 fi
16036
16037
16038 eval "$wx_cv_use_webviewie"
16039
16040 if test x"$enablestring" = xdisable; then
16041 if test $wxUSE_WEBVIEW_IE = no; then
16042 result=yes
16043 else
16044 result=no
16045 fi
16046 else
16047 result=$wxUSE_WEBVIEW_IE
16048 fi
16049
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16051 $as_echo "$result" >&6; }
16052
16053
16054 if test "$wxUSE_MSW" != 1; then
16055 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16056 fi
16057
16058
16059 enablestring=
16060 defaultval=$wxUSE_ALL_FEATURES
16061 if test -z "$defaultval"; then
16062 if test x"$enablestring" = xdisable; then
16063 defaultval=yes
16064 else
16065 defaultval=no
16066 fi
16067 fi
16068
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16070 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16071 # Check whether --enable-autoidman was given.
16072 if test "${enable_autoidman+set}" = set; then :
16073 enableval=$enable_autoidman;
16074 if test "$enableval" = yes; then
16075 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16076 else
16077 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16078 fi
16079
16080 else
16081
16082 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16083
16084 fi
16085
16086
16087 eval "$wx_cv_use_autoidman"
16088
16089 if test x"$enablestring" = xdisable; then
16090 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16091 result=yes
16092 else
16093 result=no
16094 fi
16095 else
16096 result=$wxUSE_AUTOID_MANAGEMENT
16097 fi
16098
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16100 $as_echo "$result" >&6; }
16101
16102
16103 fi
16104
16105
16106 cat >confcache <<\_ACEOF
16107 # This file is a shell script that caches the results of configure
16108 # tests run on this system so they can be shared between configure
16109 # scripts and configure runs, see configure's option --config-cache.
16110 # It is not useful on other systems. If it contains results you don't
16111 # want to keep, you may remove or edit it.
16112 #
16113 # config.status only pays attention to the cache file if you give it
16114 # the --recheck option to rerun configure.
16115 #
16116 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16117 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16118 # following values.
16119
16120 _ACEOF
16121
16122 # The following way of writing the cache mishandles newlines in values,
16123 # but we know of no workaround that is simple, portable, and efficient.
16124 # So, we kill variables containing newlines.
16125 # Ultrix sh set writes to stderr and can't be redirected directly,
16126 # and sets the high bit in the cache file unless we assign to the vars.
16127 (
16128 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16129 eval ac_val=\$$ac_var
16130 case $ac_val in #(
16131 *${as_nl}*)
16132 case $ac_var in #(
16133 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16134 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16135 esac
16136 case $ac_var in #(
16137 _ | IFS | as_nl) ;; #(
16138 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16139 *) { eval $ac_var=; unset $ac_var;} ;;
16140 esac ;;
16141 esac
16142 done
16143
16144 (set) 2>&1 |
16145 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16146 *${as_nl}ac_space=\ *)
16147 # `set' does not quote correctly, so add quotes: double-quote
16148 # substitution turns \\\\ into \\, and sed turns \\ into \.
16149 sed -n \
16150 "s/'/'\\\\''/g;
16151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16152 ;; #(
16153 *)
16154 # `set' quotes correctly as required by POSIX, so do not add quotes.
16155 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16156 ;;
16157 esac |
16158 sort
16159 ) |
16160 sed '
16161 /^ac_cv_env_/b end
16162 t clear
16163 :clear
16164 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16165 t end
16166 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16167 :end' >>confcache
16168 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16169 if test -w "$cache_file"; then
16170 test "x$cache_file" != "x/dev/null" &&
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16172 $as_echo "$as_me: updating cache $cache_file" >&6;}
16173 cat confcache >$cache_file
16174 else
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16176 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16177 fi
16178 fi
16179 rm -f confcache
16180
16181 CFLAGS=${CFLAGS:=}
16182 ac_ext=c
16183 ac_cpp='$CPP $CPPFLAGS'
16184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16187 if test -n "$ac_tool_prefix"; then
16188 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16189 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16191 $as_echo_n "checking for $ac_word... " >&6; }
16192 if test "${ac_cv_prog_CC+set}" = set; then :
16193 $as_echo_n "(cached) " >&6
16194 else
16195 if test -n "$CC"; then
16196 ac_cv_prog_CC="$CC" # Let the user override the test.
16197 else
16198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16199 for as_dir in $PATH
16200 do
16201 IFS=$as_save_IFS
16202 test -z "$as_dir" && as_dir=.
16203 for ac_exec_ext in '' $ac_executable_extensions; do
16204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16205 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16207 break 2
16208 fi
16209 done
16210 done
16211 IFS=$as_save_IFS
16212
16213 fi
16214 fi
16215 CC=$ac_cv_prog_CC
16216 if test -n "$CC"; then
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16218 $as_echo "$CC" >&6; }
16219 else
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16221 $as_echo "no" >&6; }
16222 fi
16223
16224
16225 fi
16226 if test -z "$ac_cv_prog_CC"; then
16227 ac_ct_CC=$CC
16228 # Extract the first word of "gcc", so it can be a program name with args.
16229 set dummy gcc; ac_word=$2
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16231 $as_echo_n "checking for $ac_word... " >&6; }
16232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16233 $as_echo_n "(cached) " >&6
16234 else
16235 if test -n "$ac_ct_CC"; then
16236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16237 else
16238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16239 for as_dir in $PATH
16240 do
16241 IFS=$as_save_IFS
16242 test -z "$as_dir" && as_dir=.
16243 for ac_exec_ext in '' $ac_executable_extensions; do
16244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16245 ac_cv_prog_ac_ct_CC="gcc"
16246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16247 break 2
16248 fi
16249 done
16250 done
16251 IFS=$as_save_IFS
16252
16253 fi
16254 fi
16255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16256 if test -n "$ac_ct_CC"; then
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16258 $as_echo "$ac_ct_CC" >&6; }
16259 else
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16261 $as_echo "no" >&6; }
16262 fi
16263
16264 if test "x$ac_ct_CC" = x; then
16265 CC=""
16266 else
16267 case $cross_compiling:$ac_tool_warned in
16268 yes:)
16269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16271 ac_tool_warned=yes ;;
16272 esac
16273 CC=$ac_ct_CC
16274 fi
16275 else
16276 CC="$ac_cv_prog_CC"
16277 fi
16278
16279 if test -z "$CC"; then
16280 if test -n "$ac_tool_prefix"; then
16281 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16282 set dummy ${ac_tool_prefix}cc; ac_word=$2
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16284 $as_echo_n "checking for $ac_word... " >&6; }
16285 if test "${ac_cv_prog_CC+set}" = set; then :
16286 $as_echo_n "(cached) " >&6
16287 else
16288 if test -n "$CC"; then
16289 ac_cv_prog_CC="$CC" # Let the user override the test.
16290 else
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16293 do
16294 IFS=$as_save_IFS
16295 test -z "$as_dir" && as_dir=.
16296 for ac_exec_ext in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_CC="${ac_tool_prefix}cc"
16299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16300 break 2
16301 fi
16302 done
16303 done
16304 IFS=$as_save_IFS
16305
16306 fi
16307 fi
16308 CC=$ac_cv_prog_CC
16309 if test -n "$CC"; then
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16311 $as_echo "$CC" >&6; }
16312 else
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16314 $as_echo "no" >&6; }
16315 fi
16316
16317
16318 fi
16319 fi
16320 if test -z "$CC"; then
16321 # Extract the first word of "cc", so it can be a program name with args.
16322 set dummy cc; ac_word=$2
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16324 $as_echo_n "checking for $ac_word... " >&6; }
16325 if test "${ac_cv_prog_CC+set}" = set; then :
16326 $as_echo_n "(cached) " >&6
16327 else
16328 if test -n "$CC"; then
16329 ac_cv_prog_CC="$CC" # Let the user override the test.
16330 else
16331 ac_prog_rejected=no
16332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16333 for as_dir in $PATH
16334 do
16335 IFS=$as_save_IFS
16336 test -z "$as_dir" && as_dir=.
16337 for ac_exec_ext in '' $ac_executable_extensions; do
16338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16339 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16340 ac_prog_rejected=yes
16341 continue
16342 fi
16343 ac_cv_prog_CC="cc"
16344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16345 break 2
16346 fi
16347 done
16348 done
16349 IFS=$as_save_IFS
16350
16351 if test $ac_prog_rejected = yes; then
16352 # We found a bogon in the path, so make sure we never use it.
16353 set dummy $ac_cv_prog_CC
16354 shift
16355 if test $# != 0; then
16356 # We chose a different compiler from the bogus one.
16357 # However, it has the same basename, so the bogon will be chosen
16358 # first if we set CC to just the basename; use the full file name.
16359 shift
16360 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16361 fi
16362 fi
16363 fi
16364 fi
16365 CC=$ac_cv_prog_CC
16366 if test -n "$CC"; then
16367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16368 $as_echo "$CC" >&6; }
16369 else
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16371 $as_echo "no" >&6; }
16372 fi
16373
16374
16375 fi
16376 if test -z "$CC"; then
16377 if test -n "$ac_tool_prefix"; then
16378 for ac_prog in cl.exe
16379 do
16380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16383 $as_echo_n "checking for $ac_word... " >&6; }
16384 if test "${ac_cv_prog_CC+set}" = set; then :
16385 $as_echo_n "(cached) " >&6
16386 else
16387 if test -n "$CC"; then
16388 ac_cv_prog_CC="$CC" # Let the user override the test.
16389 else
16390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16391 for as_dir in $PATH
16392 do
16393 IFS=$as_save_IFS
16394 test -z "$as_dir" && as_dir=.
16395 for ac_exec_ext in '' $ac_executable_extensions; do
16396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16397 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16399 break 2
16400 fi
16401 done
16402 done
16403 IFS=$as_save_IFS
16404
16405 fi
16406 fi
16407 CC=$ac_cv_prog_CC
16408 if test -n "$CC"; then
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16410 $as_echo "$CC" >&6; }
16411 else
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16413 $as_echo "no" >&6; }
16414 fi
16415
16416
16417 test -n "$CC" && break
16418 done
16419 fi
16420 if test -z "$CC"; then
16421 ac_ct_CC=$CC
16422 for ac_prog in cl.exe
16423 do
16424 # Extract the first word of "$ac_prog", so it can be a program name with args.
16425 set dummy $ac_prog; ac_word=$2
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16427 $as_echo_n "checking for $ac_word... " >&6; }
16428 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16429 $as_echo_n "(cached) " >&6
16430 else
16431 if test -n "$ac_ct_CC"; then
16432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16433 else
16434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16435 for as_dir in $PATH
16436 do
16437 IFS=$as_save_IFS
16438 test -z "$as_dir" && as_dir=.
16439 for ac_exec_ext in '' $ac_executable_extensions; do
16440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16441 ac_cv_prog_ac_ct_CC="$ac_prog"
16442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16443 break 2
16444 fi
16445 done
16446 done
16447 IFS=$as_save_IFS
16448
16449 fi
16450 fi
16451 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16452 if test -n "$ac_ct_CC"; then
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16454 $as_echo "$ac_ct_CC" >&6; }
16455 else
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16457 $as_echo "no" >&6; }
16458 fi
16459
16460
16461 test -n "$ac_ct_CC" && break
16462 done
16463
16464 if test "x$ac_ct_CC" = x; then
16465 CC=""
16466 else
16467 case $cross_compiling:$ac_tool_warned in
16468 yes:)
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16471 ac_tool_warned=yes ;;
16472 esac
16473 CC=$ac_ct_CC
16474 fi
16475 fi
16476
16477 fi
16478
16479
16480 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16482 as_fn_error $? "no acceptable C compiler found in \$PATH
16483 See \`config.log' for more details" "$LINENO" 5 ; }
16484
16485 # Provide some information about the compiler.
16486 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16487 set X $ac_compile
16488 ac_compiler=$2
16489 for ac_option in --version -v -V -qversion; do
16490 { { ac_try="$ac_compiler $ac_option >&5"
16491 case "(($ac_try" in
16492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16493 *) ac_try_echo=$ac_try;;
16494 esac
16495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16496 $as_echo "$ac_try_echo"; } >&5
16497 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16498 ac_status=$?
16499 if test -s conftest.err; then
16500 sed '10a\
16501 ... rest of stderr output deleted ...
16502 10q' conftest.err >conftest.er1
16503 cat conftest.er1 >&5
16504 fi
16505 rm -f conftest.er1 conftest.err
16506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16507 test $ac_status = 0; }
16508 done
16509
16510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16512
16513 int
16514 main ()
16515 {
16516
16517 ;
16518 return 0;
16519 }
16520 _ACEOF
16521 ac_clean_files_save=$ac_clean_files
16522 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16523 # Try to create an executable without -o first, disregard a.out.
16524 # It will help us diagnose broken compilers, and finding out an intuition
16525 # of exeext.
16526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16527 $as_echo_n "checking whether the C compiler works... " >&6; }
16528 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16529
16530 # The possible output files:
16531 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16532
16533 ac_rmfiles=
16534 for ac_file in $ac_files
16535 do
16536 case $ac_file in
16537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16538 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16539 esac
16540 done
16541 rm -f $ac_rmfiles
16542
16543 if { { ac_try="$ac_link_default"
16544 case "(($ac_try" in
16545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16546 *) ac_try_echo=$ac_try;;
16547 esac
16548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16549 $as_echo "$ac_try_echo"; } >&5
16550 (eval "$ac_link_default") 2>&5
16551 ac_status=$?
16552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16553 test $ac_status = 0; }; then :
16554 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16555 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16556 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16557 # so that the user can short-circuit this test for compilers unknown to
16558 # Autoconf.
16559 for ac_file in $ac_files ''
16560 do
16561 test -f "$ac_file" || continue
16562 case $ac_file in
16563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16564 ;;
16565 [ab].out )
16566 # We found the default executable, but exeext='' is most
16567 # certainly right.
16568 break;;
16569 *.* )
16570 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16571 then :; else
16572 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16573 fi
16574 # We set ac_cv_exeext here because the later test for it is not
16575 # safe: cross compilers may not add the suffix if given an `-o'
16576 # argument, so we may need to know it at that point already.
16577 # Even if this section looks crufty: it has the advantage of
16578 # actually working.
16579 break;;
16580 * )
16581 break;;
16582 esac
16583 done
16584 test "$ac_cv_exeext" = no && ac_cv_exeext=
16585
16586 else
16587 ac_file=''
16588 fi
16589 if test -z "$ac_file"; then :
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16591 $as_echo "no" >&6; }
16592 $as_echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.$ac_ext >&5
16594
16595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16597 as_fn_error 77 "C compiler cannot create executables
16598 See \`config.log' for more details" "$LINENO" 5 ; }
16599 else
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16601 $as_echo "yes" >&6; }
16602 fi
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16604 $as_echo_n "checking for C compiler default output file name... " >&6; }
16605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16606 $as_echo "$ac_file" >&6; }
16607 ac_exeext=$ac_cv_exeext
16608
16609 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16610 ac_clean_files=$ac_clean_files_save
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16612 $as_echo_n "checking for suffix of executables... " >&6; }
16613 if { { ac_try="$ac_link"
16614 case "(($ac_try" in
16615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16616 *) ac_try_echo=$ac_try;;
16617 esac
16618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16619 $as_echo "$ac_try_echo"; } >&5
16620 (eval "$ac_link") 2>&5
16621 ac_status=$?
16622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16623 test $ac_status = 0; }; then :
16624 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16625 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16626 # work properly (i.e., refer to `conftest.exe'), while it won't with
16627 # `rm'.
16628 for ac_file in conftest.exe conftest conftest.*; do
16629 test -f "$ac_file" || continue
16630 case $ac_file in
16631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16632 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16633 break;;
16634 * ) break;;
16635 esac
16636 done
16637 else
16638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16640 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16641 See \`config.log' for more details" "$LINENO" 5 ; }
16642 fi
16643 rm -f conftest conftest$ac_cv_exeext
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16645 $as_echo "$ac_cv_exeext" >&6; }
16646
16647 rm -f conftest.$ac_ext
16648 EXEEXT=$ac_cv_exeext
16649 ac_exeext=$EXEEXT
16650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16651 /* end confdefs.h. */
16652 #include <stdio.h>
16653 int
16654 main ()
16655 {
16656 FILE *f = fopen ("conftest.out", "w");
16657 return ferror (f) || fclose (f) != 0;
16658
16659 ;
16660 return 0;
16661 }
16662 _ACEOF
16663 ac_clean_files="$ac_clean_files conftest.out"
16664 # Check that the compiler produces executables we can run. If not, either
16665 # the compiler is broken, or we cross compile.
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16667 $as_echo_n "checking whether we are cross compiling... " >&6; }
16668 if test "$cross_compiling" != yes; then
16669 { { ac_try="$ac_link"
16670 case "(($ac_try" in
16671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16672 *) ac_try_echo=$ac_try;;
16673 esac
16674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16675 $as_echo "$ac_try_echo"; } >&5
16676 (eval "$ac_link") 2>&5
16677 ac_status=$?
16678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16679 test $ac_status = 0; }
16680 if { ac_try='./conftest$ac_cv_exeext'
16681 { { case "(($ac_try" in
16682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16683 *) ac_try_echo=$ac_try;;
16684 esac
16685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16686 $as_echo "$ac_try_echo"; } >&5
16687 (eval "$ac_try") 2>&5
16688 ac_status=$?
16689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16690 test $ac_status = 0; }; }; then
16691 cross_compiling=no
16692 else
16693 if test "$cross_compiling" = maybe; then
16694 cross_compiling=yes
16695 else
16696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16698 as_fn_error $? "cannot run C compiled programs.
16699 If you meant to cross compile, use \`--host'.
16700 See \`config.log' for more details" "$LINENO" 5 ; }
16701 fi
16702 fi
16703 fi
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16705 $as_echo "$cross_compiling" >&6; }
16706
16707 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16708 ac_clean_files=$ac_clean_files_save
16709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16710 $as_echo_n "checking for suffix of object files... " >&6; }
16711 if test "${ac_cv_objext+set}" = set; then :
16712 $as_echo_n "(cached) " >&6
16713 else
16714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16715 /* end confdefs.h. */
16716
16717 int
16718 main ()
16719 {
16720
16721 ;
16722 return 0;
16723 }
16724 _ACEOF
16725 rm -f conftest.o conftest.obj
16726 if { { ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16730 esac
16731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16732 $as_echo "$ac_try_echo"; } >&5
16733 (eval "$ac_compile") 2>&5
16734 ac_status=$?
16735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16736 test $ac_status = 0; }; then :
16737 for ac_file in conftest.o conftest.obj conftest.*; do
16738 test -f "$ac_file" || continue;
16739 case $ac_file in
16740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16741 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16742 break;;
16743 esac
16744 done
16745 else
16746 $as_echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16748
16749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16751 as_fn_error $? "cannot compute suffix of object files: cannot compile
16752 See \`config.log' for more details" "$LINENO" 5 ; }
16753 fi
16754 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16755 fi
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16757 $as_echo "$ac_cv_objext" >&6; }
16758 OBJEXT=$ac_cv_objext
16759 ac_objext=$OBJEXT
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16761 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16762 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16763 $as_echo_n "(cached) " >&6
16764 else
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767
16768 int
16769 main ()
16770 {
16771 #ifndef __GNUC__
16772 choke me
16773 #endif
16774
16775 ;
16776 return 0;
16777 }
16778 _ACEOF
16779 if ac_fn_c_try_compile "$LINENO"; then :
16780 ac_compiler_gnu=yes
16781 else
16782 ac_compiler_gnu=no
16783 fi
16784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16785 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16786
16787 fi
16788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16789 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16790 if test $ac_compiler_gnu = yes; then
16791 GCC=yes
16792 else
16793 GCC=
16794 fi
16795 ac_test_CFLAGS=${CFLAGS+set}
16796 ac_save_CFLAGS=$CFLAGS
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16798 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16799 if test "${ac_cv_prog_cc_g+set}" = set; then :
16800 $as_echo_n "(cached) " >&6
16801 else
16802 ac_save_c_werror_flag=$ac_c_werror_flag
16803 ac_c_werror_flag=yes
16804 ac_cv_prog_cc_g=no
16805 CFLAGS="-g"
16806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807 /* end confdefs.h. */
16808
16809 int
16810 main ()
16811 {
16812
16813 ;
16814 return 0;
16815 }
16816 _ACEOF
16817 if ac_fn_c_try_compile "$LINENO"; then :
16818 ac_cv_prog_cc_g=yes
16819 else
16820 CFLAGS=""
16821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16822 /* end confdefs.h. */
16823
16824 int
16825 main ()
16826 {
16827
16828 ;
16829 return 0;
16830 }
16831 _ACEOF
16832 if ac_fn_c_try_compile "$LINENO"; then :
16833
16834 else
16835 ac_c_werror_flag=$ac_save_c_werror_flag
16836 CFLAGS="-g"
16837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16838 /* end confdefs.h. */
16839
16840 int
16841 main ()
16842 {
16843
16844 ;
16845 return 0;
16846 }
16847 _ACEOF
16848 if ac_fn_c_try_compile "$LINENO"; then :
16849 ac_cv_prog_cc_g=yes
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16852 fi
16853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16854 fi
16855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856 ac_c_werror_flag=$ac_save_c_werror_flag
16857 fi
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16859 $as_echo "$ac_cv_prog_cc_g" >&6; }
16860 if test "$ac_test_CFLAGS" = set; then
16861 CFLAGS=$ac_save_CFLAGS
16862 elif test $ac_cv_prog_cc_g = yes; then
16863 if test "$GCC" = yes; then
16864 CFLAGS="-g -O2"
16865 else
16866 CFLAGS="-g"
16867 fi
16868 else
16869 if test "$GCC" = yes; then
16870 CFLAGS="-O2"
16871 else
16872 CFLAGS=
16873 fi
16874 fi
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16876 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16877 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16878 $as_echo_n "(cached) " >&6
16879 else
16880 ac_cv_prog_cc_c89=no
16881 ac_save_CC=$CC
16882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16883 /* end confdefs.h. */
16884 #include <stdarg.h>
16885 #include <stdio.h>
16886 #include <sys/types.h>
16887 #include <sys/stat.h>
16888 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16889 struct buf { int x; };
16890 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16891 static char *e (p, i)
16892 char **p;
16893 int i;
16894 {
16895 return p[i];
16896 }
16897 static char *f (char * (*g) (char **, int), char **p, ...)
16898 {
16899 char *s;
16900 va_list v;
16901 va_start (v,p);
16902 s = g (p, va_arg (v,int));
16903 va_end (v);
16904 return s;
16905 }
16906
16907 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16908 function prototypes and stuff, but not '\xHH' hex character constants.
16909 These don't provoke an error unfortunately, instead are silently treated
16910 as 'x'. The following induces an error, until -std is added to get
16911 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16912 array size at least. It's necessary to write '\x00'==0 to get something
16913 that's true only with -std. */
16914 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16915
16916 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16917 inside strings and character constants. */
16918 #define FOO(x) 'x'
16919 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16920
16921 int test (int i, double x);
16922 struct s1 {int (*f) (int a);};
16923 struct s2 {int (*f) (double a);};
16924 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16925 int argc;
16926 char **argv;
16927 int
16928 main ()
16929 {
16930 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16931 ;
16932 return 0;
16933 }
16934 _ACEOF
16935 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16936 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16937 do
16938 CC="$ac_save_CC $ac_arg"
16939 if ac_fn_c_try_compile "$LINENO"; then :
16940 ac_cv_prog_cc_c89=$ac_arg
16941 fi
16942 rm -f core conftest.err conftest.$ac_objext
16943 test "x$ac_cv_prog_cc_c89" != "xno" && break
16944 done
16945 rm -f conftest.$ac_ext
16946 CC=$ac_save_CC
16947
16948 fi
16949 # AC_CACHE_VAL
16950 case "x$ac_cv_prog_cc_c89" in
16951 x)
16952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16953 $as_echo "none needed" >&6; } ;;
16954 xno)
16955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16956 $as_echo "unsupported" >&6; } ;;
16957 *)
16958 CC="$CC $ac_cv_prog_cc_c89"
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16960 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16961 esac
16962 if test "x$ac_cv_prog_cc_c89" != xno; then :
16963
16964 fi
16965
16966 ac_ext=c
16967 ac_cpp='$CPP $CPPFLAGS'
16968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16971
16972
16973
16974
16975
16976
16977
16978
16979 ac_ext=c
16980 ac_cpp='$CPP $CPPFLAGS'
16981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16984
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
16986 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
16987 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992
16993 int
16994 main ()
16995 {
16996
16997 #ifndef __INTEL_COMPILER
16998 choke me
16999 #endif
17000
17001 ;
17002 return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_c_try_compile "$LINENO"; then :
17006 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17007 else
17008 bakefile_cv_c_compiler___INTEL_COMPILER=no
17009
17010 fi
17011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17012
17013
17014 fi
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17016 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17017 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17018 :; INTELCC=yes
17019 else
17020 :;
17021 fi
17022 ac_ext=c
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17027
17028
17029
17030
17031 if test "$INTELCC" = "yes"; then
17032
17033
17034 ac_ext=c
17035 ac_cpp='$CPP $CPPFLAGS'
17036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17039
17040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17041 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17042 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
17043 $as_echo_n "(cached) " >&6
17044 else
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047
17048 int
17049 main ()
17050 {
17051
17052 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17053 choke me
17054 #endif
17055
17056 ;
17057 return 0;
17058 }
17059 _ACEOF
17060 if ac_fn_c_try_compile "$LINENO"; then :
17061 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17062 else
17063 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17064
17065 fi
17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17067
17068
17069 fi
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17071 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17072 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17073 :; INTELCC8=yes
17074 else
17075 :;
17076 fi
17077 ac_ext=c
17078 ac_cpp='$CPP $CPPFLAGS'
17079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17082
17083
17084
17085
17086
17087 ac_ext=c
17088 ac_cpp='$CPP $CPPFLAGS'
17089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17092
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17094 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17095 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
17096 $as_echo_n "(cached) " >&6
17097 else
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100
17101 int
17102 main ()
17103 {
17104
17105 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17106 choke me
17107 #endif
17108
17109 ;
17110 return 0;
17111 }
17112 _ACEOF
17113 if ac_fn_c_try_compile "$LINENO"; then :
17114 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17115 else
17116 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17117
17118 fi
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120
17121
17122 fi
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17124 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17125 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17126 :; INTELCC10=yes
17127 else
17128 :;
17129 fi
17130 ac_ext=c
17131 ac_cpp='$CPP $CPPFLAGS'
17132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17135
17136
17137
17138 fi
17139
17140 if test "x$GCC" != "xyes"; then
17141 if test "xCC" = "xC"; then
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17143 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17144 if test "${bakefile_cv_c_exto+set}" = set; then :
17145 $as_echo_n "(cached) " >&6
17146 else
17147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17148 /* end confdefs.h. */
17149
17150 int
17151 main ()
17152 {
17153
17154 ;
17155 return 0;
17156 }
17157 _ACEOF
17158 rm -f conftest.$ac_objext conftest.$ac_ext.o
17159 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17160 (eval $ac_compile) 2>&5
17161 ac_status=$?
17162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17163 test $ac_status = 0; }; then :
17164 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17165 case $ac_file in
17166 conftest.$ac_ext.o)
17167 bakefile_cv_c_exto="-ext o"
17168 ;;
17169 *)
17170 ;;
17171 esac
17172 done
17173 else
17174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17176 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17177 See \`config.log' for more details" "$LINENO" 5 ; }
17178
17179 fi
17180 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17181
17182 fi
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17184 $as_echo "$bakefile_cv_c_exto" >&6; }
17185 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17186 if test "c" = "c"; then
17187 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17188 fi
17189 if test "c" = "cxx"; then
17190 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17191 fi
17192 fi
17193
17194 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17195 unset ac_cv_prog_cc_g
17196 ac_test_CFLAGS=${CFLAGS+set}
17197 ac_save_CFLAGS=$CFLAGS
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17199 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17200 if test "${ac_cv_prog_cc_g+set}" = set; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 ac_save_c_werror_flag=$ac_c_werror_flag
17204 ac_c_werror_flag=yes
17205 ac_cv_prog_cc_g=no
17206 CFLAGS="-g"
17207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17208 /* end confdefs.h. */
17209
17210 int
17211 main ()
17212 {
17213
17214 ;
17215 return 0;
17216 }
17217 _ACEOF
17218 if ac_fn_c_try_compile "$LINENO"; then :
17219 ac_cv_prog_cc_g=yes
17220 else
17221 CFLAGS=""
17222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17223 /* end confdefs.h. */
17224
17225 int
17226 main ()
17227 {
17228
17229 ;
17230 return 0;
17231 }
17232 _ACEOF
17233 if ac_fn_c_try_compile "$LINENO"; then :
17234
17235 else
17236 ac_c_werror_flag=$ac_save_c_werror_flag
17237 CFLAGS="-g"
17238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17239 /* end confdefs.h. */
17240
17241 int
17242 main ()
17243 {
17244
17245 ;
17246 return 0;
17247 }
17248 _ACEOF
17249 if ac_fn_c_try_compile "$LINENO"; then :
17250 ac_cv_prog_cc_g=yes
17251 fi
17252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253 fi
17254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17255 fi
17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17257 ac_c_werror_flag=$ac_save_c_werror_flag
17258 fi
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17260 $as_echo "$ac_cv_prog_cc_g" >&6; }
17261 if test "$ac_test_CFLAGS" = set; then
17262 CFLAGS=$ac_save_CFLAGS
17263 elif test $ac_cv_prog_cc_g = yes; then
17264 if test "$GCC" = yes; then
17265 CFLAGS="-g -O2"
17266 else
17267 CFLAGS="-g"
17268 fi
17269 else
17270 if test "$GCC" = yes; then
17271 CFLAGS="-O2"
17272 else
17273 CFLAGS=
17274 fi
17275 fi
17276 fi
17277 fi
17278
17279 case `uname -s` in
17280 AIX*)
17281
17282
17283 ac_ext=c
17284 ac_cpp='$CPP $CPPFLAGS'
17285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17288
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17290 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17291 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17292 $as_echo_n "(cached) " >&6
17293 else
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296
17297 int
17298 main ()
17299 {
17300
17301 #ifndef __xlC__
17302 choke me
17303 #endif
17304
17305 ;
17306 return 0;
17307 }
17308 _ACEOF
17309 if ac_fn_c_try_compile "$LINENO"; then :
17310 bakefile_cv_c_compiler___xlC__=yes
17311 else
17312 bakefile_cv_c_compiler___xlC__=no
17313
17314 fi
17315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17316
17317
17318 fi
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17320 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17321 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17322 :; XLCC=yes
17323 else
17324 :;
17325 fi
17326 ac_ext=c
17327 ac_cpp='$CPP $CPPFLAGS'
17328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17331
17332
17333
17334 ;;
17335
17336 Darwin)
17337
17338
17339 ac_ext=c
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17344
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17346 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17347 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then :
17348 $as_echo_n "(cached) " >&6
17349 else
17350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17351 /* end confdefs.h. */
17352
17353 int
17354 main ()
17355 {
17356
17357 #ifndef __MWERKS__
17358 choke me
17359 #endif
17360
17361 ;
17362 return 0;
17363 }
17364 _ACEOF
17365 if ac_fn_c_try_compile "$LINENO"; then :
17366 bakefile_cv_c_compiler___MWERKS__=yes
17367 else
17368 bakefile_cv_c_compiler___MWERKS__=no
17369
17370 fi
17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372
17373
17374 fi
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17376 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17377 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17378 :; MWCC=yes
17379 else
17380 :;
17381 fi
17382 ac_ext=c
17383 ac_cpp='$CPP $CPPFLAGS'
17384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17387
17388
17389
17390 if test "$MWCC" != "yes"; then
17391
17392
17393 ac_ext=c
17394 ac_cpp='$CPP $CPPFLAGS'
17395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17398
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17400 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17401 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17402 $as_echo_n "(cached) " >&6
17403 else
17404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17405 /* end confdefs.h. */
17406
17407 int
17408 main ()
17409 {
17410
17411 #ifndef __xlC__
17412 choke me
17413 #endif
17414
17415 ;
17416 return 0;
17417 }
17418 _ACEOF
17419 if ac_fn_c_try_compile "$LINENO"; then :
17420 bakefile_cv_c_compiler___xlC__=yes
17421 else
17422 bakefile_cv_c_compiler___xlC__=no
17423
17424 fi
17425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17426
17427
17428 fi
17429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17430 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17431 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17432 :; XLCC=yes
17433 else
17434 :;
17435 fi
17436 ac_ext=c
17437 ac_cpp='$CPP $CPPFLAGS'
17438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17441
17442
17443
17444 fi
17445 ;;
17446
17447 IRIX*)
17448
17449
17450 ac_ext=c
17451 ac_cpp='$CPP $CPPFLAGS'
17452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17455
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17457 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17458 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then :
17459 $as_echo_n "(cached) " >&6
17460 else
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17463
17464 int
17465 main ()
17466 {
17467
17468 #ifndef _SGI_COMPILER_VERSION
17469 choke me
17470 #endif
17471
17472 ;
17473 return 0;
17474 }
17475 _ACEOF
17476 if ac_fn_c_try_compile "$LINENO"; then :
17477 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17478 else
17479 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17480
17481 fi
17482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17483
17484
17485 fi
17486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17487 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17488 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17489 :; SGICC=yes
17490 else
17491 :;
17492 fi
17493 ac_ext=c
17494 ac_cpp='$CPP $CPPFLAGS'
17495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17498
17499
17500
17501 ;;
17502
17503 Linux*)
17504 if test "$INTELCC" != "yes"; then
17505
17506
17507 ac_ext=c
17508 ac_cpp='$CPP $CPPFLAGS'
17509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17512
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17514 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17515 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17516 $as_echo_n "(cached) " >&6
17517 else
17518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17519 /* end confdefs.h. */
17520
17521 int
17522 main ()
17523 {
17524
17525 #ifndef __SUNPRO_C
17526 choke me
17527 #endif
17528
17529 ;
17530 return 0;
17531 }
17532 _ACEOF
17533 if ac_fn_c_try_compile "$LINENO"; then :
17534 bakefile_cv_c_compiler___SUNPRO_C=yes
17535 else
17536 bakefile_cv_c_compiler___SUNPRO_C=no
17537
17538 fi
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17540
17541
17542 fi
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17544 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17545 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17546 :; SUNCC=yes
17547 else
17548 :;
17549 fi
17550 ac_ext=c
17551 ac_cpp='$CPP $CPPFLAGS'
17552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17555
17556
17557
17558 fi
17559 ;;
17560
17561 HP-UX*)
17562
17563
17564 ac_ext=c
17565 ac_cpp='$CPP $CPPFLAGS'
17566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17569
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17571 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17572 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17577
17578 int
17579 main ()
17580 {
17581
17582 #ifndef __HP_cc
17583 choke me
17584 #endif
17585
17586 ;
17587 return 0;
17588 }
17589 _ACEOF
17590 if ac_fn_c_try_compile "$LINENO"; then :
17591 bakefile_cv_c_compiler___HP_cc=yes
17592 else
17593 bakefile_cv_c_compiler___HP_cc=no
17594
17595 fi
17596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17597
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17601 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17602 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17603 :; HPCC=yes
17604 else
17605 :;
17606 fi
17607 ac_ext=c
17608 ac_cpp='$CPP $CPPFLAGS'
17609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17612
17613
17614
17615 ;;
17616
17617 OSF1)
17618
17619
17620 ac_ext=c
17621 ac_cpp='$CPP $CPPFLAGS'
17622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17625
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17627 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17628 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then :
17629 $as_echo_n "(cached) " >&6
17630 else
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17633
17634 int
17635 main ()
17636 {
17637
17638 #ifndef __DECC
17639 choke me
17640 #endif
17641
17642 ;
17643 return 0;
17644 }
17645 _ACEOF
17646 if ac_fn_c_try_compile "$LINENO"; then :
17647 bakefile_cv_c_compiler___DECC=yes
17648 else
17649 bakefile_cv_c_compiler___DECC=no
17650
17651 fi
17652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17653
17654
17655 fi
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17657 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17658 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17659 :; COMPAQCC=yes
17660 else
17661 :;
17662 fi
17663 ac_ext=c
17664 ac_cpp='$CPP $CPPFLAGS'
17665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17668
17669
17670
17671 ;;
17672
17673 SunOS)
17674
17675
17676 ac_ext=c
17677 ac_cpp='$CPP $CPPFLAGS'
17678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17681
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17683 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17684 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17688 /* end confdefs.h. */
17689
17690 int
17691 main ()
17692 {
17693
17694 #ifndef __SUNPRO_C
17695 choke me
17696 #endif
17697
17698 ;
17699 return 0;
17700 }
17701 _ACEOF
17702 if ac_fn_c_try_compile "$LINENO"; then :
17703 bakefile_cv_c_compiler___SUNPRO_C=yes
17704 else
17705 bakefile_cv_c_compiler___SUNPRO_C=no
17706
17707 fi
17708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709
17710
17711 fi
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17713 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17714 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17715 :; SUNCC=yes
17716 else
17717 :;
17718 fi
17719 ac_ext=c
17720 ac_cpp='$CPP $CPPFLAGS'
17721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17724
17725
17726
17727 ;;
17728 esac
17729 fi
17730
17731
17732
17733 ac_ext=c
17734 ac_cpp='$CPP $CPPFLAGS'
17735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17739 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17740 # On Suns, sometimes $CPP names a directory.
17741 if test -n "$CPP" && test -d "$CPP"; then
17742 CPP=
17743 fi
17744 if test -z "$CPP"; then
17745 if test "${ac_cv_prog_CPP+set}" = set; then :
17746 $as_echo_n "(cached) " >&6
17747 else
17748 # Double quotes because CPP needs to be expanded
17749 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17750 do
17751 ac_preproc_ok=false
17752 for ac_c_preproc_warn_flag in '' yes
17753 do
17754 # Use a header file that comes with gcc, so configuring glibc
17755 # with a fresh cross-compiler works.
17756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17757 # <limits.h> exists even on freestanding compilers.
17758 # On the NeXT, cc -E runs the code through the compiler's parser,
17759 # not just through cpp. "Syntax error" is here to catch this case.
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #ifdef __STDC__
17763 # include <limits.h>
17764 #else
17765 # include <assert.h>
17766 #endif
17767 Syntax error
17768 _ACEOF
17769 if ac_fn_c_try_cpp "$LINENO"; then :
17770
17771 else
17772 # Broken: fails on valid input.
17773 continue
17774 fi
17775 rm -f conftest.err conftest.i conftest.$ac_ext
17776
17777 # OK, works on sane cases. Now check whether nonexistent headers
17778 # can be detected and how.
17779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17780 /* end confdefs.h. */
17781 #include <ac_nonexistent.h>
17782 _ACEOF
17783 if ac_fn_c_try_cpp "$LINENO"; then :
17784 # Broken: success on invalid input.
17785 continue
17786 else
17787 # Passes both tests.
17788 ac_preproc_ok=:
17789 break
17790 fi
17791 rm -f conftest.err conftest.i conftest.$ac_ext
17792
17793 done
17794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17795 rm -f conftest.i conftest.err conftest.$ac_ext
17796 if $ac_preproc_ok; then :
17797 break
17798 fi
17799
17800 done
17801 ac_cv_prog_CPP=$CPP
17802
17803 fi
17804 CPP=$ac_cv_prog_CPP
17805 else
17806 ac_cv_prog_CPP=$CPP
17807 fi
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17809 $as_echo "$CPP" >&6; }
17810 ac_preproc_ok=false
17811 for ac_c_preproc_warn_flag in '' yes
17812 do
17813 # Use a header file that comes with gcc, so configuring glibc
17814 # with a fresh cross-compiler works.
17815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17816 # <limits.h> exists even on freestanding compilers.
17817 # On the NeXT, cc -E runs the code through the compiler's parser,
17818 # not just through cpp. "Syntax error" is here to catch this case.
17819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17820 /* end confdefs.h. */
17821 #ifdef __STDC__
17822 # include <limits.h>
17823 #else
17824 # include <assert.h>
17825 #endif
17826 Syntax error
17827 _ACEOF
17828 if ac_fn_c_try_cpp "$LINENO"; then :
17829
17830 else
17831 # Broken: fails on valid input.
17832 continue
17833 fi
17834 rm -f conftest.err conftest.i conftest.$ac_ext
17835
17836 # OK, works on sane cases. Now check whether nonexistent headers
17837 # can be detected and how.
17838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17839 /* end confdefs.h. */
17840 #include <ac_nonexistent.h>
17841 _ACEOF
17842 if ac_fn_c_try_cpp "$LINENO"; then :
17843 # Broken: success on invalid input.
17844 continue
17845 else
17846 # Passes both tests.
17847 ac_preproc_ok=:
17848 break
17849 fi
17850 rm -f conftest.err conftest.i conftest.$ac_ext
17851
17852 done
17853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17854 rm -f conftest.i conftest.err conftest.$ac_ext
17855 if $ac_preproc_ok; then :
17856
17857 else
17858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17860 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17861 See \`config.log' for more details" "$LINENO" 5 ; }
17862 fi
17863
17864 ac_ext=c
17865 ac_cpp='$CPP $CPPFLAGS'
17866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17869
17870
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17872 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17873 if test "${ac_cv_path_GREP+set}" = set; then :
17874 $as_echo_n "(cached) " >&6
17875 else
17876 if test -z "$GREP"; then
17877 ac_path_GREP_found=false
17878 # Loop through the user's path and test for each of PROGNAME-LIST
17879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17880 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17881 do
17882 IFS=$as_save_IFS
17883 test -z "$as_dir" && as_dir=.
17884 for ac_prog in grep ggrep; do
17885 for ac_exec_ext in '' $ac_executable_extensions; do
17886 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17887 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17888 # Check for GNU ac_path_GREP and select it if it is found.
17889 # Check for GNU $ac_path_GREP
17890 case `"$ac_path_GREP" --version 2>&1` in
17891 *GNU*)
17892 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17893 *)
17894 ac_count=0
17895 $as_echo_n 0123456789 >"conftest.in"
17896 while :
17897 do
17898 cat "conftest.in" "conftest.in" >"conftest.tmp"
17899 mv "conftest.tmp" "conftest.in"
17900 cp "conftest.in" "conftest.nl"
17901 $as_echo 'GREP' >> "conftest.nl"
17902 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17903 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17904 as_fn_arith $ac_count + 1 && ac_count=$as_val
17905 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17906 # Best one so far, save it but keep looking for a better one
17907 ac_cv_path_GREP="$ac_path_GREP"
17908 ac_path_GREP_max=$ac_count
17909 fi
17910 # 10*(2^10) chars as input seems more than enough
17911 test $ac_count -gt 10 && break
17912 done
17913 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17914 esac
17915
17916 $ac_path_GREP_found && break 3
17917 done
17918 done
17919 done
17920 IFS=$as_save_IFS
17921 if test -z "$ac_cv_path_GREP"; then
17922 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17923 fi
17924 else
17925 ac_cv_path_GREP=$GREP
17926 fi
17927
17928 fi
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17930 $as_echo "$ac_cv_path_GREP" >&6; }
17931 GREP="$ac_cv_path_GREP"
17932
17933
17934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17935 $as_echo_n "checking for egrep... " >&6; }
17936 if test "${ac_cv_path_EGREP+set}" = set; then :
17937 $as_echo_n "(cached) " >&6
17938 else
17939 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17940 then ac_cv_path_EGREP="$GREP -E"
17941 else
17942 if test -z "$EGREP"; then
17943 ac_path_EGREP_found=false
17944 # Loop through the user's path and test for each of PROGNAME-LIST
17945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17946 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17947 do
17948 IFS=$as_save_IFS
17949 test -z "$as_dir" && as_dir=.
17950 for ac_prog in egrep; do
17951 for ac_exec_ext in '' $ac_executable_extensions; do
17952 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17953 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17954 # Check for GNU ac_path_EGREP and select it if it is found.
17955 # Check for GNU $ac_path_EGREP
17956 case `"$ac_path_EGREP" --version 2>&1` in
17957 *GNU*)
17958 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17959 *)
17960 ac_count=0
17961 $as_echo_n 0123456789 >"conftest.in"
17962 while :
17963 do
17964 cat "conftest.in" "conftest.in" >"conftest.tmp"
17965 mv "conftest.tmp" "conftest.in"
17966 cp "conftest.in" "conftest.nl"
17967 $as_echo 'EGREP' >> "conftest.nl"
17968 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17969 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17970 as_fn_arith $ac_count + 1 && ac_count=$as_val
17971 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17972 # Best one so far, save it but keep looking for a better one
17973 ac_cv_path_EGREP="$ac_path_EGREP"
17974 ac_path_EGREP_max=$ac_count
17975 fi
17976 # 10*(2^10) chars as input seems more than enough
17977 test $ac_count -gt 10 && break
17978 done
17979 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17980 esac
17981
17982 $ac_path_EGREP_found && break 3
17983 done
17984 done
17985 done
17986 IFS=$as_save_IFS
17987 if test -z "$ac_cv_path_EGREP"; then
17988 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17989 fi
17990 else
17991 ac_cv_path_EGREP=$EGREP
17992 fi
17993
17994 fi
17995 fi
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
17997 $as_echo "$ac_cv_path_EGREP" >&6; }
17998 EGREP="$ac_cv_path_EGREP"
17999
18000
18001 if test $ac_cv_c_compiler_gnu = yes; then
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18003 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18004 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
18005 $as_echo_n "(cached) " >&6
18006 else
18007 ac_pattern="Autoconf.*'x'"
18008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18010 #include <sgtty.h>
18011 Autoconf TIOCGETP
18012 _ACEOF
18013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18014 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18015 ac_cv_prog_gcc_traditional=yes
18016 else
18017 ac_cv_prog_gcc_traditional=no
18018 fi
18019 rm -f conftest*
18020
18021
18022 if test $ac_cv_prog_gcc_traditional = no; then
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18025 #include <termio.h>
18026 Autoconf TCGETA
18027 _ACEOF
18028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18029 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18030 ac_cv_prog_gcc_traditional=yes
18031 fi
18032 rm -f conftest*
18033
18034 fi
18035 fi
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18037 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18038 if test $ac_cv_prog_gcc_traditional = yes; then
18039 CC="$CC -traditional"
18040 fi
18041 fi
18042
18043
18044 CXXFLAGS=${CXXFLAGS:=}
18045 ac_ext=cpp
18046 ac_cpp='$CXXCPP $CPPFLAGS'
18047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18050 if test -z "$CXX"; then
18051 if test -n "$CCC"; then
18052 CXX=$CCC
18053 else
18054 if test -n "$ac_tool_prefix"; then
18055 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18056 do
18057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18058 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18060 $as_echo_n "checking for $ac_word... " >&6; }
18061 if test "${ac_cv_prog_CXX+set}" = set; then :
18062 $as_echo_n "(cached) " >&6
18063 else
18064 if test -n "$CXX"; then
18065 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18066 else
18067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18068 for as_dir in $PATH
18069 do
18070 IFS=$as_save_IFS
18071 test -z "$as_dir" && as_dir=.
18072 for ac_exec_ext in '' $ac_executable_extensions; do
18073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18074 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18076 break 2
18077 fi
18078 done
18079 done
18080 IFS=$as_save_IFS
18081
18082 fi
18083 fi
18084 CXX=$ac_cv_prog_CXX
18085 if test -n "$CXX"; then
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18087 $as_echo "$CXX" >&6; }
18088 else
18089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18090 $as_echo "no" >&6; }
18091 fi
18092
18093
18094 test -n "$CXX" && break
18095 done
18096 fi
18097 if test -z "$CXX"; then
18098 ac_ct_CXX=$CXX
18099 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18100 do
18101 # Extract the first word of "$ac_prog", so it can be a program name with args.
18102 set dummy $ac_prog; ac_word=$2
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18104 $as_echo_n "checking for $ac_word... " >&6; }
18105 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
18106 $as_echo_n "(cached) " >&6
18107 else
18108 if test -n "$ac_ct_CXX"; then
18109 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18110 else
18111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18112 for as_dir in $PATH
18113 do
18114 IFS=$as_save_IFS
18115 test -z "$as_dir" && as_dir=.
18116 for ac_exec_ext in '' $ac_executable_extensions; do
18117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18118 ac_cv_prog_ac_ct_CXX="$ac_prog"
18119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18120 break 2
18121 fi
18122 done
18123 done
18124 IFS=$as_save_IFS
18125
18126 fi
18127 fi
18128 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18129 if test -n "$ac_ct_CXX"; then
18130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18131 $as_echo "$ac_ct_CXX" >&6; }
18132 else
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18134 $as_echo "no" >&6; }
18135 fi
18136
18137
18138 test -n "$ac_ct_CXX" && break
18139 done
18140
18141 if test "x$ac_ct_CXX" = x; then
18142 CXX="g++"
18143 else
18144 case $cross_compiling:$ac_tool_warned in
18145 yes:)
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18148 ac_tool_warned=yes ;;
18149 esac
18150 CXX=$ac_ct_CXX
18151 fi
18152 fi
18153
18154 fi
18155 fi
18156 # Provide some information about the compiler.
18157 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18158 set X $ac_compile
18159 ac_compiler=$2
18160 for ac_option in --version -v -V -qversion; do
18161 { { ac_try="$ac_compiler $ac_option >&5"
18162 case "(($ac_try" in
18163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18164 *) ac_try_echo=$ac_try;;
18165 esac
18166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18167 $as_echo "$ac_try_echo"; } >&5
18168 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18169 ac_status=$?
18170 if test -s conftest.err; then
18171 sed '10a\
18172 ... rest of stderr output deleted ...
18173 10q' conftest.err >conftest.er1
18174 cat conftest.er1 >&5
18175 fi
18176 rm -f conftest.er1 conftest.err
18177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18178 test $ac_status = 0; }
18179 done
18180
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18182 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18183 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
18184 $as_echo_n "(cached) " >&6
18185 else
18186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18187 /* end confdefs.h. */
18188
18189 int
18190 main ()
18191 {
18192 #ifndef __GNUC__
18193 choke me
18194 #endif
18195
18196 ;
18197 return 0;
18198 }
18199 _ACEOF
18200 if ac_fn_cxx_try_compile "$LINENO"; then :
18201 ac_compiler_gnu=yes
18202 else
18203 ac_compiler_gnu=no
18204 fi
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18207
18208 fi
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18210 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18211 if test $ac_compiler_gnu = yes; then
18212 GXX=yes
18213 else
18214 GXX=
18215 fi
18216 ac_test_CXXFLAGS=${CXXFLAGS+set}
18217 ac_save_CXXFLAGS=$CXXFLAGS
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18219 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18220 if test "${ac_cv_prog_cxx_g+set}" = set; then :
18221 $as_echo_n "(cached) " >&6
18222 else
18223 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18224 ac_cxx_werror_flag=yes
18225 ac_cv_prog_cxx_g=no
18226 CXXFLAGS="-g"
18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18229
18230 int
18231 main ()
18232 {
18233
18234 ;
18235 return 0;
18236 }
18237 _ACEOF
18238 if ac_fn_cxx_try_compile "$LINENO"; then :
18239 ac_cv_prog_cxx_g=yes
18240 else
18241 CXXFLAGS=""
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18244
18245 int
18246 main ()
18247 {
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 if ac_fn_cxx_try_compile "$LINENO"; then :
18254
18255 else
18256 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18257 CXXFLAGS="-g"
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18260
18261 int
18262 main ()
18263 {
18264
18265 ;
18266 return 0;
18267 }
18268 _ACEOF
18269 if ac_fn_cxx_try_compile "$LINENO"; then :
18270 ac_cv_prog_cxx_g=yes
18271 fi
18272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18273 fi
18274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18275 fi
18276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18277 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18278 fi
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18280 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18281 if test "$ac_test_CXXFLAGS" = set; then
18282 CXXFLAGS=$ac_save_CXXFLAGS
18283 elif test $ac_cv_prog_cxx_g = yes; then
18284 if test "$GXX" = yes; then
18285 CXXFLAGS="-g -O2"
18286 else
18287 CXXFLAGS="-g"
18288 fi
18289 else
18290 if test "$GXX" = yes; then
18291 CXXFLAGS="-O2"
18292 else
18293 CXXFLAGS=
18294 fi
18295 fi
18296 ac_ext=c
18297 ac_cpp='$CPP $CPPFLAGS'
18298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18301
18302
18303
18304
18305
18306
18307
18308
18309 ac_ext=cpp
18310 ac_cpp='$CXXCPP $CPPFLAGS'
18311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18314
18315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18316 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18317 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then :
18318 $as_echo_n "(cached) " >&6
18319 else
18320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18321 /* end confdefs.h. */
18322
18323 int
18324 main ()
18325 {
18326
18327 #ifndef __INTEL_COMPILER
18328 choke me
18329 #endif
18330
18331 ;
18332 return 0;
18333 }
18334 _ACEOF
18335 if ac_fn_cxx_try_compile "$LINENO"; then :
18336 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18337 else
18338 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18339
18340 fi
18341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342
18343
18344 fi
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18346 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18347 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18348 :; INTELCXX=yes
18349 else
18350 :;
18351 fi
18352 ac_ext=c
18353 ac_cpp='$CPP $CPPFLAGS'
18354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18357
18358
18359
18360
18361 if test "$INTELCXX" = "yes"; then
18362
18363
18364 ac_ext=cpp
18365 ac_cpp='$CXXCPP $CPPFLAGS'
18366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18369
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18371 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18372 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
18373 $as_echo_n "(cached) " >&6
18374 else
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377
18378 int
18379 main ()
18380 {
18381
18382 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18383 choke me
18384 #endif
18385
18386 ;
18387 return 0;
18388 }
18389 _ACEOF
18390 if ac_fn_cxx_try_compile "$LINENO"; then :
18391 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18392 else
18393 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18394
18395 fi
18396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18397
18398
18399 fi
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18401 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18402 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18403 :; INTELCXX8=yes
18404 else
18405 :;
18406 fi
18407 ac_ext=c
18408 ac_cpp='$CPP $CPPFLAGS'
18409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18412
18413
18414
18415
18416
18417 ac_ext=cpp
18418 ac_cpp='$CXXCPP $CPPFLAGS'
18419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18422
18423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18424 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18425 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
18426 $as_echo_n "(cached) " >&6
18427 else
18428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18429 /* end confdefs.h. */
18430
18431 int
18432 main ()
18433 {
18434
18435 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18436 choke me
18437 #endif
18438
18439 ;
18440 return 0;
18441 }
18442 _ACEOF
18443 if ac_fn_cxx_try_compile "$LINENO"; then :
18444 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18445 else
18446 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18447
18448 fi
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18450
18451
18452 fi
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18454 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18455 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18456 :; INTELCXX10=yes
18457 else
18458 :;
18459 fi
18460 ac_ext=c
18461 ac_cpp='$CPP $CPPFLAGS'
18462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18465
18466
18467
18468 fi
18469
18470 if test "x$GCXX" != "xyes"; then
18471 if test "xCXX" = "xC"; then
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18473 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18474 if test "${bakefile_cv_c_exto+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18478 /* end confdefs.h. */
18479
18480 int
18481 main ()
18482 {
18483
18484 ;
18485 return 0;
18486 }
18487 _ACEOF
18488 rm -f conftest.$ac_objext conftest.$ac_ext.o
18489 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18490 (eval $ac_compile) 2>&5
18491 ac_status=$?
18492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18493 test $ac_status = 0; }; then :
18494 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18495 case $ac_file in
18496 conftest.$ac_ext.o)
18497 bakefile_cv_c_exto="-ext o"
18498 ;;
18499 *)
18500 ;;
18501 esac
18502 done
18503 else
18504 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18506 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18507 See \`config.log' for more details" "$LINENO" 5 ; }
18508
18509 fi
18510 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18511
18512 fi
18513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18514 $as_echo "$bakefile_cv_c_exto" >&6; }
18515 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18516 if test "c" = "c"; then
18517 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18518 fi
18519 if test "c" = "cxx"; then
18520 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18521 fi
18522 fi
18523
18524 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18525 unset ac_cv_prog_cc_g
18526 ac_test_CFLAGS=${CFLAGS+set}
18527 ac_save_CFLAGS=$CFLAGS
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18529 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18530 if test "${ac_cv_prog_cc_g+set}" = set; then :
18531 $as_echo_n "(cached) " >&6
18532 else
18533 ac_save_c_werror_flag=$ac_c_werror_flag
18534 ac_c_werror_flag=yes
18535 ac_cv_prog_cc_g=no
18536 CFLAGS="-g"
18537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18538 /* end confdefs.h. */
18539
18540 int
18541 main ()
18542 {
18543
18544 ;
18545 return 0;
18546 }
18547 _ACEOF
18548 if ac_fn_c_try_compile "$LINENO"; then :
18549 ac_cv_prog_cc_g=yes
18550 else
18551 CFLAGS=""
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554
18555 int
18556 main ()
18557 {
18558
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 if ac_fn_c_try_compile "$LINENO"; then :
18564
18565 else
18566 ac_c_werror_flag=$ac_save_c_werror_flag
18567 CFLAGS="-g"
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570
18571 int
18572 main ()
18573 {
18574
18575 ;
18576 return 0;
18577 }
18578 _ACEOF
18579 if ac_fn_c_try_compile "$LINENO"; then :
18580 ac_cv_prog_cc_g=yes
18581 fi
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18583 fi
18584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 fi
18586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 ac_c_werror_flag=$ac_save_c_werror_flag
18588 fi
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18590 $as_echo "$ac_cv_prog_cc_g" >&6; }
18591 if test "$ac_test_CFLAGS" = set; then
18592 CFLAGS=$ac_save_CFLAGS
18593 elif test $ac_cv_prog_cc_g = yes; then
18594 if test "$GCC" = yes; then
18595 CFLAGS="-g -O2"
18596 else
18597 CFLAGS="-g"
18598 fi
18599 else
18600 if test "$GCC" = yes; then
18601 CFLAGS="-O2"
18602 else
18603 CFLAGS=
18604 fi
18605 fi
18606 fi
18607 fi
18608
18609 case `uname -s` in
18610 AIX*)
18611
18612
18613 ac_ext=cpp
18614 ac_cpp='$CXXCPP $CPPFLAGS'
18615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18618
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18620 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18621 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18622 $as_echo_n "(cached) " >&6
18623 else
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626
18627 int
18628 main ()
18629 {
18630
18631 #ifndef __xlC__
18632 choke me
18633 #endif
18634
18635 ;
18636 return 0;
18637 }
18638 _ACEOF
18639 if ac_fn_cxx_try_compile "$LINENO"; then :
18640 bakefile_cv_cxx_compiler___xlC__=yes
18641 else
18642 bakefile_cv_cxx_compiler___xlC__=no
18643
18644 fi
18645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18646
18647
18648 fi
18649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18650 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18651 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18652 :; XLCXX=yes
18653 else
18654 :;
18655 fi
18656 ac_ext=c
18657 ac_cpp='$CPP $CPPFLAGS'
18658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18661
18662
18663
18664 ;;
18665
18666 Darwin)
18667
18668
18669 ac_ext=cpp
18670 ac_cpp='$CXXCPP $CPPFLAGS'
18671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18674
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18676 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18677 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then :
18678 $as_echo_n "(cached) " >&6
18679 else
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18682
18683 int
18684 main ()
18685 {
18686
18687 #ifndef __MWERKS__
18688 choke me
18689 #endif
18690
18691 ;
18692 return 0;
18693 }
18694 _ACEOF
18695 if ac_fn_cxx_try_compile "$LINENO"; then :
18696 bakefile_cv_cxx_compiler___MWERKS__=yes
18697 else
18698 bakefile_cv_cxx_compiler___MWERKS__=no
18699
18700 fi
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702
18703
18704 fi
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18706 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18707 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18708 :; MWCXX=yes
18709 else
18710 :;
18711 fi
18712 ac_ext=c
18713 ac_cpp='$CPP $CPPFLAGS'
18714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18717
18718
18719
18720 if test "$MWCXX" != "yes"; then
18721
18722
18723 ac_ext=cpp
18724 ac_cpp='$CXXCPP $CPPFLAGS'
18725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18728
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18730 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18731 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18732 $as_echo_n "(cached) " >&6
18733 else
18734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18736
18737 int
18738 main ()
18739 {
18740
18741 #ifndef __xlC__
18742 choke me
18743 #endif
18744
18745 ;
18746 return 0;
18747 }
18748 _ACEOF
18749 if ac_fn_cxx_try_compile "$LINENO"; then :
18750 bakefile_cv_cxx_compiler___xlC__=yes
18751 else
18752 bakefile_cv_cxx_compiler___xlC__=no
18753
18754 fi
18755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18756
18757
18758 fi
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18760 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18761 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18762 :; XLCXX=yes
18763 else
18764 :;
18765 fi
18766 ac_ext=c
18767 ac_cpp='$CPP $CPPFLAGS'
18768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18771
18772
18773
18774 fi
18775 ;;
18776
18777 IRIX*)
18778
18779
18780 ac_ext=cpp
18781 ac_cpp='$CXXCPP $CPPFLAGS'
18782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18785
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18787 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18788 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18792 /* end confdefs.h. */
18793
18794 int
18795 main ()
18796 {
18797
18798 #ifndef _SGI_COMPILER_VERSION
18799 choke me
18800 #endif
18801
18802 ;
18803 return 0;
18804 }
18805 _ACEOF
18806 if ac_fn_cxx_try_compile "$LINENO"; then :
18807 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18808 else
18809 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18810
18811 fi
18812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18813
18814
18815 fi
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18817 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18818 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18819 :; SGICXX=yes
18820 else
18821 :;
18822 fi
18823 ac_ext=c
18824 ac_cpp='$CPP $CPPFLAGS'
18825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18828
18829
18830
18831 ;;
18832
18833 Linux*)
18834 if test "$INTELCXX" != "yes"; then
18835
18836
18837 ac_ext=cpp
18838 ac_cpp='$CXXCPP $CPPFLAGS'
18839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18842
18843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18844 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18845 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
18846 $as_echo_n "(cached) " >&6
18847 else
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18850
18851 int
18852 main ()
18853 {
18854
18855 #ifndef __SUNPRO_CC
18856 choke me
18857 #endif
18858
18859 ;
18860 return 0;
18861 }
18862 _ACEOF
18863 if ac_fn_cxx_try_compile "$LINENO"; then :
18864 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18865 else
18866 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18867
18868 fi
18869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18870
18871
18872 fi
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18874 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18875 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18876 :; SUNCXX=yes
18877 else
18878 :;
18879 fi
18880 ac_ext=c
18881 ac_cpp='$CPP $CPPFLAGS'
18882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18885
18886
18887
18888 fi
18889 ;;
18890
18891 HP-UX*)
18892
18893
18894 ac_ext=cpp
18895 ac_cpp='$CXXCPP $CPPFLAGS'
18896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18899
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18901 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18902 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then :
18903 $as_echo_n "(cached) " >&6
18904 else
18905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18906 /* end confdefs.h. */
18907
18908 int
18909 main ()
18910 {
18911
18912 #ifndef __HP_aCC
18913 choke me
18914 #endif
18915
18916 ;
18917 return 0;
18918 }
18919 _ACEOF
18920 if ac_fn_cxx_try_compile "$LINENO"; then :
18921 bakefile_cv_cxx_compiler___HP_aCC=yes
18922 else
18923 bakefile_cv_cxx_compiler___HP_aCC=no
18924
18925 fi
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18927
18928
18929 fi
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18931 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18932 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18933 :; HPCXX=yes
18934 else
18935 :;
18936 fi
18937 ac_ext=c
18938 ac_cpp='$CPP $CPPFLAGS'
18939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18942
18943
18944
18945 ;;
18946
18947 OSF1)
18948
18949
18950 ac_ext=cpp
18951 ac_cpp='$CXXCPP $CPPFLAGS'
18952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18955
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18957 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18958 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then :
18959 $as_echo_n "(cached) " >&6
18960 else
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963
18964 int
18965 main ()
18966 {
18967
18968 #ifndef __DECCXX
18969 choke me
18970 #endif
18971
18972 ;
18973 return 0;
18974 }
18975 _ACEOF
18976 if ac_fn_cxx_try_compile "$LINENO"; then :
18977 bakefile_cv_cxx_compiler___DECCXX=yes
18978 else
18979 bakefile_cv_cxx_compiler___DECCXX=no
18980
18981 fi
18982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18983
18984
18985 fi
18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18987 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18988 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18989 :; COMPAQCXX=yes
18990 else
18991 :;
18992 fi
18993 ac_ext=c
18994 ac_cpp='$CPP $CPPFLAGS'
18995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18998
18999
19000
19001 ;;
19002
19003 SunOS)
19004
19005
19006 ac_ext=cpp
19007 ac_cpp='$CXXCPP $CPPFLAGS'
19008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19011
19012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19013 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19014 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
19015 $as_echo_n "(cached) " >&6
19016 else
19017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018 /* end confdefs.h. */
19019
19020 int
19021 main ()
19022 {
19023
19024 #ifndef __SUNPRO_CC
19025 choke me
19026 #endif
19027
19028 ;
19029 return 0;
19030 }
19031 _ACEOF
19032 if ac_fn_cxx_try_compile "$LINENO"; then :
19033 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19034 else
19035 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19036
19037 fi
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039
19040
19041 fi
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19043 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19044 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19045 :; SUNCXX=yes
19046 else
19047 :;
19048 fi
19049 ac_ext=c
19050 ac_cpp='$CPP $CPPFLAGS'
19051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19054
19055
19056
19057 ;;
19058 esac
19059 fi
19060
19061
19062
19063 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19064 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19065 fi
19066
19067 if test "x$SUNCXX" != xyes; then
19068 if test -n "$ac_tool_prefix"; then
19069 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19070 set dummy ${ac_tool_prefix}ar; ac_word=$2
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19072 $as_echo_n "checking for $ac_word... " >&6; }
19073 if test "${ac_cv_prog_AR+set}" = set; then :
19074 $as_echo_n "(cached) " >&6
19075 else
19076 if test -n "$AR"; then
19077 ac_cv_prog_AR="$AR" # Let the user override the test.
19078 else
19079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19080 for as_dir in $PATH
19081 do
19082 IFS=$as_save_IFS
19083 test -z "$as_dir" && as_dir=.
19084 for ac_exec_ext in '' $ac_executable_extensions; do
19085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19086 ac_cv_prog_AR="${ac_tool_prefix}ar"
19087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19088 break 2
19089 fi
19090 done
19091 done
19092 IFS=$as_save_IFS
19093
19094 fi
19095 fi
19096 AR=$ac_cv_prog_AR
19097 if test -n "$AR"; then
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19099 $as_echo "$AR" >&6; }
19100 else
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19102 $as_echo "no" >&6; }
19103 fi
19104
19105
19106 fi
19107 if test -z "$ac_cv_prog_AR"; then
19108 ac_ct_AR=$AR
19109 # Extract the first word of "ar", so it can be a program name with args.
19110 set dummy ar; ac_word=$2
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19112 $as_echo_n "checking for $ac_word... " >&6; }
19113 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
19114 $as_echo_n "(cached) " >&6
19115 else
19116 if test -n "$ac_ct_AR"; then
19117 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19118 else
19119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19120 for as_dir in $PATH
19121 do
19122 IFS=$as_save_IFS
19123 test -z "$as_dir" && as_dir=.
19124 for ac_exec_ext in '' $ac_executable_extensions; do
19125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19126 ac_cv_prog_ac_ct_AR="ar"
19127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19128 break 2
19129 fi
19130 done
19131 done
19132 IFS=$as_save_IFS
19133
19134 fi
19135 fi
19136 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19137 if test -n "$ac_ct_AR"; then
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19139 $as_echo "$ac_ct_AR" >&6; }
19140 else
19141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19142 $as_echo "no" >&6; }
19143 fi
19144
19145 if test "x$ac_ct_AR" = x; then
19146 AR=""
19147 else
19148 case $cross_compiling:$ac_tool_warned in
19149 yes:)
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19152 ac_tool_warned=yes ;;
19153 esac
19154 AR=$ac_ct_AR
19155 fi
19156 else
19157 AR="$ac_cv_prog_AR"
19158 fi
19159
19160 if test "x$AR" = "x" ; then
19161 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19162 fi
19163 fi
19164
19165
19166 if test "$wxUSE_MAC" = 1; then
19167
19168 retest_macosx_linking=no
19169
19170 OSX_ARCH_OPTS=""
19171
19172 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19173 if test "x$wxUSE_MAC_ARCH" != xno; then
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19175 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19176 fi
19177
19178 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19179 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19180 else OSX_ARCH_OPTS="ppc,i386"
19181 if test "$wxUSE_OSX_COCOA" = 1; then
19182 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19183 fi
19184 fi
19185
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19187 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19189 $as_echo "$OSX_ARCH_OPTS" >&6; }
19190
19191 retest_macosx_linking=yes
19192 else
19193 if test "x$wxUSE_MAC_ARCH" != xno; then
19194 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19195 fi
19196 fi
19197
19198 if test "x$OSX_ARCH_OPTS" != "x"; then
19199 if echo $OSX_ARCH_OPTS | grep -q ","; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19201 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19202 disable_macosx_deps=yes
19203
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19205 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19206 bk_use_pch=no
19207 fi
19208
19209 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19210
19211 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19212 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19213 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19214 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19215 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19216 fi
19217
19218 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19219 wxUSE_MACOSX_SDK=
19220 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19221 # TODO: Search for most recent SDK and use it.
19222 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19223 fi
19224
19225
19226 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19228 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19229 if ! test -d "$wxUSE_MACOSX_SDK"; then
19230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19232 as_fn_error $? "not found
19233 See \`config.log' for more details" "$LINENO" 5 ; }
19234 else
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19236 $as_echo "exists" >&6; }
19237 fi
19238 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19239 retest_macosx_linking=yes
19240 fi
19241
19242 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19243 wxUSE_MACOSX_VERSION_MIN=
19244 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19245 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19247 $as_echo_n "checking SDK deployment version... " >&6; }
19248
19249 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/'`
19250
19251 # If that failed, try again with the new key
19252 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19253
19254 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/'`
19255
19256 fi
19257
19258 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19259 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19261 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19262 else
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19264 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19265 wxUSE_MACOSX_VERSION_MIN=
19266 fi
19267 else
19268 wxUSE_MACOSX_VERSION_MIN=
19269 fi
19270 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19271 wxUSE_MACOSX_VERSION_MIN=10.5
19272 fi
19273
19274 if test "x$MACOSX_SDK_OPTS" != "x"; then
19275 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19276 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19277 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19278 retest_macosx_linking=yes
19279 fi
19280
19281 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19282 if test "$wxUSE_OSX_IPHONE" = 1; then
19283 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19284 else
19285 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19286 fi
19287 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19288 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19289 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19290 retest_macosx_linking=yes
19291 fi
19292
19293 if test "x$retest_macosx_linking" = "xyes"; then
19294 ac_ext=c
19295 ac_cpp='$CPP $CPPFLAGS'
19296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19299
19300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19301 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19303 /* end confdefs.h. */
19304
19305 int
19306 main ()
19307 {
19308
19309 ;
19310 return 0;
19311 }
19312 _ACEOF
19313 if ac_fn_c_try_link "$LINENO"; then :
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19315 $as_echo "yes" >&6; }
19316 else
19317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19318 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19319 as_fn_error $? "no. Try a different SDK
19320 See \`config.log' for more details" "$LINENO" 5 ; }; exit 1
19321 fi
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19324 ac_ext=c
19325 ac_cpp='$CPP $CPPFLAGS'
19326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19329
19330
19331 ac_ext=cpp
19332 ac_cpp='$CXXCPP $CPPFLAGS'
19333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19336
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19338 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19340 /* end confdefs.h. */
19341
19342 int
19343 main ()
19344 {
19345
19346 ;
19347 return 0;
19348 }
19349 _ACEOF
19350 if ac_fn_cxx_try_link "$LINENO"; then :
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19352 $as_echo "yes" >&6; }
19353 else
19354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19356 as_fn_error $? "no. Try a different SDK
19357 See \`config.log' for more details" "$LINENO" 5 ; }; exit 1
19358 fi
19359 rm -f core conftest.err conftest.$ac_objext \
19360 conftest$ac_exeext conftest.$ac_ext
19361 ac_ext=c
19362 ac_cpp='$CPP $CPPFLAGS'
19363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19366
19367 fi
19368
19369 fi
19370 case "${host}" in
19371
19372 *-*-darwin* )
19373 INSTALL_PROGRAM="cp -fp"
19374 INSTALL_DATA="cp -fp"
19375 ;;
19376 *)
19377 ;;
19378 esac
19379
19380
19381 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19382 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19383
19384
19385 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19386 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19387 fi
19388
19389 if test "x$USE_AIX" = "x1"; then
19390 if test "x$XLCXX" = "xyes"; then
19391 CXXFLAGS="-qunique $CXXFLAGS"
19392 fi
19393
19394 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19395 fi
19396
19397 case "${host}" in
19398 powerpc-*-darwin* )
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19400 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403
19404 int
19405 main ()
19406 {
19407 #ifndef __POWERPC__
19408 choke me for lack of PowerPC
19409 #endif
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 if ac_fn_c_try_compile "$LINENO"; then :
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19417 $as_echo "yes" >&6; }
19418 else
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19420 $as_echo "no" >&6; }
19421 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19422
19423
19424 fi
19425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19426 ;;
19427 esac
19428
19429 case "${host}" in
19430 *-*-darwin* )
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19432 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435 #include <CoreFoundation/CFBase.h>
19436
19437 int
19438 main ()
19439 {
19440
19441 ;
19442 return 0;
19443 }
19444 _ACEOF
19445 if ac_fn_c_try_compile "$LINENO"; then :
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19447 $as_echo "yes" >&6; }
19448 else
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19450 $as_echo "no" >&6; }
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19452 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19454 /* end confdefs.h. */
19455 #define __CF_USE_FRAMEWORK_INCLUDES__
19456 #include <CoreFoundation/CFBase.h>
19457
19458 int
19459 main ()
19460 {
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 if ac_fn_c_try_compile "$LINENO"; then :
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19468 $as_echo "yes" >&6; }
19469 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19470 else
19471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19473 as_fn_error $? "no. CoreFoundation not available.
19474 See \`config.log' for more details" "$LINENO" 5 ; }
19475
19476 fi
19477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19478
19479
19480 fi
19481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19482 ;;
19483 esac
19484
19485 wants_win32=0
19486 doesnt_want_win32=0
19487 case "${host}" in
19488 *-*-cygwin*)
19489 if test "$wxUSE_MSW" = 1 ; then
19490 wants_win32=1
19491 else
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19493 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19494 if test "${wx_cv_nocygwin+set}" = set; then :
19495 $as_echo_n "(cached) " >&6
19496 else
19497
19498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19499 /* end confdefs.h. */
19500
19501 int
19502 main ()
19503 {
19504
19505 #ifdef __MINGW32__
19506 choke me
19507 #endif
19508
19509 ;
19510 return 0;
19511 }
19512 _ACEOF
19513 if ac_fn_c_try_compile "$LINENO"; then :
19514 wx_cv_nocygwin=no
19515 else
19516 wx_cv_nocygwin=yes
19517
19518 fi
19519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19520
19521
19522 fi
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19524 $as_echo "$wx_cv_nocygwin" >&6; }
19525
19526 if test "$wx_cv_nocygwin" = "yes"; then
19527 wants_win32=1
19528 else
19529 doesnt_want_win32=1
19530 fi
19531 fi
19532 if test "$wants_win32" = 1 ; then
19533 BAKEFILE_FORCE_PLATFORM=win32
19534 fi
19535 ;;
19536 *-*-mingw*)
19537 wants_win32=1
19538 ;;
19539 esac
19540
19541 if test "$wxUSE_WINE" = "yes"; then
19542 wants_win32=1
19543 LDFLAGS_GUI="-mwindows"
19544 fi
19545
19546 if test "$wants_win32" = 1 ; then
19547 USE_UNIX=0
19548 USE_WIN32=1
19549 $as_echo "#define __WIN32__ 1" >>confdefs.h
19550
19551 $as_echo "#define __WIN95__ 1" >>confdefs.h
19552
19553 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19554
19555 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19556
19557 $as_echo "#define STRICT 1" >>confdefs.h
19558
19559 fi
19560 if test "$doesnt_want_win32" = 1 ; then
19561 USE_UNIX=1
19562 USE_WIN32=0
19563 fi
19564
19565 if test "$USE_UNIX" = 1 ; then
19566 wxUSE_UNIX=yes
19567 $as_echo "#define __UNIX__ 1" >>confdefs.h
19568
19569 fi
19570
19571 case "${host}" in
19572 *-pc-os2_emx | *-pc-os2-emx )
19573 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19575 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19576 if test "${ac_cv_lib_cExt_drand48+set}" = set; then :
19577 $as_echo_n "(cached) " >&6
19578 else
19579 ac_check_lib_save_LIBS=$LIBS
19580 LIBS="-lcExt $LIBS"
19581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19582 /* end confdefs.h. */
19583
19584 /* Override any GCC internal prototype to avoid an error.
19585 Use char because int might match the return type of a GCC
19586 builtin and then its argument prototype would still apply. */
19587 #ifdef __cplusplus
19588 extern "C"
19589 #endif
19590 char drand48 ();
19591 int
19592 main ()
19593 {
19594 return drand48 ();
19595 ;
19596 return 0;
19597 }
19598 _ACEOF
19599 if ac_fn_c_try_link "$LINENO"; then :
19600 ac_cv_lib_cExt_drand48=yes
19601 else
19602 ac_cv_lib_cExt_drand48=no
19603 fi
19604 rm -f core conftest.err conftest.$ac_objext \
19605 conftest$ac_exeext conftest.$ac_ext
19606 LIBS=$ac_check_lib_save_LIBS
19607 fi
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19609 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19610 if test "x$ac_cv_lib_cExt_drand48" = x""yes; then :
19611 LIBS="$LIBS -lcExt"
19612 fi
19613
19614 else
19615 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19616 fi
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19618 $as_echo_n "checking for gcc/libc version... " >&6; }
19619 if test "${wx_cv_gccversion+set}" = set; then :
19620 $as_echo_n "(cached) " >&6
19621 else
19622
19623 if test "$cross_compiling" = yes; then :
19624 wx_cv_gccversion="EMX2"
19625
19626 else
19627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19628 /* end confdefs.h. */
19629
19630 #include <stdio.h>
19631
19632 int main()
19633 {
19634 FILE *f=fopen("conftestval", "w");
19635 if (!f) exit(1);
19636 fprintf(f,
19637 #if (__GNUC__ < 3)
19638 "EMX2"
19639 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19640 "EMX3"
19641 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19642 "Innotek5"
19643 #else
19644 "Innotek6"
19645 #endif
19646 );
19647 exit(0);
19648 }
19649
19650 _ACEOF
19651 if ac_fn_c_try_run "$LINENO"; then :
19652 wx_cv_gccversion=`cat conftestval`
19653 else
19654 wx_cv_gccversion="EMX2"
19655 fi
19656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19657 conftest.$ac_objext conftest.beam conftest.$ac_ext
19658 fi
19659
19660
19661 fi
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19663 $as_echo "$wx_cv_gccversion" >&6; }
19664 if test "$wx_cv_gccversion" = "EMX2"; then
19665 LIBS="$LIBS -lstdcpp"
19666 LDFLAGS="$LDFLAGS -Zsysv-signals"
19667 else
19668 if test "$wx_cv_gccversion" = "EMX3"; then
19669 LIBS="$LIBS -lstdcxx -lgcc"
19670 LDFLAGS="$LDFLAGS -Zsysv-signals"
19671 else
19672 LIBS="$LIBS -lstdc++"
19673 fi
19674 fi
19675 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19677 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19678 wxUSE_OMF=yes
19679 enable_omf=yes
19680 fi
19681 ;;
19682 *)
19683
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19685 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19686 if test "${ac_cv_string_strcasecmp+set}" = set; then :
19687 $as_echo_n "(cached) " >&6
19688 else
19689
19690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19691 /* end confdefs.h. */
19692
19693 #include <string.h>
19694
19695 int
19696 main ()
19697 {
19698
19699 strcasecmp("foo", "bar");
19700
19701 ;
19702 return 0;
19703 }
19704 _ACEOF
19705 if ac_fn_c_try_link "$LINENO"; then :
19706 ac_cv_string_strcasecmp=yes
19707 else
19708 ac_cv_string_strcasecmp=no
19709
19710 fi
19711 rm -f core conftest.err conftest.$ac_objext \
19712 conftest$ac_exeext conftest.$ac_ext
19713
19714 fi
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19716 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19717
19718 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19719 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19720
19721 else
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19723 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19724 if test "${ac_cv_strings_strcasecmp+set}" = set; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19727
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730
19731 #include <strings.h>
19732
19733 int
19734 main ()
19735 {
19736
19737 strcasecmp("foo", "bar");
19738
19739 ;
19740 return 0;
19741 }
19742 _ACEOF
19743 if ac_fn_c_try_link "$LINENO"; then :
19744 ac_cv_strings_strcasecmp=yes
19745 else
19746 ac_cv_strings_strcasecmp=no
19747
19748 fi
19749 rm -f core conftest.err conftest.$ac_objext \
19750 conftest$ac_exeext conftest.$ac_ext
19751
19752 fi
19753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19754 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19755
19756 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19757 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19758
19759 else
19760 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19761 fi
19762 fi
19763
19764 ;;
19765 esac
19766
19767
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19769 $as_echo_n "checking for ANSI C header files... " >&6; }
19770 if test "${ac_cv_header_stdc+set}" = set; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775 #include <stdlib.h>
19776 #include <stdarg.h>
19777 #include <string.h>
19778 #include <float.h>
19779
19780 int
19781 main ()
19782 {
19783
19784 ;
19785 return 0;
19786 }
19787 _ACEOF
19788 if ac_fn_c_try_compile "$LINENO"; then :
19789 ac_cv_header_stdc=yes
19790 else
19791 ac_cv_header_stdc=no
19792 fi
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19794
19795 if test $ac_cv_header_stdc = yes; then
19796 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19798 /* end confdefs.h. */
19799 #include <string.h>
19800
19801 _ACEOF
19802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19803 $EGREP "memchr" >/dev/null 2>&1; then :
19804
19805 else
19806 ac_cv_header_stdc=no
19807 fi
19808 rm -f conftest*
19809
19810 fi
19811
19812 if test $ac_cv_header_stdc = yes; then
19813 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 #include <stdlib.h>
19817
19818 _ACEOF
19819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19820 $EGREP "free" >/dev/null 2>&1; then :
19821
19822 else
19823 ac_cv_header_stdc=no
19824 fi
19825 rm -f conftest*
19826
19827 fi
19828
19829 if test $ac_cv_header_stdc = yes; then
19830 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19831 if test "$cross_compiling" = yes; then :
19832 :
19833 else
19834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19835 /* end confdefs.h. */
19836 #include <ctype.h>
19837 #include <stdlib.h>
19838 #if ((' ' & 0x0FF) == 0x020)
19839 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19840 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19841 #else
19842 # define ISLOWER(c) \
19843 (('a' <= (c) && (c) <= 'i') \
19844 || ('j' <= (c) && (c) <= 'r') \
19845 || ('s' <= (c) && (c) <= 'z'))
19846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19847 #endif
19848
19849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19850 int
19851 main ()
19852 {
19853 int i;
19854 for (i = 0; i < 256; i++)
19855 if (XOR (islower (i), ISLOWER (i))
19856 || toupper (i) != TOUPPER (i))
19857 return 2;
19858 return 0;
19859 }
19860 _ACEOF
19861 if ac_fn_c_try_run "$LINENO"; then :
19862
19863 else
19864 ac_cv_header_stdc=no
19865 fi
19866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19867 conftest.$ac_objext conftest.beam conftest.$ac_ext
19868 fi
19869
19870 fi
19871 fi
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19873 $as_echo "$ac_cv_header_stdc" >&6; }
19874 if test $ac_cv_header_stdc = yes; then
19875
19876 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19877
19878 fi
19879
19880 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19881 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19882 inttypes.h stdint.h unistd.h
19883 do :
19884 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19885 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19886 "
19887 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19888 cat >>confdefs.h <<_ACEOF
19889 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19890 _ACEOF
19891
19892 fi
19893
19894 done
19895
19896
19897 for ac_header in langinfo.h wchar.h
19898 do :
19899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19900 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19901 "
19902 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19903 cat >>confdefs.h <<_ACEOF
19904 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19905 _ACEOF
19906
19907 fi
19908
19909 done
19910
19911
19912 if test "$ac_cv_header_wchar_h" != "yes"; then
19913 for ac_header in wcstr.h
19914 do :
19915 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
19916 "
19917 if test "x$ac_cv_header_wcstr_h" = x""yes; then :
19918 cat >>confdefs.h <<_ACEOF
19919 #define HAVE_WCSTR_H 1
19920 _ACEOF
19921
19922 fi
19923
19924 done
19925
19926 fi
19927
19928 case "${host}" in
19929 *-pc-os2_emx | *-pc-os2-emx )
19930 if test $ac_cv_header_langinfo_h = "yes" \
19931 -a \( "$wx_cv_gccversion" = "EMX2" \
19932 -o "$wx_cv_gccversion" = "EMX3" \
19933 -o "$wx_cv_gccversion" = "Innotek5" \); then
19934 LIBS="$LIBS -lintl"
19935 fi
19936 ;;
19937 esac
19938
19939 if test "$USE_UNIX" = 1 ; then
19940 for ac_header in sys/select.h
19941 do :
19942 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
19943 "
19944 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
19945 cat >>confdefs.h <<_ACEOF
19946 #define HAVE_SYS_SELECT_H 1
19947 _ACEOF
19948
19949 fi
19950
19951 done
19952
19953 fi
19954
19955
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19957 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19958 if test "${ac_cv_c_const+set}" = set; then :
19959 $as_echo_n "(cached) " >&6
19960 else
19961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19962 /* end confdefs.h. */
19963
19964 int
19965 main ()
19966 {
19967 /* FIXME: Include the comments suggested by Paul. */
19968 #ifndef __cplusplus
19969 /* Ultrix mips cc rejects this. */
19970 typedef int charset[2];
19971 const charset cs;
19972 /* SunOS 4.1.1 cc rejects this. */
19973 char const *const *pcpcc;
19974 char **ppc;
19975 /* NEC SVR4.0.2 mips cc rejects this. */
19976 struct point {int x, y;};
19977 static struct point const zero = {0,0};
19978 /* AIX XL C 1.02.0.0 rejects this.
19979 It does not let you subtract one const X* pointer from another in
19980 an arm of an if-expression whose if-part is not a constant
19981 expression */
19982 const char *g = "string";
19983 pcpcc = &g + (g ? g-g : 0);
19984 /* HPUX 7.0 cc rejects these. */
19985 ++pcpcc;
19986 ppc = (char**) pcpcc;
19987 pcpcc = (char const *const *) ppc;
19988 { /* SCO 3.2v4 cc rejects this. */
19989 char *t;
19990 char const *s = 0 ? (char *) 0 : (char const *) 0;
19991
19992 *t++ = 0;
19993 if (s) return 0;
19994 }
19995 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19996 int x[] = {25, 17};
19997 const int *foo = &x[0];
19998 ++foo;
19999 }
20000 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20001 typedef const int *iptr;
20002 iptr p = 0;
20003 ++p;
20004 }
20005 { /* AIX XL C 1.02.0.0 rejects this saying
20006 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20007 struct s { int j; const int *ap[3]; };
20008 struct s *b; b->j = 5;
20009 }
20010 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20011 const int foo = 10;
20012 if (!foo) return 0;
20013 }
20014 return !cs[0] && !zero.x;
20015 #endif
20016
20017 ;
20018 return 0;
20019 }
20020 _ACEOF
20021 if ac_fn_c_try_compile "$LINENO"; then :
20022 ac_cv_c_const=yes
20023 else
20024 ac_cv_c_const=no
20025 fi
20026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 fi
20028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20029 $as_echo "$ac_cv_c_const" >&6; }
20030 if test $ac_cv_c_const = no; then
20031
20032 $as_echo "#define const /**/" >>confdefs.h
20033
20034 fi
20035
20036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20037 $as_echo_n "checking for inline... " >&6; }
20038 if test "${ac_cv_c_inline+set}" = set; then :
20039 $as_echo_n "(cached) " >&6
20040 else
20041 ac_cv_c_inline=no
20042 for ac_kw in inline __inline__ __inline; do
20043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20044 /* end confdefs.h. */
20045 #ifndef __cplusplus
20046 typedef int foo_t;
20047 static $ac_kw foo_t static_foo () {return 0; }
20048 $ac_kw foo_t foo () {return 0; }
20049 #endif
20050
20051 _ACEOF
20052 if ac_fn_c_try_compile "$LINENO"; then :
20053 ac_cv_c_inline=$ac_kw
20054 fi
20055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 test "$ac_cv_c_inline" != no && break
20057 done
20058
20059 fi
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20061 $as_echo "$ac_cv_c_inline" >&6; }
20062
20063 case $ac_cv_c_inline in
20064 inline | yes) ;;
20065 *)
20066 case $ac_cv_c_inline in
20067 no) ac_val=;;
20068 *) ac_val=$ac_cv_c_inline;;
20069 esac
20070 cat >>confdefs.h <<_ACEOF
20071 #ifndef __cplusplus
20072 #define inline $ac_val
20073 #endif
20074 _ACEOF
20075 ;;
20076 esac
20077
20078
20079 # The cast to long int works around a bug in the HP C Compiler
20080 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20081 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20082 # This bug is HP SR number 8606223364.
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20084 $as_echo_n "checking size of short... " >&6; }
20085 if test "${ac_cv_sizeof_short+set}" = set; then :
20086 $as_echo_n "(cached) " >&6
20087 else
20088 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20089
20090 else
20091 if test "$ac_cv_type_short" = yes; then
20092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20094 as_fn_error 77 "cannot compute sizeof (short)
20095 See \`config.log' for more details" "$LINENO" 5 ; }
20096 else
20097 ac_cv_sizeof_short=0
20098 fi
20099 fi
20100
20101 fi
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20103 $as_echo "$ac_cv_sizeof_short" >&6; }
20104
20105
20106
20107 cat >>confdefs.h <<_ACEOF
20108 #define SIZEOF_SHORT $ac_cv_sizeof_short
20109 _ACEOF
20110
20111
20112 # The cast to long int works around a bug in the HP C Compiler
20113 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20115 # This bug is HP SR number 8606223364.
20116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20117 $as_echo_n "checking size of void *... " >&6; }
20118 if test "${ac_cv_sizeof_void_p+set}" = set; then :
20119 $as_echo_n "(cached) " >&6
20120 else
20121 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20122
20123 else
20124 if test "$ac_cv_type_void_p" = yes; then
20125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20126 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20127 as_fn_error 77 "cannot compute sizeof (void *)
20128 See \`config.log' for more details" "$LINENO" 5 ; }
20129 else
20130 ac_cv_sizeof_void_p=0
20131 fi
20132 fi
20133
20134 fi
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20136 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20137
20138
20139
20140 cat >>confdefs.h <<_ACEOF
20141 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20142 _ACEOF
20143
20144
20145 # The cast to long int works around a bug in the HP C Compiler
20146 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20147 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20148 # This bug is HP SR number 8606223364.
20149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20150 $as_echo_n "checking size of int... " >&6; }
20151 if test "${ac_cv_sizeof_int+set}" = set; then :
20152 $as_echo_n "(cached) " >&6
20153 else
20154 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20155
20156 else
20157 if test "$ac_cv_type_int" = yes; then
20158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20160 as_fn_error 77 "cannot compute sizeof (int)
20161 See \`config.log' for more details" "$LINENO" 5 ; }
20162 else
20163 ac_cv_sizeof_int=0
20164 fi
20165 fi
20166
20167 fi
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20169 $as_echo "$ac_cv_sizeof_int" >&6; }
20170
20171
20172
20173 cat >>confdefs.h <<_ACEOF
20174 #define SIZEOF_INT $ac_cv_sizeof_int
20175 _ACEOF
20176
20177
20178 # The cast to long int works around a bug in the HP C Compiler
20179 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20180 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20181 # This bug is HP SR number 8606223364.
20182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20183 $as_echo_n "checking size of long... " >&6; }
20184 if test "${ac_cv_sizeof_long+set}" = set; then :
20185 $as_echo_n "(cached) " >&6
20186 else
20187 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20188
20189 else
20190 if test "$ac_cv_type_long" = yes; then
20191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20193 as_fn_error 77 "cannot compute sizeof (long)
20194 See \`config.log' for more details" "$LINENO" 5 ; }
20195 else
20196 ac_cv_sizeof_long=0
20197 fi
20198 fi
20199
20200 fi
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20202 $as_echo "$ac_cv_sizeof_long" >&6; }
20203
20204
20205
20206 cat >>confdefs.h <<_ACEOF
20207 #define SIZEOF_LONG $ac_cv_sizeof_long
20208 _ACEOF
20209
20210
20211 # The cast to long int works around a bug in the HP C Compiler
20212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20214 # This bug is HP SR number 8606223364.
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20216 $as_echo_n "checking size of size_t... " >&6; }
20217 if test "${ac_cv_sizeof_size_t+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20220 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20221
20222 else
20223 if test "$ac_cv_type_size_t" = yes; then
20224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20226 as_fn_error 77 "cannot compute sizeof (size_t)
20227 See \`config.log' for more details" "$LINENO" 5 ; }
20228 else
20229 ac_cv_sizeof_size_t=0
20230 fi
20231 fi
20232
20233 fi
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20235 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20236
20237
20238
20239 cat >>confdefs.h <<_ACEOF
20240 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20241 _ACEOF
20242
20243
20244
20245 case "${host}" in
20246 arm-*-linux* )
20247 # The cast to long int works around a bug in the HP C Compiler
20248 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20249 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20250 # This bug is HP SR number 8606223364.
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20252 $as_echo_n "checking size of long long... " >&6; }
20253 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20254 $as_echo_n "(cached) " >&6
20255 else
20256 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20257
20258 else
20259 if test "$ac_cv_type_long_long" = yes; then
20260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20262 as_fn_error 77 "cannot compute sizeof (long long)
20263 See \`config.log' for more details" "$LINENO" 5 ; }
20264 else
20265 ac_cv_sizeof_long_long=0
20266 fi
20267 fi
20268
20269 fi
20270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20271 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20272
20273
20274
20275 cat >>confdefs.h <<_ACEOF
20276 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20277 _ACEOF
20278
20279
20280 ;;
20281 *-hp-hpux* )
20282 # The cast to long int works around a bug in the HP C Compiler
20283 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20284 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20285 # This bug is HP SR number 8606223364.
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20287 $as_echo_n "checking size of long long... " >&6; }
20288 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20289 $as_echo_n "(cached) " >&6
20290 else
20291 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20292
20293 else
20294 if test "$ac_cv_type_long_long" = yes; then
20295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20297 as_fn_error 77 "cannot compute sizeof (long long)
20298 See \`config.log' for more details" "$LINENO" 5 ; }
20299 else
20300 ac_cv_sizeof_long_long=0
20301 fi
20302 fi
20303
20304 fi
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20306 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20307
20308
20309
20310 cat >>confdefs.h <<_ACEOF
20311 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20312 _ACEOF
20313
20314
20315 if test "$ac_cv_sizeof_long_long" != 0; then
20316 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20317 fi
20318 ;;
20319 * )
20320 # The cast to long int works around a bug in the HP C Compiler
20321 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20322 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20323 # This bug is HP SR number 8606223364.
20324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20325 $as_echo_n "checking size of long long... " >&6; }
20326 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20327 $as_echo_n "(cached) " >&6
20328 else
20329 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20330
20331 else
20332 if test "$ac_cv_type_long_long" = yes; then
20333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20335 as_fn_error 77 "cannot compute sizeof (long long)
20336 See \`config.log' for more details" "$LINENO" 5 ; }
20337 else
20338 ac_cv_sizeof_long_long=0
20339 fi
20340 fi
20341
20342 fi
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20344 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20345
20346
20347
20348 cat >>confdefs.h <<_ACEOF
20349 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20350 _ACEOF
20351
20352
20353 esac
20354
20355 # The cast to long int works around a bug in the HP C Compiler
20356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20358 # This bug is HP SR number 8606223364.
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20360 $as_echo_n "checking size of wchar_t... " >&6; }
20361 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
20362 $as_echo_n "(cached) " >&6
20363 else
20364 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20365 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20366 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20367 # error \"fake wchar_t\"
20368 #endif
20369 #ifdef HAVE_WCHAR_H
20370 # ifdef __CYGWIN__
20371 # include <stddef.h>
20372 # endif
20373 # include <wchar.h>
20374 #endif
20375 #ifdef HAVE_STDLIB_H
20376 # include <stdlib.h>
20377 #endif
20378 #include <stdio.h>
20379
20380
20381 "; then :
20382
20383 else
20384 if test "$ac_cv_type_wchar_t" = yes; then
20385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20387 as_fn_error 77 "cannot compute sizeof (wchar_t)
20388 See \`config.log' for more details" "$LINENO" 5 ; }
20389 else
20390 ac_cv_sizeof_wchar_t=0
20391 fi
20392 fi
20393
20394 fi
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20396 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20397
20398
20399
20400 cat >>confdefs.h <<_ACEOF
20401 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20402 _ACEOF
20403
20404
20405 if test "$ac_cv_sizeof_wchar_t" = 0; then
20406 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20407 fi
20408 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20409
20410
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20412 $as_echo_n "checking for va_copy... " >&6; }
20413 if test "${wx_cv_func_va_copy+set}" = set; then :
20414 $as_echo_n "(cached) " >&6
20415 else
20416
20417 ac_ext=cpp
20418 ac_cpp='$CXXCPP $CPPFLAGS'
20419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20422
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20425
20426
20427 #include <stdarg.h>
20428 void foo(char *f, ...)
20429 {
20430 va_list ap1, ap2;
20431 va_start(ap1, f);
20432 va_copy(ap2, ap1);
20433 va_end(ap2);
20434 va_end(ap1);
20435 }
20436 int main()
20437 {
20438 foo("hi", 17);
20439 return 0;
20440 }
20441
20442 _ACEOF
20443 if ac_fn_cxx_try_link "$LINENO"; then :
20444 wx_cv_func_va_copy=yes
20445 else
20446 wx_cv_func_va_copy=no
20447
20448 fi
20449 rm -f core conftest.err conftest.$ac_objext \
20450 conftest$ac_exeext conftest.$ac_ext
20451 ac_ext=c
20452 ac_cpp='$CPP $CPPFLAGS'
20453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20456
20457
20458
20459 fi
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20461 $as_echo "$wx_cv_func_va_copy" >&6; }
20462
20463 if test $wx_cv_func_va_copy = "yes"; then
20464 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20465
20466 else
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20468 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20469 if test "${wx_cv_type_va_list_lvalue+set}" = set; then :
20470 $as_echo_n "(cached) " >&6
20471 else
20472
20473 if test "$cross_compiling" = yes; then :
20474 wx_cv_type_va_list_lvalue=yes
20475
20476 else
20477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20478 /* end confdefs.h. */
20479
20480
20481 #include <stdarg.h>
20482 int foo(char *f, ...)
20483 {
20484 va_list ap1, ap2;
20485 va_start(ap1, f);
20486 ap2 = ap1;
20487 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20488 return 1;
20489 va_end(ap2);
20490 va_end(ap1);
20491 return 0;
20492 }
20493 int main()
20494 {
20495 return foo("hi", 17);
20496 }
20497
20498 _ACEOF
20499 if ac_fn_c_try_run "$LINENO"; then :
20500 wx_cv_type_va_list_lvalue=yes
20501 else
20502 wx_cv_type_va_list_lvalue=no
20503 fi
20504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20505 conftest.$ac_objext conftest.beam conftest.$ac_ext
20506 fi
20507
20508
20509
20510 fi
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20512 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20513
20514 if test $wx_cv_type_va_list_lvalue != "yes"; then
20515 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20516
20517 fi
20518 fi
20519
20520 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20521
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20523 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20524 if test "${wx_cv_have_variadic_macros+set}" = set; then :
20525 $as_echo_n "(cached) " >&6
20526 else
20527
20528 ac_ext=cpp
20529 ac_cpp='$CXXCPP $CPPFLAGS'
20530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20533
20534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20536
20537
20538 #include <stdio.h>
20539 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20540
20541 int
20542 main ()
20543 {
20544
20545 test("%s %d %p", "test", 1, 0);
20546
20547
20548 ;
20549 return 0;
20550 }
20551 _ACEOF
20552 if ac_fn_cxx_try_compile "$LINENO"; then :
20553 wx_cv_have_variadic_macros=yes
20554 else
20555 wx_cv_have_variadic_macros=no
20556
20557 fi
20558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20559 ac_ext=c
20560 ac_cpp='$CPP $CPPFLAGS'
20561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20564
20565
20566
20567 fi
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20569 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20570
20571 if test $wx_cv_have_variadic_macros = "yes"; then
20572 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20573
20574 fi
20575
20576 fi
20577
20578 LARGEFILE_CPPFLAGS=
20579 # Check whether --enable-largefile was given.
20580 if test "${enable_largefile+set}" = set; then :
20581 enableval=$enable_largefile;
20582 fi
20583
20584 if test "$enable_largefile" != no; then
20585 wx_largefile=no
20586
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20588 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20589 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
20590 $as_echo_n "(cached) " >&6
20591 else
20592
20593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20595 #define _FILE_OFFSET_BITS 64
20596 #include <sys/types.h>
20597 int
20598 main ()
20599 {
20600 typedef struct {
20601 unsigned int field: sizeof(off_t) == 8;
20602 } wxlf;
20603
20604 ;
20605 return 0;
20606 }
20607 _ACEOF
20608 if ac_fn_c_try_compile "$LINENO"; then :
20609 ac_cv_sys_file_offset_bits=64
20610 else
20611 ac_cv_sys_file_offset_bits=no
20612 fi
20613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20614
20615
20616 fi
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20618 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20619
20620 if test "$ac_cv_sys_file_offset_bits" != no; then
20621 wx_largefile=yes
20622 cat >>confdefs.h <<_ACEOF
20623 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20624 _ACEOF
20625
20626 fi
20627
20628 if test "x$wx_largefile" != "xyes"; then
20629
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20631 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20632 if test "${ac_cv_sys_large_files+set}" = set; then :
20633 $as_echo_n "(cached) " >&6
20634 else
20635
20636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20637 /* end confdefs.h. */
20638 #define _LARGE_FILES 1
20639 #include <sys/types.h>
20640 int
20641 main ()
20642 {
20643 typedef struct {
20644 unsigned int field: sizeof(off_t) == 8;
20645 } wxlf;
20646
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 if ac_fn_c_try_compile "$LINENO"; then :
20652 ac_cv_sys_large_files=1
20653 else
20654 ac_cv_sys_large_files=no
20655 fi
20656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20657
20658
20659 fi
20660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20661 $as_echo "$ac_cv_sys_large_files" >&6; }
20662
20663 if test "$ac_cv_sys_large_files" != no; then
20664 wx_largefile=yes
20665 cat >>confdefs.h <<_ACEOF
20666 #define _LARGE_FILES $ac_cv_sys_large_files
20667 _ACEOF
20668
20669 fi
20670
20671 fi
20672
20673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20674 $as_echo_n "checking if large file support is available... " >&6; }
20675 if test "x$wx_largefile" = "xyes"; then
20676 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20677
20678 fi
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20680 $as_echo "$wx_largefile" >&6; }
20681 fi
20682
20683 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20684 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20685 elif test "$ac_cv_sys_large_files" = 1; then
20686 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20687 fi
20688
20689 if test -n "$LARGEFILE_CPPFLAGS"; then
20690 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20691
20692 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20694 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20695 if test "${wx_cv_STDC_EXT_required+set}" = set; then :
20696 $as_echo_n "(cached) " >&6
20697 else
20698
20699 ac_ext=cpp
20700 ac_cpp='$CXXCPP $CPPFLAGS'
20701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20704
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20707
20708 int
20709 main ()
20710 {
20711
20712 #ifndef __STDC_EXT__
20713 choke me
20714 #endif
20715
20716 ;
20717 return 0;
20718 }
20719 _ACEOF
20720 if ac_fn_cxx_try_compile "$LINENO"; then :
20721 wx_cv_STDC_EXT_required=no
20722 else
20723 wx_cv_STDC_EXT_required=yes
20724
20725 fi
20726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20727 ac_ext=c
20728 ac_cpp='$CPP $CPPFLAGS'
20729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20732
20733
20734
20735 fi
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20737 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20738 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20739 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20740 fi
20741 fi
20742 fi
20743
20744 ac_ext=cpp
20745 ac_cpp='$CXXCPP $CPPFLAGS'
20746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20749
20750 old_CPPFLAGS="$CPPFLAGS"
20751 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20753 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20754 if test "${ac_cv_sys_largefile_source+set}" = set; then :
20755 $as_echo_n "(cached) " >&6
20756 else
20757 while :; do
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #include <sys/types.h> /* for off_t */
20761 #include <stdio.h>
20762 int
20763 main ()
20764 {
20765 int (*fp) (FILE *, off_t, int) = fseeko;
20766 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20767 ;
20768 return 0;
20769 }
20770 _ACEOF
20771 if ac_fn_cxx_try_link "$LINENO"; then :
20772 ac_cv_sys_largefile_source=no; break
20773 fi
20774 rm -f core conftest.err conftest.$ac_objext \
20775 conftest$ac_exeext conftest.$ac_ext
20776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20777 /* end confdefs.h. */
20778 #define _LARGEFILE_SOURCE 1
20779 #include <sys/types.h> /* for off_t */
20780 #include <stdio.h>
20781 int
20782 main ()
20783 {
20784 int (*fp) (FILE *, off_t, int) = fseeko;
20785 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20786 ;
20787 return 0;
20788 }
20789 _ACEOF
20790 if ac_fn_cxx_try_link "$LINENO"; then :
20791 ac_cv_sys_largefile_source=1; break
20792 fi
20793 rm -f core conftest.err conftest.$ac_objext \
20794 conftest$ac_exeext conftest.$ac_ext
20795 ac_cv_sys_largefile_source=unknown
20796 break
20797 done
20798 fi
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20800 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20801 case $ac_cv_sys_largefile_source in #(
20802 no | unknown) ;;
20803 *)
20804 cat >>confdefs.h <<_ACEOF
20805 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20806 _ACEOF
20807 ;;
20808 esac
20809 rm -rf conftest*
20810
20811 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20812 # in glibc 2.1.3, but that breaks too many other things.
20813 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20814 if test $ac_cv_sys_largefile_source != unknown; then
20815
20816 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20817
20818 fi
20819
20820 CPPFLAGS="$old_CPPFLAGS"
20821 ac_ext=c
20822 ac_cpp='$CPP $CPPFLAGS'
20823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20826
20827 if test "$ac_cv_sys_largefile_source" != no; then
20828 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20829 fi
20830
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20832 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20833 if test "${ac_cv_c_bigendian+set}" = set; then :
20834 $as_echo_n "(cached) " >&6
20835 else
20836 ac_cv_c_bigendian=unknown
20837 # See if sys/param.h defines the BYTE_ORDER macro.
20838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20840 #include <sys/types.h>
20841 #include <sys/param.h>
20842 int
20843 main ()
20844 {
20845
20846 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20847 bogus endian macros
20848 #endif
20849 ;
20850 return 0;
20851 }
20852 _ACEOF
20853 if ac_fn_c_try_compile "$LINENO"; then :
20854 # It does; now see whether it defined to BIG_ENDIAN or not.
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857 #include <sys/types.h>
20858 #include <sys/param.h>
20859 int
20860 main ()
20861 {
20862
20863 #if BYTE_ORDER != BIG_ENDIAN
20864 not big endian
20865 #endif
20866 ;
20867 return 0;
20868 }
20869 _ACEOF
20870 if ac_fn_c_try_compile "$LINENO"; then :
20871 ac_cv_c_bigendian=yes
20872 else
20873 ac_cv_c_bigendian=no
20874 fi
20875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20876 fi
20877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20878 if test $ac_cv_c_bigendian = unknown; then
20879 if test "$cross_compiling" = yes; then :
20880 ac_cv_c_bigendian=unknown
20881 else
20882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20884 main () {
20885 /* Are we little or big endian? From Harbison&Steele. */
20886 union
20887 {
20888 long l;
20889 char c[sizeof (long)];
20890 } u;
20891 u.l = 1;
20892 exit (u.c[sizeof (long) - 1] == 1);
20893 }
20894 _ACEOF
20895 if ac_fn_c_try_run "$LINENO"; then :
20896 ac_cv_c_bigendian=no
20897 else
20898 ac_cv_c_bigendian=yes
20899 fi
20900 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20901 conftest.$ac_objext conftest.beam conftest.$ac_ext
20902 fi
20903
20904 fi
20905 fi
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
20907 $as_echo "$ac_cv_c_bigendian" >&6; }
20908 if test $ac_cv_c_bigendian = unknown; then
20909 { $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
20910 $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;}
20911 fi
20912 if test $ac_cv_c_bigendian = yes; then
20913 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
20914
20915 fi
20916
20917
20918
20919
20920 ac_ext=cpp
20921 ac_cpp='$CXXCPP $CPPFLAGS'
20922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20925
20926
20927 for ac_header in iostream
20928 do :
20929 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
20930 "
20931 if test "x$ac_cv_header_iostream" = x""yes; then :
20932 cat >>confdefs.h <<_ACEOF
20933 #define HAVE_IOSTREAM 1
20934 _ACEOF
20935
20936 fi
20937
20938 done
20939
20940
20941 if test "$ac_cv_header_iostream" = "yes" ; then
20942 :
20943 else
20944 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
20945
20946 fi
20947
20948 ac_ext=c
20949 ac_cpp='$CPP $CPPFLAGS'
20950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20953
20954
20955
20956
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
20958 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
20959 if test "${wx_cv_explicit+set}" = set; then :
20960 $as_echo_n "(cached) " >&6
20961 else
20962
20963
20964 ac_ext=cpp
20965 ac_cpp='$CXXCPP $CPPFLAGS'
20966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20969
20970
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20973
20974 class Foo { public: explicit Foo(int) {} };
20975
20976 int
20977 main ()
20978 {
20979
20980 return 0;
20981
20982 ;
20983 return 0;
20984 }
20985 _ACEOF
20986 if ac_fn_cxx_try_compile "$LINENO"; then :
20987
20988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990
20991 class Foo { public: explicit Foo(int) {} };
20992 static void TakeFoo(const Foo& foo) { }
20993
20994 int
20995 main ()
20996 {
20997
20998 TakeFoo(17);
20999 return 0;
21000
21001 ;
21002 return 0;
21003 }
21004 _ACEOF
21005 if ac_fn_cxx_try_compile "$LINENO"; then :
21006 wx_cv_explicit=no
21007 else
21008 wx_cv_explicit=yes
21009
21010 fi
21011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21012
21013 else
21014 wx_cv_explicit=no
21015
21016 fi
21017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21018
21019 ac_ext=c
21020 ac_cpp='$CPP $CPPFLAGS'
21021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21024
21025
21026 fi
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21028 $as_echo "$wx_cv_explicit" >&6; }
21029
21030 if test "$wx_cv_explicit" = "yes"; then
21031 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21032
21033 fi
21034
21035
21036 if test "x$SUNCXX" = xyes; then
21037 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21038 fi
21039
21040 if test "x$SUNCC" = xyes; then
21041 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21042 fi
21043
21044 if test "x$SGICC" = "xyes"; then
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21046 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21047 if test "${wx_cv_prog_sgicc744+set}" = set; then :
21048 $as_echo_n "(cached) " >&6
21049 else
21050
21051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21053
21054 int
21055 main ()
21056 {
21057
21058 #if _SGI_COMPILER_VERSION >= 744
21059 chock me: mipsPro is 7.4.4 or later
21060 #endif
21061
21062 ;
21063 return 0;
21064 }
21065 _ACEOF
21066 if ac_fn_c_try_compile "$LINENO"; then :
21067 wx_cv_prog_sgicc744=no
21068 else
21069 wx_cv_prog_sgicc744=yes
21070
21071 fi
21072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21073
21074
21075 fi
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21077 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21078
21079 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21080 CFLAGS="-woff 3970 $CFLAGS"
21081 fi
21082 fi
21083 if test "x$SGICXX" = "xyes"; then
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21085 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21086 if test "${wx_cv_prog_sgicxx744+set}" = set; then :
21087 $as_echo_n "(cached) " >&6
21088 else
21089
21090 ac_ext=cpp
21091 ac_cpp='$CXXCPP $CPPFLAGS'
21092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21095
21096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21097 /* end confdefs.h. */
21098
21099 int
21100 main ()
21101 {
21102
21103 #if _SGI_COMPILER_VERSION >= 744
21104 chock me: mipsPro is 7.4.4 or later
21105 #endif
21106
21107 ;
21108 return 0;
21109 }
21110 _ACEOF
21111 if ac_fn_cxx_try_compile "$LINENO"; then :
21112 wx_cv_prog_sgicxx744=no
21113 else
21114 wx_cv_prog_sgicxx744=yes
21115
21116 fi
21117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21118 ac_ext=c
21119 ac_cpp='$CPP $CPPFLAGS'
21120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21123
21124
21125
21126 fi
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21128 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21129
21130 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21131 CXXFLAGS="-woff 3970 $CXXFLAGS"
21132 fi
21133 fi
21134
21135 if test "x$HPCC" = "xyes"; then
21136 CFLAGS="+W 2011,2450 $CFLAGS"
21137 fi
21138 if test "x$HPCXX" = "xyes"; then
21139 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21140 fi
21141
21142 if test "x$COMPAQCXX" = "xyes"; then
21143 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21144 fi
21145
21146 ac_ext=cpp
21147 ac_cpp='$CXXCPP $CPPFLAGS'
21148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21151
21152
21153 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21154 if test "$wxUSE_UNICODE" = "yes"; then
21155 std_string="std::wstring"
21156 char_type="wchar_t"
21157 else
21158 std_string="std::string"
21159 char_type="char"
21160 fi
21161
21162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21163 $as_echo_n "checking for $std_string in <string>... " >&6; }
21164 if test "${wx_cv_class_stdstring+set}" = set; then :
21165 $as_echo_n "(cached) " >&6
21166 else
21167
21168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21169 /* end confdefs.h. */
21170 #include <string>
21171 int
21172 main ()
21173 {
21174 $std_string foo;
21175 ;
21176 return 0;
21177 }
21178 _ACEOF
21179 if ac_fn_cxx_try_compile "$LINENO"; then :
21180 wx_cv_class_stdstring=yes
21181 else
21182 wx_cv_class_stdstring=no
21183
21184 fi
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186
21187
21188 fi
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21190 $as_echo "$wx_cv_class_stdstring" >&6; }
21191
21192 if test "$wx_cv_class_stdstring" = yes; then
21193 if test "$wxUSE_UNICODE" = "yes"; then
21194 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21195
21196 fi
21197 else
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21199 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21200 if test "${wx_cv_class_stdbasicstring+set}" = set; then :
21201 $as_echo_n "(cached) " >&6
21202 else
21203
21204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21205 /* end confdefs.h. */
21206
21207 #ifdef HAVE_WCHAR_H
21208 # ifdef __CYGWIN__
21209 # include <stddef.h>
21210 # endif
21211 # include <wchar.h>
21212 #endif
21213 #ifdef HAVE_STDLIB_H
21214 # include <stdlib.h>
21215 #endif
21216 #include <stdio.h>
21217 #include <string>
21218
21219 int
21220 main ()
21221 {
21222 std::basic_string<$char_type> foo;
21223 const $char_type* dummy = foo.c_str();
21224 ;
21225 return 0;
21226 }
21227 _ACEOF
21228 if ac_fn_cxx_try_compile "$LINENO"; then :
21229 wx_cv_class_stdbasicstring=yes
21230 else
21231 wx_cv_class_stdbasicstring=no
21232
21233 fi
21234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21235
21236
21237 fi
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21239 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21240
21241 if test "$wx_cv_class_stdbasicstring" != yes; then
21242 if test "$wxUSE_STL" = "yes"; then
21243 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21244 elif test "$wxUSE_STD_STRING" = "yes"; then
21245 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21246 else
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21248 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21249 wxUSE_STD_STRING=no
21250 fi
21251 fi
21252 fi
21253 fi
21254
21255 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21256 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21257 "
21258 if test "x$ac_cv_type_std__istream" = x""yes; then :
21259
21260 cat >>confdefs.h <<_ACEOF
21261 #define HAVE_STD__ISTREAM 1
21262 _ACEOF
21263
21264
21265 else
21266 wxUSE_STD_IOSTREAM=no
21267 fi
21268 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21269 "
21270 if test "x$ac_cv_type_std__ostream" = x""yes; then :
21271
21272 cat >>confdefs.h <<_ACEOF
21273 #define HAVE_STD__OSTREAM 1
21274 _ACEOF
21275
21276
21277 else
21278 wxUSE_STD_IOSTREAM=no
21279 fi
21280
21281
21282 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21283 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21284 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21285 else
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21287 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21288 fi
21289 fi
21290 fi
21291
21292 if test "$wxUSE_STL" = "yes"; then
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21294 $as_echo_n "checking for basic STL functionality... " >&6; }
21295 if test "${wx_cv_lib_stl+set}" = set; then :
21296 $as_echo_n "(cached) " >&6
21297 else
21298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21299 /* end confdefs.h. */
21300 #include <string>
21301 #include <functional>
21302 #include <algorithm>
21303 #include <vector>
21304 #include <list>
21305 int
21306 main ()
21307 {
21308 std::vector<int> moo;
21309 std::list<int> foo;
21310 std::vector<int>::iterator it =
21311 std::find_if(moo.begin(), moo.end(),
21312 std::bind2nd(std::less<int>(), 3));
21313 ;
21314 return 0;
21315 }
21316 _ACEOF
21317 if ac_fn_cxx_try_compile "$LINENO"; then :
21318 wx_cv_lib_stl=yes
21319 else
21320 wx_cv_lib_stl=no
21321
21322 fi
21323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21324
21325 fi
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21327 $as_echo "$wx_cv_lib_stl" >&6; }
21328
21329 if test "$wx_cv_lib_stl" != yes; then
21330 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21331 fi
21332
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21334 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21335 if test "${wx_cv_func_stdstring_compare+set}" = set; then :
21336 $as_echo_n "(cached) " >&6
21337 else
21338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21339 /* end confdefs.h. */
21340 #include <string>
21341 int
21342 main ()
21343 {
21344 std::string foo, bar;
21345 foo.compare(bar);
21346 foo.compare(1, 1, bar);
21347 foo.compare(1, 1, bar, 1, 1);
21348 foo.compare("");
21349 foo.compare(1, 1, "");
21350 foo.compare(1, 1, "", 2);
21351 ;
21352 return 0;
21353 }
21354 _ACEOF
21355 if ac_fn_cxx_try_compile "$LINENO"; then :
21356 wx_cv_func_stdstring_compare=yes
21357 else
21358 wx_cv_func_stdstring_compare=no
21359
21360 fi
21361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21362
21363 fi
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21365 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21366
21367 if test "$wx_cv_func_stdstring_compare" = yes; then
21368 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21369
21370 fi
21371
21372 if test "$wx_cv_class_gnuhashmapset" = yes; then
21373 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21374
21375 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21376
21377 fi
21378
21379 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21380
21381 "
21382 if test "x$ac_cv_header_unordered_map" = x""yes; then :
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21384 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21385 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then :
21386 $as_echo_n "(cached) " >&6
21387 else
21388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21389 /* end confdefs.h. */
21390 #include <unordered_map>
21391 #include <unordered_set>
21392 int
21393 main ()
21394 {
21395 std::unordered_map<double*, char*> test1;
21396 std::unordered_set<char*> test2;
21397 ;
21398 return 0;
21399 }
21400 _ACEOF
21401 if ac_fn_cxx_try_compile "$LINENO"; then :
21402 wx_cv_class_stdunorderedmapset=yes
21403 else
21404 wx_cv_class_stdunorderedmapset=no
21405 fi
21406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21407
21408
21409 fi
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21411 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21412 fi
21413
21414
21415
21416 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21417 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21418
21419 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21420
21421 else
21422 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21423
21424 "
21425 if test "x$ac_cv_header_tr1_unordered_map" = x""yes; then :
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21427 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21428 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then :
21429 $as_echo_n "(cached) " >&6
21430 else
21431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21432 /* end confdefs.h. */
21433 #include <tr1/unordered_map>
21434 #include <tr1/unordered_set>
21435 int
21436 main ()
21437 {
21438 std::tr1::unordered_map<double*, char*> test1;
21439 std::tr1::unordered_set<char*> test2;
21440 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21441 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21442 #endif
21443 ;
21444 return 0;
21445 }
21446 _ACEOF
21447 if ac_fn_cxx_try_compile "$LINENO"; then :
21448 wx_cv_class_tr1unorderedmapset=yes
21449 else
21450 wx_cv_class_tr1unorderedmapset=no
21451 fi
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453
21454
21455 fi
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21457 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21458 fi
21459
21460
21461
21462 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21463 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21464
21465 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21466
21467 else
21468 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21469
21470 "
21471 if test "x$ac_cv_header_hash_map" = x""yes; then :
21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21473 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21474 if test "${wx_cv_class_stdhashmapset+set}" = set; then :
21475 $as_echo_n "(cached) " >&6
21476 else
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 #include <hash_map>
21480 #include <hash_set>
21481 int
21482 main ()
21483 {
21484 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21485 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21486 ;
21487 return 0;
21488 }
21489 _ACEOF
21490 if ac_fn_cxx_try_compile "$LINENO"; then :
21491 wx_cv_class_stdhashmapset=yes
21492 else
21493 wx_cv_class_stdhashmapset=no
21494 fi
21495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21496
21497
21498 fi
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21500 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21501 fi
21502
21503
21504
21505 if test "$wx_cv_class_stdhashmapset" = yes; then
21506 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21507
21508 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21509
21510 fi
21511
21512 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21513
21514 "
21515 if test "x$ac_cv_header_ext_hash_map" = x""yes; then :
21516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21517 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21518 if test "${wx_cv_class_gnuhashmapset+set}" = set; then :
21519 $as_echo_n "(cached) " >&6
21520 else
21521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21522 /* end confdefs.h. */
21523 #include <ext/hash_map>
21524 #include <ext/hash_set>
21525 int
21526 main ()
21527 {
21528 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21529 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 wx_cv_class_gnuhashmapset=yes
21536 else
21537 wx_cv_class_gnuhashmapset=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_gnuhashmapset" >&5
21544 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21545 fi
21546
21547
21548
21549 fi
21550 fi
21551 fi
21552
21553 ac_ext=cpp
21554 ac_cpp='$CXXCPP $CPPFLAGS'
21555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21559 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21560 if test -z "$CXXCPP"; then
21561 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
21562 $as_echo_n "(cached) " >&6
21563 else
21564 # Double quotes because CXXCPP needs to be expanded
21565 for CXXCPP in "$CXX -E" "/lib/cpp"
21566 do
21567 ac_preproc_ok=false
21568 for ac_cxx_preproc_warn_flag in '' yes
21569 do
21570 # Use a header file that comes with gcc, so configuring glibc
21571 # with a fresh cross-compiler works.
21572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21573 # <limits.h> exists even on freestanding compilers.
21574 # On the NeXT, cc -E runs the code through the compiler's parser,
21575 # not just through cpp. "Syntax error" is here to catch this case.
21576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21577 /* end confdefs.h. */
21578 #ifdef __STDC__
21579 # include <limits.h>
21580 #else
21581 # include <assert.h>
21582 #endif
21583 Syntax error
21584 _ACEOF
21585 if ac_fn_cxx_try_cpp "$LINENO"; then :
21586
21587 else
21588 # Broken: fails on valid input.
21589 continue
21590 fi
21591 rm -f conftest.err conftest.i conftest.$ac_ext
21592
21593 # OK, works on sane cases. Now check whether nonexistent headers
21594 # can be detected and how.
21595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21596 /* end confdefs.h. */
21597 #include <ac_nonexistent.h>
21598 _ACEOF
21599 if ac_fn_cxx_try_cpp "$LINENO"; then :
21600 # Broken: success on invalid input.
21601 continue
21602 else
21603 # Passes both tests.
21604 ac_preproc_ok=:
21605 break
21606 fi
21607 rm -f conftest.err conftest.i conftest.$ac_ext
21608
21609 done
21610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21611 rm -f conftest.i conftest.err conftest.$ac_ext
21612 if $ac_preproc_ok; then :
21613 break
21614 fi
21615
21616 done
21617 ac_cv_prog_CXXCPP=$CXXCPP
21618
21619 fi
21620 CXXCPP=$ac_cv_prog_CXXCPP
21621 else
21622 ac_cv_prog_CXXCPP=$CXXCPP
21623 fi
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21625 $as_echo "$CXXCPP" >&6; }
21626 ac_preproc_ok=false
21627 for ac_cxx_preproc_warn_flag in '' yes
21628 do
21629 # Use a header file that comes with gcc, so configuring glibc
21630 # with a fresh cross-compiler works.
21631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21632 # <limits.h> exists even on freestanding compilers.
21633 # On the NeXT, cc -E runs the code through the compiler's parser,
21634 # not just through cpp. "Syntax error" is here to catch this case.
21635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21636 /* end confdefs.h. */
21637 #ifdef __STDC__
21638 # include <limits.h>
21639 #else
21640 # include <assert.h>
21641 #endif
21642 Syntax error
21643 _ACEOF
21644 if ac_fn_cxx_try_cpp "$LINENO"; then :
21645
21646 else
21647 # Broken: fails on valid input.
21648 continue
21649 fi
21650 rm -f conftest.err conftest.i conftest.$ac_ext
21651
21652 # OK, works on sane cases. Now check whether nonexistent headers
21653 # can be detected and how.
21654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21655 /* end confdefs.h. */
21656 #include <ac_nonexistent.h>
21657 _ACEOF
21658 if ac_fn_cxx_try_cpp "$LINENO"; then :
21659 # Broken: success on invalid input.
21660 continue
21661 else
21662 # Passes both tests.
21663 ac_preproc_ok=:
21664 break
21665 fi
21666 rm -f conftest.err conftest.i conftest.$ac_ext
21667
21668 done
21669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21670 rm -f conftest.i conftest.err conftest.$ac_ext
21671 if $ac_preproc_ok; then :
21672
21673 else
21674 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21676 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21677 See \`config.log' for more details" "$LINENO" 5 ; }
21678 fi
21679
21680 ac_ext=cpp
21681 ac_cpp='$CXXCPP $CPPFLAGS'
21682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21685
21686
21687 for ac_header in type_traits tr1/type_traits
21688 do :
21689 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21690 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21691 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21692 cat >>confdefs.h <<_ACEOF
21693 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21694 _ACEOF
21695
21696 fi
21697
21698 done
21699
21700
21701
21702
21703 if test -n "$GCC"; then
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21705 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21706 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then :
21707 $as_echo_n "(cached) " >&6
21708 else
21709
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21712
21713 int
21714 main ()
21715 {
21716
21717 unsigned int value=0;
21718 /* wxAtomicInc doesn't use return value here */
21719 __sync_fetch_and_add(&value, 2);
21720 __sync_sub_and_fetch(&value, 1);
21721 /* but wxAtomicDec does, so mimic that: */
21722 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21723
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 if ac_fn_cxx_try_link "$LINENO"; then :
21729 wx_cv_cc_gcc_atomic_builtins=yes
21730 else
21731 wx_cv_cc_gcc_atomic_builtins=no
21732 fi
21733 rm -f core conftest.err conftest.$ac_objext \
21734 conftest$ac_exeext conftest.$ac_ext
21735
21736 fi
21737
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21739 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21740 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21741 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21742
21743 fi
21744 fi
21745
21746
21747 ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21752
21753
21754
21755 SEARCH_INCLUDE="\
21756 /usr/local/include \
21757 /usr/local/X11/include \
21758 /usr/local/include/X11 \
21759 /usr/local/X11R7/include \
21760 /usr/local/X11R6/include \
21761 /usr/local/include/X11R7 \
21762 /usr/local/include/X11R6 \
21763 \
21764 /usr/Motif-2.1/include \
21765 /usr/Motif-1.2/include \
21766 /usr/include/Motif1.2 \
21767 \
21768 /usr/dt/include \
21769 /usr/openwin/include \
21770 \
21771 /usr/include/Xm \
21772 \
21773 /usr/X11R7/include \
21774 /usr/X11R6/include \
21775 /usr/X11R6.4/include \
21776 \
21777 /usr/include/X11R7 \
21778 /usr/include/X11R6 \
21779 \
21780 /usr/X11/include \
21781 /usr/include/X11 \
21782 \
21783 /usr/XFree86/include/X11 \
21784 /usr/pkg/include \
21785 \
21786 /usr/local/X1R5/include \
21787 /usr/local/include/X11R5 \
21788 /usr/X11R5/include \
21789 /usr/include/X11R5 \
21790 \
21791 /usr/local/X11R4/include \
21792 /usr/local/include/X11R4 \
21793 /usr/X11R4/include \
21794 /usr/include/X11R4 \
21795 \
21796 /usr/openwin/share/include"
21797
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21799 $as_echo_n "checking for libraries directories... " >&6; }
21800
21801 case "${host}" in
21802 *-*-irix6* )
21803 if test "${wx_cv_std_libpath+set}" = set; then :
21804 $as_echo_n "(cached) " >&6
21805 else
21806
21807 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21808 for e in a so sl dylib dll.a; do
21809 libc="$d/libc.$e"
21810 if test -f $libc; then
21811 save_LIBS="$LIBS"
21812 LIBS="$libc"
21813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21814 /* end confdefs.h. */
21815
21816 int main() { return 0; }
21817
21818 _ACEOF
21819 if ac_fn_c_try_link "$LINENO"; then :
21820 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21821 fi
21822 rm -f core conftest.err conftest.$ac_objext \
21823 conftest$ac_exeext conftest.$ac_ext
21824 LIBS="$save_LIBS"
21825 if test "x$wx_cv_std_libpath" != "x"; then
21826 break 2
21827 fi
21828 fi
21829 done
21830 done
21831
21832
21833 fi
21834
21835 ;;
21836
21837 *-*-solaris2* )
21838 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21839 wx_cv_std_libpath="lib/64"
21840 fi
21841 ;;
21842
21843 *-*-linux* )
21844 if test "$ac_cv_sizeof_void_p" = 8; then
21845 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21846 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21847 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21848 wx_cv_std_libpath="lib64"
21849 fi
21850 else
21851 case "${host}" in
21852 i*86-*-linux* )
21853 if test -d '/usr/lib/i386-linux-gnu'; then
21854 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21855 fi
21856 esac
21857 fi
21858
21859 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21860 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21861 fi
21862 ;;
21863 esac
21864
21865 if test -z "$wx_cv_std_libpath"; then
21866 wx_cv_std_libpath="lib"
21867 fi
21868
21869 if test -z "$wx_cv_std_libfullpath"; then
21870 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21871 fi
21872
21873
21874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21875 $as_echo "$wx_cv_std_libfullpath" >&6; }
21876
21877 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21878
21879 if test "$build" != "$host" -a "$GCC" = yes; then
21880 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21881 cross_root=`dirname $cross_root`
21882 cross_root=`dirname $cross_root`
21883
21884 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21885 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21886 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21887
21888 if test -z "$PKG_CONFIG_PATH"; then
21889 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21890 export PKG_CONFIG_PATH
21891 fi
21892
21893 if test -z "$x_includes" -o "$x_includes" = NONE; then
21894
21895 ac_find_includes=
21896 for ac_dir in $SEARCH_INCLUDE /usr/include
21897 do
21898 if test -f "$ac_dir/X11/Intrinsic.h"; then
21899 ac_find_includes=$ac_dir
21900 break
21901 fi
21902 done
21903
21904 x_includes=$ac_find_includes
21905 fi
21906 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
21907
21908 ac_find_libraries=
21909 for ac_dir in $SEARCH_LIB
21910 do
21911 for ac_extension in a so sl dylib dll.a; do
21912 if test -f "$ac_dir/libXt.$ac_extension"; then
21913 ac_find_libraries=$ac_dir
21914 break 2
21915 fi
21916 done
21917 done
21918
21919 x_libraries=$ac_find_libraries
21920 fi
21921 fi
21922 fi
21923
21924
21925 cat >confcache <<\_ACEOF
21926 # This file is a shell script that caches the results of configure
21927 # tests run on this system so they can be shared between configure
21928 # scripts and configure runs, see configure's option --config-cache.
21929 # It is not useful on other systems. If it contains results you don't
21930 # want to keep, you may remove or edit it.
21931 #
21932 # config.status only pays attention to the cache file if you give it
21933 # the --recheck option to rerun configure.
21934 #
21935 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21936 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21937 # following values.
21938
21939 _ACEOF
21940
21941 # The following way of writing the cache mishandles newlines in values,
21942 # but we know of no workaround that is simple, portable, and efficient.
21943 # So, we kill variables containing newlines.
21944 # Ultrix sh set writes to stderr and can't be redirected directly,
21945 # and sets the high bit in the cache file unless we assign to the vars.
21946 (
21947 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21948 eval ac_val=\$$ac_var
21949 case $ac_val in #(
21950 *${as_nl}*)
21951 case $ac_var in #(
21952 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21953 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21954 esac
21955 case $ac_var in #(
21956 _ | IFS | as_nl) ;; #(
21957 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21958 *) { eval $ac_var=; unset $ac_var;} ;;
21959 esac ;;
21960 esac
21961 done
21962
21963 (set) 2>&1 |
21964 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21965 *${as_nl}ac_space=\ *)
21966 # `set' does not quote correctly, so add quotes: double-quote
21967 # substitution turns \\\\ into \\, and sed turns \\ into \.
21968 sed -n \
21969 "s/'/'\\\\''/g;
21970 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21971 ;; #(
21972 *)
21973 # `set' quotes correctly as required by POSIX, so do not add quotes.
21974 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21975 ;;
21976 esac |
21977 sort
21978 ) |
21979 sed '
21980 /^ac_cv_env_/b end
21981 t clear
21982 :clear
21983 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21984 t end
21985 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21986 :end' >>confcache
21987 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21988 if test -w "$cache_file"; then
21989 test "x$cache_file" != "x/dev/null" &&
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21991 $as_echo "$as_me: updating cache $cache_file" >&6;}
21992 cat confcache >$cache_file
21993 else
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21995 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21996 fi
21997 fi
21998 rm -f confcache
21999
22000 have_cos=0
22001 have_floor=0
22002 for ac_func in cos
22003 do :
22004 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22005 if test "x$ac_cv_func_cos" = x""yes; then :
22006 cat >>confdefs.h <<_ACEOF
22007 #define HAVE_COS 1
22008 _ACEOF
22009 have_cos=1
22010 fi
22011 done
22012
22013 for ac_func in floor
22014 do :
22015 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22016 if test "x$ac_cv_func_floor" = x""yes; then :
22017 cat >>confdefs.h <<_ACEOF
22018 #define HAVE_FLOOR 1
22019 _ACEOF
22020 have_floor=1
22021 fi
22022 done
22023
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22025 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22026 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22028 $as_echo "yes" >&6; }
22029 else
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22031 $as_echo "no" >&6; }
22032 LIBS="$LIBS -lm"
22033 # use different functions to avoid configure caching
22034 have_sin=0
22035 have_ceil=0
22036 for ac_func in sin
22037 do :
22038 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22039 if test "x$ac_cv_func_sin" = x""yes; then :
22040 cat >>confdefs.h <<_ACEOF
22041 #define HAVE_SIN 1
22042 _ACEOF
22043 have_sin=1
22044 fi
22045 done
22046
22047 for ac_func in ceil
22048 do :
22049 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22050 if test "x$ac_cv_func_ceil" = x""yes; then :
22051 cat >>confdefs.h <<_ACEOF
22052 #define HAVE_CEIL 1
22053 _ACEOF
22054 have_ceil=1
22055 fi
22056 done
22057
22058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22059 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22060 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22062 $as_echo "yes" >&6; }
22063 else
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22065 $as_echo "no" >&6; }
22066 # not sure we should warn the user, crash, etc.
22067 fi
22068 fi
22069
22070 ac_ext=cpp
22071 ac_cpp='$CXXCPP $CPPFLAGS'
22072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22075
22076 if test "wxUSE_UNICODE" = "yes"; then
22077
22078 for wx_func in wcstoull
22079 do
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22081 $as_echo_n "checking for $wx_func... " >&6; }
22082 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22083 $as_echo_n "(cached) " >&6
22084 else
22085
22086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087 /* end confdefs.h. */
22088
22089
22090
22091 $ac_includes_default
22092
22093 int
22094 main ()
22095 {
22096
22097 #ifndef $wx_func
22098 &$wx_func;
22099 #endif
22100
22101
22102 ;
22103 return 0;
22104 }
22105
22106 _ACEOF
22107 if ac_fn_cxx_try_link "$LINENO"; then :
22108 eval wx_cv_func_$wx_func=yes
22109 else
22110 eval wx_cv_func_$wx_func=no
22111 fi
22112 rm -f core conftest.err conftest.$ac_objext \
22113 conftest$ac_exeext conftest.$ac_ext
22114
22115 fi
22116 eval ac_res=\$wx_cv_func_$wx_func
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22118 $as_echo "$ac_res" >&6; }
22119
22120 if eval test \$wx_cv_func_$wx_func = yes
22121 then
22122 cat >>confdefs.h <<_ACEOF
22123 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22124 _ACEOF
22125
22126
22127 else
22128 :
22129
22130 fi
22131 done
22132
22133 else
22134
22135 for wx_func in strtoull
22136 do
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22138 $as_echo_n "checking for $wx_func... " >&6; }
22139 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22140 $as_echo_n "(cached) " >&6
22141 else
22142
22143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22144 /* end confdefs.h. */
22145
22146
22147
22148 $ac_includes_default
22149
22150 int
22151 main ()
22152 {
22153
22154 #ifndef $wx_func
22155 &$wx_func;
22156 #endif
22157
22158
22159 ;
22160 return 0;
22161 }
22162
22163 _ACEOF
22164 if ac_fn_cxx_try_link "$LINENO"; then :
22165 eval wx_cv_func_$wx_func=yes
22166 else
22167 eval wx_cv_func_$wx_func=no
22168 fi
22169 rm -f core conftest.err conftest.$ac_objext \
22170 conftest$ac_exeext conftest.$ac_ext
22171
22172 fi
22173 eval ac_res=\$wx_cv_func_$wx_func
22174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22175 $as_echo "$ac_res" >&6; }
22176
22177 if eval test \$wx_cv_func_$wx_func = yes
22178 then
22179 cat >>confdefs.h <<_ACEOF
22180 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22181 _ACEOF
22182
22183
22184 else
22185 :
22186
22187 fi
22188 done
22189
22190 fi
22191 ac_ext=c
22192 ac_cpp='$CPP $CPPFLAGS'
22193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22196
22197
22198
22199
22200 if test "$wxUSE_REGEX" != "no"; then
22201 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22202
22203
22204 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22206 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22207 wxUSE_REGEX=builtin
22208 fi
22209
22210 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22211 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22212 "
22213 if test "x$ac_cv_header_regex_h" = x""yes; then :
22214 for ac_func in regcomp re_search
22215 do :
22216 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22217 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22218 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22219 cat >>confdefs.h <<_ACEOF
22220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22221 _ACEOF
22222
22223 fi
22224 done
22225
22226 fi
22227
22228
22229
22230 if test "x$ac_cv_func_regcomp" != "xyes"; then
22231 if test "$wxUSE_REGEX" = "sys" ; then
22232 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22233 else
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22235 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22236 wxUSE_REGEX=builtin
22237 fi
22238 else
22239 wxUSE_REGEX=sys
22240 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22241
22242 fi
22243 fi
22244 fi
22245
22246
22247 ZLIB_LINK=
22248 if test "$wxUSE_ZLIB" != "no" ; then
22249 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22250
22251
22252 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22253 if test "$USE_DARWIN" = 1; then
22254 system_zlib_h_ok="yes"
22255 else
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22257 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22258 if test "${ac_cv_header_zlib_h+set}" = set; then :
22259 $as_echo_n "(cached) " >&6
22260 else
22261 if test "$cross_compiling" = yes; then :
22262 unset ac_cv_header_zlib_h
22263
22264 else
22265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22266 /* end confdefs.h. */
22267
22268 #include <zlib.h>
22269 #include <stdio.h>
22270
22271 int main()
22272 {
22273 FILE *f=fopen("conftestval", "w");
22274 if (!f) exit(1);
22275 fprintf(f, "%s",
22276 ZLIB_VERSION[0] == '1' &&
22277 (ZLIB_VERSION[2] > '1' ||
22278 (ZLIB_VERSION[2] == '1' &&
22279 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22280 exit(0);
22281 }
22282
22283 _ACEOF
22284 if ac_fn_c_try_run "$LINENO"; then :
22285 ac_cv_header_zlib_h=`cat conftestval`
22286 else
22287 ac_cv_header_zlib_h=no
22288 fi
22289 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22290 conftest.$ac_objext conftest.beam conftest.$ac_ext
22291 fi
22292
22293
22294 fi
22295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22296 $as_echo "$ac_cv_header_zlib_h" >&6; }
22297 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22298 "
22299 if test "x$ac_cv_header_zlib_h" = x""yes; then :
22300
22301 fi
22302
22303
22304
22305 system_zlib_h_ok=$ac_cv_header_zlib_h
22306 fi
22307
22308 if test "$system_zlib_h_ok" = "yes"; then
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22310 $as_echo_n "checking for deflate in -lz... " >&6; }
22311 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22312 $as_echo_n "(cached) " >&6
22313 else
22314 ac_check_lib_save_LIBS=$LIBS
22315 LIBS="-lz $LIBS"
22316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22317 /* end confdefs.h. */
22318
22319 /* Override any GCC internal prototype to avoid an error.
22320 Use char because int might match the return type of a GCC
22321 builtin and then its argument prototype would still apply. */
22322 #ifdef __cplusplus
22323 extern "C"
22324 #endif
22325 char deflate ();
22326 int
22327 main ()
22328 {
22329 return deflate ();
22330 ;
22331 return 0;
22332 }
22333 _ACEOF
22334 if ac_fn_c_try_link "$LINENO"; then :
22335 ac_cv_lib_z_deflate=yes
22336 else
22337 ac_cv_lib_z_deflate=no
22338 fi
22339 rm -f core conftest.err conftest.$ac_objext \
22340 conftest$ac_exeext conftest.$ac_ext
22341 LIBS=$ac_check_lib_save_LIBS
22342 fi
22343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22344 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22345 if test "x$ac_cv_lib_z_deflate" = x""yes; then :
22346 ZLIB_LINK=" -lz"
22347 fi
22348
22349 fi
22350
22351 if test "x$ZLIB_LINK" = "x" ; then
22352 if test "$wxUSE_ZLIB" = "sys" ; then
22353 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22354 else
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22356 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22357 wxUSE_ZLIB=builtin
22358 fi
22359 else
22360 wxUSE_ZLIB=sys
22361 fi
22362 fi
22363 fi
22364
22365
22366 PNG_LINK=
22367 if test "$wxUSE_LIBPNG" != "no" ; then
22368 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22369
22370
22371 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22373 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22374 wxUSE_LIBPNG=builtin
22375 fi
22376
22377 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22379 $as_echo_n "checking for png.h > 0.90... " >&6; }
22380 if test "${ac_cv_header_png_h+set}" = set; then :
22381 $as_echo_n "(cached) " >&6
22382 else
22383 if test "$cross_compiling" = yes; then :
22384 unset ac_cv_header_png_h
22385
22386 else
22387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22388 /* end confdefs.h. */
22389
22390 #include <png.h>
22391 #include <stdio.h>
22392
22393 int main()
22394 {
22395 FILE *f=fopen("conftestval", "w");
22396 if (!f) exit(1);
22397 fprintf(f, "%s",
22398 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22399 exit(0);
22400 }
22401
22402 _ACEOF
22403 if ac_fn_c_try_run "$LINENO"; then :
22404 ac_cv_header_png_h=`cat conftestval`
22405 else
22406 ac_cv_header_png_h=no
22407 fi
22408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22409 conftest.$ac_objext conftest.beam conftest.$ac_ext
22410 fi
22411
22412
22413 fi
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22415 $as_echo "$ac_cv_header_png_h" >&6; }
22416 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22417 "
22418 if test "x$ac_cv_header_png_h" = x""yes; then :
22419
22420 fi
22421
22422
22423
22424 if test "$ac_cv_header_png_h" = "yes"; then
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22426 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22427 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then :
22428 $as_echo_n "(cached) " >&6
22429 else
22430 ac_check_lib_save_LIBS=$LIBS
22431 LIBS="-lpng -lz -lm $LIBS"
22432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433 /* end confdefs.h. */
22434
22435 /* Override any GCC internal prototype to avoid an error.
22436 Use char because int might match the return type of a GCC
22437 builtin and then its argument prototype would still apply. */
22438 #ifdef __cplusplus
22439 extern "C"
22440 #endif
22441 char png_sig_cmp ();
22442 int
22443 main ()
22444 {
22445 return png_sig_cmp ();
22446 ;
22447 return 0;
22448 }
22449 _ACEOF
22450 if ac_fn_c_try_link "$LINENO"; then :
22451 ac_cv_lib_png_png_sig_cmp=yes
22452 else
22453 ac_cv_lib_png_png_sig_cmp=no
22454 fi
22455 rm -f core conftest.err conftest.$ac_objext \
22456 conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22458 fi
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22460 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22461 if test "x$ac_cv_lib_png_png_sig_cmp" = x""yes; then :
22462 PNG_LINK=" -lpng -lz"
22463 fi
22464
22465 fi
22466
22467 if test "x$PNG_LINK" = "x" ; then
22468 if test "$wxUSE_LIBPNG" = "sys" ; then
22469 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22470 else
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22472 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22473 wxUSE_LIBPNG=builtin
22474 fi
22475 else
22476 wxUSE_LIBPNG=sys
22477 fi
22478 fi
22479 fi
22480
22481
22482 JPEG_LINK=
22483 if test "$wxUSE_LIBJPEG" != "no" ; then
22484 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22485
22486
22487 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22489 $as_echo_n "checking for jpeglib.h... " >&6; }
22490 if test "${ac_cv_header_jpeglib_h+set}" = set; then :
22491 $as_echo_n "(cached) " >&6
22492 else
22493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22494 /* end confdefs.h. */
22495
22496 #undef HAVE_STDLIB_H
22497 #include <stdio.h>
22498 #include <jpeglib.h>
22499
22500 int
22501 main ()
22502 {
22503
22504
22505 ;
22506 return 0;
22507 }
22508 _ACEOF
22509 if ac_fn_c_try_compile "$LINENO"; then :
22510 ac_cv_header_jpeglib_h=yes
22511 else
22512 ac_cv_header_jpeglib_h=no
22513
22514 fi
22515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22516
22517 fi
22518
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22520 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22521
22522 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22524 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22525 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then :
22526 $as_echo_n "(cached) " >&6
22527 else
22528 ac_check_lib_save_LIBS=$LIBS
22529 LIBS="-ljpeg $LIBS"
22530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22531 /* end confdefs.h. */
22532
22533 /* Override any GCC internal prototype to avoid an error.
22534 Use char because int might match the return type of a GCC
22535 builtin and then its argument prototype would still apply. */
22536 #ifdef __cplusplus
22537 extern "C"
22538 #endif
22539 char jpeg_read_header ();
22540 int
22541 main ()
22542 {
22543 return jpeg_read_header ();
22544 ;
22545 return 0;
22546 }
22547 _ACEOF
22548 if ac_fn_c_try_link "$LINENO"; then :
22549 ac_cv_lib_jpeg_jpeg_read_header=yes
22550 else
22551 ac_cv_lib_jpeg_jpeg_read_header=no
22552 fi
22553 rm -f core conftest.err conftest.$ac_objext \
22554 conftest$ac_exeext conftest.$ac_ext
22555 LIBS=$ac_check_lib_save_LIBS
22556 fi
22557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22558 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22559 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x""yes; then :
22560 JPEG_LINK=" -ljpeg"
22561 fi
22562
22563 fi
22564
22565 if test "x$JPEG_LINK" = "x" ; then
22566 if test "$wxUSE_LIBJPEG" = "sys" ; then
22567 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22568 else
22569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22570 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22571 wxUSE_LIBJPEG=builtin
22572 fi
22573 else
22574 wxUSE_LIBJPEG=sys
22575
22576 if test "$wxUSE_MSW" = 1; then
22577 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22578 "
22579 if test "x$ac_cv_type_boolean" = x""yes; then :
22580
22581 cat >>confdefs.h <<_ACEOF
22582 #define HAVE_BOOLEAN 1
22583 _ACEOF
22584
22585
22586 # The cast to long int works around a bug in the HP C Compiler
22587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22589 # This bug is HP SR number 8606223364.
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22591 $as_echo_n "checking size of boolean... " >&6; }
22592 if test "${ac_cv_sizeof_boolean+set}" = set; then :
22593 $as_echo_n "(cached) " >&6
22594 else
22595 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22596 #undef HAVE_BOOLEAN
22597 #include <stdio.h>
22598 #include <jpeglib.h>
22599
22600 "; then :
22601
22602 else
22603 if test "$ac_cv_type_boolean" = yes; then
22604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22606 as_fn_error 77 "cannot compute sizeof (boolean)
22607 See \`config.log' for more details" "$LINENO" 5 ; }
22608 else
22609 ac_cv_sizeof_boolean=0
22610 fi
22611 fi
22612
22613 fi
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22615 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22616
22617
22618
22619 cat >>confdefs.h <<_ACEOF
22620 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22621 _ACEOF
22622
22623
22624 cat >>confdefs.h <<_ACEOF
22625 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22626 _ACEOF
22627
22628
22629 fi
22630
22631 fi
22632 fi
22633 fi
22634 fi
22635
22636
22637 TIFF_LINK=
22638 TIFF_PREREQ_LINKS=-lm
22639 if test "$wxUSE_LIBTIFF" != "no" ; then
22640 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22641
22642
22643 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22644 if test "$wxUSE_LIBJPEG" = "sys"; then
22645 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22646 fi
22647 if test "$wxUSE_ZLIB" = "sys"; then
22648 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22649 fi
22650 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22651
22652 "
22653 if test "x$ac_cv_header_tiffio_h" = x""yes; then :
22654
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22656 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22657 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22659 else
22660 ac_check_lib_save_LIBS=$LIBS
22661 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22663 /* end confdefs.h. */
22664
22665 /* Override any GCC internal prototype to avoid an error.
22666 Use char because int might match the return type of a GCC
22667 builtin and then its argument prototype would still apply. */
22668 #ifdef __cplusplus
22669 extern "C"
22670 #endif
22671 char TIFFError ();
22672 int
22673 main ()
22674 {
22675 return TIFFError ();
22676 ;
22677 return 0;
22678 }
22679 _ACEOF
22680 if ac_fn_c_try_link "$LINENO"; then :
22681 ac_cv_lib_tiff_TIFFError=yes
22682 else
22683 ac_cv_lib_tiff_TIFFError=no
22684 fi
22685 rm -f core conftest.err conftest.$ac_objext \
22686 conftest$ac_exeext conftest.$ac_ext
22687 LIBS=$ac_check_lib_save_LIBS
22688 fi
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22690 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22691 if test "x$ac_cv_lib_tiff_TIFFError" = x""yes; then :
22692 TIFF_LINK=" -ltiff"
22693 fi
22694
22695
22696 fi
22697
22698
22699
22700 if test "x$TIFF_LINK" = "x" ; then
22701 if test "$wxUSE_LIBTIFF" = "sys" ; then
22702 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22703 else
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22705 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22706 wxUSE_LIBTIFF=builtin
22707 fi
22708 else
22709 wxUSE_LIBTIFF=sys
22710 fi
22711 fi
22712 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22713 if test "$wxUSE_LIBJPEG" = "no"; then
22714 ac_configure_args="$ac_configure_args --disable-jpeg"
22715 fi
22716
22717
22718 subdirs="$subdirs src/tiff"
22719
22720 fi
22721 fi
22722
22723
22724 if test "$wxUSE_EXPAT" != "no"; then
22725 wxUSE_XML=yes
22726 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22727
22728 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22729
22730
22731 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22732 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22733 "
22734 if test "x$ac_cv_header_expat_h" = x""yes; then :
22735 found_expat_h=1
22736 fi
22737
22738
22739 if test "x$found_expat_h" = "x1"; then
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22741 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22742 if test "${wx_cv_expat_is_not_broken+set}" = set; then :
22743 $as_echo_n "(cached) " >&6
22744 else
22745
22746 ac_ext=cpp
22747 ac_cpp='$CXXCPP $CPPFLAGS'
22748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22751
22752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22753 /* end confdefs.h. */
22754 #include <expat.h>
22755 int
22756 main ()
22757 {
22758
22759 ;
22760 return 0;
22761 }
22762 _ACEOF
22763 if ac_fn_cxx_try_compile "$LINENO"; then :
22764 wx_cv_expat_is_not_broken=yes
22765 else
22766 wx_cv_expat_is_not_broken=no
22767
22768 fi
22769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22770 ac_ext=c
22771 ac_cpp='$CPP $CPPFLAGS'
22772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22775
22776
22777
22778 fi
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22780 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22781 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22783 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22784 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
22785 $as_echo_n "(cached) " >&6
22786 else
22787 ac_check_lib_save_LIBS=$LIBS
22788 LIBS="-lexpat $LIBS"
22789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22790 /* end confdefs.h. */
22791
22792 /* Override any GCC internal prototype to avoid an error.
22793 Use char because int might match the return type of a GCC
22794 builtin and then its argument prototype would still apply. */
22795 #ifdef __cplusplus
22796 extern "C"
22797 #endif
22798 char XML_ParserCreate ();
22799 int
22800 main ()
22801 {
22802 return XML_ParserCreate ();
22803 ;
22804 return 0;
22805 }
22806 _ACEOF
22807 if ac_fn_c_try_link "$LINENO"; then :
22808 ac_cv_lib_expat_XML_ParserCreate=yes
22809 else
22810 ac_cv_lib_expat_XML_ParserCreate=no
22811 fi
22812 rm -f core conftest.err conftest.$ac_objext \
22813 conftest$ac_exeext conftest.$ac_ext
22814 LIBS=$ac_check_lib_save_LIBS
22815 fi
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22817 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22818 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
22819 EXPAT_LINK=" -lexpat"
22820 fi
22821
22822 fi
22823 fi
22824 if test "x$EXPAT_LINK" = "x" ; then
22825 if test "$wxUSE_EXPAT" = "sys" ; then
22826 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22827 else
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22829 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22830 wxUSE_EXPAT=builtin
22831 fi
22832 else
22833 wxUSE_EXPAT=sys
22834 fi
22835 fi
22836 if test "$wxUSE_EXPAT" = "builtin" ; then
22837 subdirs="$subdirs src/expat"
22838
22839 fi
22840 fi
22841
22842
22843
22844 if test "$wxUSE_LIBMSPACK" != "no"; then
22845 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22846 "
22847 if test "x$ac_cv_header_mspack_h" = x""yes; then :
22848 found_mspack_h=1
22849 fi
22850
22851
22852 if test "x$found_mspack_h" = "x1"; then
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22854 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22855 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then :
22856 $as_echo_n "(cached) " >&6
22857 else
22858 ac_check_lib_save_LIBS=$LIBS
22859 LIBS="-lmspack $LIBS"
22860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22861 /* end confdefs.h. */
22862
22863 /* Override any GCC internal prototype to avoid an error.
22864 Use char because int might match the return type of a GCC
22865 builtin and then its argument prototype would still apply. */
22866 #ifdef __cplusplus
22867 extern "C"
22868 #endif
22869 char mspack_create_chm_decompressor ();
22870 int
22871 main ()
22872 {
22873 return mspack_create_chm_decompressor ();
22874 ;
22875 return 0;
22876 }
22877 _ACEOF
22878 if ac_fn_c_try_link "$LINENO"; then :
22879 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22880 else
22881 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22882 fi
22883 rm -f core conftest.err conftest.$ac_objext \
22884 conftest$ac_exeext conftest.$ac_ext
22885 LIBS=$ac_check_lib_save_LIBS
22886 fi
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22888 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22889 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x""yes; then :
22890 MSPACK_LINK=" -lmspack"
22891 fi
22892
22893 fi
22894 if test "x$MSPACK_LINK" = "x" ; then
22895 wxUSE_LIBMSPACK=no
22896 fi
22897 fi
22898
22899 if test "$wxUSE_LIBMSPACK" != "no"; then
22900 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
22901
22902 fi
22903
22904
22905
22906 AFMINSTALL=
22907 WIN32INSTALL=
22908
22909 TOOLKIT=
22910 TOOLKIT_INCLUDE=
22911 WIDGET_SET=
22912
22913 if test "$USE_WIN32" = 1 ; then
22914 for ac_header in w32api.h
22915 do :
22916 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
22917 "
22918 if test "x$ac_cv_header_w32api_h" = x""yes; then :
22919 cat >>confdefs.h <<_ACEOF
22920 #define HAVE_W32API_H 1
22921 _ACEOF
22922
22923 fi
22924
22925 done
22926
22927 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
22928 "
22929 if test "x$ac_cv_header_windows_h" = x""yes; then :
22930
22931 else
22932
22933 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
22934
22935 fi
22936
22937
22938
22939 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
22940 case "${host}" in
22941 x86_64-*-mingw32* )
22942 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
22943 ;;
22944 esac
22945 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
22946 LIBS="$LIBS -loleacc"
22947 fi
22948
22949 case "${host}" in
22950 *-*-cygwin* )
22951 LIBS="$LIBS -lkernel32 -luser32"
22952 esac
22953
22954 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22955 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
22956
22957 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
22958
22959 WIN32INSTALL=win32install
22960 fi
22961
22962 if test "$wxUSE_GUI" = "yes"; then
22963 USE_GUI=1
22964
22965 GUI_TK_LIBRARY=
22966
22967 WXGTK1=
22968 WXGTK127=
22969 WXGTK2=
22970 WXGTK3=
22971 WXGPE=
22972
22973 if test "$wxUSE_OLD_COCOA" = 1 ; then
22974 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
22976 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
22977 wxUSE_PRINTING_ARCHITECTURE=no
22978 fi
22979 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
22981 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
22982 wxUSE_DRAG_AND_DROP=no
22983 fi
22984 if test "$wxUSE_DRAGIMAGE" = "yes"; then
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
22986 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
22987 wxUSE_DRAGIMAGE=no
22988 fi
22989 fi
22990
22991 if test "$wxUSE_MSW" = 1 ; then
22992 TOOLKIT=MSW
22993 GUIDIST=MSW_DIST
22994
22995 case "${host}" in
22996 *-*-mingw32* )
22997 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
22998 esac
22999 fi
23000
23001 if test "$wxUSE_GTK" = 1; then
23002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23003 $as_echo_n "checking for GTK+ version... " >&6; }
23004
23005 gtk_version_cached=1
23006 if test "${wx_cv_lib_gtk+set}" = set; then :
23007 $as_echo_n "(cached) " >&6
23008 else
23009
23010 gtk_version_cached=0
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23012 $as_echo "" >&6; }
23013
23014 GTK_MODULES=
23015 if test "$wxUSE_THREADS" = "yes"; then
23016 GTK_MODULES=gthread
23017 fi
23018
23019 if test -z "$wxGTK_VERSION"; then
23020 wxGTK_VERSION=any
23021 fi
23022
23023 wx_cv_lib_gtk=
23024 if test "x$wxGTK_VERSION" != "x1"
23025 then
23026 case "${host}" in
23027 *-*-solaris2* )
23028 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23029 enable_gtktest=no
23030 fi
23031 esac
23032
23033 if test "$wxGTK_VERSION" != 3; then
23034 # Check whether --enable-gtktest was given.
23035 if test "${enable_gtktest+set}" = set; then :
23036 enableval=$enable_gtktest;
23037 else
23038 enable_gtktest=yes
23039 fi
23040
23041
23042 pkg_config_args=gtk+-2.0
23043 for module in . $GTK_MODULES
23044 do
23045 case "$module" in
23046 gthread)
23047 pkg_config_args="$pkg_config_args gthread-2.0"
23048 ;;
23049 esac
23050 done
23051
23052 no_gtk=""
23053
23054 # Extract the first word of "pkg-config", so it can be a program name with args.
23055 set dummy pkg-config; ac_word=$2
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23057 $as_echo_n "checking for $ac_word... " >&6; }
23058 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23061 case $PKG_CONFIG in
23062 [\\/]* | ?:[\\/]*)
23063 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23064 ;;
23065 *)
23066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23067 for as_dir in $PATH
23068 do
23069 IFS=$as_save_IFS
23070 test -z "$as_dir" && as_dir=.
23071 for ac_exec_ext in '' $ac_executable_extensions; do
23072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23073 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23075 break 2
23076 fi
23077 done
23078 done
23079 IFS=$as_save_IFS
23080
23081 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23082 ;;
23083 esac
23084 fi
23085 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23086 if test -n "$PKG_CONFIG"; then
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23088 $as_echo "$PKG_CONFIG" >&6; }
23089 else
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23091 $as_echo "no" >&6; }
23092 fi
23093
23094
23095
23096 if test x$PKG_CONFIG != xno ; then
23097 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23098 :
23099 else
23100 echo "*** pkg-config too old; version 0.7 or better required."
23101 no_gtk=yes
23102 PKG_CONFIG=no
23103 fi
23104 else
23105 no_gtk=yes
23106 fi
23107
23108 min_gtk_version=2.6.0
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23110 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23111
23112 if test x$PKG_CONFIG != xno ; then
23113 ## don't try to run the test against uninstalled libtool libs
23114 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23115 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23116 enable_gtktest=no
23117 fi
23118
23119 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23120 :
23121 else
23122 no_gtk=yes
23123 fi
23124 fi
23125
23126 if test x"$no_gtk" = x ; then
23127 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23128 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23129 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23130 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23131 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23132 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23133 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23134 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23135 if test "x$enable_gtktest" = "xyes" ; then
23136 ac_save_CFLAGS="$CFLAGS"
23137 ac_save_LIBS="$LIBS"
23138 CFLAGS="$CFLAGS $GTK_CFLAGS"
23139 LIBS="$GTK_LIBS $LIBS"
23140 rm -f conf.gtktest
23141 if test "$cross_compiling" = yes; then :
23142 echo $ac_n "cross compiling; assumed OK... $ac_c"
23143 else
23144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23145 /* end confdefs.h. */
23146
23147 #include <gtk/gtk.h>
23148 #include <stdio.h>
23149 #include <stdlib.h>
23150
23151 int
23152 main ()
23153 {
23154 int major, minor, micro;
23155 char *tmp_version;
23156
23157 system ("touch conf.gtktest");
23158
23159 /* HP/UX 9 (%@#!) writes to sscanf strings */
23160 tmp_version = g_strdup("$min_gtk_version");
23161 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23162 printf("%s, bad version string\n", "$min_gtk_version");
23163 exit(1);
23164 }
23165
23166 if ((gtk_major_version != $gtk_config_major_version) ||
23167 (gtk_minor_version != $gtk_config_minor_version) ||
23168 (gtk_micro_version != $gtk_config_micro_version))
23169 {
23170 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23171 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23172 gtk_major_version, gtk_minor_version, gtk_micro_version);
23173 printf ("*** was found! If pkg-config was correct, then it is best\n");
23174 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23175 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23176 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23177 printf("*** required on your system.\n");
23178 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23179 printf("*** to point to the correct configuration files\n");
23180 }
23181 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23182 (gtk_minor_version != GTK_MINOR_VERSION) ||
23183 (gtk_micro_version != GTK_MICRO_VERSION))
23184 {
23185 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23186 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23187 printf("*** library (version %d.%d.%d)\n",
23188 gtk_major_version, gtk_minor_version, gtk_micro_version);
23189 }
23190 else
23191 {
23192 if ((gtk_major_version > major) ||
23193 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23194 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23195 {
23196 return 0;
23197 }
23198 else
23199 {
23200 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23201 gtk_major_version, gtk_minor_version, gtk_micro_version);
23202 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23203 major, minor, micro);
23204 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23205 printf("***\n");
23206 printf("*** If you have already installed a sufficiently new version, this error\n");
23207 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23208 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23209 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23210 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23211 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23212 printf("*** so that the correct libraries are found at run-time))\n");
23213 }
23214 }
23215 return 1;
23216 }
23217
23218 _ACEOF
23219 if ac_fn_c_try_run "$LINENO"; then :
23220
23221 else
23222 no_gtk=yes
23223 fi
23224 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23225 conftest.$ac_objext conftest.beam conftest.$ac_ext
23226 fi
23227
23228 CFLAGS="$ac_save_CFLAGS"
23229 LIBS="$ac_save_LIBS"
23230 fi
23231 fi
23232 if test "x$no_gtk" = x ; then
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23234 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23235 wx_cv_lib_gtk=2.0
23236 else
23237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23238 $as_echo "no" >&6; }
23239 if test "$PKG_CONFIG" = "no" ; then
23240 echo "*** A new enough version of pkg-config was not found."
23241 echo "*** See http://pkgconfig.sourceforge.net"
23242 else
23243 if test -f conf.gtktest ; then
23244 :
23245 else
23246 echo "*** Could not run GTK+ test program, checking why..."
23247 ac_save_CFLAGS="$CFLAGS"
23248 ac_save_LIBS="$LIBS"
23249 CFLAGS="$CFLAGS $GTK_CFLAGS"
23250 LIBS="$LIBS $GTK_LIBS"
23251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23252 /* end confdefs.h. */
23253
23254 #include <gtk/gtk.h>
23255 #include <stdio.h>
23256
23257 int
23258 main ()
23259 {
23260 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23261 ;
23262 return 0;
23263 }
23264 _ACEOF
23265 if ac_fn_c_try_link "$LINENO"; then :
23266 echo "*** The test program compiled, but did not run. This usually means"
23267 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23268 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23269 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23270 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23271 echo "*** is required on your system"
23272 echo "***"
23273 echo "*** If you have an old version installed, it is best to remove it, although"
23274 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23275 else
23276 echo "*** The test program failed to compile or link. See the file config.log for the"
23277 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23278 fi
23279 rm -f core conftest.err conftest.$ac_objext \
23280 conftest$ac_exeext conftest.$ac_ext
23281 CFLAGS="$ac_save_CFLAGS"
23282 LIBS="$ac_save_LIBS"
23283 fi
23284 fi
23285 GTK_CFLAGS=""
23286 GTK_LIBS=""
23287 :
23288 fi
23289
23290
23291 rm -f conf.gtktest
23292
23293 fi
23294 if test -z "$wx_cv_lib_gtk"; then
23295 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
23296 # Check whether --enable-gtktest was given.
23297 if test "${enable_gtktest+set}" = set; then :
23298 enableval=$enable_gtktest;
23299 else
23300 enable_gtktest=yes
23301 fi
23302
23303
23304 pkg_config_args=gtk+-3.0
23305 for module in . $GTK_MODULES
23306 do
23307 case "$module" in
23308 gthread)
23309 pkg_config_args="$pkg_config_args gthread-2.0"
23310 ;;
23311 esac
23312 done
23313
23314 no_gtk=""
23315
23316 # Extract the first word of "pkg-config", so it can be a program name with args.
23317 set dummy pkg-config; ac_word=$2
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23319 $as_echo_n "checking for $ac_word... " >&6; }
23320 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23321 $as_echo_n "(cached) " >&6
23322 else
23323 case $PKG_CONFIG in
23324 [\\/]* | ?:[\\/]*)
23325 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23326 ;;
23327 *)
23328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23329 for as_dir in $PATH
23330 do
23331 IFS=$as_save_IFS
23332 test -z "$as_dir" && as_dir=.
23333 for ac_exec_ext in '' $ac_executable_extensions; do
23334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23335 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23337 break 2
23338 fi
23339 done
23340 done
23341 IFS=$as_save_IFS
23342
23343 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23344 ;;
23345 esac
23346 fi
23347 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23348 if test -n "$PKG_CONFIG"; then
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23350 $as_echo "$PKG_CONFIG" >&6; }
23351 else
23352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23353 $as_echo "no" >&6; }
23354 fi
23355
23356
23357
23358 if test x$PKG_CONFIG != xno ; then
23359 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23360 :
23361 else
23362 echo "*** pkg-config too old; version 0.7 or better required."
23363 no_gtk=yes
23364 PKG_CONFIG=no
23365 fi
23366 else
23367 no_gtk=yes
23368 fi
23369
23370 min_gtk_version=3.0.0
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23372 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23373
23374 if test x$PKG_CONFIG != xno ; then
23375 ## don't try to run the test against uninstalled libtool libs
23376 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23377 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23378 enable_gtktest=no
23379 fi
23380
23381 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23382 :
23383 else
23384 no_gtk=yes
23385 fi
23386 fi
23387
23388 if test x"$no_gtk" = x ; then
23389 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23390 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23391 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23393 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23395 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
23396 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23397 if test "x$enable_gtktest" = "xyes" ; then
23398 ac_save_CFLAGS="$CFLAGS"
23399 ac_save_LIBS="$LIBS"
23400 CFLAGS="$CFLAGS $GTK_CFLAGS"
23401 LIBS="$GTK_LIBS $LIBS"
23402 rm -f conf.gtktest
23403 if test "$cross_compiling" = yes; then :
23404 echo $ac_n "cross compiling; assumed OK... $ac_c"
23405 else
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408
23409 #include <gtk/gtk.h>
23410 #include <stdio.h>
23411 #include <stdlib.h>
23412
23413 int
23414 main ()
23415 {
23416 int major, minor, micro;
23417 char *tmp_version;
23418
23419 fclose (fopen ("conf.gtktest", "w"));
23420
23421 /* HP/UX 9 (%@#!) writes to sscanf strings */
23422 tmp_version = g_strdup("$min_gtk_version");
23423 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23424 printf("%s, bad version string\n", "$min_gtk_version");
23425 exit(1);
23426 }
23427
23428 if ((gtk_major_version != $gtk_config_major_version) ||
23429 (gtk_minor_version != $gtk_config_minor_version) ||
23430 (gtk_micro_version != $gtk_config_micro_version))
23431 {
23432 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23433 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23434 gtk_major_version, gtk_minor_version, gtk_micro_version);
23435 printf ("*** was found! If pkg-config was correct, then it is best\n");
23436 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23437 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23438 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23439 printf("*** required on your system.\n");
23440 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23441 printf("*** to point to the correct configuration files\n");
23442 }
23443 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23444 (gtk_minor_version != GTK_MINOR_VERSION) ||
23445 (gtk_micro_version != GTK_MICRO_VERSION))
23446 {
23447 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23448 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23449 printf("*** library (version %d.%d.%d)\n",
23450 gtk_major_version, gtk_minor_version, gtk_micro_version);
23451 }
23452 else
23453 {
23454 if ((gtk_major_version > major) ||
23455 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23456 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23457 {
23458 return 0;
23459 }
23460 else
23461 {
23462 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23463 gtk_major_version, gtk_minor_version, gtk_micro_version);
23464 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23465 major, minor, micro);
23466 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23467 printf("***\n");
23468 printf("*** If you have already installed a sufficiently new version, this error\n");
23469 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23470 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23471 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23472 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23473 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23474 printf("*** so that the correct libraries are found at run-time))\n");
23475 }
23476 }
23477 return 1;
23478 }
23479
23480 _ACEOF
23481 if ac_fn_c_try_run "$LINENO"; then :
23482
23483 else
23484 no_gtk=yes
23485 fi
23486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23487 conftest.$ac_objext conftest.beam conftest.$ac_ext
23488 fi
23489
23490 CFLAGS="$ac_save_CFLAGS"
23491 LIBS="$ac_save_LIBS"
23492 fi
23493 fi
23494 if test "x$no_gtk" = x ; then
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23496 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23497 wx_cv_lib_gtk=3
23498 else
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23500 $as_echo "no" >&6; }
23501 if test "$PKG_CONFIG" = "no" ; then
23502 echo "*** A new enough version of pkg-config was not found."
23503 echo "*** See http://pkgconfig.sourceforge.net"
23504 else
23505 if test -f conf.gtktest ; then
23506 :
23507 else
23508 echo "*** Could not run GTK+ test program, checking why..."
23509 ac_save_CFLAGS="$CFLAGS"
23510 ac_save_LIBS="$LIBS"
23511 CFLAGS="$CFLAGS $GTK_CFLAGS"
23512 LIBS="$LIBS $GTK_LIBS"
23513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23514 /* end confdefs.h. */
23515
23516 #include <gtk/gtk.h>
23517 #include <stdio.h>
23518
23519 int
23520 main ()
23521 {
23522 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23523 ;
23524 return 0;
23525 }
23526 _ACEOF
23527 if ac_fn_c_try_link "$LINENO"; then :
23528 echo "*** The test program compiled, but did not run. This usually means"
23529 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23530 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23531 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23532 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23533 echo "*** is required on your system"
23534 echo "***"
23535 echo "*** If you have an old version installed, it is best to remove it, although"
23536 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23537 else
23538 echo "*** The test program failed to compile or link. See the file config.log for the"
23539 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23540 fi
23541 rm -f core conftest.err conftest.$ac_objext \
23542 conftest$ac_exeext conftest.$ac_ext
23543 CFLAGS="$ac_save_CFLAGS"
23544 LIBS="$ac_save_LIBS"
23545 fi
23546 fi
23547 GTK_CFLAGS=""
23548 GTK_LIBS=""
23549 :
23550 fi
23551
23552
23553 rm -f conf.gtktest
23554
23555 fi
23556 fi
23557 fi
23558
23559 if test -z "$wx_cv_lib_gtk"; then
23560 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23561
23562 # Check whether --with-gtk-prefix was given.
23563 if test "${with_gtk_prefix+set}" = set; then :
23564 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23565 else
23566 gtk_config_prefix=""
23567 fi
23568
23569
23570 # Check whether --with-gtk-exec-prefix was given.
23571 if test "${with_gtk_exec_prefix+set}" = set; then :
23572 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23573 else
23574 gtk_config_exec_prefix=""
23575 fi
23576
23577 # Check whether --enable-gtktest was given.
23578 if test "${enable_gtktest+set}" = set; then :
23579 enableval=$enable_gtktest;
23580 else
23581 enable_gtktest=yes
23582 fi
23583
23584
23585 for module in . $GTK_MODULES
23586 do
23587 case "$module" in
23588 gthread)
23589 gtk_config_args="$gtk_config_args gthread"
23590 ;;
23591 esac
23592 done
23593
23594 if test x$gtk_config_exec_prefix != x ; then
23595 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23596 if test x${GTK_CONFIG+set} != xset ; then
23597 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23598 fi
23599 fi
23600 if test x$gtk_config_prefix != x ; then
23601 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23602 if test x${GTK_CONFIG+set} != xset ; then
23603 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23604 fi
23605 fi
23606
23607 # Extract the first word of "gtk-config", so it can be a program name with args.
23608 set dummy gtk-config; ac_word=$2
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23610 $as_echo_n "checking for $ac_word... " >&6; }
23611 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23612 $as_echo_n "(cached) " >&6
23613 else
23614 case $GTK_CONFIG in
23615 [\\/]* | ?:[\\/]*)
23616 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23617 ;;
23618 *)
23619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23620 for as_dir in $PATH
23621 do
23622 IFS=$as_save_IFS
23623 test -z "$as_dir" && as_dir=.
23624 for ac_exec_ext in '' $ac_executable_extensions; do
23625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23626 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23628 break 2
23629 fi
23630 done
23631 done
23632 IFS=$as_save_IFS
23633
23634 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23635 ;;
23636 esac
23637 fi
23638 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23639 if test -n "$GTK_CONFIG"; then
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23641 $as_echo "$GTK_CONFIG" >&6; }
23642 else
23643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23644 $as_echo "no" >&6; }
23645 fi
23646
23647
23648 min_gtk_version=1.2.7
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23650 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23651 no_gtk=""
23652 if test "$GTK_CONFIG" = "no" ; then
23653 no_gtk=yes
23654 else
23655 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23656 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23657 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23659 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23661 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23663 if test "x$enable_gtktest" = "xyes" ; then
23664 ac_save_CFLAGS="$CFLAGS"
23665 ac_save_LIBS="$LIBS"
23666 CFLAGS="$CFLAGS $GTK_CFLAGS"
23667 LIBS="$GTK_LIBS $LIBS"
23668 rm -f conf.gtktest
23669 if test "$cross_compiling" = yes; then :
23670 echo $ac_n "cross compiling; assumed OK... $ac_c"
23671 else
23672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23673 /* end confdefs.h. */
23674
23675 #include <gtk/gtk.h>
23676 #include <stdio.h>
23677 #include <stdlib.h>
23678
23679 int
23680 main ()
23681 {
23682 int major, minor, micro;
23683 char *tmp_version;
23684
23685 system ("touch conf.gtktest");
23686
23687 /* HP/UX 9 (%@#!) writes to sscanf strings */
23688 tmp_version = g_strdup("$min_gtk_version");
23689 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23690 printf("%s, bad version string\n", "$min_gtk_version");
23691 exit(1);
23692 }
23693
23694 if ((gtk_major_version != $gtk_config_major_version) ||
23695 (gtk_minor_version != $gtk_config_minor_version) ||
23696 (gtk_micro_version != $gtk_config_micro_version))
23697 {
23698 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23699 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23700 gtk_major_version, gtk_minor_version, gtk_micro_version);
23701 printf ("*** was found! If gtk-config was correct, then it is best\n");
23702 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23703 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23704 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23705 printf("*** required on your system.\n");
23706 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23707 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23708 printf("*** before re-running configure\n");
23709 }
23710 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23711 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23712 (gtk_minor_version != GTK_MINOR_VERSION) ||
23713 (gtk_micro_version != GTK_MICRO_VERSION))
23714 {
23715 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23716 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23717 printf("*** library (version %d.%d.%d)\n",
23718 gtk_major_version, gtk_minor_version, gtk_micro_version);
23719 }
23720 #endif /* defined (GTK_MAJOR_VERSION) ... */
23721 else
23722 {
23723 if ((gtk_major_version > major) ||
23724 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23725 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23726 {
23727 return 0;
23728 }
23729 else
23730 {
23731 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23732 gtk_major_version, gtk_minor_version, gtk_micro_version);
23733 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23734 major, minor, micro);
23735 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23736 printf("***\n");
23737 printf("*** If you have already installed a sufficiently new version, this error\n");
23738 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23739 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23740 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23741 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23742 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23743 printf("*** so that the correct libraries are found at run-time))\n");
23744 }
23745 }
23746 return 1;
23747 }
23748
23749 _ACEOF
23750 if ac_fn_c_try_run "$LINENO"; then :
23751
23752 else
23753 no_gtk=yes
23754 fi
23755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23756 conftest.$ac_objext conftest.beam conftest.$ac_ext
23757 fi
23758
23759 CFLAGS="$ac_save_CFLAGS"
23760 LIBS="$ac_save_LIBS"
23761 fi
23762 fi
23763 if test "x$no_gtk" = x ; then
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23765 $as_echo "yes" >&6; }
23766 wx_cv_lib_gtk=1.2.7
23767 else
23768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23769 $as_echo "no" >&6; }
23770 if test "$GTK_CONFIG" = "no" ; then
23771 echo "*** The gtk-config script installed by GTK could not be found"
23772 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23773 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23774 echo "*** full path to gtk-config."
23775 else
23776 if test -f conf.gtktest ; then
23777 :
23778 else
23779 echo "*** Could not run GTK test program, checking why..."
23780 CFLAGS="$CFLAGS $GTK_CFLAGS"
23781 LIBS="$LIBS $GTK_LIBS"
23782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23783 /* end confdefs.h. */
23784
23785 #include <gtk/gtk.h>
23786 #include <stdio.h>
23787
23788 int
23789 main ()
23790 {
23791 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23792 ;
23793 return 0;
23794 }
23795 _ACEOF
23796 if ac_fn_c_try_link "$LINENO"; then :
23797 echo "*** The test program compiled, but did not run. This usually means"
23798 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23799 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23800 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23801 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23802 echo "*** is required on your system"
23803 echo "***"
23804 echo "*** If you have an old version installed, it is best to remove it, although"
23805 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23806 echo "***"
23807 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23808 echo "*** came with the system with the command"
23809 echo "***"
23810 echo "*** rpm --erase --nodeps gtk gtk-devel"
23811 else
23812 echo "*** The test program failed to compile or link. See the file config.log for the"
23813 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23814 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23815 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23816 fi
23817 rm -f core conftest.err conftest.$ac_objext \
23818 conftest$ac_exeext conftest.$ac_ext
23819 CFLAGS="$ac_save_CFLAGS"
23820 LIBS="$ac_save_LIBS"
23821 fi
23822 fi
23823 GTK_CFLAGS=""
23824 GTK_LIBS=""
23825 :
23826 fi
23827
23828
23829 rm -f conf.gtktest
23830
23831
23832 if test -z "$wx_cv_lib_gtk"; then
23833
23834 # Check whether --with-gtk-prefix was given.
23835 if test "${with_gtk_prefix+set}" = set; then :
23836 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23837 else
23838 gtk_config_prefix=""
23839 fi
23840
23841
23842 # Check whether --with-gtk-exec-prefix was given.
23843 if test "${with_gtk_exec_prefix+set}" = set; then :
23844 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23845 else
23846 gtk_config_exec_prefix=""
23847 fi
23848
23849 # Check whether --enable-gtktest was given.
23850 if test "${enable_gtktest+set}" = set; then :
23851 enableval=$enable_gtktest;
23852 else
23853 enable_gtktest=yes
23854 fi
23855
23856
23857 for module in . $GTK_MODULES
23858 do
23859 case "$module" in
23860 gthread)
23861 gtk_config_args="$gtk_config_args gthread"
23862 ;;
23863 esac
23864 done
23865
23866 if test x$gtk_config_exec_prefix != x ; then
23867 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23868 if test x${GTK_CONFIG+set} != xset ; then
23869 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23870 fi
23871 fi
23872 if test x$gtk_config_prefix != x ; then
23873 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23874 if test x${GTK_CONFIG+set} != xset ; then
23875 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23876 fi
23877 fi
23878
23879 # Extract the first word of "gtk-config", so it can be a program name with args.
23880 set dummy gtk-config; ac_word=$2
23881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23882 $as_echo_n "checking for $ac_word... " >&6; }
23883 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23886 case $GTK_CONFIG in
23887 [\\/]* | ?:[\\/]*)
23888 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23889 ;;
23890 *)
23891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23892 for as_dir in $PATH
23893 do
23894 IFS=$as_save_IFS
23895 test -z "$as_dir" && as_dir=.
23896 for ac_exec_ext in '' $ac_executable_extensions; do
23897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23898 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23900 break 2
23901 fi
23902 done
23903 done
23904 IFS=$as_save_IFS
23905
23906 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23907 ;;
23908 esac
23909 fi
23910 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23911 if test -n "$GTK_CONFIG"; then
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23913 $as_echo "$GTK_CONFIG" >&6; }
23914 else
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23916 $as_echo "no" >&6; }
23917 fi
23918
23919
23920 min_gtk_version=1.2.3
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23922 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23923 no_gtk=""
23924 if test "$GTK_CONFIG" = "no" ; then
23925 no_gtk=yes
23926 else
23927 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23928 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23929 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23930 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23931 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23933 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23935 if test "x$enable_gtktest" = "xyes" ; then
23936 ac_save_CFLAGS="$CFLAGS"
23937 ac_save_LIBS="$LIBS"
23938 CFLAGS="$CFLAGS $GTK_CFLAGS"
23939 LIBS="$GTK_LIBS $LIBS"
23940 rm -f conf.gtktest
23941 if test "$cross_compiling" = yes; then :
23942 echo $ac_n "cross compiling; assumed OK... $ac_c"
23943 else
23944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23945 /* end confdefs.h. */
23946
23947 #include <gtk/gtk.h>
23948 #include <stdio.h>
23949 #include <stdlib.h>
23950
23951 int
23952 main ()
23953 {
23954 int major, minor, micro;
23955 char *tmp_version;
23956
23957 system ("touch conf.gtktest");
23958
23959 /* HP/UX 9 (%@#!) writes to sscanf strings */
23960 tmp_version = g_strdup("$min_gtk_version");
23961 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23962 printf("%s, bad version string\n", "$min_gtk_version");
23963 exit(1);
23964 }
23965
23966 if ((gtk_major_version != $gtk_config_major_version) ||
23967 (gtk_minor_version != $gtk_config_minor_version) ||
23968 (gtk_micro_version != $gtk_config_micro_version))
23969 {
23970 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23971 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23972 gtk_major_version, gtk_minor_version, gtk_micro_version);
23973 printf ("*** was found! If gtk-config was correct, then it is best\n");
23974 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23975 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23976 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23977 printf("*** required on your system.\n");
23978 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23979 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23980 printf("*** before re-running configure\n");
23981 }
23982 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23983 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23984 (gtk_minor_version != GTK_MINOR_VERSION) ||
23985 (gtk_micro_version != GTK_MICRO_VERSION))
23986 {
23987 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23988 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23989 printf("*** library (version %d.%d.%d)\n",
23990 gtk_major_version, gtk_minor_version, gtk_micro_version);
23991 }
23992 #endif /* defined (GTK_MAJOR_VERSION) ... */
23993 else
23994 {
23995 if ((gtk_major_version > major) ||
23996 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23997 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23998 {
23999 return 0;
24000 }
24001 else
24002 {
24003 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24004 gtk_major_version, gtk_minor_version, gtk_micro_version);
24005 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24006 major, minor, micro);
24007 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24008 printf("***\n");
24009 printf("*** If you have already installed a sufficiently new version, this error\n");
24010 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24011 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24012 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24013 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24014 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24015 printf("*** so that the correct libraries are found at run-time))\n");
24016 }
24017 }
24018 return 1;
24019 }
24020
24021 _ACEOF
24022 if ac_fn_c_try_run "$LINENO"; then :
24023
24024 else
24025 no_gtk=yes
24026 fi
24027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24028 conftest.$ac_objext conftest.beam conftest.$ac_ext
24029 fi
24030
24031 CFLAGS="$ac_save_CFLAGS"
24032 LIBS="$ac_save_LIBS"
24033 fi
24034 fi
24035 if test "x$no_gtk" = x ; then
24036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24037 $as_echo "yes" >&6; }
24038 wx_cv_lib_gtk=1.2.3
24039 else
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24041 $as_echo "no" >&6; }
24042 if test "$GTK_CONFIG" = "no" ; then
24043 echo "*** The gtk-config script installed by GTK could not be found"
24044 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24045 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24046 echo "*** full path to gtk-config."
24047 else
24048 if test -f conf.gtktest ; then
24049 :
24050 else
24051 echo "*** Could not run GTK test program, checking why..."
24052 CFLAGS="$CFLAGS $GTK_CFLAGS"
24053 LIBS="$LIBS $GTK_LIBS"
24054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24055 /* end confdefs.h. */
24056
24057 #include <gtk/gtk.h>
24058 #include <stdio.h>
24059
24060 int
24061 main ()
24062 {
24063 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24064 ;
24065 return 0;
24066 }
24067 _ACEOF
24068 if ac_fn_c_try_link "$LINENO"; then :
24069 echo "*** The test program compiled, but did not run. This usually means"
24070 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24071 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24072 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24073 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24074 echo "*** is required on your system"
24075 echo "***"
24076 echo "*** If you have an old version installed, it is best to remove it, although"
24077 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24078 echo "***"
24079 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24080 echo "*** came with the system with the command"
24081 echo "***"
24082 echo "*** rpm --erase --nodeps gtk gtk-devel"
24083 else
24084 echo "*** The test program failed to compile or link. See the file config.log for the"
24085 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24086 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24087 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24088 fi
24089 rm -f core conftest.err conftest.$ac_objext \
24090 conftest$ac_exeext conftest.$ac_ext
24091 CFLAGS="$ac_save_CFLAGS"
24092 LIBS="$ac_save_LIBS"
24093 fi
24094 fi
24095 GTK_CFLAGS=""
24096 GTK_LIBS=""
24097 :
24098 fi
24099
24100
24101 rm -f conf.gtktest
24102
24103 fi
24104 fi
24105 fi
24106
24107 if test -z "$wx_cv_lib_gtk"; then
24108 wx_cv_lib_gtk=none
24109 else
24110 GTK_LIBS="$GTK_LIBS -lX11"
24111
24112 wx_cv_cflags_gtk=$GTK_CFLAGS
24113 wx_cv_libs_gtk=$GTK_LIBS
24114 fi
24115
24116
24117 fi
24118
24119
24120 if test "$gtk_version_cached" = 1; then
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24122 $as_echo "$wx_cv_lib_gtk" >&6; }
24123 fi
24124
24125 case "$wx_cv_lib_gtk" in
24126 3) WXGTK3=1
24127 TOOLKIT_VERSION=3
24128 ;;
24129 2.0) WXGTK2=1
24130 TOOLKIT_VERSION=2
24131 ;;
24132 1.2.7) WXGTK127=1
24133 WXGTK1=1
24134 ;;
24135 1.2*) WXGTK1=1 ;;
24136 *) as_fn_error $? "
24137 The development files for GTK+ were not found. For GTK+ 2, please
24138 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24139 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24140 and that the version is 1.2.3 or above. Also check that the
24141 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24142 --libs' are in the LD_LIBRARY_PATH or equivalent.
24143 " "$LINENO" 5
24144 ;;
24145 esac
24146
24147 if test "$WXGTK3" = 1; then
24148 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24149
24150 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24151
24152 elif test "$WXGTK2" = 1; then
24153 save_CFLAGS="$CFLAGS"
24154 save_LIBS="$LIBS"
24155 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
24156 LIBS="$LIBS $wx_cv_libs_gtk"
24157
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24159 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24161 /* end confdefs.h. */
24162
24163 #include <gtk/gtk.h>
24164
24165 int
24166 main ()
24167 {
24168
24169 #if !GTK_CHECK_VERSION(2,18,0)
24170 Not GTK+ 2.18
24171 #endif
24172
24173 ;
24174 return 0;
24175 }
24176 _ACEOF
24177 if ac_fn_c_try_compile "$LINENO"; then :
24178
24179 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24180
24181 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24182
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24184 $as_echo "yes" >&6; }
24185 ac_wxgtk218=1
24186
24187 else
24188
24189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24190 $as_echo "no" >&6; }
24191 ac_wxgtk218=0
24192
24193 fi
24194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24195
24196 if test "$ac_wxgtk218" = 0; then
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24198 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24200 /* end confdefs.h. */
24201
24202 #include <gtk/gtk.h>
24203
24204 int
24205 main ()
24206 {
24207
24208 #if !GTK_CHECK_VERSION(2,10,0)
24209 Not GTK+ 2.10
24210 #endif
24211
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 if ac_fn_c_try_compile "$LINENO"; then :
24217
24218 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24219
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24221 $as_echo "yes" >&6; }
24222 ac_wxgtk210=1
24223
24224 else
24225
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24227 $as_echo "no" >&6; }
24228 ac_wxgtk210=0
24229
24230 fi
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 fi
24233
24234 CFLAGS="$save_CFLAGS"
24235 LIBS="$save_LIBS"
24236 else
24237 if test "$wxUSE_UNICODE" = "yes"; then
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24239 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24240 wxUSE_UNICODE=no
24241 fi
24242
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24244 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24245 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then :
24246 $as_echo_n "(cached) " >&6
24247 else
24248 ac_check_lib_save_LIBS=$LIBS
24249 LIBS="-lgdk $LIBS"
24250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24251 /* end confdefs.h. */
24252
24253 /* Override any GCC internal prototype to avoid an error.
24254 Use char because int might match the return type of a GCC
24255 builtin and then its argument prototype would still apply. */
24256 #ifdef __cplusplus
24257 extern "C"
24258 #endif
24259 char gdk_im_open ();
24260 int
24261 main ()
24262 {
24263 return gdk_im_open ();
24264 ;
24265 return 0;
24266 }
24267 _ACEOF
24268 if ac_fn_c_try_link "$LINENO"; then :
24269 ac_cv_lib_gdk_gdk_im_open=yes
24270 else
24271 ac_cv_lib_gdk_gdk_im_open=no
24272 fi
24273 rm -f core conftest.err conftest.$ac_objext \
24274 conftest$ac_exeext conftest.$ac_ext
24275 LIBS=$ac_check_lib_save_LIBS
24276 fi
24277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24278 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24279 if test "x$ac_cv_lib_gdk_gdk_im_open" = x""yes; then :
24280 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24281
24282 fi
24283
24284
24285 if test "$USE_DARWIN" != 1; then
24286 for ac_func in poll
24287 do :
24288 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24289 if test "x$ac_cv_func_poll" = x""yes; then :
24290 cat >>confdefs.h <<_ACEOF
24291 #define HAVE_POLL 1
24292 _ACEOF
24293
24294 fi
24295 done
24296
24297 fi
24298 fi
24299
24300 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24301 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24302 AFMINSTALL=afminstall
24303 TOOLKIT=GTK
24304 GUIDIST=GTK_DIST
24305
24306 if test "$wxUSE_GPE" = "yes"; then
24307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24308 $as_echo_n "checking for gpewidget library... " >&6; }
24309
24310 ac_find_libraries=
24311 for ac_dir in $SEARCH_LIB
24312 do
24313 for ac_extension in a so sl dylib dll.a; do
24314 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24315 ac_find_libraries=$ac_dir
24316 break 2
24317 fi
24318 done
24319 done
24320
24321 if test "$ac_find_libraries" != "" ; then
24322
24323 if test "$ac_find_libraries" = "default location"; then
24324 ac_path_to_link=""
24325 else
24326 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24327 result=$?
24328 if test $result = 0; then
24329 ac_path_to_link=""
24330 else
24331 ac_path_to_link=" -L$ac_find_libraries"
24332 fi
24333 fi
24334
24335 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24336 WXGPE=1
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24338 $as_echo "found in $ac_find_libraries" >&6; }
24339 else
24340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24341 $as_echo "not found" >&6; }
24342 fi
24343
24344 fi
24345 fi
24346
24347 if test "$wxUSE_DFB" = 1; then
24348
24349
24350 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24351 if test -n "$ac_tool_prefix"; then
24352 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24353 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24355 $as_echo_n "checking for $ac_word... " >&6; }
24356 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24357 $as_echo_n "(cached) " >&6
24358 else
24359 case $PKG_CONFIG in
24360 [\\/]* | ?:[\\/]*)
24361 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24362 ;;
24363 *)
24364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24365 for as_dir in $PATH
24366 do
24367 IFS=$as_save_IFS
24368 test -z "$as_dir" && as_dir=.
24369 for ac_exec_ext in '' $ac_executable_extensions; do
24370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24371 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24373 break 2
24374 fi
24375 done
24376 done
24377 IFS=$as_save_IFS
24378
24379 ;;
24380 esac
24381 fi
24382 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24383 if test -n "$PKG_CONFIG"; then
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24385 $as_echo "$PKG_CONFIG" >&6; }
24386 else
24387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24388 $as_echo "no" >&6; }
24389 fi
24390
24391
24392 fi
24393 if test -z "$ac_cv_path_PKG_CONFIG"; then
24394 ac_pt_PKG_CONFIG=$PKG_CONFIG
24395 # Extract the first word of "pkg-config", so it can be a program name with args.
24396 set dummy pkg-config; ac_word=$2
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24398 $as_echo_n "checking for $ac_word... " >&6; }
24399 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
24400 $as_echo_n "(cached) " >&6
24401 else
24402 case $ac_pt_PKG_CONFIG in
24403 [\\/]* | ?:[\\/]*)
24404 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24405 ;;
24406 *)
24407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24408 for as_dir in $PATH
24409 do
24410 IFS=$as_save_IFS
24411 test -z "$as_dir" && as_dir=.
24412 for ac_exec_ext in '' $ac_executable_extensions; do
24413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24414 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24416 break 2
24417 fi
24418 done
24419 done
24420 IFS=$as_save_IFS
24421
24422 ;;
24423 esac
24424 fi
24425 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24426 if test -n "$ac_pt_PKG_CONFIG"; then
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24428 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24429 else
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24431 $as_echo "no" >&6; }
24432 fi
24433
24434 if test "x$ac_pt_PKG_CONFIG" = x; then
24435 PKG_CONFIG=""
24436 else
24437 case $cross_compiling:$ac_tool_warned in
24438 yes:)
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24441 ac_tool_warned=yes ;;
24442 esac
24443 PKG_CONFIG=$ac_pt_PKG_CONFIG
24444 fi
24445 else
24446 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24447 fi
24448
24449 fi
24450 if test -n "$PKG_CONFIG"; then
24451 _pkg_min_version=0.9.0
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24453 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24454 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24456 $as_echo "yes" >&6; }
24457 else
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24459 $as_echo "no" >&6; }
24460 PKG_CONFIG=""
24461 fi
24462
24463 fi
24464
24465
24466 pkg_failed=no
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24468 $as_echo_n "checking for DIRECTFB... " >&6; }
24469
24470 if test -n "$PKG_CONFIG"; then
24471 if test -n "$DIRECTFB_CFLAGS"; then
24472 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24473 else
24474 if test -n "$PKG_CONFIG" && \
24475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24476 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24477 ac_status=$?
24478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24479 test $ac_status = 0; }; then
24480 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24481 else
24482 pkg_failed=yes
24483 fi
24484 fi
24485 else
24486 pkg_failed=untried
24487 fi
24488 if test -n "$PKG_CONFIG"; then
24489 if test -n "$DIRECTFB_LIBS"; then
24490 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24491 else
24492 if test -n "$PKG_CONFIG" && \
24493 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24494 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24495 ac_status=$?
24496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24497 test $ac_status = 0; }; then
24498 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24499 else
24500 pkg_failed=yes
24501 fi
24502 fi
24503 else
24504 pkg_failed=untried
24505 fi
24506
24507
24508
24509 if test $pkg_failed = yes; then
24510
24511 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24512 _pkg_short_errors_supported=yes
24513 else
24514 _pkg_short_errors_supported=no
24515 fi
24516 if test $_pkg_short_errors_supported = yes; then
24517 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24518 else
24519 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24520 fi
24521 # Put the nasty error message in config.log where it belongs
24522 echo "$DIRECTFB_PKG_ERRORS" >&5
24523
24524
24525 as_fn_error $? "DirectFB not found." "$LINENO" 5
24526
24527
24528 elif test $pkg_failed = untried; then
24529
24530 as_fn_error $? "DirectFB not found." "$LINENO" 5
24531
24532
24533 else
24534 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24535 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24537 $as_echo "yes" >&6; }
24538
24539 wxUSE_UNIVERSAL="yes"
24540 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24541 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24542 TOOLKIT=DFB
24543 GUIDIST=DFB_DIST
24544
24545 fi
24546 fi
24547
24548 if test "$wxUSE_MICROWIN" = 1; then
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24550 $as_echo_n "checking for MicroWindows... " >&6; }
24551 if test "x$MICROWINDOWS" = x ; then
24552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24553 $as_echo "not found" >&6; }
24554 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24555 else
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24557 $as_echo "$MICROWINDOWS" >&6; }
24558 fi
24559
24560 if test -f $MICROWINDOWS/lib/libmwin.a; then
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24562 $as_echo "MicroWindows' libraries found." >&6; }
24563 else
24564 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24565 fi
24566
24567 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24568 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24569
24570 wxUSE_UNIVERSAL="yes"
24571
24572 AFMINSTALL=afminstall
24573 TOOLKIT=MICROWIN
24574 GUIDIST=MICROWIN_DIST
24575
24576 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24577 fi
24578
24579 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24581 $as_echo_n "checking for X... " >&6; }
24582
24583
24584 # Check whether --with-x was given.
24585 if test "${with_x+set}" = set; then :
24586 withval=$with_x;
24587 fi
24588
24589 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24590 if test "x$with_x" = xno; then
24591 # The user explicitly disabled X.
24592 have_x=disabled
24593 else
24594 case $x_includes,$x_libraries in #(
24595 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
24596 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24597 $as_echo_n "(cached) " >&6
24598 else
24599 # One or both of the vars are not set, and there is no cached value.
24600 ac_x_includes=no ac_x_libraries=no
24601 rm -f -r conftest.dir
24602 if mkdir conftest.dir; then
24603 cd conftest.dir
24604 cat >Imakefile <<'_ACEOF'
24605 incroot:
24606 @echo incroot='${INCROOT}'
24607 usrlibdir:
24608 @echo usrlibdir='${USRLIBDIR}'
24609 libdir:
24610 @echo libdir='${LIBDIR}'
24611 _ACEOF
24612 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24613 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24614 for ac_var in incroot usrlibdir libdir; do
24615 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24616 done
24617 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24618 for ac_extension in a so sl dylib la dll; do
24619 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24620 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24621 ac_im_usrlibdir=$ac_im_libdir; break
24622 fi
24623 done
24624 # Screen out bogus values from the imake configuration. They are
24625 # bogus both because they are the default anyway, and because
24626 # using them would break gcc on systems where it needs fixed includes.
24627 case $ac_im_incroot in
24628 /usr/include) ac_x_includes= ;;
24629 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24630 esac
24631 case $ac_im_usrlibdir in
24632 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24633 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24634 esac
24635 fi
24636 cd ..
24637 rm -f -r conftest.dir
24638 fi
24639
24640 # Standard set of common directories for X headers.
24641 # Check X11 before X11Rn because it is often a symlink to the current release.
24642 ac_x_header_dirs='
24643 /usr/X11/include
24644 /usr/X11R7/include
24645 /usr/X11R6/include
24646 /usr/X11R5/include
24647 /usr/X11R4/include
24648
24649 /usr/include/X11
24650 /usr/include/X11R7
24651 /usr/include/X11R6
24652 /usr/include/X11R5
24653 /usr/include/X11R4
24654
24655 /usr/local/X11/include
24656 /usr/local/X11R7/include
24657 /usr/local/X11R6/include
24658 /usr/local/X11R5/include
24659 /usr/local/X11R4/include
24660
24661 /usr/local/include/X11
24662 /usr/local/include/X11R7
24663 /usr/local/include/X11R6
24664 /usr/local/include/X11R5
24665 /usr/local/include/X11R4
24666
24667 /usr/X386/include
24668 /usr/x386/include
24669 /usr/XFree86/include/X11
24670
24671 /usr/include
24672 /usr/local/include
24673 /usr/unsupported/include
24674 /usr/athena/include
24675 /usr/local/x11r5/include
24676 /usr/lpp/Xamples/include
24677
24678 /usr/openwin/include
24679 /usr/openwin/share/include'
24680
24681 if test "$ac_x_includes" = no; then
24682 # Guess where to find include files, by looking for Xlib.h.
24683 # First, try using that file with no special directory specified.
24684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24685 /* end confdefs.h. */
24686 #include <X11/Xlib.h>
24687 _ACEOF
24688 if ac_fn_c_try_cpp "$LINENO"; then :
24689 # We can compile using X headers with no special include directory.
24690 ac_x_includes=
24691 else
24692 for ac_dir in $ac_x_header_dirs; do
24693 if test -r "$ac_dir/X11/Xlib.h"; then
24694 ac_x_includes=$ac_dir
24695 break
24696 fi
24697 done
24698 fi
24699 rm -f conftest.err conftest.i conftest.$ac_ext
24700 fi # $ac_x_includes = no
24701
24702 if test "$ac_x_libraries" = no; then
24703 # Check for the libraries.
24704 # See if we find them without any special options.
24705 # Don't add to $LIBS permanently.
24706 ac_save_LIBS=$LIBS
24707 LIBS="-lX11 $LIBS"
24708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24709 /* end confdefs.h. */
24710 #include <X11/Xlib.h>
24711 int
24712 main ()
24713 {
24714 XrmInitialize ()
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 if ac_fn_c_try_link "$LINENO"; then :
24720 LIBS=$ac_save_LIBS
24721 # We can link X programs with no special library path.
24722 ac_x_libraries=
24723 else
24724 LIBS=$ac_save_LIBS
24725 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24726 do
24727 # Don't even attempt the hair of trying to link an X program!
24728 for ac_extension in a so sl dylib la dll; do
24729 if test -r "$ac_dir/libX11.$ac_extension"; then
24730 ac_x_libraries=$ac_dir
24731 break 2
24732 fi
24733 done
24734 done
24735 fi
24736 rm -f core conftest.err conftest.$ac_objext \
24737 conftest$ac_exeext conftest.$ac_ext
24738 fi # $ac_x_libraries = no
24739
24740 case $ac_x_includes,$ac_x_libraries in #(
24741 no,* | *,no | *\'*)
24742 # Didn't find X, or a directory has "'" in its name.
24743 ac_cv_have_x="have_x=no";; #(
24744 *)
24745 # Record where we found X for the cache.
24746 ac_cv_have_x="have_x=yes\
24747 ac_x_includes='$ac_x_includes'\
24748 ac_x_libraries='$ac_x_libraries'"
24749 esac
24750 fi
24751 ;; #(
24752 *) have_x=yes;;
24753 esac
24754 eval "$ac_cv_have_x"
24755 fi # $with_x != no
24756
24757 if test "$have_x" != yes; then
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24759 $as_echo "$have_x" >&6; }
24760 no_x=yes
24761 else
24762 # If each of the values was on the command line, it overrides each guess.
24763 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24764 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24765 # Update the cache value to reflect the command line values.
24766 ac_cv_have_x="have_x=yes\
24767 ac_x_includes='$x_includes'\
24768 ac_x_libraries='$x_libraries'"
24769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24770 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24771 fi
24772
24773 if test "$no_x" = yes; then
24774 # Not all programs may use this symbol, but it does not hurt to define it.
24775
24776 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24777
24778 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24779 else
24780 if test -n "$x_includes"; then
24781 X_CFLAGS="$X_CFLAGS -I$x_includes"
24782 fi
24783
24784 # It would also be nice to do this for all -L options, not just this one.
24785 if test -n "$x_libraries"; then
24786 X_LIBS="$X_LIBS -L$x_libraries"
24787 # For Solaris; some versions of Sun CC require a space after -R and
24788 # others require no space. Words are not sufficient . . . .
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24790 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24791 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24792 ac_xsave_c_werror_flag=$ac_c_werror_flag
24793 ac_c_werror_flag=yes
24794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24795 /* end confdefs.h. */
24796
24797 int
24798 main ()
24799 {
24800
24801 ;
24802 return 0;
24803 }
24804 _ACEOF
24805 if ac_fn_c_try_link "$LINENO"; then :
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24807 $as_echo "no" >&6; }
24808 X_LIBS="$X_LIBS -R$x_libraries"
24809 else
24810 LIBS="$ac_xsave_LIBS -R $x_libraries"
24811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24812 /* end confdefs.h. */
24813
24814 int
24815 main ()
24816 {
24817
24818 ;
24819 return 0;
24820 }
24821 _ACEOF
24822 if ac_fn_c_try_link "$LINENO"; then :
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24824 $as_echo "yes" >&6; }
24825 X_LIBS="$X_LIBS -R $x_libraries"
24826 else
24827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24828 $as_echo "neither works" >&6; }
24829 fi
24830 rm -f core conftest.err conftest.$ac_objext \
24831 conftest$ac_exeext conftest.$ac_ext
24832 fi
24833 rm -f core conftest.err conftest.$ac_objext \
24834 conftest$ac_exeext conftest.$ac_ext
24835 ac_c_werror_flag=$ac_xsave_c_werror_flag
24836 LIBS=$ac_xsave_LIBS
24837 fi
24838
24839 # Check for system-dependent libraries X programs must link with.
24840 # Do this before checking for the system-independent R6 libraries
24841 # (-lICE), since we may need -lsocket or whatever for X linking.
24842
24843 if test "$ISC" = yes; then
24844 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24845 else
24846 # Martyn Johnson says this is needed for Ultrix, if the X
24847 # libraries were built with DECnet support. And Karl Berry says
24848 # the Alpha needs dnet_stub (dnet does not exist).
24849 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24851 /* end confdefs.h. */
24852
24853 /* Override any GCC internal prototype to avoid an error.
24854 Use char because int might match the return type of a GCC
24855 builtin and then its argument prototype would still apply. */
24856 #ifdef __cplusplus
24857 extern "C"
24858 #endif
24859 char XOpenDisplay ();
24860 int
24861 main ()
24862 {
24863 return XOpenDisplay ();
24864 ;
24865 return 0;
24866 }
24867 _ACEOF
24868 if ac_fn_c_try_link "$LINENO"; then :
24869
24870 else
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24872 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24873 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24874 $as_echo_n "(cached) " >&6
24875 else
24876 ac_check_lib_save_LIBS=$LIBS
24877 LIBS="-ldnet $LIBS"
24878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24879 /* end confdefs.h. */
24880
24881 /* Override any GCC internal prototype to avoid an error.
24882 Use char because int might match the return type of a GCC
24883 builtin and then its argument prototype would still apply. */
24884 #ifdef __cplusplus
24885 extern "C"
24886 #endif
24887 char dnet_ntoa ();
24888 int
24889 main ()
24890 {
24891 return dnet_ntoa ();
24892 ;
24893 return 0;
24894 }
24895 _ACEOF
24896 if ac_fn_c_try_link "$LINENO"; then :
24897 ac_cv_lib_dnet_dnet_ntoa=yes
24898 else
24899 ac_cv_lib_dnet_dnet_ntoa=no
24900 fi
24901 rm -f core conftest.err conftest.$ac_objext \
24902 conftest$ac_exeext conftest.$ac_ext
24903 LIBS=$ac_check_lib_save_LIBS
24904 fi
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24906 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24907 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
24908 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24909 fi
24910
24911 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24913 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24914 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24915 $as_echo_n "(cached) " >&6
24916 else
24917 ac_check_lib_save_LIBS=$LIBS
24918 LIBS="-ldnet_stub $LIBS"
24919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24920 /* end confdefs.h. */
24921
24922 /* Override any GCC internal prototype to avoid an error.
24923 Use char because int might match the return type of a GCC
24924 builtin and then its argument prototype would still apply. */
24925 #ifdef __cplusplus
24926 extern "C"
24927 #endif
24928 char dnet_ntoa ();
24929 int
24930 main ()
24931 {
24932 return dnet_ntoa ();
24933 ;
24934 return 0;
24935 }
24936 _ACEOF
24937 if ac_fn_c_try_link "$LINENO"; then :
24938 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24939 else
24940 ac_cv_lib_dnet_stub_dnet_ntoa=no
24941 fi
24942 rm -f core conftest.err conftest.$ac_objext \
24943 conftest$ac_exeext conftest.$ac_ext
24944 LIBS=$ac_check_lib_save_LIBS
24945 fi
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24947 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24948 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
24949 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24950 fi
24951
24952 fi
24953 fi
24954 rm -f core conftest.err conftest.$ac_objext \
24955 conftest$ac_exeext conftest.$ac_ext
24956 LIBS="$ac_xsave_LIBS"
24957
24958 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24959 # to get the SysV transport functions.
24960 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24961 # needs -lnsl.
24962 # The nsl library prevents programs from opening the X display
24963 # on Irix 5.2, according to T.E. Dickey.
24964 # The functions gethostbyname, getservbyname, and inet_addr are
24965 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24966 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24967 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
24968
24969 fi
24970
24971 if test $ac_cv_func_gethostbyname = no; then
24972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
24973 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24974 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
24975 $as_echo_n "(cached) " >&6
24976 else
24977 ac_check_lib_save_LIBS=$LIBS
24978 LIBS="-lnsl $LIBS"
24979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24980 /* end confdefs.h. */
24981
24982 /* Override any GCC internal prototype to avoid an error.
24983 Use char because int might match the return type of a GCC
24984 builtin and then its argument prototype would still apply. */
24985 #ifdef __cplusplus
24986 extern "C"
24987 #endif
24988 char gethostbyname ();
24989 int
24990 main ()
24991 {
24992 return gethostbyname ();
24993 ;
24994 return 0;
24995 }
24996 _ACEOF
24997 if ac_fn_c_try_link "$LINENO"; then :
24998 ac_cv_lib_nsl_gethostbyname=yes
24999 else
25000 ac_cv_lib_nsl_gethostbyname=no
25001 fi
25002 rm -f core conftest.err conftest.$ac_objext \
25003 conftest$ac_exeext conftest.$ac_ext
25004 LIBS=$ac_check_lib_save_LIBS
25005 fi
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25007 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25008 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25009 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25010 fi
25011
25012 if test $ac_cv_lib_nsl_gethostbyname = no; then
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25014 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25015 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25016 $as_echo_n "(cached) " >&6
25017 else
25018 ac_check_lib_save_LIBS=$LIBS
25019 LIBS="-lbsd $LIBS"
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022
25023 /* Override any GCC internal prototype to avoid an error.
25024 Use char because int might match the return type of a GCC
25025 builtin and then its argument prototype would still apply. */
25026 #ifdef __cplusplus
25027 extern "C"
25028 #endif
25029 char gethostbyname ();
25030 int
25031 main ()
25032 {
25033 return gethostbyname ();
25034 ;
25035 return 0;
25036 }
25037 _ACEOF
25038 if ac_fn_c_try_link "$LINENO"; then :
25039 ac_cv_lib_bsd_gethostbyname=yes
25040 else
25041 ac_cv_lib_bsd_gethostbyname=no
25042 fi
25043 rm -f core conftest.err conftest.$ac_objext \
25044 conftest$ac_exeext conftest.$ac_ext
25045 LIBS=$ac_check_lib_save_LIBS
25046 fi
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25048 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25049 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25050 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25051 fi
25052
25053 fi
25054 fi
25055
25056 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25057 # socket/setsockopt and other routines are undefined under SCO ODT
25058 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25059 # on later versions), says Simon Leinen: it contains gethostby*
25060 # variants that don't use the name server (or something). -lsocket
25061 # must be given before -lnsl if both are needed. We assume that
25062 # if connect needs -lnsl, so does gethostbyname.
25063 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25064 if test "x$ac_cv_func_connect" = x""yes; then :
25065
25066 fi
25067
25068 if test $ac_cv_func_connect = no; then
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25070 $as_echo_n "checking for connect in -lsocket... " >&6; }
25071 if test "${ac_cv_lib_socket_connect+set}" = set; then :
25072 $as_echo_n "(cached) " >&6
25073 else
25074 ac_check_lib_save_LIBS=$LIBS
25075 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25077 /* end confdefs.h. */
25078
25079 /* Override any GCC internal prototype to avoid an error.
25080 Use char because int might match the return type of a GCC
25081 builtin and then its argument prototype would still apply. */
25082 #ifdef __cplusplus
25083 extern "C"
25084 #endif
25085 char connect ();
25086 int
25087 main ()
25088 {
25089 return connect ();
25090 ;
25091 return 0;
25092 }
25093 _ACEOF
25094 if ac_fn_c_try_link "$LINENO"; then :
25095 ac_cv_lib_socket_connect=yes
25096 else
25097 ac_cv_lib_socket_connect=no
25098 fi
25099 rm -f core conftest.err conftest.$ac_objext \
25100 conftest$ac_exeext conftest.$ac_ext
25101 LIBS=$ac_check_lib_save_LIBS
25102 fi
25103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25104 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25105 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
25106 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25107 fi
25108
25109 fi
25110
25111 # Guillermo Gomez says -lposix is necessary on A/UX.
25112 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25113 if test "x$ac_cv_func_remove" = x""yes; then :
25114
25115 fi
25116
25117 if test $ac_cv_func_remove = no; then
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25119 $as_echo_n "checking for remove in -lposix... " >&6; }
25120 if test "${ac_cv_lib_posix_remove+set}" = set; then :
25121 $as_echo_n "(cached) " >&6
25122 else
25123 ac_check_lib_save_LIBS=$LIBS
25124 LIBS="-lposix $LIBS"
25125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25126 /* end confdefs.h. */
25127
25128 /* Override any GCC internal prototype to avoid an error.
25129 Use char because int might match the return type of a GCC
25130 builtin and then its argument prototype would still apply. */
25131 #ifdef __cplusplus
25132 extern "C"
25133 #endif
25134 char remove ();
25135 int
25136 main ()
25137 {
25138 return remove ();
25139 ;
25140 return 0;
25141 }
25142 _ACEOF
25143 if ac_fn_c_try_link "$LINENO"; then :
25144 ac_cv_lib_posix_remove=yes
25145 else
25146 ac_cv_lib_posix_remove=no
25147 fi
25148 rm -f core conftest.err conftest.$ac_objext \
25149 conftest$ac_exeext conftest.$ac_ext
25150 LIBS=$ac_check_lib_save_LIBS
25151 fi
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25153 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25154 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25155 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25156 fi
25157
25158 fi
25159
25160 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25161 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25162 if test "x$ac_cv_func_shmat" = x""yes; then :
25163
25164 fi
25165
25166 if test $ac_cv_func_shmat = no; then
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25168 $as_echo_n "checking for shmat in -lipc... " >&6; }
25169 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25170 $as_echo_n "(cached) " >&6
25171 else
25172 ac_check_lib_save_LIBS=$LIBS
25173 LIBS="-lipc $LIBS"
25174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25175 /* end confdefs.h. */
25176
25177 /* Override any GCC internal prototype to avoid an error.
25178 Use char because int might match the return type of a GCC
25179 builtin and then its argument prototype would still apply. */
25180 #ifdef __cplusplus
25181 extern "C"
25182 #endif
25183 char shmat ();
25184 int
25185 main ()
25186 {
25187 return shmat ();
25188 ;
25189 return 0;
25190 }
25191 _ACEOF
25192 if ac_fn_c_try_link "$LINENO"; then :
25193 ac_cv_lib_ipc_shmat=yes
25194 else
25195 ac_cv_lib_ipc_shmat=no
25196 fi
25197 rm -f core conftest.err conftest.$ac_objext \
25198 conftest$ac_exeext conftest.$ac_ext
25199 LIBS=$ac_check_lib_save_LIBS
25200 fi
25201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25202 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25203 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25204 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25205 fi
25206
25207 fi
25208 fi
25209
25210 # Check for libraries that X11R6 Xt/Xaw programs need.
25211 ac_save_LDFLAGS=$LDFLAGS
25212 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25213 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25214 # check for ICE first), but we must link in the order -lSM -lICE or
25215 # we get undefined symbols. So assume we have SM if we have ICE.
25216 # These have to be linked with before -lX11, unlike the other
25217 # libraries we check for below, so use a different variable.
25218 # John Interrante, Karl Berry
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25220 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25221 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25222 $as_echo_n "(cached) " >&6
25223 else
25224 ac_check_lib_save_LIBS=$LIBS
25225 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25227 /* end confdefs.h. */
25228
25229 /* Override any GCC internal prototype to avoid an error.
25230 Use char because int might match the return type of a GCC
25231 builtin and then its argument prototype would still apply. */
25232 #ifdef __cplusplus
25233 extern "C"
25234 #endif
25235 char IceConnectionNumber ();
25236 int
25237 main ()
25238 {
25239 return IceConnectionNumber ();
25240 ;
25241 return 0;
25242 }
25243 _ACEOF
25244 if ac_fn_c_try_link "$LINENO"; then :
25245 ac_cv_lib_ICE_IceConnectionNumber=yes
25246 else
25247 ac_cv_lib_ICE_IceConnectionNumber=no
25248 fi
25249 rm -f core conftest.err conftest.$ac_objext \
25250 conftest$ac_exeext conftest.$ac_ext
25251 LIBS=$ac_check_lib_save_LIBS
25252 fi
25253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25254 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25255 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25256 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25257 fi
25258
25259 LDFLAGS=$ac_save_LDFLAGS
25260
25261 fi
25262
25263
25264 if test "$no_x" = "yes"; then
25265 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25266 fi
25267
25268 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25269 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25270 AFMINSTALL=afminstall
25271 COMPILED_X_PROGRAM=0
25272
25273 fi
25274
25275 if test "$wxUSE_X11" = 1; then
25276 if test "$wxUSE_NANOX" = "yes"; then
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25278 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25279 if test "x$MICROWIN" = x ; then
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25281 $as_echo "not found" >&6; }
25282 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25283 else
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25285 $as_echo "$MICROWIN" >&6; }
25286 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25287
25288 fi
25289 fi
25290
25291 if test "$wxUSE_UNICODE" = "yes"; then
25292
25293
25294 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25295 if test -n "$ac_tool_prefix"; then
25296 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25297 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25299 $as_echo_n "checking for $ac_word... " >&6; }
25300 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25302 else
25303 case $PKG_CONFIG in
25304 [\\/]* | ?:[\\/]*)
25305 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25306 ;;
25307 *)
25308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25309 for as_dir in $PATH
25310 do
25311 IFS=$as_save_IFS
25312 test -z "$as_dir" && as_dir=.
25313 for ac_exec_ext in '' $ac_executable_extensions; do
25314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25315 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25317 break 2
25318 fi
25319 done
25320 done
25321 IFS=$as_save_IFS
25322
25323 ;;
25324 esac
25325 fi
25326 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25327 if test -n "$PKG_CONFIG"; then
25328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25329 $as_echo "$PKG_CONFIG" >&6; }
25330 else
25331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25332 $as_echo "no" >&6; }
25333 fi
25334
25335
25336 fi
25337 if test -z "$ac_cv_path_PKG_CONFIG"; then
25338 ac_pt_PKG_CONFIG=$PKG_CONFIG
25339 # Extract the first word of "pkg-config", so it can be a program name with args.
25340 set dummy pkg-config; ac_word=$2
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25342 $as_echo_n "checking for $ac_word... " >&6; }
25343 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
25344 $as_echo_n "(cached) " >&6
25345 else
25346 case $ac_pt_PKG_CONFIG in
25347 [\\/]* | ?:[\\/]*)
25348 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25349 ;;
25350 *)
25351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25352 for as_dir in $PATH
25353 do
25354 IFS=$as_save_IFS
25355 test -z "$as_dir" && as_dir=.
25356 for ac_exec_ext in '' $ac_executable_extensions; do
25357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25358 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25360 break 2
25361 fi
25362 done
25363 done
25364 IFS=$as_save_IFS
25365
25366 ;;
25367 esac
25368 fi
25369 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25370 if test -n "$ac_pt_PKG_CONFIG"; then
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25372 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25373 else
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25375 $as_echo "no" >&6; }
25376 fi
25377
25378 if test "x$ac_pt_PKG_CONFIG" = x; then
25379 PKG_CONFIG=""
25380 else
25381 case $cross_compiling:$ac_tool_warned in
25382 yes:)
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25385 ac_tool_warned=yes ;;
25386 esac
25387 PKG_CONFIG=$ac_pt_PKG_CONFIG
25388 fi
25389 else
25390 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25391 fi
25392
25393 fi
25394 if test -n "$PKG_CONFIG"; then
25395 _pkg_min_version=0.9.0
25396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25397 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25398 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25400 $as_echo "yes" >&6; }
25401 else
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25403 $as_echo "no" >&6; }
25404 PKG_CONFIG=""
25405 fi
25406
25407 fi
25408
25409
25410 pkg_failed=no
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25412 $as_echo_n "checking for PANGOX... " >&6; }
25413
25414 if test -n "$PKG_CONFIG"; then
25415 if test -n "$PANGOX_CFLAGS"; then
25416 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25417 else
25418 if test -n "$PKG_CONFIG" && \
25419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25420 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25421 ac_status=$?
25422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25423 test $ac_status = 0; }; then
25424 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25425 else
25426 pkg_failed=yes
25427 fi
25428 fi
25429 else
25430 pkg_failed=untried
25431 fi
25432 if test -n "$PKG_CONFIG"; then
25433 if test -n "$PANGOX_LIBS"; then
25434 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25435 else
25436 if test -n "$PKG_CONFIG" && \
25437 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25438 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25439 ac_status=$?
25440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25441 test $ac_status = 0; }; then
25442 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25443 else
25444 pkg_failed=yes
25445 fi
25446 fi
25447 else
25448 pkg_failed=untried
25449 fi
25450
25451
25452
25453 if test $pkg_failed = yes; then
25454
25455 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25456 _pkg_short_errors_supported=yes
25457 else
25458 _pkg_short_errors_supported=no
25459 fi
25460 if test $_pkg_short_errors_supported = yes; then
25461 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25462 else
25463 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25464 fi
25465 # Put the nasty error message in config.log where it belongs
25466 echo "$PANGOX_PKG_ERRORS" >&5
25467
25468
25469 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25470
25471
25472 elif test $pkg_failed = untried; then
25473
25474 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25475
25476
25477 else
25478 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25479 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25481 $as_echo "yes" >&6; }
25482
25483 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25484 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25485 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25486
25487 fi
25488
25489 pkg_failed=no
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25491 $as_echo_n "checking for PANGOFT2... " >&6; }
25492
25493 if test -n "$PKG_CONFIG"; then
25494 if test -n "$PANGOFT2_CFLAGS"; then
25495 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25496 else
25497 if test -n "$PKG_CONFIG" && \
25498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25499 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25500 ac_status=$?
25501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25502 test $ac_status = 0; }; then
25503 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25504 else
25505 pkg_failed=yes
25506 fi
25507 fi
25508 else
25509 pkg_failed=untried
25510 fi
25511 if test -n "$PKG_CONFIG"; then
25512 if test -n "$PANGOFT2_LIBS"; then
25513 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25514 else
25515 if test -n "$PKG_CONFIG" && \
25516 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25517 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25518 ac_status=$?
25519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25520 test $ac_status = 0; }; then
25521 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25522 else
25523 pkg_failed=yes
25524 fi
25525 fi
25526 else
25527 pkg_failed=untried
25528 fi
25529
25530
25531
25532 if test $pkg_failed = yes; then
25533
25534 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25535 _pkg_short_errors_supported=yes
25536 else
25537 _pkg_short_errors_supported=no
25538 fi
25539 if test $_pkg_short_errors_supported = yes; then
25540 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25541 else
25542 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25543 fi
25544 # Put the nasty error message in config.log where it belongs
25545 echo "$PANGOFT2_PKG_ERRORS" >&5
25546
25547
25548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25549 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25550 wxUSE_PRINTING_ARCHITECTURE="no"
25551
25552
25553 elif test $pkg_failed = untried; then
25554
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25556 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25557 wxUSE_PRINTING_ARCHITECTURE="no"
25558
25559
25560 else
25561 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25562 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25564 $as_echo "yes" >&6; }
25565
25566 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25567 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25568 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25569
25570 fi
25571
25572 pkg_failed=no
25573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25574 $as_echo_n "checking for PANGOXFT... " >&6; }
25575
25576 if test -n "$PKG_CONFIG"; then
25577 if test -n "$PANGOXFT_CFLAGS"; then
25578 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25579 else
25580 if test -n "$PKG_CONFIG" && \
25581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25582 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25583 ac_status=$?
25584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25585 test $ac_status = 0; }; then
25586 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25587 else
25588 pkg_failed=yes
25589 fi
25590 fi
25591 else
25592 pkg_failed=untried
25593 fi
25594 if test -n "$PKG_CONFIG"; then
25595 if test -n "$PANGOXFT_LIBS"; then
25596 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25597 else
25598 if test -n "$PKG_CONFIG" && \
25599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25600 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25601 ac_status=$?
25602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25603 test $ac_status = 0; }; then
25604 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25605 else
25606 pkg_failed=yes
25607 fi
25608 fi
25609 else
25610 pkg_failed=untried
25611 fi
25612
25613
25614
25615 if test $pkg_failed = yes; then
25616
25617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25618 _pkg_short_errors_supported=yes
25619 else
25620 _pkg_short_errors_supported=no
25621 fi
25622 if test $_pkg_short_errors_supported = yes; then
25623 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25624 else
25625 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25626 fi
25627 # Put the nasty error message in config.log where it belongs
25628 echo "$PANGOXFT_PKG_ERRORS" >&5
25629
25630
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25632 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25633
25634
25635 elif test $pkg_failed = untried; then
25636
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25638 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25639
25640
25641 else
25642 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25643 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25645 $as_echo "yes" >&6; }
25646
25647 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25648
25649 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25650 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25651 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25652
25653 fi
25654 save_LIBS="$LIBS"
25655 LIBS="$LIBS $PANGOX_LIBS"
25656 for ac_func in pango_font_family_is_monospace
25657 do :
25658 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25659 if test "x$ac_cv_func_pango_font_family_is_monospace" = x""yes; then :
25660 cat >>confdefs.h <<_ACEOF
25661 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25662 _ACEOF
25663
25664 fi
25665 done
25666
25667 LIBS="$save_LIBS"
25668 fi
25669
25670 wxUSE_UNIVERSAL="yes"
25671
25672 if test "$wxUSE_NANOX" = "yes"; then
25673 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25674 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"
25675 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25676 else
25677 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25678 fi
25679
25680 TOOLKIT=X11
25681 GUIDIST=X11_DIST
25682 fi
25683
25684 if test "$wxUSE_MOTIF" = 1; then
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25686 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25687
25688 ac_find_includes=
25689 for ac_dir in $SEARCH_INCLUDE /usr/include
25690 do
25691 if test -f "$ac_dir/Xm/Xm.h"; then
25692 ac_find_includes=$ac_dir
25693 break
25694 fi
25695 done
25696
25697 if test "$ac_find_includes" != "" ; then
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25699 $as_echo "found in $ac_find_includes" >&6; }
25700
25701 if test "x$ac_find_includes" = "x/usr/include"; then
25702 ac_path_to_include=""
25703 else
25704 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25705 result=$?
25706 if test $result = 0; then
25707 ac_path_to_include=""
25708 else
25709 ac_path_to_include=" -I$ac_find_includes"
25710 fi
25711 fi
25712
25713 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25714 else
25715 save_CFLAGS=$CFLAGS
25716 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25717
25718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25719 /* end confdefs.h. */
25720
25721 #include <Xm/Xm.h>
25722
25723 int
25724 main ()
25725 {
25726
25727 int version;
25728 version = xmUseVersion;
25729
25730 ;
25731 return 0;
25732 }
25733 _ACEOF
25734 if ac_fn_c_try_compile "$LINENO"; then :
25735
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25737 $as_echo "found in default search path" >&6; }
25738 COMPILED_X_PROGRAM=1
25739
25740 else
25741
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25743 $as_echo "no" >&6; }
25744 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25745
25746
25747 fi
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25749
25750 CFLAGS=$save_CFLAGS
25751 fi
25752
25753
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25755 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25756
25757 ac_find_libraries=
25758 for ac_dir in $SEARCH_LIB
25759 do
25760 for ac_extension in a so sl dylib dll.a; do
25761 if test -f "$ac_dir/libXm.$ac_extension"; then
25762 ac_find_libraries=$ac_dir
25763 break 2
25764 fi
25765 done
25766 done
25767
25768
25769 if test "x$ac_find_libraries" != "x" ; then
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25771 $as_echo "found in $ac_find_libraries" >&6; }
25772
25773
25774 if test "$ac_find_libraries" = "default location"; then
25775 ac_path_to_link=""
25776 else
25777 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25778 result=$?
25779 if test $result = 0; then
25780 ac_path_to_link=""
25781 else
25782 ac_path_to_link=" -L$ac_find_libraries"
25783 fi
25784 fi
25785
25786 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25787 else
25788 save_CFLAGS=$CFLAGS
25789 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25790 save_LIBS="$LIBS"
25791 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25792
25793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25794 /* end confdefs.h. */
25795
25796 #include <Xm/Xm.h>
25797
25798 int
25799 main ()
25800 {
25801
25802 int version;
25803 version = xmUseVersion;
25804
25805 ;
25806 return 0;
25807 }
25808 _ACEOF
25809 if ac_fn_c_try_link "$LINENO"; then :
25810
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25812 $as_echo "found in default search path" >&6; }
25813 COMPILED_X_PROGRAM=1
25814
25815 else
25816
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25818 $as_echo "no" >&6; }
25819 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25820
25821
25822 fi
25823 rm -f core conftest.err conftest.$ac_objext \
25824 conftest$ac_exeext conftest.$ac_ext
25825
25826 CFLAGS=$save_CFLAGS
25827 LIBS="$save_LIBS"
25828 fi
25829
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25831 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25832 libp_link=""
25833 libsm_ice_link=""
25834 libs_found=0
25835 for libp in "" " -lXp"; do
25836 if test "$libs_found" = 0; then
25837 for libsm_ice in "" " -lSM -lICE"; do
25838 if test "$libs_found" = 0; then
25839 save_LIBS="$LIBS"
25840 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25841 save_CFLAGS=$CFLAGS
25842 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25843
25844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25845 /* end confdefs.h. */
25846
25847 #include <Xm/Xm.h>
25848 #include <Xm/List.h>
25849
25850 int
25851 main ()
25852 {
25853
25854 XmString string = NULL;
25855 Widget w = NULL;
25856 int position = 0;
25857 XmListAddItem(w, string, position);
25858
25859 ;
25860 return 0;
25861 }
25862 _ACEOF
25863 if ac_fn_c_try_link "$LINENO"; then :
25864
25865 libp_link="$libp"
25866 libsm_ice_link="$libsm_ice"
25867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25868 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25869 libs_found=1
25870
25871 fi
25872 rm -f core conftest.err conftest.$ac_objext \
25873 conftest$ac_exeext conftest.$ac_ext
25874
25875 LIBS="$save_LIBS"
25876 CFLAGS=$save_CFLAGS
25877 fi
25878 done
25879 fi
25880 done
25881
25882 if test "$libs_found" = 0; then
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25884 $as_echo "can't find the right libraries" >&6; }
25885 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
25886 fi
25887
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25889 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25890 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then :
25891 $as_echo_n "(cached) " >&6
25892 else
25893 ac_check_lib_save_LIBS=$LIBS
25894 LIBS="-lSgm $LIBS"
25895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25896 /* end confdefs.h. */
25897
25898 /* Override any GCC internal prototype to avoid an error.
25899 Use char because int might match the return type of a GCC
25900 builtin and then its argument prototype would still apply. */
25901 #ifdef __cplusplus
25902 extern "C"
25903 #endif
25904 char SgCreateList ();
25905 int
25906 main ()
25907 {
25908 return SgCreateList ();
25909 ;
25910 return 0;
25911 }
25912 _ACEOF
25913 if ac_fn_c_try_link "$LINENO"; then :
25914 ac_cv_lib_Sgm_SgCreateList=yes
25915 else
25916 ac_cv_lib_Sgm_SgCreateList=no
25917 fi
25918 rm -f core conftest.err conftest.$ac_objext \
25919 conftest$ac_exeext conftest.$ac_ext
25920 LIBS=$ac_check_lib_save_LIBS
25921 fi
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25923 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25924 if test "x$ac_cv_lib_Sgm_SgCreateList" = x""yes; then :
25925 libsgm_link=" -lSgm"
25926 fi
25927
25928
25929 save_CFLAGS=$CFLAGS
25930 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25931
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25933 $as_echo_n "checking for Motif 2... " >&6; }
25934 if test "${wx_cv_lib_motif2+set}" = set; then :
25935 $as_echo_n "(cached) " >&6
25936 else
25937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25938 /* end confdefs.h. */
25939
25940 #include <Xm/Xm.h>
25941
25942 int
25943 main ()
25944 {
25945
25946 #if XmVersion < 2000
25947 Not Motif 2
25948 #endif
25949
25950 ;
25951 return 0;
25952 }
25953 _ACEOF
25954 if ac_fn_c_try_compile "$LINENO"; then :
25955 wx_cv_lib_motif2="yes"
25956 else
25957 wx_cv_lib_motif2="no"
25958 fi
25959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25960 fi
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
25962 $as_echo "$wx_cv_lib_motif2" >&6; }
25963 if test "$wx_cv_lib_motif2" = "yes"; then
25964 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
25965
25966 else
25967 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
25968
25969 fi
25970
25971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
25972 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
25973 if test "${wx_cv_lib_lesstif+set}" = set; then :
25974 $as_echo_n "(cached) " >&6
25975 else
25976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25977 /* end confdefs.h. */
25978
25979 #include <Xm/Xm.h>
25980
25981 int
25982 main ()
25983 {
25984
25985 #if !defined(LesstifVersion) || LesstifVersion <= 0
25986 Not Lesstif
25987 #endif
25988
25989 ;
25990 return 0;
25991 }
25992 _ACEOF
25993 if ac_fn_c_try_compile "$LINENO"; then :
25994 wx_cv_lib_lesstif="yes"
25995 else
25996 wx_cv_lib_lesstif="no"
25997 fi
25998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25999
26000 fi
26001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26002 $as_echo "$wx_cv_lib_lesstif" >&6; }
26003 if test "$wx_cv_lib_lesstif" = "yes"; then
26004 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26005
26006 else
26007 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26008
26009 fi
26010
26011 CFLAGS=$save_CFLAGS
26012
26013 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26014 TOOLKIT=MOTIF
26015 GUIDIST=MOTIF_DIST
26016 fi
26017
26018 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26019 if test "$wxUSE_LIBXPM" = "sys"; then
26020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26021 $as_echo_n "checking for Xpm library... " >&6; }
26022
26023 ac_find_libraries=
26024 for ac_dir in $SEARCH_LIB
26025 do
26026 for ac_extension in a so sl dylib dll.a; do
26027 if test -f "$ac_dir/libXpm.$ac_extension"; then
26028 ac_find_libraries=$ac_dir
26029 break 2
26030 fi
26031 done
26032 done
26033
26034 if test "$ac_find_libraries" != "" ; then
26035
26036 if test "$ac_find_libraries" = "default location"; then
26037 ac_path_to_link=""
26038 else
26039 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
26040 result=$?
26041 if test $result = 0; then
26042 ac_path_to_link=""
26043 else
26044 ac_path_to_link=" -L$ac_find_libraries"
26045 fi
26046 fi
26047
26048 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26050 $as_echo "found in $ac_find_libraries" >&6; }
26051
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26053 $as_echo_n "checking for X11/xpm.h... " >&6; }
26054 if test "${wx_cv_x11_xpm_h+set}" = set; then :
26055 $as_echo_n "(cached) " >&6
26056 else
26057
26058 save_CFLAGS=$CFLAGS
26059 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26060
26061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26062 /* end confdefs.h. */
26063
26064 #include <X11/xpm.h>
26065
26066 int
26067 main ()
26068 {
26069
26070 int version;
26071 version = XpmLibraryVersion();
26072
26073 ;
26074 return 0;
26075 }
26076 _ACEOF
26077 if ac_fn_c_try_compile "$LINENO"; then :
26078 wx_cv_x11_xpm_h=yes
26079 else
26080 wx_cv_x11_xpm_h=no
26081
26082 fi
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084
26085 CFLAGS=$save_CFLAGS
26086
26087
26088 fi
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26090 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26091
26092 if test $wx_cv_x11_xpm_h = "yes"; then
26093 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
26094 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26095
26096 else
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26098 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26099 fi
26100 fi
26101
26102 fi
26103
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26105 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26106 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
26107 $as_echo_n "(cached) " >&6
26108 else
26109 ac_check_lib_save_LIBS=$LIBS
26110 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26112 /* end confdefs.h. */
26113
26114 /* Override any GCC internal prototype to avoid an error.
26115 Use char because int might match the return type of a GCC
26116 builtin and then its argument prototype would still apply. */
26117 #ifdef __cplusplus
26118 extern "C"
26119 #endif
26120 char XShapeQueryExtension ();
26121 int
26122 main ()
26123 {
26124 return XShapeQueryExtension ();
26125 ;
26126 return 0;
26127 }
26128 _ACEOF
26129 if ac_fn_c_try_link "$LINENO"; then :
26130 ac_cv_lib_Xext_XShapeQueryExtension=yes
26131 else
26132 ac_cv_lib_Xext_XShapeQueryExtension=no
26133 fi
26134 rm -f core conftest.err conftest.$ac_objext \
26135 conftest$ac_exeext conftest.$ac_ext
26136 LIBS=$ac_check_lib_save_LIBS
26137 fi
26138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26139 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26140 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
26141
26142 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26143 wxHAVE_XEXT_LIB=1
26144
26145 fi
26146
26147
26148 if test "$wxHAVE_XEXT_LIB" = 1; then
26149 save_CFLAGS="$CFLAGS"
26150 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26151
26152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26153 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26155 /* end confdefs.h. */
26156
26157 #include <X11/Xlib.h>
26158 #include <X11/extensions/shape.h>
26159
26160 int
26161 main ()
26162 {
26163
26164 int dummy1, dummy2;
26165 XShapeQueryExtension((Display*)NULL,
26166 (int*)NULL, (int*)NULL);
26167
26168 ;
26169 return 0;
26170 }
26171 _ACEOF
26172 if ac_fn_c_try_compile "$LINENO"; then :
26173
26174 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26175
26176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26177 $as_echo "found" >&6; }
26178
26179 else
26180
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26182 $as_echo "not found" >&6; }
26183
26184 fi
26185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26186 CFLAGS="$save_CFLAGS"
26187
26188 fi
26189 fi
26190
26191 if test "$wxUSE_OSX_CARBON" = 1; then
26192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26193 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26194 if test "$GCC" = yes; then
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26196 $as_echo "gcc" >&6; }
26197 CPPFLAGS_PASCAL="-fpascal-strings"
26198 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26200 $as_echo "xlc" >&6; }
26201 CPPFLAGS_PASCAL="-qmacpstr"
26202 else
26203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26204 $as_echo "none" >&6; }
26205 fi
26206
26207 if test "x$wxUSE_UNIX" = "xyes"; then
26208 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26209 else
26210 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26211 fi
26212
26213 TOOLKIT=OSX_CARBON
26214 GUIDIST=OSX_CARBON_DIST
26215 WXBASEPORT="_carbon"
26216
26217 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26218 fi
26219
26220 if test "$wxUSE_OSX_COCOA" = 1; then
26221 TOOLKIT=OSX_COCOA
26222 GUIDIST=OSX_COCOA_DIST
26223
26224 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26225 fi
26226
26227 if test "$wxUSE_OSX_IPHONE" = 1; then
26228 TOOLKIT=OSX_IPHONE
26229 fi
26230
26231 if test "$wxUSE_OLD_COCOA" = 1; then
26232 TOOLKIT=COCOA
26233 GUIDIST=COCOA_DIST
26234 fi
26235
26236 if test "$wxUSE_PM" = 1; then
26237 TOOLKIT=PM
26238 GUIDIST=PM_DIST
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26240 $as_echo_n "checking for type SPBCDATA... " >&6; }
26241 if test "${wx_cv_spbcdata+set}" = set; then :
26242 $as_echo_n "(cached) " >&6
26243 else
26244
26245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26246 /* end confdefs.h. */
26247
26248 #define INCL_PM
26249 #include <os2.h>
26250
26251 int
26252 main ()
26253 {
26254
26255 SPBCDATA test;
26256
26257 ;
26258 return 0;
26259 }
26260 _ACEOF
26261 if ac_fn_c_try_compile "$LINENO"; then :
26262 wx_cv_spbcdata=yes
26263 else
26264 wx_cv_spbcdata=no
26265
26266 fi
26267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26268
26269
26270 fi
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26272 $as_echo "$wx_cv_spbcdata" >&6; }
26273
26274 if test $wx_cv_spbcdata = "yes"; then
26275 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26276
26277 fi
26278 fi
26279
26280 if test "$TOOLKIT" = "PM" ; then
26281 TOOLKIT_DIR="os2"
26282 else
26283 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26284 fi
26285
26286 if test "$wxUSE_UNIVERSAL" = "yes"; then
26287 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26288 WIDGET_SET=univ
26289 fi
26290
26291 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26292 DISTDIR="wx\$(TOOLKIT)"
26293 else
26294 USE_GUI=0
26295
26296 TOOLKIT_DIR="base"
26297
26298 if test "$USE_WIN32" = 1 ; then
26299 TOOLKIT="MSW"
26300 fi
26301
26302 GUIDIST="BASE_DIST"
26303 DISTDIR="wxBase"
26304 fi
26305
26306
26307
26308 if test "$wxUSE_GUI" = "yes"; then
26309 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26310 for ac_header in X11/Xlib.h
26311 do :
26312 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26313 "
26314 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
26315 cat >>confdefs.h <<_ACEOF
26316 #define HAVE_X11_XLIB_H 1
26317 _ACEOF
26318
26319 fi
26320
26321 done
26322
26323 for ac_header in X11/XKBlib.h
26324 do :
26325 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26326 #if HAVE_X11_XLIB_H
26327 #include <X11/Xlib.h>
26328 #endif
26329
26330 "
26331 if test "x$ac_cv_header_X11_XKBlib_h" = x""yes; then :
26332 cat >>confdefs.h <<_ACEOF
26333 #define HAVE_X11_XKBLIB_H 1
26334 _ACEOF
26335
26336 fi
26337
26338 done
26339
26340 fi
26341 fi
26342
26343
26344
26345 USE_XINERAMA=0
26346 if test "$wxUSE_DISPLAY" = "yes"; then
26347 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26348
26349 ac_find_libraries=
26350
26351 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26352
26353
26354 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26355 if test -n "$ac_tool_prefix"; then
26356 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26357 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26359 $as_echo_n "checking for $ac_word... " >&6; }
26360 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26363 case $PKG_CONFIG in
26364 [\\/]* | ?:[\\/]*)
26365 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26366 ;;
26367 *)
26368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26369 for as_dir in $PATH
26370 do
26371 IFS=$as_save_IFS
26372 test -z "$as_dir" && as_dir=.
26373 for ac_exec_ext in '' $ac_executable_extensions; do
26374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26375 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26377 break 2
26378 fi
26379 done
26380 done
26381 IFS=$as_save_IFS
26382
26383 ;;
26384 esac
26385 fi
26386 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26387 if test -n "$PKG_CONFIG"; then
26388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26389 $as_echo "$PKG_CONFIG" >&6; }
26390 else
26391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26392 $as_echo "no" >&6; }
26393 fi
26394
26395
26396 fi
26397 if test -z "$ac_cv_path_PKG_CONFIG"; then
26398 ac_pt_PKG_CONFIG=$PKG_CONFIG
26399 # Extract the first word of "pkg-config", so it can be a program name with args.
26400 set dummy pkg-config; ac_word=$2
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26402 $as_echo_n "checking for $ac_word... " >&6; }
26403 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26404 $as_echo_n "(cached) " >&6
26405 else
26406 case $ac_pt_PKG_CONFIG in
26407 [\\/]* | ?:[\\/]*)
26408 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26409 ;;
26410 *)
26411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26412 for as_dir in $PATH
26413 do
26414 IFS=$as_save_IFS
26415 test -z "$as_dir" && as_dir=.
26416 for ac_exec_ext in '' $ac_executable_extensions; do
26417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26418 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26420 break 2
26421 fi
26422 done
26423 done
26424 IFS=$as_save_IFS
26425
26426 ;;
26427 esac
26428 fi
26429 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26430 if test -n "$ac_pt_PKG_CONFIG"; then
26431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26432 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26433 else
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26435 $as_echo "no" >&6; }
26436 fi
26437
26438 if test "x$ac_pt_PKG_CONFIG" = x; then
26439 PKG_CONFIG=""
26440 else
26441 case $cross_compiling:$ac_tool_warned in
26442 yes:)
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26445 ac_tool_warned=yes ;;
26446 esac
26447 PKG_CONFIG=$ac_pt_PKG_CONFIG
26448 fi
26449 else
26450 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26451 fi
26452
26453 fi
26454 if test -n "$PKG_CONFIG"; then
26455 _pkg_min_version=0.9.0
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26457 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26458 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26460 $as_echo "yes" >&6; }
26461 else
26462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26463 $as_echo "no" >&6; }
26464 PKG_CONFIG=""
26465 fi
26466
26467 fi 6> /dev/null
26468
26469 pkg_failed=no
26470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26471 $as_echo_n "checking for Xinerama... " >&6; }
26472
26473 if test -n "$PKG_CONFIG"; then
26474 if test -n "$Xinerama_CFLAGS"; then
26475 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26476 else
26477 if test -n "$PKG_CONFIG" && \
26478 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26479 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26480 ac_status=$?
26481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26482 test $ac_status = 0; }; then
26483 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26484 else
26485 pkg_failed=yes
26486 fi
26487 fi
26488 else
26489 pkg_failed=untried
26490 fi
26491 if test -n "$PKG_CONFIG"; then
26492 if test -n "$Xinerama_LIBS"; then
26493 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26494 else
26495 if test -n "$PKG_CONFIG" && \
26496 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26497 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26498 ac_status=$?
26499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26500 test $ac_status = 0; }; then
26501 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26502 else
26503 pkg_failed=yes
26504 fi
26505 fi
26506 else
26507 pkg_failed=untried
26508 fi
26509
26510
26511
26512 if test $pkg_failed = yes; then
26513
26514 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26515 _pkg_short_errors_supported=yes
26516 else
26517 _pkg_short_errors_supported=no
26518 fi
26519 if test $_pkg_short_errors_supported = yes; then
26520 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26521 else
26522 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26523 fi
26524 # Put the nasty error message in config.log where it belongs
26525 echo "$Xinerama_PKG_ERRORS" >&5
26526
26527
26528 if test "x$ac_find_libraries" = "x"; then
26529 if test "xXineramaQueryScreens" != "x"; then
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26531 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26532 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26533 $as_echo_n "(cached) " >&6
26534 else
26535 ac_check_lib_save_LIBS=$LIBS
26536 LIBS="-lXinerama $LIBS"
26537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26538 /* end confdefs.h. */
26539
26540 /* Override any GCC internal prototype to avoid an error.
26541 Use char because int might match the return type of a GCC
26542 builtin and then its argument prototype would still apply. */
26543 #ifdef __cplusplus
26544 extern "C"
26545 #endif
26546 char XineramaQueryScreens ();
26547 int
26548 main ()
26549 {
26550 return XineramaQueryScreens ();
26551 ;
26552 return 0;
26553 }
26554 _ACEOF
26555 if ac_fn_c_try_link "$LINENO"; then :
26556 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26557 else
26558 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26559 fi
26560 rm -f core conftest.err conftest.$ac_objext \
26561 conftest$ac_exeext conftest.$ac_ext
26562 LIBS=$ac_check_lib_save_LIBS
26563 fi
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26565 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26566 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26567 ac_find_libraries="std"
26568 fi
26569
26570 fi
26571 fi
26572
26573 if test "x$ac_find_libraries" = "x"; then
26574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26575 $as_echo_n "checking elsewhere... " >&6; }
26576
26577 ac_find_libraries=
26578 for ac_dir in $SEARCH_LIB
26579 do
26580 for ac_extension in a so sl dylib dll.a; do
26581 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26582 ac_find_libraries=$ac_dir
26583 break 2
26584 fi
26585 done
26586 done
26587
26588 if test "x$ac_find_libraries" != "x"; then
26589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26590 $as_echo "yes" >&6; }
26591 else
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26593 $as_echo "no" >&6; }
26594 fi
26595 fi
26596
26597 elif test $pkg_failed = untried; then
26598
26599 if test "x$ac_find_libraries" = "x"; then
26600 if test "xXineramaQueryScreens" != "x"; then
26601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26602 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26603 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26604 $as_echo_n "(cached) " >&6
26605 else
26606 ac_check_lib_save_LIBS=$LIBS
26607 LIBS="-lXinerama $LIBS"
26608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26609 /* end confdefs.h. */
26610
26611 /* Override any GCC internal prototype to avoid an error.
26612 Use char because int might match the return type of a GCC
26613 builtin and then its argument prototype would still apply. */
26614 #ifdef __cplusplus
26615 extern "C"
26616 #endif
26617 char XineramaQueryScreens ();
26618 int
26619 main ()
26620 {
26621 return XineramaQueryScreens ();
26622 ;
26623 return 0;
26624 }
26625 _ACEOF
26626 if ac_fn_c_try_link "$LINENO"; then :
26627 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26628 else
26629 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26630 fi
26631 rm -f core conftest.err conftest.$ac_objext \
26632 conftest$ac_exeext conftest.$ac_ext
26633 LIBS=$ac_check_lib_save_LIBS
26634 fi
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26636 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26637 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26638 ac_find_libraries="std"
26639 fi
26640
26641 fi
26642 fi
26643
26644 if test "x$ac_find_libraries" = "x"; then
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26646 $as_echo_n "checking elsewhere... " >&6; }
26647
26648 ac_find_libraries=
26649 for ac_dir in $SEARCH_LIB
26650 do
26651 for ac_extension in a so sl dylib dll.a; do
26652 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26653 ac_find_libraries=$ac_dir
26654 break 2
26655 fi
26656 done
26657 done
26658
26659 if test "x$ac_find_libraries" != "x"; then
26660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26661 $as_echo "yes" >&6; }
26662 else
26663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26664 $as_echo "no" >&6; }
26665 fi
26666 fi
26667
26668 else
26669 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26670 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26672 $as_echo "yes" >&6; }
26673
26674 ac_find_libraries="std"
26675
26676 eval ac_find_cflags=\$Xinerama_CFLAGS
26677 eval fl_libs=\$Xinerama_LIBS
26678
26679 for fl_path in $fl_libs
26680 do
26681 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26682 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26683 fi
26684 done
26685
26686 fi
26687
26688 if test "$ac_find_libraries" != "" ; then
26689 if test "$ac_find_libraries" != "std" ; then
26690
26691 if test "$ac_find_libraries" = "default location"; then
26692 ac_path_to_link=""
26693 else
26694 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26695 result=$?
26696 if test $result = 0; then
26697 ac_path_to_link=""
26698 else
26699 ac_path_to_link=" -L$ac_find_libraries"
26700 fi
26701 fi
26702
26703 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26704 LDFLAGS="$LDFLAGS $ac_path_to_link"
26705 fi
26706 fi
26707 USE_XINERAMA=1
26708 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26709 else
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26711 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26712 wxUSE_DISPLAY="no"
26713 fi
26714 elif test "$wxUSE_MSW" = 1; then
26715 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26716 "
26717 if test "x$ac_cv_header_ddraw_h" = x""yes; then :
26718
26719 fi
26720
26721
26722 fi
26723 fi
26724
26725 if test "$wxUSE_DISPLAY" = "yes"; then
26726 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26727
26728 ac_find_libraries=
26729
26730 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26731
26732
26733 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26734 if test -n "$ac_tool_prefix"; then
26735 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26736 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26738 $as_echo_n "checking for $ac_word... " >&6; }
26739 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26740 $as_echo_n "(cached) " >&6
26741 else
26742 case $PKG_CONFIG in
26743 [\\/]* | ?:[\\/]*)
26744 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26745 ;;
26746 *)
26747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26748 for as_dir in $PATH
26749 do
26750 IFS=$as_save_IFS
26751 test -z "$as_dir" && as_dir=.
26752 for ac_exec_ext in '' $ac_executable_extensions; do
26753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26754 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26756 break 2
26757 fi
26758 done
26759 done
26760 IFS=$as_save_IFS
26761
26762 ;;
26763 esac
26764 fi
26765 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26766 if test -n "$PKG_CONFIG"; then
26767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26768 $as_echo "$PKG_CONFIG" >&6; }
26769 else
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26771 $as_echo "no" >&6; }
26772 fi
26773
26774
26775 fi
26776 if test -z "$ac_cv_path_PKG_CONFIG"; then
26777 ac_pt_PKG_CONFIG=$PKG_CONFIG
26778 # Extract the first word of "pkg-config", so it can be a program name with args.
26779 set dummy pkg-config; ac_word=$2
26780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26781 $as_echo_n "checking for $ac_word... " >&6; }
26782 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26783 $as_echo_n "(cached) " >&6
26784 else
26785 case $ac_pt_PKG_CONFIG in
26786 [\\/]* | ?:[\\/]*)
26787 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26788 ;;
26789 *)
26790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26791 for as_dir in $PATH
26792 do
26793 IFS=$as_save_IFS
26794 test -z "$as_dir" && as_dir=.
26795 for ac_exec_ext in '' $ac_executable_extensions; do
26796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26797 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26799 break 2
26800 fi
26801 done
26802 done
26803 IFS=$as_save_IFS
26804
26805 ;;
26806 esac
26807 fi
26808 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26809 if test -n "$ac_pt_PKG_CONFIG"; then
26810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26811 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26812 else
26813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26814 $as_echo "no" >&6; }
26815 fi
26816
26817 if test "x$ac_pt_PKG_CONFIG" = x; then
26818 PKG_CONFIG=""
26819 else
26820 case $cross_compiling:$ac_tool_warned in
26821 yes:)
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26824 ac_tool_warned=yes ;;
26825 esac
26826 PKG_CONFIG=$ac_pt_PKG_CONFIG
26827 fi
26828 else
26829 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26830 fi
26831
26832 fi
26833 if test -n "$PKG_CONFIG"; then
26834 _pkg_min_version=0.9.0
26835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26836 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26837 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26839 $as_echo "yes" >&6; }
26840 else
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26842 $as_echo "no" >&6; }
26843 PKG_CONFIG=""
26844 fi
26845
26846 fi 6> /dev/null
26847
26848 pkg_failed=no
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26850 $as_echo_n "checking for Xxf86vm... " >&6; }
26851
26852 if test -n "$PKG_CONFIG"; then
26853 if test -n "$Xxf86vm_CFLAGS"; then
26854 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26855 else
26856 if test -n "$PKG_CONFIG" && \
26857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26858 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26859 ac_status=$?
26860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26861 test $ac_status = 0; }; then
26862 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26863 else
26864 pkg_failed=yes
26865 fi
26866 fi
26867 else
26868 pkg_failed=untried
26869 fi
26870 if test -n "$PKG_CONFIG"; then
26871 if test -n "$Xxf86vm_LIBS"; then
26872 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
26873 else
26874 if test -n "$PKG_CONFIG" && \
26875 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26876 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26877 ac_status=$?
26878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26879 test $ac_status = 0; }; then
26880 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26881 else
26882 pkg_failed=yes
26883 fi
26884 fi
26885 else
26886 pkg_failed=untried
26887 fi
26888
26889
26890
26891 if test $pkg_failed = yes; then
26892
26893 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26894 _pkg_short_errors_supported=yes
26895 else
26896 _pkg_short_errors_supported=no
26897 fi
26898 if test $_pkg_short_errors_supported = yes; then
26899 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26900 else
26901 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26902 fi
26903 # Put the nasty error message in config.log where it belongs
26904 echo "$Xxf86vm_PKG_ERRORS" >&5
26905
26906
26907 if test "x$ac_find_libraries" = "x"; then
26908 if test "xXF86VidModeQueryExtension" != "x"; then
26909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26910 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26911 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26912 $as_echo_n "(cached) " >&6
26913 else
26914 ac_check_lib_save_LIBS=$LIBS
26915 LIBS="-lXxf86vm $LIBS"
26916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26917 /* end confdefs.h. */
26918
26919 /* Override any GCC internal prototype to avoid an error.
26920 Use char because int might match the return type of a GCC
26921 builtin and then its argument prototype would still apply. */
26922 #ifdef __cplusplus
26923 extern "C"
26924 #endif
26925 char XF86VidModeQueryExtension ();
26926 int
26927 main ()
26928 {
26929 return XF86VidModeQueryExtension ();
26930 ;
26931 return 0;
26932 }
26933 _ACEOF
26934 if ac_fn_c_try_link "$LINENO"; then :
26935 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26936 else
26937 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26938 fi
26939 rm -f core conftest.err conftest.$ac_objext \
26940 conftest$ac_exeext conftest.$ac_ext
26941 LIBS=$ac_check_lib_save_LIBS
26942 fi
26943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26944 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26945 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
26946 ac_find_libraries="std"
26947 fi
26948
26949 fi
26950 fi
26951
26952 if test "x$ac_find_libraries" = "x"; then
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26954 $as_echo_n "checking elsewhere... " >&6; }
26955
26956 ac_find_libraries=
26957 for ac_dir in $SEARCH_LIB
26958 do
26959 for ac_extension in a so sl dylib dll.a; do
26960 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26961 ac_find_libraries=$ac_dir
26962 break 2
26963 fi
26964 done
26965 done
26966
26967 if test "x$ac_find_libraries" != "x"; then
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26969 $as_echo "yes" >&6; }
26970 else
26971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26972 $as_echo "no" >&6; }
26973 fi
26974 fi
26975
26976 elif test $pkg_failed = untried; then
26977
26978 if test "x$ac_find_libraries" = "x"; then
26979 if test "xXF86VidModeQueryExtension" != "x"; then
26980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26981 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26982 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26983 $as_echo_n "(cached) " >&6
26984 else
26985 ac_check_lib_save_LIBS=$LIBS
26986 LIBS="-lXxf86vm $LIBS"
26987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26988 /* end confdefs.h. */
26989
26990 /* Override any GCC internal prototype to avoid an error.
26991 Use char because int might match the return type of a GCC
26992 builtin and then its argument prototype would still apply. */
26993 #ifdef __cplusplus
26994 extern "C"
26995 #endif
26996 char XF86VidModeQueryExtension ();
26997 int
26998 main ()
26999 {
27000 return XF86VidModeQueryExtension ();
27001 ;
27002 return 0;
27003 }
27004 _ACEOF
27005 if ac_fn_c_try_link "$LINENO"; then :
27006 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
27007 else
27008 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
27009 fi
27010 rm -f core conftest.err conftest.$ac_objext \
27011 conftest$ac_exeext conftest.$ac_ext
27012 LIBS=$ac_check_lib_save_LIBS
27013 fi
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27015 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27016 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
27017 ac_find_libraries="std"
27018 fi
27019
27020 fi
27021 fi
27022
27023 if test "x$ac_find_libraries" = "x"; then
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27025 $as_echo_n "checking elsewhere... " >&6; }
27026
27027 ac_find_libraries=
27028 for ac_dir in $SEARCH_LIB
27029 do
27030 for ac_extension in a so sl dylib dll.a; do
27031 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27032 ac_find_libraries=$ac_dir
27033 break 2
27034 fi
27035 done
27036 done
27037
27038 if test "x$ac_find_libraries" != "x"; then
27039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27040 $as_echo "yes" >&6; }
27041 else
27042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27043 $as_echo "no" >&6; }
27044 fi
27045 fi
27046
27047 else
27048 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
27049 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
27050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27051 $as_echo "yes" >&6; }
27052
27053 ac_find_libraries="std"
27054
27055 eval ac_find_cflags=\$Xxf86vm_CFLAGS
27056 eval fl_libs=\$Xxf86vm_LIBS
27057
27058 for fl_path in $fl_libs
27059 do
27060 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27061 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27062 fi
27063 done
27064
27065 fi
27066
27067 if test "$ac_find_libraries" != "" ; then
27068 for ac_header in X11/extensions/xf86vmode.h
27069 do :
27070 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27071 #if HAVE_X11_XLIB_H
27072 #include <X11/Xlib.h>
27073 #endif
27074
27075 "
27076 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x""yes; then :
27077 cat >>confdefs.h <<_ACEOF
27078 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27079 _ACEOF
27080
27081 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
27082
27083 fi
27084
27085 done
27086
27087 fi
27088 fi
27089 fi
27090
27091 if test "$wxUSE_DETECT_SM" = "yes"; then
27092 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27093
27094 ac_find_libraries=
27095
27096 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
27097
27098
27099 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27100 if test -n "$ac_tool_prefix"; then
27101 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27102 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27104 $as_echo_n "checking for $ac_word... " >&6; }
27105 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27106 $as_echo_n "(cached) " >&6
27107 else
27108 case $PKG_CONFIG in
27109 [\\/]* | ?:[\\/]*)
27110 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27111 ;;
27112 *)
27113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27114 for as_dir in $PATH
27115 do
27116 IFS=$as_save_IFS
27117 test -z "$as_dir" && as_dir=.
27118 for ac_exec_ext in '' $ac_executable_extensions; do
27119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27120 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27122 break 2
27123 fi
27124 done
27125 done
27126 IFS=$as_save_IFS
27127
27128 ;;
27129 esac
27130 fi
27131 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27132 if test -n "$PKG_CONFIG"; then
27133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27134 $as_echo "$PKG_CONFIG" >&6; }
27135 else
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27137 $as_echo "no" >&6; }
27138 fi
27139
27140
27141 fi
27142 if test -z "$ac_cv_path_PKG_CONFIG"; then
27143 ac_pt_PKG_CONFIG=$PKG_CONFIG
27144 # Extract the first word of "pkg-config", so it can be a program name with args.
27145 set dummy pkg-config; ac_word=$2
27146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27147 $as_echo_n "checking for $ac_word... " >&6; }
27148 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27149 $as_echo_n "(cached) " >&6
27150 else
27151 case $ac_pt_PKG_CONFIG in
27152 [\\/]* | ?:[\\/]*)
27153 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27154 ;;
27155 *)
27156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27157 for as_dir in $PATH
27158 do
27159 IFS=$as_save_IFS
27160 test -z "$as_dir" && as_dir=.
27161 for ac_exec_ext in '' $ac_executable_extensions; do
27162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27163 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27165 break 2
27166 fi
27167 done
27168 done
27169 IFS=$as_save_IFS
27170
27171 ;;
27172 esac
27173 fi
27174 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27175 if test -n "$ac_pt_PKG_CONFIG"; then
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27177 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27178 else
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27180 $as_echo "no" >&6; }
27181 fi
27182
27183 if test "x$ac_pt_PKG_CONFIG" = x; then
27184 PKG_CONFIG=""
27185 else
27186 case $cross_compiling:$ac_tool_warned in
27187 yes:)
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27190 ac_tool_warned=yes ;;
27191 esac
27192 PKG_CONFIG=$ac_pt_PKG_CONFIG
27193 fi
27194 else
27195 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27196 fi
27197
27198 fi
27199 if test -n "$PKG_CONFIG"; then
27200 _pkg_min_version=0.9.0
27201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27202 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27203 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27205 $as_echo "yes" >&6; }
27206 else
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27208 $as_echo "no" >&6; }
27209 PKG_CONFIG=""
27210 fi
27211
27212 fi 6> /dev/null
27213
27214 pkg_failed=no
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27216 $as_echo_n "checking for SM... " >&6; }
27217
27218 if test -n "$PKG_CONFIG"; then
27219 if test -n "$SM_CFLAGS"; then
27220 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27221 else
27222 if test -n "$PKG_CONFIG" && \
27223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27224 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27225 ac_status=$?
27226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27227 test $ac_status = 0; }; then
27228 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27229 else
27230 pkg_failed=yes
27231 fi
27232 fi
27233 else
27234 pkg_failed=untried
27235 fi
27236 if test -n "$PKG_CONFIG"; then
27237 if test -n "$SM_LIBS"; then
27238 pkg_cv_SM_LIBS="$SM_LIBS"
27239 else
27240 if test -n "$PKG_CONFIG" && \
27241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27242 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27243 ac_status=$?
27244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27245 test $ac_status = 0; }; then
27246 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27247 else
27248 pkg_failed=yes
27249 fi
27250 fi
27251 else
27252 pkg_failed=untried
27253 fi
27254
27255
27256
27257 if test $pkg_failed = yes; then
27258
27259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27260 _pkg_short_errors_supported=yes
27261 else
27262 _pkg_short_errors_supported=no
27263 fi
27264 if test $_pkg_short_errors_supported = yes; then
27265 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27266 else
27267 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27268 fi
27269 # Put the nasty error message in config.log where it belongs
27270 echo "$SM_PKG_ERRORS" >&5
27271
27272
27273 if test "x$ac_find_libraries" = "x"; then
27274 if test "xSmcOpenConnection" != "x"; then
27275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27276 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27277 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27278 $as_echo_n "(cached) " >&6
27279 else
27280 ac_check_lib_save_LIBS=$LIBS
27281 LIBS="-lSM $LIBS"
27282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27283 /* end confdefs.h. */
27284
27285 /* Override any GCC internal prototype to avoid an error.
27286 Use char because int might match the return type of a GCC
27287 builtin and then its argument prototype would still apply. */
27288 #ifdef __cplusplus
27289 extern "C"
27290 #endif
27291 char SmcOpenConnection ();
27292 int
27293 main ()
27294 {
27295 return SmcOpenConnection ();
27296 ;
27297 return 0;
27298 }
27299 _ACEOF
27300 if ac_fn_c_try_link "$LINENO"; then :
27301 ac_cv_lib_SM_SmcOpenConnection=yes
27302 else
27303 ac_cv_lib_SM_SmcOpenConnection=no
27304 fi
27305 rm -f core conftest.err conftest.$ac_objext \
27306 conftest$ac_exeext conftest.$ac_ext
27307 LIBS=$ac_check_lib_save_LIBS
27308 fi
27309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27310 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27311 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27312 ac_find_libraries="std"
27313 fi
27314
27315 fi
27316 fi
27317
27318 if test "x$ac_find_libraries" = "x"; then
27319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27320 $as_echo_n "checking elsewhere... " >&6; }
27321
27322 ac_find_libraries=
27323 for ac_dir in $SEARCH_LIB
27324 do
27325 for ac_extension in a so sl dylib dll.a; do
27326 if test -f "$ac_dir/libSM.$ac_extension"; then
27327 ac_find_libraries=$ac_dir
27328 break 2
27329 fi
27330 done
27331 done
27332
27333 if test "x$ac_find_libraries" != "x"; then
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27335 $as_echo "yes" >&6; }
27336 else
27337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27338 $as_echo "no" >&6; }
27339 fi
27340 fi
27341
27342 elif test $pkg_failed = untried; then
27343
27344 if test "x$ac_find_libraries" = "x"; then
27345 if test "xSmcOpenConnection" != "x"; then
27346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27347 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27348 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27349 $as_echo_n "(cached) " >&6
27350 else
27351 ac_check_lib_save_LIBS=$LIBS
27352 LIBS="-lSM $LIBS"
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27355
27356 /* Override any GCC internal prototype to avoid an error.
27357 Use char because int might match the return type of a GCC
27358 builtin and then its argument prototype would still apply. */
27359 #ifdef __cplusplus
27360 extern "C"
27361 #endif
27362 char SmcOpenConnection ();
27363 int
27364 main ()
27365 {
27366 return SmcOpenConnection ();
27367 ;
27368 return 0;
27369 }
27370 _ACEOF
27371 if ac_fn_c_try_link "$LINENO"; then :
27372 ac_cv_lib_SM_SmcOpenConnection=yes
27373 else
27374 ac_cv_lib_SM_SmcOpenConnection=no
27375 fi
27376 rm -f core conftest.err conftest.$ac_objext \
27377 conftest$ac_exeext conftest.$ac_ext
27378 LIBS=$ac_check_lib_save_LIBS
27379 fi
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27381 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27382 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27383 ac_find_libraries="std"
27384 fi
27385
27386 fi
27387 fi
27388
27389 if test "x$ac_find_libraries" = "x"; then
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27391 $as_echo_n "checking elsewhere... " >&6; }
27392
27393 ac_find_libraries=
27394 for ac_dir in $SEARCH_LIB
27395 do
27396 for ac_extension in a so sl dylib dll.a; do
27397 if test -f "$ac_dir/libSM.$ac_extension"; then
27398 ac_find_libraries=$ac_dir
27399 break 2
27400 fi
27401 done
27402 done
27403
27404 if test "x$ac_find_libraries" != "x"; then
27405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27406 $as_echo "yes" >&6; }
27407 else
27408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27409 $as_echo "no" >&6; }
27410 fi
27411 fi
27412
27413 else
27414 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27415 SM_LIBS=$pkg_cv_SM_LIBS
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27417 $as_echo "yes" >&6; }
27418
27419 ac_find_libraries="std"
27420
27421 eval ac_find_cflags=\$SM_CFLAGS
27422 eval fl_libs=\$SM_LIBS
27423
27424 for fl_path in $fl_libs
27425 do
27426 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27427 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27428 fi
27429 done
27430
27431 fi
27432
27433 if test "$ac_find_libraries" != "" ; then
27434 if test "$ac_find_libraries" != "std" ; then
27435
27436 if test "$ac_find_libraries" = "default location"; then
27437 ac_path_to_link=""
27438 else
27439 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27440 result=$?
27441 if test $result = 0; then
27442 ac_path_to_link=""
27443 else
27444 ac_path_to_link=" -L$ac_find_libraries"
27445 fi
27446 fi
27447
27448 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27449 LDFLAGS="$LDFLAGS $ac_path_to_link"
27450 fi
27451 fi
27452 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27453 else
27454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27455 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27456 wxUSE_DETECT_SM="no"
27457 fi
27458 else
27459 wxUSE_DETECT_SM="no"
27460 fi
27461 fi
27462
27463
27464
27465 USE_OPENGL=0
27466 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27467
27468
27469 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27470 OPENGL_LIBS="-framework OpenGL -framework AGL"
27471 elif test "$wxUSE_MSW" = 1; then
27472 OPENGL_LIBS="-lopengl32 -lglu32"
27473 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27474
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27476 $as_echo_n "checking for OpenGL headers... " >&6; }
27477
27478 ac_find_includes=
27479 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27480 do
27481 if test -f "$ac_dir/GL/gl.h"; then
27482 ac_find_includes=$ac_dir
27483 break
27484 fi
27485 done
27486
27487 if test "$ac_find_includes" != "" ; then
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27489 $as_echo "found in $ac_find_includes" >&6; }
27490
27491 if test "x$ac_find_includes" = "x/usr/include"; then
27492 ac_path_to_include=""
27493 else
27494 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27495 result=$?
27496 if test $result = 0; then
27497 ac_path_to_include=""
27498 else
27499 ac_path_to_include=" -I$ac_find_includes"
27500 fi
27501 fi
27502
27503 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27504 else
27505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27506 $as_echo "not found" >&6; }
27507 fi
27508
27509 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27510 "
27511 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
27512
27513 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27514 "
27515 if test "x$ac_cv_header_GL_glu_h" = x""yes; then :
27516
27517 found_gl=0
27518
27519
27520 ac_find_libraries=
27521
27522 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27523
27524
27525 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27526 if test -n "$ac_tool_prefix"; then
27527 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27528 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27530 $as_echo_n "checking for $ac_word... " >&6; }
27531 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27532 $as_echo_n "(cached) " >&6
27533 else
27534 case $PKG_CONFIG in
27535 [\\/]* | ?:[\\/]*)
27536 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27537 ;;
27538 *)
27539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27540 for as_dir in $PATH
27541 do
27542 IFS=$as_save_IFS
27543 test -z "$as_dir" && as_dir=.
27544 for ac_exec_ext in '' $ac_executable_extensions; do
27545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27546 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27548 break 2
27549 fi
27550 done
27551 done
27552 IFS=$as_save_IFS
27553
27554 ;;
27555 esac
27556 fi
27557 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27558 if test -n "$PKG_CONFIG"; then
27559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27560 $as_echo "$PKG_CONFIG" >&6; }
27561 else
27562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27563 $as_echo "no" >&6; }
27564 fi
27565
27566
27567 fi
27568 if test -z "$ac_cv_path_PKG_CONFIG"; then
27569 ac_pt_PKG_CONFIG=$PKG_CONFIG
27570 # Extract the first word of "pkg-config", so it can be a program name with args.
27571 set dummy pkg-config; ac_word=$2
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27573 $as_echo_n "checking for $ac_word... " >&6; }
27574 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27575 $as_echo_n "(cached) " >&6
27576 else
27577 case $ac_pt_PKG_CONFIG in
27578 [\\/]* | ?:[\\/]*)
27579 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27580 ;;
27581 *)
27582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27583 for as_dir in $PATH
27584 do
27585 IFS=$as_save_IFS
27586 test -z "$as_dir" && as_dir=.
27587 for ac_exec_ext in '' $ac_executable_extensions; do
27588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27589 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27591 break 2
27592 fi
27593 done
27594 done
27595 IFS=$as_save_IFS
27596
27597 ;;
27598 esac
27599 fi
27600 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27601 if test -n "$ac_pt_PKG_CONFIG"; then
27602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27603 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27604 else
27605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27606 $as_echo "no" >&6; }
27607 fi
27608
27609 if test "x$ac_pt_PKG_CONFIG" = x; then
27610 PKG_CONFIG=""
27611 else
27612 case $cross_compiling:$ac_tool_warned in
27613 yes:)
27614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27616 ac_tool_warned=yes ;;
27617 esac
27618 PKG_CONFIG=$ac_pt_PKG_CONFIG
27619 fi
27620 else
27621 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27622 fi
27623
27624 fi
27625 if test -n "$PKG_CONFIG"; then
27626 _pkg_min_version=0.9.0
27627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27628 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27629 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27631 $as_echo "yes" >&6; }
27632 else
27633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27634 $as_echo "no" >&6; }
27635 PKG_CONFIG=""
27636 fi
27637
27638 fi 6> /dev/null
27639
27640 pkg_failed=no
27641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27642 $as_echo_n "checking for GL... " >&6; }
27643
27644 if test -n "$PKG_CONFIG"; then
27645 if test -n "$GL_CFLAGS"; then
27646 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27647 else
27648 if test -n "$PKG_CONFIG" && \
27649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27650 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27651 ac_status=$?
27652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27653 test $ac_status = 0; }; then
27654 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27655 else
27656 pkg_failed=yes
27657 fi
27658 fi
27659 else
27660 pkg_failed=untried
27661 fi
27662 if test -n "$PKG_CONFIG"; then
27663 if test -n "$GL_LIBS"; then
27664 pkg_cv_GL_LIBS="$GL_LIBS"
27665 else
27666 if test -n "$PKG_CONFIG" && \
27667 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27668 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27669 ac_status=$?
27670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27671 test $ac_status = 0; }; then
27672 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27673 else
27674 pkg_failed=yes
27675 fi
27676 fi
27677 else
27678 pkg_failed=untried
27679 fi
27680
27681
27682
27683 if test $pkg_failed = yes; then
27684
27685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27686 _pkg_short_errors_supported=yes
27687 else
27688 _pkg_short_errors_supported=no
27689 fi
27690 if test $_pkg_short_errors_supported = yes; then
27691 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27692 else
27693 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27694 fi
27695 # Put the nasty error message in config.log where it belongs
27696 echo "$GL_PKG_ERRORS" >&5
27697
27698
27699 if test "x$ac_find_libraries" = "x"; then
27700 if test "xglBegin" != "x"; then
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27702 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27703 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27704 $as_echo_n "(cached) " >&6
27705 else
27706 ac_check_lib_save_LIBS=$LIBS
27707 LIBS="-lGL $LIBS"
27708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27709 /* end confdefs.h. */
27710
27711 /* Override any GCC internal prototype to avoid an error.
27712 Use char because int might match the return type of a GCC
27713 builtin and then its argument prototype would still apply. */
27714 #ifdef __cplusplus
27715 extern "C"
27716 #endif
27717 char glBegin ();
27718 int
27719 main ()
27720 {
27721 return glBegin ();
27722 ;
27723 return 0;
27724 }
27725 _ACEOF
27726 if ac_fn_c_try_link "$LINENO"; then :
27727 ac_cv_lib_GL_glBegin=yes
27728 else
27729 ac_cv_lib_GL_glBegin=no
27730 fi
27731 rm -f core conftest.err conftest.$ac_objext \
27732 conftest$ac_exeext conftest.$ac_ext
27733 LIBS=$ac_check_lib_save_LIBS
27734 fi
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27736 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27737 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27738 ac_find_libraries="std"
27739 fi
27740
27741 fi
27742 fi
27743
27744 if test "x$ac_find_libraries" = "x"; then
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27746 $as_echo_n "checking elsewhere... " >&6; }
27747
27748 ac_find_libraries=
27749 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27750 do
27751 for ac_extension in a so sl dylib dll.a; do
27752 if test -f "$ac_dir/libGL.$ac_extension"; then
27753 ac_find_libraries=$ac_dir
27754 break 2
27755 fi
27756 done
27757 done
27758
27759 if test "x$ac_find_libraries" != "x"; then
27760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27761 $as_echo "yes" >&6; }
27762 else
27763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27764 $as_echo "no" >&6; }
27765 fi
27766 fi
27767
27768 elif test $pkg_failed = untried; then
27769
27770 if test "x$ac_find_libraries" = "x"; then
27771 if test "xglBegin" != "x"; then
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27773 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27774 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27775 $as_echo_n "(cached) " >&6
27776 else
27777 ac_check_lib_save_LIBS=$LIBS
27778 LIBS="-lGL $LIBS"
27779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27780 /* end confdefs.h. */
27781
27782 /* Override any GCC internal prototype to avoid an error.
27783 Use char because int might match the return type of a GCC
27784 builtin and then its argument prototype would still apply. */
27785 #ifdef __cplusplus
27786 extern "C"
27787 #endif
27788 char glBegin ();
27789 int
27790 main ()
27791 {
27792 return glBegin ();
27793 ;
27794 return 0;
27795 }
27796 _ACEOF
27797 if ac_fn_c_try_link "$LINENO"; then :
27798 ac_cv_lib_GL_glBegin=yes
27799 else
27800 ac_cv_lib_GL_glBegin=no
27801 fi
27802 rm -f core conftest.err conftest.$ac_objext \
27803 conftest$ac_exeext conftest.$ac_ext
27804 LIBS=$ac_check_lib_save_LIBS
27805 fi
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27807 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27808 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27809 ac_find_libraries="std"
27810 fi
27811
27812 fi
27813 fi
27814
27815 if test "x$ac_find_libraries" = "x"; then
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27817 $as_echo_n "checking elsewhere... " >&6; }
27818
27819 ac_find_libraries=
27820 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27821 do
27822 for ac_extension in a so sl dylib dll.a; do
27823 if test -f "$ac_dir/libGL.$ac_extension"; then
27824 ac_find_libraries=$ac_dir
27825 break 2
27826 fi
27827 done
27828 done
27829
27830 if test "x$ac_find_libraries" != "x"; then
27831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27832 $as_echo "yes" >&6; }
27833 else
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27835 $as_echo "no" >&6; }
27836 fi
27837 fi
27838
27839 else
27840 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27841 GL_LIBS=$pkg_cv_GL_LIBS
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27843 $as_echo "yes" >&6; }
27844
27845 ac_find_libraries="std"
27846
27847 eval ac_find_cflags=\$GL_CFLAGS
27848 eval fl_libs=\$GL_LIBS
27849
27850 for fl_path in $fl_libs
27851 do
27852 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27853 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27854 fi
27855 done
27856
27857 fi
27858
27859 if test "$ac_find_libraries" != "" ; then
27860 if test "$ac_find_libraries" != "std" ; then
27861
27862 if test "$ac_find_libraries" = "default location"; then
27863 ac_path_to_link=""
27864 else
27865 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27866 result=$?
27867 if test $result = 0; then
27868 ac_path_to_link=""
27869 else
27870 ac_path_to_link=" -L$ac_find_libraries"
27871 fi
27872 fi
27873
27874 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27875 LDFLAGS_GL="$ac_path_to_link"
27876 fi
27877 fi
27878
27879
27880 ac_find_libraries=
27881
27882 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
27883
27884
27885 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27886 if test -n "$ac_tool_prefix"; then
27887 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27888 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27890 $as_echo_n "checking for $ac_word... " >&6; }
27891 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27892 $as_echo_n "(cached) " >&6
27893 else
27894 case $PKG_CONFIG in
27895 [\\/]* | ?:[\\/]*)
27896 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27897 ;;
27898 *)
27899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27900 for as_dir in $PATH
27901 do
27902 IFS=$as_save_IFS
27903 test -z "$as_dir" && as_dir=.
27904 for ac_exec_ext in '' $ac_executable_extensions; do
27905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27906 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27908 break 2
27909 fi
27910 done
27911 done
27912 IFS=$as_save_IFS
27913
27914 ;;
27915 esac
27916 fi
27917 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27918 if test -n "$PKG_CONFIG"; then
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27920 $as_echo "$PKG_CONFIG" >&6; }
27921 else
27922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27923 $as_echo "no" >&6; }
27924 fi
27925
27926
27927 fi
27928 if test -z "$ac_cv_path_PKG_CONFIG"; then
27929 ac_pt_PKG_CONFIG=$PKG_CONFIG
27930 # Extract the first word of "pkg-config", so it can be a program name with args.
27931 set dummy pkg-config; ac_word=$2
27932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27933 $as_echo_n "checking for $ac_word... " >&6; }
27934 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27935 $as_echo_n "(cached) " >&6
27936 else
27937 case $ac_pt_PKG_CONFIG in
27938 [\\/]* | ?:[\\/]*)
27939 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27940 ;;
27941 *)
27942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27943 for as_dir in $PATH
27944 do
27945 IFS=$as_save_IFS
27946 test -z "$as_dir" && as_dir=.
27947 for ac_exec_ext in '' $ac_executable_extensions; do
27948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27949 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27951 break 2
27952 fi
27953 done
27954 done
27955 IFS=$as_save_IFS
27956
27957 ;;
27958 esac
27959 fi
27960 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27961 if test -n "$ac_pt_PKG_CONFIG"; then
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27963 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27964 else
27965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27966 $as_echo "no" >&6; }
27967 fi
27968
27969 if test "x$ac_pt_PKG_CONFIG" = x; then
27970 PKG_CONFIG=""
27971 else
27972 case $cross_compiling:$ac_tool_warned in
27973 yes:)
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27976 ac_tool_warned=yes ;;
27977 esac
27978 PKG_CONFIG=$ac_pt_PKG_CONFIG
27979 fi
27980 else
27981 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27982 fi
27983
27984 fi
27985 if test -n "$PKG_CONFIG"; then
27986 _pkg_min_version=0.9.0
27987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27988 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27989 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27991 $as_echo "yes" >&6; }
27992 else
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27994 $as_echo "no" >&6; }
27995 PKG_CONFIG=""
27996 fi
27997
27998 fi 6> /dev/null
27999
28000 pkg_failed=no
28001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28002 $as_echo_n "checking for GLU... " >&6; }
28003
28004 if test -n "$PKG_CONFIG"; then
28005 if test -n "$GLU_CFLAGS"; then
28006 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
28007 else
28008 if test -n "$PKG_CONFIG" && \
28009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28010 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28011 ac_status=$?
28012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28013 test $ac_status = 0; }; then
28014 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28015 else
28016 pkg_failed=yes
28017 fi
28018 fi
28019 else
28020 pkg_failed=untried
28021 fi
28022 if test -n "$PKG_CONFIG"; then
28023 if test -n "$GLU_LIBS"; then
28024 pkg_cv_GLU_LIBS="$GLU_LIBS"
28025 else
28026 if test -n "$PKG_CONFIG" && \
28027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28028 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28029 ac_status=$?
28030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28031 test $ac_status = 0; }; then
28032 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28033 else
28034 pkg_failed=yes
28035 fi
28036 fi
28037 else
28038 pkg_failed=untried
28039 fi
28040
28041
28042
28043 if test $pkg_failed = yes; then
28044
28045 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28046 _pkg_short_errors_supported=yes
28047 else
28048 _pkg_short_errors_supported=no
28049 fi
28050 if test $_pkg_short_errors_supported = yes; then
28051 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28052 else
28053 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28054 fi
28055 # Put the nasty error message in config.log where it belongs
28056 echo "$GLU_PKG_ERRORS" >&5
28057
28058
28059 if test "x$ac_find_libraries" = "x"; then
28060 if test "xgluBeginCurve" != "x"; then
28061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28062 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28063 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28064 $as_echo_n "(cached) " >&6
28065 else
28066 ac_check_lib_save_LIBS=$LIBS
28067 LIBS="-lGLU $LIBS"
28068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28069 /* end confdefs.h. */
28070
28071 /* Override any GCC internal prototype to avoid an error.
28072 Use char because int might match the return type of a GCC
28073 builtin and then its argument prototype would still apply. */
28074 #ifdef __cplusplus
28075 extern "C"
28076 #endif
28077 char gluBeginCurve ();
28078 int
28079 main ()
28080 {
28081 return gluBeginCurve ();
28082 ;
28083 return 0;
28084 }
28085 _ACEOF
28086 if ac_fn_c_try_link "$LINENO"; then :
28087 ac_cv_lib_GLU_gluBeginCurve=yes
28088 else
28089 ac_cv_lib_GLU_gluBeginCurve=no
28090 fi
28091 rm -f core conftest.err conftest.$ac_objext \
28092 conftest$ac_exeext conftest.$ac_ext
28093 LIBS=$ac_check_lib_save_LIBS
28094 fi
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28096 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28097 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28098 ac_find_libraries="std"
28099 fi
28100
28101 fi
28102 fi
28103
28104 if test "x$ac_find_libraries" = "x"; then
28105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28106 $as_echo_n "checking elsewhere... " >&6; }
28107
28108 ac_find_libraries=
28109 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28110 do
28111 for ac_extension in a so sl dylib dll.a; do
28112 if test -f "$ac_dir/libGLU.$ac_extension"; then
28113 ac_find_libraries=$ac_dir
28114 break 2
28115 fi
28116 done
28117 done
28118
28119 if test "x$ac_find_libraries" != "x"; then
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28121 $as_echo "yes" >&6; }
28122 else
28123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28124 $as_echo "no" >&6; }
28125 fi
28126 fi
28127
28128 elif test $pkg_failed = untried; then
28129
28130 if test "x$ac_find_libraries" = "x"; then
28131 if test "xgluBeginCurve" != "x"; then
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28133 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28134 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
28135 $as_echo_n "(cached) " >&6
28136 else
28137 ac_check_lib_save_LIBS=$LIBS
28138 LIBS="-lGLU $LIBS"
28139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28140 /* end confdefs.h. */
28141
28142 /* Override any GCC internal prototype to avoid an error.
28143 Use char because int might match the return type of a GCC
28144 builtin and then its argument prototype would still apply. */
28145 #ifdef __cplusplus
28146 extern "C"
28147 #endif
28148 char gluBeginCurve ();
28149 int
28150 main ()
28151 {
28152 return gluBeginCurve ();
28153 ;
28154 return 0;
28155 }
28156 _ACEOF
28157 if ac_fn_c_try_link "$LINENO"; then :
28158 ac_cv_lib_GLU_gluBeginCurve=yes
28159 else
28160 ac_cv_lib_GLU_gluBeginCurve=no
28161 fi
28162 rm -f core conftest.err conftest.$ac_objext \
28163 conftest$ac_exeext conftest.$ac_ext
28164 LIBS=$ac_check_lib_save_LIBS
28165 fi
28166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28167 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28168 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28169 ac_find_libraries="std"
28170 fi
28171
28172 fi
28173 fi
28174
28175 if test "x$ac_find_libraries" = "x"; then
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28177 $as_echo_n "checking elsewhere... " >&6; }
28178
28179 ac_find_libraries=
28180 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28181 do
28182 for ac_extension in a so sl dylib dll.a; do
28183 if test -f "$ac_dir/libGLU.$ac_extension"; then
28184 ac_find_libraries=$ac_dir
28185 break 2
28186 fi
28187 done
28188 done
28189
28190 if test "x$ac_find_libraries" != "x"; then
28191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28192 $as_echo "yes" >&6; }
28193 else
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28195 $as_echo "no" >&6; }
28196 fi
28197 fi
28198
28199 else
28200 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28201 GLU_LIBS=$pkg_cv_GLU_LIBS
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28203 $as_echo "yes" >&6; }
28204
28205 ac_find_libraries="std"
28206
28207 eval ac_find_cflags=\$GLU_CFLAGS
28208 eval fl_libs=\$GLU_LIBS
28209
28210 for fl_path in $fl_libs
28211 do
28212 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28213 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28214 fi
28215 done
28216
28217 fi
28218
28219 if test "$ac_find_libraries" != "" ; then
28220 if test "$ac_find_libraries" != "std" ; then
28221
28222 if test "$ac_find_libraries" = "default location"; then
28223 ac_path_to_link=""
28224 else
28225 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28226 result=$?
28227 if test $result = 0; then
28228 ac_path_to_link=""
28229 else
28230 ac_path_to_link=" -L$ac_find_libraries"
28231 fi
28232 fi
28233
28234 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28235 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28236 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28237 fi
28238 fi
28239
28240 found_gl=1
28241 OPENGL_LIBS="-lGL -lGLU"
28242 fi
28243 fi
28244
28245 if test "$found_gl" != 1; then
28246
28247 ac_find_libraries=
28248
28249 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28250
28251
28252 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28253 if test -n "$ac_tool_prefix"; then
28254 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28255 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28257 $as_echo_n "checking for $ac_word... " >&6; }
28258 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28259 $as_echo_n "(cached) " >&6
28260 else
28261 case $PKG_CONFIG in
28262 [\\/]* | ?:[\\/]*)
28263 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28264 ;;
28265 *)
28266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28267 for as_dir in $PATH
28268 do
28269 IFS=$as_save_IFS
28270 test -z "$as_dir" && as_dir=.
28271 for ac_exec_ext in '' $ac_executable_extensions; do
28272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28273 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28275 break 2
28276 fi
28277 done
28278 done
28279 IFS=$as_save_IFS
28280
28281 ;;
28282 esac
28283 fi
28284 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28285 if test -n "$PKG_CONFIG"; then
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28287 $as_echo "$PKG_CONFIG" >&6; }
28288 else
28289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28290 $as_echo "no" >&6; }
28291 fi
28292
28293
28294 fi
28295 if test -z "$ac_cv_path_PKG_CONFIG"; then
28296 ac_pt_PKG_CONFIG=$PKG_CONFIG
28297 # Extract the first word of "pkg-config", so it can be a program name with args.
28298 set dummy pkg-config; ac_word=$2
28299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28300 $as_echo_n "checking for $ac_word... " >&6; }
28301 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28302 $as_echo_n "(cached) " >&6
28303 else
28304 case $ac_pt_PKG_CONFIG in
28305 [\\/]* | ?:[\\/]*)
28306 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28307 ;;
28308 *)
28309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28310 for as_dir in $PATH
28311 do
28312 IFS=$as_save_IFS
28313 test -z "$as_dir" && as_dir=.
28314 for ac_exec_ext in '' $ac_executable_extensions; do
28315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28316 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28318 break 2
28319 fi
28320 done
28321 done
28322 IFS=$as_save_IFS
28323
28324 ;;
28325 esac
28326 fi
28327 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28328 if test -n "$ac_pt_PKG_CONFIG"; then
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28330 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28331 else
28332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28333 $as_echo "no" >&6; }
28334 fi
28335
28336 if test "x$ac_pt_PKG_CONFIG" = x; then
28337 PKG_CONFIG=""
28338 else
28339 case $cross_compiling:$ac_tool_warned in
28340 yes:)
28341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28342 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28343 ac_tool_warned=yes ;;
28344 esac
28345 PKG_CONFIG=$ac_pt_PKG_CONFIG
28346 fi
28347 else
28348 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28349 fi
28350
28351 fi
28352 if test -n "$PKG_CONFIG"; then
28353 _pkg_min_version=0.9.0
28354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28355 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28356 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28358 $as_echo "yes" >&6; }
28359 else
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28361 $as_echo "no" >&6; }
28362 PKG_CONFIG=""
28363 fi
28364
28365 fi 6> /dev/null
28366
28367 pkg_failed=no
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28369 $as_echo_n "checking for MesaGL... " >&6; }
28370
28371 if test -n "$PKG_CONFIG"; then
28372 if test -n "$MesaGL_CFLAGS"; then
28373 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28374 else
28375 if test -n "$PKG_CONFIG" && \
28376 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28377 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28378 ac_status=$?
28379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28380 test $ac_status = 0; }; then
28381 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28382 else
28383 pkg_failed=yes
28384 fi
28385 fi
28386 else
28387 pkg_failed=untried
28388 fi
28389 if test -n "$PKG_CONFIG"; then
28390 if test -n "$MesaGL_LIBS"; then
28391 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28392 else
28393 if test -n "$PKG_CONFIG" && \
28394 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28395 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28396 ac_status=$?
28397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28398 test $ac_status = 0; }; then
28399 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28400 else
28401 pkg_failed=yes
28402 fi
28403 fi
28404 else
28405 pkg_failed=untried
28406 fi
28407
28408
28409
28410 if test $pkg_failed = yes; then
28411
28412 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28413 _pkg_short_errors_supported=yes
28414 else
28415 _pkg_short_errors_supported=no
28416 fi
28417 if test $_pkg_short_errors_supported = yes; then
28418 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28419 else
28420 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28421 fi
28422 # Put the nasty error message in config.log where it belongs
28423 echo "$MesaGL_PKG_ERRORS" >&5
28424
28425
28426 if test "x$ac_find_libraries" = "x"; then
28427 if test "xglEnable" != "x"; then
28428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28429 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28430 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28431 $as_echo_n "(cached) " >&6
28432 else
28433 ac_check_lib_save_LIBS=$LIBS
28434 LIBS="-lMesaGL $LIBS"
28435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28436 /* end confdefs.h. */
28437
28438 /* Override any GCC internal prototype to avoid an error.
28439 Use char because int might match the return type of a GCC
28440 builtin and then its argument prototype would still apply. */
28441 #ifdef __cplusplus
28442 extern "C"
28443 #endif
28444 char glEnable ();
28445 int
28446 main ()
28447 {
28448 return glEnable ();
28449 ;
28450 return 0;
28451 }
28452 _ACEOF
28453 if ac_fn_c_try_link "$LINENO"; then :
28454 ac_cv_lib_MesaGL_glEnable=yes
28455 else
28456 ac_cv_lib_MesaGL_glEnable=no
28457 fi
28458 rm -f core conftest.err conftest.$ac_objext \
28459 conftest$ac_exeext conftest.$ac_ext
28460 LIBS=$ac_check_lib_save_LIBS
28461 fi
28462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28463 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28464 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28465 ac_find_libraries="std"
28466 fi
28467
28468 fi
28469 fi
28470
28471 if test "x$ac_find_libraries" = "x"; then
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28473 $as_echo_n "checking elsewhere... " >&6; }
28474
28475 ac_find_libraries=
28476 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28477 do
28478 for ac_extension in a so sl dylib dll.a; do
28479 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28480 ac_find_libraries=$ac_dir
28481 break 2
28482 fi
28483 done
28484 done
28485
28486 if test "x$ac_find_libraries" != "x"; then
28487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28488 $as_echo "yes" >&6; }
28489 else
28490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28491 $as_echo "no" >&6; }
28492 fi
28493 fi
28494
28495 elif test $pkg_failed = untried; then
28496
28497 if test "x$ac_find_libraries" = "x"; then
28498 if test "xglEnable" != "x"; then
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28500 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28501 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28502 $as_echo_n "(cached) " >&6
28503 else
28504 ac_check_lib_save_LIBS=$LIBS
28505 LIBS="-lMesaGL $LIBS"
28506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28507 /* end confdefs.h. */
28508
28509 /* Override any GCC internal prototype to avoid an error.
28510 Use char because int might match the return type of a GCC
28511 builtin and then its argument prototype would still apply. */
28512 #ifdef __cplusplus
28513 extern "C"
28514 #endif
28515 char glEnable ();
28516 int
28517 main ()
28518 {
28519 return glEnable ();
28520 ;
28521 return 0;
28522 }
28523 _ACEOF
28524 if ac_fn_c_try_link "$LINENO"; then :
28525 ac_cv_lib_MesaGL_glEnable=yes
28526 else
28527 ac_cv_lib_MesaGL_glEnable=no
28528 fi
28529 rm -f core conftest.err conftest.$ac_objext \
28530 conftest$ac_exeext conftest.$ac_ext
28531 LIBS=$ac_check_lib_save_LIBS
28532 fi
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28534 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28535 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28536 ac_find_libraries="std"
28537 fi
28538
28539 fi
28540 fi
28541
28542 if test "x$ac_find_libraries" = "x"; then
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28544 $as_echo_n "checking elsewhere... " >&6; }
28545
28546 ac_find_libraries=
28547 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28548 do
28549 for ac_extension in a so sl dylib dll.a; do
28550 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28551 ac_find_libraries=$ac_dir
28552 break 2
28553 fi
28554 done
28555 done
28556
28557 if test "x$ac_find_libraries" != "x"; then
28558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28559 $as_echo "yes" >&6; }
28560 else
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28562 $as_echo "no" >&6; }
28563 fi
28564 fi
28565
28566 else
28567 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28568 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28570 $as_echo "yes" >&6; }
28571
28572 ac_find_libraries="std"
28573
28574 eval ac_find_cflags=\$MesaGL_CFLAGS
28575 eval fl_libs=\$MesaGL_LIBS
28576
28577 for fl_path in $fl_libs
28578 do
28579 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28580 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28581 fi
28582 done
28583
28584 fi
28585
28586 if test "$ac_find_libraries" != "" ; then
28587 if test "$ac_find_libraries" != "std" ; then
28588
28589 if test "$ac_find_libraries" = "default location"; then
28590 ac_path_to_link=""
28591 else
28592 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28593 result=$?
28594 if test $result = 0; then
28595 ac_path_to_link=""
28596 else
28597 ac_path_to_link=" -L$ac_find_libraries"
28598 fi
28599 fi
28600
28601 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28602 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28603 fi
28604 fi
28605 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28606 fi
28607 fi
28608
28609 fi
28610
28611
28612
28613 fi
28614
28615
28616
28617 if test "x$OPENGL_LIBS" = "x"; then
28618 if test "$wxUSE_OPENGL" = "yes"; then
28619 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28620 else
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28622 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28623 wxUSE_OPENGL=no
28624 USE_OPENGL=0
28625 fi
28626 fi
28627 else
28628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28629 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28630 wxUSE_OPENGL="no"
28631 fi
28632
28633 if test "$wxUSE_OPENGL" = "auto"; then
28634 wxUSE_OPENGL=yes
28635 fi
28636
28637 if test "$wxUSE_OPENGL" = "yes"; then
28638 USE_OPENGL=1
28639 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28640
28641 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28642
28643 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28644 fi
28645 fi
28646
28647
28648 if test -n "$TOOLKIT" ; then
28649 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28650 fi
28651
28652
28653
28654 if test "$wxUSE_SHARED" = "yes"; then
28655 case "${host}" in
28656 *-pc-msdosdjgpp )
28657 wxUSE_SHARED=no
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28659 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28660 ;;
28661 esac
28662 fi
28663
28664 if test "$wxUSE_SHARED" = "yes"; then
28665
28666
28667 case "${host}" in
28668 *-*-cygwin* | *-*-mingw* )
28669 wx_cv_version_script=no
28670 ;;
28671
28672 *)
28673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28674 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28675 if test "${wx_cv_version_script+set}" = set; then :
28676 $as_echo_n "(cached) " >&6
28677 else
28678
28679 echo "VER_1 { *; };" >conftest.sym
28680 echo "int main() { return 0; }" >conftest.cpp
28681
28682 if { ac_try='
28683 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28684 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28685 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28686 (eval $ac_try) 2>&5
28687 ac_status=$?
28688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28689 test $ac_status = 0; }; } ; then
28690 if test -s conftest.stderr ; then
28691 wx_cv_version_script=no
28692 else
28693 wx_cv_version_script=yes
28694 fi
28695 else
28696 wx_cv_version_script=no
28697 fi
28698
28699 if test $wx_cv_version_script = yes
28700 then
28701 echo "struct B { virtual ~B() { } }; \
28702 struct D : public B { }; \
28703 void F() { D d; }" > conftest.cpp
28704
28705 if { ac_try='
28706 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28707 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28708 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28709 (eval $ac_try) 2>&5
28710 ac_status=$?
28711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28712 test $ac_status = 0; }; } &&
28713 { ac_try='
28714 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28715 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28716 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28717 (eval $ac_try) 2>&5
28718 ac_status=$?
28719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28720 test $ac_status = 0; }; }
28721 then
28722 if { ac_try='
28723 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28724 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28725 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28726 (eval $ac_try) 2>&5
28727 ac_status=$?
28728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28729 test $ac_status = 0; }; }
28730 then
28731 wx_cv_version_script=yes
28732 else
28733 wx_cv_version_script=no
28734 fi
28735 fi
28736 fi
28737
28738 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28739 rm -f conftest1.output conftest2.output conftest3.output
28740
28741 fi
28742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28743 $as_echo "$wx_cv_version_script" >&6; }
28744
28745 if test $wx_cv_version_script = yes ; then
28746 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28747 fi
28748 ;;
28749 esac
28750
28751
28752 if test "$wxUSE_VISIBILITY" != "no"; then
28753
28754
28755 if test -n "$GCC"; then
28756 CFLAGS_VISIBILITY="-fvisibility=hidden"
28757 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28759 $as_echo_n "checking for symbols visibility support... " >&6; }
28760 if test "${wx_cv_cc_visibility+set}" = set; then :
28761 $as_echo_n "(cached) " >&6
28762 else
28763
28764 wx_save_CXXFLAGS="$CXXFLAGS"
28765 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28766 ac_ext=cpp
28767 ac_cpp='$CXXCPP $CPPFLAGS'
28768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28771
28772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28773 /* end confdefs.h. */
28774
28775 /* we need gcc >= 4.0, older versions with visibility support
28776 didn't have class visibility: */
28777 #if defined(__GNUC__) && __GNUC__ < 4
28778 error this gcc is too old;
28779 #endif
28780
28781 /* visibility only makes sense for ELF shared libs: */
28782 #if !defined(__ELF__) && !defined(__APPLE__)
28783 error this platform has no visibility;
28784 #endif
28785
28786 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28787 #if defined(__clang__)
28788 clang compiler is still broken w.r.t. visibility;
28789 #endif
28790
28791 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28792 extern __attribute__((__visibility__("default"))) int exportedvar;
28793 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28794 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28795 class __attribute__((__visibility__("default"))) Foo {
28796 Foo() {}
28797 };
28798
28799 int
28800 main ()
28801 {
28802
28803 ;
28804 return 0;
28805 }
28806 _ACEOF
28807 if ac_fn_cxx_try_compile "$LINENO"; then :
28808 wx_cv_cc_visibility=yes
28809 else
28810 wx_cv_cc_visibility=no
28811 fi
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28813 ac_ext=c
28814 ac_cpp='$CPP $CPPFLAGS'
28815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28818
28819 CXXFLAGS="$wx_save_CXXFLAGS"
28820 fi
28821
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28823 $as_echo "$wx_cv_cc_visibility" >&6; }
28824 if test $wx_cv_cc_visibility = yes; then
28825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28826 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28827 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then :
28828 $as_echo_n "(cached) " >&6
28829 else
28830
28831 wx_save_CXXFLAGS="$CXXFLAGS"
28832 wx_save_LDFLAGS="$LDFLAGS"
28833 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28834 LDFLAGS="$LDFLAGS -shared -fPIC"
28835 ac_ext=cpp
28836 ac_cpp='$CXXCPP $CPPFLAGS'
28837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28840
28841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28842 /* end confdefs.h. */
28843
28844 #include <string>
28845
28846 int
28847 main ()
28848 {
28849
28850 std::string s("hello");
28851 return s.length();
28852
28853 ;
28854 return 0;
28855 }
28856 _ACEOF
28857 if ac_fn_cxx_try_link "$LINENO"; then :
28858 wx_cv_cc_broken_libstdcxx_visibility=no
28859 else
28860 wx_cv_cc_broken_libstdcxx_visibility=yes
28861 fi
28862 rm -f core conftest.err conftest.$ac_objext \
28863 conftest$ac_exeext conftest.$ac_ext
28864 ac_ext=c
28865 ac_cpp='$CPP $CPPFLAGS'
28866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28869
28870 CXXFLAGS="$wx_save_CXXFLAGS"
28871 LDFLAGS="$wx_save_LDFLAGS"
28872 fi
28873
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28875 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28876
28877 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28879 $as_echo_n "checking whether we can work around it... " >&6; }
28880 if test "${wx_cv_cc_visibility_workaround+set}" = set; then :
28881 $as_echo_n "(cached) " >&6
28882 else
28883
28884 ac_ext=cpp
28885 ac_cpp='$CXXCPP $CPPFLAGS'
28886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28889
28890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28891 /* end confdefs.h. */
28892
28893 #pragma GCC visibility push(default)
28894 #include <string>
28895 #pragma GCC visibility pop
28896
28897 int
28898 main ()
28899 {
28900
28901 std::string s("hello");
28902 return s.length();
28903
28904 ;
28905 return 0;
28906 }
28907 _ACEOF
28908 if ac_fn_cxx_try_link "$LINENO"; then :
28909 wx_cv_cc_visibility_workaround=no
28910 else
28911 wx_cv_cc_visibility_workaround=yes
28912 fi
28913 rm -f core conftest.err conftest.$ac_objext \
28914 conftest$ac_exeext conftest.$ac_ext
28915 ac_ext=c
28916 ac_cpp='$CPP $CPPFLAGS'
28917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28920
28921
28922 fi
28923
28924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28925 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28926
28927 if test $wx_cv_cc_visibility_workaround = no; then
28928 wx_cv_cc_visibility=no
28929 fi
28930 fi
28931 fi
28932
28933 if test $wx_cv_cc_visibility = yes; then
28934 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28935
28936 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28937 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28938
28939 fi
28940 else
28941 CFLAGS_VISIBILITY=""
28942 CXXFLAGS_VISIBILITY=""
28943 fi
28944
28945
28946 fi
28947
28948 fi
28949
28950 if test "x$SUNCXX" = xyes; then
28951 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
28952 WXCONFIG_RPATH="-R\$libdir"
28953 else
28954 case "${host}" in
28955 *-*-linux* | *-*-gnu* )
28956 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
28957 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28958 ;;
28959
28960 *-*-solaris2* )
28961
28962 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
28963
28964 saveLdflags="$LDFLAGS"
28965 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
28967 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
28968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28969 /* end confdefs.h. */
28970
28971 int
28972 main ()
28973 {
28974
28975 ;
28976 return 0;
28977 }
28978 _ACEOF
28979 if ac_fn_c_try_link "$LINENO"; then :
28980
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28982 $as_echo "yes" >&6; }
28983 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
28984 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28985
28986 else
28987
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28989 $as_echo "no" >&6; }
28990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
28991 $as_echo_n "checking if the linker accepts -R... " >&6; }
28992 LDFLAGS="$saveLdflags -Wl,-R,/"
28993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28994 /* end confdefs.h. */
28995
28996 int
28997 main ()
28998 {
28999
29000 ;
29001 return 0;
29002 }
29003 _ACEOF
29004 if ac_fn_c_try_link "$LINENO"; then :
29005
29006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29007 $as_echo "yes" >&6; }
29008 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
29009 WXCONFIG_RPATH="-Wl,-R,\$libdir"
29010
29011 else
29012
29013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29014 $as_echo "no" >&6; }
29015
29016 fi
29017 rm -f core conftest.err conftest.$ac_objext \
29018 conftest$ac_exeext conftest.$ac_ext
29019
29020 fi
29021 rm -f core conftest.err conftest.$ac_objext \
29022 conftest$ac_exeext conftest.$ac_ext
29023 LDFLAGS="$saveLdflags"
29024 ;;
29025
29026 *-*-darwin* )
29027 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
29028 if test "$install_name_tool" -a -x "$install_name_tool"; then
29029 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29030 cat <<EOF >change-install-names
29031 #!/bin/sh
29032 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29033 for i in \${libnames} ; do
29034 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29035 for dep in \${libnames} ; do
29036 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29037 done
29038 done
29039 EOF
29040 chmod +x change-install-names
29041 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29042 fi
29043
29044 HEADER_PAD_OPTION="-headerpad_max_install_names"
29045 ;;
29046
29047 *-*-cygwin* | *-*-mingw32* )
29048 ;;
29049
29050 *-*-hpux* )
29051 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
29052 WXCONFIG_RPATH="-Wl,+b,\$libdir"
29053 ;;
29054
29055 esac
29056 fi
29057
29058 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29059
29060 if test $wxUSE_RPATH = "no"; then
29061 SAMPLES_RPATH_FLAG=''
29062 DYLIB_PATH_POSTLINK=''
29063 WXCONFIG_RPATH=''
29064 fi
29065
29066 SHARED=1
29067
29068 else
29069
29070 config_linkage_component="-static"
29071 SHARED=0
29072
29073 fi
29074
29075
29076 UNICODE=0
29077 lib_unicode_suffix=
29078 WX_CHARTYPE="ansi"
29079 if test "$wxUSE_UNICODE" = "yes"; then
29080 lib_unicode_suffix=u
29081 WX_CHARTYPE="unicode"
29082 UNICODE=1
29083 fi
29084
29085 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
29086 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
29087
29088 DEBUG_INFO=0
29089 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29090 DEBUG_INFO=1
29091 fi
29092
29093 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29094
29095 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29096
29097 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29098
29099
29100 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29101 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29102 else
29103 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29104 fi
29105 if test "${TOOLKIT_DIR}" = "os2"; then
29106 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29107 else
29108 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29109 fi
29110
29111
29112
29113 if test "$wxUSE_OLD_COCOA" = 1; then
29114
29115 ac_ext=c
29116 ac_cpp='$CPP $CPPFLAGS'
29117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29120
29121 ac_ext=m
29122
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29124 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29126 /* end confdefs.h. */
29127 #include <AppKit/NSEvent.h>
29128 #include <CoreFoundation/CoreFoundation.h>
29129
29130 int
29131 main ()
29132 {
29133
29134 ;
29135 return 0;
29136 }
29137 _ACEOF
29138 if ac_fn_c_try_compile "$LINENO"; then :
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29140 $as_echo "no" >&6; }
29141 else
29142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29143 $as_echo "yes" >&6; }
29144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29145 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29147 /* end confdefs.h. */
29148 #define __Point__ 1
29149 #include <AppKit/NSEvent.h>
29150 #include <CoreFoundation/CoreFoundation.h>
29151
29152 int
29153 main ()
29154 {
29155
29156 ;
29157 return 0;
29158 }
29159 _ACEOF
29160 if ac_fn_c_try_compile "$LINENO"; then :
29161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29162 $as_echo "yes" >&6; }
29163 $as_echo "#define __Point__ 1" >>confdefs.h
29164
29165
29166 else
29167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29169 as_fn_error $? "no
29170 See \`config.log' for more details" "$LINENO" 5 ; }
29171
29172 fi
29173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29174
29175 fi
29176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177 ac_ext=c
29178 ac_cpp='$CPP $CPPFLAGS'
29179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29182
29183 fi
29184
29185
29186 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29187 if test "x$ac_cv_type_mode_t" = x""yes; then :
29188
29189 else
29190
29191 cat >>confdefs.h <<_ACEOF
29192 #define mode_t int
29193 _ACEOF
29194
29195 fi
29196
29197 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29198 if test "x$ac_cv_type_off_t" = x""yes; then :
29199
29200 else
29201
29202 cat >>confdefs.h <<_ACEOF
29203 #define off_t long int
29204 _ACEOF
29205
29206 fi
29207
29208 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29209 if test "x$ac_cv_type_pid_t" = x""yes; then :
29210
29211 else
29212
29213 cat >>confdefs.h <<_ACEOF
29214 #define pid_t int
29215 _ACEOF
29216
29217 fi
29218
29219 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29220 if test "x$ac_cv_type_size_t" = x""yes; then :
29221
29222 else
29223
29224 cat >>confdefs.h <<_ACEOF
29225 #define size_t unsigned int
29226 _ACEOF
29227
29228 fi
29229
29230
29231 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29232 if test "x$ac_cv_type_ssize_t" = x""yes; then :
29233
29234 cat >>confdefs.h <<_ACEOF
29235 #define HAVE_SSIZE_T 1
29236 _ACEOF
29237
29238
29239 fi
29240
29241
29242 ac_ext=cpp
29243 ac_cpp='$CXXCPP $CPPFLAGS'
29244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29248 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29249 if test "${wx_cv_size_t_is_uint+set}" = set; then :
29250 $as_echo_n "(cached) " >&6
29251 else
29252
29253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29254 /* end confdefs.h. */
29255 #include <stddef.h>
29256 int
29257 main ()
29258 {
29259
29260 return 0; }
29261
29262 struct Foo { void foo(size_t); void foo(unsigned int); };
29263
29264 int bar() {
29265
29266 ;
29267 return 0;
29268 }
29269 _ACEOF
29270 if ac_fn_cxx_try_compile "$LINENO"; then :
29271 wx_cv_size_t_is_uint=no
29272 else
29273 wx_cv_size_t_is_uint=yes
29274
29275 fi
29276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29277
29278
29279 fi
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29281 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29282
29283 if test "$wx_cv_size_t_is_uint" = "yes"; then
29284 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29285
29286 else
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29288 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29289 if test "${wx_cv_size_t_is_ulong+set}" = set; then :
29290 $as_echo_n "(cached) " >&6
29291 else
29292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29293 /* end confdefs.h. */
29294 #include <stddef.h>
29295 int
29296 main ()
29297 {
29298
29299 return 0; }
29300
29301 struct Foo { void foo(size_t); void foo(unsigned long); };
29302
29303 int bar() {
29304
29305 ;
29306 return 0;
29307 }
29308 _ACEOF
29309 if ac_fn_cxx_try_compile "$LINENO"; then :
29310 wx_cv_size_t_is_ulong=no
29311 else
29312 wx_cv_size_t_is_ulong=yes
29313
29314 fi
29315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29316
29317 fi
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29319 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29320
29321 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29322 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29323
29324 fi
29325 fi
29326
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29328 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29329 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then :
29330 $as_echo_n "(cached) " >&6
29331 else
29332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29333 /* end confdefs.h. */
29334 #include <wchar.h>
29335 int
29336 main ()
29337 {
29338
29339 return 0; }
29340
29341 struct Foo { void foo(wchar_t);
29342 void foo(unsigned short);
29343 void foo(unsigned int);
29344 void foo(unsigned long); };
29345
29346 int bar() {
29347
29348 ;
29349 return 0;
29350 }
29351 _ACEOF
29352 if ac_fn_cxx_try_compile "$LINENO"; then :
29353 wx_cv_wchar_t_is_separate_type=yes
29354 else
29355 wx_cv_wchar_t_is_separate_type=no
29356
29357 fi
29358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29359
29360 fi
29361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29362 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29363
29364 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29365 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29366
29367 else
29368 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29369
29370 fi
29371
29372 ac_ext=c
29373 ac_cpp='$CPP $CPPFLAGS'
29374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29377
29378
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29380 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29381 if test "${wx_cv_struct_pw_gecos+set}" = set; then :
29382 $as_echo_n "(cached) " >&6
29383 else
29384
29385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29386 /* end confdefs.h. */
29387 #include <pwd.h>
29388 int
29389 main ()
29390 {
29391
29392 char *p;
29393 struct passwd *pw;
29394 p = pw->pw_gecos;
29395
29396 ;
29397 return 0;
29398 }
29399 _ACEOF
29400 if ac_fn_c_try_compile "$LINENO"; then :
29401
29402 wx_cv_struct_pw_gecos=yes
29403
29404 else
29405
29406 wx_cv_struct_pw_gecos=no
29407
29408
29409 fi
29410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29411
29412
29413 fi
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29415 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29416
29417 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29418 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29419
29420 fi
29421
29422
29423 WCSLEN_FOUND=0
29424 WCHAR_LINK=
29425 for ac_func in wcslen
29426 do :
29427 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29428 if test "x$ac_cv_func_wcslen" = x""yes; then :
29429 cat >>confdefs.h <<_ACEOF
29430 #define HAVE_WCSLEN 1
29431 _ACEOF
29432 WCSLEN_FOUND=1
29433 fi
29434 done
29435
29436
29437 if test "$WCSLEN_FOUND" = 0; then
29438 if test "$TOOLKIT" = "MSW"; then
29439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29440 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29441 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then :
29442 $as_echo_n "(cached) " >&6
29443 else
29444 ac_check_lib_save_LIBS=$LIBS
29445 LIBS="-lmsvcrt $LIBS"
29446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29447 /* end confdefs.h. */
29448
29449 /* Override any GCC internal prototype to avoid an error.
29450 Use char because int might match the return type of a GCC
29451 builtin and then its argument prototype would still apply. */
29452 #ifdef __cplusplus
29453 extern "C"
29454 #endif
29455 char wcslen ();
29456 int
29457 main ()
29458 {
29459 return wcslen ();
29460 ;
29461 return 0;
29462 }
29463 _ACEOF
29464 if ac_fn_c_try_link "$LINENO"; then :
29465 ac_cv_lib_msvcrt_wcslen=yes
29466 else
29467 ac_cv_lib_msvcrt_wcslen=no
29468 fi
29469 rm -f core conftest.err conftest.$ac_objext \
29470 conftest$ac_exeext conftest.$ac_ext
29471 LIBS=$ac_check_lib_save_LIBS
29472 fi
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29474 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29475 if test "x$ac_cv_lib_msvcrt_wcslen" = x""yes; then :
29476 WCHAR_OK=1
29477 fi
29478
29479 else
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29481 $as_echo_n "checking for wcslen in -lw... " >&6; }
29482 if test "${ac_cv_lib_w_wcslen+set}" = set; then :
29483 $as_echo_n "(cached) " >&6
29484 else
29485 ac_check_lib_save_LIBS=$LIBS
29486 LIBS="-lw $LIBS"
29487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29488 /* end confdefs.h. */
29489
29490 /* Override any GCC internal prototype to avoid an error.
29491 Use char because int might match the return type of a GCC
29492 builtin and then its argument prototype would still apply. */
29493 #ifdef __cplusplus
29494 extern "C"
29495 #endif
29496 char wcslen ();
29497 int
29498 main ()
29499 {
29500 return wcslen ();
29501 ;
29502 return 0;
29503 }
29504 _ACEOF
29505 if ac_fn_c_try_link "$LINENO"; then :
29506 ac_cv_lib_w_wcslen=yes
29507 else
29508 ac_cv_lib_w_wcslen=no
29509 fi
29510 rm -f core conftest.err conftest.$ac_objext \
29511 conftest$ac_exeext conftest.$ac_ext
29512 LIBS=$ac_check_lib_save_LIBS
29513 fi
29514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29515 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29516 if test "x$ac_cv_lib_w_wcslen" = x""yes; then :
29517
29518 WCHAR_LINK=" -lw"
29519 WCSLEN_FOUND=1
29520
29521 fi
29522
29523 fi
29524 fi
29525
29526 if test "$WCSLEN_FOUND" = 1; then
29527 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29528
29529 fi
29530
29531 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29532 do :
29533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29536 cat >>confdefs.h <<_ACEOF
29537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29538 _ACEOF
29539
29540 fi
29541 done
29542
29543
29544 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29545 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29546 fi
29547
29548 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29549 "
29550 if test "x$ac_cv_type_mbstate_t" = x""yes; then :
29551
29552 cat >>confdefs.h <<_ACEOF
29553 #define HAVE_MBSTATE_T 1
29554 _ACEOF
29555
29556 for ac_func in wcsrtombs
29557 do :
29558 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29559 if test "x$ac_cv_func_wcsrtombs" = x""yes; then :
29560 cat >>confdefs.h <<_ACEOF
29561 #define HAVE_WCSRTOMBS 1
29562 _ACEOF
29563
29564 fi
29565 done
29566
29567 fi
29568
29569
29570 for ac_func in snprintf vsnprintf vsscanf
29571 do :
29572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29574 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29575 cat >>confdefs.h <<_ACEOF
29576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29577 _ACEOF
29578
29579 fi
29580 done
29581
29582
29583 ac_ext=cpp
29584 ac_cpp='$CXXCPP $CPPFLAGS'
29585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29588
29589 if test "$ac_cv_func_vsnprintf" = "yes"; then
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29591 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29592 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then :
29593 $as_echo_n "(cached) " >&6
29594 else
29595
29596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29597 /* end confdefs.h. */
29598
29599 #include <stdio.h>
29600 #include <stdarg.h>
29601
29602 int
29603 main ()
29604 {
29605
29606 char *buf;
29607 va_list ap;
29608 vsnprintf(buf, 10u, "%s", ap);
29609
29610 ;
29611 return 0;
29612 }
29613 _ACEOF
29614 if ac_fn_cxx_try_compile "$LINENO"; then :
29615 wx_cv_func_vsnprintf_decl=yes
29616 else
29617 wx_cv_func_vsnprintf_decl=no
29618
29619 fi
29620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29621
29622
29623 fi
29624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29625 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29626
29627 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29628 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29629
29630
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29632 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29633 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then :
29634 $as_echo_n "(cached) " >&6
29635 else
29636
29637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29638 /* end confdefs.h. */
29639
29640 #include <stdio.h>
29641 #include <stdarg.h>
29642 #ifdef __MSL__
29643 #if __MSL__ >= 0x6000
29644 namespace std {}
29645 using namespace std;
29646 #endif
29647 #endif
29648
29649 int
29650 main ()
29651 {
29652
29653 char *buf;
29654 va_list ap;
29655 const char *fmt = "%s";
29656 vsnprintf(buf, 10u, fmt, ap);
29657
29658 ;
29659 return 0;
29660 }
29661 _ACEOF
29662 if ac_fn_cxx_try_compile "$LINENO"; then :
29663 wx_cv_func_broken_vsnprintf_decl=no
29664 else
29665 wx_cv_func_broken_vsnprintf_decl=yes
29666
29667 fi
29668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29669
29670
29671 fi
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29673 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29674
29675 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29676 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29677
29678 fi
29679 fi
29680 fi
29681
29682 if test "$ac_cv_func_snprintf" = "yes"; then
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29684 $as_echo_n "checking for snprintf declaration... " >&6; }
29685 if test "${wx_cv_func_snprintf_decl+set}" = set; then :
29686 $as_echo_n "(cached) " >&6
29687 else
29688
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691
29692 #include <stdio.h>
29693 #include <stdarg.h>
29694 #ifdef __MSL__
29695 #if __MSL__ >= 0x6000
29696 namespace std {}
29697 using namespace std;
29698 #endif
29699 #endif
29700
29701 int
29702 main ()
29703 {
29704
29705 char *buf;
29706 snprintf(buf, 10u, "%s", "wx");
29707
29708 ;
29709 return 0;
29710 }
29711 _ACEOF
29712 if ac_fn_cxx_try_compile "$LINENO"; then :
29713 wx_cv_func_snprintf_decl=yes
29714 else
29715 wx_cv_func_snprintf_decl=no
29716
29717 fi
29718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29719
29720
29721 fi
29722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29723 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29724
29725 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29726 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29727
29728 fi
29729
29730 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29731
29732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29733 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29734 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then :
29735 $as_echo_n "(cached) " >&6
29736 else
29737
29738 if test "$cross_compiling" = yes; then :
29739
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29741 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29742 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29743 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29744 wx_cv_func_snprintf_pos_params=no
29745
29746
29747 else
29748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29749 /* end confdefs.h. */
29750
29751 #include <stdio.h>
29752
29753 int main (void)
29754 {
29755 char buffer[128];
29756 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29757 if (strcmp ("2 3 1", buffer) == 0)
29758 exit (0);
29759 exit (1);
29760 }
29761
29762 _ACEOF
29763 if ac_fn_cxx_try_run "$LINENO"; then :
29764 wx_cv_func_snprintf_pos_params=no
29765 else
29766 wx_cv_func_snprintf_pos_params=yes
29767 fi
29768 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29769 conftest.$ac_objext conftest.beam conftest.$ac_ext
29770 fi
29771
29772
29773
29774 fi
29775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29776 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29777
29778 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29779 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29780
29781 fi
29782 fi
29783 fi
29784
29785 if test "$ac_cv_func_vsscanf" = "yes"; then
29786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29787 $as_echo_n "checking for vsscanf declaration... " >&6; }
29788 if test "${wx_cv_func_vsscanf_decl+set}" = set; then :
29789 $as_echo_n "(cached) " >&6
29790 else
29791
29792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h. */
29794
29795 #include <stdio.h>
29796 #include <stdarg.h>
29797 #ifdef __MSL__
29798 #if __MSL__ >= 0x6000
29799 namespace std {}
29800 using namespace std;
29801 #endif
29802 #endif
29803
29804 int
29805 main ()
29806 {
29807
29808 char *buf;
29809 va_list args;
29810 vsscanf(buf, "%s", args);
29811
29812 ;
29813 return 0;
29814 }
29815 _ACEOF
29816 if ac_fn_cxx_try_compile "$LINENO"; then :
29817 wx_cv_func_vsscanf_decl=yes
29818 else
29819 wx_cv_func_vsscanf_decl=no
29820
29821 fi
29822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29823
29824
29825 fi
29826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29827 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29828
29829 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29830 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29831
29832 fi
29833 fi
29834 ac_ext=c
29835 ac_cpp='$CPP $CPPFLAGS'
29836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29839
29840
29841 if test "$wxUSE_UNICODE" = yes; then
29842
29843 wchar_headers="#include <stdio.h>
29844 #include <wchar.h>"
29845 case "${host}" in
29846 *-*-solaris2* )
29847 for ac_header in widec.h
29848 do :
29849 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29850 "
29851 if test "x$ac_cv_header_widec_h" = x""yes; then :
29852 cat >>confdefs.h <<_ACEOF
29853 #define HAVE_WIDEC_H 1
29854 _ACEOF
29855
29856 fi
29857
29858 done
29859
29860 if test "$ac_cv_header_widec_h" = "yes"; then
29861 wchar_headers="$wchar_headers
29862 #include <widec.h>"
29863 fi
29864 esac
29865
29866
29867 for wx_func in putws fputws wprintf vswprintf vswscanf
29868 do
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29870 $as_echo_n "checking for $wx_func... " >&6; }
29871 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29872 $as_echo_n "(cached) " >&6
29873 else
29874
29875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29876 /* end confdefs.h. */
29877
29878
29879 $wchar_headers
29880 $ac_includes_default
29881
29882 int
29883 main ()
29884 {
29885
29886 #ifndef $wx_func
29887 &$wx_func;
29888 #endif
29889
29890
29891 ;
29892 return 0;
29893 }
29894
29895 _ACEOF
29896 if ac_fn_c_try_link "$LINENO"; then :
29897 eval wx_cv_func_$wx_func=yes
29898 else
29899 eval wx_cv_func_$wx_func=no
29900 fi
29901 rm -f core conftest.err conftest.$ac_objext \
29902 conftest$ac_exeext conftest.$ac_ext
29903
29904 fi
29905 eval ac_res=\$wx_cv_func_$wx_func
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29907 $as_echo "$ac_res" >&6; }
29908
29909 if eval test \$wx_cv_func_$wx_func = yes
29910 then
29911 cat >>confdefs.h <<_ACEOF
29912 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29913 _ACEOF
29914
29915
29916 else
29917 :
29918
29919 fi
29920 done
29921
29922
29923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29924 $as_echo_n "checking for _vsnwprintf... " >&6; }
29925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h. */
29927 #include <wchar.h>
29928 int
29929 main ()
29930 {
29931 &_vsnwprintf;
29932 ;
29933 return 0;
29934 }
29935 _ACEOF
29936 if ac_fn_c_try_compile "$LINENO"; then :
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29938 $as_echo "yes" >&6; }
29939 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29940
29941 else
29942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29943 $as_echo "no" >&6; }
29944 fi
29945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
29946 fi
29947
29948 if test "$wxUSE_FILE" = "yes"; then
29949
29950 for wx_func in fsync
29951 do
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29953 $as_echo_n "checking for $wx_func... " >&6; }
29954 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29955 $as_echo_n "(cached) " >&6
29956 else
29957
29958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29959 /* end confdefs.h. */
29960
29961
29962
29963 $ac_includes_default
29964
29965 int
29966 main ()
29967 {
29968
29969 #ifndef $wx_func
29970 &$wx_func;
29971 #endif
29972
29973
29974 ;
29975 return 0;
29976 }
29977
29978 _ACEOF
29979 if ac_fn_c_try_link "$LINENO"; then :
29980 eval wx_cv_func_$wx_func=yes
29981 else
29982 eval wx_cv_func_$wx_func=no
29983 fi
29984 rm -f core conftest.err conftest.$ac_objext \
29985 conftest$ac_exeext conftest.$ac_ext
29986
29987 fi
29988 eval ac_res=\$wx_cv_func_$wx_func
29989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29990 $as_echo "$ac_res" >&6; }
29991
29992 if eval test \$wx_cv_func_$wx_func = yes
29993 then
29994 cat >>confdefs.h <<_ACEOF
29995 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29996 _ACEOF
29997
29998
29999 else
30000 :
30001
30002 fi
30003 done
30004
30005 fi
30006
30007 ac_ext=cpp
30008 ac_cpp='$CXXCPP $CPPFLAGS'
30009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30012
30013
30014 for wx_func in round
30015 do
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30017 $as_echo_n "checking for $wx_func... " >&6; }
30018 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30019 $as_echo_n "(cached) " >&6
30020 else
30021
30022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30023 /* end confdefs.h. */
30024
30025
30026 #include <math.h>
30027 $ac_includes_default
30028
30029 int
30030 main ()
30031 {
30032
30033 #ifndef $wx_func
30034 &$wx_func;
30035 #endif
30036
30037
30038 ;
30039 return 0;
30040 }
30041
30042 _ACEOF
30043 if ac_fn_cxx_try_link "$LINENO"; then :
30044 eval wx_cv_func_$wx_func=yes
30045 else
30046 eval wx_cv_func_$wx_func=no
30047 fi
30048 rm -f core conftest.err conftest.$ac_objext \
30049 conftest$ac_exeext conftest.$ac_ext
30050
30051 fi
30052 eval ac_res=\$wx_cv_func_$wx_func
30053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30054 $as_echo "$ac_res" >&6; }
30055
30056 if eval test \$wx_cv_func_$wx_func = yes
30057 then
30058 cat >>confdefs.h <<_ACEOF
30059 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30060 _ACEOF
30061
30062
30063 else
30064 :
30065
30066 fi
30067 done
30068
30069 ac_ext=c
30070 ac_cpp='$CPP $CPPFLAGS'
30071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30074
30075
30076 if test "$TOOLKIT" != "MSW"; then
30077
30078 if test "$wxUSE_LIBICONV" != "no" ; then
30079
30080
30081
30082 # Check whether --with-libiconv-prefix was given.
30083 if test "${with_libiconv_prefix+set}" = set; then :
30084 withval=$with_libiconv_prefix;
30085 for dir in `echo "$withval" | tr : ' '`; do
30086 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
30087 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
30088 done
30089
30090 fi
30091
30092
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30094 $as_echo_n "checking for iconv... " >&6; }
30095 if test "${am_cv_func_iconv+set}" = set; then :
30096 $as_echo_n "(cached) " >&6
30097 else
30098
30099 am_cv_func_iconv="no, consider installing GNU libiconv"
30100 am_cv_lib_iconv=no
30101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30102 /* end confdefs.h. */
30103 #include <stdlib.h>
30104 #include <iconv.h>
30105 int
30106 main ()
30107 {
30108 iconv_t cd = iconv_open("","");
30109 iconv(cd,NULL,NULL,NULL,NULL);
30110 iconv_close(cd);
30111 ;
30112 return 0;
30113 }
30114 _ACEOF
30115 if ac_fn_c_try_link "$LINENO"; then :
30116 am_cv_func_iconv=yes
30117 fi
30118 rm -f core conftest.err conftest.$ac_objext \
30119 conftest$ac_exeext conftest.$ac_ext
30120 if test "$am_cv_func_iconv" != yes; then
30121 am_save_LIBS="$LIBS"
30122 LIBS="$LIBS -liconv"
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <stdlib.h>
30126 #include <iconv.h>
30127 int
30128 main ()
30129 {
30130 iconv_t cd = iconv_open("","");
30131 iconv(cd,NULL,NULL,NULL,NULL);
30132 iconv_close(cd);
30133 ;
30134 return 0;
30135 }
30136 _ACEOF
30137 if ac_fn_c_try_link "$LINENO"; then :
30138 am_cv_lib_iconv=yes
30139 am_cv_func_iconv=yes
30140 fi
30141 rm -f core conftest.err conftest.$ac_objext \
30142 conftest$ac_exeext conftest.$ac_ext
30143 LIBS="$am_save_LIBS"
30144 fi
30145
30146 fi
30147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30148 $as_echo "$am_cv_func_iconv" >&6; }
30149 if test "$am_cv_func_iconv" = yes; then
30150
30151 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30152
30153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30154 $as_echo_n "checking if iconv needs const... " >&6; }
30155 if test "${wx_cv_func_iconv_const+set}" = set; then :
30156 $as_echo_n "(cached) " >&6
30157 else
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160
30161 #include <stdlib.h>
30162 #include <iconv.h>
30163 extern
30164 #ifdef __cplusplus
30165 "C"
30166 #endif
30167 #if defined(__STDC__) || defined(__cplusplus)
30168 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30169 #else
30170 size_t iconv();
30171 #endif
30172
30173 int
30174 main ()
30175 {
30176
30177 ;
30178 return 0;
30179 }
30180 _ACEOF
30181 if ac_fn_c_try_compile "$LINENO"; then :
30182 wx_cv_func_iconv_const="no"
30183 else
30184 wx_cv_func_iconv_const="yes"
30185
30186 fi
30187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30188
30189 fi
30190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30191 $as_echo "$wx_cv_func_iconv_const" >&6; }
30192
30193 iconv_const=
30194 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30195 iconv_const="const"
30196 fi
30197
30198
30199 cat >>confdefs.h <<_ACEOF
30200 #define ICONV_CONST $iconv_const
30201 _ACEOF
30202
30203 fi
30204 LIBICONV=
30205 if test "$am_cv_lib_iconv" = yes; then
30206 LIBICONV="-liconv"
30207 fi
30208
30209
30210 LIBS="$LIBICONV $LIBS"
30211 fi
30212
30213 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30214 for ac_func in sigaction
30215 do :
30216 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30217 if test "x$ac_cv_func_sigaction" = x""yes; then :
30218 cat >>confdefs.h <<_ACEOF
30219 #define HAVE_SIGACTION 1
30220 _ACEOF
30221
30222 fi
30223 done
30224
30225
30226 if test "$ac_cv_func_sigaction" = "no"; then
30227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30228 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30229 wxUSE_ON_FATAL_EXCEPTION=no
30230 fi
30231
30232 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30234 $as_echo_n "checking for sa_handler type... " >&6; }
30235 if test "${wx_cv_type_sa_handler+set}" = set; then :
30236 $as_echo_n "(cached) " >&6
30237 else
30238
30239 ac_ext=cpp
30240 ac_cpp='$CXXCPP $CPPFLAGS'
30241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30244
30245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30246 /* end confdefs.h. */
30247 #include <signal.h>
30248 int
30249 main ()
30250 {
30251
30252 extern void testSigHandler(int);
30253
30254 struct sigaction sa;
30255 sa.sa_handler = testSigHandler;
30256
30257 ;
30258 return 0;
30259 }
30260 _ACEOF
30261 if ac_fn_cxx_try_compile "$LINENO"; then :
30262
30263 wx_cv_type_sa_handler=int
30264
30265 else
30266
30267 wx_cv_type_sa_handler=void
30268
30269 fi
30270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30271 ac_ext=c
30272 ac_cpp='$CPP $CPPFLAGS'
30273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30276
30277
30278 fi
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30280 $as_echo "$wx_cv_type_sa_handler" >&6; }
30281
30282 cat >>confdefs.h <<_ACEOF
30283 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30284 _ACEOF
30285
30286 fi
30287 fi
30288
30289 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30291 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30292 if test "${wx_cv_func_backtrace+set}" = set; then :
30293 $as_echo_n "(cached) " >&6
30294 else
30295
30296 ac_ext=cpp
30297 ac_cpp='$CXXCPP $CPPFLAGS'
30298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30301
30302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304 #include <execinfo.h>
30305 int
30306 main ()
30307 {
30308
30309 void *trace[1];
30310 char **messages;
30311
30312 backtrace(trace, 1);
30313 messages = backtrace_symbols(trace, 1);
30314
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 if ac_fn_cxx_try_compile "$LINENO"; then :
30320 wx_cv_func_backtrace=yes
30321 else
30322 wx_cv_func_backtrace=no
30323
30324 fi
30325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30326 ac_ext=c
30327 ac_cpp='$CPP $CPPFLAGS'
30328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30331
30332
30333
30334 fi
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30336 $as_echo "$wx_cv_func_backtrace" >&6; }
30337
30338
30339 if test "$wx_cv_func_backtrace" = "no"; then
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30341 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30342 wxUSE_STACKWALKER=no
30343 else
30344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30345 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30346 if test "${wx_cv_func_cxa_demangle+set}" = set; then :
30347 $as_echo_n "(cached) " >&6
30348 else
30349
30350 ac_ext=cpp
30351 ac_cpp='$CXXCPP $CPPFLAGS'
30352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30355
30356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30357 /* end confdefs.h. */
30358 #include <cxxabi.h>
30359 int
30360 main ()
30361 {
30362
30363 int rc;
30364 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30365
30366 ;
30367 return 0;
30368 }
30369 _ACEOF
30370 if ac_fn_cxx_try_link "$LINENO"; then :
30371 wx_cv_func_cxa_demangle=yes
30372 else
30373 wx_cv_func_cxa_demangle=no
30374
30375 fi
30376 rm -f core conftest.err conftest.$ac_objext \
30377 conftest$ac_exeext conftest.$ac_ext
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383
30384
30385
30386 fi
30387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30388 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30389
30390 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30391 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30392
30393 fi
30394 fi
30395 fi
30396
30397 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30399 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30400 wxUSE_STACKWALKER=no
30401 fi
30402
30403
30404 for ac_func in mkstemp mktemp
30405 do :
30406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30407 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30408 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30409 cat >>confdefs.h <<_ACEOF
30410 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30411 _ACEOF
30412 break
30413 fi
30414 done
30415
30416
30417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30418 $as_echo_n "checking for statfs... " >&6; }
30419 if test "${wx_cv_func_statfs+set}" = set; then :
30420 $as_echo_n "(cached) " >&6
30421 else
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30424
30425 #if defined(__BSD__)
30426 #include <sys/param.h>
30427 #include <sys/mount.h>
30428 #else
30429 #include <sys/vfs.h>
30430 #endif
30431
30432 int
30433 main ()
30434 {
30435
30436 long l;
30437 struct statfs fs;
30438 statfs("/", &fs);
30439 l = fs.f_bsize;
30440 l += fs.f_blocks;
30441 l += fs.f_bavail;
30442
30443 ;
30444 return 0;
30445 }
30446 _ACEOF
30447 if ac_fn_c_try_compile "$LINENO"; then :
30448 wx_cv_func_statfs=yes
30449 else
30450 wx_cv_func_statfs=no
30451
30452 fi
30453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30454
30455 fi
30456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30457 $as_echo "$wx_cv_func_statfs" >&6; }
30458
30459 if test "$wx_cv_func_statfs" = "yes"; then
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30461 $as_echo_n "checking for statfs declaration... " >&6; }
30462 if test "${wx_cv_func_statfs_decl+set}" = set; then :
30463 $as_echo_n "(cached) " >&6
30464 else
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473
30474 #if defined(__BSD__)
30475 #include <sys/param.h>
30476 #include <sys/mount.h>
30477 #else
30478 #include <sys/vfs.h>
30479 #endif
30480
30481 int
30482 main ()
30483 {
30484
30485 struct statfs fs;
30486 statfs("", &fs);
30487
30488 ;
30489 return 0;
30490 }
30491 _ACEOF
30492 if ac_fn_cxx_try_compile "$LINENO"; then :
30493 wx_cv_func_statfs_decl=yes
30494 else
30495 wx_cv_func_statfs_decl=no
30496
30497 fi
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30504
30505
30506 fi
30507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30508 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30509
30510 if test "$wx_cv_func_statfs_decl" = "yes"; then
30511 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30512
30513 fi
30514
30515 wx_cv_type_statvfs_t="struct statfs"
30516 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30517
30518 else
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30520 $as_echo_n "checking for statvfs... " >&6; }
30521 if test "${wx_cv_func_statvfs+set}" = set; then :
30522 $as_echo_n "(cached) " >&6
30523 else
30524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30525 /* end confdefs.h. */
30526
30527 #include <stddef.h>
30528 #include <sys/statvfs.h>
30529
30530 int
30531 main ()
30532 {
30533
30534 statvfs("/", NULL);
30535
30536 ;
30537 return 0;
30538 }
30539 _ACEOF
30540 if ac_fn_c_try_compile "$LINENO"; then :
30541 wx_cv_func_statvfs=yes
30542 else
30543 wx_cv_func_statvfs=no
30544
30545 fi
30546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30547
30548 fi
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30550 $as_echo "$wx_cv_func_statvfs" >&6; }
30551
30552 if test "$wx_cv_func_statvfs" = "yes"; then
30553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30554 $as_echo_n "checking for statvfs argument type... " >&6; }
30555 if test "${wx_cv_type_statvfs_t+set}" = set; then :
30556 $as_echo_n "(cached) " >&6
30557 else
30558 ac_ext=cpp
30559 ac_cpp='$CXXCPP $CPPFLAGS'
30560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30563
30564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30565 /* end confdefs.h. */
30566
30567 #include <sys/statvfs.h>
30568
30569 int
30570 main ()
30571 {
30572
30573 long l;
30574 statvfs_t fs;
30575 statvfs("/", &fs);
30576 l = fs.f_bsize;
30577 l += fs.f_blocks;
30578 l += fs.f_bavail;
30579
30580 ;
30581 return 0;
30582 }
30583 _ACEOF
30584 if ac_fn_cxx_try_compile "$LINENO"; then :
30585 wx_cv_type_statvfs_t=statvfs_t
30586 else
30587
30588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30589 /* end confdefs.h. */
30590
30591 #include <sys/statvfs.h>
30592
30593 int
30594 main ()
30595 {
30596
30597 long l;
30598 struct statvfs fs;
30599 statvfs("/", &fs);
30600 l = fs.f_bsize;
30601 l += fs.f_blocks;
30602 l += fs.f_bavail;
30603
30604 ;
30605 return 0;
30606 }
30607 _ACEOF
30608 if ac_fn_cxx_try_compile "$LINENO"; then :
30609 wx_cv_type_statvfs_t="struct statvfs"
30610 else
30611 wx_cv_type_statvfs_t="unknown"
30612
30613 fi
30614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30615
30616
30617 fi
30618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30619 ac_ext=c
30620 ac_cpp='$CPP $CPPFLAGS'
30621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30624
30625
30626 fi
30627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30628 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30629
30630 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30631 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30632
30633 fi
30634 else
30635 wx_cv_type_statvfs_t="unknown"
30636 fi
30637 fi
30638
30639 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30640 cat >>confdefs.h <<_ACEOF
30641 #define WX_STATFS_T $wx_cv_type_statvfs_t
30642 _ACEOF
30643
30644 else
30645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30646 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30647 fi
30648
30649 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30650 for ac_func in fcntl flock
30651 do :
30652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30655 cat >>confdefs.h <<_ACEOF
30656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30657 _ACEOF
30658 break
30659 fi
30660 done
30661
30662
30663 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30665 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30666 wxUSE_SNGLINST_CHECKER=no
30667 fi
30668 fi
30669
30670 for ac_func in setenv putenv
30671 do :
30672 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30673 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30674 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30675 cat >>confdefs.h <<_ACEOF
30676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30677 _ACEOF
30678 break
30679 fi
30680 done
30681
30682 if test "$ac_cv_func_setenv" = "yes"; then
30683 for ac_func in unsetenv
30684 do :
30685 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30686 if test "x$ac_cv_func_unsetenv" = x""yes; then :
30687 cat >>confdefs.h <<_ACEOF
30688 #define HAVE_UNSETENV 1
30689 _ACEOF
30690
30691 fi
30692 done
30693
30694 fi
30695
30696 HAVE_SOME_SLEEP_FUNC=0
30697 if test "$USE_BEOS" = 1; then
30698 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30699
30700 HAVE_SOME_SLEEP_FUNC=1
30701 fi
30702
30703 if test "$USE_DARWIN" = 1; then
30704 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30705
30706 HAVE_SOME_SLEEP_FUNC=1
30707 fi
30708
30709 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30710 POSIX4_LINK=
30711 for ac_func in nanosleep
30712 do :
30713 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30714 if test "x$ac_cv_func_nanosleep" = x""yes; then :
30715 cat >>confdefs.h <<_ACEOF
30716 #define HAVE_NANOSLEEP 1
30717 _ACEOF
30718 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30719
30720 else
30721
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30723 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30724 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then :
30725 $as_echo_n "(cached) " >&6
30726 else
30727 ac_check_lib_save_LIBS=$LIBS
30728 LIBS="-lposix4 $LIBS"
30729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30730 /* end confdefs.h. */
30731
30732 /* Override any GCC internal prototype to avoid an error.
30733 Use char because int might match the return type of a GCC
30734 builtin and then its argument prototype would still apply. */
30735 #ifdef __cplusplus
30736 extern "C"
30737 #endif
30738 char nanosleep ();
30739 int
30740 main ()
30741 {
30742 return nanosleep ();
30743 ;
30744 return 0;
30745 }
30746 _ACEOF
30747 if ac_fn_c_try_link "$LINENO"; then :
30748 ac_cv_lib_posix4_nanosleep=yes
30749 else
30750 ac_cv_lib_posix4_nanosleep=no
30751 fi
30752 rm -f core conftest.err conftest.$ac_objext \
30753 conftest$ac_exeext conftest.$ac_ext
30754 LIBS=$ac_check_lib_save_LIBS
30755 fi
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30757 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30758 if test "x$ac_cv_lib_posix4_nanosleep" = x""yes; then :
30759
30760 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30761
30762 POSIX4_LINK=" -lposix4"
30763
30764 else
30765
30766
30767 for wx_func in usleep
30768 do
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30770 $as_echo_n "checking for $wx_func... " >&6; }
30771 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30772 $as_echo_n "(cached) " >&6
30773 else
30774
30775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30776 /* end confdefs.h. */
30777
30778
30779
30780 $ac_includes_default
30781
30782 int
30783 main ()
30784 {
30785
30786 #ifndef $wx_func
30787 &$wx_func;
30788 #endif
30789
30790
30791 ;
30792 return 0;
30793 }
30794
30795 _ACEOF
30796 if ac_fn_c_try_link "$LINENO"; then :
30797 eval wx_cv_func_$wx_func=yes
30798 else
30799 eval wx_cv_func_$wx_func=no
30800 fi
30801 rm -f core conftest.err conftest.$ac_objext \
30802 conftest$ac_exeext conftest.$ac_ext
30803
30804 fi
30805 eval ac_res=\$wx_cv_func_$wx_func
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30807 $as_echo "$ac_res" >&6; }
30808
30809 if eval test \$wx_cv_func_$wx_func = yes
30810 then
30811 cat >>confdefs.h <<_ACEOF
30812 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30813 _ACEOF
30814
30815
30816 else
30817 :
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30819 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30820
30821 fi
30822 done
30823
30824
30825
30826 fi
30827
30828
30829
30830 fi
30831 done
30832
30833 fi
30834
30835
30836 for wx_func in uname
30837 do
30838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30839 $as_echo_n "checking for $wx_func... " >&6; }
30840 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30841 $as_echo_n "(cached) " >&6
30842 else
30843
30844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30846
30847
30848 #include <sys/utsname.h>
30849 $ac_includes_default
30850
30851 int
30852 main ()
30853 {
30854
30855 #ifndef $wx_func
30856 &$wx_func;
30857 #endif
30858
30859
30860 ;
30861 return 0;
30862 }
30863
30864 _ACEOF
30865 if ac_fn_c_try_link "$LINENO"; then :
30866 eval wx_cv_func_$wx_func=yes
30867 else
30868 eval wx_cv_func_$wx_func=no
30869 fi
30870 rm -f core conftest.err conftest.$ac_objext \
30871 conftest$ac_exeext conftest.$ac_ext
30872
30873 fi
30874 eval ac_res=\$wx_cv_func_$wx_func
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30876 $as_echo "$ac_res" >&6; }
30877
30878 if eval test \$wx_cv_func_$wx_func = yes
30879 then
30880 cat >>confdefs.h <<_ACEOF
30881 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30882 _ACEOF
30883
30884
30885 else
30886 :
30887
30888 fi
30889 done
30890
30891 if test "$wx_cv_func_uname" != yes; then
30892
30893 for wx_func in gethostname
30894 do
30895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30896 $as_echo_n "checking for $wx_func... " >&6; }
30897 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30898 $as_echo_n "(cached) " >&6
30899 else
30900
30901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30902 /* end confdefs.h. */
30903
30904
30905
30906 $ac_includes_default
30907
30908 int
30909 main ()
30910 {
30911
30912 #ifndef $wx_func
30913 &$wx_func;
30914 #endif
30915
30916
30917 ;
30918 return 0;
30919 }
30920
30921 _ACEOF
30922 if ac_fn_c_try_link "$LINENO"; then :
30923 eval wx_cv_func_$wx_func=yes
30924 else
30925 eval wx_cv_func_$wx_func=no
30926 fi
30927 rm -f core conftest.err conftest.$ac_objext \
30928 conftest$ac_exeext conftest.$ac_ext
30929
30930 fi
30931 eval ac_res=\$wx_cv_func_$wx_func
30932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30933 $as_echo "$ac_res" >&6; }
30934
30935 if eval test \$wx_cv_func_$wx_func = yes
30936 then
30937 cat >>confdefs.h <<_ACEOF
30938 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30939 _ACEOF
30940
30941
30942 else
30943 :
30944
30945 fi
30946 done
30947
30948 fi
30949
30950
30951 for wx_func in strtok_r
30952 do
30953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30954 $as_echo_n "checking for $wx_func... " >&6; }
30955 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30956 $as_echo_n "(cached) " >&6
30957 else
30958
30959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30960 /* end confdefs.h. */
30961
30962
30963 #define _REENTRANT
30964 $ac_includes_default
30965
30966 int
30967 main ()
30968 {
30969
30970 #ifndef $wx_func
30971 &$wx_func;
30972 #endif
30973
30974
30975 ;
30976 return 0;
30977 }
30978
30979 _ACEOF
30980 if ac_fn_c_try_link "$LINENO"; then :
30981 eval wx_cv_func_$wx_func=yes
30982 else
30983 eval wx_cv_func_$wx_func=no
30984 fi
30985 rm -f core conftest.err conftest.$ac_objext \
30986 conftest$ac_exeext conftest.$ac_ext
30987
30988 fi
30989 eval ac_res=\$wx_cv_func_$wx_func
30990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30991 $as_echo "$ac_res" >&6; }
30992
30993 if eval test \$wx_cv_func_$wx_func = yes
30994 then
30995 cat >>confdefs.h <<_ACEOF
30996 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30997 _ACEOF
30998
30999
31000 else
31001 :
31002
31003 fi
31004 done
31005
31006
31007 INET_LINK=
31008 for ac_func in inet_addr
31009 do :
31010 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31011 if test "x$ac_cv_func_inet_addr" = x""yes; then :
31012 cat >>confdefs.h <<_ACEOF
31013 #define HAVE_INET_ADDR 1
31014 _ACEOF
31015 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31016
31017 else
31018
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31020 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31021 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
31022 $as_echo_n "(cached) " >&6
31023 else
31024 ac_check_lib_save_LIBS=$LIBS
31025 LIBS="-lnsl $LIBS"
31026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31027 /* end confdefs.h. */
31028
31029 /* Override any GCC internal prototype to avoid an error.
31030 Use char because int might match the return type of a GCC
31031 builtin and then its argument prototype would still apply. */
31032 #ifdef __cplusplus
31033 extern "C"
31034 #endif
31035 char inet_addr ();
31036 int
31037 main ()
31038 {
31039 return inet_addr ();
31040 ;
31041 return 0;
31042 }
31043 _ACEOF
31044 if ac_fn_c_try_link "$LINENO"; then :
31045 ac_cv_lib_nsl_inet_addr=yes
31046 else
31047 ac_cv_lib_nsl_inet_addr=no
31048 fi
31049 rm -f core conftest.err conftest.$ac_objext \
31050 conftest$ac_exeext conftest.$ac_ext
31051 LIBS=$ac_check_lib_save_LIBS
31052 fi
31053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31054 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31055 if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
31056 INET_LINK="nsl"
31057 else
31058
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31060 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31061 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then :
31062 $as_echo_n "(cached) " >&6
31063 else
31064 ac_check_lib_save_LIBS=$LIBS
31065 LIBS="-lresolv $LIBS"
31066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31067 /* end confdefs.h. */
31068
31069 /* Override any GCC internal prototype to avoid an error.
31070 Use char because int might match the return type of a GCC
31071 builtin and then its argument prototype would still apply. */
31072 #ifdef __cplusplus
31073 extern "C"
31074 #endif
31075 char inet_addr ();
31076 int
31077 main ()
31078 {
31079 return inet_addr ();
31080 ;
31081 return 0;
31082 }
31083 _ACEOF
31084 if ac_fn_c_try_link "$LINENO"; then :
31085 ac_cv_lib_resolv_inet_addr=yes
31086 else
31087 ac_cv_lib_resolv_inet_addr=no
31088 fi
31089 rm -f core conftest.err conftest.$ac_objext \
31090 conftest$ac_exeext conftest.$ac_ext
31091 LIBS=$ac_check_lib_save_LIBS
31092 fi
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31094 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31095 if test "x$ac_cv_lib_resolv_inet_addr" = x""yes; then :
31096 INET_LINK="resolv"
31097 else
31098
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31100 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31101 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then :
31102 $as_echo_n "(cached) " >&6
31103 else
31104 ac_check_lib_save_LIBS=$LIBS
31105 LIBS="-lsocket $LIBS"
31106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31107 /* end confdefs.h. */
31108
31109 /* Override any GCC internal prototype to avoid an error.
31110 Use char because int might match the return type of a GCC
31111 builtin and then its argument prototype would still apply. */
31112 #ifdef __cplusplus
31113 extern "C"
31114 #endif
31115 char inet_addr ();
31116 int
31117 main ()
31118 {
31119 return inet_addr ();
31120 ;
31121 return 0;
31122 }
31123 _ACEOF
31124 if ac_fn_c_try_link "$LINENO"; then :
31125 ac_cv_lib_socket_inet_addr=yes
31126 else
31127 ac_cv_lib_socket_inet_addr=no
31128 fi
31129 rm -f core conftest.err conftest.$ac_objext \
31130 conftest$ac_exeext conftest.$ac_ext
31131 LIBS=$ac_check_lib_save_LIBS
31132 fi
31133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31134 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31135 if test "x$ac_cv_lib_socket_inet_addr" = x""yes; then :
31136 INET_LINK="socket"
31137
31138 fi
31139
31140
31141
31142 fi
31143
31144
31145
31146 fi
31147
31148
31149
31150 fi
31151 done
31152
31153
31154 for ac_func in inet_aton
31155 do :
31156 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31157 if test "x$ac_cv_func_inet_aton" = x""yes; then :
31158 cat >>confdefs.h <<_ACEOF
31159 #define HAVE_INET_ATON 1
31160 _ACEOF
31161 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31162
31163 else
31164
31165 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31167 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31168 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
31169 $as_echo_n "(cached) " >&6
31170 else
31171 ac_check_lib_save_LIBS=$LIBS
31172 LIBS="-l$INET_LINK $LIBS"
31173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31175
31176 /* Override any GCC internal prototype to avoid an error.
31177 Use char because int might match the return type of a GCC
31178 builtin and then its argument prototype would still apply. */
31179 #ifdef __cplusplus
31180 extern "C"
31181 #endif
31182 char inet_aton ();
31183 int
31184 main ()
31185 {
31186 return inet_aton ();
31187 ;
31188 return 0;
31189 }
31190 _ACEOF
31191 if ac_fn_c_try_link "$LINENO"; then :
31192 eval "$as_ac_Lib=yes"
31193 else
31194 eval "$as_ac_Lib=no"
31195 fi
31196 rm -f core conftest.err conftest.$ac_objext \
31197 conftest$ac_exeext conftest.$ac_ext
31198 LIBS=$ac_check_lib_save_LIBS
31199 fi
31200 eval ac_res=\$$as_ac_Lib
31201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31202 $as_echo "$ac_res" >&6; }
31203 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31204 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31205
31206 fi
31207
31208
31209 fi
31210 done
31211
31212
31213 if test "x$INET_LINK" != "x"; then
31214 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31215
31216 INET_LINK=" -l$INET_LINK"
31217 fi
31218
31219
31220 for wx_func in fdopen
31221 do
31222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31223 $as_echo_n "checking for $wx_func... " >&6; }
31224 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31225 $as_echo_n "(cached) " >&6
31226 else
31227
31228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31229 /* end confdefs.h. */
31230
31231
31232
31233 $ac_includes_default
31234
31235 int
31236 main ()
31237 {
31238
31239 #ifndef $wx_func
31240 &$wx_func;
31241 #endif
31242
31243
31244 ;
31245 return 0;
31246 }
31247
31248 _ACEOF
31249 if ac_fn_c_try_link "$LINENO"; then :
31250 eval wx_cv_func_$wx_func=yes
31251 else
31252 eval wx_cv_func_$wx_func=no
31253 fi
31254 rm -f core conftest.err conftest.$ac_objext \
31255 conftest$ac_exeext conftest.$ac_ext
31256
31257 fi
31258 eval ac_res=\$wx_cv_func_$wx_func
31259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31260 $as_echo "$ac_res" >&6; }
31261
31262 if eval test \$wx_cv_func_$wx_func = yes
31263 then
31264 cat >>confdefs.h <<_ACEOF
31265 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31266 _ACEOF
31267
31268
31269 else
31270 :
31271
31272 fi
31273 done
31274
31275
31276 if test "$wxUSE_TARSTREAM" = "yes"; then
31277
31278 for wx_func in sysconf
31279 do
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31281 $as_echo_n "checking for $wx_func... " >&6; }
31282 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31283 $as_echo_n "(cached) " >&6
31284 else
31285
31286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31287 /* end confdefs.h. */
31288
31289
31290
31291 $ac_includes_default
31292
31293 int
31294 main ()
31295 {
31296
31297 #ifndef $wx_func
31298 &$wx_func;
31299 #endif
31300
31301
31302 ;
31303 return 0;
31304 }
31305
31306 _ACEOF
31307 if ac_fn_c_try_link "$LINENO"; then :
31308 eval wx_cv_func_$wx_func=yes
31309 else
31310 eval wx_cv_func_$wx_func=no
31311 fi
31312 rm -f core conftest.err conftest.$ac_objext \
31313 conftest$ac_exeext conftest.$ac_ext
31314
31315 fi
31316 eval ac_res=\$wx_cv_func_$wx_func
31317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31318 $as_echo "$ac_res" >&6; }
31319
31320 if eval test \$wx_cv_func_$wx_func = yes
31321 then
31322 cat >>confdefs.h <<_ACEOF
31323 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31324 _ACEOF
31325
31326
31327 else
31328 :
31329
31330 fi
31331 done
31332
31333
31334
31335 for wx_func in getpwuid_r
31336 do
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31338 $as_echo_n "checking for $wx_func... " >&6; }
31339 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31340 $as_echo_n "(cached) " >&6
31341 else
31342
31343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31344 /* end confdefs.h. */
31345
31346
31347
31348 #define _REENTRANT
31349 #include <pwd.h>
31350
31351 $ac_includes_default
31352
31353 int
31354 main ()
31355 {
31356
31357 #ifndef $wx_func
31358 &$wx_func;
31359 #endif
31360
31361 struct passwd pw, *ppw;
31362 char buf[1024];
31363 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31364
31365
31366 ;
31367 return 0;
31368 }
31369
31370 _ACEOF
31371 if ac_fn_c_try_link "$LINENO"; then :
31372 eval wx_cv_func_$wx_func=yes
31373 else
31374 eval wx_cv_func_$wx_func=no
31375 fi
31376 rm -f core conftest.err conftest.$ac_objext \
31377 conftest$ac_exeext conftest.$ac_ext
31378
31379 fi
31380 eval ac_res=\$wx_cv_func_$wx_func
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31382 $as_echo "$ac_res" >&6; }
31383
31384 if eval test \$wx_cv_func_$wx_func = yes
31385 then
31386 cat >>confdefs.h <<_ACEOF
31387 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31388 _ACEOF
31389
31390
31391 else
31392 :
31393
31394 fi
31395 done
31396
31397
31398
31399 for wx_func in getgrgid_r
31400 do
31401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31402 $as_echo_n "checking for $wx_func... " >&6; }
31403 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31404 $as_echo_n "(cached) " >&6
31405 else
31406
31407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31408 /* end confdefs.h. */
31409
31410
31411
31412 #define _REENTRANT
31413 #include <grp.h>
31414
31415 $ac_includes_default
31416
31417 int
31418 main ()
31419 {
31420
31421 #ifndef $wx_func
31422 &$wx_func;
31423 #endif
31424
31425 struct group grp, *pgrp;
31426 char buf[1024];
31427 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31428
31429
31430 ;
31431 return 0;
31432 }
31433
31434 _ACEOF
31435 if ac_fn_c_try_link "$LINENO"; then :
31436 eval wx_cv_func_$wx_func=yes
31437 else
31438 eval wx_cv_func_$wx_func=no
31439 fi
31440 rm -f core conftest.err conftest.$ac_objext \
31441 conftest$ac_exeext conftest.$ac_ext
31442
31443 fi
31444 eval ac_res=\$wx_cv_func_$wx_func
31445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31446 $as_echo "$ac_res" >&6; }
31447
31448 if eval test \$wx_cv_func_$wx_func = yes
31449 then
31450 cat >>confdefs.h <<_ACEOF
31451 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31452 _ACEOF
31453
31454
31455 else
31456 :
31457
31458 fi
31459 done
31460
31461 fi
31462
31463 fi
31464
31465
31466
31467 cat >confcache <<\_ACEOF
31468 # This file is a shell script that caches the results of configure
31469 # tests run on this system so they can be shared between configure
31470 # scripts and configure runs, see configure's option --config-cache.
31471 # It is not useful on other systems. If it contains results you don't
31472 # want to keep, you may remove or edit it.
31473 #
31474 # config.status only pays attention to the cache file if you give it
31475 # the --recheck option to rerun configure.
31476 #
31477 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31478 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31479 # following values.
31480
31481 _ACEOF
31482
31483 # The following way of writing the cache mishandles newlines in values,
31484 # but we know of no workaround that is simple, portable, and efficient.
31485 # So, we kill variables containing newlines.
31486 # Ultrix sh set writes to stderr and can't be redirected directly,
31487 # and sets the high bit in the cache file unless we assign to the vars.
31488 (
31489 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31490 eval ac_val=\$$ac_var
31491 case $ac_val in #(
31492 *${as_nl}*)
31493 case $ac_var in #(
31494 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31495 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31496 esac
31497 case $ac_var in #(
31498 _ | IFS | as_nl) ;; #(
31499 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31500 *) { eval $ac_var=; unset $ac_var;} ;;
31501 esac ;;
31502 esac
31503 done
31504
31505 (set) 2>&1 |
31506 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31507 *${as_nl}ac_space=\ *)
31508 # `set' does not quote correctly, so add quotes: double-quote
31509 # substitution turns \\\\ into \\, and sed turns \\ into \.
31510 sed -n \
31511 "s/'/'\\\\''/g;
31512 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31513 ;; #(
31514 *)
31515 # `set' quotes correctly as required by POSIX, so do not add quotes.
31516 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31517 ;;
31518 esac |
31519 sort
31520 ) |
31521 sed '
31522 /^ac_cv_env_/b end
31523 t clear
31524 :clear
31525 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31526 t end
31527 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31528 :end' >>confcache
31529 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31530 if test -w "$cache_file"; then
31531 test "x$cache_file" != "x/dev/null" &&
31532 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31533 $as_echo "$as_me: updating cache $cache_file" >&6;}
31534 cat confcache >$cache_file
31535 else
31536 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31537 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31538 fi
31539 fi
31540 rm -f confcache
31541
31542
31543 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31544
31545
31546 THREADS_LINK=
31547 THREADS_CFLAGS=
31548
31549 if test "$wxUSE_THREADS" = "yes" ; then
31550 if test "$USE_BEOS" = 1; then
31551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31552 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31553 wxUSE_THREADS="no"
31554 fi
31555 fi
31556
31557 if test "$wxUSE_THREADS" = "yes" ; then
31558
31559
31560 THREAD_OPTS="-pthread"
31561 if test "x$SUNCXX" = xyes; then
31562 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31563 fi
31564
31565 case "${host}" in
31566 *-*-solaris2* | *-*-sunos4* )
31567 if test "x$GCC" = "xyes"; then
31568 THREAD_OPTS="-pthreads $THREAD_OPTS"
31569 fi
31570 ;;
31571 *-*-freebsd*)
31572 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31573 ;;
31574 *-*-darwin* | *-*-cygwin* )
31575 THREAD_OPTS=""
31576 ;;
31577 *-*-aix*)
31578 THREAD_OPTS="pthreads"
31579 ;;
31580 *-hp-hpux* )
31581 if test "x$GCC" = "xyes"; then
31582 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31583 THREAD_OPTS=""
31584 else
31585 THREAD_OPTS="-mt"
31586 fi
31587 ;;
31588
31589 *-*-irix* )
31590 if test "x$GCC" = "xyes"; then
31591 THREAD_OPTS=""
31592 fi
31593 ;;
31594
31595 *-*-qnx*)
31596 THREAD_OPTS=""
31597 ;;
31598
31599 *-*-*UnixWare*)
31600 if test "x$GCC" != "xyes"; then
31601 THREAD_OPTS="-Ethread"
31602 fi
31603 ;;
31604 esac
31605
31606 case "${host}" in
31607 *-*-qnx*)
31608 THREAD_OPTS="none pthread"
31609 ;;
31610
31611 *)
31612 THREAD_OPTS="$THREAD_OPTS pthread none"
31613 ;;
31614 esac
31615
31616 THREADS_OK=no
31617 for flag in $THREAD_OPTS; do
31618 case $flag in
31619 none)
31620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31621 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31622 ;;
31623
31624 -*)
31625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31626 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31627 THREADS_CFLAGS="$flag"
31628 ;;
31629
31630 *)
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31632 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31633 THREADS_LINK="-l$flag"
31634 ;;
31635 esac
31636
31637 save_LIBS="$LIBS"
31638 save_CFLAGS="$CFLAGS"
31639 LIBS="$THREADS_LINK $LIBS"
31640 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31641
31642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31643 /* end confdefs.h. */
31644 #include <pthread.h>
31645 int
31646 main ()
31647 {
31648 pthread_create(0,0,0,0);
31649 ;
31650 return 0;
31651 }
31652 _ACEOF
31653 if ac_fn_c_try_link "$LINENO"; then :
31654 THREADS_OK=yes
31655 fi
31656 rm -f core conftest.err conftest.$ac_objext \
31657 conftest$ac_exeext conftest.$ac_ext
31658
31659 LIBS="$save_LIBS"
31660 CFLAGS="$save_CFLAGS"
31661
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31663 $as_echo "$THREADS_OK" >&6; }
31664 if test "x$THREADS_OK" = "xyes"; then
31665 break;
31666 fi
31667
31668 THREADS_LINK=""
31669 THREADS_CFLAGS=""
31670 done
31671
31672 if test "x$THREADS_OK" != "xyes"; then
31673 wxUSE_THREADS=no
31674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31675 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31676 else
31677 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31678 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31679 LIBS="$THREADS_LINK $LIBS"
31680
31681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31682 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31683 flag=no
31684 case "${host}" in
31685 *-aix*)
31686 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31687 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31688 flag="-D_THREAD_SAFE"
31689 ;;
31690 *-freebsd*)
31691 flag="-D_THREAD_SAFE"
31692 ;;
31693 *-hp-hpux* )
31694 flag="-D_REENTRANT"
31695 if test "x$GCC" != "xyes"; then
31696 flag="$flag -D_RWSTD_MULTI_THREAD"
31697 fi
31698 ;;
31699 *solaris* | alpha*-osf*)
31700 flag="-D_REENTRANT"
31701 ;;
31702 esac
31703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31704 $as_echo "${flag}" >&6; }
31705 if test "x$flag" != xno; then
31706 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31707 fi
31708
31709 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31710 fi
31711 fi
31712
31713 if test "$wxUSE_THREADS" = "yes" ; then
31714 for ac_func in pthread_setconcurrency
31715 do :
31716 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31717 if test "x$ac_cv_func_pthread_setconcurrency" = x""yes; then :
31718 cat >>confdefs.h <<_ACEOF
31719 #define HAVE_PTHREAD_SETCONCURRENCY 1
31720 _ACEOF
31721 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31722
31723 else
31724
31725 for ac_func in thr_setconcurrency
31726 do :
31727 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31728 if test "x$ac_cv_func_thr_setconcurrency" = x""yes; then :
31729 cat >>confdefs.h <<_ACEOF
31730 #define HAVE_THR_SETCONCURRENCY 1
31731 _ACEOF
31732 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31733
31734 else
31735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31736 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31737 fi
31738 done
31739
31740
31741 fi
31742 done
31743
31744
31745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31746 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31747 if test "${wx_cv_func_pthread_cleanup+set}" = set; then :
31748 $as_echo_n "(cached) " >&6
31749 else
31750
31751 ac_ext=cpp
31752 ac_cpp='$CXXCPP $CPPFLAGS'
31753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31756
31757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31758 /* end confdefs.h. */
31759 #include <pthread.h>
31760 void ThreadCleanupFunc(void *p);
31761
31762 int
31763 main ()
31764 {
31765
31766 void *p;
31767 pthread_cleanup_push(ThreadCleanupFunc, p);
31768 pthread_cleanup_pop(0);
31769
31770 ;
31771 return 0;
31772 }
31773 _ACEOF
31774 if ac_fn_cxx_try_compile "$LINENO"; then :
31775
31776 wx_cv_func_pthread_cleanup=yes
31777
31778 else
31779
31780 wx_cv_func_pthread_cleanup=no
31781
31782
31783 fi
31784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31785 ac_ext=c
31786 ac_cpp='$CPP $CPPFLAGS'
31787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31790
31791
31792 fi
31793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31794 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31795 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31796 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31797
31798 fi
31799
31800 for ac_header in sched.h
31801 do :
31802 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31803 "
31804 if test "x$ac_cv_header_sched_h" = x""yes; then :
31805 cat >>confdefs.h <<_ACEOF
31806 #define HAVE_SCHED_H 1
31807 _ACEOF
31808
31809 fi
31810
31811 done
31812
31813 if test "$ac_cv_header_sched_h" = "yes"; then
31814 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31815 if test "x$ac_cv_func_sched_yield" = x""yes; then :
31816 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31817
31818 else
31819
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31821 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31822 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31825 ac_check_lib_save_LIBS=$LIBS
31826 LIBS="-lposix4 $LIBS"
31827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31828 /* end confdefs.h. */
31829
31830 /* Override any GCC internal prototype to avoid an error.
31831 Use char because int might match the return type of a GCC
31832 builtin and then its argument prototype would still apply. */
31833 #ifdef __cplusplus
31834 extern "C"
31835 #endif
31836 char sched_yield ();
31837 int
31838 main ()
31839 {
31840 return sched_yield ();
31841 ;
31842 return 0;
31843 }
31844 _ACEOF
31845 if ac_fn_c_try_link "$LINENO"; then :
31846 ac_cv_lib_posix4_sched_yield=yes
31847 else
31848 ac_cv_lib_posix4_sched_yield=no
31849 fi
31850 rm -f core conftest.err conftest.$ac_objext \
31851 conftest$ac_exeext conftest.$ac_ext
31852 LIBS=$ac_check_lib_save_LIBS
31853 fi
31854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31855 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31856 if test "x$ac_cv_lib_posix4_sched_yield" = x""yes; then :
31857 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31858 POSIX4_LINK=" -lposix4"
31859 else
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31861 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31862
31863 fi
31864
31865
31866
31867 fi
31868
31869 fi
31870
31871 HAVE_PRIOR_FUNCS=0
31872 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31873 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x""yes; then :
31874 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31875 if test "x$ac_cv_func_pthread_attr_setschedparam" = x""yes; then :
31876 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31877 if test "x$ac_cv_func_sched_get_priority_max" = x""yes; then :
31878 HAVE_PRIOR_FUNCS=1
31879 else
31880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31881 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31882 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then :
31883 $as_echo_n "(cached) " >&6
31884 else
31885 ac_check_lib_save_LIBS=$LIBS
31886 LIBS="-lposix4 $LIBS"
31887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31888 /* end confdefs.h. */
31889
31890 /* Override any GCC internal prototype to avoid an error.
31891 Use char because int might match the return type of a GCC
31892 builtin and then its argument prototype would still apply. */
31893 #ifdef __cplusplus
31894 extern "C"
31895 #endif
31896 char sched_get_priority_max ();
31897 int
31898 main ()
31899 {
31900 return sched_get_priority_max ();
31901 ;
31902 return 0;
31903 }
31904 _ACEOF
31905 if ac_fn_c_try_link "$LINENO"; then :
31906 ac_cv_lib_posix4_sched_get_priority_max=yes
31907 else
31908 ac_cv_lib_posix4_sched_get_priority_max=no
31909 fi
31910 rm -f core conftest.err conftest.$ac_objext \
31911 conftest$ac_exeext conftest.$ac_ext
31912 LIBS=$ac_check_lib_save_LIBS
31913 fi
31914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31915 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31916 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x""yes; then :
31917
31918 HAVE_PRIOR_FUNCS=1
31919 POSIX4_LINK=" -lposix4"
31920
31921 fi
31922
31923
31924 fi
31925
31926
31927 fi
31928
31929
31930 fi
31931
31932
31933 if test "$HAVE_PRIOR_FUNCS" = 1; then
31934 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31935
31936 else
31937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
31938 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31939 fi
31940
31941 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
31942 if test "x$ac_cv_func_pthread_cancel" = x""yes; then :
31943 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
31944
31945 else
31946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
31947 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31948 fi
31949
31950
31951 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
31952 if test "x$ac_cv_func_pthread_mutex_timedlock" = x""yes; then :
31953 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
31954
31955 else
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
31957 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
31958 fi
31959
31960
31961 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
31962 if test "x$ac_cv_func_pthread_attr_setstacksize" = x""yes; then :
31963 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
31964
31965 fi
31966
31967
31968
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
31970 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
31971 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then :
31972 $as_echo_n "(cached) " >&6
31973 else
31974
31975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31976 /* end confdefs.h. */
31977 #include <pthread.h>
31978 int
31979 main ()
31980 {
31981
31982 pthread_mutexattr_t attr;
31983 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31984
31985 ;
31986 return 0;
31987 }
31988 _ACEOF
31989 if ac_fn_c_try_compile "$LINENO"; then :
31990 wx_cv_type_pthread_mutexattr_t=yes
31991 else
31992 wx_cv_type_pthread_mutexattr_t=no
31993
31994 fi
31995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31996
31997 fi
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
31999 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32000
32001 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32002 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32003
32004
32005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32006 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32007 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then :
32008 $as_echo_n "(cached) " >&6
32009 else
32010
32011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32012 /* end confdefs.h. */
32013 #include <pthread.h>
32014 int
32015 main ()
32016 {
32017
32018 pthread_mutexattr_t attr;
32019 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32020
32021 ;
32022 return 0;
32023 }
32024 _ACEOF
32025 if ac_fn_c_try_compile "$LINENO"; then :
32026 wx_cv_func_pthread_mutexattr_settype_decl=yes
32027 else
32028 wx_cv_func_pthread_mutexattr_settype_decl=no
32029
32030 fi
32031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32032
32033 fi
32034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32035 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32036 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32037 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32038
32039 fi
32040 else
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32042 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32043 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then :
32044 $as_echo_n "(cached) " >&6
32045 else
32046
32047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32048 /* end confdefs.h. */
32049 #include <pthread.h>
32050 int
32051 main ()
32052 {
32053
32054 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32055
32056 ;
32057 return 0;
32058 }
32059 _ACEOF
32060 if ac_fn_c_try_compile "$LINENO"; then :
32061
32062 wx_cv_type_pthread_rec_mutex_init=yes
32063
32064 else
32065
32066 wx_cv_type_pthread_rec_mutex_init=no
32067
32068
32069 fi
32070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32071
32072 fi
32073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32074 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32075 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32076 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32077
32078 else
32079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32080 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32081 fi
32082 fi
32083
32084 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32085 if test "$USE_NETBSD" = 1; then
32086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32087 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32088 wxUSE_COMPILER_TLS=no
32089 else
32090 wxUSE_COMPILER_TLS=yes
32091 fi
32092 fi
32093
32094 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32096 $as_echo_n "checking for __thread keyword... " >&6; }
32097 if test "${wx_cv_cc___thread+set}" = set; then :
32098 $as_echo_n "(cached) " >&6
32099 else
32100
32101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32102 /* end confdefs.h. */
32103 #include <pthread.h>
32104 int
32105 main ()
32106 {
32107
32108 static __thread int n = 0;
32109 static __thread int *p = 0;
32110
32111 ;
32112 return 0;
32113 }
32114 _ACEOF
32115 if ac_fn_c_try_compile "$LINENO"; then :
32116 wx_cv_cc___thread=yes
32117 else
32118 wx_cv_cc___thread=no
32119
32120 fi
32121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32122
32123
32124 fi
32125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32126 $as_echo "$wx_cv_cc___thread" >&6; }
32127
32128 if test "$wx_cv_cc___thread" = "yes"; then
32129
32130 GXX_VERSION=""
32131
32132
32133
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32135 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32136
32137 if test "x$GCC" = "xyes" ; then :
32138
32139 if test -z "" ; then :
32140
32141 ax_gcc_option_test="int main()
32142 {
32143 return 0;
32144 }"
32145
32146 else
32147
32148 ax_gcc_option_test=""
32149
32150 fi
32151
32152 # Dump the test program to file
32153 cat <<EOF > conftest.c
32154 $ax_gcc_option_test
32155 EOF
32156
32157 # Dump back the file to the log, useful for debugging purposes
32158 { ac_try='cat conftest.c 1>&5'
32159 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32160 (eval $ac_try) 2>&5
32161 ac_status=$?
32162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32163 test $ac_status = 0; }; }
32164
32165 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32166 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32167 (eval $ac_try) 2>&5
32168 ac_status=$?
32169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32170 test $ac_status = 0; }; } ; then :
32171
32172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32173 $as_echo "yes" >&6; }
32174
32175 ax_gcc_version_option=yes
32176
32177
32178 else
32179
32180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32181 $as_echo "no" >&6; }
32182
32183 ax_gcc_version_option=no
32184
32185
32186 fi
32187
32188 else
32189
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32191 $as_echo "no gcc available" >&6; }
32192
32193 fi
32194
32195 if test "x$GXX" = "xyes"; then :
32196
32197 if test "x$ax_gxx_version_option" != "no"; then :
32198
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32200 $as_echo_n "checking gxx version... " >&6; }
32201 if test "${ax_cv_gxx_version+set}" = set; then :
32202 $as_echo_n "(cached) " >&6
32203 else
32204
32205 ax_cv_gxx_version="`$CXX -dumpversion`"
32206 if test "x$ax_cv_gxx_version" = "x"; then :
32207
32208 ax_cv_gxx_version=""
32209
32210 fi
32211
32212 fi
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32214 $as_echo "$ax_cv_gxx_version" >&6; }
32215 GXX_VERSION=$ax_cv_gxx_version
32216
32217 fi
32218
32219 fi
32220
32221
32222 if test -n "$ax_cv_gxx_version"; then
32223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32224 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32225 case "$ax_cv_gxx_version" in
32226 1.* | 2.* | 3.* )
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32228 $as_echo "no, it's broken" >&6; }
32229 wx_cv_cc___thread=no
32230 ;;
32231 *)
32232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32233 $as_echo "yes, it works" >&6; }
32234 ;;
32235 esac
32236 fi
32237 fi
32238
32239 if test "$wx_cv_cc___thread" = "yes"; then
32240 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32241
32242 fi
32243 fi
32244 fi
32245
32246 else
32247 if test "$wxUSE_THREADS" = "yes" ; then
32248 case "${host}" in
32249 x86_64-*-mingw32* )
32250 ;;
32251 *-*-mingw32* )
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32253 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32254 if test "${wx_cv_cflags_mthread+set}" = set; then :
32255 $as_echo_n "(cached) " >&6
32256 else
32257
32258 CFLAGS_OLD="$CFLAGS"
32259 CFLAGS="-mthreads $CFLAGS"
32260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32261 /* end confdefs.h. */
32262
32263 int
32264 main ()
32265 {
32266
32267 ;
32268 return 0;
32269 }
32270 _ACEOF
32271 if ac_fn_c_try_compile "$LINENO"; then :
32272 wx_cv_cflags_mthread=yes
32273 else
32274 wx_cv_cflags_mthread=no
32275
32276 fi
32277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32278
32279
32280 fi
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32282 $as_echo "$wx_cv_cflags_mthread" >&6; }
32283
32284 if test "$wx_cv_cflags_mthread" = "yes"; then
32285 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32286 LDFLAGS="$LDFLAGS -mthreads"
32287 else
32288 CFLAGS="$CFLAGS_OLD"
32289 fi
32290 ;;
32291 *-pc-os2*emx )
32292 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32293 LDFLAGS="$LDFLAGS -Zmt"
32294 ;;
32295 esac
32296 fi
32297 fi
32298
32299 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32300 if test "x$ac_cv_func_localtime_r" = x""yes; then :
32301 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32302
32303 fi
32304
32305 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32306 if test "x$ac_cv_func_gmtime_r" = x""yes; then :
32307 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32308
32309 fi
32310
32311
32312
32313
32314 ac_ext=c
32315 ac_cpp='$CPP $CPPFLAGS'
32316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32319
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32321 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32322
32323 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
32324 $as_echo_n "(cached) " >&6
32325 else
32326
32327
32328 ################################################################
32329
32330 ac_cv_func_which_gethostbyname_r=unknown
32331
32332 #
32333 # ONE ARGUMENT (sanity check)
32334 #
32335
32336 # This should fail, as there is no variant of gethostbyname_r() that takes
32337 # a single argument. If it actually compiles, then we can assume that
32338 # netdb.h is not declaring the function, and the compiler is thereby
32339 # assuming an implicit prototype. In which case, we're out of luck.
32340 #
32341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32342 /* end confdefs.h. */
32343 #include <netdb.h>
32344 int
32345 main ()
32346 {
32347
32348 char *name = "www.gnu.org";
32349 (void)gethostbyname_r(name) /* ; */
32350
32351
32352 ;
32353 return 0;
32354 }
32355 _ACEOF
32356 if ac_fn_c_try_compile "$LINENO"; then :
32357 ac_cv_func_which_gethostbyname_r=no
32358
32359 fi
32360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32361
32362 #
32363 # SIX ARGUMENTS
32364 # (e.g. Linux)
32365 #
32366
32367 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32368
32369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32370 /* end confdefs.h. */
32371 #include <netdb.h>
32372 int
32373 main ()
32374 {
32375
32376 char *name = "www.gnu.org";
32377 struct hostent ret, *retp;
32378 char buf[1024];
32379 int buflen = 1024;
32380 int my_h_errno;
32381 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32382
32383
32384 ;
32385 return 0;
32386 }
32387 _ACEOF
32388 if ac_fn_c_try_compile "$LINENO"; then :
32389 ac_cv_func_which_gethostbyname_r=six
32390
32391 fi
32392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32393
32394 fi
32395
32396 #
32397 # FIVE ARGUMENTS
32398 # (e.g. Solaris)
32399 #
32400
32401 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32402
32403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32404 /* end confdefs.h. */
32405 #include <netdb.h>
32406 int
32407 main ()
32408 {
32409
32410 char *name = "www.gnu.org";
32411 struct hostent ret;
32412 char buf[1024];
32413 int buflen = 1024;
32414 int my_h_errno;
32415 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32416
32417
32418 ;
32419 return 0;
32420 }
32421 _ACEOF
32422 if ac_fn_c_try_compile "$LINENO"; then :
32423 ac_cv_func_which_gethostbyname_r=five
32424
32425 fi
32426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32427
32428 fi
32429
32430 #
32431 # THREE ARGUMENTS
32432 # (e.g. AIX, HP-UX, Tru64)
32433 #
32434
32435 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32436
32437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32438 /* end confdefs.h. */
32439 #include <netdb.h>
32440 int
32441 main ()
32442 {
32443
32444 char *name = "www.gnu.org";
32445 struct hostent ret;
32446 struct hostent_data data;
32447 (void)gethostbyname_r(name, &ret, &data) /* ; */
32448
32449
32450 ;
32451 return 0;
32452 }
32453 _ACEOF
32454 if ac_fn_c_try_compile "$LINENO"; then :
32455 ac_cv_func_which_gethostbyname_r=three
32456
32457 fi
32458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32459
32460 fi
32461
32462 ################################################################
32463
32464
32465 fi
32466
32467 case "$ac_cv_func_which_gethostbyname_r" in
32468 three)
32469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32470 $as_echo "three" >&6; }
32471 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32472
32473 ;;
32474
32475 five)
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32477 $as_echo "five" >&6; }
32478 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32479
32480 ;;
32481
32482 six)
32483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32484 $as_echo "six" >&6; }
32485 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32486
32487 ;;
32488
32489 no)
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32491 $as_echo "cannot find function declaration in netdb.h" >&6; }
32492 ;;
32493
32494 unknown)
32495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32496 $as_echo "can't tell" >&6; }
32497 ;;
32498
32499 *)
32500 as_fn_error $? "internal error" "$LINENO" 5
32501 ;;
32502 esac
32503
32504 ac_ext=c
32505 ac_cpp='$CPP $CPPFLAGS'
32506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32509
32510
32511
32512 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32513 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32514 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32515 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
32516 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32517
32518 fi
32519
32520 fi
32521
32522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32523 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32524 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then :
32525 $as_echo_n "(cached) " >&6
32526 else
32527
32528 ac_ext=cpp
32529 ac_cpp='$CXXCPP $CPPFLAGS'
32530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32533
32534
32535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32536 /* end confdefs.h. */
32537 #include <netdb.h>
32538 int
32539 main ()
32540 {
32541
32542 char *name;
32543 char *proto;
32544 struct servent *se, *res;
32545 char buffer[2048];
32546 int buflen = 2048;
32547 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32548
32549 ;
32550 return 0;
32551 }
32552 _ACEOF
32553 if ac_fn_cxx_try_compile "$LINENO"; then :
32554 ac_cv_func_which_getservbyname_r=six
32555 else
32556
32557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32558 /* end confdefs.h. */
32559 #include <netdb.h>
32560 int
32561 main ()
32562 {
32563
32564 char *name;
32565 char *proto;
32566 struct servent *se;
32567 char buffer[2048];
32568 int buflen = 2048;
32569 (void) getservbyname_r(name, proto, se, buffer, buflen)
32570
32571 ;
32572 return 0;
32573 }
32574 _ACEOF
32575 if ac_fn_cxx_try_compile "$LINENO"; then :
32576 ac_cv_func_which_getservbyname_r=five
32577 else
32578
32579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32580 /* end confdefs.h. */
32581 #include <netdb.h>
32582 int
32583 main ()
32584 {
32585
32586 char *name;
32587 char *proto;
32588 struct servent *se;
32589 struct servent_data data;
32590 (void) getservbyname_r(name, proto, se, &data);
32591
32592 ;
32593 return 0;
32594 }
32595 _ACEOF
32596 if ac_fn_cxx_try_compile "$LINENO"; then :
32597 ac_cv_func_which_getservbyname_r=four
32598 else
32599 ac_cv_func_which_getservbyname_r=no
32600
32601 fi
32602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32603
32604
32605 fi
32606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607
32608
32609 fi
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616
32617
32618
32619 fi
32620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32621 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32622
32623 if test $ac_cv_func_which_getservbyname_r = six; then
32624 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32625
32626 elif test $ac_cv_func_which_getservbyname_r = five; then
32627 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32628
32629 elif test $ac_cv_func_which_getservbyname_r = four; then
32630 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32631
32632 fi
32633
32634
32635 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32636 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32637 for ac_func in getservbyname
32638 do :
32639 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32640 if test "x$ac_cv_func_getservbyname" = x""yes; then :
32641 cat >>confdefs.h <<_ACEOF
32642 #define HAVE_GETSERVBYNAME 1
32643 _ACEOF
32644 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32645
32646 fi
32647 done
32648
32649 fi
32650
32651 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
32652
32653
32654 if test "$wxUSE_THREADS" = "yes"; then
32655 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32656
32657
32658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32659 else
32660 if test "$wx_cv_func_strtok_r" = "yes"; then
32661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32662 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32663 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32666 $as_echo "yes" >&6; }
32667 else
32668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32669 $as_echo "no" >&6; }
32670 fi
32671 fi
32672 fi
32673
32674 if test "$WXGTK3" = 1 ; then
32675 cat >>confdefs.h <<_ACEOF
32676 #define __WXGTK3__ 1
32677 _ACEOF
32678
32679 WXGTK2=1
32680 fi
32681 if test "$WXGTK2" = 1 ; then
32682 cat >>confdefs.h <<_ACEOF
32683 #define __WXGTK20__ $WXGTK2
32684 _ACEOF
32685
32686 fi
32687
32688 if test "$WXGTK127" = 1 ; then
32689 cat >>confdefs.h <<_ACEOF
32690 #define __WXGTK127__ $WXGTK127
32691 _ACEOF
32692
32693 fi
32694
32695 if test "$WXGPE" = 1 ; then
32696 cat >>confdefs.h <<_ACEOF
32697 #define __WXGPE__ $WXGPE
32698 _ACEOF
32699
32700 fi
32701
32702 DEBUG_CFLAGS=
32703 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32705 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32706 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32707 DEBUG_CFLAGS="-g"
32708 fi
32709
32710 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32711 wxUSE_DEBUG_INFO=yes
32712 if test "$GCC" = yes; then
32713 DEBUG_CFLAGS="-ggdb"
32714 fi
32715 fi
32716
32717 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32718 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32719
32720 if test "$wxUSE_GTK" = 1 ; then
32721 if test "$WXGTK2" = 1 ; then
32722 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32723 else
32724 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32725 fi
32726 fi
32727 fi
32728
32729 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32730 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32731
32732 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32733
32734 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32735
32736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32737 fi
32738
32739 if test "$wxUSE_DMALLOC" = "yes" ; then
32740 DMALLOC_LIBS="-ldmallocthcxx"
32741 fi
32742
32743 PROFILE_FLAGS=
32744 if test "$wxUSE_PROFILE" = "yes" ; then
32745 PROFILE_FLAGS=" -pg"
32746 fi
32747
32748 if test "$GCC" = "yes" ; then
32749 if test "$wxUSE_NO_RTTI" = "yes" ; then
32750 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32751 fi
32752 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32753 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32754 fi
32755 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32756 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32757 fi
32758
32759 case "${host}" in
32760 powerpc*-*-aix* )
32761 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32762 ;;
32763 *-hppa* )
32764 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32765 ;;
32766 esac
32767 fi
32768
32769 OPTIMISE_CFLAGS=
32770 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32772 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32773 else
32774 if test "$wxUSE_OPTIMISE" = "no" ; then
32775 if test "$GCC" = yes ; then
32776 OPTIMISE_CFLAGS="-O0"
32777 fi
32778 else
32779 if test "$GCC" = yes ; then
32780 case "${host}" in
32781 *-pc-os2_emx | *-pc-os2-emx )
32782 OPTIMISE_CFLAGS="-O2"
32783 ;;
32784 *)
32785 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32786 ;;
32787 esac
32788 else
32789 OPTIMISE_CFLAGS="-O"
32790 fi
32791 fi
32792 fi
32793
32794
32795 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32796 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32797
32798
32799 WXWIN_COMPATIBILITY_2_8="yes"
32800 fi
32801
32802 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32803 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32804
32805 fi
32806
32807
32808 if test "$wxUSE_GUI" = "yes"; then
32809 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32810
32811
32812 fi
32813
32814
32815 if test "$wxUSE_UNIX" = "yes"; then
32816 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32817
32818 fi
32819
32820
32821 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32822
32823 HAVE_DL_FUNCS=0
32824 HAVE_SHL_FUNCS=0
32825 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32826 if test "$USE_DOS" = 1; then
32827 HAVE_DL_FUNCS=0
32828 else
32829 for ac_func in dlopen
32830 do :
32831 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32832 if test "x$ac_cv_func_dlopen" = x""yes; then :
32833 cat >>confdefs.h <<_ACEOF
32834 #define HAVE_DLOPEN 1
32835 _ACEOF
32836
32837 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32838
32839 HAVE_DL_FUNCS=1
32840
32841 else
32842
32843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32844 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32845 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32846 $as_echo_n "(cached) " >&6
32847 else
32848 ac_check_lib_save_LIBS=$LIBS
32849 LIBS="-ldl $LIBS"
32850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32851 /* end confdefs.h. */
32852
32853 /* Override any GCC internal prototype to avoid an error.
32854 Use char because int might match the return type of a GCC
32855 builtin and then its argument prototype would still apply. */
32856 #ifdef __cplusplus
32857 extern "C"
32858 #endif
32859 char dlopen ();
32860 int
32861 main ()
32862 {
32863 return dlopen ();
32864 ;
32865 return 0;
32866 }
32867 _ACEOF
32868 if ac_fn_c_try_link "$LINENO"; then :
32869 ac_cv_lib_dl_dlopen=yes
32870 else
32871 ac_cv_lib_dl_dlopen=no
32872 fi
32873 rm -f core conftest.err conftest.$ac_objext \
32874 conftest$ac_exeext conftest.$ac_ext
32875 LIBS=$ac_check_lib_save_LIBS
32876 fi
32877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32878 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32879 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
32880
32881 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32882
32883 HAVE_DL_FUNCS=1
32884 DL_LINK=" -ldl$DL_LINK"
32885
32886 else
32887
32888 for ac_func in shl_load
32889 do :
32890 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
32891 if test "x$ac_cv_func_shl_load" = x""yes; then :
32892 cat >>confdefs.h <<_ACEOF
32893 #define HAVE_SHL_LOAD 1
32894 _ACEOF
32895
32896 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32897
32898 HAVE_SHL_FUNCS=1
32899
32900 else
32901
32902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32903 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32904 if test "${ac_cv_lib_shl_load_dld+set}" = set; then :
32905 $as_echo_n "(cached) " >&6
32906 else
32907 ac_check_lib_save_LIBS=$LIBS
32908 LIBS="-lshl_load $LIBS"
32909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32910 /* end confdefs.h. */
32911
32912 /* Override any GCC internal prototype to avoid an error.
32913 Use char because int might match the return type of a GCC
32914 builtin and then its argument prototype would still apply. */
32915 #ifdef __cplusplus
32916 extern "C"
32917 #endif
32918 char dld ();
32919 int
32920 main ()
32921 {
32922 return dld ();
32923 ;
32924 return 0;
32925 }
32926 _ACEOF
32927 if ac_fn_c_try_link "$LINENO"; then :
32928 ac_cv_lib_shl_load_dld=yes
32929 else
32930 ac_cv_lib_shl_load_dld=no
32931 fi
32932 rm -f core conftest.err conftest.$ac_objext \
32933 conftest$ac_exeext conftest.$ac_ext
32934 LIBS=$ac_check_lib_save_LIBS
32935 fi
32936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
32937 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
32938 if test "x$ac_cv_lib_shl_load_dld" = x""yes; then :
32939
32940 HAVE_SHL_FUNCS=1
32941 DL_LINK=" -ldld$DL_LINK"
32942
32943 fi
32944
32945
32946 fi
32947 done
32948
32949
32950 fi
32951
32952
32953 fi
32954 done
32955
32956
32957 if test "$HAVE_DL_FUNCS" = 1; then
32958 for ac_func in dlerror
32959 do :
32960 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
32961 if test "x$ac_cv_func_dlerror" = x""yes; then :
32962 cat >>confdefs.h <<_ACEOF
32963 #define HAVE_DLERROR 1
32964 _ACEOF
32965 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
32966
32967 else
32968
32969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
32970 $as_echo_n "checking for dlerror in -ldl... " >&6; }
32971 if test "${ac_cv_lib_dl_dlerror+set}" = set; then :
32972 $as_echo_n "(cached) " >&6
32973 else
32974 ac_check_lib_save_LIBS=$LIBS
32975 LIBS="-ldl $LIBS"
32976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32977 /* end confdefs.h. */
32978
32979 /* Override any GCC internal prototype to avoid an error.
32980 Use char because int might match the return type of a GCC
32981 builtin and then its argument prototype would still apply. */
32982 #ifdef __cplusplus
32983 extern "C"
32984 #endif
32985 char dlerror ();
32986 int
32987 main ()
32988 {
32989 return dlerror ();
32990 ;
32991 return 0;
32992 }
32993 _ACEOF
32994 if ac_fn_c_try_link "$LINENO"; then :
32995 ac_cv_lib_dl_dlerror=yes
32996 else
32997 ac_cv_lib_dl_dlerror=no
32998 fi
32999 rm -f core conftest.err conftest.$ac_objext \
33000 conftest$ac_exeext conftest.$ac_ext
33001 LIBS=$ac_check_lib_save_LIBS
33002 fi
33003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33004 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33005 if test "x$ac_cv_lib_dl_dlerror" = x""yes; then :
33006 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33007
33008 fi
33009
33010
33011
33012 fi
33013 done
33014
33015 fi
33016 fi
33017
33018 if test "$USE_DARWIN" = 1; then
33019 HAVE_DL_FUNCS=1
33020 fi
33021
33022 if test "$HAVE_DL_FUNCS" = 0; then
33023 if test "$HAVE_SHL_FUNCS" = 0; then
33024 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33026 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33027 wxUSE_DYNAMIC_LOADER=no
33028 wxUSE_DYNLIB_CLASS=no
33029 else
33030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33031 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33032 fi
33033 fi
33034 fi
33035 fi
33036 fi
33037
33038 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33039 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33040
33041 fi
33042 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33043 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33044
33045 fi
33046
33047
33048
33049 if test "$wxUSE_PLUGINS" = "yes" ; then
33050 if test "$wxUSE_SHARED" = "no" ; then
33051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33052 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33053 wxUSE_PLUGINS=no
33054 fi
33055 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33057 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33058 wxUSE_PLUGINS=no
33059 fi
33060 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33062 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33063 wxUSE_PLUGINS=no
33064 fi
33065 if test "$wxUSE_PLUGINS" = "yes" ; then
33066 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33067
33068 fi
33069 fi
33070
33071
33072 if test "$wxUSE_FSWATCHER" = "yes"; then
33073 if test "$wxUSE_MSW" != "1"; then
33074 if test "$wxUSE_UNIX" = "yes"; then
33075 for ac_header in sys/inotify.h
33076 do :
33077 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33078 "
33079 if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
33080 cat >>confdefs.h <<_ACEOF
33081 #define HAVE_SYS_INOTIFY_H 1
33082 _ACEOF
33083
33084 fi
33085
33086 done
33087
33088 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33089 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33090
33091 else
33092 for ac_header in sys/event.h
33093 do :
33094 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33095 "
33096 if test "x$ac_cv_header_sys_event_h" = x""yes; then :
33097 cat >>confdefs.h <<_ACEOF
33098 #define HAVE_SYS_EVENT_H 1
33099 _ACEOF
33100
33101 fi
33102
33103 done
33104
33105 if test "$ac_cv_header_sys_event_h" = "yes"; then
33106 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33107
33108 else
33109 wxUSE_FSWATCHER=no
33110 fi
33111 fi
33112 else
33113 wxUSE_FSWATCHER=no
33114 fi
33115 else
33116 if test "$wxUSE_THREADS" != "yes"; then
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33118 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33119 wxUSE_FSWATCHER=no
33120 fi
33121 fi
33122
33123 if test "$wxUSE_FSWATCHER" = "yes"; then
33124 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33125
33126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
33127 else
33128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33129 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33130 fi
33131 fi
33132
33133
33134 if test "$wxUSE_STL" = "yes"; then
33135 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33136
33137 fi
33138
33139 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33140 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33141
33142 fi
33143
33144 if test "$wxUSE_ANY" = "yes"; then
33145 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33146
33147 fi
33148
33149 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33150 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33151
33152 fi
33153
33154 if test "$wxUSE_TIMER" = "yes"; then
33155 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33156
33157 fi
33158
33159 if test "$USE_UNIX" = 1 ; then
33160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33161 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33162 if test "${ac_cv_header_sys_soundcard+set}" = set; then :
33163 $as_echo_n "(cached) " >&6
33164 else
33165
33166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33167 /* end confdefs.h. */
33168
33169 #include <sys/ioctl.h>
33170 #include <sys/soundcard.h>
33171
33172 int
33173 main ()
33174 {
33175
33176 ioctl(0, SNDCTL_DSP_SPEED, 0);
33177
33178 ;
33179 return 0;
33180 }
33181 _ACEOF
33182 if ac_fn_c_try_link "$LINENO"; then :
33183 ac_cv_header_sys_soundcard=yes
33184 else
33185
33186 saveLibs="$LIBS"
33187 LIBS="$saveLibs -lossaudio"
33188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33189 /* end confdefs.h. */
33190
33191 #include <sys/ioctl.h>
33192 #include <sys/soundcard.h>
33193
33194 int
33195 main ()
33196 {
33197
33198 ioctl(0, SNDCTL_DSP_SPEED, 0);
33199
33200 ;
33201 return 0;
33202 }
33203 _ACEOF
33204 if ac_fn_c_try_link "$LINENO"; then :
33205 ac_cv_header_sys_soundcard=yes
33206 else
33207
33208 LIBS="$saveLibs"
33209 ac_cv_header_sys_soundcard=no
33210
33211
33212 fi
33213 rm -f core conftest.err conftest.$ac_objext \
33214 conftest$ac_exeext conftest.$ac_ext
33215
33216
33217 fi
33218 rm -f core conftest.err conftest.$ac_objext \
33219 conftest$ac_exeext conftest.$ac_ext
33220
33221 fi
33222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33223 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33224
33225 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33226 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33227
33228 fi
33229 fi
33230
33231 WITH_PLUGIN_SDL=0
33232 if test "$wxUSE_SOUND" = "yes"; then
33233 if test "$USE_UNIX" = 1 ; then
33234 if test "$wxUSE_LIBSDL" != "no"; then
33235
33236 # Check whether --with-sdl-prefix was given.
33237 if test "${with_sdl_prefix+set}" = set; then :
33238 withval=$with_sdl_prefix; sdl_prefix="$withval"
33239 else
33240 sdl_prefix=""
33241 fi
33242
33243
33244 # Check whether --with-sdl-exec-prefix was given.
33245 if test "${with_sdl_exec_prefix+set}" = set; then :
33246 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33247 else
33248 sdl_exec_prefix=""
33249 fi
33250
33251 # Check whether --enable-sdltest was given.
33252 if test "${enable_sdltest+set}" = set; then :
33253 enableval=$enable_sdltest;
33254 else
33255 enable_sdltest=yes
33256 fi
33257
33258
33259 if test x$sdl_exec_prefix != x ; then
33260 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33261 if test x${SDL_CONFIG+set} != xset ; then
33262 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33263 fi
33264 fi
33265 if test x$sdl_prefix != x ; then
33266 sdl_args="$sdl_args --prefix=$sdl_prefix"
33267 if test x${SDL_CONFIG+set} != xset ; then
33268 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33269 fi
33270 fi
33271
33272 if test "x$prefix" != xNONE; then
33273 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33274 fi
33275 # Extract the first word of "sdl-config", so it can be a program name with args.
33276 set dummy sdl-config; ac_word=$2
33277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33278 $as_echo_n "checking for $ac_word... " >&6; }
33279 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
33280 $as_echo_n "(cached) " >&6
33281 else
33282 case $SDL_CONFIG in
33283 [\\/]* | ?:[\\/]*)
33284 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33285 ;;
33286 *)
33287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33288 for as_dir in $PATH
33289 do
33290 IFS=$as_save_IFS
33291 test -z "$as_dir" && as_dir=.
33292 for ac_exec_ext in '' $ac_executable_extensions; do
33293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33294 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33296 break 2
33297 fi
33298 done
33299 done
33300 IFS=$as_save_IFS
33301
33302 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33303 ;;
33304 esac
33305 fi
33306 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33307 if test -n "$SDL_CONFIG"; then
33308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33309 $as_echo "$SDL_CONFIG" >&6; }
33310 else
33311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33312 $as_echo "no" >&6; }
33313 fi
33314
33315
33316 min_sdl_version=1.2.0
33317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33318 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33319 no_sdl=""
33320 if test "$SDL_CONFIG" = "no" ; then
33321 no_sdl=yes
33322 else
33323 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33324 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33325
33326 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33327 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33328 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33329 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33330 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33331 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33332 if test "x$enable_sdltest" = "xyes" ; then
33333 ac_save_CFLAGS="$CFLAGS"
33334 ac_save_CXXFLAGS="$CXXFLAGS"
33335 ac_save_LIBS="$LIBS"
33336 CFLAGS="$CFLAGS $SDL_CFLAGS"
33337 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33338 LIBS="$LIBS $SDL_LIBS"
33339 rm -f conf.sdltest
33340 if test "$cross_compiling" = yes; then :
33341 echo $ac_n "cross compiling; assumed OK... $ac_c"
33342 else
33343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33344 /* end confdefs.h. */
33345
33346 #include <stdio.h>
33347 #include <stdlib.h>
33348 #include <string.h>
33349 #include "SDL.h"
33350
33351 char*
33352 my_strdup (char *str)
33353 {
33354 char *new_str;
33355
33356 if (str)
33357 {
33358 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33359 strcpy (new_str, str);
33360 }
33361 else
33362 new_str = NULL;
33363
33364 return new_str;
33365 }
33366
33367 int main (int argc, char *argv[])
33368 {
33369 int major, minor, micro;
33370 char *tmp_version;
33371
33372 /* This hangs on some systems (?)
33373 system ("touch conf.sdltest");
33374 */
33375 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33376
33377 /* HP/UX 9 (%@#!) writes to sscanf strings */
33378 tmp_version = my_strdup("$min_sdl_version");
33379 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33380 printf("%s, bad version string\n", "$min_sdl_version");
33381 exit(1);
33382 }
33383
33384 if (($sdl_major_version > major) ||
33385 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33386 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33387 {
33388 return 0;
33389 }
33390 else
33391 {
33392 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33393 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33394 printf("*** best to upgrade to the required version.\n");
33395 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33396 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33397 printf("*** config.cache before re-running configure\n");
33398 return 1;
33399 }
33400 }
33401
33402
33403 _ACEOF
33404 if ac_fn_c_try_run "$LINENO"; then :
33405
33406 else
33407 no_sdl=yes
33408 fi
33409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33410 conftest.$ac_objext conftest.beam conftest.$ac_ext
33411 fi
33412
33413 CFLAGS="$ac_save_CFLAGS"
33414 CXXFLAGS="$ac_save_CXXFLAGS"
33415 LIBS="$ac_save_LIBS"
33416 fi
33417 fi
33418 if test "x$no_sdl" = x ; then
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33420 $as_echo "yes" >&6; }
33421
33422 EXTRALIBS_SDL="$SDL_LIBS"
33423 CFLAGS="$SDL_CFLAGS $CFLAGS"
33424 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33425 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33426
33427
33428 else
33429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33430 $as_echo "no" >&6; }
33431 if test "$SDL_CONFIG" = "no" ; then
33432 echo "*** The sdl-config script installed by SDL could not be found"
33433 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33434 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33435 echo "*** full path to sdl-config."
33436 else
33437 if test -f conf.sdltest ; then
33438 :
33439 else
33440 echo "*** Could not run SDL test program, checking why..."
33441 CFLAGS="$CFLAGS $SDL_CFLAGS"
33442 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33443 LIBS="$LIBS $SDL_LIBS"
33444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33445 /* end confdefs.h. */
33446
33447 #include <stdio.h>
33448 #include "SDL.h"
33449
33450 int main(int argc, char *argv[])
33451 { return 0; }
33452 #undef main
33453 #define main K_and_R_C_main
33454
33455 int
33456 main ()
33457 {
33458 return 0;
33459 ;
33460 return 0;
33461 }
33462 _ACEOF
33463 if ac_fn_c_try_link "$LINENO"; then :
33464 echo "*** The test program compiled, but did not run. This usually means"
33465 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33466 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33467 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33468 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33469 echo "*** is required on your system"
33470 echo "***"
33471 echo "*** If you have an old version installed, it is best to remove it, although"
33472 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33473 else
33474 echo "*** The test program failed to compile or link. See the file config.log for the"
33475 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33476 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33477 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33478 fi
33479 rm -f core conftest.err conftest.$ac_objext \
33480 conftest$ac_exeext conftest.$ac_ext
33481 CFLAGS="$ac_save_CFLAGS"
33482 CXXFLAGS="$ac_save_CXXFLAGS"
33483 LIBS="$ac_save_LIBS"
33484 fi
33485 fi
33486 SDL_CFLAGS=""
33487 SDL_LIBS=""
33488 wxUSE_LIBSDL="no"
33489 fi
33490
33491
33492 rm -f conf.sdltest
33493
33494 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33495 WITH_PLUGIN_SDL=1
33496 fi
33497 fi
33498 fi
33499 fi
33500
33501 if test "$wxUSE_SOUND" = "yes"; then
33502 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33503
33504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33505 fi
33506
33507 if test "$WXGTK2" = 1; then
33508
33509
33510 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33511 if test -n "$ac_tool_prefix"; then
33512 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33513 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33515 $as_echo_n "checking for $ac_word... " >&6; }
33516 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
33517 $as_echo_n "(cached) " >&6
33518 else
33519 case $PKG_CONFIG in
33520 [\\/]* | ?:[\\/]*)
33521 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33522 ;;
33523 *)
33524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33525 for as_dir in $PATH
33526 do
33527 IFS=$as_save_IFS
33528 test -z "$as_dir" && as_dir=.
33529 for ac_exec_ext in '' $ac_executable_extensions; do
33530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33531 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33533 break 2
33534 fi
33535 done
33536 done
33537 IFS=$as_save_IFS
33538
33539 ;;
33540 esac
33541 fi
33542 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33543 if test -n "$PKG_CONFIG"; then
33544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33545 $as_echo "$PKG_CONFIG" >&6; }
33546 else
33547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33548 $as_echo "no" >&6; }
33549 fi
33550
33551
33552 fi
33553 if test -z "$ac_cv_path_PKG_CONFIG"; then
33554 ac_pt_PKG_CONFIG=$PKG_CONFIG
33555 # Extract the first word of "pkg-config", so it can be a program name with args.
33556 set dummy pkg-config; ac_word=$2
33557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33558 $as_echo_n "checking for $ac_word... " >&6; }
33559 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
33560 $as_echo_n "(cached) " >&6
33561 else
33562 case $ac_pt_PKG_CONFIG in
33563 [\\/]* | ?:[\\/]*)
33564 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33565 ;;
33566 *)
33567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33568 for as_dir in $PATH
33569 do
33570 IFS=$as_save_IFS
33571 test -z "$as_dir" && as_dir=.
33572 for ac_exec_ext in '' $ac_executable_extensions; do
33573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33574 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33576 break 2
33577 fi
33578 done
33579 done
33580 IFS=$as_save_IFS
33581
33582 ;;
33583 esac
33584 fi
33585 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33586 if test -n "$ac_pt_PKG_CONFIG"; then
33587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33588 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33589 else
33590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33591 $as_echo "no" >&6; }
33592 fi
33593
33594 if test "x$ac_pt_PKG_CONFIG" = x; then
33595 PKG_CONFIG=""
33596 else
33597 case $cross_compiling:$ac_tool_warned in
33598 yes:)
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33601 ac_tool_warned=yes ;;
33602 esac
33603 PKG_CONFIG=$ac_pt_PKG_CONFIG
33604 fi
33605 else
33606 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33607 fi
33608
33609 fi
33610 if test -n "$PKG_CONFIG"; then
33611 _pkg_min_version=0.9.0
33612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33613 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33614 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33616 $as_echo "yes" >&6; }
33617 else
33618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33619 $as_echo "no" >&6; }
33620 PKG_CONFIG=""
33621 fi
33622
33623 fi
33624
33625 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33626
33627 if test "$wxUSE_GTKPRINT" = "yes" ; then
33628 if test "$WXGTK3" = 1; then
33629 gtk_unix_print="gtk+-unix-print-3.0"
33630 else
33631 gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
33632 fi
33633
33634 pkg_failed=no
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33636 $as_echo_n "checking for GTKPRINT... " >&6; }
33637
33638 if test -n "$PKG_CONFIG"; then
33639 if test -n "$GTKPRINT_CFLAGS"; then
33640 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33641 else
33642 if test -n "$PKG_CONFIG" && \
33643 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33644 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33645 ac_status=$?
33646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33647 test $ac_status = 0; }; then
33648 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
33649 else
33650 pkg_failed=yes
33651 fi
33652 fi
33653 else
33654 pkg_failed=untried
33655 fi
33656 if test -n "$PKG_CONFIG"; then
33657 if test -n "$GTKPRINT_LIBS"; then
33658 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33659 else
33660 if test -n "$PKG_CONFIG" && \
33661 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
33662 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
33663 ac_status=$?
33664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33665 test $ac_status = 0; }; then
33666 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
33667 else
33668 pkg_failed=yes
33669 fi
33670 fi
33671 else
33672 pkg_failed=untried
33673 fi
33674
33675
33676
33677 if test $pkg_failed = yes; then
33678
33679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33680 _pkg_short_errors_supported=yes
33681 else
33682 _pkg_short_errors_supported=no
33683 fi
33684 if test $_pkg_short_errors_supported = yes; then
33685 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
33686 else
33687 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
33688 fi
33689 # Put the nasty error message in config.log where it belongs
33690 echo "$GTKPRINT_PKG_ERRORS" >&5
33691
33692
33693 { $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
33694 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33695 wxUSE_GTKPRINT="no"
33696
33697
33698 elif test $pkg_failed = untried; then
33699
33700 { $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
33701 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33702 wxUSE_GTKPRINT="no"
33703
33704
33705 else
33706 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33707 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33709 $as_echo "yes" >&6; }
33710
33711 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33712 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33713 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33714
33715
33716 fi
33717 fi
33718
33719 if test "$WXGTK3" = 1; then
33720 wxUSE_LIBGNOMEPRINT=no
33721 fi
33722
33723 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33724
33725
33726 pkg_failed=no
33727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33728 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33729
33730 if test -n "$PKG_CONFIG"; then
33731 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33732 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33733 else
33734 if test -n "$PKG_CONFIG" && \
33735 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33736 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33737 ac_status=$?
33738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33739 test $ac_status = 0; }; then
33740 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33741 else
33742 pkg_failed=yes
33743 fi
33744 fi
33745 else
33746 pkg_failed=untried
33747 fi
33748 if test -n "$PKG_CONFIG"; then
33749 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33750 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33751 else
33752 if test -n "$PKG_CONFIG" && \
33753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33754 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33755 ac_status=$?
33756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33757 test $ac_status = 0; }; then
33758 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33759 else
33760 pkg_failed=yes
33761 fi
33762 fi
33763 else
33764 pkg_failed=untried
33765 fi
33766
33767
33768
33769 if test $pkg_failed = yes; then
33770
33771 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33772 _pkg_short_errors_supported=yes
33773 else
33774 _pkg_short_errors_supported=no
33775 fi
33776 if test $_pkg_short_errors_supported = yes; then
33777 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33778 else
33779 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33780 fi
33781 # Put the nasty error message in config.log where it belongs
33782 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33783
33784
33785 if test "$wxUSE_GTKPRINT" = yes; then
33786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33787 $as_echo "no" >&6; }
33788 else
33789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33790 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33791 fi
33792 wxUSE_LIBGNOMEPRINT="no"
33793
33794
33795 elif test $pkg_failed = untried; then
33796
33797 if test "$wxUSE_GTKPRINT" = yes; then
33798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33799 $as_echo "no" >&6; }
33800 else
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33802 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33803 fi
33804 wxUSE_LIBGNOMEPRINT="no"
33805
33806
33807 else
33808 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33809 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33811 $as_echo "yes" >&6; }
33812
33813 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33814 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33815 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33816
33817
33818 fi
33819 fi
33820 fi
33821
33822 if test "$wxUSE_MIMETYPE" = "yes" ; then
33823 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33824
33825
33826 pkg_failed=no
33827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33828 $as_echo_n "checking for GNOMEVFS... " >&6; }
33829
33830 if test -n "$PKG_CONFIG"; then
33831 if test -n "$GNOMEVFS_CFLAGS"; then
33832 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33833 else
33834 if test -n "$PKG_CONFIG" && \
33835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33836 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33837 ac_status=$?
33838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33839 test $ac_status = 0; }; then
33840 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33841 else
33842 pkg_failed=yes
33843 fi
33844 fi
33845 else
33846 pkg_failed=untried
33847 fi
33848 if test -n "$PKG_CONFIG"; then
33849 if test -n "$GNOMEVFS_LIBS"; then
33850 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33851 else
33852 if test -n "$PKG_CONFIG" && \
33853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33854 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33855 ac_status=$?
33856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33857 test $ac_status = 0; }; then
33858 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33859 else
33860 pkg_failed=yes
33861 fi
33862 fi
33863 else
33864 pkg_failed=untried
33865 fi
33866
33867
33868
33869 if test $pkg_failed = yes; then
33870
33871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33872 _pkg_short_errors_supported=yes
33873 else
33874 _pkg_short_errors_supported=no
33875 fi
33876 if test $_pkg_short_errors_supported = yes; then
33877 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33878 else
33879 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33880 fi
33881 # Put the nasty error message in config.log where it belongs
33882 echo "$GNOMEVFS_PKG_ERRORS" >&5
33883
33884
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33886 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33887 wxUSE_LIBGNOMEVFS="no"
33888
33889
33890 elif test $pkg_failed = untried; then
33891
33892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33893 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33894 wxUSE_LIBGNOMEVFS="no"
33895
33896
33897 else
33898 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
33899 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33901 $as_echo "yes" >&6; }
33902
33903 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
33904 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
33905 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33906
33907
33908 fi
33909 fi
33910 fi
33911
33912 if test "$wxUSE_LIBHILDON" = "yes" ; then
33913
33914 pkg_failed=no
33915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33916 $as_echo_n "checking for HILDON... " >&6; }
33917
33918 if test -n "$PKG_CONFIG"; then
33919 if test -n "$HILDON_CFLAGS"; then
33920 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
33921 else
33922 if test -n "$PKG_CONFIG" && \
33923 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33924 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33925 ac_status=$?
33926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33927 test $ac_status = 0; }; then
33928 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33929 else
33930 pkg_failed=yes
33931 fi
33932 fi
33933 else
33934 pkg_failed=untried
33935 fi
33936 if test -n "$PKG_CONFIG"; then
33937 if test -n "$HILDON_LIBS"; then
33938 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
33939 else
33940 if test -n "$PKG_CONFIG" && \
33941 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33942 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33943 ac_status=$?
33944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33945 test $ac_status = 0; }; then
33946 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
33947 else
33948 pkg_failed=yes
33949 fi
33950 fi
33951 else
33952 pkg_failed=untried
33953 fi
33954
33955
33956
33957 if test $pkg_failed = yes; then
33958
33959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33960 _pkg_short_errors_supported=yes
33961 else
33962 _pkg_short_errors_supported=no
33963 fi
33964 if test $_pkg_short_errors_supported = yes; then
33965 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33966 else
33967 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33968 fi
33969 # Put the nasty error message in config.log where it belongs
33970 echo "$HILDON_PKG_ERRORS" >&5
33971
33972
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33974 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33975 wxUSE_LIBHILDON="no"
33976 ac_hildon_lgpl=0
33977
33978
33979 elif test $pkg_failed = untried; then
33980
33981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33982 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33983 wxUSE_LIBHILDON="no"
33984 ac_hildon_lgpl=0
33985
33986
33987 else
33988 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
33989 HILDON_LIBS=$pkg_cv_HILDON_LIBS
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33991 $as_echo "yes" >&6; }
33992
33993 EXTRALIBS_HILDON="$HILDON_LIBS"
33994 CFLAGS="$CFLAGS $HILDON_CFLAGS"
33995 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
33996 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
33997
33998 ac_hildon_lgpl=1
33999
34000 fi
34001
34002 if test "$ac_hildon_lgpl" = 0 ; then
34003
34004 pkg_failed=no
34005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34006 $as_echo_n "checking for HILDON2... " >&6; }
34007
34008 if test -n "$PKG_CONFIG"; then
34009 if test -n "$HILDON2_CFLAGS"; then
34010 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
34011 else
34012 if test -n "$PKG_CONFIG" && \
34013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34014 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34015 ac_status=$?
34016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34017 test $ac_status = 0; }; then
34018 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34019 else
34020 pkg_failed=yes
34021 fi
34022 fi
34023 else
34024 pkg_failed=untried
34025 fi
34026 if test -n "$PKG_CONFIG"; then
34027 if test -n "$HILDON2_LIBS"; then
34028 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
34029 else
34030 if test -n "$PKG_CONFIG" && \
34031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34032 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34033 ac_status=$?
34034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34035 test $ac_status = 0; }; then
34036 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34037 else
34038 pkg_failed=yes
34039 fi
34040 fi
34041 else
34042 pkg_failed=untried
34043 fi
34044
34045
34046
34047 if test $pkg_failed = yes; then
34048
34049 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34050 _pkg_short_errors_supported=yes
34051 else
34052 _pkg_short_errors_supported=no
34053 fi
34054 if test $_pkg_short_errors_supported = yes; then
34055 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34056 else
34057 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34058 fi
34059 # Put the nasty error message in config.log where it belongs
34060 echo "$HILDON2_PKG_ERRORS" >&5
34061
34062
34063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34064 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34065 wxUSE_LIBHILDON2="no"
34066
34067
34068 elif test $pkg_failed = untried; then
34069
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34071 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34072 wxUSE_LIBHILDON2="no"
34073
34074
34075 else
34076 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
34077 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
34078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34079 $as_echo "yes" >&6; }
34080
34081 EXTRALIBS_HILDON="$HILDON2_LIBS"
34082 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
34083 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
34084 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34085
34086
34087 fi
34088 fi
34089 fi
34090 fi
34091
34092 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34093 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34094
34095 fi
34096
34097 if test "$wxUSE_STOPWATCH" = "yes"; then
34098 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34099
34100 fi
34101
34102 if test "$wxUSE_DATETIME" = "yes"; then
34103 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34104
34105 fi
34106
34107 if test "$wxUSE_FILE" = "yes"; then
34108 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34109
34110 fi
34111
34112 if test "$wxUSE_FFILE" = "yes"; then
34113 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34114
34115 fi
34116
34117 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34118 if test "$wxUSE_STREAMS" != yes; then
34119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34120 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34121 wxUSE_ARCHIVE_STREAMS=no
34122 else
34123 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34124
34125 fi
34126 fi
34127
34128 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34129 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34131 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34132 elif test "$wxUSE_ZLIB" = "no"; then
34133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34134 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34135 else
34136 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34137
34138 fi
34139 fi
34140
34141 if test "$wxUSE_TARSTREAM" = "yes"; then
34142 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34144 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34145 else
34146 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34147
34148 fi
34149 fi
34150
34151 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34152 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34153
34154 fi
34155
34156 if test "$wxUSE_FILESYSTEM" = "yes"; then
34157 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34159 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34160 wxUSE_FILESYSTEM=no
34161 else
34162 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34163
34164 fi
34165 fi
34166
34167 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34168 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34170 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34171 else
34172 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34173
34174 fi
34175 fi
34176
34177 if test "$wxUSE_FS_ZIP" = "yes"; then
34178 if test "$wxUSE_FS_ARCHIVE" != yes; then
34179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34180 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34181 else
34182 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34183
34184 fi
34185 fi
34186
34187 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34188 if test "$USE_UNIX" != 1; then
34189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34190 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34191 wxUSE_ON_FATAL_EXCEPTION=no
34192 else
34193 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34194
34195 fi
34196 fi
34197
34198 if test "$wxUSE_STACKWALKER" = "yes"; then
34199 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34200
34201 fi
34202
34203 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34204 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34206 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34207 wxUSE_DEBUGREPORT=no
34208 else
34209 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34210
34211 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34213 fi
34214 fi
34215 fi
34216
34217 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34218 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34219
34220 fi
34221
34222 if test "$wxUSE_BUSYINFO" = "yes"; then
34223 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34224
34225 fi
34226
34227 if test "$wxUSE_HOTKEY" = "yes"; then
34228 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34230 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34231 wxUSE_HOTKEY=no
34232 fi
34233 elif test "$wxUSE_HOTKEY" = "auto"; then
34234 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34235 wxUSE_HOTKEY=yes
34236 fi
34237 fi
34238 if test "$wxUSE_HOTKEY" = "yes"; then
34239 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34240
34241 fi
34242
34243 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34244 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34245
34246 fi
34247
34248 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34249 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34250
34251 fi
34252
34253 if test "$wxUSE_STD_STRING" = "yes"; then
34254 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34255
34256 fi
34257
34258 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34259 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34260
34261 fi
34262
34263 if test "$wxUSE_STDPATHS" = "yes"; then
34264 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34265
34266 fi
34267
34268 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34269 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34270
34271 fi
34272
34273 if test "$wxUSE_TEXTFILE" = "yes"; then
34274 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34276 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34277 else
34278 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34279
34280 fi
34281 fi
34282
34283 if test "$wxUSE_CONFIG" = "yes" ; then
34284 if test "$wxUSE_TEXTFILE" != "yes"; then
34285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34286 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34287 else
34288 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34289
34290 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34291
34292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34293 fi
34294 fi
34295
34296 if test "$wxUSE_INTL" = "yes" ; then
34297 if test "$wxUSE_FILE" != "yes"; then
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34299 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34300 else
34301 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34302
34303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34304 GUIDIST="$GUIDIST INTL_DIST"
34305 fi
34306 fi
34307
34308 if test "$wxUSE_XLOCALE" = "yes" ; then
34309 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34310
34311 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34312 #include <locale.h>
34313 "
34314 if test "x$ac_cv_type_locale_t" = x""yes; then :
34315
34316 cat >>confdefs.h <<_ACEOF
34317 #define HAVE_LOCALE_T 1
34318 _ACEOF
34319
34320
34321 fi
34322
34323 fi
34324
34325 if test "$wxUSE_LOG" = "yes"; then
34326 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34327
34328
34329 if test "$wxUSE_LOGGUI" = "yes"; then
34330 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34331
34332 fi
34333
34334 if test "$wxUSE_LOGWINDOW" = "yes"; then
34335 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34336
34337 fi
34338
34339 if test "$wxUSE_LOGDIALOG" = "yes"; then
34340 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34341
34342 fi
34343
34344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34345 fi
34346
34347 if test "$wxUSE_LONGLONG" = "yes"; then
34348 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34349
34350 fi
34351
34352 if test "$wxUSE_GEOMETRY" = "yes"; then
34353 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34354
34355 fi
34356
34357 if test "$wxUSE_BASE64" = "yes"; then
34358 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34359
34360 fi
34361
34362 if test "$wxUSE_STREAMS" = "yes" ; then
34363 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34364
34365 fi
34366
34367 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34368 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34369
34370 fi
34371
34372 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34373 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34374
34375 fi
34376
34377
34378 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34379 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34380
34381
34382 if test "$wxUSE_UNIX" = "yes"; then
34383 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34384 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34385
34386 fi
34387
34388 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34389 for ac_header in sys/epoll.h
34390 do :
34391 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34392 "
34393 if test "x$ac_cv_header_sys_epoll_h" = x""yes; then :
34394 cat >>confdefs.h <<_ACEOF
34395 #define HAVE_SYS_EPOLL_H 1
34396 _ACEOF
34397
34398 fi
34399
34400 done
34401
34402 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34403 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34404
34405 else
34406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34407 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34408 fi
34409 fi
34410 fi
34411 fi
34412
34413
34414 for ac_func in gettimeofday ftime
34415 do :
34416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34418 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34419 cat >>confdefs.h <<_ACEOF
34420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34421 _ACEOF
34422 break
34423 fi
34424 done
34425
34426
34427 if test "$ac_cv_func_gettimeofday" = "yes"; then
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34429 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34430 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then :
34431 $as_echo_n "(cached) " >&6
34432 else
34433
34434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34435 /* end confdefs.h. */
34436
34437 #include <sys/time.h>
34438 #include <unistd.h>
34439
34440 int
34441 main ()
34442 {
34443
34444 struct timeval tv;
34445 gettimeofday(&tv, NULL);
34446
34447 ;
34448 return 0;
34449 }
34450 _ACEOF
34451 if ac_fn_c_try_compile "$LINENO"; then :
34452 wx_cv_func_gettimeofday_has_2_args=yes
34453 else
34454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34455 /* end confdefs.h. */
34456
34457 #include <sys/time.h>
34458 #include <unistd.h>
34459
34460 int
34461 main ()
34462 {
34463
34464 struct timeval tv;
34465 gettimeofday(&tv);
34466
34467 ;
34468 return 0;
34469 }
34470 _ACEOF
34471 if ac_fn_c_try_compile "$LINENO"; then :
34472 wx_cv_func_gettimeofday_has_2_args=no
34473 else
34474
34475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34476 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34477 wx_cv_func_gettimeofday_has_2_args=unknown
34478
34479
34480 fi
34481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34482
34483 fi
34484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34485
34486 fi
34487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34488 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34489
34490 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34491 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34492
34493 fi
34494 fi
34495
34496 if test "$wxUSE_DATETIME" = "yes"; then
34497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34498 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34499 if test "${wx_cv_var_timezone+set}" = set; then :
34500 $as_echo_n "(cached) " >&6
34501 else
34502
34503 ac_ext=cpp
34504 ac_cpp='$CXXCPP $CPPFLAGS'
34505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34508
34509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34510 /* end confdefs.h. */
34511
34512 #include <time.h>
34513
34514 int
34515 main ()
34516 {
34517
34518 int tz;
34519 tz = timezone;
34520
34521 ;
34522 return 0;
34523 }
34524 _ACEOF
34525 if ac_fn_cxx_try_compile "$LINENO"; then :
34526
34527 wx_cv_var_timezone=timezone
34528
34529 else
34530
34531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34532 /* end confdefs.h. */
34533
34534 #include <time.h>
34535
34536 int
34537 main ()
34538 {
34539
34540 int tz;
34541 tz = _timezone;
34542
34543 ;
34544 return 0;
34545 }
34546 _ACEOF
34547 if ac_fn_cxx_try_compile "$LINENO"; then :
34548
34549 wx_cv_var_timezone=_timezone
34550
34551 else
34552
34553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34554 /* end confdefs.h. */
34555
34556 #include <time.h>
34557
34558 int
34559 main ()
34560 {
34561
34562 int tz;
34563 tz = __timezone;
34564
34565 ;
34566 return 0;
34567 }
34568 _ACEOF
34569 if ac_fn_cxx_try_compile "$LINENO"; then :
34570
34571 wx_cv_var_timezone=__timezone
34572
34573 else
34574
34575 if test "$USE_DOS" = 0 ; then
34576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34577 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34578 fi
34579
34580
34581 fi
34582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34583
34584
34585 fi
34586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34587
34588
34589 fi
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 ac_ext=c
34592 ac_cpp='$CPP $CPPFLAGS'
34593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34596
34597
34598
34599 fi
34600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34601 $as_echo "$wx_cv_var_timezone" >&6; }
34602
34603 if test "x$wx_cv_var_timezone" != x ; then
34604 cat >>confdefs.h <<_ACEOF
34605 #define WX_TIMEZONE $wx_cv_var_timezone
34606 _ACEOF
34607
34608 fi
34609
34610 for ac_func in localtime
34611 do :
34612 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34613 if test "x$ac_cv_func_localtime" = x""yes; then :
34614 cat >>confdefs.h <<_ACEOF
34615 #define HAVE_LOCALTIME 1
34616 _ACEOF
34617
34618 fi
34619 done
34620
34621
34622 if test "$ac_cv_func_localtime" = "yes"; then
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34624 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34625 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then :
34626 $as_echo_n "(cached) " >&6
34627 else
34628
34629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34630 /* end confdefs.h. */
34631
34632 #include <time.h>
34633
34634 int
34635 main ()
34636 {
34637
34638 struct tm tm;
34639 tm.tm_gmtoff++;
34640
34641 ;
34642 return 0;
34643 }
34644 _ACEOF
34645 if ac_fn_c_try_compile "$LINENO"; then :
34646
34647 wx_cv_struct_tm_has_gmtoff=yes
34648
34649 else
34650 wx_cv_struct_tm_has_gmtoff=no
34651
34652 fi
34653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34654
34655 fi
34656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34657 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34658 fi
34659
34660 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34661 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34662
34663 fi
34664
34665 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34666 fi
34667
34668
34669 if test "$wxUSE_SOCKETS" = "yes"; then
34670 if test "$TOOLKIT" != "MSW"; then
34671 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34672 if test "x$ac_cv_func_socket" = x""yes; then :
34673
34674 else
34675
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34677 $as_echo_n "checking for socket in -lsocket... " >&6; }
34678 if test "${ac_cv_lib_socket_socket+set}" = set; then :
34679 $as_echo_n "(cached) " >&6
34680 else
34681 ac_check_lib_save_LIBS=$LIBS
34682 LIBS="-lsocket $LIBS"
34683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34684 /* end confdefs.h. */
34685
34686 /* Override any GCC internal prototype to avoid an error.
34687 Use char because int might match the return type of a GCC
34688 builtin and then its argument prototype would still apply. */
34689 #ifdef __cplusplus
34690 extern "C"
34691 #endif
34692 char socket ();
34693 int
34694 main ()
34695 {
34696 return socket ();
34697 ;
34698 return 0;
34699 }
34700 _ACEOF
34701 if ac_fn_c_try_link "$LINENO"; then :
34702 ac_cv_lib_socket_socket=yes
34703 else
34704 ac_cv_lib_socket_socket=no
34705 fi
34706 rm -f core conftest.err conftest.$ac_objext \
34707 conftest$ac_exeext conftest.$ac_ext
34708 LIBS=$ac_check_lib_save_LIBS
34709 fi
34710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34711 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34712 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
34713 if test "$INET_LINK" != " -lsocket"; then
34714 INET_LINK="$INET_LINK -lsocket"
34715 fi
34716 else
34717
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34719 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34720 wxUSE_SOCKETS=no
34721
34722
34723 fi
34724
34725
34726
34727 fi
34728
34729 fi
34730 fi
34731
34732 if test "$wxUSE_SOCKETS" = "yes" ; then
34733 if test "$TOOLKIT" != "MSW"; then
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34735 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34736 if test "${wx_cv_type_getsockname3+set}" = set; then :
34737 $as_echo_n "(cached) " >&6
34738 else
34739
34740 ac_ext=cpp
34741 ac_cpp='$CXXCPP $CPPFLAGS'
34742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34745
34746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34747 /* end confdefs.h. */
34748
34749 #include <sys/types.h>
34750 #include <sys/socket.h>
34751
34752 int
34753 main ()
34754 {
34755
34756 socklen_t len;
34757 getsockname(0, 0, &len);
34758
34759 ;
34760 return 0;
34761 }
34762 _ACEOF
34763 if ac_fn_cxx_try_compile "$LINENO"; then :
34764 wx_cv_type_getsockname3=socklen_t
34765 else
34766
34767 CFLAGS_OLD="$CFLAGS"
34768 if test "$GCC" = yes ; then
34769 CFLAGS="-Werror $CFLAGS"
34770 fi
34771
34772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34773 /* end confdefs.h. */
34774
34775 #include <sys/types.h>
34776 #include <sys/socket.h>
34777
34778 int
34779 main ()
34780 {
34781
34782 size_t len;
34783 getsockname(0, 0, &len);
34784
34785 ;
34786 return 0;
34787 }
34788 _ACEOF
34789 if ac_fn_cxx_try_compile "$LINENO"; then :
34790 wx_cv_type_getsockname3=size_t
34791 else
34792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34793 /* end confdefs.h. */
34794
34795 #include <sys/types.h>
34796 #include <sys/socket.h>
34797
34798 int
34799 main ()
34800 {
34801
34802 int len;
34803 getsockname(0, 0, &len);
34804
34805 ;
34806 return 0;
34807 }
34808 _ACEOF
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810 wx_cv_type_getsockname3=int
34811 else
34812 wx_cv_type_getsockname3=unknown
34813
34814 fi
34815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34816
34817 fi
34818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34819
34820 CFLAGS="$CFLAGS_OLD"
34821
34822
34823 fi
34824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34825 ac_ext=c
34826 ac_cpp='$CPP $CPPFLAGS'
34827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34830
34831
34832 fi
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34834 $as_echo "$wx_cv_type_getsockname3" >&6; }
34835
34836 if test "$wx_cv_type_getsockname3" = "unknown"; then
34837 wxUSE_SOCKETS=no
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34839 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34840 else
34841 cat >>confdefs.h <<_ACEOF
34842 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34843 _ACEOF
34844
34845 fi
34846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34847 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34848 if test "${wx_cv_type_getsockopt5+set}" = set; then :
34849 $as_echo_n "(cached) " >&6
34850 else
34851
34852 ac_ext=cpp
34853 ac_cpp='$CXXCPP $CPPFLAGS'
34854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34857
34858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34859 /* end confdefs.h. */
34860
34861 #include <sys/types.h>
34862 #include <sys/socket.h>
34863
34864 int
34865 main ()
34866 {
34867
34868 socklen_t len;
34869 getsockopt(0, 0, 0, 0, &len);
34870
34871 ;
34872 return 0;
34873 }
34874 _ACEOF
34875 if ac_fn_cxx_try_compile "$LINENO"; then :
34876 wx_cv_type_getsockopt5=socklen_t
34877 else
34878
34879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34880 /* end confdefs.h. */
34881
34882 #include <sys/types.h>
34883 #include <sys/socket.h>
34884
34885 int
34886 main ()
34887 {
34888
34889 size_t len;
34890 getsockopt(0, 0, 0, 0, &len);
34891
34892 ;
34893 return 0;
34894 }
34895 _ACEOF
34896 if ac_fn_cxx_try_compile "$LINENO"; then :
34897 wx_cv_type_getsockopt5=size_t
34898 else
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 int len;
34910 getsockopt(0, 0, 0, 0, &len);
34911
34912 ;
34913 return 0;
34914 }
34915 _ACEOF
34916 if ac_fn_cxx_try_compile "$LINENO"; then :
34917 wx_cv_type_getsockopt5=int
34918 else
34919 wx_cv_type_getsockopt5=unknown
34920
34921 fi
34922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34923
34924 fi
34925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34926
34927
34928 fi
34929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34930 ac_ext=c
34931 ac_cpp='$CPP $CPPFLAGS'
34932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34935
34936
34937 fi
34938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
34939 $as_echo "$wx_cv_type_getsockopt5" >&6; }
34940
34941 if test "$wx_cv_type_getsockopt5" = "unknown"; then
34942 wxUSE_SOCKETS=no
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34944 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34945 else
34946 cat >>confdefs.h <<_ACEOF
34947 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
34948 _ACEOF
34949
34950 fi
34951 fi
34952 fi
34953
34954 if test "$wxUSE_SOCKETS" = "yes" ; then
34955 if test "$wxUSE_IPV6" = "yes"; then
34956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
34957 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
34958 if test "${wx_cv_type_sockaddr_in6+set}" = set; then :
34959 $as_echo_n "(cached) " >&6
34960 else
34961
34962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34963 /* end confdefs.h. */
34964
34965 #include <sys/types.h>
34966 #include <sys/socket.h>
34967 #include <netinet/in.h>
34968
34969 int
34970 main ()
34971 {
34972
34973 struct sockaddr_in6 sa6;
34974
34975 ;
34976 return 0;
34977 }
34978 _ACEOF
34979 if ac_fn_c_try_compile "$LINENO"; then :
34980 wx_cv_type_sockaddr_in6=yes
34981 else
34982 wx_cv_type_sockaddr_in6=no
34983
34984 fi
34985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34986
34987
34988 fi
34989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
34990 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
34991
34992 if test "$wx_cv_type_sockaddr_in6"="yes"; then
34993 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
34994
34995 else
34996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
34997 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
34998 fi
34999 fi
35000
35001 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35002
35003 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
35004 fi
35005
35006 if test "$wxUSE_PROTOCOL" = "yes"; then
35007 if test "$wxUSE_SOCKETS" != "yes"; then
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35009 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35010 wxUSE_PROTOCOL=no
35011 fi
35012 fi
35013
35014 if test "$wxUSE_PROTOCOL" = "yes"; then
35015 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35016
35017
35018 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35019 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35020
35021 fi
35022 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35023 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35024
35025 fi
35026 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35027 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35028
35029 fi
35030 else
35031 if test "$wxUSE_FS_INET" = "yes"; then
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35033 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35034 wxUSE_FS_INET="no"
35035 fi
35036 fi
35037
35038 if test "$wxUSE_URL" = "yes"; then
35039 if test "$wxUSE_PROTOCOL" != "yes"; then
35040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35041 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35042 wxUSE_URL=no
35043 fi
35044 if test "$wxUSE_URL" = "yes"; then
35045 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35046
35047 fi
35048 fi
35049
35050 if test "$wxUSE_VARIANT" = "yes"; then
35051 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35052
35053 fi
35054
35055 if test "$wxUSE_FS_INET" = "yes"; then
35056 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35057
35058 fi
35059
35060
35061 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35062 wxUSE_JOYSTICK=no
35063
35064 if test "$TOOLKIT" = "MSW"; then
35065 wxUSE_JOYSTICK=yes
35066
35067 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35068 if test "$USE_DARWIN" = 1; then
35069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35070 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35071 ac_ext=cpp
35072 ac_cpp='$CXXCPP $CPPFLAGS'
35073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35076
35077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35078 /* end confdefs.h. */
35079 #include <IOKit/hid/IOHIDLib.h>
35080 int
35081 main ()
35082 {
35083 IOHIDQueueInterface *qi = NULL;
35084 IOHIDCallbackFunction cb = NULL;
35085 qi->setEventCallout(NULL, cb, NULL, NULL);
35086 ;
35087 return 0;
35088 }
35089 _ACEOF
35090 if ac_fn_cxx_try_compile "$LINENO"; then :
35091 wxUSE_JOYSTICK=yes
35092
35093 fi
35094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35095 ac_ext=c
35096 ac_cpp='$CPP $CPPFLAGS'
35097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35100
35101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35102 $as_echo "$wxUSE_JOYSTICK" >&6; }
35103 fi
35104
35105 else
35106 for ac_header in linux/joystick.h
35107 do :
35108 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35109 "
35110 if test "x$ac_cv_header_linux_joystick_h" = x""yes; then :
35111 cat >>confdefs.h <<_ACEOF
35112 #define HAVE_LINUX_JOYSTICK_H 1
35113 _ACEOF
35114 wxUSE_JOYSTICK=yes
35115 fi
35116
35117 done
35118
35119 fi
35120
35121 if test "$wxUSE_JOYSTICK" = "yes"; then
35122 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35123
35124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
35125 else
35126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35127 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35128 fi
35129 fi
35130
35131
35132
35133 if test "$wxUSE_FONTENUM" = "yes" ; then
35134 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35135
35136 fi
35137
35138 if test "$wxUSE_FONTMAP" = "yes" ; then
35139 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35140
35141 fi
35142
35143 if test "$wxUSE_UNICODE" = "yes" ; then
35144 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35145
35146
35147 if test "$USE_WIN32" != 1; then
35148 wxUSE_UNICODE_MSLU=no
35149 fi
35150
35151 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35153 $as_echo_n "checking for main in -lunicows... " >&6; }
35154 if test "${ac_cv_lib_unicows_main+set}" = set; then :
35155 $as_echo_n "(cached) " >&6
35156 else
35157 ac_check_lib_save_LIBS=$LIBS
35158 LIBS="-lunicows $LIBS"
35159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35160 /* end confdefs.h. */
35161
35162
35163 int
35164 main ()
35165 {
35166 return main ();
35167 ;
35168 return 0;
35169 }
35170 _ACEOF
35171 if ac_fn_c_try_link "$LINENO"; then :
35172 ac_cv_lib_unicows_main=yes
35173 else
35174 ac_cv_lib_unicows_main=no
35175 fi
35176 rm -f core conftest.err conftest.$ac_objext \
35177 conftest$ac_exeext conftest.$ac_ext
35178 LIBS=$ac_check_lib_save_LIBS
35179 fi
35180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35181 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35182 if test "x$ac_cv_lib_unicows_main" = x""yes; then :
35183
35184 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35185
35186
35187 else
35188
35189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35190 Applications will only run on Windows NT/2000/XP!" >&5
35191 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35192 Applications will only run on Windows NT/2000/XP!" >&2;}
35193 wxUSE_UNICODE_MSLU=no
35194
35195 fi
35196
35197 fi
35198 fi
35199
35200 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35201 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35202
35203
35204 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35205 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35206
35207 fi
35208 fi
35209
35210
35211 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35212 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35213
35214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35215 fi
35216
35217 if test "$wxUSE_MDI" = "yes"; then
35218 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35219
35220
35221 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35222 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35223
35224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35225 fi
35226 fi
35227
35228 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35229 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35230
35231 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35232 fi
35233
35234 if test "$wxUSE_HELP" = "yes"; then
35235 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35236
35237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35238
35239 if test "$wxUSE_MSW" = 1; then
35240 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35241 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35242
35243 fi
35244 fi
35245
35246 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35247 if test "$wxUSE_HTML" = "yes"; then
35248 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35249
35250 else
35251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35252 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35253 wxUSE_WXHTML_HELP=no
35254 fi
35255 fi
35256 fi
35257
35258 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35259 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35260
35261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35262 fi
35263
35264 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35265 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35266
35267 fi
35268
35269 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35270
35271
35272 if test "$wxUSE_SVG" = "yes"; then
35273 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35274
35275 fi
35276
35277
35278 if test "$wxUSE_METAFILE" = "yes"; then
35279 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35281 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35282 wxUSE_METAFILE=no
35283 fi
35284 elif test "$wxUSE_METAFILE" = "auto"; then
35285 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35286 wxUSE_METAFILE=yes
35287 fi
35288 fi
35289
35290 if test "$wxUSE_METAFILE" = "yes"; then
35291 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35292
35293 if test "$wxUSE_MSW" = 1; then
35294 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35295
35296 fi
35297 fi
35298
35299
35300 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35301 -o "$wxUSE_CLIPBOARD" = "yes" \
35302 -o "$wxUSE_OLE" = "yes" \
35303 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35304 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35305 "
35306 if test "x$ac_cv_header_ole2_h" = x""yes; then :
35307
35308 fi
35309
35310
35311
35312 if test "$ac_cv_header_ole2_h" = "yes" ; then
35313 if test "$GCC" = yes ; then
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35315 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35317 /* end confdefs.h. */
35318 #include <windows.h>
35319 #include <ole2.h>
35320 int
35321 main ()
35322 {
35323
35324 ;
35325 return 0;
35326 }
35327 _ACEOF
35328 if ac_fn_c_try_compile "$LINENO"; then :
35329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35330 $as_echo "no" >&6; }
35331 else
35332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35333 $as_echo "yes" >&6; }
35334 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35335 fi
35336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35337 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35338 if test "$wxUSE_OLE" = "yes" ; then
35339 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35340
35341 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35342
35343 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35344
35345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35346 fi
35347 fi
35348
35349 if test "$wxUSE_DATAOBJ" = "yes" ; then
35350 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35351
35352 fi
35353 else
35354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35355 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35356
35357 wxUSE_CLIPBOARD=no
35358 wxUSE_DRAG_AND_DROP=no
35359 wxUSE_DATAOBJ=no
35360 wxUSE_OLE=no
35361 fi
35362 fi
35363
35364 if test "$wxUSE_IPC" = "yes"; then
35365 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35367 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35368 wxUSE_IPC=no
35369 fi
35370
35371 if test "$wxUSE_IPC" = "yes"; then
35372 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35373
35374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35375 fi
35376 fi
35377
35378 if test "$wxUSE_DATAOBJ" = "yes"; then
35379 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35380
35381 else
35382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35383 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35384 wxUSE_CLIPBOARD=no
35385 wxUSE_DRAG_AND_DROP=no
35386 fi
35387
35388 if test "$wxUSE_CLIPBOARD" = "yes"; then
35389 if test "$wxUSE_DFB" = 1; then
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35391 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35392 wxUSE_CLIPBOARD=no
35393 fi
35394
35395 if test "$wxUSE_CLIPBOARD" = "yes"; then
35396 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35397
35398 fi
35399 fi
35400
35401 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35402 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35404 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35405 wxUSE_DRAG_AND_DROP=no
35406 fi
35407
35408 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35409 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35410
35411 fi
35412
35413 fi
35414
35415 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35417 fi
35418
35419 if test "$wxUSE_CLIPBOARD" = "yes"; then
35420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35421 fi
35422
35423 if test "$wxUSE_SPLINES" = "yes" ; then
35424 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35425
35426 fi
35427
35428 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35429 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35430
35431 fi
35432
35433 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35434 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35435
35436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35437 fi
35438
35439 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35440 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35441
35442 fi
35443
35444
35445 USES_CONTROLS=0
35446 if test "$wxUSE_CONTROLS" = "yes"; then
35447 USES_CONTROLS=1
35448 fi
35449
35450 if test "$wxUSE_MARKUP" = "yes"; then
35451 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35452
35453 fi
35454
35455 if test "$wxUSE_ACCEL" = "yes"; then
35456 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35457
35458 USES_CONTROLS=1
35459 fi
35460
35461 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35462 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35463
35464 USES_CONTROLS=1
35465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35466 fi
35467
35468 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35469 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35470
35471 fi
35472
35473 if test "$wxUSE_BUTTON" = "yes"; then
35474 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35475
35476 USES_CONTROLS=1
35477 fi
35478
35479 if test "$wxUSE_BMPBUTTON" = "yes"; then
35480 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35481
35482 USES_CONTROLS=1
35483 fi
35484
35485 if test "$wxUSE_CALCTRL" = "yes"; then
35486 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35487
35488 USES_CONTROLS=1
35489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35490 fi
35491
35492 if test "$wxUSE_CARET" = "yes"; then
35493 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35494
35495 USES_CONTROLS=1
35496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35497 fi
35498
35499 if test "$wxUSE_COLLPANE" = "yes"; then
35500 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35501
35502 USES_CONTROLS=1
35503 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35504 fi
35505
35506 if test "$wxUSE_COMBOBOX" = "yes"; then
35507 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35508
35509 USES_CONTROLS=1
35510 fi
35511
35512 if test "$wxUSE_COMBOCTRL" = "yes"; then
35513 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35514
35515 USES_CONTROLS=1
35516 fi
35517
35518 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35519 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35520
35521 USES_CONTROLS=1
35522 fi
35523
35524 if test "$wxUSE_CHOICE" = "yes"; then
35525 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35526
35527 USES_CONTROLS=1
35528 fi
35529
35530 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35531 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35532
35533 USES_CONTROLS=1
35534 fi
35535
35536 if test "$wxUSE_CHECKBOX" = "yes"; then
35537 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35538
35539 USES_CONTROLS=1
35540 fi
35541
35542 if test "$wxUSE_CHECKLST" = "yes"; then
35543 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35544
35545 USES_CONTROLS=1
35546 fi
35547
35548 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35549 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35550
35551 USES_CONTROLS=1
35552 fi
35553
35554 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35555 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35556
35557 USES_CONTROLS=1
35558 fi
35559
35560 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35561 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35562
35563 USES_CONTROLS=1
35564 fi
35565
35566 if test "$wxUSE_FILECTRL" = "yes"; then
35567 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35568
35569 USES_CONTROLS=1
35570 fi
35571
35572 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35573 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35574
35575 USES_CONTROLS=1
35576 fi
35577
35578 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35579 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35580
35581 USES_CONTROLS=1
35582 fi
35583
35584 if test "$wxUSE_DISPLAY" = "yes"; then
35585 if test "$wxUSE_DFB" = 1; then
35586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35587 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35588 wxUSE_DISPLAY=no
35589 else
35590 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35591
35592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35593 fi
35594 fi
35595
35596 if test "$wxUSE_DETECT_SM" = "yes"; then
35597 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35598
35599 fi
35600
35601 if test "$wxUSE_GAUGE" = "yes"; then
35602 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35603
35604 USES_CONTROLS=1
35605 fi
35606
35607 if test "$wxUSE_GRID" = "yes"; then
35608 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35609
35610 USES_CONTROLS=1
35611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35612 fi
35613
35614 if test "$wxUSE_HEADERCTRL" = "yes"; then
35615 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35616
35617 USES_CONTROLS=1
35618 fi
35619
35620 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35621 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35622
35623 USES_CONTROLS=1
35624 fi
35625
35626 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35627 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35628
35629 USES_CONTROLS=1
35630 fi
35631
35632 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35633 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35634
35635 USES_CONTROLS=1
35636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35637 fi
35638
35639 if test "$wxUSE_IMAGLIST" = "yes"; then
35640 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35641
35642 fi
35643
35644 if test "$wxUSE_INFOBAR" = "yes"; then
35645 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35646
35647 fi
35648
35649 if test "$wxUSE_LISTBOOK" = "yes"; then
35650 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35651
35652 USES_CONTROLS=1
35653 fi
35654
35655 if test "$wxUSE_LISTBOX" = "yes"; then
35656 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35657
35658 USES_CONTROLS=1
35659 fi
35660
35661 if test "$wxUSE_LISTCTRL" = "yes"; then
35662 if test "$wxUSE_IMAGLIST" = "yes"; then
35663 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35664
35665 USES_CONTROLS=1
35666 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35667 else
35668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35669 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35670 fi
35671 fi
35672
35673 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35674 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35675
35676 USES_CONTROLS=1
35677 fi
35678
35679 if test "$wxUSE_NOTEBOOK" = "yes"; then
35680 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35681
35682 USES_CONTROLS=1
35683 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35684 fi
35685
35686 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35687 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35688
35689 fi
35690
35691 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35692 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35693
35694 USES_CONTROLS=1
35695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35696 fi
35697
35698 if test "$wxUSE_RADIOBOX" = "yes"; then
35699 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35700
35701 USES_CONTROLS=1
35702 fi
35703
35704 if test "$wxUSE_RADIOBTN" = "yes"; then
35705 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35706
35707 USES_CONTROLS=1
35708 fi
35709
35710 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35711 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35712
35713 fi
35714
35715 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35716 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35717
35718 fi
35719
35720 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35721 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35722
35723 fi
35724
35725 if test "$wxUSE_SASH" = "yes"; then
35726 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35727
35728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35729 fi
35730
35731 if test "$wxUSE_SCROLLBAR" = "yes"; then
35732 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35733
35734 USES_CONTROLS=1
35735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35736 fi
35737
35738 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35739 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35740
35741 USES_CONTROLS=1
35742 fi
35743
35744 if test "$wxUSE_SLIDER" = "yes"; then
35745 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35746
35747 USES_CONTROLS=1
35748 fi
35749
35750 if test "$wxUSE_SPINBTN" = "yes"; then
35751 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35752
35753 USES_CONTROLS=1
35754 fi
35755
35756 if test "$wxUSE_SPINCTRL" = "yes"; then
35757 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35758
35759 USES_CONTROLS=1
35760 fi
35761
35762 if test "$wxUSE_SPLITTER" = "yes"; then
35763 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35764
35765 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35766 fi
35767
35768 if test "$wxUSE_STATBMP" = "yes"; then
35769 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35770
35771 USES_CONTROLS=1
35772 fi
35773
35774 if test "$wxUSE_STATBOX" = "yes"; then
35775 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35776
35777 USES_CONTROLS=1
35778 fi
35779
35780 if test "$wxUSE_STATTEXT" = "yes"; then
35781 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35782
35783 USES_CONTROLS=1
35784 fi
35785
35786 if test "$wxUSE_STATLINE" = "yes"; then
35787 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35788
35789 USES_CONTROLS=1
35790 fi
35791
35792 if test "$wxUSE_STATUSBAR" = "yes"; then
35793 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35794
35795 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35796
35797 USES_CONTROLS=1
35798
35799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35800 fi
35801
35802 if test "$wxUSE_TEXTCTRL" = "yes"; then
35803 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35804
35805 USES_CONTROLS=1
35806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35807
35808 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35809
35810 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35811
35812 fi
35813
35814 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35815 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35816
35817 USES_CONTROLS=1
35818 fi
35819
35820 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35821 if test "$wxUSE_OLD_COCOA" = 1 ; then
35822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35823 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35824 wxUSE_TOGGLEBTN=no
35825 fi
35826
35827 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35828 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35829
35830 USES_CONTROLS=1
35831 fi
35832 fi
35833
35834 if test "$wxUSE_TOOLBAR" = "yes"; then
35835 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35836
35837 USES_CONTROLS=1
35838
35839 if test "$wxUSE_UNIVERSAL" = "yes"; then
35840 wxUSE_TOOLBAR_NATIVE="no"
35841 else
35842 wxUSE_TOOLBAR_NATIVE="yes"
35843 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35844
35845 fi
35846
35847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35848 fi
35849
35850 if test "$wxUSE_TOOLTIPS" = "yes"; then
35851 if test "$wxUSE_MOTIF" = 1; then
35852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35853 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35854 else
35855 if test "$wxUSE_UNIVERSAL" = "yes"; then
35856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35857 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35858 else
35859 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35860
35861 fi
35862 fi
35863 fi
35864
35865 if test "$wxUSE_TREEBOOK" = "yes"; then
35866 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35867
35868 USES_CONTROLS=1
35869 fi
35870
35871 if test "$wxUSE_TOOLBOOK" = "yes"; then
35872 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35873
35874 USES_CONTROLS=1
35875 fi
35876
35877 if test "$wxUSE_TREECTRL" = "yes"; then
35878 if test "$wxUSE_IMAGLIST" = "yes"; then
35879 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35880
35881 USES_CONTROLS=1
35882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35883 else
35884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35885 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35886 fi
35887 fi
35888
35889 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35890 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35891
35892 USES_CONTROLS=1
35893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
35894 fi
35895
35896 if test "$wxUSE_POPUPWIN" = "yes"; then
35897 if test "$wxUSE_OLD_COCOA" = 1 ; then
35898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35899 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35900 else
35901 if test "$wxUSE_PM" = 1; then
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35903 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35904 else
35905 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35906
35907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
35908
35909 USES_CONTROLS=1
35910 fi
35911 fi
35912 fi
35913
35914 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35915 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35917 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35918 else
35919 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35920
35921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35922 fi
35923 fi
35924
35925 if test "$wxUSE_TIPWINDOW" = "yes"; then
35926 if test "$wxUSE_PM" = 1; then
35927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35928 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35929 else
35930 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35931
35932 fi
35933 fi
35934
35935 if test "$USES_CONTROLS" = 1; then
35936 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
35937
35938 fi
35939
35940
35941 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35942 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
35943
35944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
35945 fi
35946
35947 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
35948 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
35949
35950 fi
35951
35952 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
35953 if test "$wxUSE_GTK" != 1; then
35954 if test "$wxUSE_LIBPNG" != no -a \
35955 "$wxUSE_IMAGE" = yes -a \
35956 "$wxUSE_STREAMS" = yes; then
35957 wxUSE_ARTPROVIDER_TANGO="yes"
35958 fi
35959 fi
35960 fi
35961
35962 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
35963 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
35964
35965 fi
35966
35967 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35968 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
35969
35970 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
35971 fi
35972
35973 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35974 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
35976 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
35977 else
35978 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
35979
35980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
35981 fi
35982 fi
35983
35984 USE_HTML=0
35985 if test "$wxUSE_HTML" = "yes"; then
35986 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
35987
35988 USE_HTML=1
35989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35990 fi
35991 if test "$wxUSE_WEBKIT" = "yes"; then
35992 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
35993 old_CPPFLAGS="$CPPFLAGS"
35994 CPPFLAGS="-x objective-c++ $CPPFLAGS"
35995 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
35996 #include <Carbon/Carbon.h>
35997 #include <WebKit/WebKit.h>
35998
35999 "
36000 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36001
36002 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36003
36004 WEBKIT_LINK="-framework WebKit"
36005
36006 else
36007
36008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36009 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36010 wxUSE_WEBKIT=no
36011
36012 fi
36013
36014
36015 CPPFLAGS="$old_CPPFLAGS"
36016 elif test "$wxUSE_OLD_COCOA" = 1; then
36017 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36018
36019 else
36020 wxUSE_WEBKIT=no
36021 fi
36022 if test "$wxUSE_WEBKIT" = "yes"; then
36023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
36024 fi
36025 fi
36026
36027 USE_XRC=0
36028 if test "$wxUSE_XRC" = "yes"; then
36029 if test "$wxUSE_XML" != "yes"; then
36030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36031 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36032 wxUSE_XRC=no
36033 else
36034 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36035
36036 USE_XRC=1
36037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
36038 fi
36039 fi
36040
36041 USE_AUI=0
36042 if test "$wxUSE_AUI" = "yes"; then
36043 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36044
36045 USE_AUI=1
36046 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
36047 fi
36048
36049 USE_PROPGRID=0
36050 if test "$wxUSE_PROPGRID" = "yes"; then
36051 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36052
36053 USE_PROPGRID=1
36054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
36055 fi
36056
36057 USE_RIBBON=0
36058 if test "$wxUSE_RIBBON" = "yes"; then
36059 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36060
36061 USE_RIBBON=1
36062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
36063 fi
36064
36065 USE_STC=0
36066 if test "$wxUSE_STC" = "yes"; then
36067 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36068
36069 USE_STC=1
36070 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
36071
36072 # Extract the first word of "python", so it can be a program name with args.
36073 set dummy python; ac_word=$2
36074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36075 $as_echo_n "checking for $ac_word... " >&6; }
36076 if test "${ac_cv_path_PYTHON+set}" = set; then :
36077 $as_echo_n "(cached) " >&6
36078 else
36079 case $PYTHON in
36080 [\\/]* | ?:[\\/]*)
36081 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
36082 ;;
36083 *)
36084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36085 for as_dir in $PATH
36086 do
36087 IFS=$as_save_IFS
36088 test -z "$as_dir" && as_dir=.
36089 for ac_exec_ext in '' $ac_executable_extensions; do
36090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36091 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
36092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36093 break 2
36094 fi
36095 done
36096 done
36097 IFS=$as_save_IFS
36098
36099 ;;
36100 esac
36101 fi
36102 PYTHON=$ac_cv_path_PYTHON
36103 if test -n "$PYTHON"; then
36104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36105 $as_echo "$PYTHON" >&6; }
36106 else
36107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36108 $as_echo "no" >&6; }
36109 fi
36110
36111
36112 if test "x$PYTHON" = "x"; then
36113 COND_PYTHON="#"
36114 fi
36115
36116 fi
36117
36118 if test "$wxUSE_MENUS" = "yes"; then
36119 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36120
36121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
36122 fi
36123
36124 if test "$wxUSE_MIMETYPE" = "yes"; then
36125 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36126
36127 fi
36128
36129 if test "$wxUSE_MINIFRAME" = "yes"; then
36130 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36131
36132 fi
36133
36134 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36135 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36136
36137 fi
36138
36139 if test "$wxUSE_TASKBARICON" = "yes"; then
36140 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36141
36142 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36143
36144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
36145 fi
36146
36147
36148 if test "$wxUSE_VALIDATORS" = "yes"; then
36149 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36150
36151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
36152 fi
36153
36154 if test "$wxUSE_PALETTE" = "yes" ; then
36155 if test "$wxUSE_DFB" = 1; then
36156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36157 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36158 wxUSE_PALETTE=no
36159 else
36160 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36161
36162 fi
36163 fi
36164
36165 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36166 LIBS=" -lunicows $LIBS"
36167 fi
36168
36169 USE_RICHTEXT=0
36170 if test "$wxUSE_RICHTEXT" = "yes"; then
36171 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36172
36173 USE_RICHTEXT=1
36174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36175 fi
36176
36177 if test "$wxUSE_WEBVIEW" = "yes"; then
36178 USE_WEBVIEW_WEBKIT=0
36179 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36180 if test "$wxUSE_GTK" = 1; then
36181 webkitgtk=webkit-1.0
36182 if test "$WXGTK3" = 1; then
36183 webkitgtk=webkitgtk-3.0
36184 fi
36185
36186 pkg_failed=no
36187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36188 $as_echo_n "checking for WEBKIT... " >&6; }
36189
36190 if test -n "$PKG_CONFIG"; then
36191 if test -n "$WEBKIT_CFLAGS"; then
36192 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36193 else
36194 if test -n "$PKG_CONFIG" && \
36195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36196 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36197 ac_status=$?
36198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36199 test $ac_status = 0; }; then
36200 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36201 else
36202 pkg_failed=yes
36203 fi
36204 fi
36205 else
36206 pkg_failed=untried
36207 fi
36208 if test -n "$PKG_CONFIG"; then
36209 if test -n "$WEBKIT_LIBS"; then
36210 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36211 else
36212 if test -n "$PKG_CONFIG" && \
36213 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36214 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36215 ac_status=$?
36216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36217 test $ac_status = 0; }; then
36218 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36219 else
36220 pkg_failed=yes
36221 fi
36222 fi
36223 else
36224 pkg_failed=untried
36225 fi
36226
36227
36228
36229 if test $pkg_failed = yes; then
36230
36231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36232 _pkg_short_errors_supported=yes
36233 else
36234 _pkg_short_errors_supported=no
36235 fi
36236 if test $_pkg_short_errors_supported = yes; then
36237 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36238 else
36239 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36240 fi
36241 # Put the nasty error message in config.log where it belongs
36242 echo "$WEBKIT_PKG_ERRORS" >&5
36243
36244
36245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36246 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36247
36248 elif test $pkg_failed = untried; then
36249
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36251 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36252
36253 else
36254 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36255 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36257 $as_echo "yes" >&6; }
36258
36259 USE_WEBVIEW_WEBKIT=1
36260 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36261 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36262
36263 fi
36264 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36265 old_CPPFLAGS="$CPPFLAGS"
36266 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36267 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36268 #include <Carbon/Carbon.h>
36269 #include <WebKit/WebKit.h>
36270
36271 "
36272 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36273
36274 USE_WEBVIEW_WEBKIT=1
36275 WEBKIT_LINK="-framework WebKit"
36276
36277 else
36278
36279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36280 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36281
36282 fi
36283
36284
36285 CPPFLAGS="$old_CPPFLAGS"
36286 fi
36287 fi
36288
36289 wxUSE_WEBVIEW="no"
36290 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36291 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36292 wxUSE_WEBVIEW="yes"
36293 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36294
36295 else
36296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36297 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36298 fi
36299 elif test "$wxUSE_MSW" = 1; then
36300 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36301 wxUSE_WEBVIEW="yes"
36302 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36303
36304 fi
36305 fi
36306 fi
36307
36308 if test "$wxUSE_WEBVIEW" = "yes"; then
36309 USE_WEBVIEW=1
36310 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36311
36312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36313 else
36314 USE_WEBVIEW=0
36315 fi
36316
36317
36318 if test "$wxUSE_IMAGE" = "yes" ; then
36319 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36320
36321
36322 if test "$wxUSE_GIF" = "yes" ; then
36323 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36324
36325 fi
36326
36327 if test "$wxUSE_PCX" = "yes" ; then
36328 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36329
36330 fi
36331
36332 if test "$wxUSE_TGA" = "yes" ; then
36333 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36334
36335 fi
36336
36337 if test "$wxUSE_IFF" = "yes" ; then
36338 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36339
36340 fi
36341
36342 if test "$wxUSE_PNM" = "yes" ; then
36343 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36344
36345 fi
36346
36347 if test "$wxUSE_XPM" = "yes" ; then
36348 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36349
36350 fi
36351
36352 if test "$wxUSE_ICO_CUR" = "yes" ; then
36353 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36354
36355 fi
36356 fi
36357
36358
36359 if test "$wxUSE_ABOUTDLG" = "yes"; then
36360 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36361
36362 fi
36363
36364 if test "$wxUSE_CHOICEDLG" = "yes"; then
36365 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36366
36367 fi
36368
36369 if test "$wxUSE_COLOURDLG" = "yes"; then
36370 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36371
36372 fi
36373
36374 if test "$wxUSE_FILEDLG" = "yes"; then
36375 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36376
36377 fi
36378
36379 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36380 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36381
36382 fi
36383
36384 if test "$wxUSE_FONTDLG" = "yes"; then
36385 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36386
36387 fi
36388
36389 if test "$wxUSE_DIRDLG" = "yes"; then
36390 if test "$wxUSE_TREECTRL" != "yes"; then
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36392 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36393 else
36394 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36395
36396 fi
36397 fi
36398
36399 if test "$wxUSE_MSGDLG" = "yes"; then
36400 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36401
36402 fi
36403
36404 if test "$wxUSE_NUMBERDLG" = "yes"; then
36405 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36406
36407 fi
36408
36409 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36410 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36411
36412 fi
36413
36414 if test "$wxUSE_SPLASH" = "yes"; then
36415 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36416
36417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36418 fi
36419
36420 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36421 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36422
36423 fi
36424
36425 if test "$wxUSE_TEXTDLG" = "yes"; then
36426 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36427
36428 fi
36429
36430 if test "$wxUSE_WIZARDDLG" = "yes"; then
36431 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36432
36433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36434 fi
36435
36436
36437 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36438 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36439 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36440
36441 fi
36442 fi
36443
36444
36445 if test "$wxUSE_MSW" = 1 ; then
36446
36447 if test "$wxUSE_DC_CACHEING" = "yes"; then
36448 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36449
36450 fi
36451
36452 if test "$wxUSE_DIB" = "yes"; then
36453 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36454
36455 fi
36456
36457 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36458 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36459
36460 fi
36461
36462 if test "$wxUSE_UXTHEME" = "yes"; then
36463 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36464
36465 fi
36466
36467 fi
36468
36469 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36470 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36471
36472 fi
36473
36474 if test "$USE_WIN32" = 1 ; then
36475 if test "$wxUSE_INICONF" = "yes"; then
36476 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36477
36478 fi
36479
36480 if test "$wxUSE_REGKEY" = "yes"; then
36481 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36482
36483 fi
36484 fi
36485
36486
36487 if test "$wxUSE_MAC" = 1; then
36488 wxUSE_GRAPHICS_CONTEXT="yes"
36489 fi
36490
36491 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36492 wx_has_graphics=0
36493 if test "$wxUSE_MSW" = 1; then
36494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36495 $as_echo_n "checking if GDI+ is available... " >&6; }
36496 if test "${wx_cv_lib_gdiplus+set}" = set; then :
36497 $as_echo_n "(cached) " >&6
36498 else
36499
36500 ac_ext=cpp
36501 ac_cpp='$CXXCPP $CPPFLAGS'
36502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36505
36506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36507 /* end confdefs.h. */
36508 #include <windows.h>
36509 #include <gdiplus.h>
36510 int
36511 main ()
36512 {
36513
36514 using namespace Gdiplus;
36515
36516 ;
36517 return 0;
36518 }
36519 _ACEOF
36520 if ac_fn_cxx_try_compile "$LINENO"; then :
36521 wx_cv_lib_gdiplus=yes
36522 else
36523 wx_cv_lib_gdiplus=no
36524
36525 fi
36526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36527 ac_ext=c
36528 ac_cpp='$CPP $CPPFLAGS'
36529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36532
36533
36534
36535 fi
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36537 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36538 if test "$wx_cv_lib_gdiplus" = "yes"; then
36539 wx_has_graphics=1
36540 fi
36541 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36542
36543 pkg_failed=no
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36545 $as_echo_n "checking for CAIRO... " >&6; }
36546
36547 if test -n "$PKG_CONFIG"; then
36548 if test -n "$CAIRO_CFLAGS"; then
36549 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36550 else
36551 if test -n "$PKG_CONFIG" && \
36552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36553 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36554 ac_status=$?
36555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36556 test $ac_status = 0; }; then
36557 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36558 else
36559 pkg_failed=yes
36560 fi
36561 fi
36562 else
36563 pkg_failed=untried
36564 fi
36565 if test -n "$PKG_CONFIG"; then
36566 if test -n "$CAIRO_LIBS"; then
36567 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36568 else
36569 if test -n "$PKG_CONFIG" && \
36570 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36571 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36572 ac_status=$?
36573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36574 test $ac_status = 0; }; then
36575 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36576 else
36577 pkg_failed=yes
36578 fi
36579 fi
36580 else
36581 pkg_failed=untried
36582 fi
36583
36584
36585
36586 if test $pkg_failed = yes; then
36587
36588 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36589 _pkg_short_errors_supported=yes
36590 else
36591 _pkg_short_errors_supported=no
36592 fi
36593 if test $_pkg_short_errors_supported = yes; then
36594 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36595 else
36596 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36597 fi
36598 # Put the nasty error message in config.log where it belongs
36599 echo "$CAIRO_PKG_ERRORS" >&5
36600
36601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36602 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36603
36604 elif test $pkg_failed = untried; then
36605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36606 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36607
36608 else
36609 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36610 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36612 $as_echo "yes" >&6; }
36613 wx_has_graphics=1
36614 fi
36615 if test "$wx_has_graphics" = 1; then
36616 save_LIBS="$LIBS"
36617 LIBS="$LIBS $CAIRO_LIBS"
36618 for ac_func in cairo_push_group
36619 do :
36620 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36621 if test "x$ac_cv_func_cairo_push_group" = x""yes; then :
36622 cat >>confdefs.h <<_ACEOF
36623 #define HAVE_CAIRO_PUSH_GROUP 1
36624 _ACEOF
36625
36626 fi
36627 done
36628
36629 LIBS="$save_LIBS"
36630 if test "$ac_cv_func_cairo_push_group" = "no"; then
36631 wx_has_graphics=0
36632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36633 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36634 else
36635 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36636
36637
36638 if test "$wxUSE_GTK" != 1; then
36639 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36641 fi
36642 fi
36643 fi
36644 else
36645 wx_has_graphics=1
36646 fi
36647
36648 if test "$wx_has_graphics" = 1; then
36649 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36650
36651 else
36652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36653 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36654 fi
36655 fi
36656
36657
36658 USE_MEDIA=0
36659
36660 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36661 USE_MEDIA=1
36662
36663 if test "$wxUSE_GTK" = 1; then
36664 wxUSE_GSTREAMER="no"
36665
36666 GST_VERSION_MAJOR=0
36667 GST_VERSION_MINOR=10
36668 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36669
36670 if test "$wxUSE_GSTREAMER8" = "no"; then
36671
36672 pkg_failed=no
36673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36674 $as_echo_n "checking for GST... " >&6; }
36675
36676 if test -n "$PKG_CONFIG"; then
36677 if test -n "$GST_CFLAGS"; then
36678 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36679 else
36680 if test -n "$PKG_CONFIG" && \
36681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36682 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36683 ac_status=$?
36684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36685 test $ac_status = 0; }; then
36686 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36687 else
36688 pkg_failed=yes
36689 fi
36690 fi
36691 else
36692 pkg_failed=untried
36693 fi
36694 if test -n "$PKG_CONFIG"; then
36695 if test -n "$GST_LIBS"; then
36696 pkg_cv_GST_LIBS="$GST_LIBS"
36697 else
36698 if test -n "$PKG_CONFIG" && \
36699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36700 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36701 ac_status=$?
36702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36703 test $ac_status = 0; }; then
36704 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36705 else
36706 pkg_failed=yes
36707 fi
36708 fi
36709 else
36710 pkg_failed=untried
36711 fi
36712
36713
36714
36715 if test $pkg_failed = yes; then
36716
36717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36718 _pkg_short_errors_supported=yes
36719 else
36720 _pkg_short_errors_supported=no
36721 fi
36722 if test $_pkg_short_errors_supported = yes; then
36723 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36724 else
36725 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36726 fi
36727 # Put the nasty error message in config.log where it belongs
36728 echo "$GST_PKG_ERRORS" >&5
36729
36730
36731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36732 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36733 GST_VERSION_MINOR=8
36734
36735
36736 elif test $pkg_failed = untried; then
36737
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36739 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36740 GST_VERSION_MINOR=8
36741
36742
36743 else
36744 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36745 GST_LIBS=$pkg_cv_GST_LIBS
36746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36747 $as_echo "yes" >&6; }
36748
36749 wxUSE_GSTREAMER="yes"
36750 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36751
36752 fi
36753 else
36754 GST_VERSION_MINOR=8
36755 fi
36756
36757 if test $GST_VERSION_MINOR = "8"; then
36758 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36759
36760 pkg_failed=no
36761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36762 $as_echo_n "checking for GST... " >&6; }
36763
36764 if test -n "$PKG_CONFIG"; then
36765 if test -n "$GST_CFLAGS"; then
36766 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36767 else
36768 if test -n "$PKG_CONFIG" && \
36769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36770 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36771 ac_status=$?
36772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36773 test $ac_status = 0; }; then
36774 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36775 else
36776 pkg_failed=yes
36777 fi
36778 fi
36779 else
36780 pkg_failed=untried
36781 fi
36782 if test -n "$PKG_CONFIG"; then
36783 if test -n "$GST_LIBS"; then
36784 pkg_cv_GST_LIBS="$GST_LIBS"
36785 else
36786 if test -n "$PKG_CONFIG" && \
36787 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36788 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36789 ac_status=$?
36790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36791 test $ac_status = 0; }; then
36792 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36793 else
36794 pkg_failed=yes
36795 fi
36796 fi
36797 else
36798 pkg_failed=untried
36799 fi
36800
36801
36802
36803 if test $pkg_failed = yes; then
36804
36805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36806 _pkg_short_errors_supported=yes
36807 else
36808 _pkg_short_errors_supported=no
36809 fi
36810 if test $_pkg_short_errors_supported = yes; then
36811 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36812 else
36813 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36814 fi
36815 # Put the nasty error message in config.log where it belongs
36816 echo "$GST_PKG_ERRORS" >&5
36817
36818
36819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36820 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36821
36822 elif test $pkg_failed = untried; then
36823
36824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36825 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36826
36827 else
36828 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36829 GST_LIBS=$pkg_cv_GST_LIBS
36830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36831 $as_echo "yes" >&6; }
36832 wxUSE_GSTREAMER="yes"
36833 fi
36834 fi
36835
36836
36837 if test "$wxUSE_GSTREAMER" = "yes"; then
36838 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36839 EXTRALIBS_MEDIA="$GST_LIBS"
36840
36841 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36842
36843 else
36844 USE_MEDIA=0
36845 fi
36846 fi
36847
36848 if test $USE_MEDIA = 1; then
36849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36850 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36851
36852 else
36853 if test "$wxUSE_MEDIACTRL" = "yes"; then
36854 as_fn_error $? "GStreamer not available" "$LINENO" 5
36855 else
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36857 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36858 fi
36859 fi
36860 fi
36861
36862
36863 if test "$cross_compiling" != "no"; then
36864 OSINFO="\"$host\""
36865 else
36866 OSINFO=`uname -s -r -m`
36867 OSINFO="\"$OSINFO\""
36868 fi
36869
36870 cat >>confdefs.h <<_ACEOF
36871 #define WXWIN_OS_DESCRIPTION $OSINFO
36872 _ACEOF
36873
36874
36875
36876 if test "x$prefix" != "xNONE"; then
36877 wxPREFIX=$prefix
36878 else
36879 wxPREFIX=$ac_default_prefix
36880 fi
36881
36882 cat >>confdefs.h <<_ACEOF
36883 #define wxINSTALL_PREFIX "$wxPREFIX"
36884 _ACEOF
36885
36886
36887
36888
36889 STD_BASE_LIBS="base"
36890 STD_GUI_LIBS=""
36891 BUILT_WX_LIBS="base"
36892 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
36893
36894 if test "$wxUSE_SOCKETS" = "yes" ; then
36895 STD_BASE_LIBS="net $STD_BASE_LIBS"
36896 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
36897 fi
36898 if test "$wxUSE_XML" = "yes" ; then
36899 STD_BASE_LIBS="xml $STD_BASE_LIBS"
36900 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
36901 fi
36902
36903 if test "$wxUSE_GUI" = "yes"; then
36904 STD_GUI_LIBS="adv core"
36905 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
36906
36907 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36908 STD_GUI_LIBS="qa $STD_GUI_LIBS"
36909 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
36910 fi
36911 if test "$wxUSE_HTML" = "yes" ; then
36912 STD_GUI_LIBS="html $STD_GUI_LIBS"
36913 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
36914 fi
36915 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36916 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
36917 fi
36918 if test "$wxUSE_OPENGL" = "yes" ; then
36919 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
36920 fi
36921 if test "$wxUSE_AUI" = "yes" ; then
36922 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
36923 fi
36924 if test "$wxUSE_PROPGRID" = "yes" ; then
36925 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
36926 fi
36927 if test "$wxUSE_RIBBON" = "yes" ; then
36928 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
36929 fi
36930 if test "$wxUSE_RICHTEXT" = "yes" ; then
36931 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
36932 fi
36933 if test "$wxUSE_STC" = "yes" ; then
36934 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
36935 fi
36936 if test "$wxUSE_WEBVIEW" = "yes" ; then
36937 STD_GUI_LIBS="webview $STD_GUI_LIBS"
36938 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
36939 fi
36940 if test "$wxUSE_XRC" = "yes" ; then
36941 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
36942 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
36943 fi
36944 fi
36945
36946
36947
36948
36949
36950
36951
36952 EXTRA_FRAMEWORKS=
36953 if test "$wxUSE_MAC" = 1 ; then
36954 if test "$USE_DARWIN" = 1; then
36955 if test "$wxUSE_OSX_IPHONE" = 1; then
36956 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
36957 else
36958 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
36959
36960
36961 if test "$cross_compiling" != "no"; then
36962 wx_cv_target_x86_64=no
36963 else
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
36965 $as_echo_n "checking if we target only x86_64... " >&6; }
36966 if test "${wx_cv_target_x86_64+set}" = set; then :
36967 $as_echo_n "(cached) " >&6
36968 else
36969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36970 /* end confdefs.h. */
36971 int main() { return 0; }
36972 _ACEOF
36973 if ac_fn_c_try_link "$LINENO"; then :
36974 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
36975 wx_cv_target_x86_64=no
36976 else
36977 wx_cv_target_x86_64=yes
36978 fi
36979
36980 fi
36981 rm -f core conftest.err conftest.$ac_objext \
36982 conftest$ac_exeext conftest.$ac_ext
36983
36984 fi
36985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
36986 $as_echo "$wx_cv_target_x86_64" >&6; }
36987 fi
36988
36989 if test "$wx_cv_target_x86_64" != "yes"; then
36990 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
36991 fi
36992 fi
36993 fi
36994 fi
36995 if test "$wxUSE_OLD_COCOA" = 1 ; then
36996 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
36997 if test "$wxUSE_MEDIACTRL" = "yes"; then
36998 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
36999 fi
37000 fi
37001 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37002 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37003 fi
37004
37005 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
37006 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37007
37008 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37009
37010 if test "$wxUSE_GUI" = "yes"; then
37011
37012
37013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37014 erase event exec font image minimal render \
37015 shaped svg taborder vscroll widgets wrapsizer"
37016
37017 if test "$wxUSE_MONOLITHIC" != "yes"; then
37018 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
37019 fi
37020 if test "$TOOLKIT" = "MSW"; then
37021 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
37022 if test "$wxUSE_UNIVERSAL" != "yes"; then
37023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37024 fi
37025 fi
37026 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
37028 fi
37029 else
37030 SAMPLES_SUBDIRS="console"
37031 if test "$wxUSE_SOCKETS" = "yes" ; then
37032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
37033 fi
37034 if test "$wxUSE_IPC" = "yes" ; then
37035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
37036 fi
37037 fi
37038
37039
37040 if test "x$INTELCC" = "xyes" ; then
37041 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
37042 elif test "$GCC" = yes ; then
37043 CWARNINGS="-Wall -Wundef"
37044 fi
37045
37046 if test "x$INTELCXX" = "xyes" ; then
37047 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37048 elif test "$GXX" = yes ; then
37049 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37051 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37052 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then :
37053 $as_echo_n "(cached) " >&6
37054 else
37055 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
37056
37057 ac_ext=cpp
37058 ac_cpp='$CXXCPP $CPPFLAGS'
37059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37062
37063 ac_save_CXXFLAGS="$CXXFLAGS"
37064 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37065 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37067 /* end confdefs.h. */
37068
37069 int
37070 main ()
37071 {
37072 return 0;
37073 ;
37074 return 0;
37075 }
37076 _ACEOF
37077 if ac_fn_cxx_try_compile "$LINENO"; then :
37078 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37079 fi
37080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37081 done
37082 CXXFLAGS="$ac_save_CXXFLAGS"
37083 ac_ext=c
37084 ac_cpp='$CPP $CPPFLAGS'
37085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37088
37089
37090 fi
37091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37092 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37093 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37094 .ok|.ok,*) ;;
37095 .|.no|.no,*) ;;
37096 *)
37097 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
37098 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37099 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37100 ac_status=$?
37101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37102 test $ac_status = 0; }
37103 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37104 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37105 ac_status=$?
37106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37107 test $ac_status = 0; }
37108 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37109 fi
37110 ;;
37111 esac
37112
37113
37114 if test "$wxUSE_MAC" = 1 ; then
37115 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
37116 fi
37117 fi
37118
37119
37120 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
37121 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37122
37123
37124 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
37125 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37126 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37127 $CPPFLAGS `
37128
37129 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37130 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37131 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37132 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37133 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37134
37135 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37136
37137
37138 if test "x$MWCC" = "xyes"; then
37139
37140 CC="$CC -cwd source -I-"
37141 CXX="$CXX -cwd source -I-"
37142 fi
37143
37144
37145 LIBS=`echo $LIBS`
37146 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37147 EXTRALIBS_XML="$EXPAT_LINK"
37148 EXTRALIBS_HTML="$MSPACK_LINK"
37149 EXTRALIBS_MEDIA="$GST_LIBS"
37150 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37151 if test "$wxUSE_GUI" = "yes"; then
37152 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
37153 fi
37154 if test "$wxUSE_OPENGL" = "yes"; then
37155 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
37156 fi
37157
37158 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
37159
37160 WXCONFIG_LIBS="$LIBS"
37161
37162 if test "$wxUSE_REGEX" = "builtin" ; then
37163 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37164 fi
37165 if test "$wxUSE_EXPAT" = "builtin" ; then
37166 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37167 fi
37168 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37169 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37170 fi
37171 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37172 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37173 fi
37174 if test "$wxUSE_LIBPNG" = "builtin" ; then
37175 wxconfig_3rdparty="png $wxconfig_3rdparty"
37176 fi
37177 if test "$wxUSE_ZLIB" = "builtin" ; then
37178 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37179 fi
37180
37181 for i in $wxconfig_3rdparty ; do
37182 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37183 done
37184
37185
37186 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37187 WXUNIV=1
37188
37189 case "$wxUNIV_THEMES" in
37190 ''|all)
37191 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37192
37193 ;;
37194
37195 *)
37196 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37197 cat >>confdefs.h <<_ACEOF
37198 #define wxUSE_THEME_$t 1
37199 _ACEOF
37200
37201 done
37202 esac
37203 else
37204 WXUNIV=0
37205 fi
37206
37207
37208
37209
37210
37211
37212
37213
37214 if test $wxUSE_MONOLITHIC = "yes" ; then
37215 MONOLITHIC=1
37216 else
37217 MONOLITHIC=0
37218 fi
37219
37220 if test $wxUSE_PLUGINS = "yes" ; then
37221 USE_PLUGINS=1
37222 else
37223 USE_PLUGINS=0
37224 fi
37225
37226 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37227 USE_QA=1
37228 else
37229 USE_QA=0
37230 fi
37231
37232 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37233 OFFICIAL_BUILD=1
37234 else
37235 OFFICIAL_BUILD=0
37236 fi
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275 case "$TOOLKIT" in
37276 GTK)
37277 TOOLKIT_DESC="GTK+"
37278 if test "$WXGTK2" = 1; then
37279 if test "$WXGTK3" = 1; then
37280 TOOLKIT_DESC="$TOOLKIT_DESC 3"
37281 else
37282 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37283 fi
37284 if test "$wxUSE_GTKPRINT" = "yes" ; then
37285 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37286 fi
37287 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37288 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37289 fi
37290 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37291 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37292 fi
37293 if test "$wxUSE_LIBHILDON" = "yes"; then
37294 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37295 fi
37296 if test "$wxUSE_LIBHILDON2" = "yes"; then
37297 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37298 fi
37299
37300 if test "$TOOLKIT_EXTRA" != ""; then
37301 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37302 fi
37303 fi
37304 ;;
37305
37306 ?*)
37307 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37308 ;;
37309
37310 *)
37311 TOOLKIT_DESC="base only"
37312 ;;
37313 esac
37314
37315 if test "$wxUSE_WINE" = "yes"; then
37316 BAKEFILE_FORCE_PLATFORM=win32
37317 fi
37318
37319 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37320 then
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37322 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37323 if test "${wx_cv_gcc_pch_bug+set}" = set; then :
37324 $as_echo_n "(cached) " >&6
37325 else
37326
37327 echo '#include <stdio.h>
37328 const wchar_t test_var[] = L"awidetest";' > conftest.h
37329
37330 echo '#include "conftest.h"
37331 int main()
37332 {
37333 printf("%ls", test_var);
37334 return 0;
37335 }' > conftest.cpp
37336
37337 wx_cv_gcc_pch_bug="pch not supported"
37338
37339 if $CXX conftest.h >/dev/null 2>&1
37340 then
37341 wx_cv_gcc_pch_bug=
37342
37343 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37344 then
37345 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37346 grep awidetest >/dev/null
37347 then
37348 wx_cv_gcc_pch_bug=no
37349 else
37350 wx_cv_gcc_pch_bug=yes
37351 fi
37352 fi
37353 fi
37354
37355 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37356
37357 fi
37358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37359 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37360
37361 if test "$wx_cv_gcc_pch_bug" = yes; then
37362 bk_use_pch=no
37363 fi
37364 fi
37365
37366 # Find a good install program. We prefer a C program (faster),
37367 # so one script is as good as another. But avoid the broken or
37368 # incompatible versions:
37369 # SysV /etc/install, /usr/sbin/install
37370 # SunOS /usr/etc/install
37371 # IRIX /sbin/install
37372 # AIX /bin/install
37373 # AmigaOS /C/install, which installs bootblocks on floppy discs
37374 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37375 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37376 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37377 # OS/2's system install, which has a completely different semantic
37378 # ./install, which can be erroneously created by make from ./install.sh.
37379 # Reject install programs that cannot install multiple files.
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37381 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37382 if test -z "$INSTALL"; then
37383 if test "${ac_cv_path_install+set}" = set; then :
37384 $as_echo_n "(cached) " >&6
37385 else
37386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37387 for as_dir in $PATH
37388 do
37389 IFS=$as_save_IFS
37390 test -z "$as_dir" && as_dir=.
37391 # Account for people who put trailing slashes in PATH elements.
37392 case $as_dir/ in #((
37393 ./ | .// | /[cC]/* | \
37394 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37395 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37396 /usr/ucb/* ) ;;
37397 *)
37398 # OSF1 and SCO ODT 3.0 have their own names for install.
37399 # Don't use installbsd from OSF since it installs stuff as root
37400 # by default.
37401 for ac_prog in ginstall scoinst install; do
37402 for ac_exec_ext in '' $ac_executable_extensions; do
37403 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37404 if test $ac_prog = install &&
37405 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37406 # AIX install. It has an incompatible calling convention.
37407 :
37408 elif test $ac_prog = install &&
37409 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37410 # program-specific install script used by HP pwplus--don't use.
37411 :
37412 else
37413 rm -rf conftest.one conftest.two conftest.dir
37414 echo one > conftest.one
37415 echo two > conftest.two
37416 mkdir conftest.dir
37417 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37418 test -s conftest.one && test -s conftest.two &&
37419 test -s conftest.dir/conftest.one &&
37420 test -s conftest.dir/conftest.two
37421 then
37422 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37423 break 3
37424 fi
37425 fi
37426 fi
37427 done
37428 done
37429 ;;
37430 esac
37431
37432 done
37433 IFS=$as_save_IFS
37434
37435 rm -rf conftest.one conftest.two conftest.dir
37436
37437 fi
37438 if test "${ac_cv_path_install+set}" = set; then
37439 INSTALL=$ac_cv_path_install
37440 else
37441 # As a last resort, use the slow shell script. Don't cache a
37442 # value for INSTALL within a source directory, because that will
37443 # break other packages using the cache if that directory is
37444 # removed, or if the value is a relative name.
37445 INSTALL=$ac_install_sh
37446 fi
37447 fi
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37449 $as_echo "$INSTALL" >&6; }
37450
37451 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37452 # It thinks the first close brace ends the variable substitution.
37453 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37454
37455 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37456
37457 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37458
37459
37460
37461
37462
37463
37464
37465 if test "x$BAKEFILE_HOST" = "x"; then
37466 if test "x${host}" = "x" ; then
37467 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37468 fi
37469
37470 BAKEFILE_HOST="${host}"
37471 fi
37472
37473 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37474
37475 if test -n "$ac_tool_prefix"; then
37476 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37477 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37479 $as_echo_n "checking for $ac_word... " >&6; }
37480 if test "${ac_cv_prog_RANLIB+set}" = set; then :
37481 $as_echo_n "(cached) " >&6
37482 else
37483 if test -n "$RANLIB"; then
37484 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37485 else
37486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37487 for as_dir in $PATH
37488 do
37489 IFS=$as_save_IFS
37490 test -z "$as_dir" && as_dir=.
37491 for ac_exec_ext in '' $ac_executable_extensions; do
37492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37493 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37495 break 2
37496 fi
37497 done
37498 done
37499 IFS=$as_save_IFS
37500
37501 fi
37502 fi
37503 RANLIB=$ac_cv_prog_RANLIB
37504 if test -n "$RANLIB"; then
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37506 $as_echo "$RANLIB" >&6; }
37507 else
37508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37509 $as_echo "no" >&6; }
37510 fi
37511
37512
37513 fi
37514 if test -z "$ac_cv_prog_RANLIB"; then
37515 ac_ct_RANLIB=$RANLIB
37516 # Extract the first word of "ranlib", so it can be a program name with args.
37517 set dummy ranlib; ac_word=$2
37518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37519 $as_echo_n "checking for $ac_word... " >&6; }
37520 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
37521 $as_echo_n "(cached) " >&6
37522 else
37523 if test -n "$ac_ct_RANLIB"; then
37524 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37525 else
37526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37527 for as_dir in $PATH
37528 do
37529 IFS=$as_save_IFS
37530 test -z "$as_dir" && as_dir=.
37531 for ac_exec_ext in '' $ac_executable_extensions; do
37532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37533 ac_cv_prog_ac_ct_RANLIB="ranlib"
37534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37535 break 2
37536 fi
37537 done
37538 done
37539 IFS=$as_save_IFS
37540
37541 fi
37542 fi
37543 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37544 if test -n "$ac_ct_RANLIB"; then
37545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37546 $as_echo "$ac_ct_RANLIB" >&6; }
37547 else
37548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37549 $as_echo "no" >&6; }
37550 fi
37551
37552 if test "x$ac_ct_RANLIB" = x; then
37553 RANLIB=":"
37554 else
37555 case $cross_compiling:$ac_tool_warned in
37556 yes:)
37557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37559 ac_tool_warned=yes ;;
37560 esac
37561 RANLIB=$ac_ct_RANLIB
37562 fi
37563 else
37564 RANLIB="$ac_cv_prog_RANLIB"
37565 fi
37566
37567
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37569 $as_echo_n "checking whether ln -s works... " >&6; }
37570 LN_S=$as_ln_s
37571 if test "$LN_S" = "ln -s"; then
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37573 $as_echo "yes" >&6; }
37574 else
37575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37576 $as_echo "no, using $LN_S" >&6; }
37577 fi
37578
37579
37580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37581 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37582 set x ${MAKE-make}
37583 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37584 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
37585 $as_echo_n "(cached) " >&6
37586 else
37587 cat >conftest.make <<\_ACEOF
37588 SHELL = /bin/sh
37589 all:
37590 @echo '@@@%%%=$(MAKE)=@@@%%%'
37591 _ACEOF
37592 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37593 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37594 *@@@%%%=?*=@@@%%%*)
37595 eval ac_cv_prog_make_${ac_make}_set=yes;;
37596 *)
37597 eval ac_cv_prog_make_${ac_make}_set=no;;
37598 esac
37599 rm -f conftest.make
37600 fi
37601 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37603 $as_echo "yes" >&6; }
37604 SET_MAKE=
37605 else
37606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37607 $as_echo "no" >&6; }
37608 SET_MAKE="MAKE=${MAKE-make}"
37609 fi
37610
37611
37612
37613 if test "x$SUNCXX" = "xyes"; then
37614 AR=$CXX
37615 AROPTIONS="-xar -o"
37616
37617 elif test "x$SGICC" = "xyes"; then
37618 AR=$CXX
37619 AROPTIONS="-ar -o"
37620
37621 else
37622 if test -n "$ac_tool_prefix"; then
37623 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37624 set dummy ${ac_tool_prefix}ar; ac_word=$2
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37626 $as_echo_n "checking for $ac_word... " >&6; }
37627 if test "${ac_cv_prog_AR+set}" = set; then :
37628 $as_echo_n "(cached) " >&6
37629 else
37630 if test -n "$AR"; then
37631 ac_cv_prog_AR="$AR" # Let the user override the test.
37632 else
37633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37634 for as_dir in $PATH
37635 do
37636 IFS=$as_save_IFS
37637 test -z "$as_dir" && as_dir=.
37638 for ac_exec_ext in '' $ac_executable_extensions; do
37639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37640 ac_cv_prog_AR="${ac_tool_prefix}ar"
37641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37642 break 2
37643 fi
37644 done
37645 done
37646 IFS=$as_save_IFS
37647
37648 fi
37649 fi
37650 AR=$ac_cv_prog_AR
37651 if test -n "$AR"; then
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37653 $as_echo "$AR" >&6; }
37654 else
37655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37656 $as_echo "no" >&6; }
37657 fi
37658
37659
37660 fi
37661 if test -z "$ac_cv_prog_AR"; then
37662 ac_ct_AR=$AR
37663 # Extract the first word of "ar", so it can be a program name with args.
37664 set dummy ar; ac_word=$2
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37666 $as_echo_n "checking for $ac_word... " >&6; }
37667 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
37668 $as_echo_n "(cached) " >&6
37669 else
37670 if test -n "$ac_ct_AR"; then
37671 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37672 else
37673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37674 for as_dir in $PATH
37675 do
37676 IFS=$as_save_IFS
37677 test -z "$as_dir" && as_dir=.
37678 for ac_exec_ext in '' $ac_executable_extensions; do
37679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37680 ac_cv_prog_ac_ct_AR="ar"
37681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37682 break 2
37683 fi
37684 done
37685 done
37686 IFS=$as_save_IFS
37687
37688 fi
37689 fi
37690 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37691 if test -n "$ac_ct_AR"; then
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37693 $as_echo "$ac_ct_AR" >&6; }
37694 else
37695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37696 $as_echo "no" >&6; }
37697 fi
37698
37699 if test "x$ac_ct_AR" = x; then
37700 AR="ar"
37701 else
37702 case $cross_compiling:$ac_tool_warned in
37703 yes:)
37704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37706 ac_tool_warned=yes ;;
37707 esac
37708 AR=$ac_ct_AR
37709 fi
37710 else
37711 AR="$ac_cv_prog_AR"
37712 fi
37713
37714 AROPTIONS=rcu
37715 fi
37716
37717
37718 if test -n "$ac_tool_prefix"; then
37719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37720 set dummy ${ac_tool_prefix}strip; ac_word=$2
37721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37722 $as_echo_n "checking for $ac_word... " >&6; }
37723 if test "${ac_cv_prog_STRIP+set}" = set; then :
37724 $as_echo_n "(cached) " >&6
37725 else
37726 if test -n "$STRIP"; then
37727 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37728 else
37729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37730 for as_dir in $PATH
37731 do
37732 IFS=$as_save_IFS
37733 test -z "$as_dir" && as_dir=.
37734 for ac_exec_ext in '' $ac_executable_extensions; do
37735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37736 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37738 break 2
37739 fi
37740 done
37741 done
37742 IFS=$as_save_IFS
37743
37744 fi
37745 fi
37746 STRIP=$ac_cv_prog_STRIP
37747 if test -n "$STRIP"; then
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37749 $as_echo "$STRIP" >&6; }
37750 else
37751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37752 $as_echo "no" >&6; }
37753 fi
37754
37755
37756 fi
37757 if test -z "$ac_cv_prog_STRIP"; then
37758 ac_ct_STRIP=$STRIP
37759 # Extract the first word of "strip", so it can be a program name with args.
37760 set dummy strip; ac_word=$2
37761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37762 $as_echo_n "checking for $ac_word... " >&6; }
37763 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
37764 $as_echo_n "(cached) " >&6
37765 else
37766 if test -n "$ac_ct_STRIP"; then
37767 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37768 else
37769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37770 for as_dir in $PATH
37771 do
37772 IFS=$as_save_IFS
37773 test -z "$as_dir" && as_dir=.
37774 for ac_exec_ext in '' $ac_executable_extensions; do
37775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37776 ac_cv_prog_ac_ct_STRIP="strip"
37777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37778 break 2
37779 fi
37780 done
37781 done
37782 IFS=$as_save_IFS
37783
37784 fi
37785 fi
37786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37787 if test -n "$ac_ct_STRIP"; then
37788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37789 $as_echo "$ac_ct_STRIP" >&6; }
37790 else
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37792 $as_echo "no" >&6; }
37793 fi
37794
37795 if test "x$ac_ct_STRIP" = x; then
37796 STRIP=":"
37797 else
37798 case $cross_compiling:$ac_tool_warned in
37799 yes:)
37800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37802 ac_tool_warned=yes ;;
37803 esac
37804 STRIP=$ac_ct_STRIP
37805 fi
37806 else
37807 STRIP="$ac_cv_prog_STRIP"
37808 fi
37809
37810 if test -n "$ac_tool_prefix"; then
37811 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37812 set dummy ${ac_tool_prefix}nm; ac_word=$2
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37814 $as_echo_n "checking for $ac_word... " >&6; }
37815 if test "${ac_cv_prog_NM+set}" = set; then :
37816 $as_echo_n "(cached) " >&6
37817 else
37818 if test -n "$NM"; then
37819 ac_cv_prog_NM="$NM" # Let the user override the test.
37820 else
37821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37822 for as_dir in $PATH
37823 do
37824 IFS=$as_save_IFS
37825 test -z "$as_dir" && as_dir=.
37826 for ac_exec_ext in '' $ac_executable_extensions; do
37827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37828 ac_cv_prog_NM="${ac_tool_prefix}nm"
37829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37830 break 2
37831 fi
37832 done
37833 done
37834 IFS=$as_save_IFS
37835
37836 fi
37837 fi
37838 NM=$ac_cv_prog_NM
37839 if test -n "$NM"; then
37840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37841 $as_echo "$NM" >&6; }
37842 else
37843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37844 $as_echo "no" >&6; }
37845 fi
37846
37847
37848 fi
37849 if test -z "$ac_cv_prog_NM"; then
37850 ac_ct_NM=$NM
37851 # Extract the first word of "nm", so it can be a program name with args.
37852 set dummy nm; ac_word=$2
37853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37854 $as_echo_n "checking for $ac_word... " >&6; }
37855 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
37856 $as_echo_n "(cached) " >&6
37857 else
37858 if test -n "$ac_ct_NM"; then
37859 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37860 else
37861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37862 for as_dir in $PATH
37863 do
37864 IFS=$as_save_IFS
37865 test -z "$as_dir" && as_dir=.
37866 for ac_exec_ext in '' $ac_executable_extensions; do
37867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37868 ac_cv_prog_ac_ct_NM="nm"
37869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37870 break 2
37871 fi
37872 done
37873 done
37874 IFS=$as_save_IFS
37875
37876 fi
37877 fi
37878 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37879 if test -n "$ac_ct_NM"; then
37880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37881 $as_echo "$ac_ct_NM" >&6; }
37882 else
37883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37884 $as_echo "no" >&6; }
37885 fi
37886
37887 if test "x$ac_ct_NM" = x; then
37888 NM=":"
37889 else
37890 case $cross_compiling:$ac_tool_warned in
37891 yes:)
37892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37894 ac_tool_warned=yes ;;
37895 esac
37896 NM=$ac_ct_NM
37897 fi
37898 else
37899 NM="$ac_cv_prog_NM"
37900 fi
37901
37902
37903 INSTALL_DIR="mkdir -p"
37904
37905
37906 LDFLAGS_GUI=
37907 case ${BAKEFILE_HOST} in
37908 *-*-cygwin* | *-*-mingw32* )
37909 LDFLAGS_GUI="-mwindows"
37910 esac
37911
37912
37913 fi
37914
37915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37916 $as_echo_n "checking if make is GNU make... " >&6; }
37917 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then :
37918 $as_echo_n "(cached) " >&6
37919 else
37920
37921 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37922 egrep -s GNU > /dev/null); then
37923 bakefile_cv_prog_makeisgnu="yes"
37924 else
37925 bakefile_cv_prog_makeisgnu="no"
37926 fi
37927
37928 fi
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37930 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37931
37932 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37933 IF_GNU_MAKE=""
37934 else
37935 IF_GNU_MAKE="#"
37936 fi
37937
37938
37939
37940 PLATFORM_UNIX=0
37941 PLATFORM_WIN32=0
37942 PLATFORM_MSDOS=0
37943 PLATFORM_MAC=0
37944 PLATFORM_MACOS=0
37945 PLATFORM_MACOSX=0
37946 PLATFORM_OS2=0
37947 PLATFORM_BEOS=0
37948
37949 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37950 case "${BAKEFILE_HOST}" in
37951 *-*-mingw32* )
37952 PLATFORM_WIN32=1
37953 ;;
37954 *-pc-msdosdjgpp )
37955 PLATFORM_MSDOS=1
37956 ;;
37957 *-pc-os2_emx | *-pc-os2-emx )
37958 PLATFORM_OS2=1
37959 ;;
37960 *-*-darwin* )
37961 PLATFORM_MAC=1
37962 PLATFORM_MACOSX=1
37963 ;;
37964 *-*-beos* )
37965 PLATFORM_BEOS=1
37966 ;;
37967 powerpc-apple-macos* )
37968 PLATFORM_MAC=1
37969 PLATFORM_MACOS=1
37970 ;;
37971 * )
37972 PLATFORM_UNIX=1
37973 ;;
37974 esac
37975 else
37976 case "$BAKEFILE_FORCE_PLATFORM" in
37977 win32 )
37978 PLATFORM_WIN32=1
37979 ;;
37980 msdos )
37981 PLATFORM_MSDOS=1
37982 ;;
37983 os2 )
37984 PLATFORM_OS2=1
37985 ;;
37986 darwin )
37987 PLATFORM_MAC=1
37988 PLATFORM_MACOSX=1
37989 ;;
37990 unix )
37991 PLATFORM_UNIX=1
37992 ;;
37993 beos )
37994 PLATFORM_BEOS=1
37995 ;;
37996 * )
37997 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
37998 ;;
37999 esac
38000 fi
38001
38002
38003
38004
38005
38006
38007
38008
38009
38010
38011
38012 # Check whether --enable-omf was given.
38013 if test "${enable_omf+set}" = set; then :
38014 enableval=$enable_omf; bk_os2_use_omf="$enableval"
38015 fi
38016
38017
38018 case "${BAKEFILE_HOST}" in
38019 *-*-darwin* )
38020 if test "x$GCC" = "xyes"; then
38021 CFLAGS="$CFLAGS -fno-common"
38022 CXXFLAGS="$CXXFLAGS -fno-common"
38023 fi
38024 if test "x$XLCC" = "xyes"; then
38025 CFLAGS="$CFLAGS -qnocommon"
38026 CXXFLAGS="$CXXFLAGS -qnocommon"
38027 fi
38028 ;;
38029
38030 *-pc-os2_emx | *-pc-os2-emx )
38031 if test "x$bk_os2_use_omf" = "xyes" ; then
38032 AR=emxomfar
38033 RANLIB=:
38034 LDFLAGS="-Zomf $LDFLAGS"
38035 CFLAGS="-Zomf $CFLAGS"
38036 CXXFLAGS="-Zomf $CXXFLAGS"
38037 OS2_LIBEXT="lib"
38038 else
38039 OS2_LIBEXT="a"
38040 fi
38041 ;;
38042
38043 i*86-*-beos* )
38044 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
38045 ;;
38046 esac
38047
38048
38049 SO_SUFFIX="so"
38050 SO_SUFFIX_MODULE="so"
38051 EXEEXT=""
38052 LIBPREFIX="lib"
38053 LIBEXT=".a"
38054 DLLPREFIX="lib"
38055 DLLPREFIX_MODULE=""
38056 DLLIMP_SUFFIX=""
38057 dlldir="$libdir"
38058
38059 case "${BAKEFILE_HOST}" in
38060 ia64-hp-hpux* )
38061 ;;
38062 *-hp-hpux* )
38063 SO_SUFFIX="sl"
38064 SO_SUFFIX_MODULE="sl"
38065 ;;
38066 *-*-aix* )
38067 SO_SUFFIX="a"
38068 SO_SUFFIX_MODULE="a"
38069 ;;
38070 *-*-cygwin* )
38071 SO_SUFFIX="dll"
38072 SO_SUFFIX_MODULE="dll"
38073 DLLIMP_SUFFIX="dll.a"
38074 EXEEXT=".exe"
38075 DLLPREFIX="cyg"
38076 dlldir="$bindir"
38077 ;;
38078 *-*-mingw32* )
38079 SO_SUFFIX="dll"
38080 SO_SUFFIX_MODULE="dll"
38081 DLLIMP_SUFFIX="dll.a"
38082 EXEEXT=".exe"
38083 DLLPREFIX=""
38084 dlldir="$bindir"
38085 ;;
38086 *-pc-msdosdjgpp )
38087 EXEEXT=".exe"
38088 DLLPREFIX=""
38089 dlldir="$bindir"
38090 ;;
38091 *-pc-os2_emx | *-pc-os2-emx )
38092 SO_SUFFIX="dll"
38093 SO_SUFFIX_MODULE="dll"
38094 DLLIMP_SUFFIX=$OS2_LIBEXT
38095 EXEEXT=".exe"
38096 DLLPREFIX=""
38097 LIBPREFIX=""
38098 LIBEXT=".$OS2_LIBEXT"
38099 dlldir="$bindir"
38100 ;;
38101 *-*-darwin* )
38102 SO_SUFFIX="dylib"
38103 SO_SUFFIX_MODULE="bundle"
38104 ;;
38105 esac
38106
38107 if test "x$DLLIMP_SUFFIX" = "x" ; then
38108 DLLIMP_SUFFIX="$SO_SUFFIX"
38109 fi
38110
38111
38112
38113
38114
38115
38116
38117
38118
38119
38120
38121
38122 PIC_FLAG=""
38123 if test "x$GCC" = "xyes"; then
38124 PIC_FLAG="-fPIC"
38125 fi
38126
38127 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
38128 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
38129 WINDOWS_IMPLIB=0
38130
38131 case "${BAKEFILE_HOST}" in
38132 *-hp-hpux* )
38133 if test "x$GCC" != "xyes"; then
38134 LDFLAGS="$LDFLAGS -L/usr/lib"
38135
38136 SHARED_LD_CC="${CC} -b -o"
38137 SHARED_LD_CXX="${CXX} -b -o"
38138 PIC_FLAG="+Z"
38139 fi
38140 ;;
38141
38142 *-*-linux* )
38143 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38144 PIC_FLAG="-KPIC"
38145 elif test "x$SUNCXX" = "xyes"; then
38146 SHARED_LD_CC="${CC} -G -o"
38147 SHARED_LD_CXX="${CXX} -G -o"
38148 PIC_FLAG="-KPIC"
38149 fi
38150 ;;
38151
38152 *-*-solaris2* )
38153 if test "x$SUNCXX" = xyes ; then
38154 SHARED_LD_CC="${CC} -G -o"
38155 SHARED_LD_CXX="${CXX} -G -o"
38156 PIC_FLAG="-KPIC"
38157 fi
38158 ;;
38159
38160 *-*-darwin* )
38161
38162 D='$'
38163 cat <<EOF >shared-ld-sh
38164 #!/bin/sh
38165 #-----------------------------------------------------------------------------
38166 #-- Name: distrib/mac/shared-ld-sh
38167 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38168 #-- Author: Gilles Depeyrot
38169 #-- Copyright: (c) 2002 Gilles Depeyrot
38170 #-- Licence: any use permitted
38171 #-----------------------------------------------------------------------------
38172
38173 verbose=0
38174 args=""
38175 objects=""
38176 linking_flag="-dynamiclib"
38177 ldargs="-r -keep_private_externs -nostdlib"
38178
38179 if test "x${D}CXX" = "x"; then
38180 CXX="c++"
38181 fi
38182
38183 while test ${D}# -gt 0; do
38184 case ${D}1 in
38185
38186 -v)
38187 verbose=1
38188 ;;
38189
38190 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38191 # collect these options and values
38192 args="${D}{args} ${D}1 ${D}2"
38193 shift
38194 ;;
38195
38196 -arch|-isysroot)
38197 # collect these options and values
38198 ldargs="${D}{ldargs} ${D}1 ${D}2"
38199 shift
38200 ;;
38201
38202 -s|-Wl,*)
38203 # collect these load args
38204 ldargs="${D}{ldargs} ${D}1"
38205 ;;
38206
38207 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38208 # collect these options
38209 args="${D}{args} ${D}1"
38210 ;;
38211
38212 -dynamiclib|-bundle)
38213 linking_flag="${D}1"
38214 ;;
38215
38216 -*)
38217 echo "shared-ld: unhandled option '${D}1'"
38218 exit 1
38219 ;;
38220
38221 *.o | *.a | *.dylib)
38222 # collect object files
38223 objects="${D}{objects} ${D}1"
38224 ;;
38225
38226 *)
38227 echo "shared-ld: unhandled argument '${D}1'"
38228 exit 1
38229 ;;
38230
38231 esac
38232 shift
38233 done
38234
38235 status=0
38236
38237 #
38238 # Link one module containing all the others
38239 #
38240 if test ${D}{verbose} = 1; then
38241 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38242 fi
38243 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38244 status=${D}?
38245
38246 #
38247 # Link the shared library from the single module created, but only if the
38248 # previous command didn't fail:
38249 #
38250 if test ${D}{status} = 0; then
38251 if test ${D}{verbose} = 1; then
38252 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38253 fi
38254 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38255 status=${D}?
38256 fi
38257
38258 #
38259 # Remove intermediate module
38260 #
38261 rm -f master.${D}${D}.o
38262
38263 exit ${D}status
38264 EOF
38265
38266 chmod +x shared-ld-sh
38267
38268 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38269 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38270
38271
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38273 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38274 if test "${bakefile_cv_gcc31+set}" = set; then :
38275 $as_echo_n "(cached) " >&6
38276 else
38277
38278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38279 /* end confdefs.h. */
38280
38281 int
38282 main ()
38283 {
38284
38285 #if (__GNUC__ < 3) || \
38286 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38287 This is old gcc
38288 #endif
38289
38290 ;
38291 return 0;
38292 }
38293 _ACEOF
38294 if ac_fn_c_try_compile "$LINENO"; then :
38295
38296 bakefile_cv_gcc31=yes
38297
38298 else
38299
38300 bakefile_cv_gcc31=no
38301
38302
38303 fi
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305
38306 fi
38307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38308 $as_echo "$bakefile_cv_gcc31" >&6; }
38309 if test "$bakefile_cv_gcc31" = "no"; then
38310 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38311 SHARED_LD_CXX="$SHARED_LD_CC"
38312 else
38313 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38314 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38315 fi
38316
38317 if test "x$GCC" == "xyes"; then
38318 PIC_FLAG="-dynamic -fPIC"
38319 fi
38320 if test "x$XLCC" = "xyes"; then
38321 PIC_FLAG="-dynamic -DPIC"
38322 fi
38323 ;;
38324
38325 *-*-aix* )
38326 if test "x$GCC" = "xyes"; then
38327 PIC_FLAG=""
38328
38329 case "${BAKEFILE_HOST}" in
38330 *-*-aix5* )
38331 LD_EXPFULL="-Wl,-bexpfull"
38332 ;;
38333 esac
38334
38335 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38336 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38337 else
38338 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38339 set dummy makeC++SharedLib; ac_word=$2
38340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38341 $as_echo_n "checking for $ac_word... " >&6; }
38342 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then :
38343 $as_echo_n "(cached) " >&6
38344 else
38345 if test -n "$AIX_CXX_LD"; then
38346 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38347 else
38348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38349 for as_dir in $PATH
38350 do
38351 IFS=$as_save_IFS
38352 test -z "$as_dir" && as_dir=.
38353 for ac_exec_ext in '' $ac_executable_extensions; do
38354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38355 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38357 break 2
38358 fi
38359 done
38360 done
38361 IFS=$as_save_IFS
38362
38363 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38364 fi
38365 fi
38366 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38367 if test -n "$AIX_CXX_LD"; then
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38369 $as_echo "$AIX_CXX_LD" >&6; }
38370 else
38371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38372 $as_echo "no" >&6; }
38373 fi
38374
38375
38376 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38377 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38378 fi
38379 ;;
38380
38381 *-*-beos* )
38382 SHARED_LD_CC="${LD} -nostart -o"
38383 SHARED_LD_CXX="${LD} -nostart -o"
38384 ;;
38385
38386 *-*-irix* )
38387 if test "x$GCC" != "xyes"; then
38388 PIC_FLAG="-KPIC"
38389 fi
38390 ;;
38391
38392 *-*-cygwin* | *-*-mingw32* )
38393 PIC_FLAG=""
38394 SHARED_LD_CC="\$(CC) -shared -o"
38395 SHARED_LD_CXX="\$(CXX) -shared -o"
38396 WINDOWS_IMPLIB=1
38397 ;;
38398
38399 *-pc-os2_emx | *-pc-os2-emx )
38400 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38401 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38402 PIC_FLAG=""
38403
38404 D='$'
38405 cat <<EOF >dllar.sh
38406 #!/bin/sh
38407 #
38408 # dllar - a tool to build both a .dll and an .a file
38409 # from a set of object (.o) files for EMX/OS2.
38410 #
38411 # Written by Andrew Zabolotny, bit@freya.etu.ru
38412 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38413 #
38414 # This script will accept a set of files on the command line.
38415 # All the public symbols from the .o files will be exported into
38416 # a .DEF file, then linker will be run (through gcc) against them to
38417 # build a shared library consisting of all given .o files. All libraries
38418 # (.a) will be first decompressed into component .o files then act as
38419 # described above. You can optionally give a description (-d "description")
38420 # which will be put into .DLL. To see the list of accepted options (as well
38421 # as command-line format) simply run this program without options. The .DLL
38422 # is built to be imported by name (there is no guarantee that new versions
38423 # of the library you build will have same ordinals for same symbols).
38424 #
38425 # dllar is free software; you can redistribute it and/or modify
38426 # it under the terms of the GNU General Public License as published by
38427 # the Free Software Foundation; either version 2, or (at your option)
38428 # any later version.
38429 #
38430 # dllar is distributed in the hope that it will be useful,
38431 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38432 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38433 # GNU General Public License for more details.
38434 #
38435 # You should have received a copy of the GNU General Public License
38436 # along with dllar; see the file COPYING. If not, write to the Free
38437 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38438 # 02111-1307, USA.
38439
38440 # To successfuly run this program you will need:
38441 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38442 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38443 # - gcc
38444 # (used to build the .dll)
38445 # - emxexp
38446 # (used to create .def file from .o files)
38447 # - emximp
38448 # (used to create .a file from .def file)
38449 # - GNU text utilites (cat, sort, uniq)
38450 # used to process emxexp output
38451 # - GNU file utilities (mv, rm)
38452 # - GNU sed
38453 # - lxlite (optional, see flag below)
38454 # (used for general .dll cleanup)
38455 #
38456
38457 flag_USE_LXLITE=1;
38458
38459 #
38460 # helper functions
38461 # basnam, variant of basename, which does _not_ remove the path, _iff_
38462 # second argument (suffix to remove) is given
38463 basnam(){
38464 case ${D}# in
38465 1)
38466 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38467 ;;
38468 2)
38469 echo ${D}1 | sed 's/'${D}2'${D}//'
38470 ;;
38471 *)
38472 echo "error in basnam ${D}*"
38473 exit 8
38474 ;;
38475 esac
38476 }
38477
38478 # Cleanup temporary files and output
38479 CleanUp() {
38480 cd ${D}curDir
38481 for i in ${D}inputFiles ; do
38482 case ${D}i in
38483 *!)
38484 rm -rf \`basnam ${D}i !\`
38485 ;;
38486 *)
38487 ;;
38488 esac
38489 done
38490
38491 # Kill result in case of failure as there is just to many stupid make/nmake
38492 # things out there which doesn't do this.
38493 if [ ${D}# -eq 0 ]; then
38494 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38495 fi
38496 }
38497
38498 # Print usage and exit script with rc=1.
38499 PrintHelp() {
38500 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38501 echo ' [-name-mangler-script script.sh]'
38502 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38503 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38504 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38505 echo ' [*.o] [*.a]'
38506 echo '*> "output_file" should have no extension.'
38507 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38508 echo ' The import library name is derived from this and is set to "name".a,'
38509 echo ' unless overridden by -import'
38510 echo '*> "importlib_name" should have no extension.'
38511 echo ' If it has the .o, or .a extension, it is automatically removed.'
38512 echo ' This name is used as the import library name and may be longer and'
38513 echo ' more descriptive than the DLL name which has to follow the old '
38514 echo ' 8.3 convention of FAT.'
38515 echo '*> "script.sh may be given to override the output_file name by a'
38516 echo ' different name. It is mainly useful if the regular make process'
38517 echo ' of some package does not take into account OS/2 restriction of'
38518 echo ' DLL name lengths. It takes the importlib name as input and is'
38519 echo ' supposed to procude a shorter name as output. The script should'
38520 echo ' expect to get importlib_name without extension and should produce'
38521 echo ' a (max.) 8 letter name without extension.'
38522 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38523 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38524 echo ' These flags will be put at the start of GCC command line.'
38525 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38526 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38527 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38528 echo ' If the last character of a symbol is "*", all symbols beginning'
38529 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38530 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38531 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38532 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38533 echo ' C runtime DLLs.'
38534 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38535 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38536 echo ' unchanged to GCC at the end of command line.'
38537 echo '*> If you create a DLL from a library and you do not specify -o,'
38538 echo ' the basename for DLL and import library will be set to library name,'
38539 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38540 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38541 echo ' library will be renamed into gcc_s.a.'
38542 echo '--------'
38543 echo 'Example:'
38544 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38545 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38546 CleanUp
38547 exit 1
38548 }
38549
38550 # Execute a command.
38551 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38552 # @Uses Whatever CleanUp() uses.
38553 doCommand() {
38554 echo "${D}*"
38555 eval ${D}*
38556 rcCmd=${D}?
38557
38558 if [ ${D}rcCmd -ne 0 ]; then
38559 echo "command failed, exit code="${D}rcCmd
38560 CleanUp
38561 exit ${D}rcCmd
38562 fi
38563 }
38564
38565 # main routine
38566 # setup globals
38567 cmdLine=${D}*
38568 outFile=""
38569 outimpFile=""
38570 inputFiles=""
38571 renameScript=""
38572 description=""
38573 CC=gcc.exe
38574 CFLAGS="-s -Zcrtdll"
38575 EXTRA_CFLAGS=""
38576 EXPORT_BY_ORDINALS=0
38577 exclude_symbols=""
38578 library_flags=""
38579 curDir=\`pwd\`
38580 curDirS=curDir
38581 case ${D}curDirS in
38582 */)
38583 ;;
38584 *)
38585 curDirS=${D}{curDirS}"/"
38586 ;;
38587 esac
38588 # Parse commandline
38589 libsToLink=0
38590 omfLinking=0
38591 while [ ${D}1 ]; do
38592 case ${D}1 in
38593 -ord*)
38594 EXPORT_BY_ORDINALS=1;
38595 ;;
38596 -o*)
38597 shift
38598 outFile=${D}1
38599 ;;
38600 -i*)
38601 shift
38602 outimpFile=${D}1
38603 ;;
38604 -name-mangler-script)
38605 shift
38606 renameScript=${D}1
38607 ;;
38608 -d*)
38609 shift
38610 description=${D}1
38611 ;;
38612 -f*)
38613 shift
38614 CFLAGS=${D}1
38615 ;;
38616 -c*)
38617 shift
38618 CC=${D}1
38619 ;;
38620 -h*)
38621 PrintHelp
38622 ;;
38623 -ex*)
38624 shift
38625 exclude_symbols=${D}{exclude_symbols}${D}1" "
38626 ;;
38627 -libf*)
38628 shift
38629 library_flags=${D}{library_flags}${D}1" "
38630 ;;
38631 -nocrt*)
38632 CFLAGS="-s"
38633 ;;
38634 -nolxl*)
38635 flag_USE_LXLITE=0
38636 ;;
38637 -* | /*)
38638 case ${D}1 in
38639 -L* | -l*)
38640 libsToLink=1
38641 ;;
38642 -Zomf)
38643 omfLinking=1
38644 ;;
38645 *)
38646 ;;
38647 esac
38648 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38649 ;;
38650 *.dll)
38651 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38652 if [ ${D}omfLinking -eq 1 ]; then
38653 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38654 else
38655 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38656 fi
38657 ;;
38658 *)
38659 found=0;
38660 if [ ${D}libsToLink -ne 0 ]; then
38661 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38662 else
38663 for file in ${D}1 ; do
38664 if [ -f ${D}file ]; then
38665 inputFiles="${D}{inputFiles} ${D}file"
38666 found=1
38667 fi
38668 done
38669 if [ ${D}found -eq 0 ]; then
38670 echo "ERROR: No file(s) found: "${D}1
38671 exit 8
38672 fi
38673 fi
38674 ;;
38675 esac
38676 shift
38677 done # iterate cmdline words
38678
38679 #
38680 if [ -z "${D}inputFiles" ]; then
38681 echo "dllar: no input files"
38682 PrintHelp
38683 fi
38684
38685 # Now extract all .o files from .a files
38686 newInputFiles=""
38687 for file in ${D}inputFiles ; do
38688 case ${D}file in
38689 *.a | *.lib)
38690 case ${D}file in
38691 *.a)
38692 suffix=".a"
38693 AR="ar"
38694 ;;
38695 *.lib)
38696 suffix=".lib"
38697 AR="emxomfar"
38698 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38699 ;;
38700 *)
38701 ;;
38702 esac
38703 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38704 mkdir ${D}dirname
38705 if [ ${D}? -ne 0 ]; then
38706 echo "Failed to create subdirectory ./${D}dirname"
38707 CleanUp
38708 exit 8;
38709 fi
38710 # Append '!' to indicate archive
38711 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38712 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38713 cd ${D}curDir
38714 found=0;
38715 for subfile in ${D}dirname/*.o* ; do
38716 if [ -f ${D}subfile ]; then
38717 found=1
38718 if [ -s ${D}subfile ]; then
38719 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38720 newInputFiles="${D}newInputFiles ${D}subfile"
38721 fi
38722 fi
38723 done
38724 if [ ${D}found -eq 0 ]; then
38725 echo "WARNING: there are no files in archive \\'${D}file\\'"
38726 fi
38727 ;;
38728 *)
38729 newInputFiles="${D}{newInputFiles} ${D}file"
38730 ;;
38731 esac
38732 done
38733 inputFiles="${D}newInputFiles"
38734
38735 # Output filename(s).
38736 do_backup=0;
38737 if [ -z ${D}outFile ]; then
38738 do_backup=1;
38739 set outFile ${D}inputFiles; outFile=${D}2
38740 fi
38741
38742 # If it is an archive, remove the '!' and the '_%' suffixes
38743 case ${D}outFile in
38744 *_%!)
38745 outFile=\`basnam ${D}outFile _%!\`
38746 ;;
38747 *)
38748 ;;
38749 esac
38750 case ${D}outFile in
38751 *.dll)
38752 outFile=\`basnam ${D}outFile .dll\`
38753 ;;
38754 *.DLL)
38755 outFile=\`basnam ${D}outFile .DLL\`
38756 ;;
38757 *.o)
38758 outFile=\`basnam ${D}outFile .o\`
38759 ;;
38760 *.obj)
38761 outFile=\`basnam ${D}outFile .obj\`
38762 ;;
38763 *.a)
38764 outFile=\`basnam ${D}outFile .a\`
38765 ;;
38766 *.lib)
38767 outFile=\`basnam ${D}outFile .lib\`
38768 ;;
38769 *)
38770 ;;
38771 esac
38772 case ${D}outimpFile in
38773 *.a)
38774 outimpFile=\`basnam ${D}outimpFile .a\`
38775 ;;
38776 *.lib)
38777 outimpFile=\`basnam ${D}outimpFile .lib\`
38778 ;;
38779 *)
38780 ;;
38781 esac
38782 if [ -z ${D}outimpFile ]; then
38783 outimpFile=${D}outFile
38784 fi
38785 defFile="${D}{outFile}.def"
38786 arcFile="${D}{outimpFile}.a"
38787 arcFile2="${D}{outimpFile}.lib"
38788
38789 #create ${D}dllFile as something matching 8.3 restrictions,
38790 if [ -z ${D}renameScript ] ; then
38791 dllFile="${D}outFile"
38792 else
38793 dllFile=\`${D}renameScript ${D}outimpFile\`
38794 fi
38795
38796 if [ ${D}do_backup -ne 0 ] ; then
38797 if [ -f ${D}arcFile ] ; then
38798 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38799 fi
38800 if [ -f ${D}arcFile2 ] ; then
38801 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38802 fi
38803 fi
38804
38805 # Extract public symbols from all the object files.
38806 tmpdefFile=${D}{defFile}_%
38807 rm -f ${D}tmpdefFile
38808 for file in ${D}inputFiles ; do
38809 case ${D}file in
38810 *!)
38811 ;;
38812 *)
38813 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38814 ;;
38815 esac
38816 done
38817
38818 # Create the def file.
38819 rm -f ${D}defFile
38820 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38821 dllFile="${D}{dllFile}.dll"
38822 if [ ! -z ${D}description ]; then
38823 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38824 fi
38825 echo "EXPORTS" >> ${D}defFile
38826
38827 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38828 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38829
38830 # Checks if the export is ok or not.
38831 for word in ${D}exclude_symbols; do
38832 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38833 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38834 done
38835
38836
38837 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38838 sed "=" < ${D}tmpdefFile | \\
38839 sed '
38840 N
38841 : loop
38842 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38843 t loop
38844 ' > ${D}{tmpdefFile}%
38845 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38846 else
38847 rm -f ${D}{tmpdefFile}%
38848 fi
38849 cat ${D}tmpdefFile >> ${D}defFile
38850 rm -f ${D}tmpdefFile
38851
38852 # Do linking, create implib, and apply lxlite.
38853 gccCmdl="";
38854 for file in ${D}inputFiles ; do
38855 case ${D}file in
38856 *!)
38857 ;;
38858 *)
38859 gccCmdl="${D}gccCmdl ${D}file"
38860 ;;
38861 esac
38862 done
38863 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38864 touch "${D}{outFile}.dll"
38865
38866 doCommand "emximp -o ${D}arcFile ${D}defFile"
38867 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38868 add_flags="";
38869 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38870 add_flags="-ynd"
38871 fi
38872 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38873 fi
38874 doCommand "emxomf -s -l ${D}arcFile"
38875
38876 # Successful exit.
38877 CleanUp 1
38878 exit 0
38879 EOF
38880
38881 chmod +x dllar.sh
38882 ;;
38883
38884 powerpc-apple-macos* | \
38885 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
38886 *-*-mirbsd* | \
38887 *-*-sunos4* | \
38888 *-*-osf* | \
38889 *-*-dgux5* | \
38890 *-*-sysv5* | \
38891 *-pc-msdosdjgpp )
38892 ;;
38893
38894 *)
38895 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
38896 esac
38897
38898 if test "x$PIC_FLAG" != "x" ; then
38899 PIC_FLAG="$PIC_FLAG -DPIC"
38900 fi
38901
38902 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38903 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38904 fi
38905 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38906 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38907 fi
38908
38909
38910
38911
38912
38913
38914
38915
38916
38917 USE_SOVERSION=0
38918 USE_SOVERLINUX=0
38919 USE_SOVERSOLARIS=0
38920 USE_SOVERCYGWIN=0
38921 USE_SOTWOSYMLINKS=0
38922 USE_MACVERSION=0
38923 SONAME_FLAG=
38924
38925 case "${BAKEFILE_HOST}" in
38926 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38927 *-*-k*bsd*-gnu | *-*-mirbsd* )
38928 if test "x$SUNCXX" = "xyes"; then
38929 SONAME_FLAG="-h "
38930 else
38931 SONAME_FLAG="-Wl,-soname,"
38932 fi
38933 USE_SOVERSION=1
38934 USE_SOVERLINUX=1
38935 USE_SOTWOSYMLINKS=1
38936 ;;
38937
38938 *-*-solaris2* )
38939 SONAME_FLAG="-h "
38940 USE_SOVERSION=1
38941 USE_SOVERSOLARIS=1
38942 ;;
38943
38944 *-*-darwin* )
38945 USE_MACVERSION=1
38946 USE_SOVERSION=1
38947 USE_SOTWOSYMLINKS=1
38948 ;;
38949
38950 *-*-cygwin* )
38951 USE_SOVERSION=1
38952 USE_SOVERCYGWIN=1
38953 ;;
38954 esac
38955
38956
38957
38958
38959
38960
38961
38962
38963
38964
38965 # Check whether --enable-dependency-tracking was given.
38966 if test "${enable_dependency_tracking+set}" = set; then :
38967 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
38968 fi
38969
38970
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
38972 $as_echo_n "checking for dependency tracking method... " >&6; }
38973
38974 BK_DEPS=""
38975 if test "x$bk_use_trackdeps" = "xno" ; then
38976 DEPS_TRACKING=0
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
38978 $as_echo "disabled" >&6; }
38979 else
38980 DEPS_TRACKING=1
38981
38982 if test "x$GCC" = "xyes"; then
38983 DEPSMODE=gcc
38984 DEPSFLAG="-MMD"
38985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
38986 $as_echo "gcc" >&6; }
38987 elif test "x$MWCC" = "xyes"; then
38988 DEPSMODE=mwcc
38989 DEPSFLAG="-MM"
38990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
38991 $as_echo "mwcc" >&6; }
38992 elif test "x$SUNCC" = "xyes"; then
38993 DEPSMODE=unixcc
38994 DEPSFLAG="-xM1"
38995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
38996 $as_echo "Sun cc" >&6; }
38997 elif test "x$SGICC" = "xyes"; then
38998 DEPSMODE=unixcc
38999 DEPSFLAG="-M"
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39001 $as_echo "SGI cc" >&6; }
39002 elif test "x$HPCC" = "xyes"; then
39003 DEPSMODE=unixcc
39004 DEPSFLAG="+make"
39005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39006 $as_echo "HP cc" >&6; }
39007 elif test "x$COMPAQCC" = "xyes"; then
39008 DEPSMODE=gcc
39009 DEPSFLAG="-MD"
39010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39011 $as_echo "Compaq cc" >&6; }
39012 else
39013 DEPS_TRACKING=0
39014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39015 $as_echo "none" >&6; }
39016 fi
39017
39018 if test $DEPS_TRACKING = 1 ; then
39019
39020 D='$'
39021 cat <<EOF >bk-deps
39022 #!/bin/sh
39023
39024 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39025 # script. It is used to track C/C++ files dependencies in portable way.
39026 #
39027 # Permission is given to use this file in any way.
39028
39029 DEPSMODE=${DEPSMODE}
39030 DEPSFLAG="${DEPSFLAG}"
39031 DEPSDIRBASE=.deps
39032
39033 if test ${D}DEPSMODE = gcc ; then
39034 ${D}* ${D}{DEPSFLAG}
39035 status=${D}?
39036
39037 # determine location of created files:
39038 while test ${D}# -gt 0; do
39039 case "${D}1" in
39040 -o )
39041 shift
39042 objfile=${D}1
39043 ;;
39044 -* )
39045 ;;
39046 * )
39047 srcfile=${D}1
39048 ;;
39049 esac
39050 shift
39051 done
39052 objfilebase=\`basename ${D}objfile\`
39053 builddir=\`dirname ${D}objfile\`
39054 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39055 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39056 depsdir=${D}builddir/${D}DEPSDIRBASE
39057 mkdir -p ${D}depsdir
39058
39059 # if the compiler failed, we're done:
39060 if test ${D}{status} != 0 ; then
39061 rm -f ${D}depfile
39062 exit ${D}{status}
39063 fi
39064
39065 # move created file to the location we want it in:
39066 if test -f ${D}depfile ; then
39067 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39068 rm -f ${D}depfile
39069 else
39070 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39071 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39072 if test ! -f ${D}depfile ; then
39073 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39074 depfile="${D}objfile.d"
39075 fi
39076 if test -f ${D}depfile ; then
39077 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39078 rm -f ${D}depfile
39079 fi
39080 fi
39081 exit 0
39082
39083 elif test ${D}DEPSMODE = mwcc ; then
39084 ${D}* || exit ${D}?
39085 # Run mwcc again with -MM and redirect into the dep file we want
39086 # NOTE: We can't use shift here because we need ${D}* to be valid
39087 prevarg=
39088 for arg in ${D}* ; do
39089 if test "${D}prevarg" = "-o"; then
39090 objfile=${D}arg
39091 else
39092 case "${D}arg" in
39093 -* )
39094 ;;
39095 * )
39096 srcfile=${D}arg
39097 ;;
39098 esac
39099 fi
39100 prevarg="${D}arg"
39101 done
39102
39103 objfilebase=\`basename ${D}objfile\`
39104 builddir=\`dirname ${D}objfile\`
39105 depsdir=${D}builddir/${D}DEPSDIRBASE
39106 mkdir -p ${D}depsdir
39107
39108 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39109 exit 0
39110
39111 elif test ${D}DEPSMODE = unixcc; then
39112 ${D}* || exit ${D}?
39113 # Run compiler again with deps flag and redirect into the dep file.
39114 # It doesn't work if the '-o FILE' option is used, but without it the
39115 # dependency file will contain the wrong name for the object. So it is
39116 # removed from the command line, and the dep file is fixed with sed.
39117 cmd=""
39118 while test ${D}# -gt 0; do
39119 case "${D}1" in
39120 -o )
39121 shift
39122 objfile=${D}1
39123 ;;
39124 * )
39125 eval arg${D}#=\\${D}1
39126 cmd="${D}cmd \\${D}arg${D}#"
39127 ;;
39128 esac
39129 shift
39130 done
39131
39132 objfilebase=\`basename ${D}objfile\`
39133 builddir=\`dirname ${D}objfile\`
39134 depsdir=${D}builddir/${D}DEPSDIRBASE
39135 mkdir -p ${D}depsdir
39136
39137 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39138 exit 0
39139
39140 else
39141 ${D}*
39142 exit ${D}?
39143 fi
39144 EOF
39145
39146 chmod +x bk-deps
39147 BK_DEPS="`pwd`/bk-deps"
39148 fi
39149 fi
39150
39151
39152
39153
39154
39155 case ${BAKEFILE_HOST} in
39156 *-*-cygwin* | *-*-mingw32* )
39157 if test -n "$ac_tool_prefix"; then
39158 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39159 set dummy ${ac_tool_prefix}windres; ac_word=$2
39160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39161 $as_echo_n "checking for $ac_word... " >&6; }
39162 if test "${ac_cv_prog_WINDRES+set}" = set; then :
39163 $as_echo_n "(cached) " >&6
39164 else
39165 if test -n "$WINDRES"; then
39166 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39167 else
39168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39169 for as_dir in $PATH
39170 do
39171 IFS=$as_save_IFS
39172 test -z "$as_dir" && as_dir=.
39173 for ac_exec_ext in '' $ac_executable_extensions; do
39174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39175 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39177 break 2
39178 fi
39179 done
39180 done
39181 IFS=$as_save_IFS
39182
39183 fi
39184 fi
39185 WINDRES=$ac_cv_prog_WINDRES
39186 if test -n "$WINDRES"; then
39187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39188 $as_echo "$WINDRES" >&6; }
39189 else
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39191 $as_echo "no" >&6; }
39192 fi
39193
39194
39195 fi
39196 if test -z "$ac_cv_prog_WINDRES"; then
39197 ac_ct_WINDRES=$WINDRES
39198 # Extract the first word of "windres", so it can be a program name with args.
39199 set dummy windres; ac_word=$2
39200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39201 $as_echo_n "checking for $ac_word... " >&6; }
39202 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
39203 $as_echo_n "(cached) " >&6
39204 else
39205 if test -n "$ac_ct_WINDRES"; then
39206 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39207 else
39208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39209 for as_dir in $PATH
39210 do
39211 IFS=$as_save_IFS
39212 test -z "$as_dir" && as_dir=.
39213 for ac_exec_ext in '' $ac_executable_extensions; do
39214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39215 ac_cv_prog_ac_ct_WINDRES="windres"
39216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39217 break 2
39218 fi
39219 done
39220 done
39221 IFS=$as_save_IFS
39222
39223 fi
39224 fi
39225 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39226 if test -n "$ac_ct_WINDRES"; then
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39228 $as_echo "$ac_ct_WINDRES" >&6; }
39229 else
39230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39231 $as_echo "no" >&6; }
39232 fi
39233
39234 if test "x$ac_ct_WINDRES" = x; then
39235 WINDRES=""
39236 else
39237 case $cross_compiling:$ac_tool_warned in
39238 yes:)
39239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39241 ac_tool_warned=yes ;;
39242 esac
39243 WINDRES=$ac_ct_WINDRES
39244 fi
39245 else
39246 WINDRES="$ac_cv_prog_WINDRES"
39247 fi
39248
39249 ;;
39250
39251 *-*-darwin* | powerpc-apple-macos* )
39252 # Extract the first word of "Rez", so it can be a program name with args.
39253 set dummy Rez; ac_word=$2
39254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39255 $as_echo_n "checking for $ac_word... " >&6; }
39256 if test "${ac_cv_prog_REZ+set}" = set; then :
39257 $as_echo_n "(cached) " >&6
39258 else
39259 if test -n "$REZ"; then
39260 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39261 else
39262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39263 for as_dir in $PATH
39264 do
39265 IFS=$as_save_IFS
39266 test -z "$as_dir" && as_dir=.
39267 for ac_exec_ext in '' $ac_executable_extensions; do
39268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39269 ac_cv_prog_REZ="Rez"
39270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39271 break 2
39272 fi
39273 done
39274 done
39275 IFS=$as_save_IFS
39276
39277 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39278 fi
39279 fi
39280 REZ=$ac_cv_prog_REZ
39281 if test -n "$REZ"; then
39282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39283 $as_echo "$REZ" >&6; }
39284 else
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39286 $as_echo "no" >&6; }
39287 fi
39288
39289
39290 # Extract the first word of "SetFile", so it can be a program name with args.
39291 set dummy SetFile; ac_word=$2
39292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39293 $as_echo_n "checking for $ac_word... " >&6; }
39294 if test "${ac_cv_prog_SETFILE+set}" = set; then :
39295 $as_echo_n "(cached) " >&6
39296 else
39297 if test -n "$SETFILE"; then
39298 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39299 else
39300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39301 for as_dir in $PATH
39302 do
39303 IFS=$as_save_IFS
39304 test -z "$as_dir" && as_dir=.
39305 for ac_exec_ext in '' $ac_executable_extensions; do
39306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39307 ac_cv_prog_SETFILE="SetFile"
39308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39309 break 2
39310 fi
39311 done
39312 done
39313 IFS=$as_save_IFS
39314
39315 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39316 fi
39317 fi
39318 SETFILE=$ac_cv_prog_SETFILE
39319 if test -n "$SETFILE"; then
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39321 $as_echo "$SETFILE" >&6; }
39322 else
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39324 $as_echo "no" >&6; }
39325 fi
39326
39327
39328 ;;
39329 esac
39330
39331
39332
39333
39334
39335
39336
39337
39338
39339 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39340
39341
39342 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39343
39344
39345
39346 # Check whether --enable-precomp-headers was given.
39347 if test "${enable_precomp_headers+set}" = set; then :
39348 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39349 fi
39350
39351
39352 GCC_PCH=0
39353 ICC_PCH=0
39354 USE_PCH=0
39355 BK_MAKE_PCH=""
39356
39357 case ${BAKEFILE_HOST} in
39358 *-*-cygwin* )
39359 bk_use_pch="no"
39360 ;;
39361 esac
39362
39363 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39364 if test "x$GCC" = "xyes"; then
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39366 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39368 /* end confdefs.h. */
39369
39370 int
39371 main ()
39372 {
39373
39374 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39375 There is no PCH support
39376 #endif
39377 #if (__GNUC__ < 3)
39378 There is no PCH support
39379 #endif
39380 #if (__GNUC__ == 3) && \
39381 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39382 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39383 ( defined(__INTEL_COMPILER) )
39384 There is no PCH support
39385 #endif
39386
39387 ;
39388 return 0;
39389 }
39390 _ACEOF
39391 if ac_fn_c_try_compile "$LINENO"; then :
39392
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39394 $as_echo "yes" >&6; }
39395 GCC_PCH=1
39396
39397 else
39398
39399 if test "$INTELCXX8" = "yes"; then
39400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39401 $as_echo "yes" >&6; }
39402 ICC_PCH=1
39403 if test "$INTELCXX10" = "yes"; then
39404 ICC_PCH_CREATE_SWITCH="-pch-create"
39405 ICC_PCH_USE_SWITCH="-pch-use"
39406 else
39407 ICC_PCH_CREATE_SWITCH="-create-pch"
39408 ICC_PCH_USE_SWITCH="-use-pch"
39409 fi
39410 else
39411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39412 $as_echo "no" >&6; }
39413 fi
39414
39415 fi
39416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39417 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39418 USE_PCH=1
39419
39420 D='$'
39421 cat <<EOF >bk-make-pch
39422 #!/bin/sh
39423
39424 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39425 # script. It is used to generated precompiled headers.
39426 #
39427 # Permission is given to use this file in any way.
39428
39429 outfile="${D}{1}"
39430 header="${D}{2}"
39431 shift
39432 shift
39433
39434 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39435
39436 compiler=""
39437 headerfile=""
39438
39439 while test ${D}{#} -gt 0; do
39440 add_to_cmdline=1
39441 case "${D}{1}" in
39442 -I* )
39443 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39444 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39445 headerfile="${D}{incdir}/${D}{header}"
39446 fi
39447 ;;
39448 -use-pch|-use_pch|-pch-use )
39449 shift
39450 add_to_cmdline=0
39451 ;;
39452 esac
39453 if test ${D}add_to_cmdline = 1 ; then
39454 compiler="${D}{compiler} ${D}{1}"
39455 fi
39456 shift
39457 done
39458
39459 if test "x${D}{headerfile}" = "x" ; then
39460 echo "error: can't find header ${D}{header} in include paths" >&2
39461 else
39462 if test -f ${D}{outfile} ; then
39463 rm -f ${D}{outfile}
39464 else
39465 mkdir -p \`dirname ${D}{outfile}\`
39466 fi
39467 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39468 mkdir -p ${D}{builddir}/.deps
39469 if test "x${GCC_PCH}" = "x1" ; then
39470 # can do this because gcc is >= 3.4:
39471 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39472 elif test "x${ICC_PCH}" = "x1" ; then
39473 filename=pch_gen-${D}${D}
39474 file=${D}{filename}.c
39475 dfile=${D}{filename}.d
39476 cat > ${D}file <<EOT
39477 #include "${D}header"
39478 EOT
39479 # using -MF icc complains about differing command lines in creation/use
39480 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39481 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39482 rm -f ${D}file ${D}dfile ${D}{filename}.o
39483 fi
39484 exit ${D}{?}
39485 fi
39486 EOF
39487
39488 chmod +x bk-make-pch
39489 BK_MAKE_PCH="`pwd`/bk-make-pch"
39490 fi
39491 fi
39492 fi
39493
39494
39495
39496
39497
39498
39499
39500 COND_BUILD_DEBUG="#"
39501 if test "x$BUILD" = "xdebug" ; then
39502 COND_BUILD_DEBUG=""
39503 fi
39504
39505 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39506 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39507 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39508 fi
39509
39510 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39511 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39512 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39513 fi
39514
39515 COND_BUILD_DEBUG_UNICODE_0="#"
39516 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39517 COND_BUILD_DEBUG_UNICODE_0=""
39518 fi
39519
39520 COND_BUILD_DEBUG_UNICODE_1="#"
39521 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39522 COND_BUILD_DEBUG_UNICODE_1=""
39523 fi
39524
39525 COND_BUILD_RELEASE="#"
39526 if test "x$BUILD" = "xrelease" ; then
39527 COND_BUILD_RELEASE=""
39528 fi
39529
39530 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39531 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39532 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39533 fi
39534
39535 COND_BUILD_RELEASE_UNICODE_0="#"
39536 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39537 COND_BUILD_RELEASE_UNICODE_0=""
39538 fi
39539
39540 COND_BUILD_RELEASE_UNICODE_1="#"
39541 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39542 COND_BUILD_RELEASE_UNICODE_1=""
39543 fi
39544
39545 COND_BUILD_debug="#"
39546 if test "x$BUILD" = "xdebug" ; then
39547 COND_BUILD_debug=""
39548 fi
39549
39550 COND_BUILD_debug_DEBUG_FLAG_default="#"
39551 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39552 COND_BUILD_debug_DEBUG_FLAG_default=""
39553 fi
39554
39555 COND_BUILD_debug_DEBUG_INFO_default="#"
39556 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39557 COND_BUILD_debug_DEBUG_INFO_default=""
39558 fi
39559
39560 COND_BUILD_debug_UNICODE_0="#"
39561 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39562 COND_BUILD_debug_UNICODE_0=""
39563 fi
39564
39565 COND_BUILD_debug_UNICODE_1="#"
39566 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39567 COND_BUILD_debug_UNICODE_1=""
39568 fi
39569
39570 COND_BUILD_release="#"
39571 if test "x$BUILD" = "xrelease" ; then
39572 COND_BUILD_release=""
39573 fi
39574
39575 COND_BUILD_release_DEBUG_INFO_default="#"
39576 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39577 COND_BUILD_release_DEBUG_INFO_default=""
39578 fi
39579
39580 COND_BUILD_release_UNICODE_0="#"
39581 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39582 COND_BUILD_release_UNICODE_0=""
39583 fi
39584
39585 COND_BUILD_release_UNICODE_1="#"
39586 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39587 COND_BUILD_release_UNICODE_1=""
39588 fi
39589
39590 COND_DEBUG_FLAG_0="#"
39591 if test "x$DEBUG_FLAG" = "x0" ; then
39592 COND_DEBUG_FLAG_0=""
39593 fi
39594
39595 COND_DEBUG_FLAG_1="#"
39596 if test "x$DEBUG_FLAG" = "x1" ; then
39597 COND_DEBUG_FLAG_1=""
39598 fi
39599
39600 COND_DEBUG_INFO_0="#"
39601 if test "x$DEBUG_INFO" = "x0" ; then
39602 COND_DEBUG_INFO_0=""
39603 fi
39604
39605 COND_DEBUG_INFO_1="#"
39606 if test "x$DEBUG_INFO" = "x1" ; then
39607 COND_DEBUG_INFO_1=""
39608 fi
39609
39610 COND_DEPS_TRACKING_0="#"
39611 if test "x$DEPS_TRACKING" = "x0" ; then
39612 COND_DEPS_TRACKING_0=""
39613 fi
39614
39615 COND_DEPS_TRACKING_1="#"
39616 if test "x$DEPS_TRACKING" = "x1" ; then
39617 COND_DEPS_TRACKING_1=""
39618 fi
39619
39620 COND_GCC_PCH_1="#"
39621 if test "x$GCC_PCH" = "x1" ; then
39622 COND_GCC_PCH_1=""
39623 fi
39624
39625 COND_ICC_PCH_1="#"
39626 if test "x$ICC_PCH" = "x1" ; then
39627 COND_ICC_PCH_1=""
39628 fi
39629
39630 COND_MONOLITHIC_0="#"
39631 if test "x$MONOLITHIC" = "x0" ; then
39632 COND_MONOLITHIC_0=""
39633 fi
39634
39635 COND_MONOLITHIC_0_SHARED_0="#"
39636 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39637 COND_MONOLITHIC_0_SHARED_0=""
39638 fi
39639
39640 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39641 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39642 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39643 fi
39644
39645 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39646 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39647 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39648 fi
39649
39650 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39651 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39653 fi
39654
39655 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39656 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39657 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39658 fi
39659
39660 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39661 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39662 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39663 fi
39664
39665 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39666 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39667 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39668 fi
39669
39670 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39671 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39672 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39673 fi
39674
39675 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39676 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39677 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39678 fi
39679
39680 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39681 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39682 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39683 fi
39684
39685 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39687 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39688 fi
39689
39690 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39692 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39693 fi
39694
39695 COND_MONOLITHIC_0_SHARED_1="#"
39696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39697 COND_MONOLITHIC_0_SHARED_1=""
39698 fi
39699
39700 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39702 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39703 fi
39704
39705 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39707 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39708 fi
39709
39710 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39712 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39713 fi
39714
39715 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39717 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39718 fi
39719
39720 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39722 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39723 fi
39724
39725 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39727 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39728 fi
39729
39730 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39732 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39733 fi
39734
39735 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39737 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39738 fi
39739
39740 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39742 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39743 fi
39744
39745 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39747 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39748 fi
39749
39750 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39752 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39753 fi
39754
39755 COND_MONOLITHIC_0_USE_AUI_1="#"
39756 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39757 COND_MONOLITHIC_0_USE_AUI_1=""
39758 fi
39759
39760 COND_MONOLITHIC_0_USE_GUI_1="#"
39761 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39762 COND_MONOLITHIC_0_USE_GUI_1=""
39763 fi
39764
39765 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39766 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39767 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39768 fi
39769
39770 COND_MONOLITHIC_0_USE_HTML_1="#"
39771 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39772 COND_MONOLITHIC_0_USE_HTML_1=""
39773 fi
39774
39775 COND_MONOLITHIC_0_USE_MEDIA_1="#"
39776 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39777 COND_MONOLITHIC_0_USE_MEDIA_1=""
39778 fi
39779
39780 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39781 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39782 COND_MONOLITHIC_0_USE_PROPGRID_1=""
39783 fi
39784
39785 COND_MONOLITHIC_0_USE_QA_1="#"
39786 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39787 COND_MONOLITHIC_0_USE_QA_1=""
39788 fi
39789
39790 COND_MONOLITHIC_0_USE_RIBBON_1="#"
39791 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39792 COND_MONOLITHIC_0_USE_RIBBON_1=""
39793 fi
39794
39795 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39796 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39797 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39798 fi
39799
39800 COND_MONOLITHIC_0_USE_STC_1="#"
39801 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39802 COND_MONOLITHIC_0_USE_STC_1=""
39803 fi
39804
39805 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39806 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39807 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39808 fi
39809
39810 COND_MONOLITHIC_0_USE_XRC_1="#"
39811 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39812 COND_MONOLITHIC_0_USE_XRC_1=""
39813 fi
39814
39815 COND_MONOLITHIC_1="#"
39816 if test "x$MONOLITHIC" = "x1" ; then
39817 COND_MONOLITHIC_1=""
39818 fi
39819
39820 COND_MONOLITHIC_1_SHARED_0="#"
39821 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39822 COND_MONOLITHIC_1_SHARED_0=""
39823 fi
39824
39825 COND_MONOLITHIC_1_SHARED_1="#"
39826 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39827 COND_MONOLITHIC_1_SHARED_1=""
39828 fi
39829
39830 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39831 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39832 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39833 fi
39834
39835 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39836 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39837 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39838 fi
39839
39840 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39841 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39842 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39843 fi
39844
39845 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39846 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39847 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39848 fi
39849
39850 COND_PLATFORM_MACOSX_1="#"
39851 if test "x$PLATFORM_MACOSX" = "x1" ; then
39852 COND_PLATFORM_MACOSX_1=""
39853 fi
39854
39855 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39857 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39858 fi
39859
39860 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39862 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39863 fi
39864
39865 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39867 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39868 fi
39869
39870 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39872 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
39873 fi
39874
39875 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
39876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39877 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
39878 fi
39879
39880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
39881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
39883 fi
39884
39885 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
39886 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39887 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
39888 fi
39889
39890 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
39891 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
39893 fi
39894
39895 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39896 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39897 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39898 fi
39899
39900 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
39901 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39902 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
39903 fi
39904
39905 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39906 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39907 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39908 fi
39909
39910 COND_PLATFORM_MACOS_1="#"
39911 if test "x$PLATFORM_MACOS" = "x1" ; then
39912 COND_PLATFORM_MACOS_1=""
39913 fi
39914
39915 COND_PLATFORM_MAC_0="#"
39916 if test "x$PLATFORM_MAC" = "x0" ; then
39917 COND_PLATFORM_MAC_0=""
39918 fi
39919
39920 COND_PLATFORM_MAC_1="#"
39921 if test "x$PLATFORM_MAC" = "x1" ; then
39922 COND_PLATFORM_MAC_1=""
39923 fi
39924
39925 COND_PLATFORM_MSDOS_0="#"
39926 if test "x$PLATFORM_MSDOS" = "x0" ; then
39927 COND_PLATFORM_MSDOS_0=""
39928 fi
39929
39930 COND_PLATFORM_MSDOS_1="#"
39931 if test "x$PLATFORM_MSDOS" = "x1" ; then
39932 COND_PLATFORM_MSDOS_1=""
39933 fi
39934
39935 COND_PLATFORM_OS2_1="#"
39936 if test "x$PLATFORM_OS2" = "x1" ; then
39937 COND_PLATFORM_OS2_1=""
39938 fi
39939
39940 COND_PLATFORM_UNIX_0="#"
39941 if test "x$PLATFORM_UNIX" = "x0" ; then
39942 COND_PLATFORM_UNIX_0=""
39943 fi
39944
39945 COND_PLATFORM_UNIX_1="#"
39946 if test "x$PLATFORM_UNIX" = "x1" ; then
39947 COND_PLATFORM_UNIX_1=""
39948 fi
39949
39950 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39951 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39952 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39953 fi
39954
39955 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39956 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39957 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39958 fi
39959
39960 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
39961 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
39962 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
39963 fi
39964
39965 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
39966 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
39967 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
39968 fi
39969
39970 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39971 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39972 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39973 fi
39974
39975 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39976 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39977 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39978 fi
39979
39980 COND_PLATFORM_WIN32_0="#"
39981 if test "x$PLATFORM_WIN32" = "x0" ; then
39982 COND_PLATFORM_WIN32_0=""
39983 fi
39984
39985 COND_PLATFORM_WIN32_1="#"
39986 if test "x$PLATFORM_WIN32" = "x1" ; then
39987 COND_PLATFORM_WIN32_1=""
39988 fi
39989
39990 COND_PLATFORM_WIN32_1_SHARED_0="#"
39991 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39992 COND_PLATFORM_WIN32_1_SHARED_0=""
39993 fi
39994
39995 COND_SHARED_0="#"
39996 if test "x$SHARED" = "x0" ; then
39997 COND_SHARED_0=""
39998 fi
39999
40000 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
40001 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40002 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
40003 fi
40004
40005 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
40006 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40007 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
40008 fi
40009
40010 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
40011 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40012 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
40013 fi
40014
40015 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
40016 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40017 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
40018 fi
40019
40020 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40021 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40022 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40023 fi
40024
40025 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40026 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40027 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40028 fi
40029
40030 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40031 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40032 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40033 fi
40034
40035 COND_SHARED_0_USE_STC_1="#"
40036 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40037 COND_SHARED_0_USE_STC_1=""
40038 fi
40039
40040 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
40041 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40042 COND_SHARED_0_wxUSE_EXPAT_builtin=""
40043 fi
40044
40045 COND_SHARED_0_wxUSE_REGEX_builtin="#"
40046 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40047 COND_SHARED_0_wxUSE_REGEX_builtin=""
40048 fi
40049
40050 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
40051 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40052 COND_SHARED_0_wxUSE_ZLIB_builtin=""
40053 fi
40054
40055 COND_SHARED_1="#"
40056 if test "x$SHARED" = "x1" ; then
40057 COND_SHARED_1=""
40058 fi
40059
40060 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
40061 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40062 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
40063 fi
40064
40065 COND_TOOLKIT_="#"
40066 if test "x$TOOLKIT" = "x" ; then
40067 COND_TOOLKIT_=""
40068 fi
40069
40070 COND_TOOLKIT_COCOA="#"
40071 if test "x$TOOLKIT" = "xCOCOA" ; then
40072 COND_TOOLKIT_COCOA=""
40073 fi
40074
40075 COND_TOOLKIT_COCOA_USE_GUI_1="#"
40076 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40077 COND_TOOLKIT_COCOA_USE_GUI_1=""
40078 fi
40079
40080 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
40081 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40082 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
40083 fi
40084
40085 COND_TOOLKIT_DFB="#"
40086 if test "x$TOOLKIT" = "xDFB" ; then
40087 COND_TOOLKIT_DFB=""
40088 fi
40089
40090 COND_TOOLKIT_DFB_USE_GUI_1="#"
40091 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40092 COND_TOOLKIT_DFB_USE_GUI_1=""
40093 fi
40094
40095 COND_TOOLKIT_GTK="#"
40096 if test "x$TOOLKIT" = "xGTK" ; then
40097 COND_TOOLKIT_GTK=""
40098 fi
40099
40100 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
40101 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40102 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
40103 fi
40104
40105 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
40106 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40107 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
40108 fi
40109
40110 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
40111 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40112 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
40113 fi
40114
40115 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
40116 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40117 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
40118 fi
40119
40120 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
40121 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40122 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
40123 fi
40124
40125 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
40126 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40127 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
40128 fi
40129
40130 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
40131 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40132 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
40133 fi
40134
40135 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
40136 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40137 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
40138 fi
40139
40140 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
40141 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40142 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
40143 fi
40144
40145 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
40146 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40147 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
40148 fi
40149
40150 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
40151 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40152 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
40153 fi
40154
40155 COND_TOOLKIT_GTK_USE_GUI_1="#"
40156 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40157 COND_TOOLKIT_GTK_USE_GUI_1=""
40158 fi
40159
40160 COND_TOOLKIT_MAC="#"
40161 if test "x$TOOLKIT" = "xMAC" ; then
40162 COND_TOOLKIT_MAC=""
40163 fi
40164
40165 COND_TOOLKIT_MOTIF="#"
40166 if test "x$TOOLKIT" = "xMOTIF" ; then
40167 COND_TOOLKIT_MOTIF=""
40168 fi
40169
40170 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
40171 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40172 COND_TOOLKIT_MOTIF_USE_GUI_1=""
40173 fi
40174
40175 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
40176 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40177 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
40178 fi
40179
40180 COND_TOOLKIT_MSW="#"
40181 if test "x$TOOLKIT" = "xMSW" ; then
40182 COND_TOOLKIT_MSW=""
40183 fi
40184
40185 COND_TOOLKIT_MSW_USE_GUI_1="#"
40186 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40187 COND_TOOLKIT_MSW_USE_GUI_1=""
40188 fi
40189
40190 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
40191 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40192 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
40193 fi
40194
40195 COND_TOOLKIT_MSW_WXUNIV_0="#"
40196 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40197 COND_TOOLKIT_MSW_WXUNIV_0=""
40198 fi
40199
40200 COND_TOOLKIT_OSX_CARBON="#"
40201 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40202 COND_TOOLKIT_OSX_CARBON=""
40203 fi
40204
40205 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40206 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40207 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40208 fi
40209
40210 COND_TOOLKIT_OSX_COCOA="#"
40211 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40212 COND_TOOLKIT_OSX_COCOA=""
40213 fi
40214
40215 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40216 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40217 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40218 fi
40219
40220 COND_TOOLKIT_OSX_IPHONE="#"
40221 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40222 COND_TOOLKIT_OSX_IPHONE=""
40223 fi
40224
40225 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40226 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40227 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40228 fi
40229
40230 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40231 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40232 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40233 fi
40234
40235 COND_TOOLKIT_PM="#"
40236 if test "x$TOOLKIT" = "xPM" ; then
40237 COND_TOOLKIT_PM=""
40238 fi
40239
40240 COND_TOOLKIT_PM_USE_GUI_1="#"
40241 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40242 COND_TOOLKIT_PM_USE_GUI_1=""
40243 fi
40244
40245 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40246 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40247 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40248 fi
40249
40250 COND_TOOLKIT_WINCE="#"
40251 if test "x$TOOLKIT" = "xWINCE" ; then
40252 COND_TOOLKIT_WINCE=""
40253 fi
40254
40255 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40256 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40257 COND_TOOLKIT_WINCE_USE_GUI_1=""
40258 fi
40259
40260 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40261 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40262 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40263 fi
40264
40265 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40266 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40267 COND_TOOLKIT_WINCE_WXUNIV_0=""
40268 fi
40269
40270 COND_TOOLKIT_X11="#"
40271 if test "x$TOOLKIT" = "xX11" ; then
40272 COND_TOOLKIT_X11=""
40273 fi
40274
40275 COND_TOOLKIT_X11_USE_GUI_1="#"
40276 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40277 COND_TOOLKIT_X11_USE_GUI_1=""
40278 fi
40279
40280 COND_UNICODE_1="#"
40281 if test "x$UNICODE" = "x1" ; then
40282 COND_UNICODE_1=""
40283 fi
40284
40285 COND_USE_CAIRO_1="#"
40286 if test "x$USE_CAIRO" = "x1" ; then
40287 COND_USE_CAIRO_1=""
40288 fi
40289
40290 COND_USE_EXCEPTIONS_0="#"
40291 if test "x$USE_EXCEPTIONS" = "x0" ; then
40292 COND_USE_EXCEPTIONS_0=""
40293 fi
40294
40295 COND_USE_EXCEPTIONS_1="#"
40296 if test "x$USE_EXCEPTIONS" = "x1" ; then
40297 COND_USE_EXCEPTIONS_1=""
40298 fi
40299
40300 COND_USE_GUI_0="#"
40301 if test "x$USE_GUI" = "x0" ; then
40302 COND_USE_GUI_0=""
40303 fi
40304
40305 COND_USE_GUI_1="#"
40306 if test "x$USE_GUI" = "x1" ; then
40307 COND_USE_GUI_1=""
40308 fi
40309
40310 COND_USE_GUI_1_USE_OPENGL_1="#"
40311 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40312 COND_USE_GUI_1_USE_OPENGL_1=""
40313 fi
40314
40315 COND_USE_GUI_1_WXUNIV_0="#"
40316 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40317 COND_USE_GUI_1_WXUNIV_0=""
40318 fi
40319
40320 COND_USE_GUI_1_WXUNIV_1="#"
40321 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40322 COND_USE_GUI_1_WXUNIV_1=""
40323 fi
40324
40325 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40326 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40327 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40328 fi
40329
40330 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40331 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40332 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40333 fi
40334
40335 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40336 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40337 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40338 fi
40339
40340 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40341 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40342 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40343 fi
40344
40345 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40346 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40347 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40348 fi
40349
40350 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40351 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40352 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40353 fi
40354
40355 COND_USE_OPENGL_1="#"
40356 if test "x$USE_OPENGL" = "x1" ; then
40357 COND_USE_OPENGL_1=""
40358 fi
40359
40360 COND_USE_PCH_1="#"
40361 if test "x$USE_PCH" = "x1" ; then
40362 COND_USE_PCH_1=""
40363 fi
40364
40365 COND_USE_PLUGINS_0="#"
40366 if test "x$USE_PLUGINS" = "x0" ; then
40367 COND_USE_PLUGINS_0=""
40368 fi
40369
40370 COND_USE_RTTI_0="#"
40371 if test "x$USE_RTTI" = "x0" ; then
40372 COND_USE_RTTI_0=""
40373 fi
40374
40375 COND_USE_RTTI_1="#"
40376 if test "x$USE_RTTI" = "x1" ; then
40377 COND_USE_RTTI_1=""
40378 fi
40379
40380 COND_USE_SOTWOSYMLINKS_1="#"
40381 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40382 COND_USE_SOTWOSYMLINKS_1=""
40383 fi
40384
40385 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40386 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40387 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40388 fi
40389
40390 COND_USE_SOVERLINUX_1="#"
40391 if test "x$USE_SOVERLINUX" = "x1" ; then
40392 COND_USE_SOVERLINUX_1=""
40393 fi
40394
40395 COND_USE_SOVERSION_0="#"
40396 if test "x$USE_SOVERSION" = "x0" ; then
40397 COND_USE_SOVERSION_0=""
40398 fi
40399
40400 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40401 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40402 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40403 fi
40404
40405 COND_USE_SOVERSOLARIS_1="#"
40406 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40407 COND_USE_SOVERSOLARIS_1=""
40408 fi
40409
40410 COND_USE_STC_1="#"
40411 if test "x$USE_STC" = "x1" ; then
40412 COND_USE_STC_1=""
40413 fi
40414
40415 COND_USE_THREADS_0="#"
40416 if test "x$USE_THREADS" = "x0" ; then
40417 COND_USE_THREADS_0=""
40418 fi
40419
40420 COND_USE_THREADS_1="#"
40421 if test "x$USE_THREADS" = "x1" ; then
40422 COND_USE_THREADS_1=""
40423 fi
40424
40425 COND_USE_XRC_1="#"
40426 if test "x$USE_XRC" = "x1" ; then
40427 COND_USE_XRC_1=""
40428 fi
40429
40430 COND_WINDOWS_IMPLIB_1="#"
40431 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40432 COND_WINDOWS_IMPLIB_1=""
40433 fi
40434
40435 COND_WITH_PLUGIN_SDL_1="#"
40436 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40437 COND_WITH_PLUGIN_SDL_1=""
40438 fi
40439
40440 COND_WXUNIV_0="#"
40441 if test "x$WXUNIV" = "x0" ; then
40442 COND_WXUNIV_0=""
40443 fi
40444
40445 COND_WXUNIV_1="#"
40446 if test "x$WXUNIV" = "x1" ; then
40447 COND_WXUNIV_1=""
40448 fi
40449
40450 COND_WXUSE_EXPAT_BUILTIN="#"
40451 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40452 COND_WXUSE_EXPAT_BUILTIN=""
40453 fi
40454
40455 COND_WXUSE_LIBJPEG_BUILTIN="#"
40456 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40457 COND_WXUSE_LIBJPEG_BUILTIN=""
40458 fi
40459
40460 COND_WXUSE_LIBPNG_BUILTIN="#"
40461 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40462 COND_WXUSE_LIBPNG_BUILTIN=""
40463 fi
40464
40465 COND_WXUSE_LIBTIFF_BUILTIN="#"
40466 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40467 COND_WXUSE_LIBTIFF_BUILTIN=""
40468 fi
40469
40470 COND_WXUSE_REGEX_BUILTIN="#"
40471 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40472 COND_WXUSE_REGEX_BUILTIN=""
40473 fi
40474
40475 COND_WXUSE_ZLIB_BUILTIN="#"
40476 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40477 COND_WXUSE_ZLIB_BUILTIN=""
40478 fi
40479
40480 COND_wxUSE_EXPAT_builtin="#"
40481 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40482 COND_wxUSE_EXPAT_builtin=""
40483 fi
40484
40485 COND_wxUSE_LIBJPEG_builtin="#"
40486 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40487 COND_wxUSE_LIBJPEG_builtin=""
40488 fi
40489
40490 COND_wxUSE_LIBPNG_builtin="#"
40491 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40492 COND_wxUSE_LIBPNG_builtin=""
40493 fi
40494
40495 COND_wxUSE_LIBTIFF_builtin="#"
40496 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40497 COND_wxUSE_LIBTIFF_builtin=""
40498 fi
40499
40500 COND_wxUSE_REGEX_builtin="#"
40501 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40502 COND_wxUSE_REGEX_builtin=""
40503 fi
40504
40505 COND_wxUSE_ZLIB_builtin="#"
40506 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40507 COND_wxUSE_ZLIB_builtin=""
40508 fi
40509
40510
40511
40512 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40513 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
40514 fi
40515
40516 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40517 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
40518 fi
40519
40520
40521 case ${INSTALL} in
40522 /* ) # Absolute
40523 ;;
40524 ?:* ) # Drive letter, considered as absolute.
40525 ;;
40526 *)
40527 INSTALL=`pwd`/${INSTALL} ;;
40528 esac
40529
40530 if test "$wxUSE_GUI" = "yes"; then
40531
40532 if test "$wxUSE_MSW" = 1 ; then
40533 if test "x$WINDRES" = "x"; then
40534 as_fn_error $? "Required windres program not found" "$LINENO" 5
40535 fi
40536
40537 RESCOMP="$WINDRES"
40538 fi
40539
40540 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40541 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40542 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40543
40544 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40545
40546 # Extract the first word of "DeRez", so it can be a program name with args.
40547 set dummy DeRez; ac_word=$2
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40549 $as_echo_n "checking for $ac_word... " >&6; }
40550 if test "${ac_cv_prog_DEREZ+set}" = set; then :
40551 $as_echo_n "(cached) " >&6
40552 else
40553 if test -n "$DEREZ"; then
40554 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40555 else
40556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40557 for as_dir in $PATH
40558 do
40559 IFS=$as_save_IFS
40560 test -z "$as_dir" && as_dir=.
40561 for ac_exec_ext in '' $ac_executable_extensions; do
40562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40563 ac_cv_prog_DEREZ="DeRez"
40564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40565 break 2
40566 fi
40567 done
40568 done
40569 IFS=$as_save_IFS
40570
40571 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40572 fi
40573 fi
40574 DEREZ=$ac_cv_prog_DEREZ
40575 if test -n "$DEREZ"; then
40576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40577 $as_echo "$DEREZ" >&6; }
40578 else
40579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40580 $as_echo "no" >&6; }
40581 fi
40582
40583
40584
40585 MACSETFILE="\$(SETFILE)"
40586
40587 if test "$wxUSE_OSX_CARBON" = 1; then
40588 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40589 RESCOMP="$REZ"
40590 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40591 else
40592 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40593 RESCOMP="cat /dev/null \| $REZ"
40594 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40595 fi
40596
40597 else
40598 MACSETFILE="@true"
40599
40600 if test "$wxUSE_PM" = 1; then
40601 RESCOMP="emxbind"
40602 WXCONFIG_RESFLAGS="-ep"
40603
40604 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40605 else
40606 POSTLINK_COMMAND="@true"
40607 fi
40608 fi
40609
40610 fi
40611
40612
40613 if test $GCC_PCH = 1
40614 then
40615 if test "$wx_cv_gcc_pch_bug" = yes; then
40616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40617 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40619 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40621 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40622 fi
40623
40624 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40625 # the headers that benefit from precompilation are mostly C++ headers.
40626 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40627 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40628 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40629 fi
40630
40631
40632 if test "$wxUSE_MAC" = 1 ; then
40633 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40634 if test "x$disable_macosx_deps" = "xyes"; then
40635 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40636 mv temp bk-deps
40637 chmod +x bk-deps
40638 fi
40639 fi
40640 fi
40641
40642 if test "$wxUSE_SHARED" = "yes"; then
40643 case "${host}" in
40644 *-pc-os2_emx | *-pc-os2-emx )
40645 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40646 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40647 cp -p ${srcdir}/src/os2/dllnames.sh .
40648 cp -p ${srcdir}/src/os2/dllar.sh .
40649 ;;
40650 esac
40651 fi
40652 if test "$wxUSE_OMF" = "yes"; then
40653 case "${host}" in
40654 *-pc-os2_emx | *-pc-os2-emx )
40655 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40656 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40657 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40658 ;;
40659 esac
40660 fi
40661
40662 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40663
40664
40665 case "${host}" in
40666 *-*-solaris2* )
40667 if test "$GCC" = yes; then
40668 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40669 LIBS=`echo $LIBS | sed 's/-mt//g'`
40670 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40671 fi
40672 ;;
40673
40674 *-*-linux* )
40675 if test "x$SUNCXX" = xyes; then
40676 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40677 LIBS=`echo $LIBS | sed 's/-pthread//g'`
40678 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40679 fi
40680 ;;
40681 esac
40682
40683 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40684 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40685 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40686 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40687
40688 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40689
40690
40691
40692
40693
40694
40695
40696
40697
40698
40699
40700
40701
40702
40703
40704
40705
40706
40707
40708
40709
40710
40711
40712
40713
40714
40715
40716
40717
40718
40719
40720
40721
40722
40723
40724
40725
40726
40727
40728
40729
40730
40731
40732
40733
40734
40735
40736
40737
40738
40739
40740
40741
40742
40743
40744
40745
40746
40747
40748
40749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40750 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40751 set x ${MAKE-make}
40752 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40753 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
40754 $as_echo_n "(cached) " >&6
40755 else
40756 cat >conftest.make <<\_ACEOF
40757 SHELL = /bin/sh
40758 all:
40759 @echo '@@@%%%=$(MAKE)=@@@%%%'
40760 _ACEOF
40761 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40762 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40763 *@@@%%%=?*=@@@%%%*)
40764 eval ac_cv_prog_make_${ac_make}_set=yes;;
40765 *)
40766 eval ac_cv_prog_make_${ac_make}_set=no;;
40767 esac
40768 rm -f conftest.make
40769 fi
40770 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40772 $as_echo "yes" >&6; }
40773 SET_MAKE=
40774 else
40775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40776 $as_echo "no" >&6; }
40777 SET_MAKE="MAKE=${MAKE-make}"
40778 fi
40779
40780
40781
40782 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40783
40784
40785 if test "$USE_WIN32" = 1; then
40786 ac_config_commands="$ac_config_commands rcdefs.h"
40787
40788 fi
40789
40790 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40791
40792
40793 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40794
40795
40796 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40797
40798
40799 if test "$wx_cv_version_script" = "yes"; then
40800 ac_config_files="$ac_config_files version-script"
40801
40802 fi
40803 ac_config_files="$ac_config_files Makefile"
40804
40805
40806 ac_config_commands="$ac_config_commands wx-config"
40807
40808
40809
40810 if test "$wxWITH_SUBDIRS" != "no"; then
40811 if test "$wxUSE_GUI" = "yes"; then
40812 SUBDIRS="samples demos utils"
40813 else
40814 SUBDIRS="samples utils"
40815 fi
40816
40817
40818
40819 # Check whether --with-cppunit-prefix was given.
40820 if test "${with_cppunit_prefix+set}" = set; then :
40821 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40822 else
40823 cppunit_config_prefix=""
40824 fi
40825
40826
40827 # Check whether --with-cppunit-exec-prefix was given.
40828 if test "${with_cppunit_exec_prefix+set}" = set; then :
40829 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40830 else
40831 cppunit_config_exec_prefix=""
40832 fi
40833
40834
40835 if test x$cppunit_config_exec_prefix != x ; then
40836 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40837 if test x${CPPUNIT_CONFIG+set} != xset ; then
40838 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40839 fi
40840 fi
40841 if test x$cppunit_config_prefix != x ; then
40842 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40843 if test x${CPPUNIT_CONFIG+set} != xset ; then
40844 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40845 fi
40846 fi
40847
40848 # Extract the first word of "cppunit-config", so it can be a program name with args.
40849 set dummy cppunit-config; ac_word=$2
40850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40851 $as_echo_n "checking for $ac_word... " >&6; }
40852 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
40853 $as_echo_n "(cached) " >&6
40854 else
40855 case $CPPUNIT_CONFIG in
40856 [\\/]* | ?:[\\/]*)
40857 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40858 ;;
40859 *)
40860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40861 for as_dir in $PATH
40862 do
40863 IFS=$as_save_IFS
40864 test -z "$as_dir" && as_dir=.
40865 for ac_exec_ext in '' $ac_executable_extensions; do
40866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40867 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40869 break 2
40870 fi
40871 done
40872 done
40873 IFS=$as_save_IFS
40874
40875 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40876 ;;
40877 esac
40878 fi
40879 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40880 if test -n "$CPPUNIT_CONFIG"; then
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40882 $as_echo "$CPPUNIT_CONFIG" >&6; }
40883 else
40884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40885 $as_echo "no" >&6; }
40886 fi
40887
40888
40889 cppunit_version_min=1.8.0
40890
40891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40892 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40893 no_cppunit=""
40894 if test "$CPPUNIT_CONFIG" = "no" ; then
40895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40896 $as_echo "no" >&6; }
40897 no_cppunit=yes
40898 else
40899 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40900 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40901 cppunit_version=`$CPPUNIT_CONFIG --version`
40902
40903 cppunit_major_version=`echo $cppunit_version | \
40904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40905 cppunit_minor_version=`echo $cppunit_version | \
40906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40907 cppunit_micro_version=`echo $cppunit_version | \
40908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40909
40910 cppunit_major_min=`echo $cppunit_version_min | \
40911 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40912 cppunit_minor_min=`echo $cppunit_version_min | \
40913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40914 cppunit_micro_min=`echo $cppunit_version_min | \
40915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40916
40917 cppunit_version_proper=`expr \
40918 $cppunit_major_version \> $cppunit_major_min \| \
40919 $cppunit_major_version \= $cppunit_major_min \& \
40920 $cppunit_minor_version \> $cppunit_minor_min \| \
40921 $cppunit_major_version \= $cppunit_major_min \& \
40922 $cppunit_minor_version \= $cppunit_minor_min \& \
40923 $cppunit_micro_version \>= $cppunit_micro_min `
40924
40925 if test "$cppunit_version_proper" = "1" ; then
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40927 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
40928 else
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40930 $as_echo "no" >&6; }
40931 no_cppunit=yes
40932 fi
40933 fi
40934
40935 if test "x$no_cppunit" = x ; then
40936 SUBDIRS="$SUBDIRS tests"
40937 else
40938 CPPUNIT_CFLAGS=""
40939 CPPUNIT_LIBS=""
40940 :
40941 fi
40942
40943
40944
40945
40946
40947 for subdir in $SUBDIRS; do
40948 if test -d ${srcdir}/${subdir} ; then
40949 if test "$wxUSE_GUI" = "yes"; then
40950 if test ${subdir} = "samples"; then
40951 makefiles="samples/Makefile.in $makefiles"
40952 for sample in $SAMPLES_SUBDIRS; do
40953 if test -d $srcdir/samples/$sample; then
40954 makefiles="samples/$sample/Makefile.in $makefiles"
40955 fi
40956 done
40957 else
40958 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
40959 eval "disabled=\$$disabled_var"
40960 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
40961 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
40962 fi
40963 else
40964 if test ${subdir} = "samples"; then
40965 makefiles="samples/Makefile.in $makefiles"
40966 for sample in `echo $SAMPLES_SUBDIRS`; do
40967 if test -d $srcdir/samples/$sample; then
40968 makefiles="samples/$sample/Makefile.in $makefiles"
40969 fi
40970 done
40971 elif test ${subdir} = "utils"; then
40972 makefiles=""
40973 for util in ifacecheck ; do
40974 if test -d $srcdir/utils/$util ; then
40975 makefiles="utils/$util/src/Makefile.in \
40976 $makefiles"
40977 fi
40978 done
40979 else
40980 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40981 fi
40982 fi
40983
40984 for mkin in $makefiles ; do
40985 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40986 ac_config_files="$ac_config_files $mk"
40987
40988 done
40989 fi
40990 done
40991 fi
40992 cat >confcache <<\_ACEOF
40993 # This file is a shell script that caches the results of configure
40994 # tests run on this system so they can be shared between configure
40995 # scripts and configure runs, see configure's option --config-cache.
40996 # It is not useful on other systems. If it contains results you don't
40997 # want to keep, you may remove or edit it.
40998 #
40999 # config.status only pays attention to the cache file if you give it
41000 # the --recheck option to rerun configure.
41001 #
41002 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41003 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41004 # following values.
41005
41006 _ACEOF
41007
41008 # The following way of writing the cache mishandles newlines in values,
41009 # but we know of no workaround that is simple, portable, and efficient.
41010 # So, we kill variables containing newlines.
41011 # Ultrix sh set writes to stderr and can't be redirected directly,
41012 # and sets the high bit in the cache file unless we assign to the vars.
41013 (
41014 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41015 eval ac_val=\$$ac_var
41016 case $ac_val in #(
41017 *${as_nl}*)
41018 case $ac_var in #(
41019 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41020 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41021 esac
41022 case $ac_var in #(
41023 _ | IFS | as_nl) ;; #(
41024 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
41025 *) { eval $ac_var=; unset $ac_var;} ;;
41026 esac ;;
41027 esac
41028 done
41029
41030 (set) 2>&1 |
41031 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41032 *${as_nl}ac_space=\ *)
41033 # `set' does not quote correctly, so add quotes: double-quote
41034 # substitution turns \\\\ into \\, and sed turns \\ into \.
41035 sed -n \
41036 "s/'/'\\\\''/g;
41037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41038 ;; #(
41039 *)
41040 # `set' quotes correctly as required by POSIX, so do not add quotes.
41041 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41042 ;;
41043 esac |
41044 sort
41045 ) |
41046 sed '
41047 /^ac_cv_env_/b end
41048 t clear
41049 :clear
41050 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41051 t end
41052 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41053 :end' >>confcache
41054 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41055 if test -w "$cache_file"; then
41056 test "x$cache_file" != "x/dev/null" &&
41057 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41058 $as_echo "$as_me: updating cache $cache_file" >&6;}
41059 cat confcache >$cache_file
41060 else
41061 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41062 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41063 fi
41064 fi
41065 rm -f confcache
41066
41067 test "x$prefix" = xNONE && prefix=$ac_default_prefix
41068 # Let make expand exec_prefix.
41069 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41070
41071 DEFS=-DHAVE_CONFIG_H
41072
41073 ac_libobjs=
41074 ac_ltlibobjs=
41075 U=
41076 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41077 # 1. Remove the extension, and $U if already installed.
41078 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41079 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
41080 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41081 # will be set to the directory where LIBOBJS objects are built.
41082 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41083 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
41084 done
41085 LIBOBJS=$ac_libobjs
41086
41087 LTLIBOBJS=$ac_ltlibobjs
41088
41089
41090
41091 : ${CONFIG_STATUS=./config.status}
41092 ac_write_fail=0
41093 ac_clean_files_save=$ac_clean_files
41094 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
41095 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41096 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41097 as_write_fail=0
41098 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41099 #! $SHELL
41100 # Generated by $as_me.
41101 # Run this file to recreate the current configuration.
41102 # Compiler output produced by configure, useful for debugging
41103 # configure, is in config.log if it exists.
41104
41105 debug=false
41106 ac_cs_recheck=false
41107 ac_cs_silent=false
41108
41109 SHELL=\${CONFIG_SHELL-$SHELL}
41110 export SHELL
41111 _ASEOF
41112 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
41113 ## -------------------- ##
41114 ## M4sh Initialization. ##
41115 ## -------------------- ##
41116
41117 # Be more Bourne compatible
41118 DUALCASE=1; export DUALCASE # for MKS sh
41119 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
41120 emulate sh
41121 NULLCMD=:
41122 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41123 # is contrary to our usage. Disable this feature.
41124 alias -g '${1+"$@"}'='"$@"'
41125 setopt NO_GLOB_SUBST
41126 else
41127 case `(set -o) 2>/dev/null` in #(
41128 *posix*) :
41129 set -o posix ;; #(
41130 *) :
41131 ;;
41132 esac
41133 fi
41134
41135
41136 as_nl='
41137 '
41138 export as_nl
41139 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41140 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41141 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41142 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41143 # Prefer a ksh shell builtin over an external printf program on Solaris,
41144 # but without wasting forks for bash or zsh.
41145 if test -z "$BASH_VERSION$ZSH_VERSION" \
41146 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41147 as_echo='print -r --'
41148 as_echo_n='print -rn --'
41149 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41150 as_echo='printf %s\n'
41151 as_echo_n='printf %s'
41152 else
41153 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41154 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
41155 as_echo_n='/usr/ucb/echo -n'
41156 else
41157 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41158 as_echo_n_body='eval
41159 arg=$1;
41160 case $arg in #(
41161 *"$as_nl"*)
41162 expr "X$arg" : "X\\(.*\\)$as_nl";
41163 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41164 esac;
41165 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41166 '
41167 export as_echo_n_body
41168 as_echo_n='sh -c $as_echo_n_body as_echo'
41169 fi
41170 export as_echo_body
41171 as_echo='sh -c $as_echo_body as_echo'
41172 fi
41173
41174 # The user is always right.
41175 if test "${PATH_SEPARATOR+set}" != set; then
41176 PATH_SEPARATOR=:
41177 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41178 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41179 PATH_SEPARATOR=';'
41180 }
41181 fi
41182
41183
41184 # IFS
41185 # We need space, tab and new line, in precisely that order. Quoting is
41186 # there to prevent editors from complaining about space-tab.
41187 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41188 # splitting by setting IFS to empty value.)
41189 IFS=" "" $as_nl"
41190
41191 # Find who we are. Look in the path if we contain no directory separator.
41192 case $0 in #((
41193 *[\\/]* ) as_myself=$0 ;;
41194 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41195 for as_dir in $PATH
41196 do
41197 IFS=$as_save_IFS
41198 test -z "$as_dir" && as_dir=.
41199 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41200 done
41201 IFS=$as_save_IFS
41202
41203 ;;
41204 esac
41205 # We did not find ourselves, most probably we were run as `sh COMMAND'
41206 # in which case we are not to be found in the path.
41207 if test "x$as_myself" = x; then
41208 as_myself=$0
41209 fi
41210 if test ! -f "$as_myself"; then
41211 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41212 exit 1
41213 fi
41214
41215 # Unset variables that we do not need and which cause bugs (e.g. in
41216 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41217 # suppresses any "Segmentation fault" message there. '((' could
41218 # trigger a bug in pdksh 5.2.14.
41219 for as_var in BASH_ENV ENV MAIL MAILPATH
41220 do eval test x\${$as_var+set} = xset \
41221 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41222 done
41223 PS1='$ '
41224 PS2='> '
41225 PS4='+ '
41226
41227 # NLS nuisances.
41228 LC_ALL=C
41229 export LC_ALL
41230 LANGUAGE=C
41231 export LANGUAGE
41232
41233 # CDPATH.
41234 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41235
41236
41237 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41238 # ----------------------------------------
41239 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41240 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41241 # script with STATUS, using 1 if that was 0.
41242 as_fn_error ()
41243 {
41244 as_status=$1; test $as_status -eq 0 && as_status=1
41245 if test "$4"; then
41246 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41247 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41248 fi
41249 $as_echo "$as_me: error: $2" >&2
41250 as_fn_exit $as_status
41251 } # as_fn_error
41252
41253
41254 # as_fn_set_status STATUS
41255 # -----------------------
41256 # Set $? to STATUS, without forking.
41257 as_fn_set_status ()
41258 {
41259 return $1
41260 } # as_fn_set_status
41261
41262 # as_fn_exit STATUS
41263 # -----------------
41264 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41265 as_fn_exit ()
41266 {
41267 set +e
41268 as_fn_set_status $1
41269 exit $1
41270 } # as_fn_exit
41271
41272 # as_fn_unset VAR
41273 # ---------------
41274 # Portably unset VAR.
41275 as_fn_unset ()
41276 {
41277 { eval $1=; unset $1;}
41278 }
41279 as_unset=as_fn_unset
41280 # as_fn_append VAR VALUE
41281 # ----------------------
41282 # Append the text in VALUE to the end of the definition contained in VAR. Take
41283 # advantage of any shell optimizations that allow amortized linear growth over
41284 # repeated appends, instead of the typical quadratic growth present in naive
41285 # implementations.
41286 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41287 eval 'as_fn_append ()
41288 {
41289 eval $1+=\$2
41290 }'
41291 else
41292 as_fn_append ()
41293 {
41294 eval $1=\$$1\$2
41295 }
41296 fi # as_fn_append
41297
41298 # as_fn_arith ARG...
41299 # ------------------
41300 # Perform arithmetic evaluation on the ARGs, and store the result in the
41301 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41302 # must be portable across $(()) and expr.
41303 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41304 eval 'as_fn_arith ()
41305 {
41306 as_val=$(( $* ))
41307 }'
41308 else
41309 as_fn_arith ()
41310 {
41311 as_val=`expr "$@" || test $? -eq 1`
41312 }
41313 fi # as_fn_arith
41314
41315
41316 if expr a : '\(a\)' >/dev/null 2>&1 &&
41317 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41318 as_expr=expr
41319 else
41320 as_expr=false
41321 fi
41322
41323 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41324 as_basename=basename
41325 else
41326 as_basename=false
41327 fi
41328
41329 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41330 as_dirname=dirname
41331 else
41332 as_dirname=false
41333 fi
41334
41335 as_me=`$as_basename -- "$0" ||
41336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41337 X"$0" : 'X\(//\)$' \| \
41338 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41339 $as_echo X/"$0" |
41340 sed '/^.*\/\([^/][^/]*\)\/*$/{
41341 s//\1/
41342 q
41343 }
41344 /^X\/\(\/\/\)$/{
41345 s//\1/
41346 q
41347 }
41348 /^X\/\(\/\).*/{
41349 s//\1/
41350 q
41351 }
41352 s/.*/./; q'`
41353
41354 # Avoid depending upon Character Ranges.
41355 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41356 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41357 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41358 as_cr_digits='0123456789'
41359 as_cr_alnum=$as_cr_Letters$as_cr_digits
41360
41361 ECHO_C= ECHO_N= ECHO_T=
41362 case `echo -n x` in #(((((
41363 -n*)
41364 case `echo 'xy\c'` in
41365 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41366 xy) ECHO_C='\c';;
41367 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41368 ECHO_T=' ';;
41369 esac;;
41370 *)
41371 ECHO_N='-n';;
41372 esac
41373
41374 rm -f conf$$ conf$$.exe conf$$.file
41375 if test -d conf$$.dir; then
41376 rm -f conf$$.dir/conf$$.file
41377 else
41378 rm -f conf$$.dir
41379 mkdir conf$$.dir 2>/dev/null
41380 fi
41381 if (echo >conf$$.file) 2>/dev/null; then
41382 if ln -s conf$$.file conf$$ 2>/dev/null; then
41383 as_ln_s='ln -s'
41384 # ... but there are two gotchas:
41385 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41386 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41387 # In both cases, we have to default to `cp -p'.
41388 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41389 as_ln_s='cp -p'
41390 elif ln conf$$.file conf$$ 2>/dev/null; then
41391 as_ln_s=ln
41392 else
41393 as_ln_s='cp -p'
41394 fi
41395 else
41396 as_ln_s='cp -p'
41397 fi
41398 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41399 rmdir conf$$.dir 2>/dev/null
41400
41401
41402 # as_fn_mkdir_p
41403 # -------------
41404 # Create "$as_dir" as a directory, including parents if necessary.
41405 as_fn_mkdir_p ()
41406 {
41407
41408 case $as_dir in #(
41409 -*) as_dir=./$as_dir;;
41410 esac
41411 test -d "$as_dir" || eval $as_mkdir_p || {
41412 as_dirs=
41413 while :; do
41414 case $as_dir in #(
41415 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41416 *) as_qdir=$as_dir;;
41417 esac
41418 as_dirs="'$as_qdir' $as_dirs"
41419 as_dir=`$as_dirname -- "$as_dir" ||
41420 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41421 X"$as_dir" : 'X\(//\)[^/]' \| \
41422 X"$as_dir" : 'X\(//\)$' \| \
41423 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41424 $as_echo X"$as_dir" |
41425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41426 s//\1/
41427 q
41428 }
41429 /^X\(\/\/\)[^/].*/{
41430 s//\1/
41431 q
41432 }
41433 /^X\(\/\/\)$/{
41434 s//\1/
41435 q
41436 }
41437 /^X\(\/\).*/{
41438 s//\1/
41439 q
41440 }
41441 s/.*/./; q'`
41442 test -d "$as_dir" && break
41443 done
41444 test -z "$as_dirs" || eval "mkdir $as_dirs"
41445 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41446
41447
41448 } # as_fn_mkdir_p
41449 if mkdir -p . 2>/dev/null; then
41450 as_mkdir_p='mkdir -p "$as_dir"'
41451 else
41452 test -d ./-p && rmdir ./-p
41453 as_mkdir_p=false
41454 fi
41455
41456 if test -x / >/dev/null 2>&1; then
41457 as_test_x='test -x'
41458 else
41459 if ls -dL / >/dev/null 2>&1; then
41460 as_ls_L_option=L
41461 else
41462 as_ls_L_option=
41463 fi
41464 as_test_x='
41465 eval sh -c '\''
41466 if test -d "$1"; then
41467 test -d "$1/.";
41468 else
41469 case $1 in #(
41470 -*)set "./$1";;
41471 esac;
41472 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41473 ???[sx]*):;;*)false;;esac;fi
41474 '\'' sh
41475 '
41476 fi
41477 as_executable_p=$as_test_x
41478
41479 # Sed expression to map a string onto a valid CPP name.
41480 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41481
41482 # Sed expression to map a string onto a valid variable name.
41483 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41484
41485
41486 exec 6>&1
41487 ## ----------------------------------- ##
41488 ## Main body of $CONFIG_STATUS script. ##
41489 ## ----------------------------------- ##
41490 _ASEOF
41491 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41492
41493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41494 # Save the log message, to keep $0 and so on meaningful, and to
41495 # report actual input values of CONFIG_FILES etc. instead of their
41496 # values after options handling.
41497 ac_log="
41498 This file was extended by wxWidgets $as_me 2.9.5, which was
41499 generated by GNU Autoconf 2.67. Invocation command line was
41500
41501 CONFIG_FILES = $CONFIG_FILES
41502 CONFIG_HEADERS = $CONFIG_HEADERS
41503 CONFIG_LINKS = $CONFIG_LINKS
41504 CONFIG_COMMANDS = $CONFIG_COMMANDS
41505 $ $0 $@
41506
41507 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41508 "
41509
41510 _ACEOF
41511
41512 case $ac_config_files in *"
41513 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41514 esac
41515
41516 case $ac_config_headers in *"
41517 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41518 esac
41519
41520
41521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41522 # Files that config.status was made for.
41523 config_files="$ac_config_files"
41524 config_headers="$ac_config_headers"
41525 config_commands="$ac_config_commands"
41526
41527 _ACEOF
41528
41529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41530 ac_cs_usage="\
41531 \`$as_me' instantiates files and other configuration actions
41532 from templates according to the current configuration. Unless the files
41533 and actions are specified as TAGs, all are instantiated by default.
41534
41535 Usage: $0 [OPTION]... [TAG]...
41536
41537 -h, --help print this help, then exit
41538 -V, --version print version number and configuration settings, then exit
41539 --config print configuration, then exit
41540 -q, --quiet, --silent
41541 do not print progress messages
41542 -d, --debug don't remove temporary files
41543 --recheck update $as_me by reconfiguring in the same conditions
41544 --file=FILE[:TEMPLATE]
41545 instantiate the configuration file FILE
41546 --header=FILE[:TEMPLATE]
41547 instantiate the configuration header FILE
41548
41549 Configuration files:
41550 $config_files
41551
41552 Configuration headers:
41553 $config_headers
41554
41555 Configuration commands:
41556 $config_commands
41557
41558 Report bugs to <wx-dev@lists.wxwidgets.org>."
41559
41560 _ACEOF
41561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41562 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41563 ac_cs_version="\\
41564 wxWidgets config.status 2.9.5
41565 configured by $0, generated by GNU Autoconf 2.67,
41566 with options \\"\$ac_cs_config\\"
41567
41568 Copyright (C) 2010 Free Software Foundation, Inc.
41569 This config.status script is free software; the Free Software Foundation
41570 gives unlimited permission to copy, distribute and modify it."
41571
41572 ac_pwd='$ac_pwd'
41573 srcdir='$srcdir'
41574 INSTALL='$INSTALL'
41575 test -n "\$AWK" || AWK=awk
41576 _ACEOF
41577
41578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41579 # The default lists apply if the user does not specify any file.
41580 ac_need_defaults=:
41581 while test $# != 0
41582 do
41583 case $1 in
41584 --*=?*)
41585 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41586 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41587 ac_shift=:
41588 ;;
41589 --*=)
41590 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41591 ac_optarg=
41592 ac_shift=:
41593 ;;
41594 *)
41595 ac_option=$1
41596 ac_optarg=$2
41597 ac_shift=shift
41598 ;;
41599 esac
41600
41601 case $ac_option in
41602 # Handling of the options.
41603 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41604 ac_cs_recheck=: ;;
41605 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41606 $as_echo "$ac_cs_version"; exit ;;
41607 --config | --confi | --conf | --con | --co | --c )
41608 $as_echo "$ac_cs_config"; exit ;;
41609 --debug | --debu | --deb | --de | --d | -d )
41610 debug=: ;;
41611 --file | --fil | --fi | --f )
41612 $ac_shift
41613 case $ac_optarg in
41614 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41615 '') as_fn_error $? "missing file argument" ;;
41616 esac
41617 as_fn_append CONFIG_FILES " '$ac_optarg'"
41618 ac_need_defaults=false;;
41619 --header | --heade | --head | --hea )
41620 $ac_shift
41621 case $ac_optarg in
41622 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41623 esac
41624 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41625 ac_need_defaults=false;;
41626 --he | --h)
41627 # Conflict between --help and --header
41628 as_fn_error $? "ambiguous option: \`$1'
41629 Try \`$0 --help' for more information.";;
41630 --help | --hel | -h )
41631 $as_echo "$ac_cs_usage"; exit ;;
41632 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41633 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41634 ac_cs_silent=: ;;
41635
41636 # This is an error.
41637 -*) as_fn_error $? "unrecognized option: \`$1'
41638 Try \`$0 --help' for more information." ;;
41639
41640 *) as_fn_append ac_config_targets " $1"
41641 ac_need_defaults=false ;;
41642
41643 esac
41644 shift
41645 done
41646
41647 ac_configure_extra_args=
41648
41649 if $ac_cs_silent; then
41650 exec 6>/dev/null
41651 ac_configure_extra_args="$ac_configure_extra_args --silent"
41652 fi
41653
41654 _ACEOF
41655 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41656 if \$ac_cs_recheck; then
41657 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41658 shift
41659 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41660 CONFIG_SHELL='$SHELL'
41661 export CONFIG_SHELL
41662 exec "\$@"
41663 fi
41664
41665 _ACEOF
41666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41667 exec 5>>config.log
41668 {
41669 echo
41670 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41671 ## Running $as_me. ##
41672 _ASBOX
41673 $as_echo "$ac_log"
41674 } >&5
41675
41676 _ACEOF
41677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41678 #
41679 # INIT-COMMANDS
41680 #
41681
41682 CPP="$CPP"
41683 infile="$srcdir/include/wx/msw/genrcdefs.h"
41684 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41685
41686
41687 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41688 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41689 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41690 LN_S="${LN_S}"
41691
41692
41693 _ACEOF
41694
41695 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41696
41697 # Handling of arguments.
41698 for ac_config_target in $ac_config_targets
41699 do
41700 case $ac_config_target in
41701 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41702 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41703 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41704 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41705 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41706 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41707 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41708 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41709 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41710
41711 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
41712 esac
41713 done
41714
41715
41716 # If the user did not use the arguments to specify the items to instantiate,
41717 # then the envvar interface is used. Set only those that are not.
41718 # We use the long form for the default assignment because of an extremely
41719 # bizarre bug on SunOS 4.1.3.
41720 if $ac_need_defaults; then
41721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41723 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41724 fi
41725
41726 # Have a temporary directory for convenience. Make it in the build tree
41727 # simply because there is no reason against having it here, and in addition,
41728 # creating and moving files from /tmp can sometimes cause problems.
41729 # Hook for its removal unless debugging.
41730 # Note that there is a small window in which the directory will not be cleaned:
41731 # after its creation but before its name has been assigned to `$tmp'.
41732 $debug ||
41733 {
41734 tmp=
41735 trap 'exit_status=$?
41736 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
41737 ' 0
41738 trap 'as_fn_exit 1' 1 2 13 15
41739 }
41740 # Create a (secure) tmp directory for tmp files.
41741
41742 {
41743 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41744 test -n "$tmp" && test -d "$tmp"
41745 } ||
41746 {
41747 tmp=./conf$$-$RANDOM
41748 (umask 077 && mkdir "$tmp")
41749 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41750
41751 # Set up the scripts for CONFIG_FILES section.
41752 # No need to generate them if there are no CONFIG_FILES.
41753 # This happens for instance with `./config.status config.h'.
41754 if test -n "$CONFIG_FILES"; then
41755
41756
41757 ac_cr=`echo X | tr X '\015'`
41758 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41759 # But we know of no other shell where ac_cr would be empty at this
41760 # point, so we can use a bashism as a fallback.
41761 if test "x$ac_cr" = x; then
41762 eval ac_cr=\$\'\\r\'
41763 fi
41764 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41765 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41766 ac_cs_awk_cr='\\r'
41767 else
41768 ac_cs_awk_cr=$ac_cr
41769 fi
41770
41771 echo 'BEGIN {' >"$tmp/subs1.awk" &&
41772 _ACEOF
41773
41774
41775 {
41776 echo "cat >conf$$subs.awk <<_ACEOF" &&
41777 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41778 echo "_ACEOF"
41779 } >conf$$subs.sh ||
41780 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41781 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41782 ac_delim='%!_!# '
41783 for ac_last_try in false false false false false :; do
41784 . ./conf$$subs.sh ||
41785 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41786
41787 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41788 if test $ac_delim_n = $ac_delim_num; then
41789 break
41790 elif $ac_last_try; then
41791 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41792 else
41793 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41794 fi
41795 done
41796 rm -f conf$$subs.sh
41797
41798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41799 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
41800 _ACEOF
41801 sed -n '
41802 h
41803 s/^/S["/; s/!.*/"]=/
41804 p
41805 g
41806 s/^[^!]*!//
41807 :repl
41808 t repl
41809 s/'"$ac_delim"'$//
41810 t delim
41811 :nl
41812 h
41813 s/\(.\{148\}\)..*/\1/
41814 t more1
41815 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41816 p
41817 n
41818 b repl
41819 :more1
41820 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41821 p
41822 g
41823 s/.\{148\}//
41824 t nl
41825 :delim
41826 h
41827 s/\(.\{148\}\)..*/\1/
41828 t more2
41829 s/["\\]/\\&/g; s/^/"/; s/$/"/
41830 p
41831 b
41832 :more2
41833 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41834 p
41835 g
41836 s/.\{148\}//
41837 t delim
41838 ' <conf$$subs.awk | sed '
41839 /^[^""]/{
41840 N
41841 s/\n//
41842 }
41843 ' >>$CONFIG_STATUS || ac_write_fail=1
41844 rm -f conf$$subs.awk
41845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41846 _ACAWK
41847 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
41848 for (key in S) S_is_set[key] = 1
41849 FS = "\a"
41850
41851 }
41852 {
41853 line = $ 0
41854 nfields = split(line, field, "@")
41855 substed = 0
41856 len = length(field[1])
41857 for (i = 2; i < nfields; i++) {
41858 key = field[i]
41859 keylen = length(key)
41860 if (S_is_set[key]) {
41861 value = S[key]
41862 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41863 len += length(value) + length(field[++i])
41864 substed = 1
41865 } else
41866 len += 1 + keylen
41867 }
41868
41869 print line
41870 }
41871
41872 _ACAWK
41873 _ACEOF
41874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41875 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41876 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41877 else
41878 cat
41879 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
41880 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
41881 _ACEOF
41882
41883 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41884 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
41885 # trailing colons and then remove the whole line if VPATH becomes empty
41886 # (actually we leave an empty line to preserve line numbers).
41887 if test "x$srcdir" = x.; then
41888 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41889 h
41890 s///
41891 s/^/:/
41892 s/[ ]*$/:/
41893 s/:\$(srcdir):/:/g
41894 s/:\${srcdir}:/:/g
41895 s/:@srcdir@:/:/g
41896 s/^:*//
41897 s/:*$//
41898 x
41899 s/\(=[ ]*\).*/\1/
41900 G
41901 s/\n//
41902 s/^[^=]*=[ ]*$//
41903 }'
41904 fi
41905
41906 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41907 fi # test -n "$CONFIG_FILES"
41908
41909 # Set up the scripts for CONFIG_HEADERS section.
41910 # No need to generate them if there are no CONFIG_HEADERS.
41911 # This happens for instance with `./config.status Makefile'.
41912 if test -n "$CONFIG_HEADERS"; then
41913 cat >"$tmp/defines.awk" <<\_ACAWK ||
41914 BEGIN {
41915 _ACEOF
41916
41917 # Transform confdefs.h into an awk script `defines.awk', embedded as
41918 # here-document in config.status, that substitutes the proper values into
41919 # config.h.in to produce config.h.
41920
41921 # Create a delimiter string that does not exist in confdefs.h, to ease
41922 # handling of long lines.
41923 ac_delim='%!_!# '
41924 for ac_last_try in false false :; do
41925 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
41926 if test -z "$ac_t"; then
41927 break
41928 elif $ac_last_try; then
41929 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
41930 else
41931 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41932 fi
41933 done
41934
41935 # For the awk script, D is an array of macro values keyed by name,
41936 # likewise P contains macro parameters if any. Preserve backslash
41937 # newline sequences.
41938
41939 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
41940 sed -n '
41941 s/.\{148\}/&'"$ac_delim"'/g
41942 t rset
41943 :rset
41944 s/^[ ]*#[ ]*define[ ][ ]*/ /
41945 t def
41946 d
41947 :def
41948 s/\\$//
41949 t bsnl
41950 s/["\\]/\\&/g
41951 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
41952 D["\1"]=" \3"/p
41953 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
41954 d
41955 :bsnl
41956 s/["\\]/\\&/g
41957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
41958 D["\1"]=" \3\\\\\\n"\\/p
41959 t cont
41960 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
41961 t cont
41962 d
41963 :cont
41964 n
41965 s/.\{148\}/&'"$ac_delim"'/g
41966 t clear
41967 :clear
41968 s/\\$//
41969 t bsnlc
41970 s/["\\]/\\&/g; s/^/"/; s/$/"/p
41971 d
41972 :bsnlc
41973 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
41974 b cont
41975 ' <confdefs.h | sed '
41976 s/'"$ac_delim"'/"\\\
41977 "/g' >>$CONFIG_STATUS || ac_write_fail=1
41978
41979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41980 for (key in D) D_is_set[key] = 1
41981 FS = "\a"
41982 }
41983 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
41984 line = \$ 0
41985 split(line, arg, " ")
41986 if (arg[1] == "#") {
41987 defundef = arg[2]
41988 mac1 = arg[3]
41989 } else {
41990 defundef = substr(arg[1], 2)
41991 mac1 = arg[2]
41992 }
41993 split(mac1, mac2, "(") #)
41994 macro = mac2[1]
41995 prefix = substr(line, 1, index(line, defundef) - 1)
41996 if (D_is_set[macro]) {
41997 # Preserve the white space surrounding the "#".
41998 print prefix "define", macro P[macro] D[macro]
41999 next
42000 } else {
42001 # Replace #undef with comments. This is necessary, for example,
42002 # in the case of _POSIX_SOURCE, which is predefined and required
42003 # on some systems where configure will not decide to define it.
42004 if (defundef == "undef") {
42005 print "/*", prefix defundef, macro, "*/"
42006 next
42007 }
42008 }
42009 }
42010 { print }
42011 _ACAWK
42012 _ACEOF
42013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42014 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
42015 fi # test -n "$CONFIG_HEADERS"
42016
42017
42018 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42019 shift
42020 for ac_tag
42021 do
42022 case $ac_tag in
42023 :[FHLC]) ac_mode=$ac_tag; continue;;
42024 esac
42025 case $ac_mode$ac_tag in
42026 :[FHL]*:*);;
42027 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
42028 :[FH]-) ac_tag=-:-;;
42029 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
42030 esac
42031 ac_save_IFS=$IFS
42032 IFS=:
42033 set x $ac_tag
42034 IFS=$ac_save_IFS
42035 shift
42036 ac_file=$1
42037 shift
42038
42039 case $ac_mode in
42040 :L) ac_source=$1;;
42041 :[FH])
42042 ac_file_inputs=
42043 for ac_f
42044 do
42045 case $ac_f in
42046 -) ac_f="$tmp/stdin";;
42047 *) # Look for the file first in the build tree, then in the source tree
42048 # (if the path is not absolute). The absolute path cannot be DOS-style,
42049 # because $ac_f cannot contain `:'.
42050 test -f "$ac_f" ||
42051 case $ac_f in
42052 [\\/$]*) false;;
42053 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
42054 esac ||
42055 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
42056 esac
42057 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42058 as_fn_append ac_file_inputs " '$ac_f'"
42059 done
42060
42061 # Let's still pretend it is `configure' which instantiates (i.e., don't
42062 # use $as_me), people would be surprised to read:
42063 # /* config.h. Generated by config.status. */
42064 configure_input='Generated from '`
42065 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42066 `' by configure.'
42067 if test x"$ac_file" != x-; then
42068 configure_input="$ac_file. $configure_input"
42069 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42070 $as_echo "$as_me: creating $ac_file" >&6;}
42071 fi
42072 # Neutralize special characters interpreted by sed in replacement strings.
42073 case $configure_input in #(
42074 *\&* | *\|* | *\\* )
42075 ac_sed_conf_input=`$as_echo "$configure_input" |
42076 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42077 *) ac_sed_conf_input=$configure_input;;
42078 esac
42079
42080 case $ac_tag in
42081 *:-:* | *:-) cat >"$tmp/stdin" \
42082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
42083 esac
42084 ;;
42085 esac
42086
42087 ac_dir=`$as_dirname -- "$ac_file" ||
42088 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42089 X"$ac_file" : 'X\(//\)[^/]' \| \
42090 X"$ac_file" : 'X\(//\)$' \| \
42091 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42092 $as_echo X"$ac_file" |
42093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42094 s//\1/
42095 q
42096 }
42097 /^X\(\/\/\)[^/].*/{
42098 s//\1/
42099 q
42100 }
42101 /^X\(\/\/\)$/{
42102 s//\1/
42103 q
42104 }
42105 /^X\(\/\).*/{
42106 s//\1/
42107 q
42108 }
42109 s/.*/./; q'`
42110 as_dir="$ac_dir"; as_fn_mkdir_p
42111 ac_builddir=.
42112
42113 case "$ac_dir" in
42114 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42115 *)
42116 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42117 # A ".." for each directory in $ac_dir_suffix.
42118 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42119 case $ac_top_builddir_sub in
42120 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42121 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42122 esac ;;
42123 esac
42124 ac_abs_top_builddir=$ac_pwd
42125 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42126 # for backward compatibility:
42127 ac_top_builddir=$ac_top_build_prefix
42128
42129 case $srcdir in
42130 .) # We are building in place.
42131 ac_srcdir=.
42132 ac_top_srcdir=$ac_top_builddir_sub
42133 ac_abs_top_srcdir=$ac_pwd ;;
42134 [\\/]* | ?:[\\/]* ) # Absolute name.
42135 ac_srcdir=$srcdir$ac_dir_suffix;
42136 ac_top_srcdir=$srcdir
42137 ac_abs_top_srcdir=$srcdir ;;
42138 *) # Relative name.
42139 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42140 ac_top_srcdir=$ac_top_build_prefix$srcdir
42141 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42142 esac
42143 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42144
42145
42146 case $ac_mode in
42147 :F)
42148 #
42149 # CONFIG_FILE
42150 #
42151
42152 case $INSTALL in
42153 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
42154 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
42155 esac
42156 _ACEOF
42157
42158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42159 # If the template does not know about datarootdir, expand it.
42160 # FIXME: This hack should be removed a few years after 2.60.
42161 ac_datarootdir_hack=; ac_datarootdir_seen=
42162 ac_sed_dataroot='
42163 /datarootdir/ {
42164 p
42165 q
42166 }
42167 /@datadir@/p
42168 /@docdir@/p
42169 /@infodir@/p
42170 /@localedir@/p
42171 /@mandir@/p'
42172 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42173 *datarootdir*) ac_datarootdir_seen=yes;;
42174 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
42175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42176 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42177 _ACEOF
42178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42179 ac_datarootdir_hack='
42180 s&@datadir@&$datadir&g
42181 s&@docdir@&$docdir&g
42182 s&@infodir@&$infodir&g
42183 s&@localedir@&$localedir&g
42184 s&@mandir@&$mandir&g
42185 s&\\\${datarootdir}&$datarootdir&g' ;;
42186 esac
42187 _ACEOF
42188
42189 # Neutralize VPATH when `$srcdir' = `.'.
42190 # Shell code in configure.ac might set extrasub.
42191 # FIXME: do we really want to maintain this feature?
42192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42193 ac_sed_extra="$ac_vpsub
42194 $extrasub
42195 _ACEOF
42196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42197 :t
42198 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42199 s|@configure_input@|$ac_sed_conf_input|;t t
42200 s&@top_builddir@&$ac_top_builddir_sub&;t t
42201 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42202 s&@srcdir@&$ac_srcdir&;t t
42203 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42204 s&@top_srcdir@&$ac_top_srcdir&;t t
42205 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42206 s&@builddir@&$ac_builddir&;t t
42207 s&@abs_builddir@&$ac_abs_builddir&;t t
42208 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42209 s&@INSTALL@&$ac_INSTALL&;t t
42210 $ac_datarootdir_hack
42211 "
42212 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
42213 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42214
42215 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42216 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
42217 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
42218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42219 which seems to be undefined. Please make sure it is defined" >&5
42220 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42221 which seems to be undefined. Please make sure it is defined" >&2;}
42222
42223 rm -f "$tmp/stdin"
42224 case $ac_file in
42225 -) cat "$tmp/out" && rm -f "$tmp/out";;
42226 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
42227 esac \
42228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42229 ;;
42230 :H)
42231 #
42232 # CONFIG_HEADER
42233 #
42234 if test x"$ac_file" != x-; then
42235 {
42236 $as_echo "/* $configure_input */" \
42237 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
42238 } >"$tmp/config.h" \
42239 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42240 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
42241 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42242 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42243 else
42244 rm -f "$ac_file"
42245 mv "$tmp/config.h" "$ac_file" \
42246 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42247 fi
42248 else
42249 $as_echo "/* $configure_input */" \
42250 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
42251 || as_fn_error $? "could not create -" "$LINENO" 5
42252 fi
42253 ;;
42254
42255 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42256 $as_echo "$as_me: executing $ac_file commands" >&6;}
42257 ;;
42258 esac
42259
42260
42261 case $ac_file$ac_mode in
42262 "rcdefs.h":C)
42263 mkdir -p $outdir &&
42264 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42265 ;;
42266 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42267 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42268 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42269 "wx-config":C) rm -f wx-config
42270 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42271 ;;
42272
42273 esac
42274 done # for ac_tag
42275
42276
42277 as_fn_exit 0
42278 _ACEOF
42279 ac_clean_files=$ac_clean_files_save
42280
42281 test $ac_write_fail = 0 ||
42282 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42283
42284
42285 # configure is writing to config.log, and then calls config.status.
42286 # config.status does its own redirection, appending to config.log.
42287 # Unfortunately, on DOS this fails, as config.log is still kept open
42288 # by configure, so config.status won't be able to write to it; its
42289 # output is simply discarded. So we exec the FD to /dev/null,
42290 # effectively closing config.log, so it can be properly (re)opened and
42291 # appended to by config.status. When coming back to configure, we
42292 # need to make the FD available again.
42293 if test "$no_create" != yes; then
42294 ac_cs_success=:
42295 ac_config_status_args=
42296 test "$silent" = yes &&
42297 ac_config_status_args="$ac_config_status_args --quiet"
42298 exec 5>/dev/null
42299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42300 exec 5>>config.log
42301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42302 # would make configure fail if this is the last instruction.
42303 $ac_cs_success || as_fn_exit 1
42304 fi
42305
42306 #
42307 # CONFIG_SUBDIRS section.
42308 #
42309 if test "$no_recursion" != yes; then
42310
42311 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42312 # so they do not pile up.
42313 ac_sub_configure_args=
42314 ac_prev=
42315 eval "set x $ac_configure_args"
42316 shift
42317 for ac_arg
42318 do
42319 if test -n "$ac_prev"; then
42320 ac_prev=
42321 continue
42322 fi
42323 case $ac_arg in
42324 -cache-file | --cache-file | --cache-fil | --cache-fi \
42325 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42326 ac_prev=cache_file ;;
42327 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42328 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42329 | --c=*)
42330 ;;
42331 --config-cache | -C)
42332 ;;
42333 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42334 ac_prev=srcdir ;;
42335 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42336 ;;
42337 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42338 ac_prev=prefix ;;
42339 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42340 ;;
42341 --disable-option-checking)
42342 ;;
42343 *)
42344 case $ac_arg in
42345 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42346 esac
42347 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42348 esac
42349 done
42350
42351 # Always prepend --prefix to ensure using the same prefix
42352 # in subdir configurations.
42353 ac_arg="--prefix=$prefix"
42354 case $ac_arg in
42355 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42356 esac
42357 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42358
42359 # Pass --silent
42360 if test "$silent" = yes; then
42361 ac_sub_configure_args="--silent $ac_sub_configure_args"
42362 fi
42363
42364 # Always prepend --disable-option-checking to silence warnings, since
42365 # different subdirs can have different --enable and --with options.
42366 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42367
42368 ac_popdir=`pwd`
42369 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42370
42371 # Do not complain, so a configure script can configure whichever
42372 # parts of a large source tree are present.
42373 test -d "$srcdir/$ac_dir" || continue
42374
42375 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42376 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42377 $as_echo "$ac_msg" >&6
42378 as_dir="$ac_dir"; as_fn_mkdir_p
42379 ac_builddir=.
42380
42381 case "$ac_dir" in
42382 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42383 *)
42384 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42385 # A ".." for each directory in $ac_dir_suffix.
42386 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42387 case $ac_top_builddir_sub in
42388 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42389 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42390 esac ;;
42391 esac
42392 ac_abs_top_builddir=$ac_pwd
42393 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42394 # for backward compatibility:
42395 ac_top_builddir=$ac_top_build_prefix
42396
42397 case $srcdir in
42398 .) # We are building in place.
42399 ac_srcdir=.
42400 ac_top_srcdir=$ac_top_builddir_sub
42401 ac_abs_top_srcdir=$ac_pwd ;;
42402 [\\/]* | ?:[\\/]* ) # Absolute name.
42403 ac_srcdir=$srcdir$ac_dir_suffix;
42404 ac_top_srcdir=$srcdir
42405 ac_abs_top_srcdir=$srcdir ;;
42406 *) # Relative name.
42407 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42408 ac_top_srcdir=$ac_top_build_prefix$srcdir
42409 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42410 esac
42411 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42412
42413
42414 cd "$ac_dir"
42415
42416 # Check for guested configure; otherwise get Cygnus style configure.
42417 if test -f "$ac_srcdir/configure.gnu"; then
42418 ac_sub_configure=$ac_srcdir/configure.gnu
42419 elif test -f "$ac_srcdir/configure"; then
42420 ac_sub_configure=$ac_srcdir/configure
42421 elif test -f "$ac_srcdir/configure.in"; then
42422 # This should be Cygnus configure.
42423 ac_sub_configure=$ac_aux_dir/configure
42424 else
42425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42426 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42427 ac_sub_configure=
42428 fi
42429
42430 # The recursion is here.
42431 if test -n "$ac_sub_configure"; then
42432 # Make the cache file name correct relative to the subdirectory.
42433 case $cache_file in
42434 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42435 *) # Relative name.
42436 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42437 esac
42438
42439 { $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
42440 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42441 # The eval makes quoting arguments work.
42442 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42443 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42444 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42445 fi
42446
42447 cd "$ac_popdir"
42448 done
42449 fi
42450 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42452 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42453 fi
42454
42455
42456 echo
42457 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42458 echo ""
42459 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42460 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42461 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42462 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42463 if test "$wxUSE_UNICODE" = "yes"; then
42464 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42465 echo " (using UTF-8)"
42466 else
42467 echo " (using wchar_t)"
42468 fi
42469 else
42470 echo
42471 fi
42472
42473 echo " What level of wxWidgets compatibility should be enabled?"
42474 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42475 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42476
42477 echo " Which libraries should wxWidgets use?"
42478 echo " STL ${wxUSE_STL}"
42479 echo " jpeg ${wxUSE_LIBJPEG-none}"
42480 echo " png ${wxUSE_LIBPNG-none}"
42481 echo " regex ${wxUSE_REGEX}"
42482 echo " tiff ${wxUSE_LIBTIFF-none}"
42483 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42484 echo " xpm ${wxUSE_LIBXPM-none}"
42485 fi
42486 echo " zlib ${wxUSE_ZLIB}"
42487 echo " expat ${wxUSE_EXPAT}"
42488 echo " libmspack ${wxUSE_LIBMSPACK}"
42489 echo " sdl ${wxUSE_LIBSDL}"
42490
42491 echo ""
42492