]> git.saurik.com Git - wxWidgets.git/blob - configure
Only use Unix/X11-specific files under Unix in wxGTK.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.67 for wxWidgets 2.9.4.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 #
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # Foundation, Inc.
12 #
13 #
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
19
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39 as_nl='
40 '
41 export as_nl
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='print -r --'
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 as_echo='printf %s\n'
54 as_echo_n='printf %s'
55 else
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
59 else
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 as_echo_n_body='eval
62 arg=$1;
63 case $arg in #(
64 *"$as_nl"*)
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 esac;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 '
70 export as_echo_n_body
71 as_echo_n='sh -c $as_echo_n_body as_echo'
72 fi
73 export as_echo_body
74 as_echo='sh -c $as_echo_body as_echo'
75 fi
76
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # IFS
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
92 IFS=" "" $as_nl"
93
94 # Find who we are. Look in the path if we contain no directory separator.
95 case $0 in #((
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 for as_dir in $PATH
99 do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
104 IFS=$as_save_IFS
105
106 ;;
107 esac
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
111 as_myself=$0
112 fi
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 exit 1
116 fi
117
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
129
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
135
136 # CDPATH.
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147 else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153 esac
154 fi
155 "
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
161
162 exitcode=0
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169 else
170 exitcode=1; echo positional parameters were not saved.
171 fi
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
179 as_have_required=yes
180 else
181 as_have_required=no
182 fi
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
185 else
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 as_found=false
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 do
190 IFS=$as_save_IFS
191 test -z "$as_dir" && as_dir=.
192 as_found=:
193 case $as_dir in #(
194 /*)
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
202 break 2
203 fi
204 fi
205 done;;
206 esac
207 as_found=false
208 done
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
212 fi; }
213 IFS=$as_save_IFS
214
215
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 BASH_ENV=/dev/null
221 ENV=/dev/null
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 export CONFIG_SHELL
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225 fi
226
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 else
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: wx-dev@lists.wxwidgets.org about your system, including
236 $0: any error possibly output before this message. Then
237 $0: install a modern shell, or manually run the script
238 $0: under such a shell if you do have one."
239 fi
240 exit 1
241 fi
242 fi
243 fi
244 SHELL=${CONFIG_SHELL-/bin/sh}
245 export SHELL
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
249
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
253 # as_fn_unset VAR
254 # ---------------
255 # Portably unset VAR.
256 as_fn_unset ()
257 {
258 { eval $1=; unset $1;}
259 }
260 as_unset=as_fn_unset
261
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
265 as_fn_set_status ()
266 {
267 return $1
268 } # as_fn_set_status
269
270 # as_fn_exit STATUS
271 # -----------------
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
273 as_fn_exit ()
274 {
275 set +e
276 as_fn_set_status $1
277 exit $1
278 } # as_fn_exit
279
280 # as_fn_mkdir_p
281 # -------------
282 # Create "$as_dir" as a directory, including parents if necessary.
283 as_fn_mkdir_p ()
284 {
285
286 case $as_dir in #(
287 -*) as_dir=./$as_dir;;
288 esac
289 test -d "$as_dir" || eval $as_mkdir_p || {
290 as_dirs=
291 while :; do
292 case $as_dir in #(
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294 *) as_qdir=$as_dir;;
295 esac
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)[^/].*/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)$/{
312 s//\1/
313 q
314 }
315 /^X\(\/\).*/{
316 s//\1/
317 q
318 }
319 s/.*/./; q'`
320 test -d "$as_dir" && break
321 done
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
324
325
326 } # as_fn_mkdir_p
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
332 # implementations.
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
335 {
336 eval $1+=\$2
337 }'
338 else
339 as_fn_append ()
340 {
341 eval $1=\$$1\$2
342 }
343 fi # as_fn_append
344
345 # as_fn_arith ARG...
346 # ------------------
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 eval 'as_fn_arith ()
352 {
353 as_val=$(( $* ))
354 }'
355 else
356 as_fn_arith ()
357 {
358 as_val=`expr "$@" || test $? -eq 1`
359 }
360 fi # as_fn_arith
361
362
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
368 as_fn_error ()
369 {
370 as_status=$1; test $as_status -eq 0 && as_status=1
371 if test "$4"; then
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 fi
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
377 } # as_fn_error
378
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 as_expr=expr
382 else
383 as_expr=false
384 fi
385
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 as_basename=basename
388 else
389 as_basename=false
390 fi
391
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_dirname=dirname
394 else
395 as_dirname=false
396 fi
397
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 $as_echo X/"$0" |
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\/\)$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\).*/{
412 s//\1/
413 q
414 }
415 s/.*/./; q'`
416
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
423
424
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
430 sed -n '
431 p
432 /[$]LINENO/=
433 ' <$as_myself |
434 sed '
435 s/[$]LINENO.*/&-/
436 t lineno
437 b
438 :lineno
439 N
440 :loop
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
442 t loop
443 s/-\n.*//
444 ' >$as_me.lineno &&
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
451 . "./$as_me.lineno"
452 # Exit status is that of the last command.
453 exit
454 }
455
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
458 -n*)
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
461 xy) ECHO_C='\c';;
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 ECHO_T=' ';;
464 esac;;
465 *)
466 ECHO_N='-n';;
467 esac
468
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
472 else
473 rm -f conf$$.dir
474 mkdir conf$$.dir 2>/dev/null
475 fi
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
478 as_ln_s='ln -s'
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484 as_ln_s='cp -p'
485 elif ln conf$$.file conf$$ 2>/dev/null; then
486 as_ln_s=ln
487 else
488 as_ln_s='cp -p'
489 fi
490 else
491 as_ln_s='cp -p'
492 fi
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
495
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
498 else
499 test -d ./-p && rmdir ./-p
500 as_mkdir_p=false
501 fi
502
503 if test -x / >/dev/null 2>&1; then
504 as_test_x='test -x'
505 else
506 if ls -dL / >/dev/null 2>&1; then
507 as_ls_L_option=L
508 else
509 as_ls_L_option=
510 fi
511 as_test_x='
512 eval sh -c '\''
513 if test -d "$1"; then
514 test -d "$1/.";
515 else
516 case $1 in #(
517 -*)set "./$1";;
518 esac;
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
521 '\'' sh
522 '
523 fi
524 as_executable_p=$as_test_x
525
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
531
532
533 test -n "$DJDIR" || exec 7<&0 </dev/null
534 exec 6>&1
535
536 # Name of the host.
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
540
541 #
542 # Initializations.
543 #
544 ac_default_prefix=/usr/local
545 ac_clean_files=
546 ac_config_libobj_dir=.
547 LIBOBJS=
548 cross_compiling=no
549 subdirs=
550 MFLAGS=
551 MAKEFLAGS=
552
553 # Identity of this package.
554 PACKAGE_NAME='wxWidgets'
555 PACKAGE_TARNAME='wxwidgets'
556 PACKAGE_VERSION='2.9.4'
557 PACKAGE_STRING='wxWidgets 2.9.4'
558 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
559 PACKAGE_URL=''
560
561 ac_unique_file="wx-config.in"
562 # Factoring default headers for most tests.
563 ac_includes_default="\
564 #include <stdio.h>
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
567 #endif
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
570 #endif
571 #ifdef STDC_HEADERS
572 # include <stdlib.h>
573 # include <stddef.h>
574 #else
575 # ifdef HAVE_STDLIB_H
576 # include <stdlib.h>
577 # endif
578 #endif
579 #ifdef HAVE_STRING_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 # include <memory.h>
582 # endif
583 # include <string.h>
584 #endif
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
587 #endif
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
590 #endif
591 #ifdef HAVE_STDINT_H
592 # include <stdint.h>
593 #endif
594 #ifdef HAVE_UNISTD_H
595 # include <unistd.h>
596 #endif"
597
598 enable_option_checking=no
599 ac_subst_vars='LTLIBOBJS
600 LIBOBJS
601 CPPUNIT_CONFIG
602 DLLTOOL
603 GCC
604 MACSETFILE
605 POSTLINK_COMMAND
606 LIBWXMACRES
607 WX_RESOURCES_MACOSX_DATA
608 WX_RESOURCES_MACOSX_ASCII
609 RESPROGRAMOBJ
610 RESFLAGS
611 RESCOMP
612 WX_VERSION_TAG
613 DMALLOC_LIBS
614 OPENGL_LIBS
615 LDFLAGS_GL
616 SAMPLES_SUBDIRS
617 DISTDIR
618 GUIDIST
619 WXCONFIG_RESFLAGS
620 WXCONFIG_LDFLAGS_GUI
621 WXCONFIG_LDFLAGS
622 WXCONFIG_RPATH
623 WXCONFIG_LIBS
624 WXCONFIG_CXXFLAGS
625 WXCONFIG_CFLAGS
626 WXCONFIG_CPPFLAGS
627 WX_CHARTYPE
628 WX_SUBVERSION
629 WX_VERSION
630 WX_RELEASE
631 WIDGET_SET
632 cross_compiling
633 TOOLCHAIN_FULLNAME
634 TOOLCHAIN_NAME
635 TOOLKIT_DIR
636 TOOLKIT
637 WIN32INSTALL
638 AFMINSTALL
639 USE_GUI
640 WX_LIBRARY_BASENAME_GUI
641 WX_LIBRARY_BASENAME_NOGUI
642 SHARED
643 DEREZ
644 COND_wxUSE_ZLIB_builtin
645 COND_wxUSE_REGEX_builtin
646 COND_wxUSE_LIBTIFF_builtin
647 COND_wxUSE_LIBPNG_builtin
648 COND_wxUSE_LIBJPEG_builtin
649 COND_wxUSE_EXPAT_builtin
650 COND_WXUSE_ZLIB_BUILTIN
651 COND_WXUSE_REGEX_BUILTIN
652 COND_WXUSE_LIBTIFF_BUILTIN
653 COND_WXUSE_LIBPNG_BUILTIN
654 COND_WXUSE_LIBJPEG_BUILTIN
655 COND_WXUSE_EXPAT_BUILTIN
656 COND_WXUNIV_1
657 COND_WXUNIV_0
658 COND_WITH_PLUGIN_SDL_1
659 COND_WINDOWS_IMPLIB_1
660 COND_USE_XRC_1
661 COND_USE_THREADS_1
662 COND_USE_THREADS_0
663 COND_USE_STC_1
664 COND_USE_SOVERSOLARIS_1
665 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
666 COND_USE_SOVERSION_0
667 COND_USE_SOVERLINUX_1
668 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
669 COND_USE_SOTWOSYMLINKS_1
670 COND_USE_RTTI_1
671 COND_USE_RTTI_0
672 COND_USE_PLUGINS_0
673 COND_USE_PCH_1
674 COND_USE_OPENGL_1
675 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
676 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
677 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
678 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
679 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
680 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
681 COND_USE_GUI_1_WXUNIV_1
682 COND_USE_GUI_1_WXUNIV_0
683 COND_USE_GUI_1_USE_OPENGL_1
684 COND_USE_GUI_1
685 COND_USE_GUI_0
686 COND_USE_EXCEPTIONS_1
687 COND_USE_EXCEPTIONS_0
688 COND_USE_CAIRO_1
689 COND_UNICODE_1
690 COND_TOOLKIT_X11_USE_GUI_1
691 COND_TOOLKIT_X11
692 COND_TOOLKIT_WINCE_WXUNIV_0
693 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
694 COND_TOOLKIT_WINCE_USE_GUI_1
695 COND_TOOLKIT_WINCE
696 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
697 COND_TOOLKIT_PM_USE_GUI_1
698 COND_TOOLKIT_PM
699 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
700 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
701 COND_TOOLKIT_OSX_IPHONE
702 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
703 COND_TOOLKIT_OSX_COCOA
704 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
705 COND_TOOLKIT_OSX_CARBON
706 COND_TOOLKIT_MSW_WXUNIV_0
707 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
708 COND_TOOLKIT_MSW_USE_GUI_1
709 COND_TOOLKIT_MSW
710 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
711 COND_TOOLKIT_MOTIF_USE_GUI_1
712 COND_TOOLKIT_MOTIF
713 COND_TOOLKIT_MAC
714 COND_TOOLKIT_GTK_USE_GUI_1
715 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
717 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
719 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
720 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
721 COND_TOOLKIT_GTK
722 COND_TOOLKIT_DFB_USE_GUI_1
723 COND_TOOLKIT_DFB
724 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
725 COND_TOOLKIT_COCOA_USE_GUI_1
726 COND_TOOLKIT_COCOA
727 COND_TOOLKIT_
728 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
729 COND_SHARED_1
730 COND_SHARED_0_wxUSE_ZLIB_builtin
731 COND_SHARED_0_wxUSE_REGEX_builtin
732 COND_SHARED_0_wxUSE_EXPAT_builtin
733 COND_SHARED_0_USE_STC_1
734 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
735 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
736 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
737 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
738 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
739 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
740 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
741 COND_SHARED_0
742 COND_PLATFORM_WIN32_1_SHARED_0
743 COND_PLATFORM_WIN32_1
744 COND_PLATFORM_WIN32_0
745 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
746 COND_PLATFORM_UNIX_1_USE_GUI_1
747 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
748 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
749 COND_PLATFORM_UNIX_1
750 COND_PLATFORM_UNIX_0
751 COND_PLATFORM_OS2_1
752 COND_PLATFORM_MSDOS_1
753 COND_PLATFORM_MSDOS_0
754 COND_PLATFORM_MAC_1
755 COND_PLATFORM_MAC_0
756 COND_PLATFORM_MACOS_1
757 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
758 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
759 COND_PLATFORM_MACOSX_1_USE_GUI_1
760 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
761 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
762 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
763 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
764 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
765 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
766 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
767 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
768 COND_PLATFORM_MACOSX_1
769 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
770 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
771 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
772 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
773 COND_MONOLITHIC_1_SHARED_1
774 COND_MONOLITHIC_1_SHARED_0
775 COND_MONOLITHIC_1
776 COND_MONOLITHIC_0_USE_XRC_1
777 COND_MONOLITHIC_0_USE_WEBVIEW_1
778 COND_MONOLITHIC_0_USE_STC_1
779 COND_MONOLITHIC_0_USE_RICHTEXT_1
780 COND_MONOLITHIC_0_USE_RIBBON_1
781 COND_MONOLITHIC_0_USE_QA_1
782 COND_MONOLITHIC_0_USE_PROPGRID_1
783 COND_MONOLITHIC_0_USE_MEDIA_1
784 COND_MONOLITHIC_0_USE_HTML_1
785 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
786 COND_MONOLITHIC_0_USE_GUI_1
787 COND_MONOLITHIC_0_USE_AUI_1
788 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
789 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
790 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
791 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
792 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
797 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
798 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
799 COND_MONOLITHIC_0_SHARED_1
800 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
801 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
802 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
803 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
804 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
806 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
807 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
808 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
809 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
810 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
811 COND_MONOLITHIC_0_SHARED_0
812 COND_MONOLITHIC_0
813 COND_ICC_PCH_1
814 COND_GCC_PCH_1
815 COND_DEPS_TRACKING_1
816 COND_DEPS_TRACKING_0
817 COND_DEBUG_INFO_1
818 COND_DEBUG_INFO_0
819 COND_DEBUG_FLAG_1
820 COND_DEBUG_FLAG_0
821 COND_BUILD_release_UNICODE_1
822 COND_BUILD_release_UNICODE_0
823 COND_BUILD_release_DEBUG_INFO_default
824 COND_BUILD_release
825 COND_BUILD_debug_UNICODE_1
826 COND_BUILD_debug_UNICODE_0
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_DEBUG_FLAG_default
829 COND_BUILD_debug
830 COND_BUILD_RELEASE_UNICODE_1
831 COND_BUILD_RELEASE_UNICODE_0
832 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
833 COND_BUILD_RELEASE
834 COND_BUILD_DEBUG_UNICODE_1
835 COND_BUILD_DEBUG_UNICODE_0
836 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
837 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
838 COND_BUILD_DEBUG
839 BK_MAKE_PCH
840 ICC_PCH_USE_SWITCH
841 ICC_PCH_CREATE_SWITCH
842 ICC_PCH
843 GCC_PCH
844 OBJCXXFLAGS
845 SETFILE
846 REZ
847 WINDRES
848 BK_DEPS
849 DEPS_TRACKING
850 SONAME_FLAG
851 USE_SOTWOSYMLINKS
852 USE_MACVERSION
853 USE_SOVERCYGWIN
854 USE_SOVERSOLARIS
855 USE_SOVERLINUX
856 USE_SOVERSION
857 WINDOWS_IMPLIB
858 PIC_FLAG
859 SHARED_LD_MODULE_CXX
860 SHARED_LD_MODULE_CC
861 SHARED_LD_CXX
862 SHARED_LD_CC
863 AIX_CXX_LD
864 dlldir
865 DLLPREFIX_MODULE
866 DLLPREFIX
867 LIBEXT
868 LIBPREFIX
869 DLLIMP_SUFFIX
870 SO_SUFFIX_MODULE
871 SO_SUFFIX
872 PLATFORM_BEOS
873 PLATFORM_OS2
874 PLATFORM_MACOSX
875 PLATFORM_MACOS
876 PLATFORM_MAC
877 PLATFORM_MSDOS
878 PLATFORM_WIN32
879 PLATFORM_UNIX
880 IF_GNU_MAKE
881 LDFLAGS_GUI
882 INSTALL_DIR
883 NM
884 STRIP
885 AROPTIONS
886 MAKE_SET
887 SET_MAKE
888 LN_S
889 INSTALL_DATA
890 INSTALL_SCRIPT
891 INSTALL_PROGRAM
892 RANLIB
893 CPPUNIT_LIBS
894 CPPUNIT_CFLAGS
895 HOST_SUFFIX
896 HEADER_PAD_OPTION
897 SAMPLES_RPATH_FLAG
898 DYLIB_RPATH_POSTLINK
899 DYLIB_RPATH_INSTALL
900 TOOLKIT_VERSION
901 TOOLKIT_LOWERCASE
902 DEBUG_FLAG
903 DEBUG_INFO
904 UNICODE
905 EXTRALIBS_HILDON
906 EXTRALIBS_GNOMEVFS
907 EXTRALIBS_GNOMEPRINT
908 EXTRALIBS_GTKPRINT
909 WITH_PLUGIN_SDL
910 EXTRALIBS_STC
911 EXTRALIBS_SDL
912 EXTRALIBS_OPENGL
913 EXTRALIBS_GUI
914 EXTRALIBS_MEDIA
915 EXTRALIBS_HTML
916 EXTRALIBS_XML
917 EXTRALIBS
918 CXXWARNINGS
919 USE_PLUGINS
920 MONOLITHIC
921 WXUNIV
922 WX_LIB_FLAVOUR
923 WX_FLAVOUR
924 OFFICIAL_BUILD
925 VENDOR
926 wxUSE_LIBTIFF
927 wxUSE_LIBPNG
928 wxUSE_LIBJPEG
929 wxUSE_EXPAT
930 wxUSE_REGEX
931 wxUSE_ZLIB
932 STD_GUI_LIBS
933 STD_BASE_LIBS
934 BUILT_WX_LIBS
935 ALL_WX_LIBS
936 GST_LIBS
937 GST_CFLAGS
938 CAIRO_LIBS
939 CAIRO_CFLAGS
940 WEBKIT_LIBS
941 WEBKIT_CFLAGS
942 COND_PYTHON
943 PYTHON
944 HILDON2_LIBS
945 HILDON2_CFLAGS
946 HILDON_LIBS
947 HILDON_CFLAGS
948 GNOMEVFS_LIBS
949 GNOMEVFS_CFLAGS
950 LIBGNOMEPRINTUI_LIBS
951 LIBGNOMEPRINTUI_CFLAGS
952 GTKPRINT_LIBS
953 GTKPRINT_CFLAGS
954 SDL_LIBS
955 SDL_CFLAGS
956 SDL_CONFIG
957 GXX_VERSION
958 LIBICONV
959 CXXFLAGS_VISIBILITY
960 CFLAGS_VISIBILITY
961 MesaGL_LIBS
962 MesaGL_CFLAGS
963 GLU_LIBS
964 GLU_CFLAGS
965 GL_LIBS
966 GL_CFLAGS
967 SM_LIBS
968 SM_CFLAGS
969 Xxf86vm_LIBS
970 Xxf86vm_CFLAGS
971 Xinerama_LIBS
972 Xinerama_CFLAGS
973 PANGOXFT_LIBS
974 PANGOXFT_CFLAGS
975 PANGOFT2_LIBS
976 PANGOFT2_CFLAGS
977 PANGOX_LIBS
978 PANGOX_CFLAGS
979 X_EXTRA_LIBS
980 X_LIBS
981 X_PRE_LIBS
982 X_CFLAGS
983 XMKMF
984 DIRECTFB_LIBS
985 DIRECTFB_CFLAGS
986 GTK_CONFIG
987 GTK_LIBS
988 GTK_CFLAGS
989 PKG_CONFIG
990 subdirs
991 CXXCPP
992 OSX_SW_VERS
993 AR
994 ac_ct_CXX
995 CXXFLAGS
996 CXX
997 EGREP
998 GREP
999 CPP
1000 OBJEXT
1001 EXEEXT
1002 ac_ct_CC
1003 CPPFLAGS
1004 LDFLAGS
1005 CFLAGS
1006 CC
1007 wx_top_builddir
1008 host_os
1009 host_vendor
1010 host_cpu
1011 host
1012 build_os
1013 build_vendor
1014 build_cpu
1015 build
1016 target_alias
1017 host_alias
1018 build_alias
1019 LIBS
1020 ECHO_T
1021 ECHO_N
1022 ECHO_C
1023 DEFS
1024 mandir
1025 localedir
1026 libdir
1027 psdir
1028 pdfdir
1029 dvidir
1030 htmldir
1031 infodir
1032 docdir
1033 oldincludedir
1034 includedir
1035 localstatedir
1036 sharedstatedir
1037 sysconfdir
1038 datadir
1039 datarootdir
1040 libexecdir
1041 sbindir
1042 bindir
1043 program_transform_name
1044 prefix
1045 exec_prefix
1046 PACKAGE_URL
1047 PACKAGE_BUGREPORT
1048 PACKAGE_STRING
1049 PACKAGE_VERSION
1050 PACKAGE_TARNAME
1051 PACKAGE_NAME
1052 PATH_SEPARATOR
1053 SHELL'
1054 ac_subst_files=''
1055 ac_user_opts='
1056 enable_option_checking
1057 enable_gui
1058 enable_monolithic
1059 enable_plugins
1060 with_subdirs
1061 with_flavour
1062 enable_official_build
1063 enable_vendor
1064 enable_all_features
1065 enable_universal
1066 with_themes
1067 with_gtk
1068 with_motif
1069 with_osx_carbon
1070 with_osx_cocoa
1071 with_osx_iphone
1072 with_osx
1073 with_carbon
1074 with_cocoa
1075 with_iphone
1076 with_mac
1077 with_old_cocoa
1078 with_wine
1079 with_msw
1080 with_pm
1081 with_directfb
1082 with_microwin
1083 with_x11
1084 enable_nanox
1085 enable_gtk2
1086 enable_gpe
1087 with_libpng
1088 with_libjpeg
1089 with_libtiff
1090 with_libxpm
1091 with_libiconv
1092 with_libmspack
1093 with_gtkprint
1094 with_gnomeprint
1095 with_gnomevfs
1096 with_hildon
1097 with_opengl
1098 with_dmalloc
1099 with_sdl
1100 with_regex
1101 with_zlib
1102 with_expat
1103 with_macosx_sdk
1104 with_macosx_version_min
1105 enable_debug
1106 enable_debug_flag
1107 enable_debug_info
1108 enable_debug_gdb
1109 enable_debug_cntxt
1110 enable_mem_tracing
1111 enable_shared
1112 enable_stl
1113 enable_std_containers
1114 enable_std_iostreams
1115 enable_std_string
1116 enable_std_string_conv_in_wxstring
1117 enable_unicode
1118 enable_mslu
1119 enable_utf8
1120 enable_utf8only
1121 enable_extended_rtti
1122 enable_omf
1123 enable_optimise
1124 enable_profile
1125 enable_no_rtti
1126 enable_no_exceptions
1127 enable_permissive
1128 enable_no_deps
1129 enable_vararg_macros
1130 enable_universal_binary
1131 enable_macosx_arch
1132 enable_compat26
1133 enable_compat28
1134 enable_rpath
1135 enable_objc_uniquifying
1136 enable_visibility
1137 enable_tls
1138 enable_intl
1139 enable_xlocale
1140 enable_config
1141 enable_protocols
1142 enable_ftp
1143 enable_http
1144 enable_fileproto
1145 enable_sockets
1146 enable_ipv6
1147 enable_ole
1148 enable_dataobj
1149 enable_ipc
1150 enable_baseevtloop
1151 enable_epollloop
1152 enable_selectloop
1153 enable_any
1154 enable_apple_ieee
1155 enable_arcstream
1156 enable_base64
1157 enable_backtrace
1158 enable_catch_segvs
1159 enable_cmdline
1160 enable_datetime
1161 enable_debugreport
1162 enable_dialupman
1163 enable_dynlib
1164 enable_dynamicloader
1165 enable_exceptions
1166 enable_ffile
1167 enable_file
1168 enable_filehistory
1169 enable_filesystem
1170 enable_fontenum
1171 enable_fontmap
1172 enable_fs_archive
1173 enable_fs_inet
1174 enable_fs_zip
1175 enable_fswatcher
1176 enable_geometry
1177 enable_log
1178 enable_longlong
1179 enable_mimetype
1180 enable_printfposparam
1181 enable_snglinst
1182 enable_sound
1183 enable_stdpaths
1184 enable_stopwatch
1185 enable_streams
1186 enable_sysoptions
1187 enable_tarstream
1188 enable_textbuf
1189 enable_textfile
1190 enable_timer
1191 enable_variant
1192 enable_zipstream
1193 enable_url
1194 enable_protocol
1195 enable_protocol_http
1196 enable_protocol_ftp
1197 enable_protocol_file
1198 enable_threads
1199 enable_iniconf
1200 enable_regkey
1201 enable_docview
1202 enable_help
1203 enable_mshtmlhelp
1204 enable_html
1205 enable_htmlhelp
1206 enable_xrc
1207 enable_aui
1208 enable_propgrid
1209 enable_ribbon
1210 enable_stc
1211 enable_constraints
1212 enable_loggui
1213 enable_logwin
1214 enable_logdialog
1215 enable_mdi
1216 enable_mdidoc
1217 enable_mediactrl
1218 enable_gstreamer8
1219 enable_richtext
1220 enable_postscript
1221 enable_printarch
1222 enable_svg
1223 enable_webkit
1224 enable_webview
1225 enable_graphics_ctx
1226 enable_clipboard
1227 enable_dnd
1228 enable_controls
1229 enable_markup
1230 enable_accel
1231 enable_animatectrl
1232 enable_bannerwindow
1233 enable_artstd
1234 enable_arttango
1235 enable_bmpbutton
1236 enable_bmpcombobox
1237 enable_button
1238 enable_calendar
1239 enable_caret
1240 enable_checkbox
1241 enable_checklst
1242 enable_choice
1243 enable_choicebook
1244 enable_collpane
1245 enable_colourpicker
1246 enable_combobox
1247 enable_comboctrl
1248 enable_commandlinkbutton
1249 enable_dataviewctrl
1250 enable_datepick
1251 enable_detect_sm
1252 enable_dirpicker
1253 enable_display
1254 enable_editablebox
1255 enable_filectrl
1256 enable_filepicker
1257 enable_fontpicker
1258 enable_gauge
1259 enable_grid
1260 enable_headerctrl
1261 enable_hyperlink
1262 enable_imaglist
1263 enable_infobar
1264 enable_listbook
1265 enable_listbox
1266 enable_listctrl
1267 enable_notebook
1268 enable_notifmsg
1269 enable_odcombobox
1270 enable_popupwin
1271 enable_radiobox
1272 enable_radiobtn
1273 enable_richmsgdlg
1274 enable_richtooltip
1275 enable_rearrangectrl
1276 enable_sash
1277 enable_scrollbar
1278 enable_searchctrl
1279 enable_slider
1280 enable_spinbtn
1281 enable_spinctrl
1282 enable_splitter
1283 enable_statbmp
1284 enable_statbox
1285 enable_statline
1286 enable_stattext
1287 enable_statusbar
1288 enable_taskbaricon
1289 enable_tbarnative
1290 enable_textctrl
1291 enable_tipwindow
1292 enable_togglebtn
1293 enable_toolbar
1294 enable_toolbook
1295 enable_treebook
1296 enable_treectrl
1297 enable_treelist
1298 enable_commondlg
1299 enable_aboutdlg
1300 enable_choicedlg
1301 enable_coldlg
1302 enable_filedlg
1303 enable_finddlg
1304 enable_fontdlg
1305 enable_dirdlg
1306 enable_msgdlg
1307 enable_numberdlg
1308 enable_splash
1309 enable_textdlg
1310 enable_tipdlg
1311 enable_progressdlg
1312 enable_wizarddlg
1313 enable_menus
1314 enable_miniframe
1315 enable_tooltips
1316 enable_splines
1317 enable_mousewheel
1318 enable_validators
1319 enable_busyinfo
1320 enable_hotkey
1321 enable_joystick
1322 enable_metafile
1323 enable_dragimage
1324 enable_accessibility
1325 enable_uiactionsim
1326 enable_dctransform
1327 enable_webviewwebkit
1328 enable_palette
1329 enable_image
1330 enable_gif
1331 enable_pcx
1332 enable_tga
1333 enable_iff
1334 enable_pnm
1335 enable_xpm
1336 enable_ico_cur
1337 enable_dccache
1338 enable_ps_in_msw
1339 enable_ownerdrawn
1340 enable_uxtheme
1341 enable_wxdib
1342 enable_webviewie
1343 enable_autoidman
1344 enable_largefile
1345 enable_gtktest
1346 with_gtk_prefix
1347 with_gtk_exec_prefix
1348 with_x
1349 with_libiconv_prefix
1350 with_sdl_prefix
1351 with_sdl_exec_prefix
1352 enable_sdltest
1353 enable_dependency_tracking
1354 enable_precomp_headers
1355 with_cppunit_prefix
1356 with_cppunit_exec_prefix
1357 '
1358 ac_precious_vars='build_alias
1359 host_alias
1360 target_alias
1361 CC
1362 CFLAGS
1363 LDFLAGS
1364 LIBS
1365 CPPFLAGS
1366 CPP
1367 CXX
1368 CXXFLAGS
1369 CCC
1370 CXXCPP
1371 PKG_CONFIG
1372 DIRECTFB_CFLAGS
1373 DIRECTFB_LIBS
1374 XMKMF
1375 PANGOX_CFLAGS
1376 PANGOX_LIBS
1377 PANGOFT2_CFLAGS
1378 PANGOFT2_LIBS
1379 PANGOXFT_CFLAGS
1380 PANGOXFT_LIBS
1381 Xinerama_CFLAGS
1382 Xinerama_LIBS
1383 Xxf86vm_CFLAGS
1384 Xxf86vm_LIBS
1385 SM_CFLAGS
1386 SM_LIBS
1387 GL_CFLAGS
1388 GL_LIBS
1389 GLU_CFLAGS
1390 GLU_LIBS
1391 MesaGL_CFLAGS
1392 MesaGL_LIBS
1393 GTKPRINT_CFLAGS
1394 GTKPRINT_LIBS
1395 LIBGNOMEPRINTUI_CFLAGS
1396 LIBGNOMEPRINTUI_LIBS
1397 GNOMEVFS_CFLAGS
1398 GNOMEVFS_LIBS
1399 HILDON_CFLAGS
1400 HILDON_LIBS
1401 HILDON2_CFLAGS
1402 HILDON2_LIBS
1403 WEBKIT_CFLAGS
1404 WEBKIT_LIBS
1405 CAIRO_CFLAGS
1406 CAIRO_LIBS
1407 GST_CFLAGS
1408 GST_LIBS'
1409 ac_subdirs_all='src/tiff
1410 src/expat'
1411
1412 # Initialize some variables set by options.
1413 ac_init_help=
1414 ac_init_version=false
1415 ac_unrecognized_opts=
1416 ac_unrecognized_sep=
1417 # The variables have the same names as the options, with
1418 # dashes changed to underlines.
1419 cache_file=/dev/null
1420 exec_prefix=NONE
1421 no_create=
1422 no_recursion=
1423 prefix=NONE
1424 program_prefix=NONE
1425 program_suffix=NONE
1426 program_transform_name=s,x,x,
1427 silent=
1428 site=
1429 srcdir=
1430 verbose=
1431 x_includes=NONE
1432 x_libraries=NONE
1433
1434 # Installation directory options.
1435 # These are left unexpanded so users can "make install exec_prefix=/foo"
1436 # and all the variables that are supposed to be based on exec_prefix
1437 # by default will actually change.
1438 # Use braces instead of parens because sh, perl, etc. also accept them.
1439 # (The list follows the same order as the GNU Coding Standards.)
1440 bindir='${exec_prefix}/bin'
1441 sbindir='${exec_prefix}/sbin'
1442 libexecdir='${exec_prefix}/libexec'
1443 datarootdir='${prefix}/share'
1444 datadir='${datarootdir}'
1445 sysconfdir='${prefix}/etc'
1446 sharedstatedir='${prefix}/com'
1447 localstatedir='${prefix}/var'
1448 includedir='${prefix}/include'
1449 oldincludedir='/usr/include'
1450 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1451 infodir='${datarootdir}/info'
1452 htmldir='${docdir}'
1453 dvidir='${docdir}'
1454 pdfdir='${docdir}'
1455 psdir='${docdir}'
1456 libdir='${exec_prefix}/lib'
1457 localedir='${datarootdir}/locale'
1458 mandir='${datarootdir}/man'
1459
1460 ac_prev=
1461 ac_dashdash=
1462 for ac_option
1463 do
1464 # If the previous option needs an argument, assign it.
1465 if test -n "$ac_prev"; then
1466 eval $ac_prev=\$ac_option
1467 ac_prev=
1468 continue
1469 fi
1470
1471 case $ac_option in
1472 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1473 *=) ac_optarg= ;;
1474 *) ac_optarg=yes ;;
1475 esac
1476
1477 # Accept the important Cygnus configure options, so we can diagnose typos.
1478
1479 case $ac_dashdash$ac_option in
1480 --)
1481 ac_dashdash=yes ;;
1482
1483 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1484 ac_prev=bindir ;;
1485 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1486 bindir=$ac_optarg ;;
1487
1488 -build | --build | --buil | --bui | --bu)
1489 ac_prev=build_alias ;;
1490 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1491 build_alias=$ac_optarg ;;
1492
1493 -cache-file | --cache-file | --cache-fil | --cache-fi \
1494 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1495 ac_prev=cache_file ;;
1496 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1497 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1498 cache_file=$ac_optarg ;;
1499
1500 --config-cache | -C)
1501 cache_file=config.cache ;;
1502
1503 -datadir | --datadir | --datadi | --datad)
1504 ac_prev=datadir ;;
1505 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1506 datadir=$ac_optarg ;;
1507
1508 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1509 | --dataroo | --dataro | --datar)
1510 ac_prev=datarootdir ;;
1511 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1512 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1513 datarootdir=$ac_optarg ;;
1514
1515 -disable-* | --disable-*)
1516 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1517 # Reject names that are not valid shell variable names.
1518 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1519 as_fn_error $? "invalid feature name: $ac_useropt"
1520 ac_useropt_orig=$ac_useropt
1521 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1522 case $ac_user_opts in
1523 *"
1524 "enable_$ac_useropt"
1525 "*) ;;
1526 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1527 ac_unrecognized_sep=', ';;
1528 esac
1529 eval enable_$ac_useropt=no ;;
1530
1531 -docdir | --docdir | --docdi | --doc | --do)
1532 ac_prev=docdir ;;
1533 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1534 docdir=$ac_optarg ;;
1535
1536 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1537 ac_prev=dvidir ;;
1538 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1539 dvidir=$ac_optarg ;;
1540
1541 -enable-* | --enable-*)
1542 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1543 # Reject names that are not valid shell variable names.
1544 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1545 as_fn_error $? "invalid feature name: $ac_useropt"
1546 ac_useropt_orig=$ac_useropt
1547 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1548 case $ac_user_opts in
1549 *"
1550 "enable_$ac_useropt"
1551 "*) ;;
1552 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1553 ac_unrecognized_sep=', ';;
1554 esac
1555 eval enable_$ac_useropt=\$ac_optarg ;;
1556
1557 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1558 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1559 | --exec | --exe | --ex)
1560 ac_prev=exec_prefix ;;
1561 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1562 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1563 | --exec=* | --exe=* | --ex=*)
1564 exec_prefix=$ac_optarg ;;
1565
1566 -gas | --gas | --ga | --g)
1567 # Obsolete; use --with-gas.
1568 with_gas=yes ;;
1569
1570 -help | --help | --hel | --he | -h)
1571 ac_init_help=long ;;
1572 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1573 ac_init_help=recursive ;;
1574 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1575 ac_init_help=short ;;
1576
1577 -host | --host | --hos | --ho)
1578 ac_prev=host_alias ;;
1579 -host=* | --host=* | --hos=* | --ho=*)
1580 host_alias=$ac_optarg ;;
1581
1582 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1583 ac_prev=htmldir ;;
1584 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1585 | --ht=*)
1586 htmldir=$ac_optarg ;;
1587
1588 -includedir | --includedir | --includedi | --included | --include \
1589 | --includ | --inclu | --incl | --inc)
1590 ac_prev=includedir ;;
1591 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1592 | --includ=* | --inclu=* | --incl=* | --inc=*)
1593 includedir=$ac_optarg ;;
1594
1595 -infodir | --infodir | --infodi | --infod | --info | --inf)
1596 ac_prev=infodir ;;
1597 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1598 infodir=$ac_optarg ;;
1599
1600 -libdir | --libdir | --libdi | --libd)
1601 ac_prev=libdir ;;
1602 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1603 libdir=$ac_optarg ;;
1604
1605 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1606 | --libexe | --libex | --libe)
1607 ac_prev=libexecdir ;;
1608 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1609 | --libexe=* | --libex=* | --libe=*)
1610 libexecdir=$ac_optarg ;;
1611
1612 -localedir | --localedir | --localedi | --localed | --locale)
1613 ac_prev=localedir ;;
1614 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1615 localedir=$ac_optarg ;;
1616
1617 -localstatedir | --localstatedir | --localstatedi | --localstated \
1618 | --localstate | --localstat | --localsta | --localst | --locals)
1619 ac_prev=localstatedir ;;
1620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1621 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1622 localstatedir=$ac_optarg ;;
1623
1624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1625 ac_prev=mandir ;;
1626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1627 mandir=$ac_optarg ;;
1628
1629 -nfp | --nfp | --nf)
1630 # Obsolete; use --without-fp.
1631 with_fp=no ;;
1632
1633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1634 | --no-cr | --no-c | -n)
1635 no_create=yes ;;
1636
1637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1639 no_recursion=yes ;;
1640
1641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1643 | --oldin | --oldi | --old | --ol | --o)
1644 ac_prev=oldincludedir ;;
1645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1648 oldincludedir=$ac_optarg ;;
1649
1650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1651 ac_prev=prefix ;;
1652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1653 prefix=$ac_optarg ;;
1654
1655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1656 | --program-pre | --program-pr | --program-p)
1657 ac_prev=program_prefix ;;
1658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1660 program_prefix=$ac_optarg ;;
1661
1662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1663 | --program-suf | --program-su | --program-s)
1664 ac_prev=program_suffix ;;
1665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1667 program_suffix=$ac_optarg ;;
1668
1669 -program-transform-name | --program-transform-name \
1670 | --program-transform-nam | --program-transform-na \
1671 | --program-transform-n | --program-transform- \
1672 | --program-transform | --program-transfor \
1673 | --program-transfo | --program-transf \
1674 | --program-trans | --program-tran \
1675 | --progr-tra | --program-tr | --program-t)
1676 ac_prev=program_transform_name ;;
1677 -program-transform-name=* | --program-transform-name=* \
1678 | --program-transform-nam=* | --program-transform-na=* \
1679 | --program-transform-n=* | --program-transform-=* \
1680 | --program-transform=* | --program-transfor=* \
1681 | --program-transfo=* | --program-transf=* \
1682 | --program-trans=* | --program-tran=* \
1683 | --progr-tra=* | --program-tr=* | --program-t=*)
1684 program_transform_name=$ac_optarg ;;
1685
1686 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1687 ac_prev=pdfdir ;;
1688 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1689 pdfdir=$ac_optarg ;;
1690
1691 -psdir | --psdir | --psdi | --psd | --ps)
1692 ac_prev=psdir ;;
1693 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1694 psdir=$ac_optarg ;;
1695
1696 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1697 | -silent | --silent | --silen | --sile | --sil)
1698 silent=yes ;;
1699
1700 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1701 ac_prev=sbindir ;;
1702 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1703 | --sbi=* | --sb=*)
1704 sbindir=$ac_optarg ;;
1705
1706 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1707 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1708 | --sharedst | --shareds | --shared | --share | --shar \
1709 | --sha | --sh)
1710 ac_prev=sharedstatedir ;;
1711 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1712 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1713 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1714 | --sha=* | --sh=*)
1715 sharedstatedir=$ac_optarg ;;
1716
1717 -site | --site | --sit)
1718 ac_prev=site ;;
1719 -site=* | --site=* | --sit=*)
1720 site=$ac_optarg ;;
1721
1722 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1723 ac_prev=srcdir ;;
1724 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1725 srcdir=$ac_optarg ;;
1726
1727 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1728 | --syscon | --sysco | --sysc | --sys | --sy)
1729 ac_prev=sysconfdir ;;
1730 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1731 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1732 sysconfdir=$ac_optarg ;;
1733
1734 -target | --target | --targe | --targ | --tar | --ta | --t)
1735 ac_prev=target_alias ;;
1736 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1737 target_alias=$ac_optarg ;;
1738
1739 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1740 verbose=yes ;;
1741
1742 -version | --version | --versio | --versi | --vers | -V)
1743 ac_init_version=: ;;
1744
1745 -with-* | --with-*)
1746 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1747 # Reject names that are not valid shell variable names.
1748 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1749 as_fn_error $? "invalid package name: $ac_useropt"
1750 ac_useropt_orig=$ac_useropt
1751 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1752 case $ac_user_opts in
1753 *"
1754 "with_$ac_useropt"
1755 "*) ;;
1756 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1757 ac_unrecognized_sep=', ';;
1758 esac
1759 eval with_$ac_useropt=\$ac_optarg ;;
1760
1761 -without-* | --without-*)
1762 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1763 # Reject names that are not valid shell variable names.
1764 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1765 as_fn_error $? "invalid package name: $ac_useropt"
1766 ac_useropt_orig=$ac_useropt
1767 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1768 case $ac_user_opts in
1769 *"
1770 "with_$ac_useropt"
1771 "*) ;;
1772 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1773 ac_unrecognized_sep=', ';;
1774 esac
1775 eval with_$ac_useropt=no ;;
1776
1777 --x)
1778 # Obsolete; use --with-x.
1779 with_x=yes ;;
1780
1781 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1782 | --x-incl | --x-inc | --x-in | --x-i)
1783 ac_prev=x_includes ;;
1784 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1785 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1786 x_includes=$ac_optarg ;;
1787
1788 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1789 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1790 ac_prev=x_libraries ;;
1791 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1792 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1793 x_libraries=$ac_optarg ;;
1794
1795 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1796 Try \`$0 --help' for more information"
1797 ;;
1798
1799 *=*)
1800 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1801 # Reject names that are not valid shell variable names.
1802 case $ac_envvar in #(
1803 '' | [0-9]* | *[!_$as_cr_alnum]* )
1804 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1805 esac
1806 eval $ac_envvar=\$ac_optarg
1807 export $ac_envvar ;;
1808
1809 *)
1810 # FIXME: should be removed in autoconf 3.0.
1811 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1812 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1813 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1814 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1815 ;;
1816
1817 esac
1818 done
1819
1820 if test -n "$ac_prev"; then
1821 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1822 as_fn_error $? "missing argument to $ac_option"
1823 fi
1824
1825 if test -n "$ac_unrecognized_opts"; then
1826 case $enable_option_checking in
1827 no) ;;
1828 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1829 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1830 esac
1831 fi
1832
1833 # Check all directory arguments for consistency.
1834 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1835 datadir sysconfdir sharedstatedir localstatedir includedir \
1836 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1837 libdir localedir mandir
1838 do
1839 eval ac_val=\$$ac_var
1840 # Remove trailing slashes.
1841 case $ac_val in
1842 */ )
1843 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1844 eval $ac_var=\$ac_val;;
1845 esac
1846 # Be sure to have absolute directory names.
1847 case $ac_val in
1848 [\\/$]* | ?:[\\/]* ) continue;;
1849 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1850 esac
1851 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1852 done
1853
1854 # There might be people who depend on the old broken behavior: `$host'
1855 # used to hold the argument of --host etc.
1856 # FIXME: To remove some day.
1857 build=$build_alias
1858 host=$host_alias
1859 target=$target_alias
1860
1861 # FIXME: To remove some day.
1862 if test "x$host_alias" != x; then
1863 if test "x$build_alias" = x; then
1864 cross_compiling=maybe
1865 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1866 If a cross compiler is detected then cross compile mode will be used" >&2
1867 elif test "x$build_alias" != "x$host_alias"; then
1868 cross_compiling=yes
1869 fi
1870 fi
1871
1872 ac_tool_prefix=
1873 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1874
1875 test "$silent" = yes && exec 6>/dev/null
1876
1877
1878 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1879 ac_ls_di=`ls -di .` &&
1880 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1881 as_fn_error $? "working directory cannot be determined"
1882 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1883 as_fn_error $? "pwd does not report name of working directory"
1884
1885
1886 # Find the source files, if location was not specified.
1887 if test -z "$srcdir"; then
1888 ac_srcdir_defaulted=yes
1889 # Try the directory containing this script, then the parent directory.
1890 ac_confdir=`$as_dirname -- "$as_myself" ||
1891 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1892 X"$as_myself" : 'X\(//\)[^/]' \| \
1893 X"$as_myself" : 'X\(//\)$' \| \
1894 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1895 $as_echo X"$as_myself" |
1896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1897 s//\1/
1898 q
1899 }
1900 /^X\(\/\/\)[^/].*/{
1901 s//\1/
1902 q
1903 }
1904 /^X\(\/\/\)$/{
1905 s//\1/
1906 q
1907 }
1908 /^X\(\/\).*/{
1909 s//\1/
1910 q
1911 }
1912 s/.*/./; q'`
1913 srcdir=$ac_confdir
1914 if test ! -r "$srcdir/$ac_unique_file"; then
1915 srcdir=..
1916 fi
1917 else
1918 ac_srcdir_defaulted=no
1919 fi
1920 if test ! -r "$srcdir/$ac_unique_file"; then
1921 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1922 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1923 fi
1924 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1925 ac_abs_confdir=`(
1926 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1927 pwd)`
1928 # When building in place, set srcdir=.
1929 if test "$ac_abs_confdir" = "$ac_pwd"; then
1930 srcdir=.
1931 fi
1932 # Remove unnecessary trailing slashes from srcdir.
1933 # Double slashes in file names in object file debugging info
1934 # mess up M-x gdb in Emacs.
1935 case $srcdir in
1936 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1937 esac
1938 for ac_var in $ac_precious_vars; do
1939 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1940 eval ac_env_${ac_var}_value=\$${ac_var}
1941 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1942 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1943 done
1944
1945 #
1946 # Report the --help message.
1947 #
1948 if test "$ac_init_help" = "long"; then
1949 # Omit some internal or obsolete options to make the list less imposing.
1950 # This message is too long to be a string in the A/UX 3.1 sh.
1951 cat <<_ACEOF
1952 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1953
1954 Usage: $0 [OPTION]... [VAR=VALUE]...
1955
1956 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1957 VAR=VALUE. See below for descriptions of some of the useful variables.
1958
1959 Defaults for the options are specified in brackets.
1960
1961 Configuration:
1962 -h, --help display this help and exit
1963 --help=short display options specific to this package
1964 --help=recursive display the short help of all the included packages
1965 -V, --version display version information and exit
1966 -q, --quiet, --silent do not print \`checking ...' messages
1967 --cache-file=FILE cache test results in FILE [disabled]
1968 -C, --config-cache alias for \`--cache-file=config.cache'
1969 -n, --no-create do not create output files
1970 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1971
1972 Installation directories:
1973 --prefix=PREFIX install architecture-independent files in PREFIX
1974 [$ac_default_prefix]
1975 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1976 [PREFIX]
1977
1978 By default, \`make install' will install all the files in
1979 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1980 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1981 for instance \`--prefix=\$HOME'.
1982
1983 For better control, use the options below.
1984
1985 Fine tuning of the installation directories:
1986 --bindir=DIR user executables [EPREFIX/bin]
1987 --sbindir=DIR system admin executables [EPREFIX/sbin]
1988 --libexecdir=DIR program executables [EPREFIX/libexec]
1989 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1990 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1991 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1992 --libdir=DIR object code libraries [EPREFIX/lib]
1993 --includedir=DIR C header files [PREFIX/include]
1994 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1995 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1996 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1997 --infodir=DIR info documentation [DATAROOTDIR/info]
1998 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1999 --mandir=DIR man documentation [DATAROOTDIR/man]
2000 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2001 --htmldir=DIR html documentation [DOCDIR]
2002 --dvidir=DIR dvi documentation [DOCDIR]
2003 --pdfdir=DIR pdf documentation [DOCDIR]
2004 --psdir=DIR ps documentation [DOCDIR]
2005 _ACEOF
2006
2007 cat <<\_ACEOF
2008
2009 X features:
2010 --x-includes=DIR X include files are in DIR
2011 --x-libraries=DIR X library files are in DIR
2012
2013 System types:
2014 --build=BUILD configure for building on BUILD [guessed]
2015 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2016 _ACEOF
2017 fi
2018
2019 if test -n "$ac_init_help"; then
2020 case $ac_init_help in
2021 short | recursive ) echo "Configuration of wxWidgets 2.9.4:";;
2022 esac
2023 cat <<\_ACEOF
2024
2025 Optional Features:
2026 --disable-option-checking ignore unrecognized --enable/--with options
2027 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2028 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2029 --disable-gui don't build GUI parts of the library
2030 --enable-monolithic build wxWidgets as single library
2031 --enable-plugins build parts of wxWidgets as loadable components
2032 --enable-official_build official build of wxWidgets (win32 DLL only)
2033 --enable-vendor=VENDOR vendor name (win32 DLL only)
2034 --disable-all-features disable all optional features to build minimal library
2035 --enable-universal use wxWidgets GUI controls instead of native ones
2036 --enable-nanox use NanoX
2037 --disable-gtk2 use GTK+ 1.2 instead of 2.0
2038 --enable-gpe use GNOME PDA Environment features if possible
2039 --enable-debug build library for debugging
2040 --disable-debug_flag disable all debugging support
2041 --enable-debug_info generate debug information
2042 --enable-debug_gdb create code with extra GDB debugging information
2043 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
2044 --enable-mem_tracing obsolete, don't use: create code with memory tracing
2045 --disable-shared create static library instead of shared
2046 --enable-stl use standard C++ classes for everything
2047 --enable-std_containers use standard C++ container classes
2048 --enable-std_iostreams use standard C++ stream classes
2049 --enable-std_string use standard C++ string classes
2050 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2051 --disable-unicode compile without Unicode support
2052 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2053 --enable-utf8 use UTF-8 representation for strings (Unix only)
2054 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2055 --enable-extended_rtti use extended RTTI (XTI)
2056 --enable-omf use OMF object format
2057 --disable-optimise compile without optimisations
2058 --enable-profile create code with profiling information
2059 --enable-no_rtti create code without RTTI information
2060 --enable-no_exceptions create code without C++ exceptions handling
2061 --enable-permissive compile code disregarding strict ANSI
2062 --enable-no_deps create code without dependency information
2063 --disable-vararg_macros don't use vararg macros, even if they are supported
2064 --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
2065 --enable-macosx_arch=ARCH build for just the specified architecture
2066 --enable-compat26 enable wxWidgets 2.6 compatibility
2067 --disable-compat28 disable wxWidgets 2.8 compatibility
2068 --disable-rpath disable use of rpath for uninstalled builds
2069 --enable-objc_uniquifying enable Objective-C class name uniquifying
2070 --disable-visibility disable use of ELF symbols visibility even if supported
2071 --disable-tls disable use of compiler TLS support
2072 --enable-intl use internationalization system
2073 --enable-xlocale use x-locale support (requires wxLocale)
2074 --enable-config use wxConfig (and derived) classes
2075 --enable-protocols use wxProtocol and derived classes
2076 --enable-ftp use wxFTP (requires wxProtocol
2077 --enable-http use wxHTTP (requires wxProtocol
2078 --enable-fileproto use wxFileProto class (requires wxProtocol
2079 --enable-sockets use socket/network classes
2080 --enable-ipv6 enable IPv6 support in wxSocket
2081 --enable-ole use OLE classes (Win32 only)
2082 --enable-dataobj use data object classes
2083 --enable-ipc use interprocess communication (wxSocket etc.)
2084 --enable-baseevtloop use event loop in console programs too
2085 --enable-epollloop use wxEpollDispatcher class (Linux only)
2086 --enable-selectloop use wxSelectDispatcher class
2087 --enable-any use wxAny class
2088 --enable-apple_ieee use the Apple IEEE codec
2089 --enable-arcstream use wxArchive streams
2090 --enable-base64 use base64 encoding/decoding functions
2091 --enable-backtrace use wxStackWalker class for getting backtraces
2092 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
2093 --enable-cmdline use wxCmdLineParser class
2094 --enable-datetime use wxDateTime class
2095 --enable-debugreport use wxDebugReport class
2096 --enable-dialupman use dialup network classes
2097 --enable-dynlib use wxLibrary class for DLL loading
2098 --enable-dynamicloader use (new) wxDynamicLibrary class
2099 --enable-exceptions build exception-safe library
2100 --enable-ffile use wxFFile class
2101 --enable-file use wxFile class
2102 --enable-filehistory use wxFileHistory class
2103 --enable-filesystem use virtual file systems classes
2104 --enable-fontenum use wxFontEnumerator class
2105 --enable-fontmap use font encodings conversion classes
2106 --enable-fs_archive use virtual archive filesystems
2107 --enable-fs_inet use virtual HTTP/FTP filesystems
2108 --enable-fs_zip now replaced by fs_archive
2109 --enable-fswatcher use wxFileSystemWatcher class
2110 --enable-geometry use geometry class
2111 --enable-log use logging system
2112 --enable-longlong use wxLongLong class
2113 --enable-mimetype use wxMimeTypesManager
2114 --enable-printfposparam use wxVsnprintf() which supports positional parameters
2115 --enable-snglinst use wxSingleInstanceChecker class
2116 --enable-sound use wxSound class
2117 --enable-stdpaths use wxStandardPaths class
2118 --enable-stopwatch use wxStopWatch class
2119 --enable-streams use wxStream etc classes
2120 --enable-sysoptions use wxSystemOptions
2121 --enable-tarstream use wxTar streams
2122 --enable-textbuf use wxTextBuffer class
2123 --enable-textfile use wxTextFile class
2124 --enable-timer use wxTimer class
2125 --enable-variant use wxVariant class
2126 --enable-zipstream use wxZip streams
2127 --enable-url use wxURL class
2128 --enable-protocol use wxProtocol class
2129 --enable-protocol-http HTTP support in wxProtocol
2130 --enable-protocol-ftp FTP support in wxProtocol
2131 --enable-protocol-file FILE support in wxProtocol
2132 --enable-threads use threads
2133 --enable-iniconf use wxIniConfig (Win32 only)
2134 --enable-regkey use wxRegKey class (Win32 only)
2135 --enable-docview use document view architecture
2136 --enable-help use help subsystem
2137 --enable-mshtmlhelp use MS HTML Help (win32)
2138 --enable-html use wxHTML sub-library
2139 --enable-htmlhelp use wxHTML-based help
2140 --enable-xrc use XRC resources sub-library
2141 --enable-aui use AUI docking library
2142 --enable-propgrid use wxPropertyGrid library
2143 --enable-ribbon use wxRibbon library
2144 --enable-stc use wxStyledTextCtrl library
2145 --enable-constraints use layout-constraints system
2146 --enable-loggui use standard GUI logger
2147 --enable-logwin use wxLogWindow
2148 --enable-logdialog use wxLogDialog
2149 --enable-mdi use multiple document interface architecture
2150 --enable-mdidoc use docview architecture with MDI
2151 --enable-mediactrl use wxMediaCtrl class
2152 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
2153 --enable-richtext use wxRichTextCtrl
2154 --enable-postscript use wxPostscriptDC device context (default for gtk+)
2155 --enable-printarch use printing architecture
2156 --enable-svg use wxSVGFileDC device context
2157 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
2158 --enable-webview use wxWebView library
2159 --enable-graphics_ctx use graphics context 2D drawing API
2160 --enable-clipboard use wxClipboard class
2161 --enable-dnd use Drag'n'Drop classes
2162 --disable-controls disable compilation of all standard controls
2163 --enable-markup support wxControl::SetLabelMarkup
2164 --enable-accel use accelerators
2165 --enable-animatectrl use wxAnimationCtrl class
2166 --enable-bannerwindow use wxBannerWindow class
2167 --enable-artstd use standard XPM icons in wxArtProvider
2168 --enable-arttango use Tango icons in wxArtProvider
2169 --enable-bmpbutton use wxBitmapButton class
2170 --enable-bmpcombobox use wxBitmapComboBox class
2171 --enable-button use wxButton class
2172 --enable-calendar use wxCalendarCtrl class
2173 --enable-caret use wxCaret class
2174 --enable-checkbox use wxCheckBox class
2175 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
2176 --enable-choice use wxChoice class
2177 --enable-choicebook use wxChoicebook class
2178 --enable-collpane use wxCollapsiblePane class
2179 --enable-colourpicker use wxColourPickerCtrl class
2180 --enable-combobox use wxComboBox class
2181 --enable-comboctrl use wxComboCtrl class
2182 --enable-commandlinkbutton use wxCommmandLinkButton class
2183 --enable-dataviewctrl use wxDataViewCtrl class
2184 --enable-datepick use wxDatePickerCtrl class
2185 --enable-detect_sm use code to detect X11 session manager
2186 --enable-dirpicker use wxDirPickerCtrl class
2187 --enable-display use wxDisplay class
2188 --enable-editablebox use wxEditableListBox class
2189 --enable-filectrl use wxFileCtrl class
2190 --enable-filepicker use wxFilePickerCtrl class
2191 --enable-fontpicker use wxFontPickerCtrl class
2192 --enable-gauge use wxGauge class
2193 --enable-grid use wxGrid class
2194 --enable-headerctrl use wxHeaderCtrl class
2195 --enable-hyperlink use wxHyperlinkCtrl class
2196 --enable-imaglist use wxImageList class
2197 --enable-infobar use wxInfoBar class
2198 --enable-listbook use wxListbook class
2199 --enable-listbox use wxListBox class
2200 --enable-listctrl use wxListCtrl class
2201 --enable-notebook use wxNotebook class
2202 --enable-notifmsg use wxNotificationMessage class
2203 --enable-odcombobox use wxOwnerDrawnComboBox class
2204 --enable-popupwin use wxPopUpWindow class
2205 --enable-radiobox use wxRadioBox class
2206 --enable-radiobtn use wxRadioButton class
2207 --enable-richmsgdlg use wxRichMessageDialog class
2208 --enable-richtooltip use wxRichToolTip class
2209 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
2210 --enable-sash use wxSashWindow class
2211 --enable-scrollbar use wxScrollBar class and scrollable windows
2212 --enable-searchctrl use wxSearchCtrl class
2213 --enable-slider use wxSlider class
2214 --enable-spinbtn use wxSpinButton class
2215 --enable-spinctrl use wxSpinCtrl class
2216 --enable-splitter use wxSplitterWindow class
2217 --enable-statbmp use wxStaticBitmap class
2218 --enable-statbox use wxStaticBox class
2219 --enable-statline use wxStaticLine class
2220 --enable-stattext use wxStaticText class
2221 --enable-statusbar use wxStatusBar class
2222 --enable-taskbaricon use wxTaskBarIcon class
2223 --enable-tbarnative use native wxToolBar class
2224 --enable-textctrl use wxTextCtrl class
2225 --enable-timepick use wxTimePickerCtrl class
2226 --enable-tipwindow use wxTipWindow class
2227 --enable-togglebtn use wxToggleButton class
2228 --enable-toolbar use wxToolBar class
2229 --enable-toolbook use wxToolbook class
2230 --enable-treebook use wxTreebook class
2231 --enable-treectrl use wxTreeCtrl class
2232 --enable-treelist use wxTreeListCtrl class
2233 --enable-commondlg use all common dialogs
2234 --enable-aboutdlg use wxAboutBox
2235 --enable-choicedlg use wxChoiceDialog
2236 --enable-coldlg use wxColourDialog
2237 --enable-filedlg use wxFileDialog
2238 --enable-finddlg use wxFindReplaceDialog
2239 --enable-fontdlg use wxFontDialog
2240 --enable-dirdlg use wxDirDialog
2241 --enable-msgdlg use wxMessageDialog
2242 --enable-numberdlg use wxNumberEntryDialog
2243 --enable-splash use wxSplashScreen
2244 --enable-textdlg use wxTextDialog
2245 --enable-tipdlg use startup tips
2246 --enable-progressdlg use wxProgressDialog
2247 --enable-wizarddlg use wxWizard
2248 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
2249 --enable-miniframe use wxMiniFrame class
2250 --enable-tooltips use wxToolTip class
2251 --enable-splines use spline drawing code
2252 --enable-mousewheel use mousewheel
2253 --enable-validators use wxValidator and derived classes
2254 --enable-busyinfo use wxBusyInfo
2255 --enable-hotkey use wxWindow::RegisterHotKey()
2256 --enable-joystick use wxJoystick
2257 --enable-metafiles use wxMetaFile
2258 --enable-dragimage use wxDragImage
2259 --enable-accessibility enable accessibility support
2260 --enable-uiactionsim use wxUIActionSimulator (experimental)
2261 --enable-dctransform use wxDC::SetTransformMatrix and related
2262 --enable-webview-webkit use wxWebView WebKit backend
2263 --enable-palette use wxPalette class
2264 --enable-image use wxImage class
2265 --enable-gif use gif images (GIF file format)
2266 --enable-pcx use pcx images (PCX file format)
2267 --enable-tga use tga images (TGA file format)
2268 --enable-iff use iff images (IFF file format)
2269 --enable-pnm use pnm images (PNM file format)
2270 --enable-xpm use xpm images (XPM file format)
2271 --enable-ico_cur use Windows ICO and CUR formats
2272 --enable-dccache cache temporary wxDC objects (Win32 only)
2273 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
2274 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
2275 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
2276 --enable-wxdib use wxDIB class (Win32 only)
2277 --enable-webview-ie use wxWebView IE backend (Win32 only)
2278 --enable-autoidman use automatic ids management
2279 --disable-largefile omit support for large files
2280 --disable-gtktest do not try to compile and run a test GTK+ program
2281 --disable-gtktest Do not try to compile and run a test GTK program
2282 --disable-sdltest Do not try to compile and run a test SDL program
2283 --enable-omf use OMF object format (OS/2)
2284 --disable-dependency-tracking
2285 don't use dependency tracking even if the compiler
2286 can
2287 --disable-precomp-headers
2288 don't use precompiled headers even if compiler can
2289
2290 Optional Packages:
2291 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2292 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2293 --without-subdirs don't generate makefiles for samples/demos/...
2294 --with-flavour=NAME specify a name to identify this build
2295 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2296 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
2297 --with-motif use Motif/Lesstif
2298 --with-osx_carbon use Mac OS X (Carbon)
2299 --with-osx_cocoa use Mac OS X (Cocoa)
2300 --with-osx_iphone use iPhone OS X port
2301 --with-osx use Mac OS X (default port, currently Carbon)
2302 --with-carbon same as --with-osx_carbon
2303 --with-cocoa same as --with-osx_cocoa
2304 --with-iphone same as --with-osx_iphone
2305 --with-mac same as --with-osx
2306 --with-old_cocoa use old, deprecated, Cocoa port
2307 --with-wine use Wine
2308 --with-msw use MS-Windows
2309 --with-pm use OS/2 Presentation Manager
2310 --with-directfb use DirectFB
2311 --with-microwin use MicroWindows
2312 --with-x11 use X11
2313 --with-libpng use libpng (PNG image format)
2314 --with-libjpeg use libjpeg (JPEG file format)
2315 --with-libtiff use libtiff (TIFF file format)
2316 --with-libxpm use libxpm (XPM file format)
2317 --with-libiconv use libiconv (character conversion)
2318 --with-libmspack use libmspack (CHM help files loading)
2319 --without-gtkprint don't use GTK printing support
2320 --without-gnomeprint don't use GNOME printing libraries
2321 --with-gnomevfs use GNOME VFS for associating MIME types
2322 --with-hildon use Hildon framework for Nokia 770/800/810
2323 --with-opengl use OpenGL (or Mesa)
2324 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2325 --with-sdl use SDL for audio on Unix
2326 --with-regex enable support for wxRegEx class
2327 --with-zlib use zlib for LZW compression
2328 --with-expat enable XML support using expat parser
2329 --with-macosx-sdk=PATH use an OS X SDK at PATH
2330 --with-macosx-version-min=VER build binaries which require at least this OS X version
2331 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2332 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2333 --with-x use the X Window System
2334 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2335 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2336 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2337 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2338 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2339
2340 Some influential environment variables:
2341 CC C compiler command
2342 CFLAGS C compiler flags
2343 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2344 nonstandard directory <lib dir>
2345 LIBS libraries to pass to the linker, e.g. -l<library>
2346 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2347 you have headers in a nonstandard directory <include dir>
2348 CPP C preprocessor
2349 CXX C++ compiler command
2350 CXXFLAGS C++ compiler flags
2351 CXXCPP C++ preprocessor
2352 PKG_CONFIG path to pkg-config utility
2353 DIRECTFB_CFLAGS
2354 C compiler flags for DIRECTFB, overriding pkg-config
2355 DIRECTFB_LIBS
2356 linker flags for DIRECTFB, overriding pkg-config
2357 XMKMF Path to xmkmf, Makefile generator for X Window System
2358 PANGOX_CFLAGS
2359 C compiler flags for PANGOX, overriding pkg-config
2360 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2361 PANGOFT2_CFLAGS
2362 C compiler flags for PANGOFT2, overriding pkg-config
2363 PANGOFT2_LIBS
2364 linker flags for PANGOFT2, overriding pkg-config
2365 PANGOXFT_CFLAGS
2366 C compiler flags for PANGOXFT, overriding pkg-config
2367 PANGOXFT_LIBS
2368 linker flags for PANGOXFT, overriding pkg-config
2369 Xinerama_CFLAGS
2370 C compiler flags for Xinerama, overriding pkg-config
2371 Xinerama_LIBS
2372 linker flags for Xinerama, overriding pkg-config
2373 Xxf86vm_CFLAGS
2374 C compiler flags for Xxf86vm, overriding pkg-config
2375 Xxf86vm_LIBS
2376 linker flags for Xxf86vm, overriding pkg-config
2377 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2378 SM_LIBS linker flags for SM, overriding pkg-config
2379 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2380 GL_LIBS linker flags for GL, overriding pkg-config
2381 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2382 GLU_LIBS linker flags for GLU, overriding pkg-config
2383 MesaGL_CFLAGS
2384 C compiler flags for MesaGL, overriding pkg-config
2385 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2386 GTKPRINT_CFLAGS
2387 C compiler flags for GTKPRINT, overriding pkg-config
2388 GTKPRINT_LIBS
2389 linker flags for GTKPRINT, overriding pkg-config
2390 LIBGNOMEPRINTUI_CFLAGS
2391 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2392 LIBGNOMEPRINTUI_LIBS
2393 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2394 GNOMEVFS_CFLAGS
2395 C compiler flags for GNOMEVFS, overriding pkg-config
2396 GNOMEVFS_LIBS
2397 linker flags for GNOMEVFS, overriding pkg-config
2398 HILDON_CFLAGS
2399 C compiler flags for HILDON, overriding pkg-config
2400 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2401 HILDON2_CFLAGS
2402 C compiler flags for HILDON2, overriding pkg-config
2403 HILDON2_LIBS
2404 linker flags for HILDON2, overriding pkg-config
2405 WEBKIT_CFLAGS
2406 C compiler flags for WEBKIT, overriding pkg-config
2407 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2408 CAIRO_CFLAGS
2409 C compiler flags for CAIRO, overriding pkg-config
2410 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2411 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2412 GST_LIBS linker flags for GST, overriding pkg-config
2413
2414 Use these variables to override the choices made by `configure' or to help
2415 it to find libraries and programs with nonstandard names/locations.
2416
2417 Report bugs to <wx-dev@lists.wxwidgets.org>.
2418 _ACEOF
2419 ac_status=$?
2420 fi
2421
2422 if test "$ac_init_help" = "recursive"; then
2423 # If there are subdirs, report their specific --help.
2424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2425 test -d "$ac_dir" ||
2426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2427 continue
2428 ac_builddir=.
2429
2430 case "$ac_dir" in
2431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2432 *)
2433 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2434 # A ".." for each directory in $ac_dir_suffix.
2435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2436 case $ac_top_builddir_sub in
2437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2439 esac ;;
2440 esac
2441 ac_abs_top_builddir=$ac_pwd
2442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2443 # for backward compatibility:
2444 ac_top_builddir=$ac_top_build_prefix
2445
2446 case $srcdir in
2447 .) # We are building in place.
2448 ac_srcdir=.
2449 ac_top_srcdir=$ac_top_builddir_sub
2450 ac_abs_top_srcdir=$ac_pwd ;;
2451 [\\/]* | ?:[\\/]* ) # Absolute name.
2452 ac_srcdir=$srcdir$ac_dir_suffix;
2453 ac_top_srcdir=$srcdir
2454 ac_abs_top_srcdir=$srcdir ;;
2455 *) # Relative name.
2456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2457 ac_top_srcdir=$ac_top_build_prefix$srcdir
2458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2459 esac
2460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2461
2462 cd "$ac_dir" || { ac_status=$?; continue; }
2463 # Check for guested configure.
2464 if test -f "$ac_srcdir/configure.gnu"; then
2465 echo &&
2466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2467 elif test -f "$ac_srcdir/configure"; then
2468 echo &&
2469 $SHELL "$ac_srcdir/configure" --help=recursive
2470 else
2471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2472 fi || ac_status=$?
2473 cd "$ac_pwd" || { ac_status=$?; break; }
2474 done
2475 fi
2476
2477 test -n "$ac_init_help" && exit $ac_status
2478 if $ac_init_version; then
2479 cat <<\_ACEOF
2480 wxWidgets configure 2.9.4
2481 generated by GNU Autoconf 2.67
2482
2483 Copyright (C) 2010 Free Software Foundation, Inc.
2484 This configure script is free software; the Free Software Foundation
2485 gives unlimited permission to copy, distribute and modify it.
2486 _ACEOF
2487 exit
2488 fi
2489
2490 ## ------------------------ ##
2491 ## Autoconf initialization. ##
2492 ## ------------------------ ##
2493
2494 # ac_fn_c_try_compile LINENO
2495 # --------------------------
2496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2497 ac_fn_c_try_compile ()
2498 {
2499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2500 rm -f conftest.$ac_objext
2501 if { { ac_try="$ac_compile"
2502 case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505 esac
2506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2507 $as_echo "$ac_try_echo"; } >&5
2508 (eval "$ac_compile") 2>conftest.err
2509 ac_status=$?
2510 if test -s conftest.err; then
2511 grep -v '^ *+' conftest.err >conftest.er1
2512 cat conftest.er1 >&5
2513 mv -f conftest.er1 conftest.err
2514 fi
2515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2516 test $ac_status = 0; } && {
2517 test -z "$ac_c_werror_flag" ||
2518 test ! -s conftest.err
2519 } && test -s conftest.$ac_objext; then :
2520 ac_retval=0
2521 else
2522 $as_echo "$as_me: failed program was:" >&5
2523 sed 's/^/| /' conftest.$ac_ext >&5
2524
2525 ac_retval=1
2526 fi
2527 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2528 as_fn_set_status $ac_retval
2529
2530 } # ac_fn_c_try_compile
2531
2532 # ac_fn_c_try_cpp LINENO
2533 # ----------------------
2534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2535 ac_fn_c_try_cpp ()
2536 {
2537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2538 if { { ac_try="$ac_cpp conftest.$ac_ext"
2539 case "(($ac_try" in
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2542 esac
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2546 ac_status=$?
2547 if test -s conftest.err; then
2548 grep -v '^ *+' conftest.err >conftest.er1
2549 cat conftest.er1 >&5
2550 mv -f conftest.er1 conftest.err
2551 fi
2552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2553 test $ac_status = 0; } > conftest.i && {
2554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2555 test ! -s conftest.err
2556 }; then :
2557 ac_retval=0
2558 else
2559 $as_echo "$as_me: failed program was:" >&5
2560 sed 's/^/| /' conftest.$ac_ext >&5
2561
2562 ac_retval=1
2563 fi
2564 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2565 as_fn_set_status $ac_retval
2566
2567 } # ac_fn_c_try_cpp
2568
2569 # ac_fn_cxx_try_compile LINENO
2570 # ----------------------------
2571 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2572 ac_fn_cxx_try_compile ()
2573 {
2574 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2575 rm -f conftest.$ac_objext
2576 if { { ac_try="$ac_compile"
2577 case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2580 esac
2581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2582 $as_echo "$ac_try_echo"; } >&5
2583 (eval "$ac_compile") 2>conftest.err
2584 ac_status=$?
2585 if test -s conftest.err; then
2586 grep -v '^ *+' conftest.err >conftest.er1
2587 cat conftest.er1 >&5
2588 mv -f conftest.er1 conftest.err
2589 fi
2590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2591 test $ac_status = 0; } && {
2592 test -z "$ac_cxx_werror_flag" ||
2593 test ! -s conftest.err
2594 } && test -s conftest.$ac_objext; then :
2595 ac_retval=0
2596 else
2597 $as_echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2599
2600 ac_retval=1
2601 fi
2602 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2603 as_fn_set_status $ac_retval
2604
2605 } # ac_fn_cxx_try_compile
2606
2607 # ac_fn_c_try_link LINENO
2608 # -----------------------
2609 # Try to link conftest.$ac_ext, and return whether this succeeded.
2610 ac_fn_c_try_link ()
2611 {
2612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2613 rm -f conftest.$ac_objext conftest$ac_exeext
2614 if { { ac_try="$ac_link"
2615 case "(($ac_try" in
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2618 esac
2619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2620 $as_echo "$ac_try_echo"; } >&5
2621 (eval "$ac_link") 2>conftest.err
2622 ac_status=$?
2623 if test -s conftest.err; then
2624 grep -v '^ *+' conftest.err >conftest.er1
2625 cat conftest.er1 >&5
2626 mv -f conftest.er1 conftest.err
2627 fi
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; } && {
2630 test -z "$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 } && test -s conftest$ac_exeext && {
2633 test "$cross_compiling" = yes ||
2634 $as_test_x conftest$ac_exeext
2635 }; then :
2636 ac_retval=0
2637 else
2638 $as_echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2640
2641 ac_retval=1
2642 fi
2643 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2644 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2645 # interfere with the next link command; also delete a directory that is
2646 # left behind by Apple's compiler. We do this before executing the actions.
2647 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2648 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2649 as_fn_set_status $ac_retval
2650
2651 } # ac_fn_c_try_link
2652
2653 # ac_fn_cxx_try_link LINENO
2654 # -------------------------
2655 # Try to link conftest.$ac_ext, and return whether this succeeded.
2656 ac_fn_cxx_try_link ()
2657 {
2658 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2659 rm -f conftest.$ac_objext conftest$ac_exeext
2660 if { { ac_try="$ac_link"
2661 case "(($ac_try" in
2662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2663 *) ac_try_echo=$ac_try;;
2664 esac
2665 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2666 $as_echo "$ac_try_echo"; } >&5
2667 (eval "$ac_link") 2>conftest.err
2668 ac_status=$?
2669 if test -s conftest.err; then
2670 grep -v '^ *+' conftest.err >conftest.er1
2671 cat conftest.er1 >&5
2672 mv -f conftest.er1 conftest.err
2673 fi
2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675 test $ac_status = 0; } && {
2676 test -z "$ac_cxx_werror_flag" ||
2677 test ! -s conftest.err
2678 } && test -s conftest$ac_exeext && {
2679 test "$cross_compiling" = yes ||
2680 $as_test_x conftest$ac_exeext
2681 }; then :
2682 ac_retval=0
2683 else
2684 $as_echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.$ac_ext >&5
2686
2687 ac_retval=1
2688 fi
2689 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2690 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2691 # interfere with the next link command; also delete a directory that is
2692 # left behind by Apple's compiler. We do this before executing the actions.
2693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2694 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2695 as_fn_set_status $ac_retval
2696
2697 } # ac_fn_cxx_try_link
2698
2699 # ac_fn_c_try_run LINENO
2700 # ----------------------
2701 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2702 # that executables *can* be run.
2703 ac_fn_c_try_run ()
2704 {
2705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2706 if { { ac_try="$ac_link"
2707 case "(($ac_try" in
2708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2710 esac
2711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2712 $as_echo "$ac_try_echo"; } >&5
2713 (eval "$ac_link") 2>&5
2714 ac_status=$?
2715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2716 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2717 { { case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2722 $as_echo "$ac_try_echo"; } >&5
2723 (eval "$ac_try") 2>&5
2724 ac_status=$?
2725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2726 test $ac_status = 0; }; }; then :
2727 ac_retval=0
2728 else
2729 $as_echo "$as_me: program exited with status $ac_status" >&5
2730 $as_echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2732
2733 ac_retval=$ac_status
2734 fi
2735 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2737 as_fn_set_status $ac_retval
2738
2739 } # ac_fn_c_try_run
2740
2741 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2742 # -------------------------------------------------------
2743 # Tests whether HEADER exists and can be compiled using the include files in
2744 # INCLUDES, setting the cache variable VAR accordingly.
2745 ac_fn_c_check_header_compile ()
2746 {
2747 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2749 $as_echo_n "checking for $2... " >&6; }
2750 if eval "test \"\${$3+set}\"" = set; then :
2751 $as_echo_n "(cached) " >&6
2752 else
2753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754 /* end confdefs.h. */
2755 $4
2756 #include <$2>
2757 _ACEOF
2758 if ac_fn_c_try_compile "$LINENO"; then :
2759 eval "$3=yes"
2760 else
2761 eval "$3=no"
2762 fi
2763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2764 fi
2765 eval ac_res=\$$3
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2767 $as_echo "$ac_res" >&6; }
2768 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2769
2770 } # ac_fn_c_check_header_compile
2771
2772 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2773 # --------------------------------------------
2774 # Tries to find the compile-time value of EXPR in a program that includes
2775 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2776 # computed
2777 ac_fn_c_compute_int ()
2778 {
2779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2780 if test "$cross_compiling" = yes; then
2781 # Depending upon the size, compute the lo and hi bounds.
2782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2783 /* end confdefs.h. */
2784 $4
2785 int
2786 main ()
2787 {
2788 static int test_array [1 - 2 * !(($2) >= 0)];
2789 test_array [0] = 0
2790
2791 ;
2792 return 0;
2793 }
2794 _ACEOF
2795 if ac_fn_c_try_compile "$LINENO"; then :
2796 ac_lo=0 ac_mid=0
2797 while :; do
2798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2799 /* end confdefs.h. */
2800 $4
2801 int
2802 main ()
2803 {
2804 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2805 test_array [0] = 0
2806
2807 ;
2808 return 0;
2809 }
2810 _ACEOF
2811 if ac_fn_c_try_compile "$LINENO"; then :
2812 ac_hi=$ac_mid; break
2813 else
2814 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2815 if test $ac_lo -le $ac_mid; then
2816 ac_lo= ac_hi=
2817 break
2818 fi
2819 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2820 fi
2821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2822 done
2823 else
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2826 $4
2827 int
2828 main ()
2829 {
2830 static int test_array [1 - 2 * !(($2) < 0)];
2831 test_array [0] = 0
2832
2833 ;
2834 return 0;
2835 }
2836 _ACEOF
2837 if ac_fn_c_try_compile "$LINENO"; then :
2838 ac_hi=-1 ac_mid=-1
2839 while :; do
2840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841 /* end confdefs.h. */
2842 $4
2843 int
2844 main ()
2845 {
2846 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2847 test_array [0] = 0
2848
2849 ;
2850 return 0;
2851 }
2852 _ACEOF
2853 if ac_fn_c_try_compile "$LINENO"; then :
2854 ac_lo=$ac_mid; break
2855 else
2856 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2857 if test $ac_mid -le $ac_hi; then
2858 ac_lo= ac_hi=
2859 break
2860 fi
2861 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2862 fi
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 done
2865 else
2866 ac_lo= ac_hi=
2867 fi
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 fi
2870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 # Binary search between lo and hi bounds.
2872 while test "x$ac_lo" != "x$ac_hi"; do
2873 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2875 /* end confdefs.h. */
2876 $4
2877 int
2878 main ()
2879 {
2880 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2881 test_array [0] = 0
2882
2883 ;
2884 return 0;
2885 }
2886 _ACEOF
2887 if ac_fn_c_try_compile "$LINENO"; then :
2888 ac_hi=$ac_mid
2889 else
2890 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2891 fi
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2893 done
2894 case $ac_lo in #((
2895 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2896 '') ac_retval=1 ;;
2897 esac
2898 else
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2901 $4
2902 static long int longval () { return $2; }
2903 static unsigned long int ulongval () { return $2; }
2904 #include <stdio.h>
2905 #include <stdlib.h>
2906 int
2907 main ()
2908 {
2909
2910 FILE *f = fopen ("conftest.val", "w");
2911 if (! f)
2912 return 1;
2913 if (($2) < 0)
2914 {
2915 long int i = longval ();
2916 if (i != ($2))
2917 return 1;
2918 fprintf (f, "%ld", i);
2919 }
2920 else
2921 {
2922 unsigned long int i = ulongval ();
2923 if (i != ($2))
2924 return 1;
2925 fprintf (f, "%lu", i);
2926 }
2927 /* Do not output a trailing newline, as this causes \r\n confusion
2928 on some platforms. */
2929 return ferror (f) || fclose (f) != 0;
2930
2931 ;
2932 return 0;
2933 }
2934 _ACEOF
2935 if ac_fn_c_try_run "$LINENO"; then :
2936 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2937 else
2938 ac_retval=1
2939 fi
2940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2941 conftest.$ac_objext conftest.beam conftest.$ac_ext
2942 rm -f conftest.val
2943
2944 fi
2945 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2946 as_fn_set_status $ac_retval
2947
2948 } # ac_fn_c_compute_int
2949
2950 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2951 # ---------------------------------------------------------
2952 # Tests whether HEADER exists and can be compiled using the include files in
2953 # INCLUDES, setting the cache variable VAR accordingly.
2954 ac_fn_cxx_check_header_compile ()
2955 {
2956 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2958 $as_echo_n "checking for $2... " >&6; }
2959 if eval "test \"\${$3+set}\"" = set; then :
2960 $as_echo_n "(cached) " >&6
2961 else
2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2964 $4
2965 #include <$2>
2966 _ACEOF
2967 if ac_fn_cxx_try_compile "$LINENO"; then :
2968 eval "$3=yes"
2969 else
2970 eval "$3=no"
2971 fi
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 fi
2974 eval ac_res=\$$3
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2976 $as_echo "$ac_res" >&6; }
2977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2978
2979 } # ac_fn_cxx_check_header_compile
2980
2981 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2982 # ---------------------------------------------
2983 # Tests whether TYPE exists after having included INCLUDES, setting cache
2984 # variable VAR accordingly.
2985 ac_fn_cxx_check_type ()
2986 {
2987 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2989 $as_echo_n "checking for $2... " >&6; }
2990 if eval "test \"\${$3+set}\"" = set; then :
2991 $as_echo_n "(cached) " >&6
2992 else
2993 eval "$3=no"
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2996 $4
2997 int
2998 main ()
2999 {
3000 if (sizeof ($2))
3001 return 0;
3002 ;
3003 return 0;
3004 }
3005 _ACEOF
3006 if ac_fn_cxx_try_compile "$LINENO"; then :
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3009 $4
3010 int
3011 main ()
3012 {
3013 if (sizeof (($2)))
3014 return 0;
3015 ;
3016 return 0;
3017 }
3018 _ACEOF
3019 if ac_fn_cxx_try_compile "$LINENO"; then :
3020
3021 else
3022 eval "$3=yes"
3023 fi
3024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025 fi
3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3027 fi
3028 eval ac_res=\$$3
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3030 $as_echo "$ac_res" >&6; }
3031 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3032
3033 } # ac_fn_cxx_check_type
3034
3035 # ac_fn_cxx_try_cpp LINENO
3036 # ------------------------
3037 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3038 ac_fn_cxx_try_cpp ()
3039 {
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 if { { ac_try="$ac_cpp conftest.$ac_ext"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3049 ac_status=$?
3050 if test -s conftest.err; then
3051 grep -v '^ *+' conftest.err >conftest.er1
3052 cat conftest.er1 >&5
3053 mv -f conftest.er1 conftest.err
3054 fi
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; } > conftest.i && {
3057 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3058 test ! -s conftest.err
3059 }; then :
3060 ac_retval=0
3061 else
3062 $as_echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.$ac_ext >&5
3064
3065 ac_retval=1
3066 fi
3067 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3068 as_fn_set_status $ac_retval
3069
3070 } # ac_fn_cxx_try_cpp
3071
3072 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3073 # ---------------------------------------------------------
3074 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3075 # the include files in INCLUDES and setting the cache variable VAR
3076 # accordingly.
3077 ac_fn_cxx_check_header_mongrel ()
3078 {
3079 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3080 if eval "test \"\${$3+set}\"" = set; then :
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 $as_echo_n "checking for $2... " >&6; }
3083 if eval "test \"\${$3+set}\"" = set; then :
3084 $as_echo_n "(cached) " >&6
3085 fi
3086 eval ac_res=\$$3
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3088 $as_echo "$ac_res" >&6; }
3089 else
3090 # Is the header compilable?
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3092 $as_echo_n "checking $2 usability... " >&6; }
3093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3095 $4
3096 #include <$2>
3097 _ACEOF
3098 if ac_fn_cxx_try_compile "$LINENO"; then :
3099 ac_header_compiler=yes
3100 else
3101 ac_header_compiler=no
3102 fi
3103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3105 $as_echo "$ac_header_compiler" >&6; }
3106
3107 # Is the header present?
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3109 $as_echo_n "checking $2 presence... " >&6; }
3110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3111 /* end confdefs.h. */
3112 #include <$2>
3113 _ACEOF
3114 if ac_fn_cxx_try_cpp "$LINENO"; then :
3115 ac_header_preproc=yes
3116 else
3117 ac_header_preproc=no
3118 fi
3119 rm -f conftest.err conftest.i conftest.$ac_ext
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3121 $as_echo "$ac_header_preproc" >&6; }
3122
3123 # So? What about this header?
3124 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3125 yes:no: )
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3127 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3130 ;;
3131 no:yes:* )
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3133 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3135 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3137 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3139 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3141 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3142 ( $as_echo "## ----------------------------------------- ##
3143 ## Report this to wx-dev@lists.wxwidgets.org ##
3144 ## ----------------------------------------- ##"
3145 ) | sed "s/^/$as_me: WARNING: /" >&2
3146 ;;
3147 esac
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3149 $as_echo_n "checking for $2... " >&6; }
3150 if eval "test \"\${$3+set}\"" = set; then :
3151 $as_echo_n "(cached) " >&6
3152 else
3153 eval "$3=\$ac_header_compiler"
3154 fi
3155 eval ac_res=\$$3
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3157 $as_echo "$ac_res" >&6; }
3158 fi
3159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3160
3161 } # ac_fn_cxx_check_header_mongrel
3162
3163 # ac_fn_c_check_func LINENO FUNC VAR
3164 # ----------------------------------
3165 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3166 ac_fn_c_check_func ()
3167 {
3168 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3170 $as_echo_n "checking for $2... " >&6; }
3171 if eval "test \"\${$3+set}\"" = set; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175 /* end confdefs.h. */
3176 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3178 #define $2 innocuous_$2
3179
3180 /* System header to define __stub macros and hopefully few prototypes,
3181 which can conflict with char $2 (); below.
3182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3183 <limits.h> exists even on freestanding compilers. */
3184
3185 #ifdef __STDC__
3186 # include <limits.h>
3187 #else
3188 # include <assert.h>
3189 #endif
3190
3191 #undef $2
3192
3193 /* Override any GCC internal prototype to avoid an error.
3194 Use char because int might match the return type of a GCC
3195 builtin and then its argument prototype would still apply. */
3196 #ifdef __cplusplus
3197 extern "C"
3198 #endif
3199 char $2 ();
3200 /* The GNU C library defines this for functions which it implements
3201 to always fail with ENOSYS. Some functions are actually named
3202 something starting with __ and the normal name is an alias. */
3203 #if defined __stub_$2 || defined __stub___$2
3204 choke me
3205 #endif
3206
3207 int
3208 main ()
3209 {
3210 return $2 ();
3211 ;
3212 return 0;
3213 }
3214 _ACEOF
3215 if ac_fn_c_try_link "$LINENO"; then :
3216 eval "$3=yes"
3217 else
3218 eval "$3=no"
3219 fi
3220 rm -f core conftest.err conftest.$ac_objext \
3221 conftest$ac_exeext conftest.$ac_ext
3222 fi
3223 eval ac_res=\$$3
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3225 $as_echo "$ac_res" >&6; }
3226 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3227
3228 } # ac_fn_c_check_func
3229
3230 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3231 # -------------------------------------------
3232 # Tests whether TYPE exists after having included INCLUDES, setting cache
3233 # variable VAR accordingly.
3234 ac_fn_c_check_type ()
3235 {
3236 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3238 $as_echo_n "checking for $2... " >&6; }
3239 if eval "test \"\${$3+set}\"" = set; then :
3240 $as_echo_n "(cached) " >&6
3241 else
3242 eval "$3=no"
3243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3244 /* end confdefs.h. */
3245 $4
3246 int
3247 main ()
3248 {
3249 if (sizeof ($2))
3250 return 0;
3251 ;
3252 return 0;
3253 }
3254 _ACEOF
3255 if ac_fn_c_try_compile "$LINENO"; then :
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3258 $4
3259 int
3260 main ()
3261 {
3262 if (sizeof (($2)))
3263 return 0;
3264 ;
3265 return 0;
3266 }
3267 _ACEOF
3268 if ac_fn_c_try_compile "$LINENO"; then :
3269
3270 else
3271 eval "$3=yes"
3272 fi
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 fi
3275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 fi
3277 eval ac_res=\$$3
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3279 $as_echo "$ac_res" >&6; }
3280 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3281
3282 } # ac_fn_c_check_type
3283
3284 # ac_fn_cxx_try_run LINENO
3285 # ------------------------
3286 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3287 # that executables *can* be run.
3288 ac_fn_cxx_try_run ()
3289 {
3290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3291 if { { ac_try="$ac_link"
3292 case "(($ac_try" in
3293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3294 *) ac_try_echo=$ac_try;;
3295 esac
3296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3297 $as_echo "$ac_try_echo"; } >&5
3298 (eval "$ac_link") 2>&5
3299 ac_status=$?
3300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3301 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3302 { { case "(($ac_try" in
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3305 esac
3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307 $as_echo "$ac_try_echo"; } >&5
3308 (eval "$ac_try") 2>&5
3309 ac_status=$?
3310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; }; then :
3312 ac_retval=0
3313 else
3314 $as_echo "$as_me: program exited with status $ac_status" >&5
3315 $as_echo "$as_me: failed program was:" >&5
3316 sed 's/^/| /' conftest.$ac_ext >&5
3317
3318 ac_retval=$ac_status
3319 fi
3320 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3321 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3322 as_fn_set_status $ac_retval
3323
3324 } # ac_fn_cxx_try_run
3325 cat >config.log <<_ACEOF
3326 This file contains any messages produced by compilers while
3327 running configure, to aid debugging if configure makes a mistake.
3328
3329 It was created by wxWidgets $as_me 2.9.4, which was
3330 generated by GNU Autoconf 2.67. Invocation command line was
3331
3332 $ $0 $@
3333
3334 _ACEOF
3335 exec 5>>config.log
3336 {
3337 cat <<_ASUNAME
3338 ## --------- ##
3339 ## Platform. ##
3340 ## --------- ##
3341
3342 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3343 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3344 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3345 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3346 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3347
3348 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3349 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3350
3351 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3352 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3353 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3354 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3355 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3356 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3357 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3358
3359 _ASUNAME
3360
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3362 for as_dir in $PATH
3363 do
3364 IFS=$as_save_IFS
3365 test -z "$as_dir" && as_dir=.
3366 $as_echo "PATH: $as_dir"
3367 done
3368 IFS=$as_save_IFS
3369
3370 } >&5
3371
3372 cat >&5 <<_ACEOF
3373
3374
3375 ## ----------- ##
3376 ## Core tests. ##
3377 ## ----------- ##
3378
3379 _ACEOF
3380
3381
3382 # Keep a trace of the command line.
3383 # Strip out --no-create and --no-recursion so they do not pile up.
3384 # Strip out --silent because we don't want to record it for future runs.
3385 # Also quote any args containing shell meta-characters.
3386 # Make two passes to allow for proper duplicate-argument suppression.
3387 ac_configure_args=
3388 ac_configure_args0=
3389 ac_configure_args1=
3390 ac_must_keep_next=false
3391 for ac_pass in 1 2
3392 do
3393 for ac_arg
3394 do
3395 case $ac_arg in
3396 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3398 | -silent | --silent | --silen | --sile | --sil)
3399 continue ;;
3400 *\'*)
3401 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3402 esac
3403 case $ac_pass in
3404 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3405 2)
3406 as_fn_append ac_configure_args1 " '$ac_arg'"
3407 if test $ac_must_keep_next = true; then
3408 ac_must_keep_next=false # Got value, back to normal.
3409 else
3410 case $ac_arg in
3411 *=* | --config-cache | -C | -disable-* | --disable-* \
3412 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3413 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3414 | -with-* | --with-* | -without-* | --without-* | --x)
3415 case "$ac_configure_args0 " in
3416 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3417 esac
3418 ;;
3419 -* ) ac_must_keep_next=true ;;
3420 esac
3421 fi
3422 as_fn_append ac_configure_args " '$ac_arg'"
3423 ;;
3424 esac
3425 done
3426 done
3427 { ac_configure_args0=; unset ac_configure_args0;}
3428 { ac_configure_args1=; unset ac_configure_args1;}
3429
3430 # When interrupted or exit'd, cleanup temporary files, and complete
3431 # config.log. We remove comments because anyway the quotes in there
3432 # would cause problems or look ugly.
3433 # WARNING: Use '\'' to represent an apostrophe within the trap.
3434 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3435 trap 'exit_status=$?
3436 # Save into config.log some information that might help in debugging.
3437 {
3438 echo
3439
3440 $as_echo "## ---------------- ##
3441 ## Cache variables. ##
3442 ## ---------------- ##"
3443 echo
3444 # The following way of writing the cache mishandles newlines in values,
3445 (
3446 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3447 eval ac_val=\$$ac_var
3448 case $ac_val in #(
3449 *${as_nl}*)
3450 case $ac_var in #(
3451 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3452 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3453 esac
3454 case $ac_var in #(
3455 _ | IFS | as_nl) ;; #(
3456 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3457 *) { eval $ac_var=; unset $ac_var;} ;;
3458 esac ;;
3459 esac
3460 done
3461 (set) 2>&1 |
3462 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3463 *${as_nl}ac_space=\ *)
3464 sed -n \
3465 "s/'\''/'\''\\\\'\'''\''/g;
3466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3467 ;; #(
3468 *)
3469 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3470 ;;
3471 esac |
3472 sort
3473 )
3474 echo
3475
3476 $as_echo "## ----------------- ##
3477 ## Output variables. ##
3478 ## ----------------- ##"
3479 echo
3480 for ac_var in $ac_subst_vars
3481 do
3482 eval ac_val=\$$ac_var
3483 case $ac_val in
3484 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3485 esac
3486 $as_echo "$ac_var='\''$ac_val'\''"
3487 done | sort
3488 echo
3489
3490 if test -n "$ac_subst_files"; then
3491 $as_echo "## ------------------- ##
3492 ## File substitutions. ##
3493 ## ------------------- ##"
3494 echo
3495 for ac_var in $ac_subst_files
3496 do
3497 eval ac_val=\$$ac_var
3498 case $ac_val in
3499 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3500 esac
3501 $as_echo "$ac_var='\''$ac_val'\''"
3502 done | sort
3503 echo
3504 fi
3505
3506 if test -s confdefs.h; then
3507 $as_echo "## ----------- ##
3508 ## confdefs.h. ##
3509 ## ----------- ##"
3510 echo
3511 cat confdefs.h
3512 echo
3513 fi
3514 test "$ac_signal" != 0 &&
3515 $as_echo "$as_me: caught signal $ac_signal"
3516 $as_echo "$as_me: exit $exit_status"
3517 } >&5
3518 rm -f core *.core core.conftest.* &&
3519 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3520 exit $exit_status
3521 ' 0
3522 for ac_signal in 1 2 13 15; do
3523 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3524 done
3525 ac_signal=0
3526
3527 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3528 rm -f -r conftest* confdefs.h
3529
3530 $as_echo "/* confdefs.h */" > confdefs.h
3531
3532 # Predefined preprocessor variables.
3533
3534 cat >>confdefs.h <<_ACEOF
3535 #define PACKAGE_NAME "$PACKAGE_NAME"
3536 _ACEOF
3537
3538 cat >>confdefs.h <<_ACEOF
3539 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3540 _ACEOF
3541
3542 cat >>confdefs.h <<_ACEOF
3543 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3544 _ACEOF
3545
3546 cat >>confdefs.h <<_ACEOF
3547 #define PACKAGE_STRING "$PACKAGE_STRING"
3548 _ACEOF
3549
3550 cat >>confdefs.h <<_ACEOF
3551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3552 _ACEOF
3553
3554 cat >>confdefs.h <<_ACEOF
3555 #define PACKAGE_URL "$PACKAGE_URL"
3556 _ACEOF
3557
3558
3559 # Let the site file select an alternate cache file if it wants to.
3560 # Prefer an explicitly selected file to automatically selected ones.
3561 ac_site_file1=NONE
3562 ac_site_file2=NONE
3563 if test -n "$CONFIG_SITE"; then
3564 # We do not want a PATH search for config.site.
3565 case $CONFIG_SITE in #((
3566 -*) ac_site_file1=./$CONFIG_SITE;;
3567 */*) ac_site_file1=$CONFIG_SITE;;
3568 *) ac_site_file1=./$CONFIG_SITE;;
3569 esac
3570 elif test "x$prefix" != xNONE; then
3571 ac_site_file1=$prefix/share/config.site
3572 ac_site_file2=$prefix/etc/config.site
3573 else
3574 ac_site_file1=$ac_default_prefix/share/config.site
3575 ac_site_file2=$ac_default_prefix/etc/config.site
3576 fi
3577 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3578 do
3579 test "x$ac_site_file" = xNONE && continue
3580 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3582 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3583 sed 's/^/| /' "$ac_site_file" >&5
3584 . "$ac_site_file" \
3585 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 as_fn_error $? "failed to load site script $ac_site_file
3588 See \`config.log' for more details" "$LINENO" 5 ; }
3589 fi
3590 done
3591
3592 if test -r "$cache_file"; then
3593 # Some versions of bash will fail to source /dev/null (special files
3594 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3595 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3597 $as_echo "$as_me: loading cache $cache_file" >&6;}
3598 case $cache_file in
3599 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3600 *) . "./$cache_file";;
3601 esac
3602 fi
3603 else
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3605 $as_echo "$as_me: creating cache $cache_file" >&6;}
3606 >$cache_file
3607 fi
3608
3609 # Check that the precious variables saved in the cache have kept the same
3610 # value.
3611 ac_cache_corrupted=false
3612 for ac_var in $ac_precious_vars; do
3613 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3614 eval ac_new_set=\$ac_env_${ac_var}_set
3615 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3616 eval ac_new_val=\$ac_env_${ac_var}_value
3617 case $ac_old_set,$ac_new_set in
3618 set,)
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3620 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3621 ac_cache_corrupted=: ;;
3622 ,set)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3624 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3625 ac_cache_corrupted=: ;;
3626 ,);;
3627 *)
3628 if test "x$ac_old_val" != "x$ac_new_val"; then
3629 # differences in whitespace do not lead to failure.
3630 ac_old_val_w=`echo x $ac_old_val`
3631 ac_new_val_w=`echo x $ac_new_val`
3632 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3634 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3635 ac_cache_corrupted=:
3636 else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3638 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3639 eval $ac_var=\$ac_old_val
3640 fi
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3642 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3644 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3645 fi;;
3646 esac
3647 # Pass precious variables to config.status.
3648 if test "$ac_new_set" = set; then
3649 case $ac_new_val in
3650 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3651 *) ac_arg=$ac_var=$ac_new_val ;;
3652 esac
3653 case " $ac_configure_args " in
3654 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3655 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3656 esac
3657 fi
3658 done
3659 if $ac_cache_corrupted; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3663 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3664 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3665 fi
3666 ## -------------------- ##
3667 ## Main body of script. ##
3668 ## -------------------- ##
3669
3670 ac_ext=c
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3675
3676
3677
3678
3679
3680 ac_aux_dir=
3681 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3682 if test -f "$ac_dir/install-sh"; then
3683 ac_aux_dir=$ac_dir
3684 ac_install_sh="$ac_aux_dir/install-sh -c"
3685 break
3686 elif 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/shtool"; then
3691 ac_aux_dir=$ac_dir
3692 ac_install_sh="$ac_aux_dir/shtool install -c"
3693 break
3694 fi
3695 done
3696 if test -z "$ac_aux_dir"; then
3697 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3698 fi
3699
3700 # These three variables are undocumented and unsupported,
3701 # and are intended to be withdrawn in a future Autoconf release.
3702 # They can cause serious problems if a builder's source tree is in a directory
3703 # whose full name contains unusual characters.
3704 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3705 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3706 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3707
3708
3709 # Make sure we can run config.sub.
3710 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3711 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3712
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3714 $as_echo_n "checking build system type... " >&6; }
3715 if test "${ac_cv_build+set}" = set; then :
3716 $as_echo_n "(cached) " >&6
3717 else
3718 ac_build_alias=$build_alias
3719 test "x$ac_build_alias" = x &&
3720 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3721 test "x$ac_build_alias" = x &&
3722 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3723 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3724 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3725
3726 fi
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3728 $as_echo "$ac_cv_build" >&6; }
3729 case $ac_cv_build in
3730 *-*-*) ;;
3731 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3732 esac
3733 build=$ac_cv_build
3734 ac_save_IFS=$IFS; IFS='-'
3735 set x $ac_cv_build
3736 shift
3737 build_cpu=$1
3738 build_vendor=$2
3739 shift; shift
3740 # Remember, the first character of IFS is used to create $*,
3741 # except with old shells:
3742 build_os=$*
3743 IFS=$ac_save_IFS
3744 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3745
3746
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3748 $as_echo_n "checking host system type... " >&6; }
3749 if test "${ac_cv_host+set}" = set; then :
3750 $as_echo_n "(cached) " >&6
3751 else
3752 if test "x$host_alias" = x; then
3753 ac_cv_host=$ac_cv_build
3754 else
3755 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3756 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3757 fi
3758
3759 fi
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3761 $as_echo "$ac_cv_host" >&6; }
3762 case $ac_cv_host in
3763 *-*-*) ;;
3764 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3765 esac
3766 host=$ac_cv_host
3767 ac_save_IFS=$IFS; IFS='-'
3768 set x $ac_cv_host
3769 shift
3770 host_cpu=$1
3771 host_vendor=$2
3772 shift; shift
3773 # Remember, the first character of IFS is used to create $*,
3774 # except with old shells:
3775 host_os=$*
3776 IFS=$ac_save_IFS
3777 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3778
3779
3780
3781 if test "$cross_compiling" != "no"; then
3782 HOST_PREFIX="${host_alias}-"
3783 HOST_SUFFIX="-$host_alias"
3784 else
3785 HOST_PREFIX=
3786 HOST_SUFFIX=
3787 fi
3788
3789
3790 wx_major_version_number=2
3791 wx_minor_version_number=9
3792 wx_release_number=4
3793 wx_subrelease_number=0
3794
3795 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
3796 WX_VERSION=$WX_RELEASE.$wx_release_number
3797 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
3798
3799 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
3800
3801
3802 wx_top_builddir="`pwd`"
3803
3804
3805
3806
3807 USE_UNIX=1
3808 USE_OS2=0
3809 USE_WIN32=0
3810 USE_DOS=0
3811 USE_BEOS=0
3812 USE_MAC=0
3813
3814 USE_AIX=
3815 USE_BSD= USE_DARWIN= USE_FREEBSD=
3816 USE_GNU= USE_HPUX=
3817 USE_LINUX=
3818 USE_NETBSD=
3819 USE_OPENBSD=
3820 USE_OSF= USE_SGI=
3821 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
3822 USE_ULTRIX=
3823 USE_UNIXWARE=
3824
3825 USE_ALPHA=
3826
3827 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
3828
3829 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3830
3831 DEFAULT_wxUSE_OLD_COCOA=0
3832 DEFAULT_wxUSE_GTK=0
3833 DEFAULT_wxUSE_OSX_CARBON=0
3834 DEFAULT_wxUSE_OSX_COCOA=0
3835 DEFAULT_wxUSE_OSX_IPHONE=0
3836 DEFAULT_wxUSE_MICROWIN=0
3837 DEFAULT_wxUSE_MOTIF=0
3838 DEFAULT_wxUSE_MSW=0
3839 DEFAULT_wxUSE_PM=0
3840 DEFAULT_wxUSE_X11=0
3841 DEFAULT_wxUSE_DFB=0
3842
3843 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
3844 DEFAULT_DEFAULT_wxUSE_GTK=0
3845 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
3846 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
3847 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
3848 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
3849 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3850 DEFAULT_DEFAULT_wxUSE_MSW=0
3851 DEFAULT_DEFAULT_wxUSE_PM=0
3852 DEFAULT_DEFAULT_wxUSE_X11=0
3853 DEFAULT_DEFAULT_wxUSE_DFB=0
3854
3855 PROGRAM_EXT=
3856 SAMPLES_RPATH_FLAG=
3857 DYLIB_RPATH_INSTALL=
3858 DYLIB_RPATH_POSTLINK=
3859
3860 DEFAULT_STD_FLAG=yes
3861
3862 case "${host}" in
3863 *-hp-hpux* )
3864 USE_HPUX=1
3865 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3866 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3867 $as_echo "#define __HPUX__ 1" >>confdefs.h
3868
3869
3870 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
3871 ;;
3872 *-*-linux* )
3873 USE_LINUX=1
3874 $as_echo "#define __LINUX__ 1" >>confdefs.h
3875
3876 TMP=`uname -m`
3877 if test "x$TMP" = "xalpha"; then
3878 USE_ALPHA=1
3879 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3880
3881 fi
3882 DEFAULT_DEFAULT_wxUSE_GTK=1
3883 ;;
3884 *-*-gnu* | *-*-k*bsd*-gnu )
3885 USE_GNU=1
3886 TMP=`uname -m`
3887 if test "x$TMP" = "xalpha"; then
3888 USE_ALPHA=1
3889 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3890
3891 fi
3892 DEFAULT_DEFAULT_wxUSE_GTK=1
3893 ;;
3894 *-*-irix5* | *-*-irix6* )
3895 USE_SGI=1
3896 USE_SVR4=1
3897 $as_echo "#define __SGI__ 1" >>confdefs.h
3898
3899 $as_echo "#define __SVR4__ 1" >>confdefs.h
3900
3901 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3902 ;;
3903 *-*-qnx*)
3904 USE_QNX=1
3905 $as_echo "#define __QNX__ 1" >>confdefs.h
3906
3907 DEFAULT_DEFAULT_wxUSE_X11=1
3908 ;;
3909 *-*-solaris2* )
3910 USE_SUN=1
3911 USE_SOLARIS=1
3912 USE_SVR4=1
3913 $as_echo "#define __SUN__ 1" >>confdefs.h
3914
3915 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3916
3917 $as_echo "#define __SVR4__ 1" >>confdefs.h
3918
3919 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3920 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3921 ;;
3922 *-*-sunos4* )
3923 USE_SUN=1
3924 USE_SUNOS=1
3925 USE_BSD=1
3926 $as_echo "#define __SUN__ 1" >>confdefs.h
3927
3928 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3929
3930 $as_echo "#define __BSD__ 1" >>confdefs.h
3931
3932 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3933 ;;
3934 *-*-freebsd*)
3935 USE_BSD=1
3936 USE_FREEBSD=1
3937 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3938
3939 $as_echo "#define __BSD__ 1" >>confdefs.h
3940
3941 DEFAULT_DEFAULT_wxUSE_GTK=1
3942 ;;
3943 *-*-openbsd*|*-*-mirbsd*)
3944 USE_BSD=1
3945 USE_OPENBSD=1
3946 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3947
3948 $as_echo "#define __BSD__ 1" >>confdefs.h
3949
3950 DEFAULT_DEFAULT_wxUSE_GTK=1
3951 ;;
3952 *-*-netbsd*)
3953 USE_BSD=1
3954 USE_NETBSD=1
3955 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3956
3957 $as_echo "#define __BSD__ 1" >>confdefs.h
3958
3959 DEFAULT_DEFAULT_wxUSE_GTK=1
3960 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3961
3962 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3963 ;;
3964 *-*-osf* )
3965 USE_ALPHA=1
3966 USE_OSF=1
3967 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3968
3969 $as_echo "#define __OSF__ 1" >>confdefs.h
3970
3971 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3972 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
3973 ;;
3974 *-*-dgux5* )
3975 USE_ALPHA=1
3976 USE_SVR4=1
3977 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3978
3979 $as_echo "#define __SVR4__ 1" >>confdefs.h
3980
3981 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3982 ;;
3983 *-*-sysv5* )
3984 USE_SYSV=1
3985 USE_SVR4=1
3986 $as_echo "#define __SYSV__ 1" >>confdefs.h
3987
3988 $as_echo "#define __SVR4__ 1" >>confdefs.h
3989
3990 DEFAULT_DEFAULT_wxUSE_MOTIF=1
3991 ;;
3992 *-*-aix* )
3993 USE_AIX=1
3994 USE_SYSV=1
3995 USE_SVR4=1
3996 $as_echo "#define __AIX__ 1" >>confdefs.h
3997
3998 $as_echo "#define __SYSV__ 1" >>confdefs.h
3999
4000 $as_echo "#define __SVR4__ 1" >>confdefs.h
4001
4002 DEFAULT_DEFAULT_wxUSE_MOTIF=1
4003 ;;
4004
4005 *-*-*UnixWare*)
4006 USE_SYSV=1
4007 USE_SVR4=1
4008 USE_UNIXWARE=1
4009 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4010
4011 ;;
4012
4013 *-*-cygwin* | *-*-mingw32* )
4014 PROGRAM_EXT=".exe"
4015 DEFAULT_DEFAULT_wxUSE_MSW=1
4016 ;;
4017
4018 *-pc-msdosdjgpp )
4019 USE_UNIX=0
4020 USE_DOS=1
4021 $as_echo "#define __DOS__ 1" >>confdefs.h
4022
4023 PROGRAM_EXT=".exe"
4024 ;;
4025
4026 *-pc-os2_emx | *-pc-os2-emx )
4027 $as_echo "#define __EMX__ 1" >>confdefs.h
4028
4029 USE_OS2=1
4030 $as_echo "#define __OS2__ 1" >>confdefs.h
4031
4032 PROGRAM_EXT=".exe"
4033 DEFAULT_DEFAULT_wxUSE_PM=1
4034 CXX=gcc
4035 LDFLAGS="$LDFLAGS -Zcrtdll"
4036 ac_executable_extensions=".exe"
4037 export ac_executable_extensions
4038 ac_save_IFS="$IFS"
4039 IFS='\\'
4040 ac_TEMP_PATH=
4041 for ac_dir in $PATH; do
4042 IFS=$ac_save_IFS
4043 if test -z "$ac_TEMP_PATH"; then
4044 ac_TEMP_PATH="$ac_dir"
4045 else
4046 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
4047 fi
4048 done
4049 export PATH="$ac_TEMP_PATH"
4050 unset ac_TEMP_PATH
4051 DEFAULT_STD_FLAG=no
4052 ;;
4053
4054 arm-apple-darwin*)
4055 USE_BSD=1
4056 USE_DARWIN=1
4057 $as_echo "#define __BSD__ 1" >>confdefs.h
4058
4059 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4060
4061 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
4062 ;;
4063
4064 *-*-darwin* )
4065 USE_BSD=1
4066 USE_DARWIN=1
4067 $as_echo "#define __BSD__ 1" >>confdefs.h
4068
4069 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4070
4071 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4072
4073 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
4074 ;;
4075
4076 *-*-beos* )
4077 USE_BEOS=1
4078 $as_echo "#define __BEOS__ 1" >>confdefs.h
4079
4080 ;;
4081
4082 *)
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4084 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4086 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4087
4088 DEFAULT_DEFAULT_wxUSE_X11=1
4089 DEFAULT_wxUSE_SHARED=no
4090 esac
4091
4092
4093
4094 DEFAULT_wxUSE_ALL_FEATURES=yes
4095
4096 DEFAULT_wxUSE_STD_CONTAINERS=no
4097 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
4098 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
4099
4100 DEFAULT_wxUSE_DMALLOC=no
4101 DEFAULT_wxUSE_LIBGNOMEVFS=no
4102 DEFAULT_wxUSE_LIBHILDON=no
4103 DEFAULT_wxUSE_LIBHILDON2=no
4104 DEFAULT_wxUSE_LIBMSPACK=no
4105 DEFAULT_wxUSE_LIBSDL=no
4106
4107 DEFAULT_wxUSE_ACCESSIBILITY=no
4108 DEFAULT_wxUSE_IPV6=no
4109 DEFAULT_wxUSE_GSTREAMER8=no
4110 DEFAULT_wxUSE_UNICODE_UTF8=no
4111 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
4112
4113 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
4114 DEFAULT_wxUSE_OPENGL=auto
4115 DEFAULT_wxUSE_MEDIACTRL=auto
4116 DEFAULT_wxUSE_COMPILER_TLS=auto
4117 DEFAULT_wxUSE_HOTKEY=auto
4118 DEFAULT_wxUSE_METAFILE=auto
4119
4120 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
4121 DEFAULT_wxUSE_MAC_ARCH=no
4122
4123 DEFAULT_wxUSE_OFFICIAL_BUILD=no
4124
4125 DEFAULT_wxUSE_GTK2=yes
4126
4127 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
4128
4129
4130
4131
4132
4133 enablestring=disable
4134 defaultval=
4135 if test -z "$defaultval"; then
4136 if test x"$enablestring" = xdisable; then
4137 defaultval=yes
4138 else
4139 defaultval=no
4140 fi
4141 fi
4142
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4144 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4145 # Check whether --enable-gui was given.
4146 if test "${enable_gui+set}" = set; then :
4147 enableval=$enable_gui;
4148 if test "$enableval" = yes; then
4149 wx_cv_use_gui='wxUSE_GUI=yes'
4150 else
4151 wx_cv_use_gui='wxUSE_GUI=no'
4152 fi
4153
4154 else
4155
4156 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4157
4158 fi
4159
4160
4161 eval "$wx_cv_use_gui"
4162
4163 if test x"$enablestring" = xdisable; then
4164 if test $wxUSE_GUI = no; then
4165 result=yes
4166 else
4167 result=no
4168 fi
4169 else
4170 result=$wxUSE_GUI
4171 fi
4172
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4174 $as_echo "$result" >&6; }
4175
4176
4177 enablestring=
4178 defaultval=
4179 if test -z "$defaultval"; then
4180 if test x"$enablestring" = xdisable; then
4181 defaultval=yes
4182 else
4183 defaultval=no
4184 fi
4185 fi
4186
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4188 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4189 # Check whether --enable-monolithic was given.
4190 if test "${enable_monolithic+set}" = set; then :
4191 enableval=$enable_monolithic;
4192 if test "$enableval" = yes; then
4193 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
4194 else
4195 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
4196 fi
4197
4198 else
4199
4200 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4201
4202 fi
4203
4204
4205 eval "$wx_cv_use_monolithic"
4206
4207 if test x"$enablestring" = xdisable; then
4208 if test $wxUSE_MONOLITHIC = no; then
4209 result=yes
4210 else
4211 result=no
4212 fi
4213 else
4214 result=$wxUSE_MONOLITHIC
4215 fi
4216
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4218 $as_echo "$result" >&6; }
4219
4220
4221 enablestring=
4222 defaultval=
4223 if test -z "$defaultval"; then
4224 if test x"$enablestring" = xdisable; then
4225 defaultval=yes
4226 else
4227 defaultval=no
4228 fi
4229 fi
4230
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
4232 $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
4233 # Check whether --enable-plugins was given.
4234 if test "${enable_plugins+set}" = set; then :
4235 enableval=$enable_plugins;
4236 if test "$enableval" = yes; then
4237 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4238 else
4239 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4240 fi
4241
4242 else
4243
4244 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4245
4246 fi
4247
4248
4249 eval "$wx_cv_use_plugins"
4250
4251 if test x"$enablestring" = xdisable; then
4252 if test $wxUSE_PLUGINS = no; then
4253 result=yes
4254 else
4255 result=no
4256 fi
4257 else
4258 result=$wxUSE_PLUGINS
4259 fi
4260
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4262 $as_echo "$result" >&6; }
4263
4264
4265 withstring=without
4266 defaultval=$wxUSE_ALL_FEATURES
4267 if test -z "$defaultval"; then
4268 if test x"$withstring" = xwithout; then
4269 defaultval=yes
4270 else
4271 defaultval=no
4272 fi
4273 fi
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4275 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4276
4277 # Check whether --with-subdirs was given.
4278 if test "${with_subdirs+set}" = set; then :
4279 withval=$with_subdirs;
4280 if test "$withval" = yes; then
4281 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
4282 else
4283 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
4284 fi
4285
4286 else
4287
4288 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4289
4290 fi
4291
4292
4293 eval "$wx_cv_use_subdirs"
4294
4295 if test x"$withstring" = xwithout; then
4296 if test $wxWITH_SUBDIRS = yes; then
4297 result=no
4298 else
4299 result=yes
4300 fi
4301 else
4302 result=$wxWITH_SUBDIRS
4303 fi
4304
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4306 $as_echo "$result" >&6; }
4307
4308
4309 # Check whether --with-flavour was given.
4310 if test "${with_flavour+set}" = set; then :
4311 withval=$with_flavour; WX_FLAVOUR="$withval"
4312 fi
4313
4314
4315 enablestring=
4316 defaultval=
4317 if test -z "$defaultval"; then
4318 if test x"$enablestring" = xdisable; then
4319 defaultval=yes
4320 else
4321 defaultval=no
4322 fi
4323 fi
4324
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4326 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4327 # Check whether --enable-official_build was given.
4328 if test "${enable_official_build+set}" = set; then :
4329 enableval=$enable_official_build;
4330 if test "$enableval" = yes; then
4331 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
4332 else
4333 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
4334 fi
4335
4336 else
4337
4338 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4339
4340 fi
4341
4342
4343 eval "$wx_cv_use_official_build"
4344
4345 if test x"$enablestring" = xdisable; then
4346 if test $wxUSE_OFFICIAL_BUILD = no; then
4347 result=yes
4348 else
4349 result=no
4350 fi
4351 else
4352 result=$wxUSE_OFFICIAL_BUILD
4353 fi
4354
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4356 $as_echo "$result" >&6; }
4357
4358 # Check whether --enable-vendor was given.
4359 if test "${enable_vendor+set}" = set; then :
4360 enableval=$enable_vendor; VENDOR="$enableval"
4361 fi
4362
4363 if test "x$VENDOR" = "x"; then
4364 VENDOR="custom"
4365 fi
4366
4367
4368 enablestring=disable
4369 defaultval=
4370 if test -z "$defaultval"; then
4371 if test x"$enablestring" = xdisable; then
4372 defaultval=yes
4373 else
4374 defaultval=no
4375 fi
4376 fi
4377
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
4379 $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
4380 # Check whether --enable-all-features was given.
4381 if test "${enable_all_features+set}" = set; then :
4382 enableval=$enable_all_features;
4383 if test "$enableval" = yes; then
4384 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4385 else
4386 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4387 fi
4388
4389 else
4390
4391 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4392
4393 fi
4394
4395
4396 eval "$wx_cv_use_all_features"
4397
4398 if test x"$enablestring" = xdisable; then
4399 if test $wxUSE_ALL_FEATURES = no; then
4400 result=yes
4401 else
4402 result=no
4403 fi
4404 else
4405 result=$wxUSE_ALL_FEATURES
4406 fi
4407
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4409 $as_echo "$result" >&6; }
4410
4411
4412 if test "$wxUSE_ALL_FEATURES" = "no"; then
4413 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
4414 DEFAULT_wxUSE_MEDIACTRL=no
4415 fi
4416
4417
4418 if test "$wxUSE_GUI" = "yes"; then
4419
4420
4421 enablestring=
4422 defaultval=
4423 if test -z "$defaultval"; then
4424 if test x"$enablestring" = xdisable; then
4425 defaultval=yes
4426 else
4427 defaultval=no
4428 fi
4429 fi
4430
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4432 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4433 # Check whether --enable-universal was given.
4434 if test "${enable_universal+set}" = set; then :
4435 enableval=$enable_universal;
4436 if test "$enableval" = yes; then
4437 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
4438 else
4439 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
4440 fi
4441
4442 else
4443
4444 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4445
4446 fi
4447
4448
4449 eval "$wx_cv_use_universal"
4450
4451 if test x"$enablestring" = xdisable; then
4452 if test $wxUSE_UNIVERSAL = no; then
4453 result=yes
4454 else
4455 result=no
4456 fi
4457 else
4458 result=$wxUSE_UNIVERSAL
4459 fi
4460
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4462 $as_echo "$result" >&6; }
4463
4464 if test "$wxUSE_UNIVERSAL" = "yes"; then
4465
4466 # Check whether --with-themes was given.
4467 if test "${with_themes+set}" = set; then :
4468 withval=$with_themes; wxUNIV_THEMES="$withval"
4469 fi
4470
4471 fi
4472
4473
4474 # Check whether --with-gtk was given.
4475 if test "${with_gtk+set}" = set; then :
4476 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4477 fi
4478
4479
4480 # Check whether --with-motif was given.
4481 if test "${with_motif+set}" = set; then :
4482 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4483 fi
4484
4485
4486 # Check whether --with-osx_carbon was given.
4487 if test "${with_osx_carbon+set}" = set; then :
4488 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4489 fi
4490
4491
4492 # Check whether --with-osx_cocoa was given.
4493 if test "${with_osx_cocoa+set}" = set; then :
4494 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4495 fi
4496
4497
4498 # Check whether --with-osx_iphone was given.
4499 if test "${with_osx_iphone+set}" = set; then :
4500 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4501 fi
4502
4503
4504 # Check whether --with-osx was given.
4505 if test "${with_osx+set}" = set; then :
4506 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4507 fi
4508
4509
4510 # Check whether --with-carbon was given.
4511 if test "${with_carbon+set}" = set; then :
4512 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4513 fi
4514
4515
4516 # Check whether --with-cocoa was given.
4517 if test "${with_cocoa+set}" = set; then :
4518 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4519 fi
4520
4521
4522 # Check whether --with-iphone was given.
4523 if test "${with_iphone+set}" = set; then :
4524 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4525 fi
4526
4527
4528 # Check whether --with-mac was given.
4529 if test "${with_mac+set}" = set; then :
4530 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4531 fi
4532
4533
4534 # Check whether --with-old_cocoa was given.
4535 if test "${with_old_cocoa+set}" = set; then :
4536 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4537 fi
4538
4539
4540 # Check whether --with-wine was given.
4541 if test "${with_wine+set}" = set; then :
4542 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4543 fi
4544
4545
4546 # Check whether --with-msw was given.
4547 if test "${with_msw+set}" = set; then :
4548 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4549 fi
4550
4551
4552 # Check whether --with-pm was given.
4553 if test "${with_pm+set}" = set; then :
4554 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4555 fi
4556
4557
4558 # Check whether --with-directfb was given.
4559 if test "${with_directfb+set}" = set; then :
4560 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4561 fi
4562
4563
4564 # Check whether --with-microwin was given.
4565 if test "${with_microwin+set}" = set; then :
4566 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4567 fi
4568
4569
4570 # Check whether --with-x11 was given.
4571 if test "${with_x11+set}" = set; then :
4572 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4573 fi
4574
4575
4576 enablestring=
4577 defaultval=
4578 if test -z "$defaultval"; then
4579 if test x"$enablestring" = xdisable; then
4580 defaultval=yes
4581 else
4582 defaultval=no
4583 fi
4584 fi
4585
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4587 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4588 # Check whether --enable-nanox was given.
4589 if test "${enable_nanox+set}" = set; then :
4590 enableval=$enable_nanox;
4591 if test "$enableval" = yes; then
4592 wx_cv_use_nanox='wxUSE_NANOX=yes'
4593 else
4594 wx_cv_use_nanox='wxUSE_NANOX=no'
4595 fi
4596
4597 else
4598
4599 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4600
4601 fi
4602
4603
4604 eval "$wx_cv_use_nanox"
4605
4606 if test x"$enablestring" = xdisable; then
4607 if test $wxUSE_NANOX = no; then
4608 result=yes
4609 else
4610 result=no
4611 fi
4612 else
4613 result=$wxUSE_NANOX
4614 fi
4615
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4617 $as_echo "$result" >&6; }
4618
4619
4620 # Check whether --enable-gtk2 was given.
4621 if test "${enable_gtk2+set}" = set; then :
4622 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
4623 fi
4624
4625
4626 enablestring=
4627 defaultval=
4628 if test -z "$defaultval"; then
4629 if test x"$enablestring" = xdisable; then
4630 defaultval=yes
4631 else
4632 defaultval=no
4633 fi
4634 fi
4635
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
4637 $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
4638 # Check whether --enable-gpe was given.
4639 if test "${enable_gpe+set}" = set; then :
4640 enableval=$enable_gpe;
4641 if test "$enableval" = yes; then
4642 wx_cv_use_gpe='wxUSE_GPE=yes'
4643 else
4644 wx_cv_use_gpe='wxUSE_GPE=no'
4645 fi
4646
4647 else
4648
4649 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4650
4651 fi
4652
4653
4654 eval "$wx_cv_use_gpe"
4655
4656 if test x"$enablestring" = xdisable; then
4657 if test $wxUSE_GPE = no; then
4658 result=yes
4659 else
4660 result=no
4661 fi
4662 else
4663 result=$wxUSE_GPE
4664 fi
4665
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4667 $as_echo "$result" >&6; }
4668
4669
4670
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4672 $as_echo_n "checking for toolkit... " >&6; }
4673
4674
4675
4676 # In Wine, we need to default to MSW, not GTK or MOTIF
4677 if test "$wxUSE_WINE" = "yes"; then
4678 DEFAULT_DEFAULT_wxUSE_GTK=0
4679 DEFAULT_DEFAULT_wxUSE_MOTIF=0
4680 DEFAULT_DEFAULT_wxUSE_MSW=1
4681 wxUSE_SHARED=no
4682 CC=${CC:-winegcc}
4683 CXX=${CXX:-wineg++}
4684 fi
4685
4686
4687 if test "$wxUSE_GUI" = "yes"; then
4688
4689 if test "$USE_BEOS" = 1; then
4690 as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4691 fi
4692
4693 if test "$TOOLKIT_GIVEN" = 1; then
4694 for toolkit in $ALL_TOOLKITS; do
4695 var=wxUSE_$toolkit
4696 eval "value=\$${var}"
4697 if test "x$value" = "xno"; then
4698 eval "$var=0"
4699 elif test "x$value" != "x"; then
4700 eval "$var=1"
4701 fi
4702
4703 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4704 eval "wx${toolkit}_VERSION=$value"
4705 fi
4706 done
4707 else
4708 for toolkit in $ALL_TOOLKITS; do
4709 var=DEFAULT_DEFAULT_wxUSE_$toolkit
4710 eval "wxUSE_$toolkit=\$${var}"
4711 done
4712 fi
4713
4714 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4715 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4716 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4717
4718 case "${host}" in
4719 *-pc-os2_emx | *-pc-os2-emx )
4720 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4721 esac
4722
4723 case "$NUM_TOOLKITS" in
4724 1)
4725 ;;
4726 0)
4727 as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4728 ;;
4729 *)
4730 as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
4731 esac
4732
4733 # to be removed when --disable-gtk2 isn't needed
4734 if test "x$wxUSE_GTK2" = "xyes"; then
4735 wxGTK_VERSION=2
4736 wxUSE_GTK1=0
4737 elif test "x$wxUSE_GTK2" = "xno"; then
4738 wxGTK_VERSION=1
4739 wxUSE_GTK1=1
4740 fi
4741
4742 for toolkit in $ALL_TOOLKITS; do
4743 var=wxUSE_$toolkit
4744 eval "value=\$${var}"
4745 if test "$value" = 1; then
4746 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4748 $as_echo "$toolkit_echo" >&6; }
4749 fi
4750 done
4751 else
4752 if test "x$host_alias" != "x"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4754 $as_echo "base ($host_alias hosted) only" >&6; }
4755 else
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4757 $as_echo "base only" >&6; }
4758 fi
4759 fi
4760
4761 wxUSE_MAC=0
4762 if test "$wxUSE_OSX_CARBON" = 1 \
4763 -o "$wxUSE_OSX_COCOA" = 1 \
4764 -o "$wxUSE_OSX_IPHONE" = 1; then
4765 wxUSE_MAC=1
4766 fi
4767
4768
4769
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4771 $as_echo_n "checking for --with-libpng... " >&6; }
4772
4773 # Check whether --with-libpng was given.
4774 if test "${with_libpng+set}" = set; then :
4775 withval=$with_libpng;
4776 if test "$withval" = yes; then
4777 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
4778 elif test "$withval" = no; then
4779 wx_cv_use_libpng='wxUSE_LIBPNG=no'
4780 elif test "$withval" = sys; then
4781 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
4782 elif test "$withval" = builtin; then
4783 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
4784 else
4785 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4786 fi
4787
4788 else
4789
4790 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4791
4792 fi
4793
4794
4795 eval "$wx_cv_use_libpng"
4796
4797 if test "$wxUSE_LIBPNG" = yes; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4799 $as_echo "yes" >&6; }
4800 elif test "$wxUSE_LIBPNG" = no; then
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4803 elif test "$wxUSE_LIBPNG" = sys; then
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4805 $as_echo "system version" >&6; }
4806 elif test "$wxUSE_LIBPNG" = builtin; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4808 $as_echo "builtin version" >&6; }
4809 else
4810 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4811 fi
4812
4813
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4815 $as_echo_n "checking for --with-libjpeg... " >&6; }
4816
4817 # Check whether --with-libjpeg was given.
4818 if test "${with_libjpeg+set}" = set; then :
4819 withval=$with_libjpeg;
4820 if test "$withval" = yes; then
4821 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
4822 elif test "$withval" = no; then
4823 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
4824 elif test "$withval" = sys; then
4825 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
4826 elif test "$withval" = builtin; then
4827 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
4828 else
4829 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4830 fi
4831
4832 else
4833
4834 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4835
4836 fi
4837
4838
4839 eval "$wx_cv_use_libjpeg"
4840
4841 if test "$wxUSE_LIBJPEG" = yes; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4843 $as_echo "yes" >&6; }
4844 elif test "$wxUSE_LIBJPEG" = no; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4847 elif test "$wxUSE_LIBJPEG" = sys; then
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4849 $as_echo "system version" >&6; }
4850 elif test "$wxUSE_LIBJPEG" = builtin; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4852 $as_echo "builtin version" >&6; }
4853 else
4854 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4855 fi
4856
4857
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
4859 $as_echo_n "checking for --with-libtiff... " >&6; }
4860
4861 # Check whether --with-libtiff was given.
4862 if test "${with_libtiff+set}" = set; then :
4863 withval=$with_libtiff;
4864 if test "$withval" = yes; then
4865 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4866 elif test "$withval" = no; then
4867 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4868 elif test "$withval" = sys; then
4869 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4870 elif test "$withval" = builtin; then
4871 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4872 else
4873 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4874 fi
4875
4876 else
4877
4878 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4879
4880 fi
4881
4882
4883 eval "$wx_cv_use_libtiff"
4884
4885 if test "$wxUSE_LIBTIFF" = yes; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4888 elif test "$wxUSE_LIBTIFF" = no; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4890 $as_echo "no" >&6; }
4891 elif test "$wxUSE_LIBTIFF" = sys; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4893 $as_echo "system version" >&6; }
4894 elif test "$wxUSE_LIBTIFF" = builtin; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4896 $as_echo "builtin version" >&6; }
4897 else
4898 as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4899 fi
4900
4901
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4903 $as_echo_n "checking for --with-libxpm... " >&6; }
4904
4905 # Check whether --with-libxpm was given.
4906 if test "${with_libxpm+set}" = set; then :
4907 withval=$with_libxpm;
4908 if test "$withval" = yes; then
4909 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
4910 elif test "$withval" = no; then
4911 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
4912 elif test "$withval" = sys; then
4913 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
4914 elif test "$withval" = builtin; then
4915 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
4916 else
4917 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4918 fi
4919
4920 else
4921
4922 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4923
4924 fi
4925
4926
4927 eval "$wx_cv_use_libxpm"
4928
4929 if test "$wxUSE_LIBXPM" = yes; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4931 $as_echo "yes" >&6; }
4932 elif test "$wxUSE_LIBXPM" = no; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4935 elif test "$wxUSE_LIBXPM" = sys; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4937 $as_echo "system version" >&6; }
4938 elif test "$wxUSE_LIBXPM" = builtin; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4940 $as_echo "builtin version" >&6; }
4941 else
4942 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4943 fi
4944
4945
4946 withstring=
4947 defaultval=$wxUSE_ALL_FEATURES
4948 if test -z "$defaultval"; then
4949 if test x"$withstring" = xwithout; then
4950 defaultval=yes
4951 else
4952 defaultval=no
4953 fi
4954 fi
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4956 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4957
4958 # Check whether --with-libiconv was given.
4959 if test "${with_libiconv+set}" = set; then :
4960 withval=$with_libiconv;
4961 if test "$withval" = yes; then
4962 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
4963 else
4964 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
4965 fi
4966
4967 else
4968
4969 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4970
4971 fi
4972
4973
4974 eval "$wx_cv_use_libiconv"
4975
4976 if test x"$withstring" = xwithout; then
4977 if test $wxUSE_LIBICONV = yes; then
4978 result=no
4979 else
4980 result=yes
4981 fi
4982 else
4983 result=$wxUSE_LIBICONV
4984 fi
4985
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4987 $as_echo "$result" >&6; }
4988
4989
4990 withstring=
4991 defaultval=$wxUSE_ALL_FEATURES
4992 if test -z "$defaultval"; then
4993 if test x"$withstring" = xwithout; then
4994 defaultval=yes
4995 else
4996 defaultval=no
4997 fi
4998 fi
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
5000 $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
5001
5002 # Check whether --with-libmspack was given.
5003 if test "${with_libmspack+set}" = set; then :
5004 withval=$with_libmspack;
5005 if test "$withval" = yes; then
5006 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5007 else
5008 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5009 fi
5010
5011 else
5012
5013 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5014
5015 fi
5016
5017
5018 eval "$wx_cv_use_libmspack"
5019
5020 if test x"$withstring" = xwithout; then
5021 if test $wxUSE_LIBMSPACK = yes; then
5022 result=no
5023 else
5024 result=yes
5025 fi
5026 else
5027 result=$wxUSE_LIBMSPACK
5028 fi
5029
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5031 $as_echo "$result" >&6; }
5032
5033
5034 withstring=without
5035 defaultval=$wxUSE_ALL_FEATURES
5036 if test -z "$defaultval"; then
5037 if test x"$withstring" = xwithout; then
5038 defaultval=yes
5039 else
5040 defaultval=no
5041 fi
5042 fi
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5044 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5045
5046 # Check whether --with-gtkprint was given.
5047 if test "${with_gtkprint+set}" = set; then :
5048 withval=$with_gtkprint;
5049 if test "$withval" = yes; then
5050 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
5051 else
5052 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
5053 fi
5054
5055 else
5056
5057 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5058
5059 fi
5060
5061
5062 eval "$wx_cv_use_gtkprint"
5063
5064 if test x"$withstring" = xwithout; then
5065 if test $wxUSE_GTKPRINT = yes; then
5066 result=no
5067 else
5068 result=yes
5069 fi
5070 else
5071 result=$wxUSE_GTKPRINT
5072 fi
5073
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5075 $as_echo "$result" >&6; }
5076
5077
5078 withstring=without
5079 defaultval=$wxUSE_ALL_FEATURES
5080 if test -z "$defaultval"; then
5081 if test x"$withstring" = xwithout; then
5082 defaultval=yes
5083 else
5084 defaultval=no
5085 fi
5086 fi
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5088 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5089
5090 # Check whether --with-gnomeprint was given.
5091 if test "${with_gnomeprint+set}" = set; then :
5092 withval=$with_gnomeprint;
5093 if test "$withval" = yes; then
5094 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
5095 else
5096 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
5097 fi
5098
5099 else
5100
5101 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5102
5103 fi
5104
5105
5106 eval "$wx_cv_use_gnomeprint"
5107
5108 if test x"$withstring" = xwithout; then
5109 if test $wxUSE_LIBGNOMEPRINT = yes; then
5110 result=no
5111 else
5112 result=yes
5113 fi
5114 else
5115 result=$wxUSE_LIBGNOMEPRINT
5116 fi
5117
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5119 $as_echo "$result" >&6; }
5120
5121
5122 withstring=
5123 defaultval=$wxUSE_ALL_FEATURES
5124 if test -z "$defaultval"; then
5125 if test x"$withstring" = xwithout; then
5126 defaultval=yes
5127 else
5128 defaultval=no
5129 fi
5130 fi
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
5132 $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
5133
5134 # Check whether --with-gnomevfs was given.
5135 if test "${with_gnomevfs+set}" = set; then :
5136 withval=$with_gnomevfs;
5137 if test "$withval" = yes; then
5138 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5139 else
5140 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5141 fi
5142
5143 else
5144
5145 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5146
5147 fi
5148
5149
5150 eval "$wx_cv_use_gnomevfs"
5151
5152 if test x"$withstring" = xwithout; then
5153 if test $wxUSE_LIBGNOMEVFS = yes; then
5154 result=no
5155 else
5156 result=yes
5157 fi
5158 else
5159 result=$wxUSE_LIBGNOMEVFS
5160 fi
5161
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5163 $as_echo "$result" >&6; }
5164
5165
5166 withstring=
5167 defaultval=$wxUSE_ALL_FEATURES
5168 if test -z "$defaultval"; then
5169 if test x"$withstring" = xwithout; then
5170 defaultval=yes
5171 else
5172 defaultval=no
5173 fi
5174 fi
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5176 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5177
5178 # Check whether --with-hildon was given.
5179 if test "${with_hildon+set}" = set; then :
5180 withval=$with_hildon;
5181 if test "$withval" = yes; then
5182 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
5183 else
5184 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
5185 fi
5186
5187 else
5188
5189 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5190
5191 fi
5192
5193
5194 eval "$wx_cv_use_hildon"
5195
5196 if test x"$withstring" = xwithout; then
5197 if test $wxUSE_LIBHILDON = yes; then
5198 result=no
5199 else
5200 result=yes
5201 fi
5202 else
5203 result=$wxUSE_LIBHILDON
5204 fi
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5207 $as_echo "$result" >&6; }
5208
5209
5210 withstring=
5211 defaultval=$wxUSE_ALL_FEATURES
5212 if test -z "$defaultval"; then
5213 if test x"$withstring" = xwithout; then
5214 defaultval=yes
5215 else
5216 defaultval=no
5217 fi
5218 fi
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
5220 $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
5221
5222 # Check whether --with-opengl was given.
5223 if test "${with_opengl+set}" = set; then :
5224 withval=$with_opengl;
5225 if test "$withval" = yes; then
5226 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5227 else
5228 wx_cv_use_opengl='wxUSE_OPENGL=no'
5229 fi
5230
5231 else
5232
5233 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5234
5235 fi
5236
5237
5238 eval "$wx_cv_use_opengl"
5239
5240 if test x"$withstring" = xwithout; then
5241 if test $wxUSE_OPENGL = yes; then
5242 result=no
5243 else
5244 result=yes
5245 fi
5246 else
5247 result=$wxUSE_OPENGL
5248 fi
5249
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5251 $as_echo "$result" >&6; }
5252
5253
5254 fi
5255
5256
5257 withstring=
5258 defaultval=$wxUSE_ALL_FEATURES
5259 if test -z "$defaultval"; then
5260 if test x"$withstring" = xwithout; then
5261 defaultval=yes
5262 else
5263 defaultval=no
5264 fi
5265 fi
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5267 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5268
5269 # Check whether --with-dmalloc was given.
5270 if test "${with_dmalloc+set}" = set; then :
5271 withval=$with_dmalloc;
5272 if test "$withval" = yes; then
5273 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
5274 else
5275 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
5276 fi
5277
5278 else
5279
5280 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5281
5282 fi
5283
5284
5285 eval "$wx_cv_use_dmalloc"
5286
5287 if test x"$withstring" = xwithout; then
5288 if test $wxUSE_DMALLOC = yes; then
5289 result=no
5290 else
5291 result=yes
5292 fi
5293 else
5294 result=$wxUSE_DMALLOC
5295 fi
5296
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5298 $as_echo "$result" >&6; }
5299
5300
5301 withstring=
5302 defaultval=$wxUSE_ALL_FEATURES
5303 if test -z "$defaultval"; then
5304 if test x"$withstring" = xwithout; then
5305 defaultval=yes
5306 else
5307 defaultval=no
5308 fi
5309 fi
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5311 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5312
5313 # Check whether --with-sdl was given.
5314 if test "${with_sdl+set}" = set; then :
5315 withval=$with_sdl;
5316 if test "$withval" = yes; then
5317 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
5318 else
5319 wx_cv_use_sdl='wxUSE_LIBSDL=no'
5320 fi
5321
5322 else
5323
5324 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5325
5326 fi
5327
5328
5329 eval "$wx_cv_use_sdl"
5330
5331 if test x"$withstring" = xwithout; then
5332 if test $wxUSE_LIBSDL = yes; then
5333 result=no
5334 else
5335 result=yes
5336 fi
5337 else
5338 result=$wxUSE_LIBSDL
5339 fi
5340
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5342 $as_echo "$result" >&6; }
5343
5344
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
5346 $as_echo_n "checking for --with-regex... " >&6; }
5347
5348 # Check whether --with-regex was given.
5349 if test "${with_regex+set}" = set; then :
5350 withval=$with_regex;
5351 if test "$withval" = yes; then
5352 wx_cv_use_regex='wxUSE_REGEX=yes'
5353 elif test "$withval" = no; then
5354 wx_cv_use_regex='wxUSE_REGEX=no'
5355 elif test "$withval" = sys; then
5356 wx_cv_use_regex='wxUSE_REGEX=sys'
5357 elif test "$withval" = builtin; then
5358 wx_cv_use_regex='wxUSE_REGEX=builtin'
5359 else
5360 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5361 fi
5362
5363 else
5364
5365 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5366
5367 fi
5368
5369
5370 eval "$wx_cv_use_regex"
5371
5372 if test "$wxUSE_REGEX" = yes; then
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5374 $as_echo "yes" >&6; }
5375 elif test "$wxUSE_REGEX" = no; then
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5377 $as_echo "no" >&6; }
5378 elif test "$wxUSE_REGEX" = sys; then
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5380 $as_echo "system version" >&6; }
5381 elif test "$wxUSE_REGEX" = builtin; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5383 $as_echo "builtin version" >&6; }
5384 else
5385 as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5386 fi
5387
5388
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5390 $as_echo_n "checking for --with-zlib... " >&6; }
5391
5392 # Check whether --with-zlib was given.
5393 if test "${with_zlib+set}" = set; then :
5394 withval=$with_zlib;
5395 if test "$withval" = yes; then
5396 wx_cv_use_zlib='wxUSE_ZLIB=yes'
5397 elif test "$withval" = no; then
5398 wx_cv_use_zlib='wxUSE_ZLIB=no'
5399 elif test "$withval" = sys; then
5400 wx_cv_use_zlib='wxUSE_ZLIB=sys'
5401 elif test "$withval" = builtin; then
5402 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
5403 else
5404 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5405 fi
5406
5407 else
5408
5409 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5410
5411 fi
5412
5413
5414 eval "$wx_cv_use_zlib"
5415
5416 if test "$wxUSE_ZLIB" = yes; then
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5418 $as_echo "yes" >&6; }
5419 elif test "$wxUSE_ZLIB" = no; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5421 $as_echo "no" >&6; }
5422 elif test "$wxUSE_ZLIB" = sys; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5424 $as_echo "system version" >&6; }
5425 elif test "$wxUSE_ZLIB" = builtin; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5427 $as_echo "builtin version" >&6; }
5428 else
5429 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5430 fi
5431
5432
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5434 $as_echo_n "checking for --with-expat... " >&6; }
5435
5436 # Check whether --with-expat was given.
5437 if test "${with_expat+set}" = set; then :
5438 withval=$with_expat;
5439 if test "$withval" = yes; then
5440 wx_cv_use_expat='wxUSE_EXPAT=yes'
5441 elif test "$withval" = no; then
5442 wx_cv_use_expat='wxUSE_EXPAT=no'
5443 elif test "$withval" = sys; then
5444 wx_cv_use_expat='wxUSE_EXPAT=sys'
5445 elif test "$withval" = builtin; then
5446 wx_cv_use_expat='wxUSE_EXPAT=builtin'
5447 else
5448 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5449 fi
5450
5451 else
5452
5453 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5454
5455 fi
5456
5457
5458 eval "$wx_cv_use_expat"
5459
5460 if test "$wxUSE_EXPAT" = yes; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5462 $as_echo "yes" >&6; }
5463 elif test "$wxUSE_EXPAT" = no; then
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5466 elif test "$wxUSE_EXPAT" = sys; then
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5468 $as_echo "system version" >&6; }
5469 elif test "$wxUSE_EXPAT" = builtin; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5471 $as_echo "builtin version" >&6; }
5472 else
5473 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5474 fi
5475
5476
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
5478 $as_echo_n "checking for --with-macosx-sdk... " >&6; }
5479
5480 # Check whether --with-macosx-sdk was given.
5481 if test "${with_macosx_sdk+set}" = set; then :
5482 withval=$with_macosx_sdk;
5483 wxUSE_MACOSX_SDK=$withval
5484 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
5485
5486 fi
5487
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
5489 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5490
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
5492 $as_echo_n "checking for --with-macosx-version-min... " >&6; }
5493
5494 # Check whether --with-macosx-version-min was given.
5495 if test "${with_macosx_version_min+set}" = set; then :
5496 withval=$with_macosx_version_min;
5497 wxUSE_MACOSX_VERSION_MIN=$withval
5498 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
5499
5500 fi
5501
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
5503 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5504
5505
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
5507 $as_echo_n "checking for --enable-debug... " >&6; }
5508 # Check whether --enable-debug was given.
5509 if test "${enable_debug+set}" = set; then :
5510 enableval=$enable_debug;
5511 if test "$enableval" = yes; then
5512 wxUSE_DEBUG=yes
5513 elif test "$enableval" = no; then
5514 wxUSE_DEBUG=no
5515 elif test "$enableval" = max; then
5516 wxUSE_DEBUG=yes
5517 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5518 else
5519 as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
5520 fi
5521
5522 else
5523 wxUSE_DEBUG=default
5524
5525 fi
5526
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
5528 $as_echo "${enable_debug-default}" >&6; }
5529
5530 case "$wxUSE_DEBUG" in
5531 yes)
5532 DEFAULT_wxUSE_DEBUG_FLAG=yes
5533 DEFAULT_wxUSE_DEBUG_INFO=yes
5534
5535 DEFAULT_wxUSE_OPTIMISE=no
5536 ;;
5537
5538 no)
5539 DEFAULT_wxUSE_DEBUG_FLAG=no
5540 DEFAULT_wxUSE_DEBUG_INFO=no
5541 ;;
5542
5543 default)
5544 DEFAULT_wxUSE_DEBUG_FLAG=yes
5545 DEFAULT_wxUSE_DEBUG_INFO=no
5546 ;;
5547 esac
5548
5549
5550 enablestring=disable
5551 defaultval=
5552 if test -z "$defaultval"; then
5553 if test x"$enablestring" = xdisable; then
5554 defaultval=yes
5555 else
5556 defaultval=no
5557 fi
5558 fi
5559
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
5561 $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
5562 # Check whether --enable-debug_flag was given.
5563 if test "${enable_debug_flag+set}" = set; then :
5564 enableval=$enable_debug_flag;
5565 if test "$enableval" = yes; then
5566 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5567 else
5568 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5569 fi
5570
5571 else
5572
5573 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5574
5575 fi
5576
5577
5578 eval "$wx_cv_use_debug_flag"
5579
5580 if test x"$enablestring" = xdisable; then
5581 if test $wxUSE_DEBUG_FLAG = no; then
5582 result=yes
5583 else
5584 result=no
5585 fi
5586 else
5587 result=$wxUSE_DEBUG_FLAG
5588 fi
5589
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5591 $as_echo "$result" >&6; }
5592
5593
5594 enablestring=
5595 defaultval=
5596 if test -z "$defaultval"; then
5597 if test x"$enablestring" = xdisable; then
5598 defaultval=yes
5599 else
5600 defaultval=no
5601 fi
5602 fi
5603
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5605 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5606 # Check whether --enable-debug_info was given.
5607 if test "${enable_debug_info+set}" = set; then :
5608 enableval=$enable_debug_info;
5609 if test "$enableval" = yes; then
5610 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5611 else
5612 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5613 fi
5614
5615 else
5616
5617 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5618
5619 fi
5620
5621
5622 eval "$wx_cv_use_debug_info"
5623
5624 if test x"$enablestring" = xdisable; then
5625 if test $wxUSE_DEBUG_INFO = no; then
5626 result=yes
5627 else
5628 result=no
5629 fi
5630 else
5631 result=$wxUSE_DEBUG_INFO
5632 fi
5633
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5635 $as_echo "$result" >&6; }
5636
5637
5638
5639
5640 enablestring=
5641 defaultval=
5642 if test -z "$defaultval"; then
5643 if test x"$enablestring" = xdisable; then
5644 defaultval=yes
5645 else
5646 defaultval=no
5647 fi
5648 fi
5649
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5651 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5652 # Check whether --enable-debug_gdb was given.
5653 if test "${enable_debug_gdb+set}" = set; then :
5654 enableval=$enable_debug_gdb;
5655 if test "$enableval" = yes; then
5656 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5657 else
5658 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5659 fi
5660
5661 else
5662
5663 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5664
5665 fi
5666
5667
5668 eval "$wx_cv_use_debug_gdb"
5669
5670 if test x"$enablestring" = xdisable; then
5671 if test $wxUSE_DEBUG_GDB = no; then
5672 result=yes
5673 else
5674 result=no
5675 fi
5676 else
5677 result=$wxUSE_DEBUG_GDB
5678 fi
5679
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5681 $as_echo "$result" >&6; }
5682
5683
5684 enablestring=
5685 defaultval=
5686 if test -z "$defaultval"; then
5687 if test x"$enablestring" = xdisable; then
5688 defaultval=yes
5689 else
5690 defaultval=no
5691 fi
5692 fi
5693
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
5695 $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
5696 # Check whether --enable-debug_cntxt was given.
5697 if test "${enable_debug_cntxt+set}" = set; then :
5698 enableval=$enable_debug_cntxt;
5699 if test "$enableval" = yes; then
5700 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5701 else
5702 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5703 fi
5704
5705 else
5706
5707 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5708
5709 fi
5710
5711
5712 eval "$wx_cv_use_debug_cntxt"
5713
5714 if test x"$enablestring" = xdisable; then
5715 if test $wxUSE_DEBUG_CONTEXT = no; then
5716 result=yes
5717 else
5718 result=no
5719 fi
5720 else
5721 result=$wxUSE_DEBUG_CONTEXT
5722 fi
5723
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5725 $as_echo "$result" >&6; }
5726
5727
5728 enablestring=
5729 defaultval=
5730 if test -z "$defaultval"; then
5731 if test x"$enablestring" = xdisable; then
5732 defaultval=yes
5733 else
5734 defaultval=no
5735 fi
5736 fi
5737
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5739 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5740 # Check whether --enable-mem_tracing was given.
5741 if test "${enable_mem_tracing+set}" = set; then :
5742 enableval=$enable_mem_tracing;
5743 if test "$enableval" = yes; then
5744 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5745 else
5746 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5747 fi
5748
5749 else
5750
5751 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5752
5753 fi
5754
5755
5756 eval "$wx_cv_use_mem_tracing"
5757
5758 if test x"$enablestring" = xdisable; then
5759 if test $wxUSE_MEM_TRACING = no; then
5760 result=yes
5761 else
5762 result=no
5763 fi
5764 else
5765 result=$wxUSE_MEM_TRACING
5766 fi
5767
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5769 $as_echo "$result" >&6; }
5770
5771
5772
5773
5774 enablestring=disable
5775 defaultval=
5776 if test -z "$defaultval"; then
5777 if test x"$enablestring" = xdisable; then
5778 defaultval=yes
5779 else
5780 defaultval=no
5781 fi
5782 fi
5783
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5785 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5786 # Check whether --enable-shared was given.
5787 if test "${enable_shared+set}" = set; then :
5788 enableval=$enable_shared;
5789 if test "$enableval" = yes; then
5790 wx_cv_use_shared='wxUSE_SHARED=yes'
5791 else
5792 wx_cv_use_shared='wxUSE_SHARED=no'
5793 fi
5794
5795 else
5796
5797 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5798
5799 fi
5800
5801
5802 eval "$wx_cv_use_shared"
5803
5804 if test x"$enablestring" = xdisable; then
5805 if test $wxUSE_SHARED = no; then
5806 result=yes
5807 else
5808 result=no
5809 fi
5810 else
5811 result=$wxUSE_SHARED
5812 fi
5813
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5815 $as_echo "$result" >&6; }
5816
5817
5818 enablestring=
5819 defaultval=
5820 if test -z "$defaultval"; then
5821 if test x"$enablestring" = xdisable; then
5822 defaultval=yes
5823 else
5824 defaultval=no
5825 fi
5826 fi
5827
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
5829 $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
5830 # Check whether --enable-stl was given.
5831 if test "${enable_stl+set}" = set; then :
5832 enableval=$enable_stl;
5833 if test "$enableval" = yes; then
5834 wx_cv_use_stl='wxUSE_STL=yes'
5835 else
5836 wx_cv_use_stl='wxUSE_STL=no'
5837 fi
5838
5839 else
5840
5841 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5842
5843 fi
5844
5845
5846 eval "$wx_cv_use_stl"
5847
5848 if test x"$enablestring" = xdisable; then
5849 if test $wxUSE_STL = no; then
5850 result=yes
5851 else
5852 result=no
5853 fi
5854 else
5855 result=$wxUSE_STL
5856 fi
5857
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5859 $as_echo "$result" >&6; }
5860
5861 if test "$wxUSE_STL" = "yes"; then
5862 DEFAULT_wxUSE_STD_CONTAINERS=yes
5863 DEFAULT_wxUSE_STD_IOSTREAM=yes
5864 DEFAULT_wxUSE_STD_STRING=yes
5865 fi
5866
5867 enablestring=
5868 defaultval=
5869 if test -z "$defaultval"; then
5870 if test x"$enablestring" = xdisable; then
5871 defaultval=yes
5872 else
5873 defaultval=no
5874 fi
5875 fi
5876
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5878 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5879 # Check whether --enable-std_containers was given.
5880 if test "${enable_std_containers+set}" = set; then :
5881 enableval=$enable_std_containers;
5882 if test "$enableval" = yes; then
5883 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
5884 else
5885 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
5886 fi
5887
5888 else
5889
5890 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5891
5892 fi
5893
5894
5895 eval "$wx_cv_use_std_containers"
5896
5897 if test x"$enablestring" = xdisable; then
5898 if test $wxUSE_STD_CONTAINERS = no; then
5899 result=yes
5900 else
5901 result=no
5902 fi
5903 else
5904 result=$wxUSE_STD_CONTAINERS
5905 fi
5906
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5908 $as_echo "$result" >&6; }
5909
5910
5911 enablestring=
5912 defaultval=
5913 if test -z "$defaultval"; then
5914 if test x"$enablestring" = xdisable; then
5915 defaultval=yes
5916 else
5917 defaultval=no
5918 fi
5919 fi
5920
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5922 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5923 # Check whether --enable-std_iostreams was given.
5924 if test "${enable_std_iostreams+set}" = set; then :
5925 enableval=$enable_std_iostreams;
5926 if test "$enableval" = yes; then
5927 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5928 else
5929 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5930 fi
5931
5932 else
5933
5934 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5935
5936 fi
5937
5938
5939 eval "$wx_cv_use_std_iostreams"
5940
5941 if test x"$enablestring" = xdisable; then
5942 if test $wxUSE_STD_IOSTREAM = no; then
5943 result=yes
5944 else
5945 result=no
5946 fi
5947 else
5948 result=$wxUSE_STD_IOSTREAM
5949 fi
5950
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5952 $as_echo "$result" >&6; }
5953
5954
5955 enablestring=
5956 defaultval=
5957 if test -z "$defaultval"; then
5958 if test x"$enablestring" = xdisable; then
5959 defaultval=yes
5960 else
5961 defaultval=no
5962 fi
5963 fi
5964
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
5966 $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
5967 # Check whether --enable-std_string was given.
5968 if test "${enable_std_string+set}" = set; then :
5969 enableval=$enable_std_string;
5970 if test "$enableval" = yes; then
5971 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
5972 else
5973 wx_cv_use_std_string='wxUSE_STD_STRING=no'
5974 fi
5975
5976 else
5977
5978 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
5979
5980 fi
5981
5982
5983 eval "$wx_cv_use_std_string"
5984
5985 if test x"$enablestring" = xdisable; then
5986 if test $wxUSE_STD_STRING = no; then
5987 result=yes
5988 else
5989 result=no
5990 fi
5991 else
5992 result=$wxUSE_STD_STRING
5993 fi
5994
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5996 $as_echo "$result" >&6; }
5997
5998
5999 enablestring=
6000 defaultval=
6001 if test -z "$defaultval"; then
6002 if test x"$enablestring" = xdisable; then
6003 defaultval=yes
6004 else
6005 defaultval=no
6006 fi
6007 fi
6008
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6010 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6011 # Check whether --enable-std_string_conv_in_wxstring was given.
6012 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6013 enableval=$enable_std_string_conv_in_wxstring;
6014 if test "$enableval" = yes; then
6015 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6016 else
6017 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6018 fi
6019
6020 else
6021
6022 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6023
6024 fi
6025
6026
6027 eval "$wx_cv_use_std_string_conv_in_wxstring"
6028
6029 if test x"$enablestring" = xdisable; then
6030 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6031 result=yes
6032 else
6033 result=no
6034 fi
6035 else
6036 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6037 fi
6038
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6040 $as_echo "$result" >&6; }
6041
6042
6043 enablestring=disable
6044 defaultval=
6045 if test -z "$defaultval"; then
6046 if test x"$enablestring" = xdisable; then
6047 defaultval=yes
6048 else
6049 defaultval=no
6050 fi
6051 fi
6052
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6054 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6055 # Check whether --enable-unicode was given.
6056 if test "${enable_unicode+set}" = set; then :
6057 enableval=$enable_unicode;
6058 if test "$enableval" = yes; then
6059 wx_cv_use_unicode='wxUSE_UNICODE=yes'
6060 else
6061 wx_cv_use_unicode='wxUSE_UNICODE=no'
6062 fi
6063
6064 else
6065
6066 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6067
6068 fi
6069
6070
6071 eval "$wx_cv_use_unicode"
6072
6073 if test x"$enablestring" = xdisable; then
6074 if test $wxUSE_UNICODE = no; then
6075 result=yes
6076 else
6077 result=no
6078 fi
6079 else
6080 result=$wxUSE_UNICODE
6081 fi
6082
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6084 $as_echo "$result" >&6; }
6085
6086
6087 enablestring=
6088 defaultval=
6089 if test -z "$defaultval"; then
6090 if test x"$enablestring" = xdisable; then
6091 defaultval=yes
6092 else
6093 defaultval=no
6094 fi
6095 fi
6096
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
6098 $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
6099 # Check whether --enable-mslu was given.
6100 if test "${enable_mslu+set}" = set; then :
6101 enableval=$enable_mslu;
6102 if test "$enableval" = yes; then
6103 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6104 else
6105 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6106 fi
6107
6108 else
6109
6110 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6111
6112 fi
6113
6114
6115 eval "$wx_cv_use_mslu"
6116
6117 if test x"$enablestring" = xdisable; then
6118 if test $wxUSE_UNICODE_MSLU = no; then
6119 result=yes
6120 else
6121 result=no
6122 fi
6123 else
6124 result=$wxUSE_UNICODE_MSLU
6125 fi
6126
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6128 $as_echo "$result" >&6; }
6129
6130
6131 enablestring=
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6133 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6134 # Check whether --enable-utf8 was given.
6135 if test "${enable_utf8+set}" = set; then :
6136 enableval=$enable_utf8;
6137 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6138
6139 else
6140
6141 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6142
6143 fi
6144
6145
6146 eval "$wx_cv_use_utf8"
6147
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6149 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6150
6151
6152 enablestring=
6153 defaultval=
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6156 defaultval=yes
6157 else
6158 defaultval=no
6159 fi
6160 fi
6161
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6163 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6164 # Check whether --enable-utf8only was given.
6165 if test "${enable_utf8only+set}" = set; then :
6166 enableval=$enable_utf8only;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6169 else
6170 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6171 fi
6172
6173 else
6174
6175 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6176
6177 fi
6178
6179
6180 eval "$wx_cv_use_utf8only"
6181
6182 if test x"$enablestring" = xdisable; then
6183 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6184 result=yes
6185 else
6186 result=no
6187 fi
6188 else
6189 result=$wxUSE_UNICODE_UTF8_LOCALE
6190 fi
6191
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6193 $as_echo "$result" >&6; }
6194
6195
6196 enablestring=
6197 defaultval=
6198 if test -z "$defaultval"; then
6199 if test x"$enablestring" = xdisable; then
6200 defaultval=yes
6201 else
6202 defaultval=no
6203 fi
6204 fi
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6207 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6208 # Check whether --enable-extended_rtti was given.
6209 if test "${enable_extended_rtti+set}" = set; then :
6210 enableval=$enable_extended_rtti;
6211 if test "$enableval" = yes; then
6212 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
6213 else
6214 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
6215 fi
6216
6217 else
6218
6219 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6220
6221 fi
6222
6223
6224 eval "$wx_cv_use_extended_rtti"
6225
6226 if test x"$enablestring" = xdisable; then
6227 if test $wxUSE_EXTENDED_RTTI = no; then
6228 result=yes
6229 else
6230 result=no
6231 fi
6232 else
6233 result=$wxUSE_EXTENDED_RTTI
6234 fi
6235
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6237 $as_echo "$result" >&6; }
6238
6239 if test "$USE_OS2" = 1; then
6240 DEFAULT_wxUSE_OMF=no
6241
6242 enablestring=
6243 defaultval=
6244 if test -z "$defaultval"; then
6245 if test x"$enablestring" = xdisable; then
6246 defaultval=yes
6247 else
6248 defaultval=no
6249 fi
6250 fi
6251
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
6253 $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
6254 # Check whether --enable-omf was given.
6255 if test "${enable_omf+set}" = set; then :
6256 enableval=$enable_omf;
6257 if test "$enableval" = yes; then
6258 wx_cv_use_omf='wxUSE_OMF=yes'
6259 else
6260 wx_cv_use_omf='wxUSE_OMF=no'
6261 fi
6262
6263 else
6264
6265 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6266
6267 fi
6268
6269
6270 eval "$wx_cv_use_omf"
6271
6272 if test x"$enablestring" = xdisable; then
6273 if test $wxUSE_OMF = no; then
6274 result=yes
6275 else
6276 result=no
6277 fi
6278 else
6279 result=$wxUSE_OMF
6280 fi
6281
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6283 $as_echo "$result" >&6; }
6284
6285 fi
6286
6287
6288 enablestring=disable
6289 defaultval=
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6292 defaultval=yes
6293 else
6294 defaultval=no
6295 fi
6296 fi
6297
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6299 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6300 # Check whether --enable-optimise was given.
6301 if test "${enable_optimise+set}" = set; then :
6302 enableval=$enable_optimise;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
6305 else
6306 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
6307 fi
6308
6309 else
6310
6311 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6312
6313 fi
6314
6315
6316 eval "$wx_cv_use_optimise"
6317
6318 if test x"$enablestring" = xdisable; then
6319 if test $wxUSE_OPTIMISE = no; then
6320 result=yes
6321 else
6322 result=no
6323 fi
6324 else
6325 result=$wxUSE_OPTIMISE
6326 fi
6327
6328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6329 $as_echo "$result" >&6; }
6330
6331
6332
6333 enablestring=
6334 defaultval=
6335 if test -z "$defaultval"; then
6336 if test x"$enablestring" = xdisable; then
6337 defaultval=yes
6338 else
6339 defaultval=no
6340 fi
6341 fi
6342
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6344 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6345 # Check whether --enable-profile was given.
6346 if test "${enable_profile+set}" = set; then :
6347 enableval=$enable_profile;
6348 if test "$enableval" = yes; then
6349 wx_cv_use_profile='wxUSE_PROFILE=yes'
6350 else
6351 wx_cv_use_profile='wxUSE_PROFILE=no'
6352 fi
6353
6354 else
6355
6356 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6357
6358 fi
6359
6360
6361 eval "$wx_cv_use_profile"
6362
6363 if test x"$enablestring" = xdisable; then
6364 if test $wxUSE_PROFILE = no; then
6365 result=yes
6366 else
6367 result=no
6368 fi
6369 else
6370 result=$wxUSE_PROFILE
6371 fi
6372
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6374 $as_echo "$result" >&6; }
6375
6376
6377 enablestring=
6378 defaultval=
6379 if test -z "$defaultval"; then
6380 if test x"$enablestring" = xdisable; then
6381 defaultval=yes
6382 else
6383 defaultval=no
6384 fi
6385 fi
6386
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
6388 $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
6389 # Check whether --enable-no_rtti was given.
6390 if test "${enable_no_rtti+set}" = set; then :
6391 enableval=$enable_no_rtti;
6392 if test "$enableval" = yes; then
6393 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6394 else
6395 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6396 fi
6397
6398 else
6399
6400 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6401
6402 fi
6403
6404
6405 eval "$wx_cv_use_no_rtti"
6406
6407 if test x"$enablestring" = xdisable; then
6408 if test $wxUSE_NO_RTTI = no; then
6409 result=yes
6410 else
6411 result=no
6412 fi
6413 else
6414 result=$wxUSE_NO_RTTI
6415 fi
6416
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6418 $as_echo "$result" >&6; }
6419
6420
6421 enablestring=
6422 defaultval=
6423 if test -z "$defaultval"; then
6424 if test x"$enablestring" = xdisable; then
6425 defaultval=yes
6426 else
6427 defaultval=no
6428 fi
6429 fi
6430
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6432 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6433 # Check whether --enable-no_exceptions was given.
6434 if test "${enable_no_exceptions+set}" = set; then :
6435 enableval=$enable_no_exceptions;
6436 if test "$enableval" = yes; then
6437 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
6438 else
6439 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
6440 fi
6441
6442 else
6443
6444 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6445
6446 fi
6447
6448
6449 eval "$wx_cv_use_no_exceptions"
6450
6451 if test x"$enablestring" = xdisable; then
6452 if test $wxUSE_NO_EXCEPTIONS = no; then
6453 result=yes
6454 else
6455 result=no
6456 fi
6457 else
6458 result=$wxUSE_NO_EXCEPTIONS
6459 fi
6460
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6462 $as_echo "$result" >&6; }
6463
6464
6465 enablestring=
6466 defaultval=
6467 if test -z "$defaultval"; then
6468 if test x"$enablestring" = xdisable; then
6469 defaultval=yes
6470 else
6471 defaultval=no
6472 fi
6473 fi
6474
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6476 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6477 # Check whether --enable-permissive was given.
6478 if test "${enable_permissive+set}" = set; then :
6479 enableval=$enable_permissive;
6480 if test "$enableval" = yes; then
6481 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
6482 else
6483 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
6484 fi
6485
6486 else
6487
6488 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6489
6490 fi
6491
6492
6493 eval "$wx_cv_use_permissive"
6494
6495 if test x"$enablestring" = xdisable; then
6496 if test $wxUSE_PERMISSIVE = no; then
6497 result=yes
6498 else
6499 result=no
6500 fi
6501 else
6502 result=$wxUSE_PERMISSIVE
6503 fi
6504
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6506 $as_echo "$result" >&6; }
6507
6508
6509 enablestring=
6510 defaultval=
6511 if test -z "$defaultval"; then
6512 if test x"$enablestring" = xdisable; then
6513 defaultval=yes
6514 else
6515 defaultval=no
6516 fi
6517 fi
6518
6519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
6520 $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
6521 # Check whether --enable-no_deps was given.
6522 if test "${enable_no_deps+set}" = set; then :
6523 enableval=$enable_no_deps;
6524 if test "$enableval" = yes; then
6525 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6526 else
6527 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6528 fi
6529
6530 else
6531
6532 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6533
6534 fi
6535
6536
6537 eval "$wx_cv_use_no_deps"
6538
6539 if test x"$enablestring" = xdisable; then
6540 if test $wxUSE_NO_DEPS = no; then
6541 result=yes
6542 else
6543 result=no
6544 fi
6545 else
6546 result=$wxUSE_NO_DEPS
6547 fi
6548
6549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6550 $as_echo "$result" >&6; }
6551
6552
6553 enablestring=disable
6554 defaultval=
6555 if test -z "$defaultval"; then
6556 if test x"$enablestring" = xdisable; then
6557 defaultval=yes
6558 else
6559 defaultval=no
6560 fi
6561 fi
6562
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6564 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6565 # Check whether --enable-vararg_macros was given.
6566 if test "${enable_vararg_macros+set}" = set; then :
6567 enableval=$enable_vararg_macros;
6568 if test "$enableval" = yes; then
6569 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
6570 else
6571 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
6572 fi
6573
6574 else
6575
6576 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6577
6578 fi
6579
6580
6581 eval "$wx_cv_use_vararg_macros"
6582
6583 if test x"$enablestring" = xdisable; then
6584 if test $wxUSE_VARARG_MACROS = no; then
6585 result=yes
6586 else
6587 result=no
6588 fi
6589 else
6590 result=$wxUSE_VARARG_MACROS
6591 fi
6592
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6594 $as_echo "$result" >&6; }
6595
6596
6597
6598 enablestring=
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6600 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6601 # Check whether --enable-universal_binary was given.
6602 if test "${enable_universal_binary+set}" = set; then :
6603 enableval=$enable_universal_binary;
6604 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6605
6606 else
6607
6608 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6609
6610 fi
6611
6612
6613 eval "$wx_cv_use_universal_binary"
6614
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6616 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6617
6618
6619 enablestring=
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6621 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6622 # Check whether --enable-macosx_arch was given.
6623 if test "${enable_macosx_arch+set}" = set; then :
6624 enableval=$enable_macosx_arch;
6625 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6626
6627 else
6628
6629 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
6630
6631 fi
6632
6633
6634 eval "$wx_cv_use_macosx_arch"
6635
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6637 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6638
6639
6640
6641 enablestring=
6642 defaultval=
6643 if test -z "$defaultval"; then
6644 if test x"$enablestring" = xdisable; then
6645 defaultval=yes
6646 else
6647 defaultval=no
6648 fi
6649 fi
6650
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6652 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6653 # Check whether --enable-compat26 was given.
6654 if test "${enable_compat26+set}" = set; then :
6655 enableval=$enable_compat26;
6656 if test "$enableval" = yes; then
6657 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
6658 else
6659 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
6660 fi
6661
6662 else
6663
6664 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6665
6666 fi
6667
6668
6669 eval "$wx_cv_use_compat26"
6670
6671 if test x"$enablestring" = xdisable; then
6672 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6673 result=yes
6674 else
6675 result=no
6676 fi
6677 else
6678 result=$WXWIN_COMPATIBILITY_2_6
6679 fi
6680
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6682 $as_echo "$result" >&6; }
6683
6684
6685 enablestring=disable
6686 defaultval=
6687 if test -z "$defaultval"; then
6688 if test x"$enablestring" = xdisable; then
6689 defaultval=yes
6690 else
6691 defaultval=no
6692 fi
6693 fi
6694
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
6696 $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
6697 # Check whether --enable-compat28 was given.
6698 if test "${enable_compat28+set}" = set; then :
6699 enableval=$enable_compat28;
6700 if test "$enableval" = yes; then
6701 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6702 else
6703 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6704 fi
6705
6706 else
6707
6708 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6709
6710 fi
6711
6712
6713 eval "$wx_cv_use_compat28"
6714
6715 if test x"$enablestring" = xdisable; then
6716 if test $WXWIN_COMPATIBILITY_2_8 = no; then
6717 result=yes
6718 else
6719 result=no
6720 fi
6721 else
6722 result=$WXWIN_COMPATIBILITY_2_8
6723 fi
6724
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6726 $as_echo "$result" >&6; }
6727
6728
6729
6730 enablestring=disable
6731 defaultval=
6732 if test -z "$defaultval"; then
6733 if test x"$enablestring" = xdisable; then
6734 defaultval=yes
6735 else
6736 defaultval=no
6737 fi
6738 fi
6739
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6741 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6742 # Check whether --enable-rpath was given.
6743 if test "${enable_rpath+set}" = set; then :
6744 enableval=$enable_rpath;
6745 if test "$enableval" = yes; then
6746 wx_cv_use_rpath='wxUSE_RPATH=yes'
6747 else
6748 wx_cv_use_rpath='wxUSE_RPATH=no'
6749 fi
6750
6751 else
6752
6753 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6754
6755 fi
6756
6757
6758 eval "$wx_cv_use_rpath"
6759
6760 if test x"$enablestring" = xdisable; then
6761 if test $wxUSE_RPATH = no; then
6762 result=yes
6763 else
6764 result=no
6765 fi
6766 else
6767 result=$wxUSE_RPATH
6768 fi
6769
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6771 $as_echo "$result" >&6; }
6772
6773
6774
6775 enablestring=
6776 defaultval=
6777 if test -z "$defaultval"; then
6778 if test x"$enablestring" = xdisable; then
6779 defaultval=yes
6780 else
6781 defaultval=no
6782 fi
6783 fi
6784
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6786 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6787 # Check whether --enable-objc_uniquifying was given.
6788 if test "${enable_objc_uniquifying+set}" = set; then :
6789 enableval=$enable_objc_uniquifying;
6790 if test "$enableval" = yes; then
6791 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
6792 else
6793 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
6794 fi
6795
6796 else
6797
6798 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6799
6800 fi
6801
6802
6803 eval "$wx_cv_use_objc_uniquifying"
6804
6805 if test x"$enablestring" = xdisable; then
6806 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6807 result=yes
6808 else
6809 result=no
6810 fi
6811 else
6812 result=$wxUSE_OBJC_UNIQUIFYING
6813 fi
6814
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6816 $as_echo "$result" >&6; }
6817
6818
6819
6820 enablestring=disable
6821 defaultval=
6822 if test -z "$defaultval"; then
6823 if test x"$enablestring" = xdisable; then
6824 defaultval=yes
6825 else
6826 defaultval=no
6827 fi
6828 fi
6829
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
6831 $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
6832 # Check whether --enable-visibility was given.
6833 if test "${enable_visibility+set}" = set; then :
6834 enableval=$enable_visibility;
6835 if test "$enableval" = yes; then
6836 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6837 else
6838 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6839 fi
6840
6841 else
6842
6843 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6844
6845 fi
6846
6847
6848 eval "$wx_cv_use_visibility"
6849
6850 if test x"$enablestring" = xdisable; then
6851 if test $wxUSE_VISIBILITY = no; then
6852 result=yes
6853 else
6854 result=no
6855 fi
6856 else
6857 result=$wxUSE_VISIBILITY
6858 fi
6859
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6861 $as_echo "$result" >&6; }
6862
6863
6864 enablestring=disable
6865 defaultval=
6866 if test -z "$defaultval"; then
6867 if test x"$enablestring" = xdisable; then
6868 defaultval=yes
6869 else
6870 defaultval=no
6871 fi
6872 fi
6873
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6875 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6876 # Check whether --enable-tls was given.
6877 if test "${enable_tls+set}" = set; then :
6878 enableval=$enable_tls;
6879 if test "$enableval" = yes; then
6880 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
6881 else
6882 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
6883 fi
6884
6885 else
6886
6887 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6888
6889 fi
6890
6891
6892 eval "$wx_cv_use_tls"
6893
6894 if test x"$enablestring" = xdisable; then
6895 if test $wxUSE_COMPILER_TLS = no; then
6896 result=yes
6897 else
6898 result=no
6899 fi
6900 else
6901 result=$wxUSE_COMPILER_TLS
6902 fi
6903
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6905 $as_echo "$result" >&6; }
6906
6907
6908
6909
6910 enablestring=
6911 defaultval=$wxUSE_ALL_FEATURES
6912 if test -z "$defaultval"; then
6913 if test x"$enablestring" = xdisable; then
6914 defaultval=yes
6915 else
6916 defaultval=no
6917 fi
6918 fi
6919
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6921 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6922 # Check whether --enable-intl was given.
6923 if test "${enable_intl+set}" = set; then :
6924 enableval=$enable_intl;
6925 if test "$enableval" = yes; then
6926 wx_cv_use_intl='wxUSE_INTL=yes'
6927 else
6928 wx_cv_use_intl='wxUSE_INTL=no'
6929 fi
6930
6931 else
6932
6933 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6934
6935 fi
6936
6937
6938 eval "$wx_cv_use_intl"
6939
6940 if test x"$enablestring" = xdisable; then
6941 if test $wxUSE_INTL = no; then
6942 result=yes
6943 else
6944 result=no
6945 fi
6946 else
6947 result=$wxUSE_INTL
6948 fi
6949
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6951 $as_echo "$result" >&6; }
6952
6953
6954 enablestring=
6955 defaultval=$wxUSE_ALL_FEATURES
6956 if test -z "$defaultval"; then
6957 if test x"$enablestring" = xdisable; then
6958 defaultval=yes
6959 else
6960 defaultval=no
6961 fi
6962 fi
6963
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
6965 $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
6966 # Check whether --enable-xlocale was given.
6967 if test "${enable_xlocale+set}" = set; then :
6968 enableval=$enable_xlocale;
6969 if test "$enableval" = yes; then
6970 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
6971 else
6972 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
6973 fi
6974
6975 else
6976
6977 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
6978
6979 fi
6980
6981
6982 eval "$wx_cv_use_xlocale"
6983
6984 if test x"$enablestring" = xdisable; then
6985 if test $wxUSE_XLOCALE = no; then
6986 result=yes
6987 else
6988 result=no
6989 fi
6990 else
6991 result=$wxUSE_XLOCALE
6992 fi
6993
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6995 $as_echo "$result" >&6; }
6996
6997
6998 enablestring=
6999 defaultval=$wxUSE_ALL_FEATURES
7000 if test -z "$defaultval"; then
7001 if test x"$enablestring" = xdisable; then
7002 defaultval=yes
7003 else
7004 defaultval=no
7005 fi
7006 fi
7007
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7009 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7010 # Check whether --enable-config was given.
7011 if test "${enable_config+set}" = set; then :
7012 enableval=$enable_config;
7013 if test "$enableval" = yes; then
7014 wx_cv_use_config='wxUSE_CONFIG=yes'
7015 else
7016 wx_cv_use_config='wxUSE_CONFIG=no'
7017 fi
7018
7019 else
7020
7021 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7022
7023 fi
7024
7025
7026 eval "$wx_cv_use_config"
7027
7028 if test x"$enablestring" = xdisable; then
7029 if test $wxUSE_CONFIG = no; then
7030 result=yes
7031 else
7032 result=no
7033 fi
7034 else
7035 result=$wxUSE_CONFIG
7036 fi
7037
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7039 $as_echo "$result" >&6; }
7040
7041
7042
7043 enablestring=
7044 defaultval=$wxUSE_ALL_FEATURES
7045 if test -z "$defaultval"; then
7046 if test x"$enablestring" = xdisable; then
7047 defaultval=yes
7048 else
7049 defaultval=no
7050 fi
7051 fi
7052
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7054 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7055 # Check whether --enable-protocols was given.
7056 if test "${enable_protocols+set}" = set; then :
7057 enableval=$enable_protocols;
7058 if test "$enableval" = yes; then
7059 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
7060 else
7061 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
7062 fi
7063
7064 else
7065
7066 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7067
7068 fi
7069
7070
7071 eval "$wx_cv_use_protocols"
7072
7073 if test x"$enablestring" = xdisable; then
7074 if test $wxUSE_PROTOCOL = no; then
7075 result=yes
7076 else
7077 result=no
7078 fi
7079 else
7080 result=$wxUSE_PROTOCOL
7081 fi
7082
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7084 $as_echo "$result" >&6; }
7085
7086
7087 enablestring=
7088 defaultval=$wxUSE_ALL_FEATURES
7089 if test -z "$defaultval"; then
7090 if test x"$enablestring" = xdisable; then
7091 defaultval=yes
7092 else
7093 defaultval=no
7094 fi
7095 fi
7096
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
7098 $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
7099 # Check whether --enable-ftp was given.
7100 if test "${enable_ftp+set}" = set; then :
7101 enableval=$enable_ftp;
7102 if test "$enableval" = yes; then
7103 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7104 else
7105 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7106 fi
7107
7108 else
7109
7110 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7111
7112 fi
7113
7114
7115 eval "$wx_cv_use_ftp"
7116
7117 if test x"$enablestring" = xdisable; then
7118 if test $wxUSE_PROTOCOL_FTP = no; then
7119 result=yes
7120 else
7121 result=no
7122 fi
7123 else
7124 result=$wxUSE_PROTOCOL_FTP
7125 fi
7126
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7128 $as_echo "$result" >&6; }
7129
7130
7131 enablestring=
7132 defaultval=$wxUSE_ALL_FEATURES
7133 if test -z "$defaultval"; then
7134 if test x"$enablestring" = xdisable; then
7135 defaultval=yes
7136 else
7137 defaultval=no
7138 fi
7139 fi
7140
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7142 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7143 # Check whether --enable-http was given.
7144 if test "${enable_http+set}" = set; then :
7145 enableval=$enable_http;
7146 if test "$enableval" = yes; then
7147 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
7148 else
7149 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
7150 fi
7151
7152 else
7153
7154 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7155
7156 fi
7157
7158
7159 eval "$wx_cv_use_http"
7160
7161 if test x"$enablestring" = xdisable; then
7162 if test $wxUSE_PROTOCOL_HTTP = no; then
7163 result=yes
7164 else
7165 result=no
7166 fi
7167 else
7168 result=$wxUSE_PROTOCOL_HTTP
7169 fi
7170
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7172 $as_echo "$result" >&6; }
7173
7174
7175 enablestring=
7176 defaultval=$wxUSE_ALL_FEATURES
7177 if test -z "$defaultval"; then
7178 if test x"$enablestring" = xdisable; then
7179 defaultval=yes
7180 else
7181 defaultval=no
7182 fi
7183 fi
7184
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7186 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7187 # Check whether --enable-fileproto was given.
7188 if test "${enable_fileproto+set}" = set; then :
7189 enableval=$enable_fileproto;
7190 if test "$enableval" = yes; then
7191 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
7192 else
7193 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
7194 fi
7195
7196 else
7197
7198 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7199
7200 fi
7201
7202
7203 eval "$wx_cv_use_fileproto"
7204
7205 if test x"$enablestring" = xdisable; then
7206 if test $wxUSE_PROTOCOL_FILE = no; then
7207 result=yes
7208 else
7209 result=no
7210 fi
7211 else
7212 result=$wxUSE_PROTOCOL_FILE
7213 fi
7214
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7216 $as_echo "$result" >&6; }
7217
7218
7219 enablestring=
7220 defaultval=$wxUSE_ALL_FEATURES
7221 if test -z "$defaultval"; then
7222 if test x"$enablestring" = xdisable; then
7223 defaultval=yes
7224 else
7225 defaultval=no
7226 fi
7227 fi
7228
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
7230 $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
7231 # Check whether --enable-sockets was given.
7232 if test "${enable_sockets+set}" = set; then :
7233 enableval=$enable_sockets;
7234 if test "$enableval" = yes; then
7235 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7236 else
7237 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7238 fi
7239
7240 else
7241
7242 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7243
7244 fi
7245
7246
7247 eval "$wx_cv_use_sockets"
7248
7249 if test x"$enablestring" = xdisable; then
7250 if test $wxUSE_SOCKETS = no; then
7251 result=yes
7252 else
7253 result=no
7254 fi
7255 else
7256 result=$wxUSE_SOCKETS
7257 fi
7258
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7260 $as_echo "$result" >&6; }
7261
7262
7263 enablestring=
7264 defaultval=$wxUSE_ALL_FEATURES
7265 if test -z "$defaultval"; then
7266 if test x"$enablestring" = xdisable; then
7267 defaultval=yes
7268 else
7269 defaultval=no
7270 fi
7271 fi
7272
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7274 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7275 # Check whether --enable-ipv6 was given.
7276 if test "${enable_ipv6+set}" = set; then :
7277 enableval=$enable_ipv6;
7278 if test "$enableval" = yes; then
7279 wx_cv_use_ipv6='wxUSE_IPV6=yes'
7280 else
7281 wx_cv_use_ipv6='wxUSE_IPV6=no'
7282 fi
7283
7284 else
7285
7286 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7287
7288 fi
7289
7290
7291 eval "$wx_cv_use_ipv6"
7292
7293 if test x"$enablestring" = xdisable; then
7294 if test $wxUSE_IPV6 = no; then
7295 result=yes
7296 else
7297 result=no
7298 fi
7299 else
7300 result=$wxUSE_IPV6
7301 fi
7302
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7304 $as_echo "$result" >&6; }
7305
7306
7307 enablestring=
7308 defaultval=$wxUSE_ALL_FEATURES
7309 if test -z "$defaultval"; then
7310 if test x"$enablestring" = xdisable; then
7311 defaultval=yes
7312 else
7313 defaultval=no
7314 fi
7315 fi
7316
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7318 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7319 # Check whether --enable-ole was given.
7320 if test "${enable_ole+set}" = set; then :
7321 enableval=$enable_ole;
7322 if test "$enableval" = yes; then
7323 wx_cv_use_ole='wxUSE_OLE=yes'
7324 else
7325 wx_cv_use_ole='wxUSE_OLE=no'
7326 fi
7327
7328 else
7329
7330 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7331
7332 fi
7333
7334
7335 eval "$wx_cv_use_ole"
7336
7337 if test x"$enablestring" = xdisable; then
7338 if test $wxUSE_OLE = no; then
7339 result=yes
7340 else
7341 result=no
7342 fi
7343 else
7344 result=$wxUSE_OLE
7345 fi
7346
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7348 $as_echo "$result" >&6; }
7349
7350
7351 enablestring=
7352 defaultval=$wxUSE_ALL_FEATURES
7353 if test -z "$defaultval"; then
7354 if test x"$enablestring" = xdisable; then
7355 defaultval=yes
7356 else
7357 defaultval=no
7358 fi
7359 fi
7360
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
7362 $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
7363 # Check whether --enable-dataobj was given.
7364 if test "${enable_dataobj+set}" = set; then :
7365 enableval=$enable_dataobj;
7366 if test "$enableval" = yes; then
7367 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7368 else
7369 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7370 fi
7371
7372 else
7373
7374 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7375
7376 fi
7377
7378
7379 eval "$wx_cv_use_dataobj"
7380
7381 if test x"$enablestring" = xdisable; then
7382 if test $wxUSE_DATAOBJ = no; then
7383 result=yes
7384 else
7385 result=no
7386 fi
7387 else
7388 result=$wxUSE_DATAOBJ
7389 fi
7390
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7392 $as_echo "$result" >&6; }
7393
7394
7395
7396 enablestring=
7397 defaultval=$wxUSE_ALL_FEATURES
7398 if test -z "$defaultval"; then
7399 if test x"$enablestring" = xdisable; then
7400 defaultval=yes
7401 else
7402 defaultval=no
7403 fi
7404 fi
7405
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7407 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7408 # Check whether --enable-ipc was given.
7409 if test "${enable_ipc+set}" = set; then :
7410 enableval=$enable_ipc;
7411 if test "$enableval" = yes; then
7412 wx_cv_use_ipc='wxUSE_IPC=yes'
7413 else
7414 wx_cv_use_ipc='wxUSE_IPC=no'
7415 fi
7416
7417 else
7418
7419 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7420
7421 fi
7422
7423
7424 eval "$wx_cv_use_ipc"
7425
7426 if test x"$enablestring" = xdisable; then
7427 if test $wxUSE_IPC = no; then
7428 result=yes
7429 else
7430 result=no
7431 fi
7432 else
7433 result=$wxUSE_IPC
7434 fi
7435
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7437 $as_echo "$result" >&6; }
7438
7439
7440
7441 enablestring=
7442 defaultval=$wxUSE_ALL_FEATURES
7443 if test -z "$defaultval"; then
7444 if test x"$enablestring" = xdisable; then
7445 defaultval=yes
7446 else
7447 defaultval=no
7448 fi
7449 fi
7450
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7452 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7453 # Check whether --enable-baseevtloop was given.
7454 if test "${enable_baseevtloop+set}" = set; then :
7455 enableval=$enable_baseevtloop;
7456 if test "$enableval" = yes; then
7457 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
7458 else
7459 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
7460 fi
7461
7462 else
7463
7464 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7465
7466 fi
7467
7468
7469 eval "$wx_cv_use_baseevtloop"
7470
7471 if test x"$enablestring" = xdisable; then
7472 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7473 result=yes
7474 else
7475 result=no
7476 fi
7477 else
7478 result=$wxUSE_CONSOLE_EVENTLOOP
7479 fi
7480
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7482 $as_echo "$result" >&6; }
7483
7484
7485 enablestring=
7486 defaultval=$wxUSE_ALL_FEATURES
7487 if test -z "$defaultval"; then
7488 if test x"$enablestring" = xdisable; then
7489 defaultval=yes
7490 else
7491 defaultval=no
7492 fi
7493 fi
7494
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
7496 $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
7497 # Check whether --enable-epollloop was given.
7498 if test "${enable_epollloop+set}" = set; then :
7499 enableval=$enable_epollloop;
7500 if test "$enableval" = yes; then
7501 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7502 else
7503 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7504 fi
7505
7506 else
7507
7508 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7509
7510 fi
7511
7512
7513 eval "$wx_cv_use_epollloop"
7514
7515 if test x"$enablestring" = xdisable; then
7516 if test $wxUSE_EPOLL_DISPATCHER = no; then
7517 result=yes
7518 else
7519 result=no
7520 fi
7521 else
7522 result=$wxUSE_EPOLL_DISPATCHER
7523 fi
7524
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7526 $as_echo "$result" >&6; }
7527
7528
7529 enablestring=
7530 defaultval=$wxUSE_ALL_FEATURES
7531 if test -z "$defaultval"; then
7532 if test x"$enablestring" = xdisable; then
7533 defaultval=yes
7534 else
7535 defaultval=no
7536 fi
7537 fi
7538
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7540 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7541 # Check whether --enable-selectloop was given.
7542 if test "${enable_selectloop+set}" = set; then :
7543 enableval=$enable_selectloop;
7544 if test "$enableval" = yes; then
7545 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
7546 else
7547 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
7548 fi
7549
7550 else
7551
7552 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7553
7554 fi
7555
7556
7557 eval "$wx_cv_use_selectloop"
7558
7559 if test x"$enablestring" = xdisable; then
7560 if test $wxUSE_SELECT_DISPATCHER = no; then
7561 result=yes
7562 else
7563 result=no
7564 fi
7565 else
7566 result=$wxUSE_SELECT_DISPATCHER
7567 fi
7568
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7570 $as_echo "$result" >&6; }
7571
7572
7573
7574 enablestring=
7575 defaultval=$wxUSE_ALL_FEATURES
7576 if test -z "$defaultval"; then
7577 if test x"$enablestring" = xdisable; then
7578 defaultval=yes
7579 else
7580 defaultval=no
7581 fi
7582 fi
7583
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7585 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7586 # Check whether --enable-any was given.
7587 if test "${enable_any+set}" = set; then :
7588 enableval=$enable_any;
7589 if test "$enableval" = yes; then
7590 wx_cv_use_any='wxUSE_ANY=yes'
7591 else
7592 wx_cv_use_any='wxUSE_ANY=no'
7593 fi
7594
7595 else
7596
7597 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7598
7599 fi
7600
7601
7602 eval "$wx_cv_use_any"
7603
7604 if test x"$enablestring" = xdisable; then
7605 if test $wxUSE_ANY = no; then
7606 result=yes
7607 else
7608 result=no
7609 fi
7610 else
7611 result=$wxUSE_ANY
7612 fi
7613
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7615 $as_echo "$result" >&6; }
7616
7617
7618 enablestring=
7619 defaultval=$wxUSE_ALL_FEATURES
7620 if test -z "$defaultval"; then
7621 if test x"$enablestring" = xdisable; then
7622 defaultval=yes
7623 else
7624 defaultval=no
7625 fi
7626 fi
7627
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
7629 $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
7630 # Check whether --enable-apple_ieee was given.
7631 if test "${enable_apple_ieee+set}" = set; then :
7632 enableval=$enable_apple_ieee;
7633 if test "$enableval" = yes; then
7634 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7635 else
7636 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7637 fi
7638
7639 else
7640
7641 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7642
7643 fi
7644
7645
7646 eval "$wx_cv_use_apple_ieee"
7647
7648 if test x"$enablestring" = xdisable; then
7649 if test $wxUSE_APPLE_IEEE = no; then
7650 result=yes
7651 else
7652 result=no
7653 fi
7654 else
7655 result=$wxUSE_APPLE_IEEE
7656 fi
7657
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7659 $as_echo "$result" >&6; }
7660
7661
7662 enablestring=
7663 defaultval=$wxUSE_ALL_FEATURES
7664 if test -z "$defaultval"; then
7665 if test x"$enablestring" = xdisable; then
7666 defaultval=yes
7667 else
7668 defaultval=no
7669 fi
7670 fi
7671
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7673 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7674 # Check whether --enable-arcstream was given.
7675 if test "${enable_arcstream+set}" = set; then :
7676 enableval=$enable_arcstream;
7677 if test "$enableval" = yes; then
7678 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
7679 else
7680 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
7681 fi
7682
7683 else
7684
7685 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7686
7687 fi
7688
7689
7690 eval "$wx_cv_use_arcstream"
7691
7692 if test x"$enablestring" = xdisable; then
7693 if test $wxUSE_ARCHIVE_STREAMS = no; then
7694 result=yes
7695 else
7696 result=no
7697 fi
7698 else
7699 result=$wxUSE_ARCHIVE_STREAMS
7700 fi
7701
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7703 $as_echo "$result" >&6; }
7704
7705
7706 enablestring=
7707 defaultval=$wxUSE_ALL_FEATURES
7708 if test -z "$defaultval"; then
7709 if test x"$enablestring" = xdisable; then
7710 defaultval=yes
7711 else
7712 defaultval=no
7713 fi
7714 fi
7715
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7717 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7718 # Check whether --enable-base64 was given.
7719 if test "${enable_base64+set}" = set; then :
7720 enableval=$enable_base64;
7721 if test "$enableval" = yes; then
7722 wx_cv_use_base64='wxUSE_BASE64=yes'
7723 else
7724 wx_cv_use_base64='wxUSE_BASE64=no'
7725 fi
7726
7727 else
7728
7729 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7730
7731 fi
7732
7733
7734 eval "$wx_cv_use_base64"
7735
7736 if test x"$enablestring" = xdisable; then
7737 if test $wxUSE_BASE64 = no; then
7738 result=yes
7739 else
7740 result=no
7741 fi
7742 else
7743 result=$wxUSE_BASE64
7744 fi
7745
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7747 $as_echo "$result" >&6; }
7748
7749
7750 enablestring=
7751 defaultval=$wxUSE_ALL_FEATURES
7752 if test -z "$defaultval"; then
7753 if test x"$enablestring" = xdisable; then
7754 defaultval=yes
7755 else
7756 defaultval=no
7757 fi
7758 fi
7759
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
7761 $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
7762 # Check whether --enable-backtrace was given.
7763 if test "${enable_backtrace+set}" = set; then :
7764 enableval=$enable_backtrace;
7765 if test "$enableval" = yes; then
7766 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7767 else
7768 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7769 fi
7770
7771 else
7772
7773 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7774
7775 fi
7776
7777
7778 eval "$wx_cv_use_backtrace"
7779
7780 if test x"$enablestring" = xdisable; then
7781 if test $wxUSE_STACKWALKER = no; then
7782 result=yes
7783 else
7784 result=no
7785 fi
7786 else
7787 result=$wxUSE_STACKWALKER
7788 fi
7789
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7791 $as_echo "$result" >&6; }
7792
7793
7794 enablestring=
7795 defaultval=$wxUSE_ALL_FEATURES
7796 if test -z "$defaultval"; then
7797 if test x"$enablestring" = xdisable; then
7798 defaultval=yes
7799 else
7800 defaultval=no
7801 fi
7802 fi
7803
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7805 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7806 # Check whether --enable-catch_segvs was given.
7807 if test "${enable_catch_segvs+set}" = set; then :
7808 enableval=$enable_catch_segvs;
7809 if test "$enableval" = yes; then
7810 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
7811 else
7812 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
7813 fi
7814
7815 else
7816
7817 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7818
7819 fi
7820
7821
7822 eval "$wx_cv_use_catch_segvs"
7823
7824 if test x"$enablestring" = xdisable; then
7825 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7826 result=yes
7827 else
7828 result=no
7829 fi
7830 else
7831 result=$wxUSE_ON_FATAL_EXCEPTION
7832 fi
7833
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7835 $as_echo "$result" >&6; }
7836
7837
7838 enablestring=
7839 defaultval=$wxUSE_ALL_FEATURES
7840 if test -z "$defaultval"; then
7841 if test x"$enablestring" = xdisable; then
7842 defaultval=yes
7843 else
7844 defaultval=no
7845 fi
7846 fi
7847
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7849 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7850 # Check whether --enable-cmdline was given.
7851 if test "${enable_cmdline+set}" = set; then :
7852 enableval=$enable_cmdline;
7853 if test "$enableval" = yes; then
7854 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7855 else
7856 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7857 fi
7858
7859 else
7860
7861 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7862
7863 fi
7864
7865
7866 eval "$wx_cv_use_cmdline"
7867
7868 if test x"$enablestring" = xdisable; then
7869 if test $wxUSE_CMDLINE_PARSER = no; then
7870 result=yes
7871 else
7872 result=no
7873 fi
7874 else
7875 result=$wxUSE_CMDLINE_PARSER
7876 fi
7877
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7879 $as_echo "$result" >&6; }
7880
7881
7882 enablestring=
7883 defaultval=$wxUSE_ALL_FEATURES
7884 if test -z "$defaultval"; then
7885 if test x"$enablestring" = xdisable; then
7886 defaultval=yes
7887 else
7888 defaultval=no
7889 fi
7890 fi
7891
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
7893 $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
7894 # Check whether --enable-datetime was given.
7895 if test "${enable_datetime+set}" = set; then :
7896 enableval=$enable_datetime;
7897 if test "$enableval" = yes; then
7898 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7899 else
7900 wx_cv_use_datetime='wxUSE_DATETIME=no'
7901 fi
7902
7903 else
7904
7905 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7906
7907 fi
7908
7909
7910 eval "$wx_cv_use_datetime"
7911
7912 if test x"$enablestring" = xdisable; then
7913 if test $wxUSE_DATETIME = no; then
7914 result=yes
7915 else
7916 result=no
7917 fi
7918 else
7919 result=$wxUSE_DATETIME
7920 fi
7921
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7923 $as_echo "$result" >&6; }
7924
7925
7926 enablestring=
7927 defaultval=$wxUSE_ALL_FEATURES
7928 if test -z "$defaultval"; then
7929 if test x"$enablestring" = xdisable; then
7930 defaultval=yes
7931 else
7932 defaultval=no
7933 fi
7934 fi
7935
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7937 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7938 # Check whether --enable-debugreport was given.
7939 if test "${enable_debugreport+set}" = set; then :
7940 enableval=$enable_debugreport;
7941 if test "$enableval" = yes; then
7942 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7943 else
7944 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7945 fi
7946
7947 else
7948
7949 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7950
7951 fi
7952
7953
7954 eval "$wx_cv_use_debugreport"
7955
7956 if test x"$enablestring" = xdisable; then
7957 if test $wxUSE_DEBUGREPORT = no; then
7958 result=yes
7959 else
7960 result=no
7961 fi
7962 else
7963 result=$wxUSE_DEBUGREPORT
7964 fi
7965
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7967 $as_echo "$result" >&6; }
7968
7969
7970 enablestring=
7971 defaultval=$wxUSE_ALL_FEATURES
7972 if test -z "$defaultval"; then
7973 if test x"$enablestring" = xdisable; then
7974 defaultval=yes
7975 else
7976 defaultval=no
7977 fi
7978 fi
7979
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
7981 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
7982 # Check whether --enable-dialupman was given.
7983 if test "${enable_dialupman+set}" = set; then :
7984 enableval=$enable_dialupman;
7985 if test "$enableval" = yes; then
7986 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7987 else
7988 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7989 fi
7990
7991 else
7992
7993 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7994
7995 fi
7996
7997
7998 eval "$wx_cv_use_dialupman"
7999
8000 if test x"$enablestring" = xdisable; then
8001 if test $wxUSE_DIALUP_MANAGER = no; then
8002 result=yes
8003 else
8004 result=no
8005 fi
8006 else
8007 result=$wxUSE_DIALUP_MANAGER
8008 fi
8009
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8011 $as_echo "$result" >&6; }
8012
8013
8014 enablestring=
8015 defaultval=$wxUSE_ALL_FEATURES
8016 if test -z "$defaultval"; then
8017 if test x"$enablestring" = xdisable; then
8018 defaultval=yes
8019 else
8020 defaultval=no
8021 fi
8022 fi
8023
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
8025 $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
8026 # Check whether --enable-dynlib was given.
8027 if test "${enable_dynlib+set}" = set; then :
8028 enableval=$enable_dynlib;
8029 if test "$enableval" = yes; then
8030 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8031 else
8032 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8033 fi
8034
8035 else
8036
8037 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8038
8039 fi
8040
8041
8042 eval "$wx_cv_use_dynlib"
8043
8044 if test x"$enablestring" = xdisable; then
8045 if test $wxUSE_DYNLIB_CLASS = no; then
8046 result=yes
8047 else
8048 result=no
8049 fi
8050 else
8051 result=$wxUSE_DYNLIB_CLASS
8052 fi
8053
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8055 $as_echo "$result" >&6; }
8056
8057
8058 enablestring=
8059 defaultval=$wxUSE_ALL_FEATURES
8060 if test -z "$defaultval"; then
8061 if test x"$enablestring" = xdisable; then
8062 defaultval=yes
8063 else
8064 defaultval=no
8065 fi
8066 fi
8067
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8069 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8070 # Check whether --enable-dynamicloader was given.
8071 if test "${enable_dynamicloader+set}" = set; then :
8072 enableval=$enable_dynamicloader;
8073 if test "$enableval" = yes; then
8074 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
8075 else
8076 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
8077 fi
8078
8079 else
8080
8081 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8082
8083 fi
8084
8085
8086 eval "$wx_cv_use_dynamicloader"
8087
8088 if test x"$enablestring" = xdisable; then
8089 if test $wxUSE_DYNAMIC_LOADER = no; then
8090 result=yes
8091 else
8092 result=no
8093 fi
8094 else
8095 result=$wxUSE_DYNAMIC_LOADER
8096 fi
8097
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8099 $as_echo "$result" >&6; }
8100
8101
8102 enablestring=
8103 defaultval=$wxUSE_ALL_FEATURES
8104 if test -z "$defaultval"; then
8105 if test x"$enablestring" = xdisable; then
8106 defaultval=yes
8107 else
8108 defaultval=no
8109 fi
8110 fi
8111
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8113 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8114 # Check whether --enable-exceptions was given.
8115 if test "${enable_exceptions+set}" = set; then :
8116 enableval=$enable_exceptions;
8117 if test "$enableval" = yes; then
8118 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
8119 else
8120 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
8121 fi
8122
8123 else
8124
8125 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8126
8127 fi
8128
8129
8130 eval "$wx_cv_use_exceptions"
8131
8132 if test x"$enablestring" = xdisable; then
8133 if test $wxUSE_EXCEPTIONS = no; then
8134 result=yes
8135 else
8136 result=no
8137 fi
8138 else
8139 result=$wxUSE_EXCEPTIONS
8140 fi
8141
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8143 $as_echo "$result" >&6; }
8144
8145
8146 enablestring=
8147 defaultval=$wxUSE_ALL_FEATURES
8148 if test -z "$defaultval"; then
8149 if test x"$enablestring" = xdisable; then
8150 defaultval=yes
8151 else
8152 defaultval=no
8153 fi
8154 fi
8155
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
8157 $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
8158 # Check whether --enable-ffile was given.
8159 if test "${enable_ffile+set}" = set; then :
8160 enableval=$enable_ffile;
8161 if test "$enableval" = yes; then
8162 wx_cv_use_ffile='wxUSE_FFILE=yes'
8163 else
8164 wx_cv_use_ffile='wxUSE_FFILE=no'
8165 fi
8166
8167 else
8168
8169 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8170
8171 fi
8172
8173
8174 eval "$wx_cv_use_ffile"
8175
8176 if test x"$enablestring" = xdisable; then
8177 if test $wxUSE_FFILE = no; then
8178 result=yes
8179 else
8180 result=no
8181 fi
8182 else
8183 result=$wxUSE_FFILE
8184 fi
8185
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8187 $as_echo "$result" >&6; }
8188
8189
8190 enablestring=
8191 defaultval=$wxUSE_ALL_FEATURES
8192 if test -z "$defaultval"; then
8193 if test x"$enablestring" = xdisable; then
8194 defaultval=yes
8195 else
8196 defaultval=no
8197 fi
8198 fi
8199
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8201 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8202 # Check whether --enable-file was given.
8203 if test "${enable_file+set}" = set; then :
8204 enableval=$enable_file;
8205 if test "$enableval" = yes; then
8206 wx_cv_use_file='wxUSE_FILE=yes'
8207 else
8208 wx_cv_use_file='wxUSE_FILE=no'
8209 fi
8210
8211 else
8212
8213 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8214
8215 fi
8216
8217
8218 eval "$wx_cv_use_file"
8219
8220 if test x"$enablestring" = xdisable; then
8221 if test $wxUSE_FILE = no; then
8222 result=yes
8223 else
8224 result=no
8225 fi
8226 else
8227 result=$wxUSE_FILE
8228 fi
8229
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8231 $as_echo "$result" >&6; }
8232
8233
8234 enablestring=
8235 defaultval=$wxUSE_ALL_FEATURES
8236 if test -z "$defaultval"; then
8237 if test x"$enablestring" = xdisable; then
8238 defaultval=yes
8239 else
8240 defaultval=no
8241 fi
8242 fi
8243
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8245 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8246 # Check whether --enable-filehistory was given.
8247 if test "${enable_filehistory+set}" = set; then :
8248 enableval=$enable_filehistory;
8249 if test "$enableval" = yes; then
8250 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
8251 else
8252 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
8253 fi
8254
8255 else
8256
8257 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8258
8259 fi
8260
8261
8262 eval "$wx_cv_use_filehistory"
8263
8264 if test x"$enablestring" = xdisable; then
8265 if test $wxUSE_FILE_HISTORY = no; then
8266 result=yes
8267 else
8268 result=no
8269 fi
8270 else
8271 result=$wxUSE_FILE_HISTORY
8272 fi
8273
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8275 $as_echo "$result" >&6; }
8276
8277
8278 enablestring=
8279 defaultval=$wxUSE_ALL_FEATURES
8280 if test -z "$defaultval"; then
8281 if test x"$enablestring" = xdisable; then
8282 defaultval=yes
8283 else
8284 defaultval=no
8285 fi
8286 fi
8287
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
8289 $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
8290 # Check whether --enable-filesystem was given.
8291 if test "${enable_filesystem+set}" = set; then :
8292 enableval=$enable_filesystem;
8293 if test "$enableval" = yes; then
8294 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8295 else
8296 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8297 fi
8298
8299 else
8300
8301 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8302
8303 fi
8304
8305
8306 eval "$wx_cv_use_filesystem"
8307
8308 if test x"$enablestring" = xdisable; then
8309 if test $wxUSE_FILESYSTEM = no; then
8310 result=yes
8311 else
8312 result=no
8313 fi
8314 else
8315 result=$wxUSE_FILESYSTEM
8316 fi
8317
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8319 $as_echo "$result" >&6; }
8320
8321
8322 enablestring=
8323 defaultval=$wxUSE_ALL_FEATURES
8324 if test -z "$defaultval"; then
8325 if test x"$enablestring" = xdisable; then
8326 defaultval=yes
8327 else
8328 defaultval=no
8329 fi
8330 fi
8331
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8333 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8334 # Check whether --enable-fontenum was given.
8335 if test "${enable_fontenum+set}" = set; then :
8336 enableval=$enable_fontenum;
8337 if test "$enableval" = yes; then
8338 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
8339 else
8340 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
8341 fi
8342
8343 else
8344
8345 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8346
8347 fi
8348
8349
8350 eval "$wx_cv_use_fontenum"
8351
8352 if test x"$enablestring" = xdisable; then
8353 if test $wxUSE_FONTENUM = no; then
8354 result=yes
8355 else
8356 result=no
8357 fi
8358 else
8359 result=$wxUSE_FONTENUM
8360 fi
8361
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8363 $as_echo "$result" >&6; }
8364
8365
8366 enablestring=
8367 defaultval=$wxUSE_ALL_FEATURES
8368 if test -z "$defaultval"; then
8369 if test x"$enablestring" = xdisable; then
8370 defaultval=yes
8371 else
8372 defaultval=no
8373 fi
8374 fi
8375
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8377 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8378 # Check whether --enable-fontmap was given.
8379 if test "${enable_fontmap+set}" = set; then :
8380 enableval=$enable_fontmap;
8381 if test "$enableval" = yes; then
8382 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
8383 else
8384 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
8385 fi
8386
8387 else
8388
8389 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8390
8391 fi
8392
8393
8394 eval "$wx_cv_use_fontmap"
8395
8396 if test x"$enablestring" = xdisable; then
8397 if test $wxUSE_FONTMAP = no; then
8398 result=yes
8399 else
8400 result=no
8401 fi
8402 else
8403 result=$wxUSE_FONTMAP
8404 fi
8405
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8407 $as_echo "$result" >&6; }
8408
8409
8410 enablestring=
8411 defaultval=$wxUSE_ALL_FEATURES
8412 if test -z "$defaultval"; then
8413 if test x"$enablestring" = xdisable; then
8414 defaultval=yes
8415 else
8416 defaultval=no
8417 fi
8418 fi
8419
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
8421 $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
8422 # Check whether --enable-fs_archive was given.
8423 if test "${enable_fs_archive+set}" = set; then :
8424 enableval=$enable_fs_archive;
8425 if test "$enableval" = yes; then
8426 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8427 else
8428 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8429 fi
8430
8431 else
8432
8433 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8434
8435 fi
8436
8437
8438 eval "$wx_cv_use_fs_archive"
8439
8440 if test x"$enablestring" = xdisable; then
8441 if test $wxUSE_FS_ARCHIVE = no; then
8442 result=yes
8443 else
8444 result=no
8445 fi
8446 else
8447 result=$wxUSE_FS_ARCHIVE
8448 fi
8449
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8451 $as_echo "$result" >&6; }
8452
8453
8454 enablestring=
8455 defaultval=$wxUSE_ALL_FEATURES
8456 if test -z "$defaultval"; then
8457 if test x"$enablestring" = xdisable; then
8458 defaultval=yes
8459 else
8460 defaultval=no
8461 fi
8462 fi
8463
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8465 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8466 # Check whether --enable-fs_inet was given.
8467 if test "${enable_fs_inet+set}" = set; then :
8468 enableval=$enable_fs_inet;
8469 if test "$enableval" = yes; then
8470 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
8471 else
8472 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
8473 fi
8474
8475 else
8476
8477 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8478
8479 fi
8480
8481
8482 eval "$wx_cv_use_fs_inet"
8483
8484 if test x"$enablestring" = xdisable; then
8485 if test $wxUSE_FS_INET = no; then
8486 result=yes
8487 else
8488 result=no
8489 fi
8490 else
8491 result=$wxUSE_FS_INET
8492 fi
8493
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8495 $as_echo "$result" >&6; }
8496
8497
8498 enablestring=
8499 defaultval=$wxUSE_ALL_FEATURES
8500 if test -z "$defaultval"; then
8501 if test x"$enablestring" = xdisable; then
8502 defaultval=yes
8503 else
8504 defaultval=no
8505 fi
8506 fi
8507
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8509 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8510 # Check whether --enable-fs_zip was given.
8511 if test "${enable_fs_zip+set}" = set; then :
8512 enableval=$enable_fs_zip;
8513 if test "$enableval" = yes; then
8514 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
8515 else
8516 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
8517 fi
8518
8519 else
8520
8521 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8522
8523 fi
8524
8525
8526 eval "$wx_cv_use_fs_zip"
8527
8528 if test x"$enablestring" = xdisable; then
8529 if test $wxUSE_FS_ZIP = no; then
8530 result=yes
8531 else
8532 result=no
8533 fi
8534 else
8535 result=$wxUSE_FS_ZIP
8536 fi
8537
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8539 $as_echo "$result" >&6; }
8540
8541
8542 enablestring=
8543 defaultval=$wxUSE_ALL_FEATURES
8544 if test -z "$defaultval"; then
8545 if test x"$enablestring" = xdisable; then
8546 defaultval=yes
8547 else
8548 defaultval=no
8549 fi
8550 fi
8551
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8553 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8554 # Check whether --enable-fswatcher was given.
8555 if test "${enable_fswatcher+set}" = set; then :
8556 enableval=$enable_fswatcher;
8557 if test "$enableval" = yes; then
8558 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
8559 else
8560 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
8561 fi
8562
8563 else
8564
8565 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8566
8567 fi
8568
8569
8570 eval "$wx_cv_use_fswatcher"
8571
8572 if test x"$enablestring" = xdisable; then
8573 if test $wxUSE_FSWATCHER = no; then
8574 result=yes
8575 else
8576 result=no
8577 fi
8578 else
8579 result=$wxUSE_FSWATCHER
8580 fi
8581
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8583 $as_echo "$result" >&6; }
8584
8585
8586 enablestring=
8587 defaultval=$wxUSE_ALL_FEATURES
8588 if test -z "$defaultval"; then
8589 if test x"$enablestring" = xdisable; then
8590 defaultval=yes
8591 else
8592 defaultval=no
8593 fi
8594 fi
8595
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8597 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8598 # Check whether --enable-geometry was given.
8599 if test "${enable_geometry+set}" = set; then :
8600 enableval=$enable_geometry;
8601 if test "$enableval" = yes; then
8602 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
8603 else
8604 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
8605 fi
8606
8607 else
8608
8609 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8610
8611 fi
8612
8613
8614 eval "$wx_cv_use_geometry"
8615
8616 if test x"$enablestring" = xdisable; then
8617 if test $wxUSE_GEOMETRY = no; then
8618 result=yes
8619 else
8620 result=no
8621 fi
8622 else
8623 result=$wxUSE_GEOMETRY
8624 fi
8625
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8627 $as_echo "$result" >&6; }
8628
8629
8630 enablestring=
8631 defaultval=$wxUSE_ALL_FEATURES
8632 if test -z "$defaultval"; then
8633 if test x"$enablestring" = xdisable; then
8634 defaultval=yes
8635 else
8636 defaultval=no
8637 fi
8638 fi
8639
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
8641 $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
8642 # Check whether --enable-log was given.
8643 if test "${enable_log+set}" = set; then :
8644 enableval=$enable_log;
8645 if test "$enableval" = yes; then
8646 wx_cv_use_log='wxUSE_LOG=yes'
8647 else
8648 wx_cv_use_log='wxUSE_LOG=no'
8649 fi
8650
8651 else
8652
8653 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8654
8655 fi
8656
8657
8658 eval "$wx_cv_use_log"
8659
8660 if test x"$enablestring" = xdisable; then
8661 if test $wxUSE_LOG = no; then
8662 result=yes
8663 else
8664 result=no
8665 fi
8666 else
8667 result=$wxUSE_LOG
8668 fi
8669
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8671 $as_echo "$result" >&6; }
8672
8673
8674 enablestring=
8675 defaultval=$wxUSE_ALL_FEATURES
8676 if test -z "$defaultval"; then
8677 if test x"$enablestring" = xdisable; then
8678 defaultval=yes
8679 else
8680 defaultval=no
8681 fi
8682 fi
8683
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8685 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8686 # Check whether --enable-longlong was given.
8687 if test "${enable_longlong+set}" = set; then :
8688 enableval=$enable_longlong;
8689 if test "$enableval" = yes; then
8690 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
8691 else
8692 wx_cv_use_longlong='wxUSE_LONGLONG=no'
8693 fi
8694
8695 else
8696
8697 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8698
8699 fi
8700
8701
8702 eval "$wx_cv_use_longlong"
8703
8704 if test x"$enablestring" = xdisable; then
8705 if test $wxUSE_LONGLONG = no; then
8706 result=yes
8707 else
8708 result=no
8709 fi
8710 else
8711 result=$wxUSE_LONGLONG
8712 fi
8713
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8715 $as_echo "$result" >&6; }
8716
8717
8718 enablestring=
8719 defaultval=$wxUSE_ALL_FEATURES
8720 if test -z "$defaultval"; then
8721 if test x"$enablestring" = xdisable; then
8722 defaultval=yes
8723 else
8724 defaultval=no
8725 fi
8726 fi
8727
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8729 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8730 # Check whether --enable-mimetype was given.
8731 if test "${enable_mimetype+set}" = set; then :
8732 enableval=$enable_mimetype;
8733 if test "$enableval" = yes; then
8734 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
8735 else
8736 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
8737 fi
8738
8739 else
8740
8741 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8742
8743 fi
8744
8745
8746 eval "$wx_cv_use_mimetype"
8747
8748 if test x"$enablestring" = xdisable; then
8749 if test $wxUSE_MIMETYPE = no; then
8750 result=yes
8751 else
8752 result=no
8753 fi
8754 else
8755 result=$wxUSE_MIMETYPE
8756 fi
8757
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8759 $as_echo "$result" >&6; }
8760
8761
8762 enablestring=
8763 defaultval=$wxUSE_ALL_FEATURES
8764 if test -z "$defaultval"; then
8765 if test x"$enablestring" = xdisable; then
8766 defaultval=yes
8767 else
8768 defaultval=no
8769 fi
8770 fi
8771
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
8773 $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
8774 # Check whether --enable-printfposparam was given.
8775 if test "${enable_printfposparam+set}" = set; then :
8776 enableval=$enable_printfposparam;
8777 if test "$enableval" = yes; then
8778 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8779 else
8780 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8781 fi
8782
8783 else
8784
8785 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8786
8787 fi
8788
8789
8790 eval "$wx_cv_use_printfposparam"
8791
8792 if test x"$enablestring" = xdisable; then
8793 if test $wxUSE_PRINTF_POS_PARAMS = no; then
8794 result=yes
8795 else
8796 result=no
8797 fi
8798 else
8799 result=$wxUSE_PRINTF_POS_PARAMS
8800 fi
8801
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8803 $as_echo "$result" >&6; }
8804
8805
8806 enablestring=
8807 defaultval=$wxUSE_ALL_FEATURES
8808 if test -z "$defaultval"; then
8809 if test x"$enablestring" = xdisable; then
8810 defaultval=yes
8811 else
8812 defaultval=no
8813 fi
8814 fi
8815
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8817 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8818 # Check whether --enable-snglinst was given.
8819 if test "${enable_snglinst+set}" = set; then :
8820 enableval=$enable_snglinst;
8821 if test "$enableval" = yes; then
8822 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
8823 else
8824 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
8825 fi
8826
8827 else
8828
8829 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8830
8831 fi
8832
8833
8834 eval "$wx_cv_use_snglinst"
8835
8836 if test x"$enablestring" = xdisable; then
8837 if test $wxUSE_SNGLINST_CHECKER = no; then
8838 result=yes
8839 else
8840 result=no
8841 fi
8842 else
8843 result=$wxUSE_SNGLINST_CHECKER
8844 fi
8845
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8847 $as_echo "$result" >&6; }
8848
8849
8850 enablestring=
8851 defaultval=$wxUSE_ALL_FEATURES
8852 if test -z "$defaultval"; then
8853 if test x"$enablestring" = xdisable; then
8854 defaultval=yes
8855 else
8856 defaultval=no
8857 fi
8858 fi
8859
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8861 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8862 # Check whether --enable-sound was given.
8863 if test "${enable_sound+set}" = set; then :
8864 enableval=$enable_sound;
8865 if test "$enableval" = yes; then
8866 wx_cv_use_sound='wxUSE_SOUND=yes'
8867 else
8868 wx_cv_use_sound='wxUSE_SOUND=no'
8869 fi
8870
8871 else
8872
8873 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8874
8875 fi
8876
8877
8878 eval "$wx_cv_use_sound"
8879
8880 if test x"$enablestring" = xdisable; then
8881 if test $wxUSE_SOUND = no; then
8882 result=yes
8883 else
8884 result=no
8885 fi
8886 else
8887 result=$wxUSE_SOUND
8888 fi
8889
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8891 $as_echo "$result" >&6; }
8892
8893
8894 enablestring=
8895 defaultval=$wxUSE_ALL_FEATURES
8896 if test -z "$defaultval"; then
8897 if test x"$enablestring" = xdisable; then
8898 defaultval=yes
8899 else
8900 defaultval=no
8901 fi
8902 fi
8903
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
8905 $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
8906 # Check whether --enable-stdpaths was given.
8907 if test "${enable_stdpaths+set}" = set; then :
8908 enableval=$enable_stdpaths;
8909 if test "$enableval" = yes; then
8910 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8911 else
8912 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8913 fi
8914
8915 else
8916
8917 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8918
8919 fi
8920
8921
8922 eval "$wx_cv_use_stdpaths"
8923
8924 if test x"$enablestring" = xdisable; then
8925 if test $wxUSE_STDPATHS = no; then
8926 result=yes
8927 else
8928 result=no
8929 fi
8930 else
8931 result=$wxUSE_STDPATHS
8932 fi
8933
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8935 $as_echo "$result" >&6; }
8936
8937
8938 enablestring=
8939 defaultval=$wxUSE_ALL_FEATURES
8940 if test -z "$defaultval"; then
8941 if test x"$enablestring" = xdisable; then
8942 defaultval=yes
8943 else
8944 defaultval=no
8945 fi
8946 fi
8947
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
8949 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
8950 # Check whether --enable-stopwatch was given.
8951 if test "${enable_stopwatch+set}" = set; then :
8952 enableval=$enable_stopwatch;
8953 if test "$enableval" = yes; then
8954 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8955 else
8956 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8957 fi
8958
8959 else
8960
8961 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8962
8963 fi
8964
8965
8966 eval "$wx_cv_use_stopwatch"
8967
8968 if test x"$enablestring" = xdisable; then
8969 if test $wxUSE_STOPWATCH = no; then
8970 result=yes
8971 else
8972 result=no
8973 fi
8974 else
8975 result=$wxUSE_STOPWATCH
8976 fi
8977
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8979 $as_echo "$result" >&6; }
8980
8981
8982 enablestring=
8983 defaultval=$wxUSE_ALL_FEATURES
8984 if test -z "$defaultval"; then
8985 if test x"$enablestring" = xdisable; then
8986 defaultval=yes
8987 else
8988 defaultval=no
8989 fi
8990 fi
8991
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
8993 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
8994 # Check whether --enable-streams was given.
8995 if test "${enable_streams+set}" = set; then :
8996 enableval=$enable_streams;
8997 if test "$enableval" = yes; then
8998 wx_cv_use_streams='wxUSE_STREAMS=yes'
8999 else
9000 wx_cv_use_streams='wxUSE_STREAMS=no'
9001 fi
9002
9003 else
9004
9005 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9006
9007 fi
9008
9009
9010 eval "$wx_cv_use_streams"
9011
9012 if test x"$enablestring" = xdisable; then
9013 if test $wxUSE_STREAMS = no; then
9014 result=yes
9015 else
9016 result=no
9017 fi
9018 else
9019 result=$wxUSE_STREAMS
9020 fi
9021
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9023 $as_echo "$result" >&6; }
9024
9025
9026 enablestring=
9027 defaultval=$wxUSE_ALL_FEATURES
9028 if test -z "$defaultval"; then
9029 if test x"$enablestring" = xdisable; then
9030 defaultval=yes
9031 else
9032 defaultval=no
9033 fi
9034 fi
9035
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
9037 $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
9038 # Check whether --enable-sysoptions was given.
9039 if test "${enable_sysoptions+set}" = set; then :
9040 enableval=$enable_sysoptions;
9041 if test "$enableval" = yes; then
9042 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9043 else
9044 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9045 fi
9046
9047 else
9048
9049 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9050
9051 fi
9052
9053
9054 eval "$wx_cv_use_sysoptions"
9055
9056 if test x"$enablestring" = xdisable; then
9057 if test $wxUSE_SYSTEM_OPTIONS = no; then
9058 result=yes
9059 else
9060 result=no
9061 fi
9062 else
9063 result=$wxUSE_SYSTEM_OPTIONS
9064 fi
9065
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9067 $as_echo "$result" >&6; }
9068
9069
9070 enablestring=
9071 defaultval=$wxUSE_ALL_FEATURES
9072 if test -z "$defaultval"; then
9073 if test x"$enablestring" = xdisable; then
9074 defaultval=yes
9075 else
9076 defaultval=no
9077 fi
9078 fi
9079
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9081 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9082 # Check whether --enable-tarstream was given.
9083 if test "${enable_tarstream+set}" = set; then :
9084 enableval=$enable_tarstream;
9085 if test "$enableval" = yes; then
9086 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
9087 else
9088 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
9089 fi
9090
9091 else
9092
9093 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9094
9095 fi
9096
9097
9098 eval "$wx_cv_use_tarstream"
9099
9100 if test x"$enablestring" = xdisable; then
9101 if test $wxUSE_TARSTREAM = no; then
9102 result=yes
9103 else
9104 result=no
9105 fi
9106 else
9107 result=$wxUSE_TARSTREAM
9108 fi
9109
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9111 $as_echo "$result" >&6; }
9112
9113
9114 enablestring=
9115 defaultval=$wxUSE_ALL_FEATURES
9116 if test -z "$defaultval"; then
9117 if test x"$enablestring" = xdisable; then
9118 defaultval=yes
9119 else
9120 defaultval=no
9121 fi
9122 fi
9123
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9125 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9126 # Check whether --enable-textbuf was given.
9127 if test "${enable_textbuf+set}" = set; then :
9128 enableval=$enable_textbuf;
9129 if test "$enableval" = yes; then
9130 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
9131 else
9132 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
9133 fi
9134
9135 else
9136
9137 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9138
9139 fi
9140
9141
9142 eval "$wx_cv_use_textbuf"
9143
9144 if test x"$enablestring" = xdisable; then
9145 if test $wxUSE_TEXTBUFFER = no; then
9146 result=yes
9147 else
9148 result=no
9149 fi
9150 else
9151 result=$wxUSE_TEXTBUFFER
9152 fi
9153
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9155 $as_echo "$result" >&6; }
9156
9157
9158 enablestring=
9159 defaultval=$wxUSE_ALL_FEATURES
9160 if test -z "$defaultval"; then
9161 if test x"$enablestring" = xdisable; then
9162 defaultval=yes
9163 else
9164 defaultval=no
9165 fi
9166 fi
9167
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
9169 $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
9170 # Check whether --enable-textfile was given.
9171 if test "${enable_textfile+set}" = set; then :
9172 enableval=$enable_textfile;
9173 if test "$enableval" = yes; then
9174 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9175 else
9176 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9177 fi
9178
9179 else
9180
9181 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9182
9183 fi
9184
9185
9186 eval "$wx_cv_use_textfile"
9187
9188 if test x"$enablestring" = xdisable; then
9189 if test $wxUSE_TEXTFILE = no; then
9190 result=yes
9191 else
9192 result=no
9193 fi
9194 else
9195 result=$wxUSE_TEXTFILE
9196 fi
9197
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9199 $as_echo "$result" >&6; }
9200
9201
9202 enablestring=
9203 defaultval=$wxUSE_ALL_FEATURES
9204 if test -z "$defaultval"; then
9205 if test x"$enablestring" = xdisable; then
9206 defaultval=yes
9207 else
9208 defaultval=no
9209 fi
9210 fi
9211
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9213 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9214 # Check whether --enable-timer was given.
9215 if test "${enable_timer+set}" = set; then :
9216 enableval=$enable_timer;
9217 if test "$enableval" = yes; then
9218 wx_cv_use_timer='wxUSE_TIMER=yes'
9219 else
9220 wx_cv_use_timer='wxUSE_TIMER=no'
9221 fi
9222
9223 else
9224
9225 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9226
9227 fi
9228
9229
9230 eval "$wx_cv_use_timer"
9231
9232 if test x"$enablestring" = xdisable; then
9233 if test $wxUSE_TIMER = no; then
9234 result=yes
9235 else
9236 result=no
9237 fi
9238 else
9239 result=$wxUSE_TIMER
9240 fi
9241
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9243 $as_echo "$result" >&6; }
9244
9245
9246 enablestring=
9247 defaultval=$wxUSE_ALL_FEATURES
9248 if test -z "$defaultval"; then
9249 if test x"$enablestring" = xdisable; then
9250 defaultval=yes
9251 else
9252 defaultval=no
9253 fi
9254 fi
9255
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9257 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9258 # Check whether --enable-variant was given.
9259 if test "${enable_variant+set}" = set; then :
9260 enableval=$enable_variant;
9261 if test "$enableval" = yes; then
9262 wx_cv_use_variant='wxUSE_VARIANT=yes'
9263 else
9264 wx_cv_use_variant='wxUSE_VARIANT=no'
9265 fi
9266
9267 else
9268
9269 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9270
9271 fi
9272
9273
9274 eval "$wx_cv_use_variant"
9275
9276 if test x"$enablestring" = xdisable; then
9277 if test $wxUSE_VARIANT = no; then
9278 result=yes
9279 else
9280 result=no
9281 fi
9282 else
9283 result=$wxUSE_VARIANT
9284 fi
9285
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9287 $as_echo "$result" >&6; }
9288
9289
9290 enablestring=
9291 defaultval=$wxUSE_ALL_FEATURES
9292 if test -z "$defaultval"; then
9293 if test x"$enablestring" = xdisable; then
9294 defaultval=yes
9295 else
9296 defaultval=no
9297 fi
9298 fi
9299
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
9301 $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
9302 # Check whether --enable-zipstream was given.
9303 if test "${enable_zipstream+set}" = set; then :
9304 enableval=$enable_zipstream;
9305 if test "$enableval" = yes; then
9306 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9307 else
9308 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9309 fi
9310
9311 else
9312
9313 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9314
9315 fi
9316
9317
9318 eval "$wx_cv_use_zipstream"
9319
9320 if test x"$enablestring" = xdisable; then
9321 if test $wxUSE_ZIPSTREAM = no; then
9322 result=yes
9323 else
9324 result=no
9325 fi
9326 else
9327 result=$wxUSE_ZIPSTREAM
9328 fi
9329
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9331 $as_echo "$result" >&6; }
9332
9333
9334
9335 enablestring=
9336 defaultval=$wxUSE_ALL_FEATURES
9337 if test -z "$defaultval"; then
9338 if test x"$enablestring" = xdisable; then
9339 defaultval=yes
9340 else
9341 defaultval=no
9342 fi
9343 fi
9344
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9346 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9347 # Check whether --enable-url was given.
9348 if test "${enable_url+set}" = set; then :
9349 enableval=$enable_url;
9350 if test "$enableval" = yes; then
9351 wx_cv_use_url='wxUSE_URL=yes'
9352 else
9353 wx_cv_use_url='wxUSE_URL=no'
9354 fi
9355
9356 else
9357
9358 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9359
9360 fi
9361
9362
9363 eval "$wx_cv_use_url"
9364
9365 if test x"$enablestring" = xdisable; then
9366 if test $wxUSE_URL = no; then
9367 result=yes
9368 else
9369 result=no
9370 fi
9371 else
9372 result=$wxUSE_URL
9373 fi
9374
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9376 $as_echo "$result" >&6; }
9377
9378
9379 enablestring=
9380 defaultval=$wxUSE_ALL_FEATURES
9381 if test -z "$defaultval"; then
9382 if test x"$enablestring" = xdisable; then
9383 defaultval=yes
9384 else
9385 defaultval=no
9386 fi
9387 fi
9388
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9390 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9391 # Check whether --enable-protocol was given.
9392 if test "${enable_protocol+set}" = set; then :
9393 enableval=$enable_protocol;
9394 if test "$enableval" = yes; then
9395 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
9396 else
9397 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
9398 fi
9399
9400 else
9401
9402 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9403
9404 fi
9405
9406
9407 eval "$wx_cv_use_protocol"
9408
9409 if test x"$enablestring" = xdisable; then
9410 if test $wxUSE_PROTOCOL = no; then
9411 result=yes
9412 else
9413 result=no
9414 fi
9415 else
9416 result=$wxUSE_PROTOCOL
9417 fi
9418
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9420 $as_echo "$result" >&6; }
9421
9422
9423 enablestring=
9424 defaultval=$wxUSE_ALL_FEATURES
9425 if test -z "$defaultval"; then
9426 if test x"$enablestring" = xdisable; then
9427 defaultval=yes
9428 else
9429 defaultval=no
9430 fi
9431 fi
9432
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
9434 $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
9435 # Check whether --enable-protocol_http was given.
9436 if test "${enable_protocol_http+set}" = set; then :
9437 enableval=$enable_protocol_http;
9438 if test "$enableval" = yes; then
9439 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9440 else
9441 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9442 fi
9443
9444 else
9445
9446 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9447
9448 fi
9449
9450
9451 eval "$wx_cv_use_protocol_http"
9452
9453 if test x"$enablestring" = xdisable; then
9454 if test $wxUSE_PROTOCOL_HTTP = no; then
9455 result=yes
9456 else
9457 result=no
9458 fi
9459 else
9460 result=$wxUSE_PROTOCOL_HTTP
9461 fi
9462
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9464 $as_echo "$result" >&6; }
9465
9466
9467 enablestring=
9468 defaultval=$wxUSE_ALL_FEATURES
9469 if test -z "$defaultval"; then
9470 if test x"$enablestring" = xdisable; then
9471 defaultval=yes
9472 else
9473 defaultval=no
9474 fi
9475 fi
9476
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9478 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9479 # Check whether --enable-protocol_ftp was given.
9480 if test "${enable_protocol_ftp+set}" = set; then :
9481 enableval=$enable_protocol_ftp;
9482 if test "$enableval" = yes; then
9483 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
9484 else
9485 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
9486 fi
9487
9488 else
9489
9490 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9491
9492 fi
9493
9494
9495 eval "$wx_cv_use_protocol_ftp"
9496
9497 if test x"$enablestring" = xdisable; then
9498 if test $wxUSE_PROTOCOL_FTP = no; then
9499 result=yes
9500 else
9501 result=no
9502 fi
9503 else
9504 result=$wxUSE_PROTOCOL_FTP
9505 fi
9506
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9508 $as_echo "$result" >&6; }
9509
9510
9511 enablestring=
9512 defaultval=$wxUSE_ALL_FEATURES
9513 if test -z "$defaultval"; then
9514 if test x"$enablestring" = xdisable; then
9515 defaultval=yes
9516 else
9517 defaultval=no
9518 fi
9519 fi
9520
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9522 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9523 # Check whether --enable-protocol_file was given.
9524 if test "${enable_protocol_file+set}" = set; then :
9525 enableval=$enable_protocol_file;
9526 if test "$enableval" = yes; then
9527 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9528 else
9529 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9530 fi
9531
9532 else
9533
9534 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9535
9536 fi
9537
9538
9539 eval "$wx_cv_use_protocol_file"
9540
9541 if test x"$enablestring" = xdisable; then
9542 if test $wxUSE_PROTOCOL_FILE = no; then
9543 result=yes
9544 else
9545 result=no
9546 fi
9547 else
9548 result=$wxUSE_PROTOCOL_FILE
9549 fi
9550
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9552 $as_echo "$result" >&6; }
9553
9554
9555
9556 enablestring=
9557 defaultval=$wxUSE_ALL_FEATURES
9558 if test -z "$defaultval"; then
9559 if test x"$enablestring" = xdisable; then
9560 defaultval=yes
9561 else
9562 defaultval=no
9563 fi
9564 fi
9565
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
9567 $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
9568 # Check whether --enable-threads was given.
9569 if test "${enable_threads+set}" = set; then :
9570 enableval=$enable_threads;
9571 if test "$enableval" = yes; then
9572 wx_cv_use_threads='wxUSE_THREADS=yes'
9573 else
9574 wx_cv_use_threads='wxUSE_THREADS=no'
9575 fi
9576
9577 else
9578
9579 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9580
9581 fi
9582
9583
9584 eval "$wx_cv_use_threads"
9585
9586 if test x"$enablestring" = xdisable; then
9587 if test $wxUSE_THREADS = no; then
9588 result=yes
9589 else
9590 result=no
9591 fi
9592 else
9593 result=$wxUSE_THREADS
9594 fi
9595
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9597 $as_echo "$result" >&6; }
9598
9599
9600
9601 enablestring=
9602 defaultval=
9603 if test -z "$defaultval"; then
9604 if test x"$enablestring" = xdisable; then
9605 defaultval=yes
9606 else
9607 defaultval=no
9608 fi
9609 fi
9610
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9612 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9613 # Check whether --enable-iniconf was given.
9614 if test "${enable_iniconf+set}" = set; then :
9615 enableval=$enable_iniconf;
9616 if test "$enableval" = yes; then
9617 wx_cv_use_iniconf='wxUSE_INICONF=yes'
9618 else
9619 wx_cv_use_iniconf='wxUSE_INICONF=no'
9620 fi
9621
9622 else
9623
9624 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9625
9626 fi
9627
9628
9629 eval "$wx_cv_use_iniconf"
9630
9631 if test x"$enablestring" = xdisable; then
9632 if test $wxUSE_INICONF = no; then
9633 result=yes
9634 else
9635 result=no
9636 fi
9637 else
9638 result=$wxUSE_INICONF
9639 fi
9640
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9642 $as_echo "$result" >&6; }
9643
9644
9645 enablestring=
9646 defaultval=$wxUSE_ALL_FEATURES
9647 if test -z "$defaultval"; then
9648 if test x"$enablestring" = xdisable; then
9649 defaultval=yes
9650 else
9651 defaultval=no
9652 fi
9653 fi
9654
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9656 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9657 # Check whether --enable-regkey was given.
9658 if test "${enable_regkey+set}" = set; then :
9659 enableval=$enable_regkey;
9660 if test "$enableval" = yes; then
9661 wx_cv_use_regkey='wxUSE_REGKEY=yes'
9662 else
9663 wx_cv_use_regkey='wxUSE_REGKEY=no'
9664 fi
9665
9666 else
9667
9668 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9669
9670 fi
9671
9672
9673 eval "$wx_cv_use_regkey"
9674
9675 if test x"$enablestring" = xdisable; then
9676 if test $wxUSE_REGKEY = no; then
9677 result=yes
9678 else
9679 result=no
9680 fi
9681 else
9682 result=$wxUSE_REGKEY
9683 fi
9684
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9686 $as_echo "$result" >&6; }
9687
9688
9689 if test "$wxUSE_GUI" = "yes"; then
9690
9691
9692
9693 enablestring=
9694 defaultval=$wxUSE_ALL_FEATURES
9695 if test -z "$defaultval"; then
9696 if test x"$enablestring" = xdisable; then
9697 defaultval=yes
9698 else
9699 defaultval=no
9700 fi
9701 fi
9702
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
9704 $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
9705 # Check whether --enable-docview was given.
9706 if test "${enable_docview+set}" = set; then :
9707 enableval=$enable_docview;
9708 if test "$enableval" = yes; then
9709 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9710 else
9711 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9712 fi
9713
9714 else
9715
9716 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9717
9718 fi
9719
9720
9721 eval "$wx_cv_use_docview"
9722
9723 if test x"$enablestring" = xdisable; then
9724 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
9725 result=yes
9726 else
9727 result=no
9728 fi
9729 else
9730 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9731 fi
9732
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9734 $as_echo "$result" >&6; }
9735
9736
9737 enablestring=
9738 defaultval=$wxUSE_ALL_FEATURES
9739 if test -z "$defaultval"; then
9740 if test x"$enablestring" = xdisable; then
9741 defaultval=yes
9742 else
9743 defaultval=no
9744 fi
9745 fi
9746
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9748 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9749 # Check whether --enable-help was given.
9750 if test "${enable_help+set}" = set; then :
9751 enableval=$enable_help;
9752 if test "$enableval" = yes; then
9753 wx_cv_use_help='wxUSE_HELP=yes'
9754 else
9755 wx_cv_use_help='wxUSE_HELP=no'
9756 fi
9757
9758 else
9759
9760 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9761
9762 fi
9763
9764
9765 eval "$wx_cv_use_help"
9766
9767 if test x"$enablestring" = xdisable; then
9768 if test $wxUSE_HELP = no; then
9769 result=yes
9770 else
9771 result=no
9772 fi
9773 else
9774 result=$wxUSE_HELP
9775 fi
9776
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9778 $as_echo "$result" >&6; }
9779
9780
9781 enablestring=
9782 defaultval=$wxUSE_ALL_FEATURES
9783 if test -z "$defaultval"; then
9784 if test x"$enablestring" = xdisable; then
9785 defaultval=yes
9786 else
9787 defaultval=no
9788 fi
9789 fi
9790
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9792 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9793 # Check whether --enable-mshtmlhelp was given.
9794 if test "${enable_mshtmlhelp+set}" = set; then :
9795 enableval=$enable_mshtmlhelp;
9796 if test "$enableval" = yes; then
9797 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9798 else
9799 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9800 fi
9801
9802 else
9803
9804 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9805
9806 fi
9807
9808
9809 eval "$wx_cv_use_mshtmlhelp"
9810
9811 if test x"$enablestring" = xdisable; then
9812 if test $wxUSE_MS_HTML_HELP = no; then
9813 result=yes
9814 else
9815 result=no
9816 fi
9817 else
9818 result=$wxUSE_MS_HTML_HELP
9819 fi
9820
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9822 $as_echo "$result" >&6; }
9823
9824
9825 enablestring=
9826 defaultval=$wxUSE_ALL_FEATURES
9827 if test -z "$defaultval"; then
9828 if test x"$enablestring" = xdisable; then
9829 defaultval=yes
9830 else
9831 defaultval=no
9832 fi
9833 fi
9834
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
9836 $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
9837 # Check whether --enable-html was given.
9838 if test "${enable_html+set}" = set; then :
9839 enableval=$enable_html;
9840 if test "$enableval" = yes; then
9841 wx_cv_use_html='wxUSE_HTML=yes'
9842 else
9843 wx_cv_use_html='wxUSE_HTML=no'
9844 fi
9845
9846 else
9847
9848 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9849
9850 fi
9851
9852
9853 eval "$wx_cv_use_html"
9854
9855 if test x"$enablestring" = xdisable; then
9856 if test $wxUSE_HTML = no; then
9857 result=yes
9858 else
9859 result=no
9860 fi
9861 else
9862 result=$wxUSE_HTML
9863 fi
9864
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9866 $as_echo "$result" >&6; }
9867
9868
9869 enablestring=
9870 defaultval=$wxUSE_ALL_FEATURES
9871 if test -z "$defaultval"; then
9872 if test x"$enablestring" = xdisable; then
9873 defaultval=yes
9874 else
9875 defaultval=no
9876 fi
9877 fi
9878
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9880 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9881 # Check whether --enable-htmlhelp was given.
9882 if test "${enable_htmlhelp+set}" = set; then :
9883 enableval=$enable_htmlhelp;
9884 if test "$enableval" = yes; then
9885 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9886 else
9887 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9888 fi
9889
9890 else
9891
9892 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9893
9894 fi
9895
9896
9897 eval "$wx_cv_use_htmlhelp"
9898
9899 if test x"$enablestring" = xdisable; then
9900 if test $wxUSE_WXHTML_HELP = no; then
9901 result=yes
9902 else
9903 result=no
9904 fi
9905 else
9906 result=$wxUSE_WXHTML_HELP
9907 fi
9908
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9910 $as_echo "$result" >&6; }
9911
9912
9913 enablestring=
9914 defaultval=$wxUSE_ALL_FEATURES
9915 if test -z "$defaultval"; then
9916 if test x"$enablestring" = xdisable; then
9917 defaultval=yes
9918 else
9919 defaultval=no
9920 fi
9921 fi
9922
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
9924 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
9925 # Check whether --enable-xrc was given.
9926 if test "${enable_xrc+set}" = set; then :
9927 enableval=$enable_xrc;
9928 if test "$enableval" = yes; then
9929 wx_cv_use_xrc='wxUSE_XRC=yes'
9930 else
9931 wx_cv_use_xrc='wxUSE_XRC=no'
9932 fi
9933
9934 else
9935
9936 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9937
9938 fi
9939
9940
9941 eval "$wx_cv_use_xrc"
9942
9943 if test x"$enablestring" = xdisable; then
9944 if test $wxUSE_XRC = no; then
9945 result=yes
9946 else
9947 result=no
9948 fi
9949 else
9950 result=$wxUSE_XRC
9951 fi
9952
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9954 $as_echo "$result" >&6; }
9955
9956
9957 enablestring=
9958 defaultval=$wxUSE_ALL_FEATURES
9959 if test -z "$defaultval"; then
9960 if test x"$enablestring" = xdisable; then
9961 defaultval=yes
9962 else
9963 defaultval=no
9964 fi
9965 fi
9966
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
9968 $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
9969 # Check whether --enable-aui was given.
9970 if test "${enable_aui+set}" = set; then :
9971 enableval=$enable_aui;
9972 if test "$enableval" = yes; then
9973 wx_cv_use_aui='wxUSE_AUI=yes'
9974 else
9975 wx_cv_use_aui='wxUSE_AUI=no'
9976 fi
9977
9978 else
9979
9980 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9981
9982 fi
9983
9984
9985 eval "$wx_cv_use_aui"
9986
9987 if test x"$enablestring" = xdisable; then
9988 if test $wxUSE_AUI = no; then
9989 result=yes
9990 else
9991 result=no
9992 fi
9993 else
9994 result=$wxUSE_AUI
9995 fi
9996
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9998 $as_echo "$result" >&6; }
9999
10000
10001 enablestring=
10002 defaultval=$wxUSE_ALL_FEATURES
10003 if test -z "$defaultval"; then
10004 if test x"$enablestring" = xdisable; then
10005 defaultval=yes
10006 else
10007 defaultval=no
10008 fi
10009 fi
10010
10011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10012 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10013 # Check whether --enable-propgrid was given.
10014 if test "${enable_propgrid+set}" = set; then :
10015 enableval=$enable_propgrid;
10016 if test "$enableval" = yes; then
10017 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
10018 else
10019 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
10020 fi
10021
10022 else
10023
10024 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10025
10026 fi
10027
10028
10029 eval "$wx_cv_use_propgrid"
10030
10031 if test x"$enablestring" = xdisable; then
10032 if test $wxUSE_PROPGRID = no; then
10033 result=yes
10034 else
10035 result=no
10036 fi
10037 else
10038 result=$wxUSE_PROPGRID
10039 fi
10040
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10042 $as_echo "$result" >&6; }
10043
10044
10045 enablestring=
10046 defaultval=$wxUSE_ALL_FEATURES
10047 if test -z "$defaultval"; then
10048 if test x"$enablestring" = xdisable; then
10049 defaultval=yes
10050 else
10051 defaultval=no
10052 fi
10053 fi
10054
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10056 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10057 # Check whether --enable-ribbon was given.
10058 if test "${enable_ribbon+set}" = set; then :
10059 enableval=$enable_ribbon;
10060 if test "$enableval" = yes; then
10061 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
10062 else
10063 wx_cv_use_ribbon='wxUSE_RIBBON=no'
10064 fi
10065
10066 else
10067
10068 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10069
10070 fi
10071
10072
10073 eval "$wx_cv_use_ribbon"
10074
10075 if test x"$enablestring" = xdisable; then
10076 if test $wxUSE_RIBBON = no; then
10077 result=yes
10078 else
10079 result=no
10080 fi
10081 else
10082 result=$wxUSE_RIBBON
10083 fi
10084
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10086 $as_echo "$result" >&6; }
10087
10088
10089 enablestring=
10090 defaultval=$wxUSE_ALL_FEATURES
10091 if test -z "$defaultval"; then
10092 if test x"$enablestring" = xdisable; then
10093 defaultval=yes
10094 else
10095 defaultval=no
10096 fi
10097 fi
10098
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
10100 $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
10101 # Check whether --enable-stc was given.
10102 if test "${enable_stc+set}" = set; then :
10103 enableval=$enable_stc;
10104 if test "$enableval" = yes; then
10105 wx_cv_use_stc='wxUSE_STC=yes'
10106 else
10107 wx_cv_use_stc='wxUSE_STC=no'
10108 fi
10109
10110 else
10111
10112 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10113
10114 fi
10115
10116
10117 eval "$wx_cv_use_stc"
10118
10119 if test x"$enablestring" = xdisable; then
10120 if test $wxUSE_STC = no; then
10121 result=yes
10122 else
10123 result=no
10124 fi
10125 else
10126 result=$wxUSE_STC
10127 fi
10128
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10130 $as_echo "$result" >&6; }
10131
10132
10133 enablestring=
10134 defaultval=$wxUSE_ALL_FEATURES
10135 if test -z "$defaultval"; then
10136 if test x"$enablestring" = xdisable; then
10137 defaultval=yes
10138 else
10139 defaultval=no
10140 fi
10141 fi
10142
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10144 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10145 # Check whether --enable-constraints was given.
10146 if test "${enable_constraints+set}" = set; then :
10147 enableval=$enable_constraints;
10148 if test "$enableval" = yes; then
10149 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
10150 else
10151 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
10152 fi
10153
10154 else
10155
10156 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10157
10158 fi
10159
10160
10161 eval "$wx_cv_use_constraints"
10162
10163 if test x"$enablestring" = xdisable; then
10164 if test $wxUSE_CONSTRAINTS = no; then
10165 result=yes
10166 else
10167 result=no
10168 fi
10169 else
10170 result=$wxUSE_CONSTRAINTS
10171 fi
10172
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10174 $as_echo "$result" >&6; }
10175
10176
10177 enablestring=
10178 defaultval=$wxUSE_ALL_FEATURES
10179 if test -z "$defaultval"; then
10180 if test x"$enablestring" = xdisable; then
10181 defaultval=yes
10182 else
10183 defaultval=no
10184 fi
10185 fi
10186
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10188 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10189 # Check whether --enable-loggui was given.
10190 if test "${enable_loggui+set}" = set; then :
10191 enableval=$enable_loggui;
10192 if test "$enableval" = yes; then
10193 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
10194 else
10195 wx_cv_use_loggui='wxUSE_LOGGUI=no'
10196 fi
10197
10198 else
10199
10200 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10201
10202 fi
10203
10204
10205 eval "$wx_cv_use_loggui"
10206
10207 if test x"$enablestring" = xdisable; then
10208 if test $wxUSE_LOGGUI = no; then
10209 result=yes
10210 else
10211 result=no
10212 fi
10213 else
10214 result=$wxUSE_LOGGUI
10215 fi
10216
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10218 $as_echo "$result" >&6; }
10219
10220
10221 enablestring=
10222 defaultval=$wxUSE_ALL_FEATURES
10223 if test -z "$defaultval"; then
10224 if test x"$enablestring" = xdisable; then
10225 defaultval=yes
10226 else
10227 defaultval=no
10228 fi
10229 fi
10230
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
10232 $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
10233 # Check whether --enable-logwin was given.
10234 if test "${enable_logwin+set}" = set; then :
10235 enableval=$enable_logwin;
10236 if test "$enableval" = yes; then
10237 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10238 else
10239 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10240 fi
10241
10242 else
10243
10244 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10245
10246 fi
10247
10248
10249 eval "$wx_cv_use_logwin"
10250
10251 if test x"$enablestring" = xdisable; then
10252 if test $wxUSE_LOGWINDOW = no; then
10253 result=yes
10254 else
10255 result=no
10256 fi
10257 else
10258 result=$wxUSE_LOGWINDOW
10259 fi
10260
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10262 $as_echo "$result" >&6; }
10263
10264
10265 enablestring=
10266 defaultval=$wxUSE_ALL_FEATURES
10267 if test -z "$defaultval"; then
10268 if test x"$enablestring" = xdisable; then
10269 defaultval=yes
10270 else
10271 defaultval=no
10272 fi
10273 fi
10274
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10276 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10277 # Check whether --enable-logdialog was given.
10278 if test "${enable_logdialog+set}" = set; then :
10279 enableval=$enable_logdialog;
10280 if test "$enableval" = yes; then
10281 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
10282 else
10283 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
10284 fi
10285
10286 else
10287
10288 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10289
10290 fi
10291
10292
10293 eval "$wx_cv_use_logdialog"
10294
10295 if test x"$enablestring" = xdisable; then
10296 if test $wxUSE_LOGDIALOG = no; then
10297 result=yes
10298 else
10299 result=no
10300 fi
10301 else
10302 result=$wxUSE_LOGDIALOG
10303 fi
10304
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10306 $as_echo "$result" >&6; }
10307
10308
10309 enablestring=
10310 defaultval=$wxUSE_ALL_FEATURES
10311 if test -z "$defaultval"; then
10312 if test x"$enablestring" = xdisable; then
10313 defaultval=yes
10314 else
10315 defaultval=no
10316 fi
10317 fi
10318
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10320 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10321 # Check whether --enable-mdi was given.
10322 if test "${enable_mdi+set}" = set; then :
10323 enableval=$enable_mdi;
10324 if test "$enableval" = yes; then
10325 wx_cv_use_mdi='wxUSE_MDI=yes'
10326 else
10327 wx_cv_use_mdi='wxUSE_MDI=no'
10328 fi
10329
10330 else
10331
10332 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10333
10334 fi
10335
10336
10337 eval "$wx_cv_use_mdi"
10338
10339 if test x"$enablestring" = xdisable; then
10340 if test $wxUSE_MDI = no; then
10341 result=yes
10342 else
10343 result=no
10344 fi
10345 else
10346 result=$wxUSE_MDI
10347 fi
10348
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10350 $as_echo "$result" >&6; }
10351
10352
10353 enablestring=
10354 defaultval=$wxUSE_ALL_FEATURES
10355 if test -z "$defaultval"; then
10356 if test x"$enablestring" = xdisable; then
10357 defaultval=yes
10358 else
10359 defaultval=no
10360 fi
10361 fi
10362
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
10364 $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
10365 # Check whether --enable-mdidoc was given.
10366 if test "${enable_mdidoc+set}" = set; then :
10367 enableval=$enable_mdidoc;
10368 if test "$enableval" = yes; then
10369 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10370 else
10371 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10372 fi
10373
10374 else
10375
10376 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10377
10378 fi
10379
10380
10381 eval "$wx_cv_use_mdidoc"
10382
10383 if test x"$enablestring" = xdisable; then
10384 if test $wxUSE_MDI_ARCHITECTURE = no; then
10385 result=yes
10386 else
10387 result=no
10388 fi
10389 else
10390 result=$wxUSE_MDI_ARCHITECTURE
10391 fi
10392
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10394 $as_echo "$result" >&6; }
10395
10396
10397 enablestring=
10398 defaultval=$wxUSE_ALL_FEATURES
10399 if test -z "$defaultval"; then
10400 if test x"$enablestring" = xdisable; then
10401 defaultval=yes
10402 else
10403 defaultval=no
10404 fi
10405 fi
10406
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10408 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10409 # Check whether --enable-mediactrl was given.
10410 if test "${enable_mediactrl+set}" = set; then :
10411 enableval=$enable_mediactrl;
10412 if test "$enableval" = yes; then
10413 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
10414 else
10415 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
10416 fi
10417
10418 else
10419
10420 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10421
10422 fi
10423
10424
10425 eval "$wx_cv_use_mediactrl"
10426
10427 if test x"$enablestring" = xdisable; then
10428 if test $wxUSE_MEDIACTRL = no; then
10429 result=yes
10430 else
10431 result=no
10432 fi
10433 else
10434 result=$wxUSE_MEDIACTRL
10435 fi
10436
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10438 $as_echo "$result" >&6; }
10439
10440
10441 enablestring=
10442 defaultval=$wxUSE_ALL_FEATURES
10443 if test -z "$defaultval"; then
10444 if test x"$enablestring" = xdisable; then
10445 defaultval=yes
10446 else
10447 defaultval=no
10448 fi
10449 fi
10450
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10452 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10453 # Check whether --enable-gstreamer8 was given.
10454 if test "${enable_gstreamer8+set}" = set; then :
10455 enableval=$enable_gstreamer8;
10456 if test "$enableval" = yes; then
10457 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
10458 else
10459 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
10460 fi
10461
10462 else
10463
10464 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10465
10466 fi
10467
10468
10469 eval "$wx_cv_use_gstreamer8"
10470
10471 if test x"$enablestring" = xdisable; then
10472 if test $wxUSE_GSTREAMER8 = no; then
10473 result=yes
10474 else
10475 result=no
10476 fi
10477 else
10478 result=$wxUSE_GSTREAMER8
10479 fi
10480
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10482 $as_echo "$result" >&6; }
10483
10484
10485 enablestring=
10486 defaultval=$wxUSE_ALL_FEATURES
10487 if test -z "$defaultval"; then
10488 if test x"$enablestring" = xdisable; then
10489 defaultval=yes
10490 else
10491 defaultval=no
10492 fi
10493 fi
10494
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
10496 $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
10497 # Check whether --enable-richtext was given.
10498 if test "${enable_richtext+set}" = set; then :
10499 enableval=$enable_richtext;
10500 if test "$enableval" = yes; then
10501 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10502 else
10503 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10504 fi
10505
10506 else
10507
10508 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10509
10510 fi
10511
10512
10513 eval "$wx_cv_use_richtext"
10514
10515 if test x"$enablestring" = xdisable; then
10516 if test $wxUSE_RICHTEXT = no; then
10517 result=yes
10518 else
10519 result=no
10520 fi
10521 else
10522 result=$wxUSE_RICHTEXT
10523 fi
10524
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10526 $as_echo "$result" >&6; }
10527
10528
10529 enablestring=
10530 defaultval=$wxUSE_ALL_FEATURES
10531 if test -z "$defaultval"; then
10532 if test x"$enablestring" = xdisable; then
10533 defaultval=yes
10534 else
10535 defaultval=no
10536 fi
10537 fi
10538
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10540 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10541 # Check whether --enable-postscript was given.
10542 if test "${enable_postscript+set}" = set; then :
10543 enableval=$enable_postscript;
10544 if test "$enableval" = yes; then
10545 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10546 else
10547 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10548 fi
10549
10550 else
10551
10552 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10553
10554 fi
10555
10556
10557 eval "$wx_cv_use_postscript"
10558
10559 if test x"$enablestring" = xdisable; then
10560 if test $wxUSE_POSTSCRIPT = no; then
10561 result=yes
10562 else
10563 result=no
10564 fi
10565 else
10566 result=$wxUSE_POSTSCRIPT
10567 fi
10568
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10570 $as_echo "$result" >&6; }
10571
10572
10573 enablestring=
10574 defaultval=$wxUSE_ALL_FEATURES
10575 if test -z "$defaultval"; then
10576 if test x"$enablestring" = xdisable; then
10577 defaultval=yes
10578 else
10579 defaultval=no
10580 fi
10581 fi
10582
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10584 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10585 # Check whether --enable-printarch was given.
10586 if test "${enable_printarch+set}" = set; then :
10587 enableval=$enable_printarch;
10588 if test "$enableval" = yes; then
10589 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
10590 else
10591 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
10592 fi
10593
10594 else
10595
10596 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10597
10598 fi
10599
10600
10601 eval "$wx_cv_use_printarch"
10602
10603 if test x"$enablestring" = xdisable; then
10604 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10605 result=yes
10606 else
10607 result=no
10608 fi
10609 else
10610 result=$wxUSE_PRINTING_ARCHITECTURE
10611 fi
10612
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10614 $as_echo "$result" >&6; }
10615
10616
10617 enablestring=
10618 defaultval=$wxUSE_ALL_FEATURES
10619 if test -z "$defaultval"; then
10620 if test x"$enablestring" = xdisable; then
10621 defaultval=yes
10622 else
10623 defaultval=no
10624 fi
10625 fi
10626
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
10628 $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
10629 # Check whether --enable-svg was given.
10630 if test "${enable_svg+set}" = set; then :
10631 enableval=$enable_svg;
10632 if test "$enableval" = yes; then
10633 wx_cv_use_svg='wxUSE_SVG=yes'
10634 else
10635 wx_cv_use_svg='wxUSE_SVG=no'
10636 fi
10637
10638 else
10639
10640 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10641
10642 fi
10643
10644
10645 eval "$wx_cv_use_svg"
10646
10647 if test x"$enablestring" = xdisable; then
10648 if test $wxUSE_SVG = no; then
10649 result=yes
10650 else
10651 result=no
10652 fi
10653 else
10654 result=$wxUSE_SVG
10655 fi
10656
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10658 $as_echo "$result" >&6; }
10659
10660
10661 enablestring=
10662 defaultval=$wxUSE_ALL_FEATURES
10663 if test -z "$defaultval"; then
10664 if test x"$enablestring" = xdisable; then
10665 defaultval=yes
10666 else
10667 defaultval=no
10668 fi
10669 fi
10670
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10672 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10673 # Check whether --enable-webkit was given.
10674 if test "${enable_webkit+set}" = set; then :
10675 enableval=$enable_webkit;
10676 if test "$enableval" = yes; then
10677 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
10678 else
10679 wx_cv_use_webkit='wxUSE_WEBKIT=no'
10680 fi
10681
10682 else
10683
10684 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10685
10686 fi
10687
10688
10689 eval "$wx_cv_use_webkit"
10690
10691 if test x"$enablestring" = xdisable; then
10692 if test $wxUSE_WEBKIT = no; then
10693 result=yes
10694 else
10695 result=no
10696 fi
10697 else
10698 result=$wxUSE_WEBKIT
10699 fi
10700
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10702 $as_echo "$result" >&6; }
10703
10704
10705 enablestring=
10706 defaultval=$wxUSE_ALL_FEATURES
10707 if test -z "$defaultval"; then
10708 if test x"$enablestring" = xdisable; then
10709 defaultval=yes
10710 else
10711 defaultval=no
10712 fi
10713 fi
10714
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10716 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10717 # Check whether --enable-webview was given.
10718 if test "${enable_webview+set}" = set; then :
10719 enableval=$enable_webview;
10720 if test "$enableval" = yes; then
10721 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
10722 else
10723 wx_cv_use_webview='wxUSE_WEBVIEW=no'
10724 fi
10725
10726 else
10727
10728 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10729
10730 fi
10731
10732
10733 eval "$wx_cv_use_webview"
10734
10735 if test x"$enablestring" = xdisable; then
10736 if test $wxUSE_WEBVIEW = no; then
10737 result=yes
10738 else
10739 result=no
10740 fi
10741 else
10742 result=$wxUSE_WEBVIEW
10743 fi
10744
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10746 $as_echo "$result" >&6; }
10747
10748
10749 if test "$wxUSE_MAC" != 1; then
10750
10751 enablestring=
10752 defaultval=$wxUSE_ALL_FEATURES
10753 if test -z "$defaultval"; then
10754 if test x"$enablestring" = xdisable; then
10755 defaultval=yes
10756 else
10757 defaultval=no
10758 fi
10759 fi
10760
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
10762 $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
10763 # Check whether --enable-graphics_ctx was given.
10764 if test "${enable_graphics_ctx+set}" = set; then :
10765 enableval=$enable_graphics_ctx;
10766 if test "$enableval" = yes; then
10767 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10768 else
10769 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10770 fi
10771
10772 else
10773
10774 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10775
10776 fi
10777
10778
10779 eval "$wx_cv_use_graphics_ctx"
10780
10781 if test x"$enablestring" = xdisable; then
10782 if test $wxUSE_GRAPHICS_CONTEXT = no; then
10783 result=yes
10784 else
10785 result=no
10786 fi
10787 else
10788 result=$wxUSE_GRAPHICS_CONTEXT
10789 fi
10790
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10792 $as_echo "$result" >&6; }
10793
10794 fi
10795
10796
10797
10798 enablestring=
10799 defaultval=$wxUSE_ALL_FEATURES
10800 if test -z "$defaultval"; then
10801 if test x"$enablestring" = xdisable; then
10802 defaultval=yes
10803 else
10804 defaultval=no
10805 fi
10806 fi
10807
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10809 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10810 # Check whether --enable-clipboard was given.
10811 if test "${enable_clipboard+set}" = set; then :
10812 enableval=$enable_clipboard;
10813 if test "$enableval" = yes; then
10814 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10815 else
10816 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10817 fi
10818
10819 else
10820
10821 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10822
10823 fi
10824
10825
10826 eval "$wx_cv_use_clipboard"
10827
10828 if test x"$enablestring" = xdisable; then
10829 if test $wxUSE_CLIPBOARD = no; then
10830 result=yes
10831 else
10832 result=no
10833 fi
10834 else
10835 result=$wxUSE_CLIPBOARD
10836 fi
10837
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10839 $as_echo "$result" >&6; }
10840
10841
10842 enablestring=
10843 defaultval=$wxUSE_ALL_FEATURES
10844 if test -z "$defaultval"; then
10845 if test x"$enablestring" = xdisable; then
10846 defaultval=yes
10847 else
10848 defaultval=no
10849 fi
10850 fi
10851
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10853 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10854 # Check whether --enable-dnd was given.
10855 if test "${enable_dnd+set}" = set; then :
10856 enableval=$enable_dnd;
10857 if test "$enableval" = yes; then
10858 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10859 else
10860 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10861 fi
10862
10863 else
10864
10865 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10866
10867 fi
10868
10869
10870 eval "$wx_cv_use_dnd"
10871
10872 if test x"$enablestring" = xdisable; then
10873 if test $wxUSE_DRAG_AND_DROP = no; then
10874 result=yes
10875 else
10876 result=no
10877 fi
10878 else
10879 result=$wxUSE_DRAG_AND_DROP
10880 fi
10881
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10883 $as_echo "$result" >&6; }
10884
10885
10886
10887 DEFAULT_wxUSE_CONTROLS=none
10888
10889 enablestring=disable
10890 defaultval=
10891 if test -z "$defaultval"; then
10892 if test x"$enablestring" = xdisable; then
10893 defaultval=yes
10894 else
10895 defaultval=no
10896 fi
10897 fi
10898
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
10900 $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
10901 # Check whether --enable-controls was given.
10902 if test "${enable_controls+set}" = set; then :
10903 enableval=$enable_controls;
10904 if test "$enableval" = yes; then
10905 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10906 else
10907 wx_cv_use_controls='wxUSE_CONTROLS=no'
10908 fi
10909
10910 else
10911
10912 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10913
10914 fi
10915
10916
10917 eval "$wx_cv_use_controls"
10918
10919 if test x"$enablestring" = xdisable; then
10920 if test $wxUSE_CONTROLS = no; then
10921 result=yes
10922 else
10923 result=no
10924 fi
10925 else
10926 result=$wxUSE_CONTROLS
10927 fi
10928
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10930 $as_echo "$result" >&6; }
10931
10932
10933 if test "$wxUSE_CONTROLS" = "no"; then
10934 DEFAULT_wxUSE_ACCEL=no
10935 DEFAULT_wxUSE_ANIMATIONCTRL=no
10936 DEFAULT_wxUSE_BANNERWINDOW=no
10937 DEFAULT_wxUSE_BMPBUTTON=no
10938 DEFAULT_wxUSE_BUTTON=no
10939 DEFAULT_wxUSE_CALCTRL=no
10940 DEFAULT_wxUSE_CARET=no
10941 DEFAULT_wxUSE_CHECKBOX=no
10942 DEFAULT_wxUSE_CHECKLISTBOX=no
10943 DEFAULT_wxUSE_CHOICE=no
10944 DEFAULT_wxUSE_CHOICEBOOK=no
10945 DEFAULT_wxUSE_COLLPANE=no
10946 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10947 DEFAULT_wxUSE_COMBOBOX=no
10948 DEFAULT_wxUSE_COMBOBOX=no
10949 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
10950 DEFAULT_wxUSE_DATAVIEWCTRL=no
10951 DEFAULT_wxUSE_DATEPICKCTRL=no
10952 DEFAULT_wxUSE_DETECT_SM=no
10953 DEFAULT_wxUSE_DIRPICKERCTRL=no
10954 DEFAULT_wxUSE_DISPLAY=no
10955 DEFAULT_wxUSE_FILECTRL=no
10956 DEFAULT_wxUSE_FILEPICKERCTRL=no
10957 DEFAULT_wxUSE_FONTPICKERCTRL=no
10958 DEFAULT_wxUSE_GAUGE=no
10959 DEFAULT_wxUSE_GRID=no
10960 DEFAULT_wxUSE_HEADERCTRL=no
10961 DEFAULT_wxUSE_HYPERLINKCTRL=no
10962 DEFAULT_wxUSE_IMAGLIST=no
10963 DEFAULT_wxUSE_LISTBOOK=no
10964 DEFAULT_wxUSE_LISTBOX=no
10965 DEFAULT_wxUSE_LISTCTRL=no
10966 DEFAULT_wxUSE_MARKUP=no
10967 DEFAULT_wxUSE_NOTEBOOK=no
10968 DEFAULT_wxUSE_POPUPWIN=no
10969 DEFAULT_wxUSE_RADIOBOX=no
10970 DEFAULT_wxUSE_RADIOBTN=no
10971 DEFAULT_wxUSE_RICHMSGDLG=no
10972 DEFAULT_wxUSE_RICHTOOLTIP=no
10973 DEFAULT_wxUSE_REARRANGECTRL=no
10974 DEFAULT_wxUSE_SASH=no
10975 DEFAULT_wxUSE_SCROLLBAR=no
10976 DEFAULT_wxUSE_SEARCHCTRL=no
10977 DEFAULT_wxUSE_SLIDER=no
10978 DEFAULT_wxUSE_SPINBTN=no
10979 DEFAULT_wxUSE_SPINCTRL=no
10980 DEFAULT_wxUSE_SPLITTER=no
10981 DEFAULT_wxUSE_STATBMP=no
10982 DEFAULT_wxUSE_STATBOX=no
10983 DEFAULT_wxUSE_STATLINE=no
10984 DEFAULT_wxUSE_STATUSBAR=no
10985 DEFAULT_wxUSE_TIMEPICKCTRL=no
10986 DEFAULT_wxUSE_TIPWINDOW=no
10987 DEFAULT_wxUSE_TOGGLEBTN=no
10988 DEFAULT_wxUSE_TOOLBAR=no
10989 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10990 DEFAULT_wxUSE_TOOLBOOK=no
10991 DEFAULT_wxUSE_TOOLTIPS=no
10992 DEFAULT_wxUSE_TREEBOOK=no
10993 DEFAULT_wxUSE_TREECTRL=no
10994 DEFAULT_wxUSE_TREELISTCTRL=no
10995 fi
10996
10997
10998 enablestring=
10999 defaultval=$wxUSE_ALL_FEATURES
11000 if test -z "$defaultval"; then
11001 if test x"$enablestring" = xdisable; then
11002 defaultval=yes
11003 else
11004 defaultval=no
11005 fi
11006 fi
11007
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11009 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11010 # Check whether --enable-markup was given.
11011 if test "${enable_markup+set}" = set; then :
11012 enableval=$enable_markup;
11013 if test "$enableval" = yes; then
11014 wx_cv_use_markup='wxUSE_MARKUP=yes'
11015 else
11016 wx_cv_use_markup='wxUSE_MARKUP=no'
11017 fi
11018
11019 else
11020
11021 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11022
11023 fi
11024
11025
11026 eval "$wx_cv_use_markup"
11027
11028 if test x"$enablestring" = xdisable; then
11029 if test $wxUSE_MARKUP = no; then
11030 result=yes
11031 else
11032 result=no
11033 fi
11034 else
11035 result=$wxUSE_MARKUP
11036 fi
11037
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11039 $as_echo "$result" >&6; }
11040
11041
11042
11043 enablestring=
11044 defaultval=$wxUSE_ALL_FEATURES
11045 if test -z "$defaultval"; then
11046 if test x"$enablestring" = xdisable; then
11047 defaultval=yes
11048 else
11049 defaultval=no
11050 fi
11051 fi
11052
11053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11054 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11055 # Check whether --enable-accel was given.
11056 if test "${enable_accel+set}" = set; then :
11057 enableval=$enable_accel;
11058 if test "$enableval" = yes; then
11059 wx_cv_use_accel='wxUSE_ACCEL=yes'
11060 else
11061 wx_cv_use_accel='wxUSE_ACCEL=no'
11062 fi
11063
11064 else
11065
11066 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11067
11068 fi
11069
11070
11071 eval "$wx_cv_use_accel"
11072
11073 if test x"$enablestring" = xdisable; then
11074 if test $wxUSE_ACCEL = no; then
11075 result=yes
11076 else
11077 result=no
11078 fi
11079 else
11080 result=$wxUSE_ACCEL
11081 fi
11082
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11084 $as_echo "$result" >&6; }
11085
11086
11087 enablestring=
11088 defaultval=$wxUSE_ALL_FEATURES
11089 if test -z "$defaultval"; then
11090 if test x"$enablestring" = xdisable; then
11091 defaultval=yes
11092 else
11093 defaultval=no
11094 fi
11095 fi
11096
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
11098 $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
11099 # Check whether --enable-animatectrl was given.
11100 if test "${enable_animatectrl+set}" = set; then :
11101 enableval=$enable_animatectrl;
11102 if test "$enableval" = yes; then
11103 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11104 else
11105 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11106 fi
11107
11108 else
11109
11110 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11111
11112 fi
11113
11114
11115 eval "$wx_cv_use_animatectrl"
11116
11117 if test x"$enablestring" = xdisable; then
11118 if test $wxUSE_ANIMATIONCTRL = no; then
11119 result=yes
11120 else
11121 result=no
11122 fi
11123 else
11124 result=$wxUSE_ANIMATIONCTRL
11125 fi
11126
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11128 $as_echo "$result" >&6; }
11129
11130
11131 enablestring=
11132 defaultval=$wxUSE_ALL_FEATURES
11133 if test -z "$defaultval"; then
11134 if test x"$enablestring" = xdisable; then
11135 defaultval=yes
11136 else
11137 defaultval=no
11138 fi
11139 fi
11140
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11142 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11143 # Check whether --enable-bannerwindow was given.
11144 if test "${enable_bannerwindow+set}" = set; then :
11145 enableval=$enable_bannerwindow;
11146 if test "$enableval" = yes; then
11147 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
11148 else
11149 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
11150 fi
11151
11152 else
11153
11154 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11155
11156 fi
11157
11158
11159 eval "$wx_cv_use_bannerwindow"
11160
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_BANNERWINDOW = no; then
11163 result=yes
11164 else
11165 result=no
11166 fi
11167 else
11168 result=$wxUSE_BANNERWINDOW
11169 fi
11170
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11172 $as_echo "$result" >&6; }
11173
11174
11175 enablestring=
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11179 defaultval=yes
11180 else
11181 defaultval=no
11182 fi
11183 fi
11184
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11186 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11187 # Check whether --enable-artstd was given.
11188 if test "${enable_artstd+set}" = set; then :
11189 enableval=$enable_artstd;
11190 if test "$enableval" = yes; then
11191 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
11192 else
11193 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
11194 fi
11195
11196 else
11197
11198 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11199
11200 fi
11201
11202
11203 eval "$wx_cv_use_artstd"
11204
11205 if test x"$enablestring" = xdisable; then
11206 if test $wxUSE_ARTPROVIDER_STD = no; then
11207 result=yes
11208 else
11209 result=no
11210 fi
11211 else
11212 result=$wxUSE_ARTPROVIDER_STD
11213 fi
11214
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11216 $as_echo "$result" >&6; }
11217
11218
11219 enablestring=
11220 defaultval=$wxUSE_ALL_FEATURES
11221 if test -z "$defaultval"; then
11222 if test x"$enablestring" = xdisable; then
11223 defaultval=yes
11224 else
11225 defaultval=no
11226 fi
11227 fi
11228
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
11230 $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
11231 # Check whether --enable-arttango was given.
11232 if test "${enable_arttango+set}" = set; then :
11233 enableval=$enable_arttango;
11234 if test "$enableval" = yes; then
11235 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11236 else
11237 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11238 fi
11239
11240 else
11241
11242 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11243
11244 fi
11245
11246
11247 eval "$wx_cv_use_arttango"
11248
11249 if test x"$enablestring" = xdisable; then
11250 if test $wxUSE_ARTPROVIDER_TANGO = no; then
11251 result=yes
11252 else
11253 result=no
11254 fi
11255 else
11256 result=$wxUSE_ARTPROVIDER_TANGO
11257 fi
11258
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11260 $as_echo "$result" >&6; }
11261
11262
11263 enablestring=
11264 defaultval=$wxUSE_ALL_FEATURES
11265 if test -z "$defaultval"; then
11266 if test x"$enablestring" = xdisable; then
11267 defaultval=yes
11268 else
11269 defaultval=no
11270 fi
11271 fi
11272
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11274 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11275 # Check whether --enable-bmpbutton was given.
11276 if test "${enable_bmpbutton+set}" = set; then :
11277 enableval=$enable_bmpbutton;
11278 if test "$enableval" = yes; then
11279 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
11280 else
11281 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
11282 fi
11283
11284 else
11285
11286 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11287
11288 fi
11289
11290
11291 eval "$wx_cv_use_bmpbutton"
11292
11293 if test x"$enablestring" = xdisable; then
11294 if test $wxUSE_BMPBUTTON = no; then
11295 result=yes
11296 else
11297 result=no
11298 fi
11299 else
11300 result=$wxUSE_BMPBUTTON
11301 fi
11302
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11304 $as_echo "$result" >&6; }
11305
11306
11307 enablestring=
11308 defaultval=$wxUSE_ALL_FEATURES
11309 if test -z "$defaultval"; then
11310 if test x"$enablestring" = xdisable; then
11311 defaultval=yes
11312 else
11313 defaultval=no
11314 fi
11315 fi
11316
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11318 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11319 # Check whether --enable-bmpcombobox was given.
11320 if test "${enable_bmpcombobox+set}" = set; then :
11321 enableval=$enable_bmpcombobox;
11322 if test "$enableval" = yes; then
11323 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
11324 else
11325 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
11326 fi
11327
11328 else
11329
11330 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11331
11332 fi
11333
11334
11335 eval "$wx_cv_use_bmpcombobox"
11336
11337 if test x"$enablestring" = xdisable; then
11338 if test $wxUSE_BITMAPCOMBOBOX = no; then
11339 result=yes
11340 else
11341 result=no
11342 fi
11343 else
11344 result=$wxUSE_BITMAPCOMBOBOX
11345 fi
11346
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11348 $as_echo "$result" >&6; }
11349
11350
11351 enablestring=
11352 defaultval=$wxUSE_ALL_FEATURES
11353 if test -z "$defaultval"; then
11354 if test x"$enablestring" = xdisable; then
11355 defaultval=yes
11356 else
11357 defaultval=no
11358 fi
11359 fi
11360
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
11362 $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
11363 # Check whether --enable-button was given.
11364 if test "${enable_button+set}" = set; then :
11365 enableval=$enable_button;
11366 if test "$enableval" = yes; then
11367 wx_cv_use_button='wxUSE_BUTTON=yes'
11368 else
11369 wx_cv_use_button='wxUSE_BUTTON=no'
11370 fi
11371
11372 else
11373
11374 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11375
11376 fi
11377
11378
11379 eval "$wx_cv_use_button"
11380
11381 if test x"$enablestring" = xdisable; then
11382 if test $wxUSE_BUTTON = no; then
11383 result=yes
11384 else
11385 result=no
11386 fi
11387 else
11388 result=$wxUSE_BUTTON
11389 fi
11390
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11392 $as_echo "$result" >&6; }
11393
11394
11395 enablestring=
11396 defaultval=$wxUSE_ALL_FEATURES
11397 if test -z "$defaultval"; then
11398 if test x"$enablestring" = xdisable; then
11399 defaultval=yes
11400 else
11401 defaultval=no
11402 fi
11403 fi
11404
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11406 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11407 # Check whether --enable-calendar was given.
11408 if test "${enable_calendar+set}" = set; then :
11409 enableval=$enable_calendar;
11410 if test "$enableval" = yes; then
11411 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
11412 else
11413 wx_cv_use_calendar='wxUSE_CALCTRL=no'
11414 fi
11415
11416 else
11417
11418 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11419
11420 fi
11421
11422
11423 eval "$wx_cv_use_calendar"
11424
11425 if test x"$enablestring" = xdisable; then
11426 if test $wxUSE_CALCTRL = no; then
11427 result=yes
11428 else
11429 result=no
11430 fi
11431 else
11432 result=$wxUSE_CALCTRL
11433 fi
11434
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11436 $as_echo "$result" >&6; }
11437
11438
11439 enablestring=
11440 defaultval=$wxUSE_ALL_FEATURES
11441 if test -z "$defaultval"; then
11442 if test x"$enablestring" = xdisable; then
11443 defaultval=yes
11444 else
11445 defaultval=no
11446 fi
11447 fi
11448
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11450 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11451 # Check whether --enable-caret was given.
11452 if test "${enable_caret+set}" = set; then :
11453 enableval=$enable_caret;
11454 if test "$enableval" = yes; then
11455 wx_cv_use_caret='wxUSE_CARET=yes'
11456 else
11457 wx_cv_use_caret='wxUSE_CARET=no'
11458 fi
11459
11460 else
11461
11462 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11463
11464 fi
11465
11466
11467 eval "$wx_cv_use_caret"
11468
11469 if test x"$enablestring" = xdisable; then
11470 if test $wxUSE_CARET = no; then
11471 result=yes
11472 else
11473 result=no
11474 fi
11475 else
11476 result=$wxUSE_CARET
11477 fi
11478
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11480 $as_echo "$result" >&6; }
11481
11482
11483 enablestring=
11484 defaultval=$wxUSE_ALL_FEATURES
11485 if test -z "$defaultval"; then
11486 if test x"$enablestring" = xdisable; then
11487 defaultval=yes
11488 else
11489 defaultval=no
11490 fi
11491 fi
11492
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
11494 $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
11495 # Check whether --enable-checkbox was given.
11496 if test "${enable_checkbox+set}" = set; then :
11497 enableval=$enable_checkbox;
11498 if test "$enableval" = yes; then
11499 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11500 else
11501 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11502 fi
11503
11504 else
11505
11506 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11507
11508 fi
11509
11510
11511 eval "$wx_cv_use_checkbox"
11512
11513 if test x"$enablestring" = xdisable; then
11514 if test $wxUSE_CHECKBOX = no; then
11515 result=yes
11516 else
11517 result=no
11518 fi
11519 else
11520 result=$wxUSE_CHECKBOX
11521 fi
11522
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11524 $as_echo "$result" >&6; }
11525
11526
11527 enablestring=
11528 defaultval=$wxUSE_ALL_FEATURES
11529 if test -z "$defaultval"; then
11530 if test x"$enablestring" = xdisable; then
11531 defaultval=yes
11532 else
11533 defaultval=no
11534 fi
11535 fi
11536
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11538 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11539 # Check whether --enable-checklst was given.
11540 if test "${enable_checklst+set}" = set; then :
11541 enableval=$enable_checklst;
11542 if test "$enableval" = yes; then
11543 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11544 else
11545 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11546 fi
11547
11548 else
11549
11550 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11551
11552 fi
11553
11554
11555 eval "$wx_cv_use_checklst"
11556
11557 if test x"$enablestring" = xdisable; then
11558 if test $wxUSE_CHECKLST = no; then
11559 result=yes
11560 else
11561 result=no
11562 fi
11563 else
11564 result=$wxUSE_CHECKLST
11565 fi
11566
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11568 $as_echo "$result" >&6; }
11569
11570
11571 enablestring=
11572 defaultval=$wxUSE_ALL_FEATURES
11573 if test -z "$defaultval"; then
11574 if test x"$enablestring" = xdisable; then
11575 defaultval=yes
11576 else
11577 defaultval=no
11578 fi
11579 fi
11580
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11582 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11583 # Check whether --enable-choice was given.
11584 if test "${enable_choice+set}" = set; then :
11585 enableval=$enable_choice;
11586 if test "$enableval" = yes; then
11587 wx_cv_use_choice='wxUSE_CHOICE=yes'
11588 else
11589 wx_cv_use_choice='wxUSE_CHOICE=no'
11590 fi
11591
11592 else
11593
11594 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11595
11596 fi
11597
11598
11599 eval "$wx_cv_use_choice"
11600
11601 if test x"$enablestring" = xdisable; then
11602 if test $wxUSE_CHOICE = no; then
11603 result=yes
11604 else
11605 result=no
11606 fi
11607 else
11608 result=$wxUSE_CHOICE
11609 fi
11610
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11612 $as_echo "$result" >&6; }
11613
11614
11615 enablestring=
11616 defaultval=$wxUSE_ALL_FEATURES
11617 if test -z "$defaultval"; then
11618 if test x"$enablestring" = xdisable; then
11619 defaultval=yes
11620 else
11621 defaultval=no
11622 fi
11623 fi
11624
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
11626 $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
11627 # Check whether --enable-choicebook was given.
11628 if test "${enable_choicebook+set}" = set; then :
11629 enableval=$enable_choicebook;
11630 if test "$enableval" = yes; then
11631 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11632 else
11633 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11634 fi
11635
11636 else
11637
11638 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11639
11640 fi
11641
11642
11643 eval "$wx_cv_use_choicebook"
11644
11645 if test x"$enablestring" = xdisable; then
11646 if test $wxUSE_CHOICEBOOK = no; then
11647 result=yes
11648 else
11649 result=no
11650 fi
11651 else
11652 result=$wxUSE_CHOICEBOOK
11653 fi
11654
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11656 $as_echo "$result" >&6; }
11657
11658
11659 enablestring=
11660 defaultval=$wxUSE_ALL_FEATURES
11661 if test -z "$defaultval"; then
11662 if test x"$enablestring" = xdisable; then
11663 defaultval=yes
11664 else
11665 defaultval=no
11666 fi
11667 fi
11668
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11670 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11671 # Check whether --enable-collpane was given.
11672 if test "${enable_collpane+set}" = set; then :
11673 enableval=$enable_collpane;
11674 if test "$enableval" = yes; then
11675 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11676 else
11677 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11678 fi
11679
11680 else
11681
11682 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11683
11684 fi
11685
11686
11687 eval "$wx_cv_use_collpane"
11688
11689 if test x"$enablestring" = xdisable; then
11690 if test $wxUSE_COLLPANE = no; then
11691 result=yes
11692 else
11693 result=no
11694 fi
11695 else
11696 result=$wxUSE_COLLPANE
11697 fi
11698
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11700 $as_echo "$result" >&6; }
11701
11702
11703 enablestring=
11704 defaultval=$wxUSE_ALL_FEATURES
11705 if test -z "$defaultval"; then
11706 if test x"$enablestring" = xdisable; then
11707 defaultval=yes
11708 else
11709 defaultval=no
11710 fi
11711 fi
11712
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11714 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11715 # Check whether --enable-colourpicker was given.
11716 if test "${enable_colourpicker+set}" = set; then :
11717 enableval=$enable_colourpicker;
11718 if test "$enableval" = yes; then
11719 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11720 else
11721 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11722 fi
11723
11724 else
11725
11726 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11727
11728 fi
11729
11730
11731 eval "$wx_cv_use_colourpicker"
11732
11733 if test x"$enablestring" = xdisable; then
11734 if test $wxUSE_COLOURPICKERCTRL = no; then
11735 result=yes
11736 else
11737 result=no
11738 fi
11739 else
11740 result=$wxUSE_COLOURPICKERCTRL
11741 fi
11742
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11744 $as_echo "$result" >&6; }
11745
11746
11747 enablestring=
11748 defaultval=$wxUSE_ALL_FEATURES
11749 if test -z "$defaultval"; then
11750 if test x"$enablestring" = xdisable; then
11751 defaultval=yes
11752 else
11753 defaultval=no
11754 fi
11755 fi
11756
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
11758 $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
11759 # Check whether --enable-combobox was given.
11760 if test "${enable_combobox+set}" = set; then :
11761 enableval=$enable_combobox;
11762 if test "$enableval" = yes; then
11763 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11764 else
11765 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11766 fi
11767
11768 else
11769
11770 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11771
11772 fi
11773
11774
11775 eval "$wx_cv_use_combobox"
11776
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_COMBOBOX = no; then
11779 result=yes
11780 else
11781 result=no
11782 fi
11783 else
11784 result=$wxUSE_COMBOBOX
11785 fi
11786
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11788 $as_echo "$result" >&6; }
11789
11790
11791 enablestring=
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11795 defaultval=yes
11796 else
11797 defaultval=no
11798 fi
11799 fi
11800
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11802 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11803 # Check whether --enable-comboctrl was given.
11804 if test "${enable_comboctrl+set}" = set; then :
11805 enableval=$enable_comboctrl;
11806 if test "$enableval" = yes; then
11807 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11808 else
11809 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11810 fi
11811
11812 else
11813
11814 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11815
11816 fi
11817
11818
11819 eval "$wx_cv_use_comboctrl"
11820
11821 if test x"$enablestring" = xdisable; then
11822 if test $wxUSE_COMBOCTRL = no; then
11823 result=yes
11824 else
11825 result=no
11826 fi
11827 else
11828 result=$wxUSE_COMBOCTRL
11829 fi
11830
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11832 $as_echo "$result" >&6; }
11833
11834
11835 enablestring=
11836 defaultval=$wxUSE_ALL_FEATURES
11837 if test -z "$defaultval"; then
11838 if test x"$enablestring" = xdisable; then
11839 defaultval=yes
11840 else
11841 defaultval=no
11842 fi
11843 fi
11844
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11846 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11847 # Check whether --enable-commandlinkbutton was given.
11848 if test "${enable_commandlinkbutton+set}" = set; then :
11849 enableval=$enable_commandlinkbutton;
11850 if test "$enableval" = yes; then
11851 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
11852 else
11853 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
11854 fi
11855
11856 else
11857
11858 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11859
11860 fi
11861
11862
11863 eval "$wx_cv_use_commandlinkbutton"
11864
11865 if test x"$enablestring" = xdisable; then
11866 if test $wxUSE_COMMANDLINKBUTTON = no; then
11867 result=yes
11868 else
11869 result=no
11870 fi
11871 else
11872 result=$wxUSE_COMMANDLINKBUTTON
11873 fi
11874
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11876 $as_echo "$result" >&6; }
11877
11878
11879 enablestring=
11880 defaultval=$wxUSE_ALL_FEATURES
11881 if test -z "$defaultval"; then
11882 if test x"$enablestring" = xdisable; then
11883 defaultval=yes
11884 else
11885 defaultval=no
11886 fi
11887 fi
11888
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
11890 $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
11891 # Check whether --enable-dataviewctrl was given.
11892 if test "${enable_dataviewctrl+set}" = set; then :
11893 enableval=$enable_dataviewctrl;
11894 if test "$enableval" = yes; then
11895 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11896 else
11897 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11898 fi
11899
11900 else
11901
11902 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11903
11904 fi
11905
11906
11907 eval "$wx_cv_use_dataviewctrl"
11908
11909 if test x"$enablestring" = xdisable; then
11910 if test $wxUSE_DATAVIEWCTRL = no; then
11911 result=yes
11912 else
11913 result=no
11914 fi
11915 else
11916 result=$wxUSE_DATAVIEWCTRL
11917 fi
11918
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11920 $as_echo "$result" >&6; }
11921
11922
11923 enablestring=
11924 defaultval=$wxUSE_ALL_FEATURES
11925 if test -z "$defaultval"; then
11926 if test x"$enablestring" = xdisable; then
11927 defaultval=yes
11928 else
11929 defaultval=no
11930 fi
11931 fi
11932
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
11934 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
11935 # Check whether --enable-datepick was given.
11936 if test "${enable_datepick+set}" = set; then :
11937 enableval=$enable_datepick;
11938 if test "$enableval" = yes; then
11939 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11940 else
11941 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11942 fi
11943
11944 else
11945
11946 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11947
11948 fi
11949
11950
11951 eval "$wx_cv_use_datepick"
11952
11953 if test x"$enablestring" = xdisable; then
11954 if test $wxUSE_DATEPICKCTRL = no; then
11955 result=yes
11956 else
11957 result=no
11958 fi
11959 else
11960 result=$wxUSE_DATEPICKCTRL
11961 fi
11962
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11964 $as_echo "$result" >&6; }
11965
11966
11967 enablestring=
11968 defaultval=$wxUSE_ALL_FEATURES
11969 if test -z "$defaultval"; then
11970 if test x"$enablestring" = xdisable; then
11971 defaultval=yes
11972 else
11973 defaultval=no
11974 fi
11975 fi
11976
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
11978 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
11979 # Check whether --enable-detect_sm was given.
11980 if test "${enable_detect_sm+set}" = set; then :
11981 enableval=$enable_detect_sm;
11982 if test "$enableval" = yes; then
11983 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11984 else
11985 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11986 fi
11987
11988 else
11989
11990 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11991
11992 fi
11993
11994
11995 eval "$wx_cv_use_detect_sm"
11996
11997 if test x"$enablestring" = xdisable; then
11998 if test $wxUSE_DETECT_SM = no; then
11999 result=yes
12000 else
12001 result=no
12002 fi
12003 else
12004 result=$wxUSE_DETECT_SM
12005 fi
12006
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12008 $as_echo "$result" >&6; }
12009
12010
12011 enablestring=
12012 defaultval=$wxUSE_ALL_FEATURES
12013 if test -z "$defaultval"; then
12014 if test x"$enablestring" = xdisable; then
12015 defaultval=yes
12016 else
12017 defaultval=no
12018 fi
12019 fi
12020
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
12022 $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
12023 # Check whether --enable-dirpicker was given.
12024 if test "${enable_dirpicker+set}" = set; then :
12025 enableval=$enable_dirpicker;
12026 if test "$enableval" = yes; then
12027 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12028 else
12029 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12030 fi
12031
12032 else
12033
12034 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12035
12036 fi
12037
12038
12039 eval "$wx_cv_use_dirpicker"
12040
12041 if test x"$enablestring" = xdisable; then
12042 if test $wxUSE_DIRPICKERCTRL = no; then
12043 result=yes
12044 else
12045 result=no
12046 fi
12047 else
12048 result=$wxUSE_DIRPICKERCTRL
12049 fi
12050
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12052 $as_echo "$result" >&6; }
12053
12054
12055 enablestring=
12056 defaultval=$wxUSE_ALL_FEATURES
12057 if test -z "$defaultval"; then
12058 if test x"$enablestring" = xdisable; then
12059 defaultval=yes
12060 else
12061 defaultval=no
12062 fi
12063 fi
12064
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12066 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12067 # Check whether --enable-display was given.
12068 if test "${enable_display+set}" = set; then :
12069 enableval=$enable_display;
12070 if test "$enableval" = yes; then
12071 wx_cv_use_display='wxUSE_DISPLAY=yes'
12072 else
12073 wx_cv_use_display='wxUSE_DISPLAY=no'
12074 fi
12075
12076 else
12077
12078 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12079
12080 fi
12081
12082
12083 eval "$wx_cv_use_display"
12084
12085 if test x"$enablestring" = xdisable; then
12086 if test $wxUSE_DISPLAY = no; then
12087 result=yes
12088 else
12089 result=no
12090 fi
12091 else
12092 result=$wxUSE_DISPLAY
12093 fi
12094
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12096 $as_echo "$result" >&6; }
12097
12098
12099 enablestring=
12100 defaultval=$wxUSE_ALL_FEATURES
12101 if test -z "$defaultval"; then
12102 if test x"$enablestring" = xdisable; then
12103 defaultval=yes
12104 else
12105 defaultval=no
12106 fi
12107 fi
12108
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12110 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12111 # Check whether --enable-editablebox was given.
12112 if test "${enable_editablebox+set}" = set; then :
12113 enableval=$enable_editablebox;
12114 if test "$enableval" = yes; then
12115 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
12116 else
12117 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
12118 fi
12119
12120 else
12121
12122 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12123
12124 fi
12125
12126
12127 eval "$wx_cv_use_editablebox"
12128
12129 if test x"$enablestring" = xdisable; then
12130 if test $wxUSE_EDITABLELISTBOX = no; then
12131 result=yes
12132 else
12133 result=no
12134 fi
12135 else
12136 result=$wxUSE_EDITABLELISTBOX
12137 fi
12138
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12140 $as_echo "$result" >&6; }
12141
12142
12143 enablestring=
12144 defaultval=$wxUSE_ALL_FEATURES
12145 if test -z "$defaultval"; then
12146 if test x"$enablestring" = xdisable; then
12147 defaultval=yes
12148 else
12149 defaultval=no
12150 fi
12151 fi
12152
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
12154 $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
12155 # Check whether --enable-filectrl was given.
12156 if test "${enable_filectrl+set}" = set; then :
12157 enableval=$enable_filectrl;
12158 if test "$enableval" = yes; then
12159 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12160 else
12161 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12162 fi
12163
12164 else
12165
12166 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12167
12168 fi
12169
12170
12171 eval "$wx_cv_use_filectrl"
12172
12173 if test x"$enablestring" = xdisable; then
12174 if test $wxUSE_FILECTRL = no; then
12175 result=yes
12176 else
12177 result=no
12178 fi
12179 else
12180 result=$wxUSE_FILECTRL
12181 fi
12182
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12184 $as_echo "$result" >&6; }
12185
12186
12187 enablestring=
12188 defaultval=$wxUSE_ALL_FEATURES
12189 if test -z "$defaultval"; then
12190 if test x"$enablestring" = xdisable; then
12191 defaultval=yes
12192 else
12193 defaultval=no
12194 fi
12195 fi
12196
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12198 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12199 # Check whether --enable-filepicker was given.
12200 if test "${enable_filepicker+set}" = set; then :
12201 enableval=$enable_filepicker;
12202 if test "$enableval" = yes; then
12203 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
12204 else
12205 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
12206 fi
12207
12208 else
12209
12210 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12211
12212 fi
12213
12214
12215 eval "$wx_cv_use_filepicker"
12216
12217 if test x"$enablestring" = xdisable; then
12218 if test $wxUSE_FILEPICKERCTRL = no; then
12219 result=yes
12220 else
12221 result=no
12222 fi
12223 else
12224 result=$wxUSE_FILEPICKERCTRL
12225 fi
12226
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12228 $as_echo "$result" >&6; }
12229
12230
12231 enablestring=
12232 defaultval=$wxUSE_ALL_FEATURES
12233 if test -z "$defaultval"; then
12234 if test x"$enablestring" = xdisable; then
12235 defaultval=yes
12236 else
12237 defaultval=no
12238 fi
12239 fi
12240
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12242 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12243 # Check whether --enable-fontpicker was given.
12244 if test "${enable_fontpicker+set}" = set; then :
12245 enableval=$enable_fontpicker;
12246 if test "$enableval" = yes; then
12247 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
12248 else
12249 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
12250 fi
12251
12252 else
12253
12254 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12255
12256 fi
12257
12258
12259 eval "$wx_cv_use_fontpicker"
12260
12261 if test x"$enablestring" = xdisable; then
12262 if test $wxUSE_FONTPICKERCTRL = no; then
12263 result=yes
12264 else
12265 result=no
12266 fi
12267 else
12268 result=$wxUSE_FONTPICKERCTRL
12269 fi
12270
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12272 $as_echo "$result" >&6; }
12273
12274
12275 enablestring=
12276 defaultval=$wxUSE_ALL_FEATURES
12277 if test -z "$defaultval"; then
12278 if test x"$enablestring" = xdisable; then
12279 defaultval=yes
12280 else
12281 defaultval=no
12282 fi
12283 fi
12284
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
12286 $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
12287 # Check whether --enable-gauge was given.
12288 if test "${enable_gauge+set}" = set; then :
12289 enableval=$enable_gauge;
12290 if test "$enableval" = yes; then
12291 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12292 else
12293 wx_cv_use_gauge='wxUSE_GAUGE=no'
12294 fi
12295
12296 else
12297
12298 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12299
12300 fi
12301
12302
12303 eval "$wx_cv_use_gauge"
12304
12305 if test x"$enablestring" = xdisable; then
12306 if test $wxUSE_GAUGE = no; then
12307 result=yes
12308 else
12309 result=no
12310 fi
12311 else
12312 result=$wxUSE_GAUGE
12313 fi
12314
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12316 $as_echo "$result" >&6; }
12317
12318
12319 enablestring=
12320 defaultval=$wxUSE_ALL_FEATURES
12321 if test -z "$defaultval"; then
12322 if test x"$enablestring" = xdisable; then
12323 defaultval=yes
12324 else
12325 defaultval=no
12326 fi
12327 fi
12328
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12330 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12331 # Check whether --enable-grid was given.
12332 if test "${enable_grid+set}" = set; then :
12333 enableval=$enable_grid;
12334 if test "$enableval" = yes; then
12335 wx_cv_use_grid='wxUSE_GRID=yes'
12336 else
12337 wx_cv_use_grid='wxUSE_GRID=no'
12338 fi
12339
12340 else
12341
12342 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12343
12344 fi
12345
12346
12347 eval "$wx_cv_use_grid"
12348
12349 if test x"$enablestring" = xdisable; then
12350 if test $wxUSE_GRID = no; then
12351 result=yes
12352 else
12353 result=no
12354 fi
12355 else
12356 result=$wxUSE_GRID
12357 fi
12358
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12360 $as_echo "$result" >&6; }
12361
12362
12363 enablestring=
12364 defaultval=$wxUSE_ALL_FEATURES
12365 if test -z "$defaultval"; then
12366 if test x"$enablestring" = xdisable; then
12367 defaultval=yes
12368 else
12369 defaultval=no
12370 fi
12371 fi
12372
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12374 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12375 # Check whether --enable-headerctrl was given.
12376 if test "${enable_headerctrl+set}" = set; then :
12377 enableval=$enable_headerctrl;
12378 if test "$enableval" = yes; then
12379 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
12380 else
12381 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
12382 fi
12383
12384 else
12385
12386 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12387
12388 fi
12389
12390
12391 eval "$wx_cv_use_headerctrl"
12392
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_HEADERCTRL = no; then
12395 result=yes
12396 else
12397 result=no
12398 fi
12399 else
12400 result=$wxUSE_HEADERCTRL
12401 fi
12402
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12404 $as_echo "$result" >&6; }
12405
12406
12407 enablestring=
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12411 defaultval=yes
12412 else
12413 defaultval=no
12414 fi
12415 fi
12416
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
12418 $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
12419 # Check whether --enable-hyperlink was given.
12420 if test "${enable_hyperlink+set}" = set; then :
12421 enableval=$enable_hyperlink;
12422 if test "$enableval" = yes; then
12423 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12424 else
12425 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12426 fi
12427
12428 else
12429
12430 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12431
12432 fi
12433
12434
12435 eval "$wx_cv_use_hyperlink"
12436
12437 if test x"$enablestring" = xdisable; then
12438 if test $wxUSE_HYPERLINKCTRL = no; then
12439 result=yes
12440 else
12441 result=no
12442 fi
12443 else
12444 result=$wxUSE_HYPERLINKCTRL
12445 fi
12446
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12448 $as_echo "$result" >&6; }
12449
12450
12451 enablestring=
12452 defaultval=$wxUSE_ALL_FEATURES
12453 if test -z "$defaultval"; then
12454 if test x"$enablestring" = xdisable; then
12455 defaultval=yes
12456 else
12457 defaultval=no
12458 fi
12459 fi
12460
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12462 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12463 # Check whether --enable-imaglist was given.
12464 if test "${enable_imaglist+set}" = set; then :
12465 enableval=$enable_imaglist;
12466 if test "$enableval" = yes; then
12467 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12468 else
12469 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12470 fi
12471
12472 else
12473
12474 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12475
12476 fi
12477
12478
12479 eval "$wx_cv_use_imaglist"
12480
12481 if test x"$enablestring" = xdisable; then
12482 if test $wxUSE_IMAGLIST = no; then
12483 result=yes
12484 else
12485 result=no
12486 fi
12487 else
12488 result=$wxUSE_IMAGLIST
12489 fi
12490
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12492 $as_echo "$result" >&6; }
12493
12494
12495 enablestring=
12496 defaultval=$wxUSE_ALL_FEATURES
12497 if test -z "$defaultval"; then
12498 if test x"$enablestring" = xdisable; then
12499 defaultval=yes
12500 else
12501 defaultval=no
12502 fi
12503 fi
12504
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12506 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12507 # Check whether --enable-infobar was given.
12508 if test "${enable_infobar+set}" = set; then :
12509 enableval=$enable_infobar;
12510 if test "$enableval" = yes; then
12511 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
12512 else
12513 wx_cv_use_infobar='wxUSE_INFOBAR=no'
12514 fi
12515
12516 else
12517
12518 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12519
12520 fi
12521
12522
12523 eval "$wx_cv_use_infobar"
12524
12525 if test x"$enablestring" = xdisable; then
12526 if test $wxUSE_INFOBAR = no; then
12527 result=yes
12528 else
12529 result=no
12530 fi
12531 else
12532 result=$wxUSE_INFOBAR
12533 fi
12534
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12536 $as_echo "$result" >&6; }
12537
12538
12539 enablestring=
12540 defaultval=$wxUSE_ALL_FEATURES
12541 if test -z "$defaultval"; then
12542 if test x"$enablestring" = xdisable; then
12543 defaultval=yes
12544 else
12545 defaultval=no
12546 fi
12547 fi
12548
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
12550 $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
12551 # Check whether --enable-listbook was given.
12552 if test "${enable_listbook+set}" = set; then :
12553 enableval=$enable_listbook;
12554 if test "$enableval" = yes; then
12555 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12556 else
12557 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12558 fi
12559
12560 else
12561
12562 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12563
12564 fi
12565
12566
12567 eval "$wx_cv_use_listbook"
12568
12569 if test x"$enablestring" = xdisable; then
12570 if test $wxUSE_LISTBOOK = no; then
12571 result=yes
12572 else
12573 result=no
12574 fi
12575 else
12576 result=$wxUSE_LISTBOOK
12577 fi
12578
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12580 $as_echo "$result" >&6; }
12581
12582
12583 enablestring=
12584 defaultval=$wxUSE_ALL_FEATURES
12585 if test -z "$defaultval"; then
12586 if test x"$enablestring" = xdisable; then
12587 defaultval=yes
12588 else
12589 defaultval=no
12590 fi
12591 fi
12592
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12594 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12595 # Check whether --enable-listbox was given.
12596 if test "${enable_listbox+set}" = set; then :
12597 enableval=$enable_listbox;
12598 if test "$enableval" = yes; then
12599 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12600 else
12601 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12602 fi
12603
12604 else
12605
12606 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12607
12608 fi
12609
12610
12611 eval "$wx_cv_use_listbox"
12612
12613 if test x"$enablestring" = xdisable; then
12614 if test $wxUSE_LISTBOX = no; then
12615 result=yes
12616 else
12617 result=no
12618 fi
12619 else
12620 result=$wxUSE_LISTBOX
12621 fi
12622
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12624 $as_echo "$result" >&6; }
12625
12626
12627 enablestring=
12628 defaultval=$wxUSE_ALL_FEATURES
12629 if test -z "$defaultval"; then
12630 if test x"$enablestring" = xdisable; then
12631 defaultval=yes
12632 else
12633 defaultval=no
12634 fi
12635 fi
12636
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12638 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12639 # Check whether --enable-listctrl was given.
12640 if test "${enable_listctrl+set}" = set; then :
12641 enableval=$enable_listctrl;
12642 if test "$enableval" = yes; then
12643 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12644 else
12645 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12646 fi
12647
12648 else
12649
12650 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12651
12652 fi
12653
12654
12655 eval "$wx_cv_use_listctrl"
12656
12657 if test x"$enablestring" = xdisable; then
12658 if test $wxUSE_LISTCTRL = no; then
12659 result=yes
12660 else
12661 result=no
12662 fi
12663 else
12664 result=$wxUSE_LISTCTRL
12665 fi
12666
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12668 $as_echo "$result" >&6; }
12669
12670
12671 enablestring=
12672 defaultval=$wxUSE_ALL_FEATURES
12673 if test -z "$defaultval"; then
12674 if test x"$enablestring" = xdisable; then
12675 defaultval=yes
12676 else
12677 defaultval=no
12678 fi
12679 fi
12680
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
12682 $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
12683 # Check whether --enable-notebook was given.
12684 if test "${enable_notebook+set}" = set; then :
12685 enableval=$enable_notebook;
12686 if test "$enableval" = yes; then
12687 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12688 else
12689 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12690 fi
12691
12692 else
12693
12694 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12695
12696 fi
12697
12698
12699 eval "$wx_cv_use_notebook"
12700
12701 if test x"$enablestring" = xdisable; then
12702 if test $wxUSE_NOTEBOOK = no; then
12703 result=yes
12704 else
12705 result=no
12706 fi
12707 else
12708 result=$wxUSE_NOTEBOOK
12709 fi
12710
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12712 $as_echo "$result" >&6; }
12713
12714
12715 enablestring=
12716 defaultval=$wxUSE_ALL_FEATURES
12717 if test -z "$defaultval"; then
12718 if test x"$enablestring" = xdisable; then
12719 defaultval=yes
12720 else
12721 defaultval=no
12722 fi
12723 fi
12724
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12726 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12727 # Check whether --enable-notifmsg was given.
12728 if test "${enable_notifmsg+set}" = set; then :
12729 enableval=$enable_notifmsg;
12730 if test "$enableval" = yes; then
12731 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
12732 else
12733 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
12734 fi
12735
12736 else
12737
12738 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12739
12740 fi
12741
12742
12743 eval "$wx_cv_use_notifmsg"
12744
12745 if test x"$enablestring" = xdisable; then
12746 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12747 result=yes
12748 else
12749 result=no
12750 fi
12751 else
12752 result=$wxUSE_NOTIFICATION_MESSAGE
12753 fi
12754
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12756 $as_echo "$result" >&6; }
12757
12758
12759 enablestring=
12760 defaultval=$wxUSE_ALL_FEATURES
12761 if test -z "$defaultval"; then
12762 if test x"$enablestring" = xdisable; then
12763 defaultval=yes
12764 else
12765 defaultval=no
12766 fi
12767 fi
12768
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12770 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12771 # Check whether --enable-odcombobox was given.
12772 if test "${enable_odcombobox+set}" = set; then :
12773 enableval=$enable_odcombobox;
12774 if test "$enableval" = yes; then
12775 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12776 else
12777 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12778 fi
12779
12780 else
12781
12782 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12783
12784 fi
12785
12786
12787 eval "$wx_cv_use_odcombobox"
12788
12789 if test x"$enablestring" = xdisable; then
12790 if test $wxUSE_ODCOMBOBOX = no; then
12791 result=yes
12792 else
12793 result=no
12794 fi
12795 else
12796 result=$wxUSE_ODCOMBOBOX
12797 fi
12798
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12800 $as_echo "$result" >&6; }
12801
12802
12803 enablestring=
12804 defaultval=$wxUSE_ALL_FEATURES
12805 if test -z "$defaultval"; then
12806 if test x"$enablestring" = xdisable; then
12807 defaultval=yes
12808 else
12809 defaultval=no
12810 fi
12811 fi
12812
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
12814 $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
12815 # Check whether --enable-popupwin was given.
12816 if test "${enable_popupwin+set}" = set; then :
12817 enableval=$enable_popupwin;
12818 if test "$enableval" = yes; then
12819 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12820 else
12821 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12822 fi
12823
12824 else
12825
12826 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12827
12828 fi
12829
12830
12831 eval "$wx_cv_use_popupwin"
12832
12833 if test x"$enablestring" = xdisable; then
12834 if test $wxUSE_POPUPWIN = no; then
12835 result=yes
12836 else
12837 result=no
12838 fi
12839 else
12840 result=$wxUSE_POPUPWIN
12841 fi
12842
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12844 $as_echo "$result" >&6; }
12845
12846
12847 enablestring=
12848 defaultval=$wxUSE_ALL_FEATURES
12849 if test -z "$defaultval"; then
12850 if test x"$enablestring" = xdisable; then
12851 defaultval=yes
12852 else
12853 defaultval=no
12854 fi
12855 fi
12856
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12858 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12859 # Check whether --enable-radiobox was given.
12860 if test "${enable_radiobox+set}" = set; then :
12861 enableval=$enable_radiobox;
12862 if test "$enableval" = yes; then
12863 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12864 else
12865 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12866 fi
12867
12868 else
12869
12870 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12871
12872 fi
12873
12874
12875 eval "$wx_cv_use_radiobox"
12876
12877 if test x"$enablestring" = xdisable; then
12878 if test $wxUSE_RADIOBOX = no; then
12879 result=yes
12880 else
12881 result=no
12882 fi
12883 else
12884 result=$wxUSE_RADIOBOX
12885 fi
12886
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12888 $as_echo "$result" >&6; }
12889
12890
12891 enablestring=
12892 defaultval=$wxUSE_ALL_FEATURES
12893 if test -z "$defaultval"; then
12894 if test x"$enablestring" = xdisable; then
12895 defaultval=yes
12896 else
12897 defaultval=no
12898 fi
12899 fi
12900
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
12902 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
12903 # Check whether --enable-radiobtn was given.
12904 if test "${enable_radiobtn+set}" = set; then :
12905 enableval=$enable_radiobtn;
12906 if test "$enableval" = yes; then
12907 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12908 else
12909 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12910 fi
12911
12912 else
12913
12914 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12915
12916 fi
12917
12918
12919 eval "$wx_cv_use_radiobtn"
12920
12921 if test x"$enablestring" = xdisable; then
12922 if test $wxUSE_RADIOBTN = no; then
12923 result=yes
12924 else
12925 result=no
12926 fi
12927 else
12928 result=$wxUSE_RADIOBTN
12929 fi
12930
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12932 $as_echo "$result" >&6; }
12933
12934
12935 enablestring=
12936 defaultval=$wxUSE_ALL_FEATURES
12937 if test -z "$defaultval"; then
12938 if test x"$enablestring" = xdisable; then
12939 defaultval=yes
12940 else
12941 defaultval=no
12942 fi
12943 fi
12944
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
12946 $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
12947 # Check whether --enable-richmsgdlg was given.
12948 if test "${enable_richmsgdlg+set}" = set; then :
12949 enableval=$enable_richmsgdlg;
12950 if test "$enableval" = yes; then
12951 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
12952 else
12953 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
12954 fi
12955
12956 else
12957
12958 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
12959
12960 fi
12961
12962
12963 eval "$wx_cv_use_richmsgdlg"
12964
12965 if test x"$enablestring" = xdisable; then
12966 if test $wxUSE_RICHMSGDLG = no; then
12967 result=yes
12968 else
12969 result=no
12970 fi
12971 else
12972 result=$wxUSE_RICHMSGDLG
12973 fi
12974
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12976 $as_echo "$result" >&6; }
12977
12978
12979 enablestring=
12980 defaultval=$wxUSE_ALL_FEATURES
12981 if test -z "$defaultval"; then
12982 if test x"$enablestring" = xdisable; then
12983 defaultval=yes
12984 else
12985 defaultval=no
12986 fi
12987 fi
12988
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
12990 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
12991 # Check whether --enable-richtooltip was given.
12992 if test "${enable_richtooltip+set}" = set; then :
12993 enableval=$enable_richtooltip;
12994 if test "$enableval" = yes; then
12995 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
12996 else
12997 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
12998 fi
12999
13000 else
13001
13002 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13003
13004 fi
13005
13006
13007 eval "$wx_cv_use_richtooltip"
13008
13009 if test x"$enablestring" = xdisable; then
13010 if test $wxUSE_RICHTOOLTIP = no; then
13011 result=yes
13012 else
13013 result=no
13014 fi
13015 else
13016 result=$wxUSE_RICHTOOLTIP
13017 fi
13018
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13020 $as_echo "$result" >&6; }
13021
13022
13023 enablestring=
13024 defaultval=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x"$enablestring" = xdisable; then
13027 defaultval=yes
13028 else
13029 defaultval=no
13030 fi
13031 fi
13032
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13034 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13035 # Check whether --enable-rearrangectrl was given.
13036 if test "${enable_rearrangectrl+set}" = set; then :
13037 enableval=$enable_rearrangectrl;
13038 if test "$enableval" = yes; then
13039 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
13040 else
13041 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
13042 fi
13043
13044 else
13045
13046 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13047
13048 fi
13049
13050
13051 eval "$wx_cv_use_rearrangectrl"
13052
13053 if test x"$enablestring" = xdisable; then
13054 if test $wxUSE_REARRANGECTRL = no; then
13055 result=yes
13056 else
13057 result=no
13058 fi
13059 else
13060 result=$wxUSE_REARRANGECTRL
13061 fi
13062
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13064 $as_echo "$result" >&6; }
13065
13066
13067 enablestring=
13068 defaultval=$wxUSE_ALL_FEATURES
13069 if test -z "$defaultval"; then
13070 if test x"$enablestring" = xdisable; then
13071 defaultval=yes
13072 else
13073 defaultval=no
13074 fi
13075 fi
13076
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
13078 $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
13079 # Check whether --enable-sash was given.
13080 if test "${enable_sash+set}" = set; then :
13081 enableval=$enable_sash;
13082 if test "$enableval" = yes; then
13083 wx_cv_use_sash='wxUSE_SASH=yes'
13084 else
13085 wx_cv_use_sash='wxUSE_SASH=no'
13086 fi
13087
13088 else
13089
13090 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13091
13092 fi
13093
13094
13095 eval "$wx_cv_use_sash"
13096
13097 if test x"$enablestring" = xdisable; then
13098 if test $wxUSE_SASH = no; then
13099 result=yes
13100 else
13101 result=no
13102 fi
13103 else
13104 result=$wxUSE_SASH
13105 fi
13106
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13108 $as_echo "$result" >&6; }
13109
13110
13111 enablestring=
13112 defaultval=$wxUSE_ALL_FEATURES
13113 if test -z "$defaultval"; then
13114 if test x"$enablestring" = xdisable; then
13115 defaultval=yes
13116 else
13117 defaultval=no
13118 fi
13119 fi
13120
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13122 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13123 # Check whether --enable-scrollbar was given.
13124 if test "${enable_scrollbar+set}" = set; then :
13125 enableval=$enable_scrollbar;
13126 if test "$enableval" = yes; then
13127 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
13128 else
13129 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
13130 fi
13131
13132 else
13133
13134 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13135
13136 fi
13137
13138
13139 eval "$wx_cv_use_scrollbar"
13140
13141 if test x"$enablestring" = xdisable; then
13142 if test $wxUSE_SCROLLBAR = no; then
13143 result=yes
13144 else
13145 result=no
13146 fi
13147 else
13148 result=$wxUSE_SCROLLBAR
13149 fi
13150
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13152 $as_echo "$result" >&6; }
13153
13154
13155 enablestring=
13156 defaultval=$wxUSE_ALL_FEATURES
13157 if test -z "$defaultval"; then
13158 if test x"$enablestring" = xdisable; then
13159 defaultval=yes
13160 else
13161 defaultval=no
13162 fi
13163 fi
13164
13165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13166 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13167 # Check whether --enable-searchctrl was given.
13168 if test "${enable_searchctrl+set}" = set; then :
13169 enableval=$enable_searchctrl;
13170 if test "$enableval" = yes; then
13171 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
13172 else
13173 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
13174 fi
13175
13176 else
13177
13178 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13179
13180 fi
13181
13182
13183 eval "$wx_cv_use_searchctrl"
13184
13185 if test x"$enablestring" = xdisable; then
13186 if test $wxUSE_SEARCHCTRL = no; then
13187 result=yes
13188 else
13189 result=no
13190 fi
13191 else
13192 result=$wxUSE_SEARCHCTRL
13193 fi
13194
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13196 $as_echo "$result" >&6; }
13197
13198
13199 enablestring=
13200 defaultval=$wxUSE_ALL_FEATURES
13201 if test -z "$defaultval"; then
13202 if test x"$enablestring" = xdisable; then
13203 defaultval=yes
13204 else
13205 defaultval=no
13206 fi
13207 fi
13208
13209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
13210 $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
13211 # Check whether --enable-slider was given.
13212 if test "${enable_slider+set}" = set; then :
13213 enableval=$enable_slider;
13214 if test "$enableval" = yes; then
13215 wx_cv_use_slider='wxUSE_SLIDER=yes'
13216 else
13217 wx_cv_use_slider='wxUSE_SLIDER=no'
13218 fi
13219
13220 else
13221
13222 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13223
13224 fi
13225
13226
13227 eval "$wx_cv_use_slider"
13228
13229 if test x"$enablestring" = xdisable; then
13230 if test $wxUSE_SLIDER = no; then
13231 result=yes
13232 else
13233 result=no
13234 fi
13235 else
13236 result=$wxUSE_SLIDER
13237 fi
13238
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13240 $as_echo "$result" >&6; }
13241
13242
13243 enablestring=
13244 defaultval=$wxUSE_ALL_FEATURES
13245 if test -z "$defaultval"; then
13246 if test x"$enablestring" = xdisable; then
13247 defaultval=yes
13248 else
13249 defaultval=no
13250 fi
13251 fi
13252
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13254 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13255 # Check whether --enable-spinbtn was given.
13256 if test "${enable_spinbtn+set}" = set; then :
13257 enableval=$enable_spinbtn;
13258 if test "$enableval" = yes; then
13259 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
13260 else
13261 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
13262 fi
13263
13264 else
13265
13266 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13267
13268 fi
13269
13270
13271 eval "$wx_cv_use_spinbtn"
13272
13273 if test x"$enablestring" = xdisable; then
13274 if test $wxUSE_SPINBTN = no; then
13275 result=yes
13276 else
13277 result=no
13278 fi
13279 else
13280 result=$wxUSE_SPINBTN
13281 fi
13282
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13284 $as_echo "$result" >&6; }
13285
13286
13287 enablestring=
13288 defaultval=$wxUSE_ALL_FEATURES
13289 if test -z "$defaultval"; then
13290 if test x"$enablestring" = xdisable; then
13291 defaultval=yes
13292 else
13293 defaultval=no
13294 fi
13295 fi
13296
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13298 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13299 # Check whether --enable-spinctrl was given.
13300 if test "${enable_spinctrl+set}" = set; then :
13301 enableval=$enable_spinctrl;
13302 if test "$enableval" = yes; then
13303 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
13304 else
13305 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
13306 fi
13307
13308 else
13309
13310 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13311
13312 fi
13313
13314
13315 eval "$wx_cv_use_spinctrl"
13316
13317 if test x"$enablestring" = xdisable; then
13318 if test $wxUSE_SPINCTRL = no; then
13319 result=yes
13320 else
13321 result=no
13322 fi
13323 else
13324 result=$wxUSE_SPINCTRL
13325 fi
13326
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13328 $as_echo "$result" >&6; }
13329
13330
13331 enablestring=
13332 defaultval=$wxUSE_ALL_FEATURES
13333 if test -z "$defaultval"; then
13334 if test x"$enablestring" = xdisable; then
13335 defaultval=yes
13336 else
13337 defaultval=no
13338 fi
13339 fi
13340
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
13342 $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
13343 # Check whether --enable-splitter was given.
13344 if test "${enable_splitter+set}" = set; then :
13345 enableval=$enable_splitter;
13346 if test "$enableval" = yes; then
13347 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13348 else
13349 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13350 fi
13351
13352 else
13353
13354 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13355
13356 fi
13357
13358
13359 eval "$wx_cv_use_splitter"
13360
13361 if test x"$enablestring" = xdisable; then
13362 if test $wxUSE_SPLITTER = no; then
13363 result=yes
13364 else
13365 result=no
13366 fi
13367 else
13368 result=$wxUSE_SPLITTER
13369 fi
13370
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13372 $as_echo "$result" >&6; }
13373
13374
13375 enablestring=
13376 defaultval=$wxUSE_ALL_FEATURES
13377 if test -z "$defaultval"; then
13378 if test x"$enablestring" = xdisable; then
13379 defaultval=yes
13380 else
13381 defaultval=no
13382 fi
13383 fi
13384
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13386 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13387 # Check whether --enable-statbmp was given.
13388 if test "${enable_statbmp+set}" = set; then :
13389 enableval=$enable_statbmp;
13390 if test "$enableval" = yes; then
13391 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
13392 else
13393 wx_cv_use_statbmp='wxUSE_STATBMP=no'
13394 fi
13395
13396 else
13397
13398 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13399
13400 fi
13401
13402
13403 eval "$wx_cv_use_statbmp"
13404
13405 if test x"$enablestring" = xdisable; then
13406 if test $wxUSE_STATBMP = no; then
13407 result=yes
13408 else
13409 result=no
13410 fi
13411 else
13412 result=$wxUSE_STATBMP
13413 fi
13414
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13416 $as_echo "$result" >&6; }
13417
13418
13419 enablestring=
13420 defaultval=$wxUSE_ALL_FEATURES
13421 if test -z "$defaultval"; then
13422 if test x"$enablestring" = xdisable; then
13423 defaultval=yes
13424 else
13425 defaultval=no
13426 fi
13427 fi
13428
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13430 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13431 # Check whether --enable-statbox was given.
13432 if test "${enable_statbox+set}" = set; then :
13433 enableval=$enable_statbox;
13434 if test "$enableval" = yes; then
13435 wx_cv_use_statbox='wxUSE_STATBOX=yes'
13436 else
13437 wx_cv_use_statbox='wxUSE_STATBOX=no'
13438 fi
13439
13440 else
13441
13442 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13443
13444 fi
13445
13446
13447 eval "$wx_cv_use_statbox"
13448
13449 if test x"$enablestring" = xdisable; then
13450 if test $wxUSE_STATBOX = no; then
13451 result=yes
13452 else
13453 result=no
13454 fi
13455 else
13456 result=$wxUSE_STATBOX
13457 fi
13458
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13460 $as_echo "$result" >&6; }
13461
13462
13463 enablestring=
13464 defaultval=$wxUSE_ALL_FEATURES
13465 if test -z "$defaultval"; then
13466 if test x"$enablestring" = xdisable; then
13467 defaultval=yes
13468 else
13469 defaultval=no
13470 fi
13471 fi
13472
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
13474 $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
13475 # Check whether --enable-statline was given.
13476 if test "${enable_statline+set}" = set; then :
13477 enableval=$enable_statline;
13478 if test "$enableval" = yes; then
13479 wx_cv_use_statline='wxUSE_STATLINE=yes'
13480 else
13481 wx_cv_use_statline='wxUSE_STATLINE=no'
13482 fi
13483
13484 else
13485
13486 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13487
13488 fi
13489
13490
13491 eval "$wx_cv_use_statline"
13492
13493 if test x"$enablestring" = xdisable; then
13494 if test $wxUSE_STATLINE = no; then
13495 result=yes
13496 else
13497 result=no
13498 fi
13499 else
13500 result=$wxUSE_STATLINE
13501 fi
13502
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13504 $as_echo "$result" >&6; }
13505
13506
13507 enablestring=
13508 defaultval=$wxUSE_ALL_FEATURES
13509 if test -z "$defaultval"; then
13510 if test x"$enablestring" = xdisable; then
13511 defaultval=yes
13512 else
13513 defaultval=no
13514 fi
13515 fi
13516
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13518 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13519 # Check whether --enable-stattext was given.
13520 if test "${enable_stattext+set}" = set; then :
13521 enableval=$enable_stattext;
13522 if test "$enableval" = yes; then
13523 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13524 else
13525 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13526 fi
13527
13528 else
13529
13530 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13531
13532 fi
13533
13534
13535 eval "$wx_cv_use_stattext"
13536
13537 if test x"$enablestring" = xdisable; then
13538 if test $wxUSE_STATTEXT = no; then
13539 result=yes
13540 else
13541 result=no
13542 fi
13543 else
13544 result=$wxUSE_STATTEXT
13545 fi
13546
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13548 $as_echo "$result" >&6; }
13549
13550
13551 enablestring=
13552 defaultval=$wxUSE_ALL_FEATURES
13553 if test -z "$defaultval"; then
13554 if test x"$enablestring" = xdisable; then
13555 defaultval=yes
13556 else
13557 defaultval=no
13558 fi
13559 fi
13560
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13562 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13563 # Check whether --enable-statusbar was given.
13564 if test "${enable_statusbar+set}" = set; then :
13565 enableval=$enable_statusbar;
13566 if test "$enableval" = yes; then
13567 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13568 else
13569 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13570 fi
13571
13572 else
13573
13574 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13575
13576 fi
13577
13578
13579 eval "$wx_cv_use_statusbar"
13580
13581 if test x"$enablestring" = xdisable; then
13582 if test $wxUSE_STATUSBAR = no; then
13583 result=yes
13584 else
13585 result=no
13586 fi
13587 else
13588 result=$wxUSE_STATUSBAR
13589 fi
13590
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13592 $as_echo "$result" >&6; }
13593
13594
13595 enablestring=
13596 defaultval=$wxUSE_ALL_FEATURES
13597 if test -z "$defaultval"; then
13598 if test x"$enablestring" = xdisable; then
13599 defaultval=yes
13600 else
13601 defaultval=no
13602 fi
13603 fi
13604
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
13606 $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
13607 # Check whether --enable-taskbaricon was given.
13608 if test "${enable_taskbaricon+set}" = set; then :
13609 enableval=$enable_taskbaricon;
13610 if test "$enableval" = yes; then
13611 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13612 else
13613 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13614 fi
13615
13616 else
13617
13618 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13619
13620 fi
13621
13622
13623 eval "$wx_cv_use_taskbaricon"
13624
13625 if test x"$enablestring" = xdisable; then
13626 if test $wxUSE_TASKBARICON = no; then
13627 result=yes
13628 else
13629 result=no
13630 fi
13631 else
13632 result=$wxUSE_TASKBARICON
13633 fi
13634
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13636 $as_echo "$result" >&6; }
13637
13638
13639 enablestring=
13640 defaultval=$wxUSE_ALL_FEATURES
13641 if test -z "$defaultval"; then
13642 if test x"$enablestring" = xdisable; then
13643 defaultval=yes
13644 else
13645 defaultval=no
13646 fi
13647 fi
13648
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13650 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13651 # Check whether --enable-tbarnative was given.
13652 if test "${enable_tbarnative+set}" = set; then :
13653 enableval=$enable_tbarnative;
13654 if test "$enableval" = yes; then
13655 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13656 else
13657 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13658 fi
13659
13660 else
13661
13662 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13663
13664 fi
13665
13666
13667 eval "$wx_cv_use_tbarnative"
13668
13669 if test x"$enablestring" = xdisable; then
13670 if test $wxUSE_TOOLBAR_NATIVE = no; then
13671 result=yes
13672 else
13673 result=no
13674 fi
13675 else
13676 result=$wxUSE_TOOLBAR_NATIVE
13677 fi
13678
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13680 $as_echo "$result" >&6; }
13681
13682
13683 enablestring=
13684 defaultval=$wxUSE_ALL_FEATURES
13685 if test -z "$defaultval"; then
13686 if test x"$enablestring" = xdisable; then
13687 defaultval=yes
13688 else
13689 defaultval=no
13690 fi
13691 fi
13692
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13694 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13695 # Check whether --enable-textctrl was given.
13696 if test "${enable_textctrl+set}" = set; then :
13697 enableval=$enable_textctrl;
13698 if test "$enableval" = yes; then
13699 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13700 else
13701 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13702 fi
13703
13704 else
13705
13706 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13707
13708 fi
13709
13710
13711 eval "$wx_cv_use_textctrl"
13712
13713 if test x"$enablestring" = xdisable; then
13714 if test $wxUSE_TEXTCTRL = no; then
13715 result=yes
13716 else
13717 result=no
13718 fi
13719 else
13720 result=$wxUSE_TEXTCTRL
13721 fi
13722
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13724 $as_echo "$result" >&6; }
13725
13726
13727 enablestring=
13728 defaultval=$wxUSE_ALL_FEATURES
13729 if test -z "$defaultval"; then
13730 if test x"$enablestring" = xdisable; then
13731 defaultval=yes
13732 else
13733 defaultval=no
13734 fi
13735 fi
13736
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
13738 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
13739 # Check whether --enable-datepick was given.
13740 if test "${enable_datepick+set}" = set; then :
13741 enableval=$enable_datepick;
13742 if test "$enableval" = yes; then
13743 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13744 else
13745 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13746 fi
13747
13748 else
13749
13750 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13751
13752 fi
13753
13754
13755 eval "$wx_cv_use_datepick"
13756
13757 if test x"$enablestring" = xdisable; then
13758 if test $wxUSE_TIMEPICKCTRL = no; then
13759 result=yes
13760 else
13761 result=no
13762 fi
13763 else
13764 result=$wxUSE_TIMEPICKCTRL
13765 fi
13766
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13768 $as_echo "$result" >&6; }
13769
13770
13771 enablestring=
13772 defaultval=$wxUSE_ALL_FEATURES
13773 if test -z "$defaultval"; then
13774 if test x"$enablestring" = xdisable; then
13775 defaultval=yes
13776 else
13777 defaultval=no
13778 fi
13779 fi
13780
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13782 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13783 # Check whether --enable-tipwindow was given.
13784 if test "${enable_tipwindow+set}" = set; then :
13785 enableval=$enable_tipwindow;
13786 if test "$enableval" = yes; then
13787 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13788 else
13789 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13790 fi
13791
13792 else
13793
13794 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13795
13796 fi
13797
13798
13799 eval "$wx_cv_use_tipwindow"
13800
13801 if test x"$enablestring" = xdisable; then
13802 if test $wxUSE_TIPWINDOW = no; then
13803 result=yes
13804 else
13805 result=no
13806 fi
13807 else
13808 result=$wxUSE_TIPWINDOW
13809 fi
13810
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13812 $as_echo "$result" >&6; }
13813
13814
13815 enablestring=
13816 defaultval=$wxUSE_ALL_FEATURES
13817 if test -z "$defaultval"; then
13818 if test x"$enablestring" = xdisable; then
13819 defaultval=yes
13820 else
13821 defaultval=no
13822 fi
13823 fi
13824
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13826 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13827 # Check whether --enable-togglebtn was given.
13828 if test "${enable_togglebtn+set}" = set; then :
13829 enableval=$enable_togglebtn;
13830 if test "$enableval" = yes; then
13831 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13832 else
13833 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13834 fi
13835
13836 else
13837
13838 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13839
13840 fi
13841
13842
13843 eval "$wx_cv_use_togglebtn"
13844
13845 if test x"$enablestring" = xdisable; then
13846 if test $wxUSE_TOGGLEBTN = no; then
13847 result=yes
13848 else
13849 result=no
13850 fi
13851 else
13852 result=$wxUSE_TOGGLEBTN
13853 fi
13854
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13856 $as_echo "$result" >&6; }
13857
13858
13859 enablestring=
13860 defaultval=$wxUSE_ALL_FEATURES
13861 if test -z "$defaultval"; then
13862 if test x"$enablestring" = xdisable; then
13863 defaultval=yes
13864 else
13865 defaultval=no
13866 fi
13867 fi
13868
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
13870 $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
13871 # Check whether --enable-toolbar was given.
13872 if test "${enable_toolbar+set}" = set; then :
13873 enableval=$enable_toolbar;
13874 if test "$enableval" = yes; then
13875 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13876 else
13877 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13878 fi
13879
13880 else
13881
13882 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13883
13884 fi
13885
13886
13887 eval "$wx_cv_use_toolbar"
13888
13889 if test x"$enablestring" = xdisable; then
13890 if test $wxUSE_TOOLBAR = no; then
13891 result=yes
13892 else
13893 result=no
13894 fi
13895 else
13896 result=$wxUSE_TOOLBAR
13897 fi
13898
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13900 $as_echo "$result" >&6; }
13901
13902
13903 enablestring=
13904 defaultval=$wxUSE_ALL_FEATURES
13905 if test -z "$defaultval"; then
13906 if test x"$enablestring" = xdisable; then
13907 defaultval=yes
13908 else
13909 defaultval=no
13910 fi
13911 fi
13912
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
13914 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
13915 # Check whether --enable-toolbook was given.
13916 if test "${enable_toolbook+set}" = set; then :
13917 enableval=$enable_toolbook;
13918 if test "$enableval" = yes; then
13919 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13920 else
13921 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13922 fi
13923
13924 else
13925
13926 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13927
13928 fi
13929
13930
13931 eval "$wx_cv_use_toolbook"
13932
13933 if test x"$enablestring" = xdisable; then
13934 if test $wxUSE_TOOLBOOK = no; then
13935 result=yes
13936 else
13937 result=no
13938 fi
13939 else
13940 result=$wxUSE_TOOLBOOK
13941 fi
13942
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13944 $as_echo "$result" >&6; }
13945
13946
13947 enablestring=
13948 defaultval=$wxUSE_ALL_FEATURES
13949 if test -z "$defaultval"; then
13950 if test x"$enablestring" = xdisable; then
13951 defaultval=yes
13952 else
13953 defaultval=no
13954 fi
13955 fi
13956
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
13958 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
13959 # Check whether --enable-treebook was given.
13960 if test "${enable_treebook+set}" = set; then :
13961 enableval=$enable_treebook;
13962 if test "$enableval" = yes; then
13963 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13964 else
13965 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13966 fi
13967
13968 else
13969
13970 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13971
13972 fi
13973
13974
13975 eval "$wx_cv_use_treebook"
13976
13977 if test x"$enablestring" = xdisable; then
13978 if test $wxUSE_TREEBOOK = no; then
13979 result=yes
13980 else
13981 result=no
13982 fi
13983 else
13984 result=$wxUSE_TREEBOOK
13985 fi
13986
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13988 $as_echo "$result" >&6; }
13989
13990
13991 enablestring=
13992 defaultval=$wxUSE_ALL_FEATURES
13993 if test -z "$defaultval"; then
13994 if test x"$enablestring" = xdisable; then
13995 defaultval=yes
13996 else
13997 defaultval=no
13998 fi
13999 fi
14000
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
14002 $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
14003 # Check whether --enable-treectrl was given.
14004 if test "${enable_treectrl+set}" = set; then :
14005 enableval=$enable_treectrl;
14006 if test "$enableval" = yes; then
14007 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14008 else
14009 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14010 fi
14011
14012 else
14013
14014 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14015
14016 fi
14017
14018
14019 eval "$wx_cv_use_treectrl"
14020
14021 if test x"$enablestring" = xdisable; then
14022 if test $wxUSE_TREECTRL = no; then
14023 result=yes
14024 else
14025 result=no
14026 fi
14027 else
14028 result=$wxUSE_TREECTRL
14029 fi
14030
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14032 $as_echo "$result" >&6; }
14033
14034
14035 enablestring=
14036 defaultval=$wxUSE_ALL_FEATURES
14037 if test -z "$defaultval"; then
14038 if test x"$enablestring" = xdisable; then
14039 defaultval=yes
14040 else
14041 defaultval=no
14042 fi
14043 fi
14044
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14046 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14047 # Check whether --enable-treelist was given.
14048 if test "${enable_treelist+set}" = set; then :
14049 enableval=$enable_treelist;
14050 if test "$enableval" = yes; then
14051 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
14052 else
14053 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
14054 fi
14055
14056 else
14057
14058 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14059
14060 fi
14061
14062
14063 eval "$wx_cv_use_treelist"
14064
14065 if test x"$enablestring" = xdisable; then
14066 if test $wxUSE_TREELISTCTRL = no; then
14067 result=yes
14068 else
14069 result=no
14070 fi
14071 else
14072 result=$wxUSE_TREELISTCTRL
14073 fi
14074
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14076 $as_echo "$result" >&6; }
14077
14078
14079
14080
14081 enablestring=
14082 defaultval=$wxUSE_ALL_FEATURES
14083 if test -z "$defaultval"; then
14084 if test x"$enablestring" = xdisable; then
14085 defaultval=yes
14086 else
14087 defaultval=no
14088 fi
14089 fi
14090
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14092 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14093 # Check whether --enable-commondlg was given.
14094 if test "${enable_commondlg+set}" = set; then :
14095 enableval=$enable_commondlg;
14096 if test "$enableval" = yes; then
14097 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
14098 else
14099 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
14100 fi
14101
14102 else
14103
14104 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14105
14106 fi
14107
14108
14109 eval "$wx_cv_use_commondlg"
14110
14111 if test x"$enablestring" = xdisable; then
14112 if test $wxUSE_COMMONDLGS = no; then
14113 result=yes
14114 else
14115 result=no
14116 fi
14117 else
14118 result=$wxUSE_COMMONDLGS
14119 fi
14120
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14122 $as_echo "$result" >&6; }
14123
14124
14125 enablestring=
14126 defaultval=$wxUSE_ALL_FEATURES
14127 if test -z "$defaultval"; then
14128 if test x"$enablestring" = xdisable; then
14129 defaultval=yes
14130 else
14131 defaultval=no
14132 fi
14133 fi
14134
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
14136 $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
14137 # Check whether --enable-aboutdlg was given.
14138 if test "${enable_aboutdlg+set}" = set; then :
14139 enableval=$enable_aboutdlg;
14140 if test "$enableval" = yes; then
14141 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14142 else
14143 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14144 fi
14145
14146 else
14147
14148 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14149
14150 fi
14151
14152
14153 eval "$wx_cv_use_aboutdlg"
14154
14155 if test x"$enablestring" = xdisable; then
14156 if test $wxUSE_ABOUTDLG = no; then
14157 result=yes
14158 else
14159 result=no
14160 fi
14161 else
14162 result=$wxUSE_ABOUTDLG
14163 fi
14164
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14166 $as_echo "$result" >&6; }
14167
14168
14169 enablestring=
14170 defaultval=$wxUSE_ALL_FEATURES
14171 if test -z "$defaultval"; then
14172 if test x"$enablestring" = xdisable; then
14173 defaultval=yes
14174 else
14175 defaultval=no
14176 fi
14177 fi
14178
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14180 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14181 # Check whether --enable-choicedlg was given.
14182 if test "${enable_choicedlg+set}" = set; then :
14183 enableval=$enable_choicedlg;
14184 if test "$enableval" = yes; then
14185 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
14186 else
14187 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
14188 fi
14189
14190 else
14191
14192 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14193
14194 fi
14195
14196
14197 eval "$wx_cv_use_choicedlg"
14198
14199 if test x"$enablestring" = xdisable; then
14200 if test $wxUSE_CHOICEDLG = no; then
14201 result=yes
14202 else
14203 result=no
14204 fi
14205 else
14206 result=$wxUSE_CHOICEDLG
14207 fi
14208
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14210 $as_echo "$result" >&6; }
14211
14212
14213 enablestring=
14214 defaultval=$wxUSE_ALL_FEATURES
14215 if test -z "$defaultval"; then
14216 if test x"$enablestring" = xdisable; then
14217 defaultval=yes
14218 else
14219 defaultval=no
14220 fi
14221 fi
14222
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14224 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14225 # Check whether --enable-coldlg was given.
14226 if test "${enable_coldlg+set}" = set; then :
14227 enableval=$enable_coldlg;
14228 if test "$enableval" = yes; then
14229 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
14230 else
14231 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
14232 fi
14233
14234 else
14235
14236 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14237
14238 fi
14239
14240
14241 eval "$wx_cv_use_coldlg"
14242
14243 if test x"$enablestring" = xdisable; then
14244 if test $wxUSE_COLOURDLG = no; then
14245 result=yes
14246 else
14247 result=no
14248 fi
14249 else
14250 result=$wxUSE_COLOURDLG
14251 fi
14252
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14254 $as_echo "$result" >&6; }
14255
14256
14257 enablestring=
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14261 defaultval=yes
14262 else
14263 defaultval=no
14264 fi
14265 fi
14266
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
14268 $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
14269 # Check whether --enable-filedlg was given.
14270 if test "${enable_filedlg+set}" = set; then :
14271 enableval=$enable_filedlg;
14272 if test "$enableval" = yes; then
14273 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14274 else
14275 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14276 fi
14277
14278 else
14279
14280 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14281
14282 fi
14283
14284
14285 eval "$wx_cv_use_filedlg"
14286
14287 if test x"$enablestring" = xdisable; then
14288 if test $wxUSE_FILEDLG = no; then
14289 result=yes
14290 else
14291 result=no
14292 fi
14293 else
14294 result=$wxUSE_FILEDLG
14295 fi
14296
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14298 $as_echo "$result" >&6; }
14299
14300
14301 enablestring=
14302 defaultval=$wxUSE_ALL_FEATURES
14303 if test -z "$defaultval"; then
14304 if test x"$enablestring" = xdisable; then
14305 defaultval=yes
14306 else
14307 defaultval=no
14308 fi
14309 fi
14310
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14312 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14313 # Check whether --enable-finddlg was given.
14314 if test "${enable_finddlg+set}" = set; then :
14315 enableval=$enable_finddlg;
14316 if test "$enableval" = yes; then
14317 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14318 else
14319 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14320 fi
14321
14322 else
14323
14324 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14325
14326 fi
14327
14328
14329 eval "$wx_cv_use_finddlg"
14330
14331 if test x"$enablestring" = xdisable; then
14332 if test $wxUSE_FINDREPLDLG = no; then
14333 result=yes
14334 else
14335 result=no
14336 fi
14337 else
14338 result=$wxUSE_FINDREPLDLG
14339 fi
14340
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14342 $as_echo "$result" >&6; }
14343
14344
14345 enablestring=
14346 defaultval=$wxUSE_ALL_FEATURES
14347 if test -z "$defaultval"; then
14348 if test x"$enablestring" = xdisable; then
14349 defaultval=yes
14350 else
14351 defaultval=no
14352 fi
14353 fi
14354
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14356 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14357 # Check whether --enable-fontdlg was given.
14358 if test "${enable_fontdlg+set}" = set; then :
14359 enableval=$enable_fontdlg;
14360 if test "$enableval" = yes; then
14361 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14362 else
14363 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14364 fi
14365
14366 else
14367
14368 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14369
14370 fi
14371
14372
14373 eval "$wx_cv_use_fontdlg"
14374
14375 if test x"$enablestring" = xdisable; then
14376 if test $wxUSE_FONTDLG = no; then
14377 result=yes
14378 else
14379 result=no
14380 fi
14381 else
14382 result=$wxUSE_FONTDLG
14383 fi
14384
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14386 $as_echo "$result" >&6; }
14387
14388
14389 enablestring=
14390 defaultval=$wxUSE_ALL_FEATURES
14391 if test -z "$defaultval"; then
14392 if test x"$enablestring" = xdisable; then
14393 defaultval=yes
14394 else
14395 defaultval=no
14396 fi
14397 fi
14398
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
14400 $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
14401 # Check whether --enable-dirdlg was given.
14402 if test "${enable_dirdlg+set}" = set; then :
14403 enableval=$enable_dirdlg;
14404 if test "$enableval" = yes; then
14405 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14406 else
14407 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14408 fi
14409
14410 else
14411
14412 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14413
14414 fi
14415
14416
14417 eval "$wx_cv_use_dirdlg"
14418
14419 if test x"$enablestring" = xdisable; then
14420 if test $wxUSE_DIRDLG = no; then
14421 result=yes
14422 else
14423 result=no
14424 fi
14425 else
14426 result=$wxUSE_DIRDLG
14427 fi
14428
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14430 $as_echo "$result" >&6; }
14431
14432
14433 enablestring=
14434 defaultval=$wxUSE_ALL_FEATURES
14435 if test -z "$defaultval"; then
14436 if test x"$enablestring" = xdisable; then
14437 defaultval=yes
14438 else
14439 defaultval=no
14440 fi
14441 fi
14442
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14444 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14445 # Check whether --enable-msgdlg was given.
14446 if test "${enable_msgdlg+set}" = set; then :
14447 enableval=$enable_msgdlg;
14448 if test "$enableval" = yes; then
14449 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14450 else
14451 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14452 fi
14453
14454 else
14455
14456 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14457
14458 fi
14459
14460
14461 eval "$wx_cv_use_msgdlg"
14462
14463 if test x"$enablestring" = xdisable; then
14464 if test $wxUSE_MSGDLG = no; then
14465 result=yes
14466 else
14467 result=no
14468 fi
14469 else
14470 result=$wxUSE_MSGDLG
14471 fi
14472
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14474 $as_echo "$result" >&6; }
14475
14476
14477 enablestring=
14478 defaultval=$wxUSE_ALL_FEATURES
14479 if test -z "$defaultval"; then
14480 if test x"$enablestring" = xdisable; then
14481 defaultval=yes
14482 else
14483 defaultval=no
14484 fi
14485 fi
14486
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14488 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14489 # Check whether --enable-numberdlg was given.
14490 if test "${enable_numberdlg+set}" = set; then :
14491 enableval=$enable_numberdlg;
14492 if test "$enableval" = yes; then
14493 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14494 else
14495 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14496 fi
14497
14498 else
14499
14500 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14501
14502 fi
14503
14504
14505 eval "$wx_cv_use_numberdlg"
14506
14507 if test x"$enablestring" = xdisable; then
14508 if test $wxUSE_NUMBERDLG = no; then
14509 result=yes
14510 else
14511 result=no
14512 fi
14513 else
14514 result=$wxUSE_NUMBERDLG
14515 fi
14516
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14518 $as_echo "$result" >&6; }
14519
14520
14521 enablestring=
14522 defaultval=$wxUSE_ALL_FEATURES
14523 if test -z "$defaultval"; then
14524 if test x"$enablestring" = xdisable; then
14525 defaultval=yes
14526 else
14527 defaultval=no
14528 fi
14529 fi
14530
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
14532 $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
14533 # Check whether --enable-splash was given.
14534 if test "${enable_splash+set}" = set; then :
14535 enableval=$enable_splash;
14536 if test "$enableval" = yes; then
14537 wx_cv_use_splash='wxUSE_SPLASH=yes'
14538 else
14539 wx_cv_use_splash='wxUSE_SPLASH=no'
14540 fi
14541
14542 else
14543
14544 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14545
14546 fi
14547
14548
14549 eval "$wx_cv_use_splash"
14550
14551 if test x"$enablestring" = xdisable; then
14552 if test $wxUSE_SPLASH = no; then
14553 result=yes
14554 else
14555 result=no
14556 fi
14557 else
14558 result=$wxUSE_SPLASH
14559 fi
14560
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14562 $as_echo "$result" >&6; }
14563
14564
14565 enablestring=
14566 defaultval=$wxUSE_ALL_FEATURES
14567 if test -z "$defaultval"; then
14568 if test x"$enablestring" = xdisable; then
14569 defaultval=yes
14570 else
14571 defaultval=no
14572 fi
14573 fi
14574
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14576 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14577 # Check whether --enable-textdlg was given.
14578 if test "${enable_textdlg+set}" = set; then :
14579 enableval=$enable_textdlg;
14580 if test "$enableval" = yes; then
14581 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14582 else
14583 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14584 fi
14585
14586 else
14587
14588 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14589
14590 fi
14591
14592
14593 eval "$wx_cv_use_textdlg"
14594
14595 if test x"$enablestring" = xdisable; then
14596 if test $wxUSE_TEXTDLG = no; then
14597 result=yes
14598 else
14599 result=no
14600 fi
14601 else
14602 result=$wxUSE_TEXTDLG
14603 fi
14604
14605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14606 $as_echo "$result" >&6; }
14607
14608
14609 enablestring=
14610 defaultval=$wxUSE_ALL_FEATURES
14611 if test -z "$defaultval"; then
14612 if test x"$enablestring" = xdisable; then
14613 defaultval=yes
14614 else
14615 defaultval=no
14616 fi
14617 fi
14618
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14620 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14621 # Check whether --enable-tipdlg was given.
14622 if test "${enable_tipdlg+set}" = set; then :
14623 enableval=$enable_tipdlg;
14624 if test "$enableval" = yes; then
14625 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14626 else
14627 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14628 fi
14629
14630 else
14631
14632 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14633
14634 fi
14635
14636
14637 eval "$wx_cv_use_tipdlg"
14638
14639 if test x"$enablestring" = xdisable; then
14640 if test $wxUSE_STARTUP_TIPS = no; then
14641 result=yes
14642 else
14643 result=no
14644 fi
14645 else
14646 result=$wxUSE_STARTUP_TIPS
14647 fi
14648
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14650 $as_echo "$result" >&6; }
14651
14652
14653 enablestring=
14654 defaultval=$wxUSE_ALL_FEATURES
14655 if test -z "$defaultval"; then
14656 if test x"$enablestring" = xdisable; then
14657 defaultval=yes
14658 else
14659 defaultval=no
14660 fi
14661 fi
14662
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
14664 $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
14665 # Check whether --enable-progressdlg was given.
14666 if test "${enable_progressdlg+set}" = set; then :
14667 enableval=$enable_progressdlg;
14668 if test "$enableval" = yes; then
14669 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14670 else
14671 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14672 fi
14673
14674 else
14675
14676 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14677
14678 fi
14679
14680
14681 eval "$wx_cv_use_progressdlg"
14682
14683 if test x"$enablestring" = xdisable; then
14684 if test $wxUSE_PROGRESSDLG = no; then
14685 result=yes
14686 else
14687 result=no
14688 fi
14689 else
14690 result=$wxUSE_PROGRESSDLG
14691 fi
14692
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14694 $as_echo "$result" >&6; }
14695
14696
14697 enablestring=
14698 defaultval=$wxUSE_ALL_FEATURES
14699 if test -z "$defaultval"; then
14700 if test x"$enablestring" = xdisable; then
14701 defaultval=yes
14702 else
14703 defaultval=no
14704 fi
14705 fi
14706
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14708 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14709 # Check whether --enable-wizarddlg was given.
14710 if test "${enable_wizarddlg+set}" = set; then :
14711 enableval=$enable_wizarddlg;
14712 if test "$enableval" = yes; then
14713 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14714 else
14715 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14716 fi
14717
14718 else
14719
14720 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14721
14722 fi
14723
14724
14725 eval "$wx_cv_use_wizarddlg"
14726
14727 if test x"$enablestring" = xdisable; then
14728 if test $wxUSE_WIZARDDLG = no; then
14729 result=yes
14730 else
14731 result=no
14732 fi
14733 else
14734 result=$wxUSE_WIZARDDLG
14735 fi
14736
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14738 $as_echo "$result" >&6; }
14739
14740
14741
14742
14743 enablestring=
14744 defaultval=$wxUSE_ALL_FEATURES
14745 if test -z "$defaultval"; then
14746 if test x"$enablestring" = xdisable; then
14747 defaultval=yes
14748 else
14749 defaultval=no
14750 fi
14751 fi
14752
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14754 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14755 # Check whether --enable-menus was given.
14756 if test "${enable_menus+set}" = set; then :
14757 enableval=$enable_menus;
14758 if test "$enableval" = yes; then
14759 wx_cv_use_menus='wxUSE_MENUS=yes'
14760 else
14761 wx_cv_use_menus='wxUSE_MENUS=no'
14762 fi
14763
14764 else
14765
14766 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14767
14768 fi
14769
14770
14771 eval "$wx_cv_use_menus"
14772
14773 if test x"$enablestring" = xdisable; then
14774 if test $wxUSE_MENUS = no; then
14775 result=yes
14776 else
14777 result=no
14778 fi
14779 else
14780 result=$wxUSE_MENUS
14781 fi
14782
14783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14784 $as_echo "$result" >&6; }
14785
14786
14787 enablestring=
14788 defaultval=$wxUSE_ALL_FEATURES
14789 if test -z "$defaultval"; then
14790 if test x"$enablestring" = xdisable; then
14791 defaultval=yes
14792 else
14793 defaultval=no
14794 fi
14795 fi
14796
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
14798 $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
14799 # Check whether --enable-miniframe was given.
14800 if test "${enable_miniframe+set}" = set; then :
14801 enableval=$enable_miniframe;
14802 if test "$enableval" = yes; then
14803 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14804 else
14805 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14806 fi
14807
14808 else
14809
14810 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14811
14812 fi
14813
14814
14815 eval "$wx_cv_use_miniframe"
14816
14817 if test x"$enablestring" = xdisable; then
14818 if test $wxUSE_MINIFRAME = no; then
14819 result=yes
14820 else
14821 result=no
14822 fi
14823 else
14824 result=$wxUSE_MINIFRAME
14825 fi
14826
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14828 $as_echo "$result" >&6; }
14829
14830
14831 enablestring=
14832 defaultval=$wxUSE_ALL_FEATURES
14833 if test -z "$defaultval"; then
14834 if test x"$enablestring" = xdisable; then
14835 defaultval=yes
14836 else
14837 defaultval=no
14838 fi
14839 fi
14840
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14842 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14843 # Check whether --enable-tooltips was given.
14844 if test "${enable_tooltips+set}" = set; then :
14845 enableval=$enable_tooltips;
14846 if test "$enableval" = yes; then
14847 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14848 else
14849 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14850 fi
14851
14852 else
14853
14854 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14855
14856 fi
14857
14858
14859 eval "$wx_cv_use_tooltips"
14860
14861 if test x"$enablestring" = xdisable; then
14862 if test $wxUSE_TOOLTIPS = no; then
14863 result=yes
14864 else
14865 result=no
14866 fi
14867 else
14868 result=$wxUSE_TOOLTIPS
14869 fi
14870
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14872 $as_echo "$result" >&6; }
14873
14874
14875 enablestring=
14876 defaultval=$wxUSE_ALL_FEATURES
14877 if test -z "$defaultval"; then
14878 if test x"$enablestring" = xdisable; then
14879 defaultval=yes
14880 else
14881 defaultval=no
14882 fi
14883 fi
14884
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14886 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14887 # Check whether --enable-splines was given.
14888 if test "${enable_splines+set}" = set; then :
14889 enableval=$enable_splines;
14890 if test "$enableval" = yes; then
14891 wx_cv_use_splines='wxUSE_SPLINES=yes'
14892 else
14893 wx_cv_use_splines='wxUSE_SPLINES=no'
14894 fi
14895
14896 else
14897
14898 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14899
14900 fi
14901
14902
14903 eval "$wx_cv_use_splines"
14904
14905 if test x"$enablestring" = xdisable; then
14906 if test $wxUSE_SPLINES = no; then
14907 result=yes
14908 else
14909 result=no
14910 fi
14911 else
14912 result=$wxUSE_SPLINES
14913 fi
14914
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14916 $as_echo "$result" >&6; }
14917
14918
14919 enablestring=
14920 defaultval=$wxUSE_ALL_FEATURES
14921 if test -z "$defaultval"; then
14922 if test x"$enablestring" = xdisable; then
14923 defaultval=yes
14924 else
14925 defaultval=no
14926 fi
14927 fi
14928
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
14930 $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
14931 # Check whether --enable-mousewheel was given.
14932 if test "${enable_mousewheel+set}" = set; then :
14933 enableval=$enable_mousewheel;
14934 if test "$enableval" = yes; then
14935 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14936 else
14937 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14938 fi
14939
14940 else
14941
14942 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14943
14944 fi
14945
14946
14947 eval "$wx_cv_use_mousewheel"
14948
14949 if test x"$enablestring" = xdisable; then
14950 if test $wxUSE_MOUSEWHEEL = no; then
14951 result=yes
14952 else
14953 result=no
14954 fi
14955 else
14956 result=$wxUSE_MOUSEWHEEL
14957 fi
14958
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14960 $as_echo "$result" >&6; }
14961
14962
14963 enablestring=
14964 defaultval=$wxUSE_ALL_FEATURES
14965 if test -z "$defaultval"; then
14966 if test x"$enablestring" = xdisable; then
14967 defaultval=yes
14968 else
14969 defaultval=no
14970 fi
14971 fi
14972
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
14974 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
14975 # Check whether --enable-validators was given.
14976 if test "${enable_validators+set}" = set; then :
14977 enableval=$enable_validators;
14978 if test "$enableval" = yes; then
14979 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14980 else
14981 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14982 fi
14983
14984 else
14985
14986 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14987
14988 fi
14989
14990
14991 eval "$wx_cv_use_validators"
14992
14993 if test x"$enablestring" = xdisable; then
14994 if test $wxUSE_VALIDATORS = no; then
14995 result=yes
14996 else
14997 result=no
14998 fi
14999 else
15000 result=$wxUSE_VALIDATORS
15001 fi
15002
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15004 $as_echo "$result" >&6; }
15005
15006
15007 enablestring=
15008 defaultval=$wxUSE_ALL_FEATURES
15009 if test -z "$defaultval"; then
15010 if test x"$enablestring" = xdisable; then
15011 defaultval=yes
15012 else
15013 defaultval=no
15014 fi
15015 fi
15016
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15018 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15019 # Check whether --enable-busyinfo was given.
15020 if test "${enable_busyinfo+set}" = set; then :
15021 enableval=$enable_busyinfo;
15022 if test "$enableval" = yes; then
15023 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
15024 else
15025 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
15026 fi
15027
15028 else
15029
15030 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15031
15032 fi
15033
15034
15035 eval "$wx_cv_use_busyinfo"
15036
15037 if test x"$enablestring" = xdisable; then
15038 if test $wxUSE_BUSYINFO = no; then
15039 result=yes
15040 else
15041 result=no
15042 fi
15043 else
15044 result=$wxUSE_BUSYINFO
15045 fi
15046
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15048 $as_echo "$result" >&6; }
15049
15050
15051 enablestring=
15052 defaultval=$wxUSE_ALL_FEATURES
15053 if test -z "$defaultval"; then
15054 if test x"$enablestring" = xdisable; then
15055 defaultval=yes
15056 else
15057 defaultval=no
15058 fi
15059 fi
15060
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
15062 $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
15063 # Check whether --enable-hotkey was given.
15064 if test "${enable_hotkey+set}" = set; then :
15065 enableval=$enable_hotkey;
15066 if test "$enableval" = yes; then
15067 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15068 else
15069 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15070 fi
15071
15072 else
15073
15074 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15075
15076 fi
15077
15078
15079 eval "$wx_cv_use_hotkey"
15080
15081 if test x"$enablestring" = xdisable; then
15082 if test $wxUSE_HOTKEY = no; then
15083 result=yes
15084 else
15085 result=no
15086 fi
15087 else
15088 result=$wxUSE_HOTKEY
15089 fi
15090
15091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15092 $as_echo "$result" >&6; }
15093
15094
15095 enablestring=
15096 defaultval=$wxUSE_ALL_FEATURES
15097 if test -z "$defaultval"; then
15098 if test x"$enablestring" = xdisable; then
15099 defaultval=yes
15100 else
15101 defaultval=no
15102 fi
15103 fi
15104
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15106 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15107 # Check whether --enable-joystick was given.
15108 if test "${enable_joystick+set}" = set; then :
15109 enableval=$enable_joystick;
15110 if test "$enableval" = yes; then
15111 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
15112 else
15113 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
15114 fi
15115
15116 else
15117
15118 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15119
15120 fi
15121
15122
15123 eval "$wx_cv_use_joystick"
15124
15125 if test x"$enablestring" = xdisable; then
15126 if test $wxUSE_JOYSTICK = no; then
15127 result=yes
15128 else
15129 result=no
15130 fi
15131 else
15132 result=$wxUSE_JOYSTICK
15133 fi
15134
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15136 $as_echo "$result" >&6; }
15137
15138
15139 enablestring=
15140 defaultval=$wxUSE_ALL_FEATURES
15141 if test -z "$defaultval"; then
15142 if test x"$enablestring" = xdisable; then
15143 defaultval=yes
15144 else
15145 defaultval=no
15146 fi
15147 fi
15148
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15150 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15151 # Check whether --enable-metafile was given.
15152 if test "${enable_metafile+set}" = set; then :
15153 enableval=$enable_metafile;
15154 if test "$enableval" = yes; then
15155 wx_cv_use_metafile='wxUSE_METAFILE=yes'
15156 else
15157 wx_cv_use_metafile='wxUSE_METAFILE=no'
15158 fi
15159
15160 else
15161
15162 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15163
15164 fi
15165
15166
15167 eval "$wx_cv_use_metafile"
15168
15169 if test x"$enablestring" = xdisable; then
15170 if test $wxUSE_METAFILE = no; then
15171 result=yes
15172 else
15173 result=no
15174 fi
15175 else
15176 result=$wxUSE_METAFILE
15177 fi
15178
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15180 $as_echo "$result" >&6; }
15181
15182
15183 enablestring=
15184 defaultval=$wxUSE_ALL_FEATURES
15185 if test -z "$defaultval"; then
15186 if test x"$enablestring" = xdisable; then
15187 defaultval=yes
15188 else
15189 defaultval=no
15190 fi
15191 fi
15192
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
15194 $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
15195 # Check whether --enable-dragimage was given.
15196 if test "${enable_dragimage+set}" = set; then :
15197 enableval=$enable_dragimage;
15198 if test "$enableval" = yes; then
15199 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15200 else
15201 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15202 fi
15203
15204 else
15205
15206 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15207
15208 fi
15209
15210
15211 eval "$wx_cv_use_dragimage"
15212
15213 if test x"$enablestring" = xdisable; then
15214 if test $wxUSE_DRAGIMAGE = no; then
15215 result=yes
15216 else
15217 result=no
15218 fi
15219 else
15220 result=$wxUSE_DRAGIMAGE
15221 fi
15222
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15224 $as_echo "$result" >&6; }
15225
15226
15227 enablestring=
15228 defaultval=$wxUSE_ALL_FEATURES
15229 if test -z "$defaultval"; then
15230 if test x"$enablestring" = xdisable; then
15231 defaultval=yes
15232 else
15233 defaultval=no
15234 fi
15235 fi
15236
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15238 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15239 # Check whether --enable-accessibility was given.
15240 if test "${enable_accessibility+set}" = set; then :
15241 enableval=$enable_accessibility;
15242 if test "$enableval" = yes; then
15243 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15244 else
15245 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15246 fi
15247
15248 else
15249
15250 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15251
15252 fi
15253
15254
15255 eval "$wx_cv_use_accessibility"
15256
15257 if test x"$enablestring" = xdisable; then
15258 if test $wxUSE_ACCESSIBILITY = no; then
15259 result=yes
15260 else
15261 result=no
15262 fi
15263 else
15264 result=$wxUSE_ACCESSIBILITY
15265 fi
15266
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15268 $as_echo "$result" >&6; }
15269
15270
15271 enablestring=
15272 defaultval=$wxUSE_ALL_FEATURES
15273 if test -z "$defaultval"; then
15274 if test x"$enablestring" = xdisable; then
15275 defaultval=yes
15276 else
15277 defaultval=no
15278 fi
15279 fi
15280
15281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15282 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15283 # Check whether --enable-uiactionsim was given.
15284 if test "${enable_uiactionsim+set}" = set; then :
15285 enableval=$enable_uiactionsim;
15286 if test "$enableval" = yes; then
15287 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
15288 else
15289 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
15290 fi
15291
15292 else
15293
15294 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15295
15296 fi
15297
15298
15299 eval "$wx_cv_use_uiactionsim"
15300
15301 if test x"$enablestring" = xdisable; then
15302 if test $wxUSE_UIACTIONSIMULATOR = no; then
15303 result=yes
15304 else
15305 result=no
15306 fi
15307 else
15308 result=$wxUSE_UIACTIONSIMULATOR
15309 fi
15310
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15312 $as_echo "$result" >&6; }
15313
15314
15315 enablestring=
15316 defaultval=$wxUSE_ALL_FEATURES
15317 if test -z "$defaultval"; then
15318 if test x"$enablestring" = xdisable; then
15319 defaultval=yes
15320 else
15321 defaultval=no
15322 fi
15323 fi
15324
15325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
15326 $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
15327 # Check whether --enable-dctransform was given.
15328 if test "${enable_dctransform+set}" = set; then :
15329 enableval=$enable_dctransform;
15330 if test "$enableval" = yes; then
15331 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15332 else
15333 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15334 fi
15335
15336 else
15337
15338 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15339
15340 fi
15341
15342
15343 eval "$wx_cv_use_dctransform"
15344
15345 if test x"$enablestring" = xdisable; then
15346 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
15347 result=yes
15348 else
15349 result=no
15350 fi
15351 else
15352 result=$wxUSE_DC_TRANSFORM_MATRIX
15353 fi
15354
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15356 $as_echo "$result" >&6; }
15357
15358
15359 enablestring=
15360 defaultval=$wxUSE_ALL_FEATURES
15361 if test -z "$defaultval"; then
15362 if test x"$enablestring" = xdisable; then
15363 defaultval=yes
15364 else
15365 defaultval=no
15366 fi
15367 fi
15368
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15370 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15371 # Check whether --enable-webviewwebkit was given.
15372 if test "${enable_webviewwebkit+set}" = set; then :
15373 enableval=$enable_webviewwebkit;
15374 if test "$enableval" = yes; then
15375 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
15376 else
15377 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
15378 fi
15379
15380 else
15381
15382 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15383
15384 fi
15385
15386
15387 eval "$wx_cv_use_webviewwebkit"
15388
15389 if test x"$enablestring" = xdisable; then
15390 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15391 result=yes
15392 else
15393 result=no
15394 fi
15395 else
15396 result=$wxUSE_WEBVIEW_WEBKIT
15397 fi
15398
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15400 $as_echo "$result" >&6; }
15401
15402
15403
15404
15405 enablestring=
15406 defaultval=$wxUSE_ALL_FEATURES
15407 if test -z "$defaultval"; then
15408 if test x"$enablestring" = xdisable; then
15409 defaultval=yes
15410 else
15411 defaultval=no
15412 fi
15413 fi
15414
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15416 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15417 # Check whether --enable-palette was given.
15418 if test "${enable_palette+set}" = set; then :
15419 enableval=$enable_palette;
15420 if test "$enableval" = yes; then
15421 wx_cv_use_palette='wxUSE_PALETTE=yes'
15422 else
15423 wx_cv_use_palette='wxUSE_PALETTE=no'
15424 fi
15425
15426 else
15427
15428 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15429
15430 fi
15431
15432
15433 eval "$wx_cv_use_palette"
15434
15435 if test x"$enablestring" = xdisable; then
15436 if test $wxUSE_PALETTE = no; then
15437 result=yes
15438 else
15439 result=no
15440 fi
15441 else
15442 result=$wxUSE_PALETTE
15443 fi
15444
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15446 $as_echo "$result" >&6; }
15447
15448
15449 enablestring=
15450 defaultval=$wxUSE_ALL_FEATURES
15451 if test -z "$defaultval"; then
15452 if test x"$enablestring" = xdisable; then
15453 defaultval=yes
15454 else
15455 defaultval=no
15456 fi
15457 fi
15458
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
15460 $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
15461 # Check whether --enable-image was given.
15462 if test "${enable_image+set}" = set; then :
15463 enableval=$enable_image;
15464 if test "$enableval" = yes; then
15465 wx_cv_use_image='wxUSE_IMAGE=yes'
15466 else
15467 wx_cv_use_image='wxUSE_IMAGE=no'
15468 fi
15469
15470 else
15471
15472 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15473
15474 fi
15475
15476
15477 eval "$wx_cv_use_image"
15478
15479 if test x"$enablestring" = xdisable; then
15480 if test $wxUSE_IMAGE = no; then
15481 result=yes
15482 else
15483 result=no
15484 fi
15485 else
15486 result=$wxUSE_IMAGE
15487 fi
15488
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15490 $as_echo "$result" >&6; }
15491
15492
15493 enablestring=
15494 defaultval=$wxUSE_ALL_FEATURES
15495 if test -z "$defaultval"; then
15496 if test x"$enablestring" = xdisable; then
15497 defaultval=yes
15498 else
15499 defaultval=no
15500 fi
15501 fi
15502
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15504 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15505 # Check whether --enable-gif was given.
15506 if test "${enable_gif+set}" = set; then :
15507 enableval=$enable_gif;
15508 if test "$enableval" = yes; then
15509 wx_cv_use_gif='wxUSE_GIF=yes'
15510 else
15511 wx_cv_use_gif='wxUSE_GIF=no'
15512 fi
15513
15514 else
15515
15516 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15517
15518 fi
15519
15520
15521 eval "$wx_cv_use_gif"
15522
15523 if test x"$enablestring" = xdisable; then
15524 if test $wxUSE_GIF = no; then
15525 result=yes
15526 else
15527 result=no
15528 fi
15529 else
15530 result=$wxUSE_GIF
15531 fi
15532
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15534 $as_echo "$result" >&6; }
15535
15536
15537 enablestring=
15538 defaultval=$wxUSE_ALL_FEATURES
15539 if test -z "$defaultval"; then
15540 if test x"$enablestring" = xdisable; then
15541 defaultval=yes
15542 else
15543 defaultval=no
15544 fi
15545 fi
15546
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15548 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15549 # Check whether --enable-pcx was given.
15550 if test "${enable_pcx+set}" = set; then :
15551 enableval=$enable_pcx;
15552 if test "$enableval" = yes; then
15553 wx_cv_use_pcx='wxUSE_PCX=yes'
15554 else
15555 wx_cv_use_pcx='wxUSE_PCX=no'
15556 fi
15557
15558 else
15559
15560 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15561
15562 fi
15563
15564
15565 eval "$wx_cv_use_pcx"
15566
15567 if test x"$enablestring" = xdisable; then
15568 if test $wxUSE_PCX = no; then
15569 result=yes
15570 else
15571 result=no
15572 fi
15573 else
15574 result=$wxUSE_PCX
15575 fi
15576
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15578 $as_echo "$result" >&6; }
15579
15580
15581 enablestring=
15582 defaultval=$wxUSE_ALL_FEATURES
15583 if test -z "$defaultval"; then
15584 if test x"$enablestring" = xdisable; then
15585 defaultval=yes
15586 else
15587 defaultval=no
15588 fi
15589 fi
15590
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
15592 $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
15593 # Check whether --enable-tga was given.
15594 if test "${enable_tga+set}" = set; then :
15595 enableval=$enable_tga;
15596 if test "$enableval" = yes; then
15597 wx_cv_use_tga='wxUSE_TGA=yes'
15598 else
15599 wx_cv_use_tga='wxUSE_TGA=no'
15600 fi
15601
15602 else
15603
15604 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15605
15606 fi
15607
15608
15609 eval "$wx_cv_use_tga"
15610
15611 if test x"$enablestring" = xdisable; then
15612 if test $wxUSE_TGA = no; then
15613 result=yes
15614 else
15615 result=no
15616 fi
15617 else
15618 result=$wxUSE_TGA
15619 fi
15620
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15622 $as_echo "$result" >&6; }
15623
15624
15625 enablestring=
15626 defaultval=$wxUSE_ALL_FEATURES
15627 if test -z "$defaultval"; then
15628 if test x"$enablestring" = xdisable; then
15629 defaultval=yes
15630 else
15631 defaultval=no
15632 fi
15633 fi
15634
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15636 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15637 # Check whether --enable-iff was given.
15638 if test "${enable_iff+set}" = set; then :
15639 enableval=$enable_iff;
15640 if test "$enableval" = yes; then
15641 wx_cv_use_iff='wxUSE_IFF=yes'
15642 else
15643 wx_cv_use_iff='wxUSE_IFF=no'
15644 fi
15645
15646 else
15647
15648 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15649
15650 fi
15651
15652
15653 eval "$wx_cv_use_iff"
15654
15655 if test x"$enablestring" = xdisable; then
15656 if test $wxUSE_IFF = no; then
15657 result=yes
15658 else
15659 result=no
15660 fi
15661 else
15662 result=$wxUSE_IFF
15663 fi
15664
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15666 $as_echo "$result" >&6; }
15667
15668
15669 enablestring=
15670 defaultval=$wxUSE_ALL_FEATURES
15671 if test -z "$defaultval"; then
15672 if test x"$enablestring" = xdisable; then
15673 defaultval=yes
15674 else
15675 defaultval=no
15676 fi
15677 fi
15678
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15680 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15681 # Check whether --enable-pnm was given.
15682 if test "${enable_pnm+set}" = set; then :
15683 enableval=$enable_pnm;
15684 if test "$enableval" = yes; then
15685 wx_cv_use_pnm='wxUSE_PNM=yes'
15686 else
15687 wx_cv_use_pnm='wxUSE_PNM=no'
15688 fi
15689
15690 else
15691
15692 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15693
15694 fi
15695
15696
15697 eval "$wx_cv_use_pnm"
15698
15699 if test x"$enablestring" = xdisable; then
15700 if test $wxUSE_PNM = no; then
15701 result=yes
15702 else
15703 result=no
15704 fi
15705 else
15706 result=$wxUSE_PNM
15707 fi
15708
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15710 $as_echo "$result" >&6; }
15711
15712
15713 enablestring=
15714 defaultval=$wxUSE_ALL_FEATURES
15715 if test -z "$defaultval"; then
15716 if test x"$enablestring" = xdisable; then
15717 defaultval=yes
15718 else
15719 defaultval=no
15720 fi
15721 fi
15722
15723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
15724 $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
15725 # Check whether --enable-xpm was given.
15726 if test "${enable_xpm+set}" = set; then :
15727 enableval=$enable_xpm;
15728 if test "$enableval" = yes; then
15729 wx_cv_use_xpm='wxUSE_XPM=yes'
15730 else
15731 wx_cv_use_xpm='wxUSE_XPM=no'
15732 fi
15733
15734 else
15735
15736 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15737
15738 fi
15739
15740
15741 eval "$wx_cv_use_xpm"
15742
15743 if test x"$enablestring" = xdisable; then
15744 if test $wxUSE_XPM = no; then
15745 result=yes
15746 else
15747 result=no
15748 fi
15749 else
15750 result=$wxUSE_XPM
15751 fi
15752
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15754 $as_echo "$result" >&6; }
15755
15756
15757 enablestring=
15758 defaultval=$wxUSE_ALL_FEATURES
15759 if test -z "$defaultval"; then
15760 if test x"$enablestring" = xdisable; then
15761 defaultval=yes
15762 else
15763 defaultval=no
15764 fi
15765 fi
15766
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15768 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15769 # Check whether --enable-ico_cur was given.
15770 if test "${enable_ico_cur+set}" = set; then :
15771 enableval=$enable_ico_cur;
15772 if test "$enableval" = yes; then
15773 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15774 else
15775 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15776 fi
15777
15778 else
15779
15780 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15781
15782 fi
15783
15784
15785 eval "$wx_cv_use_ico_cur"
15786
15787 if test x"$enablestring" = xdisable; then
15788 if test $wxUSE_ICO_CUR = no; then
15789 result=yes
15790 else
15791 result=no
15792 fi
15793 else
15794 result=$wxUSE_ICO_CUR
15795 fi
15796
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15798 $as_echo "$result" >&6; }
15799
15800
15801
15802
15803 enablestring=
15804 defaultval=$wxUSE_ALL_FEATURES
15805 if test -z "$defaultval"; then
15806 if test x"$enablestring" = xdisable; then
15807 defaultval=yes
15808 else
15809 defaultval=no
15810 fi
15811 fi
15812
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15814 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15815 # Check whether --enable-dccache was given.
15816 if test "${enable_dccache+set}" = set; then :
15817 enableval=$enable_dccache;
15818 if test "$enableval" = yes; then
15819 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15820 else
15821 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15822 fi
15823
15824 else
15825
15826 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15827
15828 fi
15829
15830
15831 eval "$wx_cv_use_dccache"
15832
15833 if test x"$enablestring" = xdisable; then
15834 if test $wxUSE_DC_CACHEING = no; then
15835 result=yes
15836 else
15837 result=no
15838 fi
15839 else
15840 result=$wxUSE_DC_CACHEING
15841 fi
15842
15843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15844 $as_echo "$result" >&6; }
15845
15846
15847 enablestring=
15848 defaultval=$wxUSE_ALL_FEATURES
15849 if test -z "$defaultval"; then
15850 if test x"$enablestring" = xdisable; then
15851 defaultval=yes
15852 else
15853 defaultval=no
15854 fi
15855 fi
15856
15857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
15858 $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
15859 # Check whether --enable-ps-in-msw was given.
15860 if test "${enable_ps_in_msw+set}" = set; then :
15861 enableval=$enable_ps_in_msw;
15862 if test "$enableval" = yes; then
15863 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15864 else
15865 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15866 fi
15867
15868 else
15869
15870 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15871
15872 fi
15873
15874
15875 eval "$wx_cv_use_ps_in_msw"
15876
15877 if test x"$enablestring" = xdisable; then
15878 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
15879 result=yes
15880 else
15881 result=no
15882 fi
15883 else
15884 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15885 fi
15886
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15888 $as_echo "$result" >&6; }
15889
15890
15891 enablestring=
15892 defaultval=$wxUSE_ALL_FEATURES
15893 if test -z "$defaultval"; then
15894 if test x"$enablestring" = xdisable; then
15895 defaultval=yes
15896 else
15897 defaultval=no
15898 fi
15899 fi
15900
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
15902 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
15903 # Check whether --enable-ownerdrawn was given.
15904 if test "${enable_ownerdrawn+set}" = set; then :
15905 enableval=$enable_ownerdrawn;
15906 if test "$enableval" = yes; then
15907 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15908 else
15909 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15910 fi
15911
15912 else
15913
15914 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15915
15916 fi
15917
15918
15919 eval "$wx_cv_use_ownerdrawn"
15920
15921 if test x"$enablestring" = xdisable; then
15922 if test $wxUSE_OWNER_DRAWN = no; then
15923 result=yes
15924 else
15925 result=no
15926 fi
15927 else
15928 result=$wxUSE_OWNER_DRAWN
15929 fi
15930
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15932 $as_echo "$result" >&6; }
15933
15934
15935 enablestring=
15936 defaultval=$wxUSE_ALL_FEATURES
15937 if test -z "$defaultval"; then
15938 if test x"$enablestring" = xdisable; then
15939 defaultval=yes
15940 else
15941 defaultval=no
15942 fi
15943 fi
15944
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
15946 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
15947 # Check whether --enable-uxtheme was given.
15948 if test "${enable_uxtheme+set}" = set; then :
15949 enableval=$enable_uxtheme;
15950 if test "$enableval" = yes; then
15951 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15952 else
15953 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15954 fi
15955
15956 else
15957
15958 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15959
15960 fi
15961
15962
15963 eval "$wx_cv_use_uxtheme"
15964
15965 if test x"$enablestring" = xdisable; then
15966 if test $wxUSE_UXTHEME = no; then
15967 result=yes
15968 else
15969 result=no
15970 fi
15971 else
15972 result=$wxUSE_UXTHEME
15973 fi
15974
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15976 $as_echo "$result" >&6; }
15977
15978
15979 enablestring=
15980 defaultval=$wxUSE_ALL_FEATURES
15981 if test -z "$defaultval"; then
15982 if test x"$enablestring" = xdisable; then
15983 defaultval=yes
15984 else
15985 defaultval=no
15986 fi
15987 fi
15988
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
15990 $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
15991 # Check whether --enable-wxdib was given.
15992 if test "${enable_wxdib+set}" = set; then :
15993 enableval=$enable_wxdib;
15994 if test "$enableval" = yes; then
15995 wx_cv_use_wxdib='wxUSE_DIB=yes'
15996 else
15997 wx_cv_use_wxdib='wxUSE_DIB=no'
15998 fi
15999
16000 else
16001
16002 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16003
16004 fi
16005
16006
16007 eval "$wx_cv_use_wxdib"
16008
16009 if test x"$enablestring" = xdisable; then
16010 if test $wxUSE_DIB = no; then
16011 result=yes
16012 else
16013 result=no
16014 fi
16015 else
16016 result=$wxUSE_DIB
16017 fi
16018
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16020 $as_echo "$result" >&6; }
16021
16022
16023 enablestring=
16024 defaultval=$wxUSE_ALL_FEATURES
16025 if test -z "$defaultval"; then
16026 if test x"$enablestring" = xdisable; then
16027 defaultval=yes
16028 else
16029 defaultval=no
16030 fi
16031 fi
16032
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16034 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16035 # Check whether --enable-webviewie was given.
16036 if test "${enable_webviewie+set}" = set; then :
16037 enableval=$enable_webviewie;
16038 if test "$enableval" = yes; then
16039 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
16040 else
16041 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
16042 fi
16043
16044 else
16045
16046 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16047
16048 fi
16049
16050
16051 eval "$wx_cv_use_webviewie"
16052
16053 if test x"$enablestring" = xdisable; then
16054 if test $wxUSE_WEBVIEW_IE = no; then
16055 result=yes
16056 else
16057 result=no
16058 fi
16059 else
16060 result=$wxUSE_WEBVIEW_IE
16061 fi
16062
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16064 $as_echo "$result" >&6; }
16065
16066
16067 if test "$wxUSE_MSW" != 1; then
16068 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16069 fi
16070
16071
16072 enablestring=
16073 defaultval=$wxUSE_ALL_FEATURES
16074 if test -z "$defaultval"; then
16075 if test x"$enablestring" = xdisable; then
16076 defaultval=yes
16077 else
16078 defaultval=no
16079 fi
16080 fi
16081
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16083 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16084 # Check whether --enable-autoidman was given.
16085 if test "${enable_autoidman+set}" = set; then :
16086 enableval=$enable_autoidman;
16087 if test "$enableval" = yes; then
16088 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
16089 else
16090 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
16091 fi
16092
16093 else
16094
16095 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16096
16097 fi
16098
16099
16100 eval "$wx_cv_use_autoidman"
16101
16102 if test x"$enablestring" = xdisable; then
16103 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16104 result=yes
16105 else
16106 result=no
16107 fi
16108 else
16109 result=$wxUSE_AUTOID_MANAGEMENT
16110 fi
16111
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16113 $as_echo "$result" >&6; }
16114
16115
16116 fi
16117
16118
16119 cat >confcache <<\_ACEOF
16120 # This file is a shell script that caches the results of configure
16121 # tests run on this system so they can be shared between configure
16122 # scripts and configure runs, see configure's option --config-cache.
16123 # It is not useful on other systems. If it contains results you don't
16124 # want to keep, you may remove or edit it.
16125 #
16126 # config.status only pays attention to the cache file if you give it
16127 # the --recheck option to rerun configure.
16128 #
16129 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16130 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16131 # following values.
16132
16133 _ACEOF
16134
16135 # The following way of writing the cache mishandles newlines in values,
16136 # but we know of no workaround that is simple, portable, and efficient.
16137 # So, we kill variables containing newlines.
16138 # Ultrix sh set writes to stderr and can't be redirected directly,
16139 # and sets the high bit in the cache file unless we assign to the vars.
16140 (
16141 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16142 eval ac_val=\$$ac_var
16143 case $ac_val in #(
16144 *${as_nl}*)
16145 case $ac_var in #(
16146 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16147 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16148 esac
16149 case $ac_var in #(
16150 _ | IFS | as_nl) ;; #(
16151 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16152 *) { eval $ac_var=; unset $ac_var;} ;;
16153 esac ;;
16154 esac
16155 done
16156
16157 (set) 2>&1 |
16158 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16159 *${as_nl}ac_space=\ *)
16160 # `set' does not quote correctly, so add quotes: double-quote
16161 # substitution turns \\\\ into \\, and sed turns \\ into \.
16162 sed -n \
16163 "s/'/'\\\\''/g;
16164 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16165 ;; #(
16166 *)
16167 # `set' quotes correctly as required by POSIX, so do not add quotes.
16168 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16169 ;;
16170 esac |
16171 sort
16172 ) |
16173 sed '
16174 /^ac_cv_env_/b end
16175 t clear
16176 :clear
16177 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16178 t end
16179 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16180 :end' >>confcache
16181 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16182 if test -w "$cache_file"; then
16183 test "x$cache_file" != "x/dev/null" &&
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16185 $as_echo "$as_me: updating cache $cache_file" >&6;}
16186 cat confcache >$cache_file
16187 else
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16189 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16190 fi
16191 fi
16192 rm -f confcache
16193
16194 CFLAGS=${CFLAGS:=}
16195 ac_ext=c
16196 ac_cpp='$CPP $CPPFLAGS'
16197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16200 if test -n "$ac_tool_prefix"; then
16201 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16202 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16204 $as_echo_n "checking for $ac_word... " >&6; }
16205 if test "${ac_cv_prog_CC+set}" = set; then :
16206 $as_echo_n "(cached) " >&6
16207 else
16208 if test -n "$CC"; then
16209 ac_cv_prog_CC="$CC" # Let the user override the test.
16210 else
16211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16212 for as_dir in $PATH
16213 do
16214 IFS=$as_save_IFS
16215 test -z "$as_dir" && as_dir=.
16216 for ac_exec_ext in '' $ac_executable_extensions; do
16217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16218 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16220 break 2
16221 fi
16222 done
16223 done
16224 IFS=$as_save_IFS
16225
16226 fi
16227 fi
16228 CC=$ac_cv_prog_CC
16229 if test -n "$CC"; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16231 $as_echo "$CC" >&6; }
16232 else
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16234 $as_echo "no" >&6; }
16235 fi
16236
16237
16238 fi
16239 if test -z "$ac_cv_prog_CC"; then
16240 ac_ct_CC=$CC
16241 # Extract the first word of "gcc", so it can be a program name with args.
16242 set dummy gcc; ac_word=$2
16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16244 $as_echo_n "checking for $ac_word... " >&6; }
16245 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16246 $as_echo_n "(cached) " >&6
16247 else
16248 if test -n "$ac_ct_CC"; then
16249 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16250 else
16251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16252 for as_dir in $PATH
16253 do
16254 IFS=$as_save_IFS
16255 test -z "$as_dir" && as_dir=.
16256 for ac_exec_ext in '' $ac_executable_extensions; do
16257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16258 ac_cv_prog_ac_ct_CC="gcc"
16259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16260 break 2
16261 fi
16262 done
16263 done
16264 IFS=$as_save_IFS
16265
16266 fi
16267 fi
16268 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16269 if test -n "$ac_ct_CC"; then
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16271 $as_echo "$ac_ct_CC" >&6; }
16272 else
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16274 $as_echo "no" >&6; }
16275 fi
16276
16277 if test "x$ac_ct_CC" = x; then
16278 CC=""
16279 else
16280 case $cross_compiling:$ac_tool_warned in
16281 yes:)
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16284 ac_tool_warned=yes ;;
16285 esac
16286 CC=$ac_ct_CC
16287 fi
16288 else
16289 CC="$ac_cv_prog_CC"
16290 fi
16291
16292 if test -z "$CC"; then
16293 if test -n "$ac_tool_prefix"; then
16294 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16295 set dummy ${ac_tool_prefix}cc; ac_word=$2
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16297 $as_echo_n "checking for $ac_word... " >&6; }
16298 if test "${ac_cv_prog_CC+set}" = set; then :
16299 $as_echo_n "(cached) " >&6
16300 else
16301 if test -n "$CC"; then
16302 ac_cv_prog_CC="$CC" # Let the user override the test.
16303 else
16304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16305 for as_dir in $PATH
16306 do
16307 IFS=$as_save_IFS
16308 test -z "$as_dir" && as_dir=.
16309 for ac_exec_ext in '' $ac_executable_extensions; do
16310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16311 ac_cv_prog_CC="${ac_tool_prefix}cc"
16312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16313 break 2
16314 fi
16315 done
16316 done
16317 IFS=$as_save_IFS
16318
16319 fi
16320 fi
16321 CC=$ac_cv_prog_CC
16322 if test -n "$CC"; then
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16324 $as_echo "$CC" >&6; }
16325 else
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16327 $as_echo "no" >&6; }
16328 fi
16329
16330
16331 fi
16332 fi
16333 if test -z "$CC"; then
16334 # Extract the first word of "cc", so it can be a program name with args.
16335 set dummy cc; ac_word=$2
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16337 $as_echo_n "checking for $ac_word... " >&6; }
16338 if test "${ac_cv_prog_CC+set}" = set; then :
16339 $as_echo_n "(cached) " >&6
16340 else
16341 if test -n "$CC"; then
16342 ac_cv_prog_CC="$CC" # Let the user override the test.
16343 else
16344 ac_prog_rejected=no
16345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16346 for as_dir in $PATH
16347 do
16348 IFS=$as_save_IFS
16349 test -z "$as_dir" && as_dir=.
16350 for ac_exec_ext in '' $ac_executable_extensions; do
16351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16352 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16353 ac_prog_rejected=yes
16354 continue
16355 fi
16356 ac_cv_prog_CC="cc"
16357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16358 break 2
16359 fi
16360 done
16361 done
16362 IFS=$as_save_IFS
16363
16364 if test $ac_prog_rejected = yes; then
16365 # We found a bogon in the path, so make sure we never use it.
16366 set dummy $ac_cv_prog_CC
16367 shift
16368 if test $# != 0; then
16369 # We chose a different compiler from the bogus one.
16370 # However, it has the same basename, so the bogon will be chosen
16371 # first if we set CC to just the basename; use the full file name.
16372 shift
16373 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16374 fi
16375 fi
16376 fi
16377 fi
16378 CC=$ac_cv_prog_CC
16379 if test -n "$CC"; then
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16381 $as_echo "$CC" >&6; }
16382 else
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16384 $as_echo "no" >&6; }
16385 fi
16386
16387
16388 fi
16389 if test -z "$CC"; then
16390 if test -n "$ac_tool_prefix"; then
16391 for ac_prog in cl.exe
16392 do
16393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16394 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16396 $as_echo_n "checking for $ac_word... " >&6; }
16397 if test "${ac_cv_prog_CC+set}" = set; then :
16398 $as_echo_n "(cached) " >&6
16399 else
16400 if test -n "$CC"; then
16401 ac_cv_prog_CC="$CC" # Let the user override the test.
16402 else
16403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16404 for as_dir in $PATH
16405 do
16406 IFS=$as_save_IFS
16407 test -z "$as_dir" && as_dir=.
16408 for ac_exec_ext in '' $ac_executable_extensions; do
16409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16410 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16412 break 2
16413 fi
16414 done
16415 done
16416 IFS=$as_save_IFS
16417
16418 fi
16419 fi
16420 CC=$ac_cv_prog_CC
16421 if test -n "$CC"; then
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16423 $as_echo "$CC" >&6; }
16424 else
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426 $as_echo "no" >&6; }
16427 fi
16428
16429
16430 test -n "$CC" && break
16431 done
16432 fi
16433 if test -z "$CC"; then
16434 ac_ct_CC=$CC
16435 for ac_prog in cl.exe
16436 do
16437 # Extract the first word of "$ac_prog", so it can be a program name with args.
16438 set dummy $ac_prog; ac_word=$2
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16440 $as_echo_n "checking for $ac_word... " >&6; }
16441 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16442 $as_echo_n "(cached) " >&6
16443 else
16444 if test -n "$ac_ct_CC"; then
16445 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16446 else
16447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16448 for as_dir in $PATH
16449 do
16450 IFS=$as_save_IFS
16451 test -z "$as_dir" && as_dir=.
16452 for ac_exec_ext in '' $ac_executable_extensions; do
16453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16454 ac_cv_prog_ac_ct_CC="$ac_prog"
16455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16456 break 2
16457 fi
16458 done
16459 done
16460 IFS=$as_save_IFS
16461
16462 fi
16463 fi
16464 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16465 if test -n "$ac_ct_CC"; then
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16467 $as_echo "$ac_ct_CC" >&6; }
16468 else
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16470 $as_echo "no" >&6; }
16471 fi
16472
16473
16474 test -n "$ac_ct_CC" && break
16475 done
16476
16477 if test "x$ac_ct_CC" = x; then
16478 CC=""
16479 else
16480 case $cross_compiling:$ac_tool_warned in
16481 yes:)
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16484 ac_tool_warned=yes ;;
16485 esac
16486 CC=$ac_ct_CC
16487 fi
16488 fi
16489
16490 fi
16491
16492
16493 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16495 as_fn_error $? "no acceptable C compiler found in \$PATH
16496 See \`config.log' for more details" "$LINENO" 5 ; }
16497
16498 # Provide some information about the compiler.
16499 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16500 set X $ac_compile
16501 ac_compiler=$2
16502 for ac_option in --version -v -V -qversion; do
16503 { { ac_try="$ac_compiler $ac_option >&5"
16504 case "(($ac_try" in
16505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16506 *) ac_try_echo=$ac_try;;
16507 esac
16508 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16509 $as_echo "$ac_try_echo"; } >&5
16510 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16511 ac_status=$?
16512 if test -s conftest.err; then
16513 sed '10a\
16514 ... rest of stderr output deleted ...
16515 10q' conftest.err >conftest.er1
16516 cat conftest.er1 >&5
16517 fi
16518 rm -f conftest.er1 conftest.err
16519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16520 test $ac_status = 0; }
16521 done
16522
16523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16524 /* end confdefs.h. */
16525
16526 int
16527 main ()
16528 {
16529
16530 ;
16531 return 0;
16532 }
16533 _ACEOF
16534 ac_clean_files_save=$ac_clean_files
16535 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
16536 # Try to create an executable without -o first, disregard a.out.
16537 # It will help us diagnose broken compilers, and finding out an intuition
16538 # of exeext.
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
16540 $as_echo_n "checking whether the C compiler works... " >&6; }
16541 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16542
16543 # The possible output files:
16544 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
16545
16546 ac_rmfiles=
16547 for ac_file in $ac_files
16548 do
16549 case $ac_file in
16550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16551 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16552 esac
16553 done
16554 rm -f $ac_rmfiles
16555
16556 if { { ac_try="$ac_link_default"
16557 case "(($ac_try" in
16558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16559 *) ac_try_echo=$ac_try;;
16560 esac
16561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16562 $as_echo "$ac_try_echo"; } >&5
16563 (eval "$ac_link_default") 2>&5
16564 ac_status=$?
16565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16566 test $ac_status = 0; }; then :
16567 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16568 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16569 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16570 # so that the user can short-circuit this test for compilers unknown to
16571 # Autoconf.
16572 for ac_file in $ac_files ''
16573 do
16574 test -f "$ac_file" || continue
16575 case $ac_file in
16576 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16577 ;;
16578 [ab].out )
16579 # We found the default executable, but exeext='' is most
16580 # certainly right.
16581 break;;
16582 *.* )
16583 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16584 then :; else
16585 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16586 fi
16587 # We set ac_cv_exeext here because the later test for it is not
16588 # safe: cross compilers may not add the suffix if given an `-o'
16589 # argument, so we may need to know it at that point already.
16590 # Even if this section looks crufty: it has the advantage of
16591 # actually working.
16592 break;;
16593 * )
16594 break;;
16595 esac
16596 done
16597 test "$ac_cv_exeext" = no && ac_cv_exeext=
16598
16599 else
16600 ac_file=''
16601 fi
16602 if test -z "$ac_file"; then :
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16604 $as_echo "no" >&6; }
16605 $as_echo "$as_me: failed program was:" >&5
16606 sed 's/^/| /' conftest.$ac_ext >&5
16607
16608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16610 as_fn_error 77 "C compiler cannot create executables
16611 See \`config.log' for more details" "$LINENO" 5 ; }
16612 else
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16614 $as_echo "yes" >&6; }
16615 fi
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
16617 $as_echo_n "checking for C compiler default output file name... " >&6; }
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
16619 $as_echo "$ac_file" >&6; }
16620 ac_exeext=$ac_cv_exeext
16621
16622 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16623 ac_clean_files=$ac_clean_files_save
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
16625 $as_echo_n "checking for suffix of executables... " >&6; }
16626 if { { ac_try="$ac_link"
16627 case "(($ac_try" in
16628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16629 *) ac_try_echo=$ac_try;;
16630 esac
16631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16632 $as_echo "$ac_try_echo"; } >&5
16633 (eval "$ac_link") 2>&5
16634 ac_status=$?
16635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16636 test $ac_status = 0; }; then :
16637 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16638 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16639 # work properly (i.e., refer to `conftest.exe'), while it won't with
16640 # `rm'.
16641 for ac_file in conftest.exe conftest conftest.*; do
16642 test -f "$ac_file" || continue
16643 case $ac_file in
16644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16645 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16646 break;;
16647 * ) break;;
16648 esac
16649 done
16650 else
16651 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16652 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16653 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
16654 See \`config.log' for more details" "$LINENO" 5 ; }
16655 fi
16656 rm -f conftest conftest$ac_cv_exeext
16657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
16658 $as_echo "$ac_cv_exeext" >&6; }
16659
16660 rm -f conftest.$ac_ext
16661 EXEEXT=$ac_cv_exeext
16662 ac_exeext=$EXEEXT
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <stdio.h>
16666 int
16667 main ()
16668 {
16669 FILE *f = fopen ("conftest.out", "w");
16670 return ferror (f) || fclose (f) != 0;
16671
16672 ;
16673 return 0;
16674 }
16675 _ACEOF
16676 ac_clean_files="$ac_clean_files conftest.out"
16677 # Check that the compiler produces executables we can run. If not, either
16678 # the compiler is broken, or we cross compile.
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
16680 $as_echo_n "checking whether we are cross compiling... " >&6; }
16681 if test "$cross_compiling" != yes; then
16682 { { ac_try="$ac_link"
16683 case "(($ac_try" in
16684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16685 *) ac_try_echo=$ac_try;;
16686 esac
16687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16688 $as_echo "$ac_try_echo"; } >&5
16689 (eval "$ac_link") 2>&5
16690 ac_status=$?
16691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16692 test $ac_status = 0; }
16693 if { ac_try='./conftest$ac_cv_exeext'
16694 { { case "(($ac_try" in
16695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16696 *) ac_try_echo=$ac_try;;
16697 esac
16698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16699 $as_echo "$ac_try_echo"; } >&5
16700 (eval "$ac_try") 2>&5
16701 ac_status=$?
16702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16703 test $ac_status = 0; }; }; then
16704 cross_compiling=no
16705 else
16706 if test "$cross_compiling" = maybe; then
16707 cross_compiling=yes
16708 else
16709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16711 as_fn_error $? "cannot run C compiled programs.
16712 If you meant to cross compile, use \`--host'.
16713 See \`config.log' for more details" "$LINENO" 5 ; }
16714 fi
16715 fi
16716 fi
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16718 $as_echo "$cross_compiling" >&6; }
16719
16720 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16721 ac_clean_files=$ac_clean_files_save
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16723 $as_echo_n "checking for suffix of object files... " >&6; }
16724 if test "${ac_cv_objext+set}" = set; then :
16725 $as_echo_n "(cached) " >&6
16726 else
16727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16728 /* end confdefs.h. */
16729
16730 int
16731 main ()
16732 {
16733
16734 ;
16735 return 0;
16736 }
16737 _ACEOF
16738 rm -f conftest.o conftest.obj
16739 if { { ac_try="$ac_compile"
16740 case "(($ac_try" in
16741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16742 *) ac_try_echo=$ac_try;;
16743 esac
16744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16745 $as_echo "$ac_try_echo"; } >&5
16746 (eval "$ac_compile") 2>&5
16747 ac_status=$?
16748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16749 test $ac_status = 0; }; then :
16750 for ac_file in conftest.o conftest.obj conftest.*; do
16751 test -f "$ac_file" || continue;
16752 case $ac_file in
16753 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
16754 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16755 break;;
16756 esac
16757 done
16758 else
16759 $as_echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16761
16762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16764 as_fn_error $? "cannot compute suffix of object files: cannot compile
16765 See \`config.log' for more details" "$LINENO" 5 ; }
16766 fi
16767 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16768 fi
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16770 $as_echo "$ac_cv_objext" >&6; }
16771 OBJEXT=$ac_cv_objext
16772 ac_objext=$OBJEXT
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16774 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16775 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16776 $as_echo_n "(cached) " >&6
16777 else
16778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16779 /* end confdefs.h. */
16780
16781 int
16782 main ()
16783 {
16784 #ifndef __GNUC__
16785 choke me
16786 #endif
16787
16788 ;
16789 return 0;
16790 }
16791 _ACEOF
16792 if ac_fn_c_try_compile "$LINENO"; then :
16793 ac_compiler_gnu=yes
16794 else
16795 ac_compiler_gnu=no
16796 fi
16797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16798 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16799
16800 fi
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16802 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16803 if test $ac_compiler_gnu = yes; then
16804 GCC=yes
16805 else
16806 GCC=
16807 fi
16808 ac_test_CFLAGS=${CFLAGS+set}
16809 ac_save_CFLAGS=$CFLAGS
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16811 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16812 if test "${ac_cv_prog_cc_g+set}" = set; then :
16813 $as_echo_n "(cached) " >&6
16814 else
16815 ac_save_c_werror_flag=$ac_c_werror_flag
16816 ac_c_werror_flag=yes
16817 ac_cv_prog_cc_g=no
16818 CFLAGS="-g"
16819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16820 /* end confdefs.h. */
16821
16822 int
16823 main ()
16824 {
16825
16826 ;
16827 return 0;
16828 }
16829 _ACEOF
16830 if ac_fn_c_try_compile "$LINENO"; then :
16831 ac_cv_prog_cc_g=yes
16832 else
16833 CFLAGS=""
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16836
16837 int
16838 main ()
16839 {
16840
16841 ;
16842 return 0;
16843 }
16844 _ACEOF
16845 if ac_fn_c_try_compile "$LINENO"; then :
16846
16847 else
16848 ac_c_werror_flag=$ac_save_c_werror_flag
16849 CFLAGS="-g"
16850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16851 /* end confdefs.h. */
16852
16853 int
16854 main ()
16855 {
16856
16857 ;
16858 return 0;
16859 }
16860 _ACEOF
16861 if ac_fn_c_try_compile "$LINENO"; then :
16862 ac_cv_prog_cc_g=yes
16863 fi
16864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16865 fi
16866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16867 fi
16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16869 ac_c_werror_flag=$ac_save_c_werror_flag
16870 fi
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16872 $as_echo "$ac_cv_prog_cc_g" >&6; }
16873 if test "$ac_test_CFLAGS" = set; then
16874 CFLAGS=$ac_save_CFLAGS
16875 elif test $ac_cv_prog_cc_g = yes; then
16876 if test "$GCC" = yes; then
16877 CFLAGS="-g -O2"
16878 else
16879 CFLAGS="-g"
16880 fi
16881 else
16882 if test "$GCC" = yes; then
16883 CFLAGS="-O2"
16884 else
16885 CFLAGS=
16886 fi
16887 fi
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16889 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16890 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16891 $as_echo_n "(cached) " >&6
16892 else
16893 ac_cv_prog_cc_c89=no
16894 ac_save_CC=$CC
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16897 #include <stdarg.h>
16898 #include <stdio.h>
16899 #include <sys/types.h>
16900 #include <sys/stat.h>
16901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16902 struct buf { int x; };
16903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16904 static char *e (p, i)
16905 char **p;
16906 int i;
16907 {
16908 return p[i];
16909 }
16910 static char *f (char * (*g) (char **, int), char **p, ...)
16911 {
16912 char *s;
16913 va_list v;
16914 va_start (v,p);
16915 s = g (p, va_arg (v,int));
16916 va_end (v);
16917 return s;
16918 }
16919
16920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16921 function prototypes and stuff, but not '\xHH' hex character constants.
16922 These don't provoke an error unfortunately, instead are silently treated
16923 as 'x'. The following induces an error, until -std is added to get
16924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16925 array size at least. It's necessary to write '\x00'==0 to get something
16926 that's true only with -std. */
16927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16928
16929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16930 inside strings and character constants. */
16931 #define FOO(x) 'x'
16932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16933
16934 int test (int i, double x);
16935 struct s1 {int (*f) (int a);};
16936 struct s2 {int (*f) (double a);};
16937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16938 int argc;
16939 char **argv;
16940 int
16941 main ()
16942 {
16943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16944 ;
16945 return 0;
16946 }
16947 _ACEOF
16948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16950 do
16951 CC="$ac_save_CC $ac_arg"
16952 if ac_fn_c_try_compile "$LINENO"; then :
16953 ac_cv_prog_cc_c89=$ac_arg
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext
16956 test "x$ac_cv_prog_cc_c89" != "xno" && break
16957 done
16958 rm -f conftest.$ac_ext
16959 CC=$ac_save_CC
16960
16961 fi
16962 # AC_CACHE_VAL
16963 case "x$ac_cv_prog_cc_c89" in
16964 x)
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16966 $as_echo "none needed" >&6; } ;;
16967 xno)
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16969 $as_echo "unsupported" >&6; } ;;
16970 *)
16971 CC="$CC $ac_cv_prog_cc_c89"
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16973 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16974 esac
16975 if test "x$ac_cv_prog_cc_c89" != xno; then :
16976
16977 fi
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
16986
16987
16988
16989
16990
16991
16992 ac_ext=c
16993 ac_cpp='$CPP $CPPFLAGS'
16994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16997
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
16999 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17000 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005
17006 int
17007 main ()
17008 {
17009
17010 #ifndef __INTEL_COMPILER
17011 choke me
17012 #endif
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 if ac_fn_c_try_compile "$LINENO"; then :
17019 bakefile_cv_c_compiler___INTEL_COMPILER=yes
17020 else
17021 bakefile_cv_c_compiler___INTEL_COMPILER=no
17022
17023 fi
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025
17026
17027 fi
17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17029 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17030 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17031 :; INTELCC=yes
17032 else
17033 :;
17034 fi
17035 ac_ext=c
17036 ac_cpp='$CPP $CPPFLAGS'
17037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17040
17041
17042
17043
17044 if test "$INTELCC" = "yes"; then
17045
17046
17047 ac_ext=c
17048 ac_cpp='$CPP $CPPFLAGS'
17049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17052
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17054 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17055 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17059 /* end confdefs.h. */
17060
17061 int
17062 main ()
17063 {
17064
17065 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17066 choke me
17067 #endif
17068
17069 ;
17070 return 0;
17071 }
17072 _ACEOF
17073 if ac_fn_c_try_compile "$LINENO"; then :
17074 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
17075 else
17076 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
17077
17078 fi
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17080
17081
17082 fi
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17084 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17085 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17086 :; INTELCC8=yes
17087 else
17088 :;
17089 fi
17090 ac_ext=c
17091 ac_cpp='$CPP $CPPFLAGS'
17092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17095
17096
17097
17098
17099
17100 ac_ext=c
17101 ac_cpp='$CPP $CPPFLAGS'
17102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17105
17106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17107 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17108 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
17109 $as_echo_n "(cached) " >&6
17110 else
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113
17114 int
17115 main ()
17116 {
17117
17118 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17119 choke me
17120 #endif
17121
17122 ;
17123 return 0;
17124 }
17125 _ACEOF
17126 if ac_fn_c_try_compile "$LINENO"; then :
17127 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
17128 else
17129 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
17130
17131 fi
17132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17133
17134
17135 fi
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17137 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17138 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17139 :; INTELCC10=yes
17140 else
17141 :;
17142 fi
17143 ac_ext=c
17144 ac_cpp='$CPP $CPPFLAGS'
17145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17148
17149
17150
17151 fi
17152
17153 if test "x$GCC" != "xyes"; then
17154 if test "xCC" = "xC"; then
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17156 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17157 if test "${bakefile_cv_c_exto+set}" = set; then :
17158 $as_echo_n "(cached) " >&6
17159 else
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162
17163 int
17164 main ()
17165 {
17166
17167 ;
17168 return 0;
17169 }
17170 _ACEOF
17171 rm -f conftest.$ac_objext conftest.$ac_ext.o
17172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17173 (eval $ac_compile) 2>&5
17174 ac_status=$?
17175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17176 test $ac_status = 0; }; then :
17177 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17178 case $ac_file in
17179 conftest.$ac_ext.o)
17180 bakefile_cv_c_exto="-ext o"
17181 ;;
17182 *)
17183 ;;
17184 esac
17185 done
17186 else
17187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17188 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17189 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
17190 See \`config.log' for more details" "$LINENO" 5 ; }
17191
17192 fi
17193 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17194
17195 fi
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17197 $as_echo "$bakefile_cv_c_exto" >&6; }
17198 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17199 if test "c" = "c"; then
17200 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17201 fi
17202 if test "c" = "cxx"; then
17203 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17204 fi
17205 fi
17206
17207 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17208 unset ac_cv_prog_cc_g
17209 ac_test_CFLAGS=${CFLAGS+set}
17210 ac_save_CFLAGS=$CFLAGS
17211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17212 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17213 if test "${ac_cv_prog_cc_g+set}" = set; then :
17214 $as_echo_n "(cached) " >&6
17215 else
17216 ac_save_c_werror_flag=$ac_c_werror_flag
17217 ac_c_werror_flag=yes
17218 ac_cv_prog_cc_g=no
17219 CFLAGS="-g"
17220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17221 /* end confdefs.h. */
17222
17223 int
17224 main ()
17225 {
17226
17227 ;
17228 return 0;
17229 }
17230 _ACEOF
17231 if ac_fn_c_try_compile "$LINENO"; then :
17232 ac_cv_prog_cc_g=yes
17233 else
17234 CFLAGS=""
17235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17236 /* end confdefs.h. */
17237
17238 int
17239 main ()
17240 {
17241
17242 ;
17243 return 0;
17244 }
17245 _ACEOF
17246 if ac_fn_c_try_compile "$LINENO"; then :
17247
17248 else
17249 ac_c_werror_flag=$ac_save_c_werror_flag
17250 CFLAGS="-g"
17251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17252 /* end confdefs.h. */
17253
17254 int
17255 main ()
17256 {
17257
17258 ;
17259 return 0;
17260 }
17261 _ACEOF
17262 if ac_fn_c_try_compile "$LINENO"; then :
17263 ac_cv_prog_cc_g=yes
17264 fi
17265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17266 fi
17267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17268 fi
17269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17270 ac_c_werror_flag=$ac_save_c_werror_flag
17271 fi
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17273 $as_echo "$ac_cv_prog_cc_g" >&6; }
17274 if test "$ac_test_CFLAGS" = set; then
17275 CFLAGS=$ac_save_CFLAGS
17276 elif test $ac_cv_prog_cc_g = yes; then
17277 if test "$GCC" = yes; then
17278 CFLAGS="-g -O2"
17279 else
17280 CFLAGS="-g"
17281 fi
17282 else
17283 if test "$GCC" = yes; then
17284 CFLAGS="-O2"
17285 else
17286 CFLAGS=
17287 fi
17288 fi
17289 fi
17290 fi
17291
17292 case `uname -s` in
17293 AIX*)
17294
17295
17296 ac_ext=c
17297 ac_cpp='$CPP $CPPFLAGS'
17298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17301
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17303 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17304 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17308 /* end confdefs.h. */
17309
17310 int
17311 main ()
17312 {
17313
17314 #ifndef __xlC__
17315 choke me
17316 #endif
17317
17318 ;
17319 return 0;
17320 }
17321 _ACEOF
17322 if ac_fn_c_try_compile "$LINENO"; then :
17323 bakefile_cv_c_compiler___xlC__=yes
17324 else
17325 bakefile_cv_c_compiler___xlC__=no
17326
17327 fi
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329
17330
17331 fi
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17333 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17334 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17335 :; XLCC=yes
17336 else
17337 :;
17338 fi
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
17346
17347 ;;
17348
17349 Darwin)
17350
17351
17352 ac_ext=c
17353 ac_cpp='$CPP $CPPFLAGS'
17354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17357
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17359 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17360 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17364 /* end confdefs.h. */
17365
17366 int
17367 main ()
17368 {
17369
17370 #ifndef __MWERKS__
17371 choke me
17372 #endif
17373
17374 ;
17375 return 0;
17376 }
17377 _ACEOF
17378 if ac_fn_c_try_compile "$LINENO"; then :
17379 bakefile_cv_c_compiler___MWERKS__=yes
17380 else
17381 bakefile_cv_c_compiler___MWERKS__=no
17382
17383 fi
17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17385
17386
17387 fi
17388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17389 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17390 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17391 :; MWCC=yes
17392 else
17393 :;
17394 fi
17395 ac_ext=c
17396 ac_cpp='$CPP $CPPFLAGS'
17397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17400
17401
17402
17403 if test "$MWCC" != "yes"; then
17404
17405
17406 ac_ext=c
17407 ac_cpp='$CPP $CPPFLAGS'
17408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17411
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17413 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17414 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419
17420 int
17421 main ()
17422 {
17423
17424 #ifndef __xlC__
17425 choke me
17426 #endif
17427
17428 ;
17429 return 0;
17430 }
17431 _ACEOF
17432 if ac_fn_c_try_compile "$LINENO"; then :
17433 bakefile_cv_c_compiler___xlC__=yes
17434 else
17435 bakefile_cv_c_compiler___xlC__=no
17436
17437 fi
17438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17439
17440
17441 fi
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17443 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17444 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17445 :; XLCC=yes
17446 else
17447 :;
17448 fi
17449 ac_ext=c
17450 ac_cpp='$CPP $CPPFLAGS'
17451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17454
17455
17456
17457 fi
17458 ;;
17459
17460 IRIX*)
17461
17462
17463 ac_ext=c
17464 ac_cpp='$CPP $CPPFLAGS'
17465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17468
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17470 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17471 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then :
17472 $as_echo_n "(cached) " >&6
17473 else
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476
17477 int
17478 main ()
17479 {
17480
17481 #ifndef _SGI_COMPILER_VERSION
17482 choke me
17483 #endif
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 if ac_fn_c_try_compile "$LINENO"; then :
17490 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17491 else
17492 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17493
17494 fi
17495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17496
17497
17498 fi
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17500 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17501 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17502 :; SGICC=yes
17503 else
17504 :;
17505 fi
17506 ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17511
17512
17513
17514 ;;
17515
17516 Linux*)
17517 if test "$INTELCC" != "yes"; then
17518
17519
17520 ac_ext=c
17521 ac_cpp='$CPP $CPPFLAGS'
17522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17525
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17527 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17528 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17529 $as_echo_n "(cached) " >&6
17530 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533
17534 int
17535 main ()
17536 {
17537
17538 #ifndef __SUNPRO_C
17539 choke me
17540 #endif
17541
17542 ;
17543 return 0;
17544 }
17545 _ACEOF
17546 if ac_fn_c_try_compile "$LINENO"; then :
17547 bakefile_cv_c_compiler___SUNPRO_C=yes
17548 else
17549 bakefile_cv_c_compiler___SUNPRO_C=no
17550
17551 fi
17552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17553
17554
17555 fi
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17557 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17558 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17559 :; SUNCC=yes
17560 else
17561 :;
17562 fi
17563 ac_ext=c
17564 ac_cpp='$CPP $CPPFLAGS'
17565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17568
17569
17570
17571 fi
17572 ;;
17573
17574 HP-UX*)
17575
17576
17577 ac_ext=c
17578 ac_cpp='$CPP $CPPFLAGS'
17579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17582
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17584 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17585 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17589 /* end confdefs.h. */
17590
17591 int
17592 main ()
17593 {
17594
17595 #ifndef __HP_cc
17596 choke me
17597 #endif
17598
17599 ;
17600 return 0;
17601 }
17602 _ACEOF
17603 if ac_fn_c_try_compile "$LINENO"; then :
17604 bakefile_cv_c_compiler___HP_cc=yes
17605 else
17606 bakefile_cv_c_compiler___HP_cc=no
17607
17608 fi
17609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17610
17611
17612 fi
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17614 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17615 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17616 :; HPCC=yes
17617 else
17618 :;
17619 fi
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
17627
17628 ;;
17629
17630 OSF1)
17631
17632
17633 ac_ext=c
17634 ac_cpp='$CPP $CPPFLAGS'
17635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17638
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17640 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17641 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646
17647 int
17648 main ()
17649 {
17650
17651 #ifndef __DECC
17652 choke me
17653 #endif
17654
17655 ;
17656 return 0;
17657 }
17658 _ACEOF
17659 if ac_fn_c_try_compile "$LINENO"; then :
17660 bakefile_cv_c_compiler___DECC=yes
17661 else
17662 bakefile_cv_c_compiler___DECC=no
17663
17664 fi
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666
17667
17668 fi
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17670 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17671 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17672 :; COMPAQCC=yes
17673 else
17674 :;
17675 fi
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
17683
17684 ;;
17685
17686 SunOS)
17687
17688
17689 ac_ext=c
17690 ac_cpp='$CPP $CPPFLAGS'
17691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17694
17695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17696 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17697 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then :
17698 $as_echo_n "(cached) " >&6
17699 else
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702
17703 int
17704 main ()
17705 {
17706
17707 #ifndef __SUNPRO_C
17708 choke me
17709 #endif
17710
17711 ;
17712 return 0;
17713 }
17714 _ACEOF
17715 if ac_fn_c_try_compile "$LINENO"; then :
17716 bakefile_cv_c_compiler___SUNPRO_C=yes
17717 else
17718 bakefile_cv_c_compiler___SUNPRO_C=no
17719
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723
17724 fi
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17726 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17727 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17728 :; SUNCC=yes
17729 else
17730 :;
17731 fi
17732 ac_ext=c
17733 ac_cpp='$CPP $CPPFLAGS'
17734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17737
17738
17739
17740 ;;
17741 esac
17742 fi
17743
17744
17745
17746 ac_ext=c
17747 ac_cpp='$CPP $CPPFLAGS'
17748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17753 # On Suns, sometimes $CPP names a directory.
17754 if test -n "$CPP" && test -d "$CPP"; then
17755 CPP=
17756 fi
17757 if test -z "$CPP"; then
17758 if test "${ac_cv_prog_CPP+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17761 # Double quotes because CPP needs to be expanded
17762 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17763 do
17764 ac_preproc_ok=false
17765 for ac_c_preproc_warn_flag in '' yes
17766 do
17767 # Use a header file that comes with gcc, so configuring glibc
17768 # with a fresh cross-compiler works.
17769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17770 # <limits.h> exists even on freestanding compilers.
17771 # On the NeXT, cc -E runs the code through the compiler's parser,
17772 # not just through cpp. "Syntax error" is here to catch this case.
17773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17774 /* end confdefs.h. */
17775 #ifdef __STDC__
17776 # include <limits.h>
17777 #else
17778 # include <assert.h>
17779 #endif
17780 Syntax error
17781 _ACEOF
17782 if ac_fn_c_try_cpp "$LINENO"; then :
17783
17784 else
17785 # Broken: fails on valid input.
17786 continue
17787 fi
17788 rm -f conftest.err conftest.i conftest.$ac_ext
17789
17790 # OK, works on sane cases. Now check whether nonexistent headers
17791 # can be detected and how.
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17794 #include <ac_nonexistent.h>
17795 _ACEOF
17796 if ac_fn_c_try_cpp "$LINENO"; then :
17797 # Broken: success on invalid input.
17798 continue
17799 else
17800 # Passes both tests.
17801 ac_preproc_ok=:
17802 break
17803 fi
17804 rm -f conftest.err conftest.i conftest.$ac_ext
17805
17806 done
17807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17808 rm -f conftest.i conftest.err conftest.$ac_ext
17809 if $ac_preproc_ok; then :
17810 break
17811 fi
17812
17813 done
17814 ac_cv_prog_CPP=$CPP
17815
17816 fi
17817 CPP=$ac_cv_prog_CPP
17818 else
17819 ac_cv_prog_CPP=$CPP
17820 fi
17821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17822 $as_echo "$CPP" >&6; }
17823 ac_preproc_ok=false
17824 for ac_c_preproc_warn_flag in '' yes
17825 do
17826 # Use a header file that comes with gcc, so configuring glibc
17827 # with a fresh cross-compiler works.
17828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17829 # <limits.h> exists even on freestanding compilers.
17830 # On the NeXT, cc -E runs the code through the compiler's parser,
17831 # not just through cpp. "Syntax error" is here to catch this case.
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17834 #ifdef __STDC__
17835 # include <limits.h>
17836 #else
17837 # include <assert.h>
17838 #endif
17839 Syntax error
17840 _ACEOF
17841 if ac_fn_c_try_cpp "$LINENO"; then :
17842
17843 else
17844 # Broken: fails on valid input.
17845 continue
17846 fi
17847 rm -f conftest.err conftest.i conftest.$ac_ext
17848
17849 # OK, works on sane cases. Now check whether nonexistent headers
17850 # can be detected and how.
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <ac_nonexistent.h>
17854 _ACEOF
17855 if ac_fn_c_try_cpp "$LINENO"; then :
17856 # Broken: success on invalid input.
17857 continue
17858 else
17859 # Passes both tests.
17860 ac_preproc_ok=:
17861 break
17862 fi
17863 rm -f conftest.err conftest.i conftest.$ac_ext
17864
17865 done
17866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17867 rm -f conftest.i conftest.err conftest.$ac_ext
17868 if $ac_preproc_ok; then :
17869
17870 else
17871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17873 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
17874 See \`config.log' for more details" "$LINENO" 5 ; }
17875 fi
17876
17877 ac_ext=c
17878 ac_cpp='$CPP $CPPFLAGS'
17879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17882
17883
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17885 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17886 if test "${ac_cv_path_GREP+set}" = set; then :
17887 $as_echo_n "(cached) " >&6
17888 else
17889 if test -z "$GREP"; then
17890 ac_path_GREP_found=false
17891 # Loop through the user's path and test for each of PROGNAME-LIST
17892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17893 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17894 do
17895 IFS=$as_save_IFS
17896 test -z "$as_dir" && as_dir=.
17897 for ac_prog in grep ggrep; do
17898 for ac_exec_ext in '' $ac_executable_extensions; do
17899 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17900 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17901 # Check for GNU ac_path_GREP and select it if it is found.
17902 # Check for GNU $ac_path_GREP
17903 case `"$ac_path_GREP" --version 2>&1` in
17904 *GNU*)
17905 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17906 *)
17907 ac_count=0
17908 $as_echo_n 0123456789 >"conftest.in"
17909 while :
17910 do
17911 cat "conftest.in" "conftest.in" >"conftest.tmp"
17912 mv "conftest.tmp" "conftest.in"
17913 cp "conftest.in" "conftest.nl"
17914 $as_echo 'GREP' >> "conftest.nl"
17915 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17916 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17917 as_fn_arith $ac_count + 1 && ac_count=$as_val
17918 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17919 # Best one so far, save it but keep looking for a better one
17920 ac_cv_path_GREP="$ac_path_GREP"
17921 ac_path_GREP_max=$ac_count
17922 fi
17923 # 10*(2^10) chars as input seems more than enough
17924 test $ac_count -gt 10 && break
17925 done
17926 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17927 esac
17928
17929 $ac_path_GREP_found && break 3
17930 done
17931 done
17932 done
17933 IFS=$as_save_IFS
17934 if test -z "$ac_cv_path_GREP"; then
17935 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
17936 fi
17937 else
17938 ac_cv_path_GREP=$GREP
17939 fi
17940
17941 fi
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
17943 $as_echo "$ac_cv_path_GREP" >&6; }
17944 GREP="$ac_cv_path_GREP"
17945
17946
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
17948 $as_echo_n "checking for egrep... " >&6; }
17949 if test "${ac_cv_path_EGREP+set}" = set; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17952 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17953 then ac_cv_path_EGREP="$GREP -E"
17954 else
17955 if test -z "$EGREP"; then
17956 ac_path_EGREP_found=false
17957 # Loop through the user's path and test for each of PROGNAME-LIST
17958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17959 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17960 do
17961 IFS=$as_save_IFS
17962 test -z "$as_dir" && as_dir=.
17963 for ac_prog in egrep; do
17964 for ac_exec_ext in '' $ac_executable_extensions; do
17965 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17966 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17967 # Check for GNU ac_path_EGREP and select it if it is found.
17968 # Check for GNU $ac_path_EGREP
17969 case `"$ac_path_EGREP" --version 2>&1` in
17970 *GNU*)
17971 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17972 *)
17973 ac_count=0
17974 $as_echo_n 0123456789 >"conftest.in"
17975 while :
17976 do
17977 cat "conftest.in" "conftest.in" >"conftest.tmp"
17978 mv "conftest.tmp" "conftest.in"
17979 cp "conftest.in" "conftest.nl"
17980 $as_echo 'EGREP' >> "conftest.nl"
17981 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17982 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17983 as_fn_arith $ac_count + 1 && ac_count=$as_val
17984 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17985 # Best one so far, save it but keep looking for a better one
17986 ac_cv_path_EGREP="$ac_path_EGREP"
17987 ac_path_EGREP_max=$ac_count
17988 fi
17989 # 10*(2^10) chars as input seems more than enough
17990 test $ac_count -gt 10 && break
17991 done
17992 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17993 esac
17994
17995 $ac_path_EGREP_found && break 3
17996 done
17997 done
17998 done
17999 IFS=$as_save_IFS
18000 if test -z "$ac_cv_path_EGREP"; then
18001 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18002 fi
18003 else
18004 ac_cv_path_EGREP=$EGREP
18005 fi
18006
18007 fi
18008 fi
18009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18010 $as_echo "$ac_cv_path_EGREP" >&6; }
18011 EGREP="$ac_cv_path_EGREP"
18012
18013
18014 if test $ac_cv_c_compiler_gnu = yes; then
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18016 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18017 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
18018 $as_echo_n "(cached) " >&6
18019 else
18020 ac_pattern="Autoconf.*'x'"
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18023 #include <sgtty.h>
18024 Autoconf TIOCGETP
18025 _ACEOF
18026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18027 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18028 ac_cv_prog_gcc_traditional=yes
18029 else
18030 ac_cv_prog_gcc_traditional=no
18031 fi
18032 rm -f conftest*
18033
18034
18035 if test $ac_cv_prog_gcc_traditional = no; then
18036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18037 /* end confdefs.h. */
18038 #include <termio.h>
18039 Autoconf TCGETA
18040 _ACEOF
18041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18042 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
18043 ac_cv_prog_gcc_traditional=yes
18044 fi
18045 rm -f conftest*
18046
18047 fi
18048 fi
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18050 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18051 if test $ac_cv_prog_gcc_traditional = yes; then
18052 CC="$CC -traditional"
18053 fi
18054 fi
18055
18056
18057 CXXFLAGS=${CXXFLAGS:=}
18058 ac_ext=cpp
18059 ac_cpp='$CXXCPP $CPPFLAGS'
18060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18063 if test -z "$CXX"; then
18064 if test -n "$CCC"; then
18065 CXX=$CCC
18066 else
18067 if test -n "$ac_tool_prefix"; then
18068 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18069 do
18070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18071 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18073 $as_echo_n "checking for $ac_word... " >&6; }
18074 if test "${ac_cv_prog_CXX+set}" = set; then :
18075 $as_echo_n "(cached) " >&6
18076 else
18077 if test -n "$CXX"; then
18078 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18079 else
18080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18081 for as_dir in $PATH
18082 do
18083 IFS=$as_save_IFS
18084 test -z "$as_dir" && as_dir=.
18085 for ac_exec_ext in '' $ac_executable_extensions; do
18086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18087 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18089 break 2
18090 fi
18091 done
18092 done
18093 IFS=$as_save_IFS
18094
18095 fi
18096 fi
18097 CXX=$ac_cv_prog_CXX
18098 if test -n "$CXX"; then
18099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18100 $as_echo "$CXX" >&6; }
18101 else
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18103 $as_echo "no" >&6; }
18104 fi
18105
18106
18107 test -n "$CXX" && break
18108 done
18109 fi
18110 if test -z "$CXX"; then
18111 ac_ct_CXX=$CXX
18112 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18113 do
18114 # Extract the first word of "$ac_prog", so it can be a program name with args.
18115 set dummy $ac_prog; ac_word=$2
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18117 $as_echo_n "checking for $ac_word... " >&6; }
18118 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
18119 $as_echo_n "(cached) " >&6
18120 else
18121 if test -n "$ac_ct_CXX"; then
18122 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18123 else
18124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18125 for as_dir in $PATH
18126 do
18127 IFS=$as_save_IFS
18128 test -z "$as_dir" && as_dir=.
18129 for ac_exec_ext in '' $ac_executable_extensions; do
18130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18131 ac_cv_prog_ac_ct_CXX="$ac_prog"
18132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18133 break 2
18134 fi
18135 done
18136 done
18137 IFS=$as_save_IFS
18138
18139 fi
18140 fi
18141 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18142 if test -n "$ac_ct_CXX"; then
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18144 $as_echo "$ac_ct_CXX" >&6; }
18145 else
18146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18147 $as_echo "no" >&6; }
18148 fi
18149
18150
18151 test -n "$ac_ct_CXX" && break
18152 done
18153
18154 if test "x$ac_ct_CXX" = x; then
18155 CXX="g++"
18156 else
18157 case $cross_compiling:$ac_tool_warned in
18158 yes:)
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18161 ac_tool_warned=yes ;;
18162 esac
18163 CXX=$ac_ct_CXX
18164 fi
18165 fi
18166
18167 fi
18168 fi
18169 # Provide some information about the compiler.
18170 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18171 set X $ac_compile
18172 ac_compiler=$2
18173 for ac_option in --version -v -V -qversion; do
18174 { { ac_try="$ac_compiler $ac_option >&5"
18175 case "(($ac_try" in
18176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18177 *) ac_try_echo=$ac_try;;
18178 esac
18179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18180 $as_echo "$ac_try_echo"; } >&5
18181 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18182 ac_status=$?
18183 if test -s conftest.err; then
18184 sed '10a\
18185 ... rest of stderr output deleted ...
18186 10q' conftest.err >conftest.er1
18187 cat conftest.er1 >&5
18188 fi
18189 rm -f conftest.er1 conftest.err
18190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18191 test $ac_status = 0; }
18192 done
18193
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18195 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18196 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
18197 $as_echo_n "(cached) " >&6
18198 else
18199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200 /* end confdefs.h. */
18201
18202 int
18203 main ()
18204 {
18205 #ifndef __GNUC__
18206 choke me
18207 #endif
18208
18209 ;
18210 return 0;
18211 }
18212 _ACEOF
18213 if ac_fn_cxx_try_compile "$LINENO"; then :
18214 ac_compiler_gnu=yes
18215 else
18216 ac_compiler_gnu=no
18217 fi
18218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18219 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18220
18221 fi
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18223 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18224 if test $ac_compiler_gnu = yes; then
18225 GXX=yes
18226 else
18227 GXX=
18228 fi
18229 ac_test_CXXFLAGS=${CXXFLAGS+set}
18230 ac_save_CXXFLAGS=$CXXFLAGS
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18232 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18233 if test "${ac_cv_prog_cxx_g+set}" = set; then :
18234 $as_echo_n "(cached) " >&6
18235 else
18236 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18237 ac_cxx_werror_flag=yes
18238 ac_cv_prog_cxx_g=no
18239 CXXFLAGS="-g"
18240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18241 /* end confdefs.h. */
18242
18243 int
18244 main ()
18245 {
18246
18247 ;
18248 return 0;
18249 }
18250 _ACEOF
18251 if ac_fn_cxx_try_compile "$LINENO"; then :
18252 ac_cv_prog_cxx_g=yes
18253 else
18254 CXXFLAGS=""
18255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18257
18258 int
18259 main ()
18260 {
18261
18262 ;
18263 return 0;
18264 }
18265 _ACEOF
18266 if ac_fn_cxx_try_compile "$LINENO"; then :
18267
18268 else
18269 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18270 CXXFLAGS="-g"
18271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18272 /* end confdefs.h. */
18273
18274 int
18275 main ()
18276 {
18277
18278 ;
18279 return 0;
18280 }
18281 _ACEOF
18282 if ac_fn_cxx_try_compile "$LINENO"; then :
18283 ac_cv_prog_cxx_g=yes
18284 fi
18285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18286 fi
18287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288 fi
18289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18290 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18291 fi
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18293 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18294 if test "$ac_test_CXXFLAGS" = set; then
18295 CXXFLAGS=$ac_save_CXXFLAGS
18296 elif test $ac_cv_prog_cxx_g = yes; then
18297 if test "$GXX" = yes; then
18298 CXXFLAGS="-g -O2"
18299 else
18300 CXXFLAGS="-g"
18301 fi
18302 else
18303 if test "$GXX" = yes; then
18304 CXXFLAGS="-O2"
18305 else
18306 CXXFLAGS=
18307 fi
18308 fi
18309 ac_ext=c
18310 ac_cpp='$CPP $CPPFLAGS'
18311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18314
18315
18316
18317
18318
18319
18320
18321
18322 ac_ext=cpp
18323 ac_cpp='$CXXCPP $CPPFLAGS'
18324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18327
18328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18329 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18330 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then :
18331 $as_echo_n "(cached) " >&6
18332 else
18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18334 /* end confdefs.h. */
18335
18336 int
18337 main ()
18338 {
18339
18340 #ifndef __INTEL_COMPILER
18341 choke me
18342 #endif
18343
18344 ;
18345 return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_cxx_try_compile "$LINENO"; then :
18349 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18350 else
18351 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18352
18353 fi
18354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18355
18356
18357 fi
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18359 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18360 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18361 :; INTELCXX=yes
18362 else
18363 :;
18364 fi
18365 ac_ext=c
18366 ac_cpp='$CPP $CPPFLAGS'
18367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18370
18371
18372
18373
18374 if test "$INTELCXX" = "yes"; then
18375
18376
18377 ac_ext=cpp
18378 ac_cpp='$CXXCPP $CPPFLAGS'
18379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18382
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18384 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18385 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18389 /* end confdefs.h. */
18390
18391 int
18392 main ()
18393 {
18394
18395 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18396 choke me
18397 #endif
18398
18399 ;
18400 return 0;
18401 }
18402 _ACEOF
18403 if ac_fn_cxx_try_compile "$LINENO"; then :
18404 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18405 else
18406 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18407
18408 fi
18409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18410
18411
18412 fi
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18414 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18415 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18416 :; INTELCXX8=yes
18417 else
18418 :;
18419 fi
18420 ac_ext=c
18421 ac_cpp='$CPP $CPPFLAGS'
18422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18425
18426
18427
18428
18429
18430 ac_ext=cpp
18431 ac_cpp='$CXXCPP $CPPFLAGS'
18432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18435
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18437 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18438 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then :
18439 $as_echo_n "(cached) " >&6
18440 else
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443
18444 int
18445 main ()
18446 {
18447
18448 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18449 choke me
18450 #endif
18451
18452 ;
18453 return 0;
18454 }
18455 _ACEOF
18456 if ac_fn_cxx_try_compile "$LINENO"; then :
18457 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18458 else
18459 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18460
18461 fi
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463
18464
18465 fi
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18467 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18468 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18469 :; INTELCXX10=yes
18470 else
18471 :;
18472 fi
18473 ac_ext=c
18474 ac_cpp='$CPP $CPPFLAGS'
18475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18478
18479
18480
18481 fi
18482
18483 if test "x$GCXX" != "xyes"; then
18484 if test "xCXX" = "xC"; then
18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18486 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18487 if test "${bakefile_cv_c_exto+set}" = set; then :
18488 $as_echo_n "(cached) " >&6
18489 else
18490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18491 /* end confdefs.h. */
18492
18493 int
18494 main ()
18495 {
18496
18497 ;
18498 return 0;
18499 }
18500 _ACEOF
18501 rm -f conftest.$ac_objext conftest.$ac_ext.o
18502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18503 (eval $ac_compile) 2>&5
18504 ac_status=$?
18505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18506 test $ac_status = 0; }; then :
18507 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18508 case $ac_file in
18509 conftest.$ac_ext.o)
18510 bakefile_cv_c_exto="-ext o"
18511 ;;
18512 *)
18513 ;;
18514 esac
18515 done
18516 else
18517 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18518 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18519 as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
18520 See \`config.log' for more details" "$LINENO" 5 ; }
18521
18522 fi
18523 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18524
18525 fi
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18527 $as_echo "$bakefile_cv_c_exto" >&6; }
18528 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18529 if test "c" = "c"; then
18530 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18531 fi
18532 if test "c" = "cxx"; then
18533 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18534 fi
18535 fi
18536
18537 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18538 unset ac_cv_prog_cc_g
18539 ac_test_CFLAGS=${CFLAGS+set}
18540 ac_save_CFLAGS=$CFLAGS
18541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18542 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18543 if test "${ac_cv_prog_cc_g+set}" = set; then :
18544 $as_echo_n "(cached) " >&6
18545 else
18546 ac_save_c_werror_flag=$ac_c_werror_flag
18547 ac_c_werror_flag=yes
18548 ac_cv_prog_cc_g=no
18549 CFLAGS="-g"
18550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18551 /* end confdefs.h. */
18552
18553 int
18554 main ()
18555 {
18556
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 if ac_fn_c_try_compile "$LINENO"; then :
18562 ac_cv_prog_cc_g=yes
18563 else
18564 CFLAGS=""
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18567
18568 int
18569 main ()
18570 {
18571
18572 ;
18573 return 0;
18574 }
18575 _ACEOF
18576 if ac_fn_c_try_compile "$LINENO"; then :
18577
18578 else
18579 ac_c_werror_flag=$ac_save_c_werror_flag
18580 CFLAGS="-g"
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18583
18584 int
18585 main ()
18586 {
18587
18588 ;
18589 return 0;
18590 }
18591 _ACEOF
18592 if ac_fn_c_try_compile "$LINENO"; then :
18593 ac_cv_prog_cc_g=yes
18594 fi
18595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18596 fi
18597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 fi
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600 ac_c_werror_flag=$ac_save_c_werror_flag
18601 fi
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18603 $as_echo "$ac_cv_prog_cc_g" >&6; }
18604 if test "$ac_test_CFLAGS" = set; then
18605 CFLAGS=$ac_save_CFLAGS
18606 elif test $ac_cv_prog_cc_g = yes; then
18607 if test "$GCC" = yes; then
18608 CFLAGS="-g -O2"
18609 else
18610 CFLAGS="-g"
18611 fi
18612 else
18613 if test "$GCC" = yes; then
18614 CFLAGS="-O2"
18615 else
18616 CFLAGS=
18617 fi
18618 fi
18619 fi
18620 fi
18621
18622 case `uname -s` in
18623 AIX*)
18624
18625
18626 ac_ext=cpp
18627 ac_cpp='$CXXCPP $CPPFLAGS'
18628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18631
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18633 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18634 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18635 $as_echo_n "(cached) " >&6
18636 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18639
18640 int
18641 main ()
18642 {
18643
18644 #ifndef __xlC__
18645 choke me
18646 #endif
18647
18648 ;
18649 return 0;
18650 }
18651 _ACEOF
18652 if ac_fn_cxx_try_compile "$LINENO"; then :
18653 bakefile_cv_cxx_compiler___xlC__=yes
18654 else
18655 bakefile_cv_cxx_compiler___xlC__=no
18656
18657 fi
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18659
18660
18661 fi
18662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18663 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18664 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18665 :; XLCXX=yes
18666 else
18667 :;
18668 fi
18669 ac_ext=c
18670 ac_cpp='$CPP $CPPFLAGS'
18671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18674
18675
18676
18677 ;;
18678
18679 Darwin)
18680
18681
18682 ac_ext=cpp
18683 ac_cpp='$CXXCPP $CPPFLAGS'
18684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18687
18688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18689 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18690 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then :
18691 $as_echo_n "(cached) " >&6
18692 else
18693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18694 /* end confdefs.h. */
18695
18696 int
18697 main ()
18698 {
18699
18700 #ifndef __MWERKS__
18701 choke me
18702 #endif
18703
18704 ;
18705 return 0;
18706 }
18707 _ACEOF
18708 if ac_fn_cxx_try_compile "$LINENO"; then :
18709 bakefile_cv_cxx_compiler___MWERKS__=yes
18710 else
18711 bakefile_cv_cxx_compiler___MWERKS__=no
18712
18713 fi
18714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18715
18716
18717 fi
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18719 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18720 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18721 :; MWCXX=yes
18722 else
18723 :;
18724 fi
18725 ac_ext=c
18726 ac_cpp='$CPP $CPPFLAGS'
18727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18730
18731
18732
18733 if test "$MWCXX" != "yes"; then
18734
18735
18736 ac_ext=cpp
18737 ac_cpp='$CXXCPP $CPPFLAGS'
18738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18741
18742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18743 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18744 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then :
18745 $as_echo_n "(cached) " >&6
18746 else
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749
18750 int
18751 main ()
18752 {
18753
18754 #ifndef __xlC__
18755 choke me
18756 #endif
18757
18758 ;
18759 return 0;
18760 }
18761 _ACEOF
18762 if ac_fn_cxx_try_compile "$LINENO"; then :
18763 bakefile_cv_cxx_compiler___xlC__=yes
18764 else
18765 bakefile_cv_cxx_compiler___xlC__=no
18766
18767 fi
18768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18769
18770
18771 fi
18772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18773 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18774 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18775 :; XLCXX=yes
18776 else
18777 :;
18778 fi
18779 ac_ext=c
18780 ac_cpp='$CPP $CPPFLAGS'
18781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18784
18785
18786
18787 fi
18788 ;;
18789
18790 IRIX*)
18791
18792
18793 ac_ext=cpp
18794 ac_cpp='$CXXCPP $CPPFLAGS'
18795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18798
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18800 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18801 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then :
18802 $as_echo_n "(cached) " >&6
18803 else
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18806
18807 int
18808 main ()
18809 {
18810
18811 #ifndef _SGI_COMPILER_VERSION
18812 choke me
18813 #endif
18814
18815 ;
18816 return 0;
18817 }
18818 _ACEOF
18819 if ac_fn_cxx_try_compile "$LINENO"; then :
18820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18821 else
18822 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18823
18824 fi
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826
18827
18828 fi
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18830 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18831 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18832 :; SGICXX=yes
18833 else
18834 :;
18835 fi
18836 ac_ext=c
18837 ac_cpp='$CPP $CPPFLAGS'
18838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18841
18842
18843
18844 ;;
18845
18846 Linux*)
18847 if test "$INTELCXX" != "yes"; then
18848
18849
18850 ac_ext=cpp
18851 ac_cpp='$CXXCPP $CPPFLAGS'
18852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18855
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18857 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18858 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
18859 $as_echo_n "(cached) " >&6
18860 else
18861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18862 /* end confdefs.h. */
18863
18864 int
18865 main ()
18866 {
18867
18868 #ifndef __SUNPRO_CC
18869 choke me
18870 #endif
18871
18872 ;
18873 return 0;
18874 }
18875 _ACEOF
18876 if ac_fn_cxx_try_compile "$LINENO"; then :
18877 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18878 else
18879 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18880
18881 fi
18882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18883
18884
18885 fi
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18887 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18888 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18889 :; SUNCXX=yes
18890 else
18891 :;
18892 fi
18893 ac_ext=c
18894 ac_cpp='$CPP $CPPFLAGS'
18895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18898
18899
18900
18901 fi
18902 ;;
18903
18904 HP-UX*)
18905
18906
18907 ac_ext=cpp
18908 ac_cpp='$CXXCPP $CPPFLAGS'
18909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18912
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
18914 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
18915 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then :
18916 $as_echo_n "(cached) " >&6
18917 else
18918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18919 /* end confdefs.h. */
18920
18921 int
18922 main ()
18923 {
18924
18925 #ifndef __HP_aCC
18926 choke me
18927 #endif
18928
18929 ;
18930 return 0;
18931 }
18932 _ACEOF
18933 if ac_fn_cxx_try_compile "$LINENO"; then :
18934 bakefile_cv_cxx_compiler___HP_aCC=yes
18935 else
18936 bakefile_cv_cxx_compiler___HP_aCC=no
18937
18938 fi
18939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18940
18941
18942 fi
18943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18944 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18945 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18946 :; HPCXX=yes
18947 else
18948 :;
18949 fi
18950 ac_ext=c
18951 ac_cpp='$CPP $CPPFLAGS'
18952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18955
18956
18957
18958 ;;
18959
18960 OSF1)
18961
18962
18963 ac_ext=cpp
18964 ac_cpp='$CXXCPP $CPPFLAGS'
18965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18968
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
18970 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
18971 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then :
18972 $as_echo_n "(cached) " >&6
18973 else
18974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18975 /* end confdefs.h. */
18976
18977 int
18978 main ()
18979 {
18980
18981 #ifndef __DECCXX
18982 choke me
18983 #endif
18984
18985 ;
18986 return 0;
18987 }
18988 _ACEOF
18989 if ac_fn_cxx_try_compile "$LINENO"; then :
18990 bakefile_cv_cxx_compiler___DECCXX=yes
18991 else
18992 bakefile_cv_cxx_compiler___DECCXX=no
18993
18994 fi
18995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996
18997
18998 fi
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19000 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19001 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19002 :; COMPAQCXX=yes
19003 else
19004 :;
19005 fi
19006 ac_ext=c
19007 ac_cpp='$CPP $CPPFLAGS'
19008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19011
19012
19013
19014 ;;
19015
19016 SunOS)
19017
19018
19019 ac_ext=cpp
19020 ac_cpp='$CXXCPP $CPPFLAGS'
19021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19024
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19026 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19027 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then :
19028 $as_echo_n "(cached) " >&6
19029 else
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032
19033 int
19034 main ()
19035 {
19036
19037 #ifndef __SUNPRO_CC
19038 choke me
19039 #endif
19040
19041 ;
19042 return 0;
19043 }
19044 _ACEOF
19045 if ac_fn_cxx_try_compile "$LINENO"; then :
19046 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19047 else
19048 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19049
19050 fi
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052
19053
19054 fi
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19056 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19057 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19058 :; SUNCXX=yes
19059 else
19060 :;
19061 fi
19062 ac_ext=c
19063 ac_cpp='$CPP $CPPFLAGS'
19064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19067
19068
19069
19070 ;;
19071 esac
19072 fi
19073
19074
19075
19076 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19077 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19078 fi
19079
19080 if test "x$SUNCXX" != xyes; then
19081 if test -n "$ac_tool_prefix"; then
19082 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19083 set dummy ${ac_tool_prefix}ar; ac_word=$2
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19085 $as_echo_n "checking for $ac_word... " >&6; }
19086 if test "${ac_cv_prog_AR+set}" = set; then :
19087 $as_echo_n "(cached) " >&6
19088 else
19089 if test -n "$AR"; then
19090 ac_cv_prog_AR="$AR" # Let the user override the test.
19091 else
19092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19093 for as_dir in $PATH
19094 do
19095 IFS=$as_save_IFS
19096 test -z "$as_dir" && as_dir=.
19097 for ac_exec_ext in '' $ac_executable_extensions; do
19098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19099 ac_cv_prog_AR="${ac_tool_prefix}ar"
19100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19101 break 2
19102 fi
19103 done
19104 done
19105 IFS=$as_save_IFS
19106
19107 fi
19108 fi
19109 AR=$ac_cv_prog_AR
19110 if test -n "$AR"; then
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19112 $as_echo "$AR" >&6; }
19113 else
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19115 $as_echo "no" >&6; }
19116 fi
19117
19118
19119 fi
19120 if test -z "$ac_cv_prog_AR"; then
19121 ac_ct_AR=$AR
19122 # Extract the first word of "ar", so it can be a program name with args.
19123 set dummy ar; ac_word=$2
19124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19125 $as_echo_n "checking for $ac_word... " >&6; }
19126 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
19127 $as_echo_n "(cached) " >&6
19128 else
19129 if test -n "$ac_ct_AR"; then
19130 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19131 else
19132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19133 for as_dir in $PATH
19134 do
19135 IFS=$as_save_IFS
19136 test -z "$as_dir" && as_dir=.
19137 for ac_exec_ext in '' $ac_executable_extensions; do
19138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19139 ac_cv_prog_ac_ct_AR="ar"
19140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19141 break 2
19142 fi
19143 done
19144 done
19145 IFS=$as_save_IFS
19146
19147 fi
19148 fi
19149 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19150 if test -n "$ac_ct_AR"; then
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19152 $as_echo "$ac_ct_AR" >&6; }
19153 else
19154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19155 $as_echo "no" >&6; }
19156 fi
19157
19158 if test "x$ac_ct_AR" = x; then
19159 AR=""
19160 else
19161 case $cross_compiling:$ac_tool_warned in
19162 yes:)
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19165 ac_tool_warned=yes ;;
19166 esac
19167 AR=$ac_ct_AR
19168 fi
19169 else
19170 AR="$ac_cv_prog_AR"
19171 fi
19172
19173 if test "x$AR" = "x" ; then
19174 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19175 fi
19176 fi
19177
19178
19179 if test "$wxUSE_MAC" = 1; then
19180
19181 retest_macosx_linking=no
19182
19183 OSX_ARCH_OPTS=""
19184
19185 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19186 if test "x$wxUSE_MAC_ARCH" != xno; then
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19188 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19189 fi
19190
19191 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19192 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19193 else OSX_ARCH_OPTS="ppc,i386"
19194 if test "$wxUSE_OSX_COCOA" = 1; then
19195 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19196 fi
19197 fi
19198
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19200 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19202 $as_echo "$OSX_ARCH_OPTS" >&6; }
19203
19204 retest_macosx_linking=yes
19205
19206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19207 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19208 bk_use_pch=no
19209 else
19210 if test "x$wxUSE_MAC_ARCH" != xno; then
19211 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19212 fi
19213 fi
19214
19215 if test "x$OSX_ARCH_OPTS" != "x"; then
19216 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19217
19218 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19219 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19220 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19221 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19222 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19223 fi
19224
19225 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19226 wxUSE_MACOSX_SDK=
19227 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19228 # TODO: Search for most recent SDK and use it.
19229 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19230 fi
19231
19232
19233 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19235 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19236 if ! test -d "$wxUSE_MACOSX_SDK"; then
19237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19239 as_fn_error $? "not found
19240 See \`config.log' for more details" "$LINENO" 5 ; }
19241 else
19242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19243 $as_echo "exists" >&6; }
19244 fi
19245 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19246 retest_macosx_linking=yes
19247 fi
19248
19249 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19250 wxUSE_MACOSX_VERSION_MIN=
19251 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19252 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19254 $as_echo_n "checking SDK deployment version... " >&6; }
19255
19256 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/'`
19257
19258 # If that failed, try again with the new key
19259 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19260
19261 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/'`
19262
19263 fi
19264
19265 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19266 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19268 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19269 else
19270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19271 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19272 wxUSE_MACOSX_VERSION_MIN=
19273 fi
19274 else
19275 wxUSE_MACOSX_VERSION_MIN=
19276 fi
19277 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19278 for ac_prog in sw_vers
19279 do
19280 # Extract the first word of "$ac_prog", so it can be a program name with args.
19281 set dummy $ac_prog; ac_word=$2
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19283 $as_echo_n "checking for $ac_word... " >&6; }
19284 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19287 if test -n "$OSX_SW_VERS"; then
19288 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19289 else
19290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19291 for as_dir in $PATH
19292 do
19293 IFS=$as_save_IFS
19294 test -z "$as_dir" && as_dir=.
19295 for ac_exec_ext in '' $ac_executable_extensions; do
19296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19297 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19299 break 2
19300 fi
19301 done
19302 done
19303 IFS=$as_save_IFS
19304
19305 fi
19306 fi
19307 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19308 if test -n "$OSX_SW_VERS"; then
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_SW_VERS" >&5
19310 $as_echo "$OSX_SW_VERS" >&6; }
19311 else
19312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19313 $as_echo "no" >&6; }
19314 fi
19315
19316
19317 test -n "$OSX_SW_VERS" && break
19318 done
19319
19320 if test "$OSX_SW_VERS" != ""; then
19321 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19322 else
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19324 $as_echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19325 OSX_VERSION="10.4"
19326 fi
19327
19328 case "$OSX_VERSION" in
19329 10.4* )
19330 wxUSE_MACOSX_VERSION_MIN=10.4
19331 ;;
19332
19333 * )
19334 if test "$wxUSE_OSX_CARBON" = 1; then
19335 # otherwise configure stops on leopard for universal_binary
19336 wxUSE_MACOSX_VERSION_MIN=10.4
19337 else
19338 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19339 wxUSE_MACOSX_VERSION_MIN=10.5
19340 fi
19341 ;;
19342 esac
19343 fi
19344
19345 NEEDS_GCC40="no"
19346 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19347 NEEDS_GCC40="yes"
19348 fi
19349
19350 if test "$wxUSE_OSX_CARBON" = 1; then
19351 NEEDS_GCC40="yes"
19352 fi
19353
19354 if test "x$NEEDS_GCC40" == "xyes"; then
19355 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19356 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19357 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19358 if test "x$CC" = "xgcc"; then
19359 CCVERSION=`$CC --version | grep 4.[2-9].`
19360 if test "x$CCVERSION" != "x"; then
19361 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19362 CC="gcc-4.0"
19363 fi
19364 fi
19365
19366 if test "x$CXX" = "xg++"; then
19367 CCVERSION=`$CXX --version | grep 4.[2-9].`
19368 if test "x$CCVERSION" != "x"; then
19369 CXX="g++-4.0"
19370 fi
19371 fi
19372 fi
19373
19374 if test "x$MACOSX_SDK_OPTS" != "x"; then
19375 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19376 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19377 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19378 fi
19379
19380 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19381 if test "$wxUSE_OSX_IPHONE" = 1; then
19382 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19383 else
19384 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19385 fi
19386 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19387 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19388 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19389 retest_macosx_linking=yes
19390 fi
19391
19392 if test "x$retest_macosx_linking" = "xyes"; then
19393 ac_ext=c
19394 ac_cpp='$CPP $CPPFLAGS'
19395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19398
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler works with SDK/version options" >&5
19400 $as_echo_n "checking if C compiler works with SDK/version options... " >&6; }
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403
19404 int
19405 main ()
19406 {
19407
19408 ;
19409 return 0;
19410 }
19411 _ACEOF
19412 if ac_fn_c_try_link "$LINENO"; then :
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19414 $as_echo "yes" >&6; }
19415 else
19416 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19418 as_fn_error $? "no. Try a different SDK
19419 See \`config.log' for more details" "$LINENO" 5 ; }; exit 1
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext conftest.$ac_ext
19423 ac_ext=c
19424 ac_cpp='$CPP $CPPFLAGS'
19425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19428
19429
19430 ac_ext=cpp
19431 ac_cpp='$CXXCPP $CPPFLAGS'
19432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19435
19436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler works with SDK/version options" >&5
19437 $as_echo_n "checking if C++ compiler works with SDK/version options... " >&6; }
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440
19441 int
19442 main ()
19443 {
19444
19445 ;
19446 return 0;
19447 }
19448 _ACEOF
19449 if ac_fn_cxx_try_link "$LINENO"; then :
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19451 $as_echo "yes" >&6; }
19452 else
19453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19455 as_fn_error $? "no. Try a different SDK
19456 See \`config.log' for more details" "$LINENO" 5 ; }; exit 1
19457 fi
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext conftest.$ac_ext
19460 ac_ext=c
19461 ac_cpp='$CPP $CPPFLAGS'
19462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19465
19466 fi
19467
19468 fi
19469 case "${host}" in
19470
19471 *-*-darwin* )
19472 INSTALL_PROGRAM="cp -fp"
19473 INSTALL_DATA="cp -fp"
19474 ;;
19475 *)
19476 ;;
19477 esac
19478
19479
19480 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19481 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19482
19483
19484 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19485 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19486 fi
19487
19488 if test "x$USE_AIX" = "x1"; then
19489 if test "x$XLCXX" = "xyes"; then
19490 CXXFLAGS="-qunique $CXXFLAGS"
19491 fi
19492
19493 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19494 fi
19495
19496 case "${host}" in
19497 powerpc-*-darwin* )
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19499 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19501 /* end confdefs.h. */
19502
19503 int
19504 main ()
19505 {
19506 #ifndef __POWERPC__
19507 choke me for lack of PowerPC
19508 #endif
19509
19510 ;
19511 return 0;
19512 }
19513 _ACEOF
19514 if ac_fn_c_try_compile "$LINENO"; then :
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19516 $as_echo "yes" >&6; }
19517 else
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19519 $as_echo "no" >&6; }
19520 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19521
19522
19523 fi
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525 ;;
19526 esac
19527
19528 case "${host}" in
19529 *-*-darwin* )
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19531 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19533 /* end confdefs.h. */
19534 #include <CoreFoundation/CFBase.h>
19535
19536 int
19537 main ()
19538 {
19539
19540 ;
19541 return 0;
19542 }
19543 _ACEOF
19544 if ac_fn_c_try_compile "$LINENO"; then :
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19546 $as_echo "yes" >&6; }
19547 else
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19549 $as_echo "no" >&6; }
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19551 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554 #define __CF_USE_FRAMEWORK_INCLUDES__
19555 #include <CoreFoundation/CFBase.h>
19556
19557 int
19558 main ()
19559 {
19560
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 if ac_fn_c_try_compile "$LINENO"; then :
19566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19567 $as_echo "yes" >&6; }
19568 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19569 else
19570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19572 as_fn_error $? "no. CoreFoundation not available.
19573 See \`config.log' for more details" "$LINENO" 5 ; }
19574
19575 fi
19576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19577
19578
19579 fi
19580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19581 ;;
19582 esac
19583
19584 wants_win32=0
19585 doesnt_want_win32=0
19586 case "${host}" in
19587 *-*-cygwin*)
19588 if test "$wxUSE_MSW" = 1 ; then
19589 wants_win32=1
19590 else
19591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19592 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19593 if test "${wx_cv_nocygwin+set}" = set; then :
19594 $as_echo_n "(cached) " >&6
19595 else
19596
19597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19598 /* end confdefs.h. */
19599
19600 int
19601 main ()
19602 {
19603
19604 #ifdef __MINGW32__
19605 choke me
19606 #endif
19607
19608 ;
19609 return 0;
19610 }
19611 _ACEOF
19612 if ac_fn_c_try_compile "$LINENO"; then :
19613 wx_cv_nocygwin=no
19614 else
19615 wx_cv_nocygwin=yes
19616
19617 fi
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619
19620
19621 fi
19622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19623 $as_echo "$wx_cv_nocygwin" >&6; }
19624
19625 if test "$wx_cv_nocygwin" = "yes"; then
19626 wants_win32=1
19627 else
19628 doesnt_want_win32=1
19629 fi
19630 fi
19631 if test "$wants_win32" = 1 ; then
19632 BAKEFILE_FORCE_PLATFORM=win32
19633 fi
19634 ;;
19635 *-*-mingw*)
19636 wants_win32=1
19637 ;;
19638 esac
19639
19640 if test "$wxUSE_WINE" = "yes"; then
19641 wants_win32=1
19642 LDFLAGS_GUI="-mwindows"
19643 fi
19644
19645 if test "$wants_win32" = 1 ; then
19646 USE_UNIX=0
19647 USE_WIN32=1
19648 $as_echo "#define __WIN32__ 1" >>confdefs.h
19649
19650 $as_echo "#define __WIN95__ 1" >>confdefs.h
19651
19652 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19653
19654 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19655
19656 $as_echo "#define STRICT 1" >>confdefs.h
19657
19658 fi
19659 if test "$doesnt_want_win32" = 1 ; then
19660 USE_UNIX=1
19661 USE_WIN32=0
19662 fi
19663
19664 if test "$USE_UNIX" = 1 ; then
19665 wxUSE_UNIX=yes
19666 $as_echo "#define __UNIX__ 1" >>confdefs.h
19667
19668 fi
19669
19670 case "${host}" in
19671 *-pc-os2_emx | *-pc-os2-emx )
19672 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19674 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19675 if test "${ac_cv_lib_cExt_drand48+set}" = set; then :
19676 $as_echo_n "(cached) " >&6
19677 else
19678 ac_check_lib_save_LIBS=$LIBS
19679 LIBS="-lcExt $LIBS"
19680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19681 /* end confdefs.h. */
19682
19683 /* Override any GCC internal prototype to avoid an error.
19684 Use char because int might match the return type of a GCC
19685 builtin and then its argument prototype would still apply. */
19686 #ifdef __cplusplus
19687 extern "C"
19688 #endif
19689 char drand48 ();
19690 int
19691 main ()
19692 {
19693 return drand48 ();
19694 ;
19695 return 0;
19696 }
19697 _ACEOF
19698 if ac_fn_c_try_link "$LINENO"; then :
19699 ac_cv_lib_cExt_drand48=yes
19700 else
19701 ac_cv_lib_cExt_drand48=no
19702 fi
19703 rm -f core conftest.err conftest.$ac_objext \
19704 conftest$ac_exeext conftest.$ac_ext
19705 LIBS=$ac_check_lib_save_LIBS
19706 fi
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19708 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19709 if test "x$ac_cv_lib_cExt_drand48" = x""yes; then :
19710 LIBS="$LIBS -lcExt"
19711 fi
19712
19713 else
19714 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19715 fi
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19717 $as_echo_n "checking for gcc/libc version... " >&6; }
19718 if test "${wx_cv_gccversion+set}" = set; then :
19719 $as_echo_n "(cached) " >&6
19720 else
19721
19722 if test "$cross_compiling" = yes; then :
19723 wx_cv_gccversion="EMX2"
19724
19725 else
19726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727 /* end confdefs.h. */
19728
19729 #include <stdio.h>
19730
19731 int main()
19732 {
19733 FILE *f=fopen("conftestval", "w");
19734 if (!f) exit(1);
19735 fprintf(f,
19736 #if (__GNUC__ < 3)
19737 "EMX2"
19738 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19739 "EMX3"
19740 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19741 "Innotek5"
19742 #else
19743 "Innotek6"
19744 #endif
19745 );
19746 exit(0);
19747 }
19748
19749 _ACEOF
19750 if ac_fn_c_try_run "$LINENO"; then :
19751 wx_cv_gccversion=`cat conftestval`
19752 else
19753 wx_cv_gccversion="EMX2"
19754 fi
19755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19756 conftest.$ac_objext conftest.beam conftest.$ac_ext
19757 fi
19758
19759
19760 fi
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19762 $as_echo "$wx_cv_gccversion" >&6; }
19763 if test "$wx_cv_gccversion" = "EMX2"; then
19764 LIBS="$LIBS -lstdcpp"
19765 LDFLAGS="$LDFLAGS -Zsysv-signals"
19766 else
19767 if test "$wx_cv_gccversion" = "EMX3"; then
19768 LIBS="$LIBS -lstdcxx -lgcc"
19769 LDFLAGS="$LDFLAGS -Zsysv-signals"
19770 else
19771 LIBS="$LIBS -lstdc++"
19772 fi
19773 fi
19774 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19776 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19777 wxUSE_OMF=yes
19778 enable_omf=yes
19779 fi
19780 ;;
19781 *)
19782
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19784 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19785 if test "${ac_cv_string_strcasecmp+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19787 else
19788
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791
19792 #include <string.h>
19793
19794 int
19795 main ()
19796 {
19797
19798 strcasecmp("foo", "bar");
19799
19800 ;
19801 return 0;
19802 }
19803 _ACEOF
19804 if ac_fn_c_try_link "$LINENO"; then :
19805 ac_cv_string_strcasecmp=yes
19806 else
19807 ac_cv_string_strcasecmp=no
19808
19809 fi
19810 rm -f core conftest.err conftest.$ac_objext \
19811 conftest$ac_exeext conftest.$ac_ext
19812
19813 fi
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19815 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19816
19817 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19818 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19819
19820 else
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19822 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19823 if test "${ac_cv_strings_strcasecmp+set}" = set; then :
19824 $as_echo_n "(cached) " >&6
19825 else
19826
19827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h. */
19829
19830 #include <strings.h>
19831
19832 int
19833 main ()
19834 {
19835
19836 strcasecmp("foo", "bar");
19837
19838 ;
19839 return 0;
19840 }
19841 _ACEOF
19842 if ac_fn_c_try_link "$LINENO"; then :
19843 ac_cv_strings_strcasecmp=yes
19844 else
19845 ac_cv_strings_strcasecmp=no
19846
19847 fi
19848 rm -f core conftest.err conftest.$ac_objext \
19849 conftest$ac_exeext conftest.$ac_ext
19850
19851 fi
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19853 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19854
19855 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19856 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19857
19858 else
19859 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19860 fi
19861 fi
19862
19863 ;;
19864 esac
19865
19866
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19868 $as_echo_n "checking for ANSI C header files... " >&6; }
19869 if test "${ac_cv_header_stdc+set}" = set; then :
19870 $as_echo_n "(cached) " >&6
19871 else
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #include <stdlib.h>
19875 #include <stdarg.h>
19876 #include <string.h>
19877 #include <float.h>
19878
19879 int
19880 main ()
19881 {
19882
19883 ;
19884 return 0;
19885 }
19886 _ACEOF
19887 if ac_fn_c_try_compile "$LINENO"; then :
19888 ac_cv_header_stdc=yes
19889 else
19890 ac_cv_header_stdc=no
19891 fi
19892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19893
19894 if test $ac_cv_header_stdc = yes; then
19895 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #include <string.h>
19899
19900 _ACEOF
19901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19902 $EGREP "memchr" >/dev/null 2>&1; then :
19903
19904 else
19905 ac_cv_header_stdc=no
19906 fi
19907 rm -f conftest*
19908
19909 fi
19910
19911 if test $ac_cv_header_stdc = yes; then
19912 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h. */
19915 #include <stdlib.h>
19916
19917 _ACEOF
19918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19919 $EGREP "free" >/dev/null 2>&1; then :
19920
19921 else
19922 ac_cv_header_stdc=no
19923 fi
19924 rm -f conftest*
19925
19926 fi
19927
19928 if test $ac_cv_header_stdc = yes; then
19929 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19930 if test "$cross_compiling" = yes; then :
19931 :
19932 else
19933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19934 /* end confdefs.h. */
19935 #include <ctype.h>
19936 #include <stdlib.h>
19937 #if ((' ' & 0x0FF) == 0x020)
19938 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19939 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19940 #else
19941 # define ISLOWER(c) \
19942 (('a' <= (c) && (c) <= 'i') \
19943 || ('j' <= (c) && (c) <= 'r') \
19944 || ('s' <= (c) && (c) <= 'z'))
19945 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19946 #endif
19947
19948 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19949 int
19950 main ()
19951 {
19952 int i;
19953 for (i = 0; i < 256; i++)
19954 if (XOR (islower (i), ISLOWER (i))
19955 || toupper (i) != TOUPPER (i))
19956 return 2;
19957 return 0;
19958 }
19959 _ACEOF
19960 if ac_fn_c_try_run "$LINENO"; then :
19961
19962 else
19963 ac_cv_header_stdc=no
19964 fi
19965 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19966 conftest.$ac_objext conftest.beam conftest.$ac_ext
19967 fi
19968
19969 fi
19970 fi
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19972 $as_echo "$ac_cv_header_stdc" >&6; }
19973 if test $ac_cv_header_stdc = yes; then
19974
19975 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19976
19977 fi
19978
19979 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19980 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19981 inttypes.h stdint.h unistd.h
19982 do :
19983 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19984 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
19985 "
19986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19987 cat >>confdefs.h <<_ACEOF
19988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19989 _ACEOF
19990
19991 fi
19992
19993 done
19994
19995
19996 for ac_header in langinfo.h wchar.h
19997 do :
19998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20000 "
20001 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20002 cat >>confdefs.h <<_ACEOF
20003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20004 _ACEOF
20005
20006 fi
20007
20008 done
20009
20010
20011 if test "$ac_cv_header_wchar_h" != "yes"; then
20012 for ac_header in wcstr.h
20013 do :
20014 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20015 "
20016 if test "x$ac_cv_header_wcstr_h" = x""yes; then :
20017 cat >>confdefs.h <<_ACEOF
20018 #define HAVE_WCSTR_H 1
20019 _ACEOF
20020
20021 fi
20022
20023 done
20024
20025 fi
20026
20027 case "${host}" in
20028 *-pc-os2_emx | *-pc-os2-emx )
20029 if test $ac_cv_header_langinfo_h = "yes" \
20030 -a \( "$wx_cv_gccversion" = "EMX2" \
20031 -o "$wx_cv_gccversion" = "EMX3" \
20032 -o "$wx_cv_gccversion" = "Innotek5" \); then
20033 LIBS="$LIBS -lintl"
20034 fi
20035 ;;
20036 esac
20037
20038 if test "$USE_UNIX" = 1 ; then
20039 for ac_header in sys/select.h
20040 do :
20041 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20042 "
20043 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
20044 cat >>confdefs.h <<_ACEOF
20045 #define HAVE_SYS_SELECT_H 1
20046 _ACEOF
20047
20048 fi
20049
20050 done
20051
20052 fi
20053
20054
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20056 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20057 if test "${ac_cv_c_const+set}" = set; then :
20058 $as_echo_n "(cached) " >&6
20059 else
20060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061 /* end confdefs.h. */
20062
20063 int
20064 main ()
20065 {
20066 /* FIXME: Include the comments suggested by Paul. */
20067 #ifndef __cplusplus
20068 /* Ultrix mips cc rejects this. */
20069 typedef int charset[2];
20070 const charset cs;
20071 /* SunOS 4.1.1 cc rejects this. */
20072 char const *const *pcpcc;
20073 char **ppc;
20074 /* NEC SVR4.0.2 mips cc rejects this. */
20075 struct point {int x, y;};
20076 static struct point const zero = {0,0};
20077 /* AIX XL C 1.02.0.0 rejects this.
20078 It does not let you subtract one const X* pointer from another in
20079 an arm of an if-expression whose if-part is not a constant
20080 expression */
20081 const char *g = "string";
20082 pcpcc = &g + (g ? g-g : 0);
20083 /* HPUX 7.0 cc rejects these. */
20084 ++pcpcc;
20085 ppc = (char**) pcpcc;
20086 pcpcc = (char const *const *) ppc;
20087 { /* SCO 3.2v4 cc rejects this. */
20088 char *t;
20089 char const *s = 0 ? (char *) 0 : (char const *) 0;
20090
20091 *t++ = 0;
20092 if (s) return 0;
20093 }
20094 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20095 int x[] = {25, 17};
20096 const int *foo = &x[0];
20097 ++foo;
20098 }
20099 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20100 typedef const int *iptr;
20101 iptr p = 0;
20102 ++p;
20103 }
20104 { /* AIX XL C 1.02.0.0 rejects this saying
20105 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20106 struct s { int j; const int *ap[3]; };
20107 struct s *b; b->j = 5;
20108 }
20109 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20110 const int foo = 10;
20111 if (!foo) return 0;
20112 }
20113 return !cs[0] && !zero.x;
20114 #endif
20115
20116 ;
20117 return 0;
20118 }
20119 _ACEOF
20120 if ac_fn_c_try_compile "$LINENO"; then :
20121 ac_cv_c_const=yes
20122 else
20123 ac_cv_c_const=no
20124 fi
20125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20126 fi
20127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20128 $as_echo "$ac_cv_c_const" >&6; }
20129 if test $ac_cv_c_const = no; then
20130
20131 $as_echo "#define const /**/" >>confdefs.h
20132
20133 fi
20134
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20136 $as_echo_n "checking for inline... " >&6; }
20137 if test "${ac_cv_c_inline+set}" = set; then :
20138 $as_echo_n "(cached) " >&6
20139 else
20140 ac_cv_c_inline=no
20141 for ac_kw in inline __inline__ __inline; do
20142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20143 /* end confdefs.h. */
20144 #ifndef __cplusplus
20145 typedef int foo_t;
20146 static $ac_kw foo_t static_foo () {return 0; }
20147 $ac_kw foo_t foo () {return 0; }
20148 #endif
20149
20150 _ACEOF
20151 if ac_fn_c_try_compile "$LINENO"; then :
20152 ac_cv_c_inline=$ac_kw
20153 fi
20154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20155 test "$ac_cv_c_inline" != no && break
20156 done
20157
20158 fi
20159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20160 $as_echo "$ac_cv_c_inline" >&6; }
20161
20162 case $ac_cv_c_inline in
20163 inline | yes) ;;
20164 *)
20165 case $ac_cv_c_inline in
20166 no) ac_val=;;
20167 *) ac_val=$ac_cv_c_inline;;
20168 esac
20169 cat >>confdefs.h <<_ACEOF
20170 #ifndef __cplusplus
20171 #define inline $ac_val
20172 #endif
20173 _ACEOF
20174 ;;
20175 esac
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 short" >&5
20183 $as_echo_n "checking size of short... " >&6; }
20184 if test "${ac_cv_sizeof_short+set}" = set; then :
20185 $as_echo_n "(cached) " >&6
20186 else
20187 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20188
20189 else
20190 if test "$ac_cv_type_short" = 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 (short)
20194 See \`config.log' for more details" "$LINENO" 5 ; }
20195 else
20196 ac_cv_sizeof_short=0
20197 fi
20198 fi
20199
20200 fi
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20202 $as_echo "$ac_cv_sizeof_short" >&6; }
20203
20204
20205
20206 cat >>confdefs.h <<_ACEOF
20207 #define SIZEOF_SHORT $ac_cv_sizeof_short
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 void *" >&5
20216 $as_echo_n "checking size of void *... " >&6; }
20217 if test "${ac_cv_sizeof_void_p+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20220 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20221
20222 else
20223 if test "$ac_cv_type_void_p" = 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 (void *)
20227 See \`config.log' for more details" "$LINENO" 5 ; }
20228 else
20229 ac_cv_sizeof_void_p=0
20230 fi
20231 fi
20232
20233 fi
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20235 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20236
20237
20238
20239 cat >>confdefs.h <<_ACEOF
20240 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20241 _ACEOF
20242
20243
20244 # The cast to long int works around a bug in the HP C Compiler
20245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20247 # This bug is HP SR number 8606223364.
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20249 $as_echo_n "checking size of int... " >&6; }
20250 if test "${ac_cv_sizeof_int+set}" = set; then :
20251 $as_echo_n "(cached) " >&6
20252 else
20253 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20254
20255 else
20256 if test "$ac_cv_type_int" = yes; then
20257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20259 as_fn_error 77 "cannot compute sizeof (int)
20260 See \`config.log' for more details" "$LINENO" 5 ; }
20261 else
20262 ac_cv_sizeof_int=0
20263 fi
20264 fi
20265
20266 fi
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20268 $as_echo "$ac_cv_sizeof_int" >&6; }
20269
20270
20271
20272 cat >>confdefs.h <<_ACEOF
20273 #define SIZEOF_INT $ac_cv_sizeof_int
20274 _ACEOF
20275
20276
20277 # The cast to long int works around a bug in the HP C Compiler
20278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20280 # This bug is HP SR number 8606223364.
20281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20282 $as_echo_n "checking size of long... " >&6; }
20283 if test "${ac_cv_sizeof_long+set}" = set; then :
20284 $as_echo_n "(cached) " >&6
20285 else
20286 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20287
20288 else
20289 if test "$ac_cv_type_long" = yes; then
20290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20292 as_fn_error 77 "cannot compute sizeof (long)
20293 See \`config.log' for more details" "$LINENO" 5 ; }
20294 else
20295 ac_cv_sizeof_long=0
20296 fi
20297 fi
20298
20299 fi
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20301 $as_echo "$ac_cv_sizeof_long" >&6; }
20302
20303
20304
20305 cat >>confdefs.h <<_ACEOF
20306 #define SIZEOF_LONG $ac_cv_sizeof_long
20307 _ACEOF
20308
20309
20310 # The cast to long int works around a bug in the HP C Compiler
20311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20313 # This bug is HP SR number 8606223364.
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20315 $as_echo_n "checking size of size_t... " >&6; }
20316 if test "${ac_cv_sizeof_size_t+set}" = set; then :
20317 $as_echo_n "(cached) " >&6
20318 else
20319 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20320
20321 else
20322 if test "$ac_cv_type_size_t" = yes; then
20323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20325 as_fn_error 77 "cannot compute sizeof (size_t)
20326 See \`config.log' for more details" "$LINENO" 5 ; }
20327 else
20328 ac_cv_sizeof_size_t=0
20329 fi
20330 fi
20331
20332 fi
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20334 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20335
20336
20337
20338 cat >>confdefs.h <<_ACEOF
20339 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20340 _ACEOF
20341
20342
20343
20344 case "${host}" in
20345 arm-*-linux* )
20346 # The cast to long int works around a bug in the HP C Compiler
20347 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20348 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20349 # This bug is HP SR number 8606223364.
20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20351 $as_echo_n "checking size of long long... " >&6; }
20352 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20353 $as_echo_n "(cached) " >&6
20354 else
20355 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20356
20357 else
20358 if test "$ac_cv_type_long_long" = yes; then
20359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20361 as_fn_error 77 "cannot compute sizeof (long long)
20362 See \`config.log' for more details" "$LINENO" 5 ; }
20363 else
20364 ac_cv_sizeof_long_long=0
20365 fi
20366 fi
20367
20368 fi
20369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20370 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20371
20372
20373
20374 cat >>confdefs.h <<_ACEOF
20375 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20376 _ACEOF
20377
20378
20379 ;;
20380 *-hp-hpux* )
20381 # The cast to long int works around a bug in the HP C Compiler
20382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20384 # This bug is HP SR number 8606223364.
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20386 $as_echo_n "checking size of long long... " >&6; }
20387 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20388 $as_echo_n "(cached) " >&6
20389 else
20390 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20391
20392 else
20393 if test "$ac_cv_type_long_long" = yes; then
20394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20396 as_fn_error 77 "cannot compute sizeof (long long)
20397 See \`config.log' for more details" "$LINENO" 5 ; }
20398 else
20399 ac_cv_sizeof_long_long=0
20400 fi
20401 fi
20402
20403 fi
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20405 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20406
20407
20408
20409 cat >>confdefs.h <<_ACEOF
20410 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20411 _ACEOF
20412
20413
20414 if test "$ac_cv_sizeof_long_long" != 0; then
20415 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20416 fi
20417 ;;
20418 * )
20419 # The cast to long int works around a bug in the HP C Compiler
20420 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20421 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20422 # This bug is HP SR number 8606223364.
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20424 $as_echo_n "checking size of long long... " >&6; }
20425 if test "${ac_cv_sizeof_long_long+set}" = set; then :
20426 $as_echo_n "(cached) " >&6
20427 else
20428 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20429
20430 else
20431 if test "$ac_cv_type_long_long" = yes; then
20432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20434 as_fn_error 77 "cannot compute sizeof (long long)
20435 See \`config.log' for more details" "$LINENO" 5 ; }
20436 else
20437 ac_cv_sizeof_long_long=0
20438 fi
20439 fi
20440
20441 fi
20442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20443 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20444
20445
20446
20447 cat >>confdefs.h <<_ACEOF
20448 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20449 _ACEOF
20450
20451
20452 esac
20453
20454 # The cast to long int works around a bug in the HP C Compiler
20455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20457 # This bug is HP SR number 8606223364.
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20459 $as_echo_n "checking size of wchar_t... " >&6; }
20460 if test "${ac_cv_sizeof_wchar_t+set}" = set; then :
20461 $as_echo_n "(cached) " >&6
20462 else
20463 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20464 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20465 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20466 # error \"fake wchar_t\"
20467 #endif
20468 #ifdef HAVE_WCHAR_H
20469 # ifdef __CYGWIN__
20470 # include <stddef.h>
20471 # endif
20472 # include <wchar.h>
20473 #endif
20474 #ifdef HAVE_STDLIB_H
20475 # include <stdlib.h>
20476 #endif
20477 #include <stdio.h>
20478
20479
20480 "; then :
20481
20482 else
20483 if test "$ac_cv_type_wchar_t" = yes; then
20484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20486 as_fn_error 77 "cannot compute sizeof (wchar_t)
20487 See \`config.log' for more details" "$LINENO" 5 ; }
20488 else
20489 ac_cv_sizeof_wchar_t=0
20490 fi
20491 fi
20492
20493 fi
20494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20495 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20496
20497
20498
20499 cat >>confdefs.h <<_ACEOF
20500 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20501 _ACEOF
20502
20503
20504 if test "$ac_cv_sizeof_wchar_t" = 0; then
20505 as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
20506 fi
20507 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20508
20509
20510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20511 $as_echo_n "checking for va_copy... " >&6; }
20512 if test "${wx_cv_func_va_copy+set}" = set; then :
20513 $as_echo_n "(cached) " >&6
20514 else
20515
20516 ac_ext=cpp
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20521
20522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20524
20525
20526 #include <stdarg.h>
20527 void foo(char *f, ...)
20528 {
20529 va_list ap1, ap2;
20530 va_start(ap1, f);
20531 va_copy(ap2, ap1);
20532 va_end(ap2);
20533 va_end(ap1);
20534 }
20535 int main()
20536 {
20537 foo("hi", 17);
20538 return 0;
20539 }
20540
20541 _ACEOF
20542 if ac_fn_cxx_try_link "$LINENO"; then :
20543 wx_cv_func_va_copy=yes
20544 else
20545 wx_cv_func_va_copy=no
20546
20547 fi
20548 rm -f core conftest.err conftest.$ac_objext \
20549 conftest$ac_exeext conftest.$ac_ext
20550 ac_ext=c
20551 ac_cpp='$CPP $CPPFLAGS'
20552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20555
20556
20557
20558 fi
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20560 $as_echo "$wx_cv_func_va_copy" >&6; }
20561
20562 if test $wx_cv_func_va_copy = "yes"; then
20563 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20564
20565 else
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20567 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20568 if test "${wx_cv_type_va_list_lvalue+set}" = set; then :
20569 $as_echo_n "(cached) " >&6
20570 else
20571
20572 if test "$cross_compiling" = yes; then :
20573 wx_cv_type_va_list_lvalue=yes
20574
20575 else
20576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20577 /* end confdefs.h. */
20578
20579
20580 #include <stdarg.h>
20581 int foo(char *f, ...)
20582 {
20583 va_list ap1, ap2;
20584 va_start(ap1, f);
20585 ap2 = ap1;
20586 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20587 return 1;
20588 va_end(ap2);
20589 va_end(ap1);
20590 return 0;
20591 }
20592 int main()
20593 {
20594 return foo("hi", 17);
20595 }
20596
20597 _ACEOF
20598 if ac_fn_c_try_run "$LINENO"; then :
20599 wx_cv_type_va_list_lvalue=yes
20600 else
20601 wx_cv_type_va_list_lvalue=no
20602 fi
20603 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20604 conftest.$ac_objext conftest.beam conftest.$ac_ext
20605 fi
20606
20607
20608
20609 fi
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20611 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20612
20613 if test $wx_cv_type_va_list_lvalue != "yes"; then
20614 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20615
20616 fi
20617 fi
20618
20619 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20620
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20622 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20623 if test "${wx_cv_have_variadic_macros+set}" = set; then :
20624 $as_echo_n "(cached) " >&6
20625 else
20626
20627 ac_ext=cpp
20628 ac_cpp='$CXXCPP $CPPFLAGS'
20629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20632
20633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20634 /* end confdefs.h. */
20635
20636
20637 #include <stdio.h>
20638 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20639
20640 int
20641 main ()
20642 {
20643
20644 test("%s %d %p", "test", 1, 0);
20645
20646
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 if ac_fn_cxx_try_compile "$LINENO"; then :
20652 wx_cv_have_variadic_macros=yes
20653 else
20654 wx_cv_have_variadic_macros=no
20655
20656 fi
20657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20658 ac_ext=c
20659 ac_cpp='$CPP $CPPFLAGS'
20660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20663
20664
20665
20666 fi
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20668 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20669
20670 if test $wx_cv_have_variadic_macros = "yes"; then
20671 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20672
20673 fi
20674
20675 fi
20676
20677 LARGEFILE_CPPFLAGS=
20678 # Check whether --enable-largefile was given.
20679 if test "${enable_largefile+set}" = set; then :
20680 enableval=$enable_largefile;
20681 fi
20682
20683 if test "$enable_largefile" != no; then
20684 wx_largefile=no
20685
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20687 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20688 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
20689 $as_echo_n "(cached) " >&6
20690 else
20691
20692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20693 /* end confdefs.h. */
20694 #define _FILE_OFFSET_BITS 64
20695 #include <sys/types.h>
20696 int
20697 main ()
20698 {
20699 typedef struct {
20700 unsigned int field: sizeof(off_t) == 8;
20701 } wxlf;
20702
20703 ;
20704 return 0;
20705 }
20706 _ACEOF
20707 if ac_fn_c_try_compile "$LINENO"; then :
20708 ac_cv_sys_file_offset_bits=64
20709 else
20710 ac_cv_sys_file_offset_bits=no
20711 fi
20712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20713
20714
20715 fi
20716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20717 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20718
20719 if test "$ac_cv_sys_file_offset_bits" != no; then
20720 wx_largefile=yes
20721 cat >>confdefs.h <<_ACEOF
20722 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20723 _ACEOF
20724
20725 fi
20726
20727 if test "x$wx_largefile" != "xyes"; then
20728
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20730 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20731 if test "${ac_cv_sys_large_files+set}" = set; then :
20732 $as_echo_n "(cached) " >&6
20733 else
20734
20735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20736 /* end confdefs.h. */
20737 #define _LARGE_FILES 1
20738 #include <sys/types.h>
20739 int
20740 main ()
20741 {
20742 typedef struct {
20743 unsigned int field: sizeof(off_t) == 8;
20744 } wxlf;
20745
20746 ;
20747 return 0;
20748 }
20749 _ACEOF
20750 if ac_fn_c_try_compile "$LINENO"; then :
20751 ac_cv_sys_large_files=1
20752 else
20753 ac_cv_sys_large_files=no
20754 fi
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756
20757
20758 fi
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20760 $as_echo "$ac_cv_sys_large_files" >&6; }
20761
20762 if test "$ac_cv_sys_large_files" != no; then
20763 wx_largefile=yes
20764 cat >>confdefs.h <<_ACEOF
20765 #define _LARGE_FILES $ac_cv_sys_large_files
20766 _ACEOF
20767
20768 fi
20769
20770 fi
20771
20772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20773 $as_echo_n "checking if large file support is available... " >&6; }
20774 if test "x$wx_largefile" = "xyes"; then
20775 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20776
20777 fi
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20779 $as_echo "$wx_largefile" >&6; }
20780 fi
20781
20782 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20783 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
20784 elif test "$ac_cv_sys_large_files" = 1; then
20785 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
20786 fi
20787
20788 if test -n "$LARGEFILE_CPPFLAGS"; then
20789 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20790
20791 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20793 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20794 if test "${wx_cv_STDC_EXT_required+set}" = set; then :
20795 $as_echo_n "(cached) " >&6
20796 else
20797
20798 ac_ext=cpp
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20803
20804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20806
20807 int
20808 main ()
20809 {
20810
20811 #ifndef __STDC_EXT__
20812 choke me
20813 #endif
20814
20815 ;
20816 return 0;
20817 }
20818 _ACEOF
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820 wx_cv_STDC_EXT_required=no
20821 else
20822 wx_cv_STDC_EXT_required=yes
20823
20824 fi
20825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20826 ac_ext=c
20827 ac_cpp='$CPP $CPPFLAGS'
20828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20831
20832
20833
20834 fi
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20836 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20837 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20838 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20839 fi
20840 fi
20841 fi
20842
20843 ac_ext=cpp
20844 ac_cpp='$CXXCPP $CPPFLAGS'
20845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20848
20849 old_CPPFLAGS="$CPPFLAGS"
20850 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20852 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20853 if test "${ac_cv_sys_largefile_source+set}" = set; then :
20854 $as_echo_n "(cached) " >&6
20855 else
20856 while :; do
20857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20858 /* end confdefs.h. */
20859 #include <sys/types.h> /* for off_t */
20860 #include <stdio.h>
20861 int
20862 main ()
20863 {
20864 int (*fp) (FILE *, off_t, int) = fseeko;
20865 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20866 ;
20867 return 0;
20868 }
20869 _ACEOF
20870 if ac_fn_cxx_try_link "$LINENO"; then :
20871 ac_cv_sys_largefile_source=no; break
20872 fi
20873 rm -f core conftest.err conftest.$ac_objext \
20874 conftest$ac_exeext conftest.$ac_ext
20875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20876 /* end confdefs.h. */
20877 #define _LARGEFILE_SOURCE 1
20878 #include <sys/types.h> /* for off_t */
20879 #include <stdio.h>
20880 int
20881 main ()
20882 {
20883 int (*fp) (FILE *, off_t, int) = fseeko;
20884 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20885 ;
20886 return 0;
20887 }
20888 _ACEOF
20889 if ac_fn_cxx_try_link "$LINENO"; then :
20890 ac_cv_sys_largefile_source=1; break
20891 fi
20892 rm -f core conftest.err conftest.$ac_objext \
20893 conftest$ac_exeext conftest.$ac_ext
20894 ac_cv_sys_largefile_source=unknown
20895 break
20896 done
20897 fi
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20899 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20900 case $ac_cv_sys_largefile_source in #(
20901 no | unknown) ;;
20902 *)
20903 cat >>confdefs.h <<_ACEOF
20904 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20905 _ACEOF
20906 ;;
20907 esac
20908 rm -rf conftest*
20909
20910 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20911 # in glibc 2.1.3, but that breaks too many other things.
20912 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20913 if test $ac_cv_sys_largefile_source != unknown; then
20914
20915 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20916
20917 fi
20918
20919 CPPFLAGS="$old_CPPFLAGS"
20920 ac_ext=c
20921 ac_cpp='$CPP $CPPFLAGS'
20922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925
20926 if test "$ac_cv_sys_largefile_source" != no; then
20927 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20928 fi
20929
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20931 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20932 if test "${ac_cv_c_bigendian+set}" = set; then :
20933 $as_echo_n "(cached) " >&6
20934 else
20935 ac_cv_c_bigendian=unknown
20936 # See if sys/param.h defines the BYTE_ORDER macro.
20937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20938 /* end confdefs.h. */
20939 #include <sys/types.h>
20940 #include <sys/param.h>
20941 int
20942 main ()
20943 {
20944
20945 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20946 bogus endian macros
20947 #endif
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 if ac_fn_c_try_compile "$LINENO"; then :
20953 # It does; now see whether it defined to BIG_ENDIAN or not.
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #include <sys/types.h>
20957 #include <sys/param.h>
20958 int
20959 main ()
20960 {
20961
20962 #if BYTE_ORDER != BIG_ENDIAN
20963 not big endian
20964 #endif
20965 ;
20966 return 0;
20967 }
20968 _ACEOF
20969 if ac_fn_c_try_compile "$LINENO"; then :
20970 ac_cv_c_bigendian=yes
20971 else
20972 ac_cv_c_bigendian=no
20973 fi
20974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20975 fi
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 if test $ac_cv_c_bigendian = unknown; then
20978 if test "$cross_compiling" = yes; then :
20979 ac_cv_c_bigendian=unknown
20980 else
20981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982 /* end confdefs.h. */
20983 main () {
20984 /* Are we little or big endian? From Harbison&Steele. */
20985 union
20986 {
20987 long l;
20988 char c[sizeof (long)];
20989 } u;
20990 u.l = 1;
20991 exit (u.c[sizeof (long) - 1] == 1);
20992 }
20993 _ACEOF
20994 if ac_fn_c_try_run "$LINENO"; then :
20995 ac_cv_c_bigendian=no
20996 else
20997 ac_cv_c_bigendian=yes
20998 fi
20999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21000 conftest.$ac_objext conftest.beam conftest.$ac_ext
21001 fi
21002
21003 fi
21004 fi
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21006 $as_echo "$ac_cv_c_bigendian" >&6; }
21007 if test $ac_cv_c_bigendian = unknown; then
21008 { $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
21009 $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;}
21010 fi
21011 if test $ac_cv_c_bigendian = yes; then
21012 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21013
21014 fi
21015
21016
21017
21018
21019 ac_ext=cpp
21020 ac_cpp='$CXXCPP $CPPFLAGS'
21021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21024
21025
21026 for ac_header in iostream
21027 do :
21028 ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
21029 "
21030 if test "x$ac_cv_header_iostream" = x""yes; then :
21031 cat >>confdefs.h <<_ACEOF
21032 #define HAVE_IOSTREAM 1
21033 _ACEOF
21034
21035 fi
21036
21037 done
21038
21039
21040 if test "$ac_cv_header_iostream" = "yes" ; then
21041 :
21042 else
21043 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21044
21045 fi
21046
21047 ac_ext=c
21048 ac_cpp='$CPP $CPPFLAGS'
21049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21052
21053
21054
21055
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21057 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21058 if test "${wx_cv_explicit+set}" = set; then :
21059 $as_echo_n "(cached) " >&6
21060 else
21061
21062
21063 ac_ext=cpp
21064 ac_cpp='$CXXCPP $CPPFLAGS'
21065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21068
21069
21070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21071 /* end confdefs.h. */
21072
21073 class Foo { public: explicit Foo(int) {} };
21074
21075 int
21076 main ()
21077 {
21078
21079 return 0;
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 if ac_fn_cxx_try_compile "$LINENO"; then :
21086
21087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21088 /* end confdefs.h. */
21089
21090 class Foo { public: explicit Foo(int) {} };
21091 static void TakeFoo(const Foo& foo) { }
21092
21093 int
21094 main ()
21095 {
21096
21097 TakeFoo(17);
21098 return 0;
21099
21100 ;
21101 return 0;
21102 }
21103 _ACEOF
21104 if ac_fn_cxx_try_compile "$LINENO"; then :
21105 wx_cv_explicit=no
21106 else
21107 wx_cv_explicit=yes
21108
21109 fi
21110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21111
21112 else
21113 wx_cv_explicit=no
21114
21115 fi
21116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21117
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 fi
21126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21127 $as_echo "$wx_cv_explicit" >&6; }
21128
21129 if test "$wx_cv_explicit" = "yes"; then
21130 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21131
21132 fi
21133
21134
21135 if test "x$SUNCXX" = xyes; then
21136 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21137 fi
21138
21139 if test "x$SUNCC" = xyes; then
21140 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21141 fi
21142
21143 if test "x$SGICC" = "xyes"; then
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21145 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21146 if test "${wx_cv_prog_sgicc744+set}" = set; then :
21147 $as_echo_n "(cached) " >&6
21148 else
21149
21150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21152
21153 int
21154 main ()
21155 {
21156
21157 #if _SGI_COMPILER_VERSION >= 744
21158 chock me: mipsPro is 7.4.4 or later
21159 #endif
21160
21161 ;
21162 return 0;
21163 }
21164 _ACEOF
21165 if ac_fn_c_try_compile "$LINENO"; then :
21166 wx_cv_prog_sgicc744=no
21167 else
21168 wx_cv_prog_sgicc744=yes
21169
21170 fi
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172
21173
21174 fi
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21176 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21177
21178 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21179 CFLAGS="-woff 3970 $CFLAGS"
21180 fi
21181 fi
21182 if test "x$SGICXX" = "xyes"; then
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21184 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21185 if test "${wx_cv_prog_sgicxx744+set}" = set; then :
21186 $as_echo_n "(cached) " >&6
21187 else
21188
21189 ac_ext=cpp
21190 ac_cpp='$CXXCPP $CPPFLAGS'
21191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21194
21195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21196 /* end confdefs.h. */
21197
21198 int
21199 main ()
21200 {
21201
21202 #if _SGI_COMPILER_VERSION >= 744
21203 chock me: mipsPro is 7.4.4 or later
21204 #endif
21205
21206 ;
21207 return 0;
21208 }
21209 _ACEOF
21210 if ac_fn_cxx_try_compile "$LINENO"; then :
21211 wx_cv_prog_sgicxx744=no
21212 else
21213 wx_cv_prog_sgicxx744=yes
21214
21215 fi
21216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21217 ac_ext=c
21218 ac_cpp='$CPP $CPPFLAGS'
21219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21222
21223
21224
21225 fi
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21227 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21228
21229 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21230 CXXFLAGS="-woff 3970 $CXXFLAGS"
21231 fi
21232 fi
21233
21234 if test "x$HPCC" = "xyes"; then
21235 CFLAGS="+W 2011,2450 $CFLAGS"
21236 fi
21237 if test "x$HPCXX" = "xyes"; then
21238 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
21239 fi
21240
21241 if test "x$COMPAQCXX" = "xyes"; then
21242 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21243 fi
21244
21245 ac_ext=cpp
21246 ac_cpp='$CXXCPP $CPPFLAGS'
21247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21250
21251
21252 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21253 if test "$wxUSE_UNICODE" = "yes"; then
21254 std_string="std::wstring"
21255 char_type="wchar_t"
21256 else
21257 std_string="std::string"
21258 char_type="char"
21259 fi
21260
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21262 $as_echo_n "checking for $std_string in <string>... " >&6; }
21263 if test "${wx_cv_class_stdstring+set}" = set; then :
21264 $as_echo_n "(cached) " >&6
21265 else
21266
21267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21268 /* end confdefs.h. */
21269 #include <string>
21270 int
21271 main ()
21272 {
21273 $std_string foo;
21274 ;
21275 return 0;
21276 }
21277 _ACEOF
21278 if ac_fn_cxx_try_compile "$LINENO"; then :
21279 wx_cv_class_stdstring=yes
21280 else
21281 wx_cv_class_stdstring=no
21282
21283 fi
21284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21285
21286
21287 fi
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21289 $as_echo "$wx_cv_class_stdstring" >&6; }
21290
21291 if test "$wx_cv_class_stdstring" = yes; then
21292 if test "$wxUSE_UNICODE" = "yes"; then
21293 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21294
21295 fi
21296 else
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21298 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21299 if test "${wx_cv_class_stdbasicstring+set}" = set; then :
21300 $as_echo_n "(cached) " >&6
21301 else
21302
21303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h. */
21305
21306 #ifdef HAVE_WCHAR_H
21307 # ifdef __CYGWIN__
21308 # include <stddef.h>
21309 # endif
21310 # include <wchar.h>
21311 #endif
21312 #ifdef HAVE_STDLIB_H
21313 # include <stdlib.h>
21314 #endif
21315 #include <stdio.h>
21316 #include <string>
21317
21318 int
21319 main ()
21320 {
21321 std::basic_string<$char_type> foo;
21322 const $char_type* dummy = foo.c_str();
21323 ;
21324 return 0;
21325 }
21326 _ACEOF
21327 if ac_fn_cxx_try_compile "$LINENO"; then :
21328 wx_cv_class_stdbasicstring=yes
21329 else
21330 wx_cv_class_stdbasicstring=no
21331
21332 fi
21333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21334
21335
21336 fi
21337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21338 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21339
21340 if test "$wx_cv_class_stdbasicstring" != yes; then
21341 if test "$wxUSE_STL" = "yes"; then
21342 as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21343 elif test "$wxUSE_STD_STRING" = "yes"; then
21344 as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21345 else
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21347 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21348 wxUSE_STD_STRING=no
21349 fi
21350 fi
21351 fi
21352 fi
21353
21354 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21355 ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21356 "
21357 if test "x$ac_cv_type_std__istream" = x""yes; then :
21358
21359 cat >>confdefs.h <<_ACEOF
21360 #define HAVE_STD__ISTREAM 1
21361 _ACEOF
21362
21363
21364 else
21365 wxUSE_STD_IOSTREAM=no
21366 fi
21367 ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21368 "
21369 if test "x$ac_cv_type_std__ostream" = x""yes; then :
21370
21371 cat >>confdefs.h <<_ACEOF
21372 #define HAVE_STD__OSTREAM 1
21373 _ACEOF
21374
21375
21376 else
21377 wxUSE_STD_IOSTREAM=no
21378 fi
21379
21380
21381 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21382 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21383 as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21384 else
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21386 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21387 fi
21388 fi
21389 fi
21390
21391 if test "$wxUSE_STL" = "yes"; then
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21393 $as_echo_n "checking for basic STL functionality... " >&6; }
21394 if test "${wx_cv_lib_stl+set}" = set; then :
21395 $as_echo_n "(cached) " >&6
21396 else
21397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21398 /* end confdefs.h. */
21399 #include <string>
21400 #include <functional>
21401 #include <algorithm>
21402 #include <vector>
21403 #include <list>
21404 int
21405 main ()
21406 {
21407 std::vector<int> moo;
21408 std::list<int> foo;
21409 std::vector<int>::iterator it =
21410 std::find_if(moo.begin(), moo.end(),
21411 std::bind2nd(std::less<int>(), 3));
21412 ;
21413 return 0;
21414 }
21415 _ACEOF
21416 if ac_fn_cxx_try_compile "$LINENO"; then :
21417 wx_cv_lib_stl=yes
21418 else
21419 wx_cv_lib_stl=no
21420
21421 fi
21422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21423
21424 fi
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21426 $as_echo "$wx_cv_lib_stl" >&6; }
21427
21428 if test "$wx_cv_lib_stl" != yes; then
21429 as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21430 fi
21431
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21433 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21434 if test "${wx_cv_func_stdstring_compare+set}" = set; then :
21435 $as_echo_n "(cached) " >&6
21436 else
21437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21439 #include <string>
21440 int
21441 main ()
21442 {
21443 std::string foo, bar;
21444 foo.compare(bar);
21445 foo.compare(1, 1, bar);
21446 foo.compare(1, 1, bar, 1, 1);
21447 foo.compare("");
21448 foo.compare(1, 1, "");
21449 foo.compare(1, 1, "", 2);
21450 ;
21451 return 0;
21452 }
21453 _ACEOF
21454 if ac_fn_cxx_try_compile "$LINENO"; then :
21455 wx_cv_func_stdstring_compare=yes
21456 else
21457 wx_cv_func_stdstring_compare=no
21458
21459 fi
21460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21461
21462 fi
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21464 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21465
21466 if test "$wx_cv_func_stdstring_compare" = yes; then
21467 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21468
21469 fi
21470
21471 if test "$wx_cv_class_gnuhashmapset" = yes; then
21472 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21473
21474 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21475
21476 fi
21477
21478 ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21479
21480 "
21481 if test "x$ac_cv_header_unordered_map" = x""yes; then :
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21483 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21484 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then :
21485 $as_echo_n "(cached) " >&6
21486 else
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21489 #include <unordered_map>
21490 #include <unordered_set>
21491 int
21492 main ()
21493 {
21494 std::unordered_map<double*, char*> test1;
21495 std::unordered_set<char*> test2;
21496 ;
21497 return 0;
21498 }
21499 _ACEOF
21500 if ac_fn_cxx_try_compile "$LINENO"; then :
21501 wx_cv_class_stdunorderedmapset=yes
21502 else
21503 wx_cv_class_stdunorderedmapset=no
21504 fi
21505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21506
21507
21508 fi
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21510 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21511 fi
21512
21513
21514
21515 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21516 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21517
21518 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21519
21520 else
21521 ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21522
21523 "
21524 if test "x$ac_cv_header_tr1_unordered_map" = x""yes; then :
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21526 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21527 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then :
21528 $as_echo_n "(cached) " >&6
21529 else
21530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21531 /* end confdefs.h. */
21532 #include <tr1/unordered_map>
21533 #include <tr1/unordered_set>
21534 int
21535 main ()
21536 {
21537 std::tr1::unordered_map<double*, char*> test1;
21538 std::tr1::unordered_set<char*> test2;
21539 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21540 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21541 #endif
21542 ;
21543 return 0;
21544 }
21545 _ACEOF
21546 if ac_fn_cxx_try_compile "$LINENO"; then :
21547 wx_cv_class_tr1unorderedmapset=yes
21548 else
21549 wx_cv_class_tr1unorderedmapset=no
21550 fi
21551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21552
21553
21554 fi
21555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21556 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21557 fi
21558
21559
21560
21561 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21562 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21563
21564 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21565
21566 else
21567 ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
21568
21569 "
21570 if test "x$ac_cv_header_hash_map" = x""yes; then :
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21572 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21573 if test "${wx_cv_class_stdhashmapset+set}" = set; then :
21574 $as_echo_n "(cached) " >&6
21575 else
21576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21577 /* end confdefs.h. */
21578 #include <hash_map>
21579 #include <hash_set>
21580 int
21581 main ()
21582 {
21583 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21584 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21585 ;
21586 return 0;
21587 }
21588 _ACEOF
21589 if ac_fn_cxx_try_compile "$LINENO"; then :
21590 wx_cv_class_stdhashmapset=yes
21591 else
21592 wx_cv_class_stdhashmapset=no
21593 fi
21594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21595
21596
21597 fi
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21599 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21600 fi
21601
21602
21603
21604 if test "$wx_cv_class_stdhashmapset" = yes; then
21605 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21606
21607 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21608
21609 fi
21610
21611 ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21612
21613 "
21614 if test "x$ac_cv_header_ext_hash_map" = x""yes; then :
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21616 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21617 if test "${wx_cv_class_gnuhashmapset+set}" = set; then :
21618 $as_echo_n "(cached) " >&6
21619 else
21620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h. */
21622 #include <ext/hash_map>
21623 #include <ext/hash_set>
21624 int
21625 main ()
21626 {
21627 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21628 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 if ac_fn_cxx_try_compile "$LINENO"; then :
21634 wx_cv_class_gnuhashmapset=yes
21635 else
21636 wx_cv_class_gnuhashmapset=no
21637 fi
21638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21639
21640
21641 fi
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21643 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21644 fi
21645
21646
21647
21648 fi
21649 fi
21650 fi
21651
21652 ac_ext=cpp
21653 ac_cpp='$CXXCPP $CPPFLAGS'
21654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21658 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21659 if test -z "$CXXCPP"; then
21660 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
21661 $as_echo_n "(cached) " >&6
21662 else
21663 # Double quotes because CXXCPP needs to be expanded
21664 for CXXCPP in "$CXX -E" "/lib/cpp"
21665 do
21666 ac_preproc_ok=false
21667 for ac_cxx_preproc_warn_flag in '' yes
21668 do
21669 # Use a header file that comes with gcc, so configuring glibc
21670 # with a fresh cross-compiler works.
21671 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21672 # <limits.h> exists even on freestanding compilers.
21673 # On the NeXT, cc -E runs the code through the compiler's parser,
21674 # not just through cpp. "Syntax error" is here to catch this case.
21675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h. */
21677 #ifdef __STDC__
21678 # include <limits.h>
21679 #else
21680 # include <assert.h>
21681 #endif
21682 Syntax error
21683 _ACEOF
21684 if ac_fn_cxx_try_cpp "$LINENO"; then :
21685
21686 else
21687 # Broken: fails on valid input.
21688 continue
21689 fi
21690 rm -f conftest.err conftest.i conftest.$ac_ext
21691
21692 # OK, works on sane cases. Now check whether nonexistent headers
21693 # can be detected and how.
21694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21695 /* end confdefs.h. */
21696 #include <ac_nonexistent.h>
21697 _ACEOF
21698 if ac_fn_cxx_try_cpp "$LINENO"; then :
21699 # Broken: success on invalid input.
21700 continue
21701 else
21702 # Passes both tests.
21703 ac_preproc_ok=:
21704 break
21705 fi
21706 rm -f conftest.err conftest.i conftest.$ac_ext
21707
21708 done
21709 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21710 rm -f conftest.i conftest.err conftest.$ac_ext
21711 if $ac_preproc_ok; then :
21712 break
21713 fi
21714
21715 done
21716 ac_cv_prog_CXXCPP=$CXXCPP
21717
21718 fi
21719 CXXCPP=$ac_cv_prog_CXXCPP
21720 else
21721 ac_cv_prog_CXXCPP=$CXXCPP
21722 fi
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21724 $as_echo "$CXXCPP" >&6; }
21725 ac_preproc_ok=false
21726 for ac_cxx_preproc_warn_flag in '' yes
21727 do
21728 # Use a header file that comes with gcc, so configuring glibc
21729 # with a fresh cross-compiler works.
21730 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21731 # <limits.h> exists even on freestanding compilers.
21732 # On the NeXT, cc -E runs the code through the compiler's parser,
21733 # not just through cpp. "Syntax error" is here to catch this case.
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #ifdef __STDC__
21737 # include <limits.h>
21738 #else
21739 # include <assert.h>
21740 #endif
21741 Syntax error
21742 _ACEOF
21743 if ac_fn_cxx_try_cpp "$LINENO"; then :
21744
21745 else
21746 # Broken: fails on valid input.
21747 continue
21748 fi
21749 rm -f conftest.err conftest.i conftest.$ac_ext
21750
21751 # OK, works on sane cases. Now check whether nonexistent headers
21752 # can be detected and how.
21753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21754 /* end confdefs.h. */
21755 #include <ac_nonexistent.h>
21756 _ACEOF
21757 if ac_fn_cxx_try_cpp "$LINENO"; then :
21758 # Broken: success on invalid input.
21759 continue
21760 else
21761 # Passes both tests.
21762 ac_preproc_ok=:
21763 break
21764 fi
21765 rm -f conftest.err conftest.i conftest.$ac_ext
21766
21767 done
21768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21769 rm -f conftest.i conftest.err conftest.$ac_ext
21770 if $ac_preproc_ok; then :
21771
21772 else
21773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21775 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21776 See \`config.log' for more details" "$LINENO" 5 ; }
21777 fi
21778
21779 ac_ext=cpp
21780 ac_cpp='$CXXCPP $CPPFLAGS'
21781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21784
21785
21786 for ac_header in type_traits tr1/type_traits
21787 do :
21788 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21789 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21790 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21791 cat >>confdefs.h <<_ACEOF
21792 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21793 _ACEOF
21794
21795 fi
21796
21797 done
21798
21799
21800
21801
21802 if test -n "$GCC"; then
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21804 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21805 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then :
21806 $as_echo_n "(cached) " >&6
21807 else
21808
21809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21810 /* end confdefs.h. */
21811
21812 int
21813 main ()
21814 {
21815
21816 unsigned int value=0;
21817 /* wxAtomicInc doesn't use return value here */
21818 __sync_fetch_and_add(&value, 2);
21819 __sync_sub_and_fetch(&value, 1);
21820 /* but wxAtomicDec does, so mimic that: */
21821 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21822
21823 ;
21824 return 0;
21825 }
21826 _ACEOF
21827 if ac_fn_cxx_try_link "$LINENO"; then :
21828 wx_cv_cc_gcc_atomic_builtins=yes
21829 else
21830 wx_cv_cc_gcc_atomic_builtins=no
21831 fi
21832 rm -f core conftest.err conftest.$ac_objext \
21833 conftest$ac_exeext conftest.$ac_ext
21834
21835 fi
21836
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21838 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21839 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21840 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21841
21842 fi
21843 fi
21844
21845
21846 ac_ext=c
21847 ac_cpp='$CPP $CPPFLAGS'
21848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21851
21852
21853
21854 SEARCH_INCLUDE="\
21855 /usr/local/include \
21856 /usr/local/X11/include \
21857 /usr/local/include/X11 \
21858 /usr/local/X11R7/include \
21859 /usr/local/X11R6/include \
21860 /usr/local/include/X11R7 \
21861 /usr/local/include/X11R6 \
21862 \
21863 /usr/Motif-2.1/include \
21864 /usr/Motif-1.2/include \
21865 /usr/include/Motif1.2 \
21866 \
21867 /usr/dt/include \
21868 /usr/openwin/include \
21869 \
21870 /usr/include/Xm \
21871 \
21872 /usr/X11R7/include \
21873 /usr/X11R6/include \
21874 /usr/X11R6.4/include \
21875 \
21876 /usr/include/X11R7 \
21877 /usr/include/X11R6 \
21878 \
21879 /usr/X11/include \
21880 /usr/include/X11 \
21881 \
21882 /usr/XFree86/include/X11 \
21883 /usr/pkg/include \
21884 \
21885 /usr/local/X1R5/include \
21886 /usr/local/include/X11R5 \
21887 /usr/X11R5/include \
21888 /usr/include/X11R5 \
21889 \
21890 /usr/local/X11R4/include \
21891 /usr/local/include/X11R4 \
21892 /usr/X11R4/include \
21893 /usr/include/X11R4 \
21894 \
21895 /usr/openwin/share/include"
21896
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21898 $as_echo_n "checking for libraries directories... " >&6; }
21899
21900 case "${host}" in
21901 *-*-irix6* )
21902 if test "${wx_cv_std_libpath+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21904 else
21905
21906 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
21907 for e in a so sl dylib dll.a; do
21908 libc="$d/libc.$e"
21909 if test -f $libc; then
21910 save_LIBS="$LIBS"
21911 LIBS="$libc"
21912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21913 /* end confdefs.h. */
21914
21915 int main() { return 0; }
21916
21917 _ACEOF
21918 if ac_fn_c_try_link "$LINENO"; then :
21919 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
21920 fi
21921 rm -f core conftest.err conftest.$ac_objext \
21922 conftest$ac_exeext conftest.$ac_ext
21923 LIBS="$save_LIBS"
21924 if test "x$wx_cv_std_libpath" != "x"; then
21925 break 2
21926 fi
21927 fi
21928 done
21929 done
21930
21931
21932 fi
21933
21934 ;;
21935
21936 *-*-solaris2* )
21937 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21938 wx_cv_std_libpath="lib/64"
21939 fi
21940 ;;
21941
21942 *-*-linux* )
21943 if test "$ac_cv_sizeof_void_p" = 8; then
21944 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21945 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
21946 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21947 wx_cv_std_libpath="lib64"
21948 fi
21949 else
21950 case "${host}" in
21951 i*86-*-linux* )
21952 if test -d '/usr/lib/i386-linux-gnu'; then
21953 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
21954 fi
21955 esac
21956 fi
21957
21958 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
21959 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
21960 fi
21961 ;;
21962 esac
21963
21964 if test -z "$wx_cv_std_libpath"; then
21965 wx_cv_std_libpath="lib"
21966 fi
21967
21968 if test -z "$wx_cv_std_libfullpath"; then
21969 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
21970 fi
21971
21972
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
21974 $as_echo "$wx_cv_std_libfullpath" >&6; }
21975
21976 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
21977
21978 if test "$build" != "$host" -a "$GCC" = yes; then
21979 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
21980 cross_root=`dirname $cross_root`
21981 cross_root=`dirname $cross_root`
21982
21983 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21984 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
21985 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
21986
21987 if test -z "$PKG_CONFIG_PATH"; then
21988 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
21989 export PKG_CONFIG_PATH
21990 fi
21991
21992 if test -z "$x_includes" -o "$x_includes" = NONE; then
21993
21994 ac_find_includes=
21995 for ac_dir in $SEARCH_INCLUDE /usr/include
21996 do
21997 if test -f "$ac_dir/X11/Intrinsic.h"; then
21998 ac_find_includes=$ac_dir
21999 break
22000 fi
22001 done
22002
22003 x_includes=$ac_find_includes
22004 fi
22005 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
22006
22007 ac_find_libraries=
22008 for ac_dir in $SEARCH_LIB
22009 do
22010 for ac_extension in a so sl dylib dll.a; do
22011 if test -f "$ac_dir/libXt.$ac_extension"; then
22012 ac_find_libraries=$ac_dir
22013 break 2
22014 fi
22015 done
22016 done
22017
22018 x_libraries=$ac_find_libraries
22019 fi
22020 fi
22021 fi
22022
22023
22024 cat >confcache <<\_ACEOF
22025 # This file is a shell script that caches the results of configure
22026 # tests run on this system so they can be shared between configure
22027 # scripts and configure runs, see configure's option --config-cache.
22028 # It is not useful on other systems. If it contains results you don't
22029 # want to keep, you may remove or edit it.
22030 #
22031 # config.status only pays attention to the cache file if you give it
22032 # the --recheck option to rerun configure.
22033 #
22034 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22035 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22036 # following values.
22037
22038 _ACEOF
22039
22040 # The following way of writing the cache mishandles newlines in values,
22041 # but we know of no workaround that is simple, portable, and efficient.
22042 # So, we kill variables containing newlines.
22043 # Ultrix sh set writes to stderr and can't be redirected directly,
22044 # and sets the high bit in the cache file unless we assign to the vars.
22045 (
22046 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22047 eval ac_val=\$$ac_var
22048 case $ac_val in #(
22049 *${as_nl}*)
22050 case $ac_var in #(
22051 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22052 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22053 esac
22054 case $ac_var in #(
22055 _ | IFS | as_nl) ;; #(
22056 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22057 *) { eval $ac_var=; unset $ac_var;} ;;
22058 esac ;;
22059 esac
22060 done
22061
22062 (set) 2>&1 |
22063 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22064 *${as_nl}ac_space=\ *)
22065 # `set' does not quote correctly, so add quotes: double-quote
22066 # substitution turns \\\\ into \\, and sed turns \\ into \.
22067 sed -n \
22068 "s/'/'\\\\''/g;
22069 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22070 ;; #(
22071 *)
22072 # `set' quotes correctly as required by POSIX, so do not add quotes.
22073 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22074 ;;
22075 esac |
22076 sort
22077 ) |
22078 sed '
22079 /^ac_cv_env_/b end
22080 t clear
22081 :clear
22082 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22083 t end
22084 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22085 :end' >>confcache
22086 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22087 if test -w "$cache_file"; then
22088 test "x$cache_file" != "x/dev/null" &&
22089 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22090 $as_echo "$as_me: updating cache $cache_file" >&6;}
22091 cat confcache >$cache_file
22092 else
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22094 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22095 fi
22096 fi
22097 rm -f confcache
22098
22099 have_cos=0
22100 have_floor=0
22101 for ac_func in cos
22102 do :
22103 ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
22104 if test "x$ac_cv_func_cos" = x""yes; then :
22105 cat >>confdefs.h <<_ACEOF
22106 #define HAVE_COS 1
22107 _ACEOF
22108 have_cos=1
22109 fi
22110 done
22111
22112 for ac_func in floor
22113 do :
22114 ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
22115 if test "x$ac_cv_func_floor" = x""yes; then :
22116 cat >>confdefs.h <<_ACEOF
22117 #define HAVE_FLOOR 1
22118 _ACEOF
22119 have_floor=1
22120 fi
22121 done
22122
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22124 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22125 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22127 $as_echo "yes" >&6; }
22128 else
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22130 $as_echo "no" >&6; }
22131 LIBS="$LIBS -lm"
22132 # use different functions to avoid configure caching
22133 have_sin=0
22134 have_ceil=0
22135 for ac_func in sin
22136 do :
22137 ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
22138 if test "x$ac_cv_func_sin" = x""yes; then :
22139 cat >>confdefs.h <<_ACEOF
22140 #define HAVE_SIN 1
22141 _ACEOF
22142 have_sin=1
22143 fi
22144 done
22145
22146 for ac_func in ceil
22147 do :
22148 ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
22149 if test "x$ac_cv_func_ceil" = x""yes; then :
22150 cat >>confdefs.h <<_ACEOF
22151 #define HAVE_CEIL 1
22152 _ACEOF
22153 have_ceil=1
22154 fi
22155 done
22156
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22158 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22159 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22161 $as_echo "yes" >&6; }
22162 else
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22165 # not sure we should warn the user, crash, etc.
22166 fi
22167 fi
22168
22169 ac_ext=cpp
22170 ac_cpp='$CXXCPP $CPPFLAGS'
22171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22174
22175 if test "wxUSE_UNICODE" = "yes"; then
22176
22177 for wx_func in wcstoull
22178 do
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22180 $as_echo_n "checking for $wx_func... " >&6; }
22181 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22182 $as_echo_n "(cached) " >&6
22183 else
22184
22185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22186 /* end confdefs.h. */
22187
22188
22189
22190 $ac_includes_default
22191
22192 int
22193 main ()
22194 {
22195
22196 #ifndef $wx_func
22197 &$wx_func;
22198 #endif
22199
22200
22201 ;
22202 return 0;
22203 }
22204
22205 _ACEOF
22206 if ac_fn_cxx_try_link "$LINENO"; then :
22207 eval wx_cv_func_$wx_func=yes
22208 else
22209 eval wx_cv_func_$wx_func=no
22210 fi
22211 rm -f core conftest.err conftest.$ac_objext \
22212 conftest$ac_exeext conftest.$ac_ext
22213
22214 fi
22215 eval ac_res=\$wx_cv_func_$wx_func
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22217 $as_echo "$ac_res" >&6; }
22218
22219 if eval test \$wx_cv_func_$wx_func = yes
22220 then
22221 cat >>confdefs.h <<_ACEOF
22222 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22223 _ACEOF
22224
22225
22226 else
22227 :
22228
22229 fi
22230 done
22231
22232 else
22233
22234 for wx_func in strtoull
22235 do
22236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22237 $as_echo_n "checking for $wx_func... " >&6; }
22238 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
22239 $as_echo_n "(cached) " >&6
22240 else
22241
22242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22243 /* end confdefs.h. */
22244
22245
22246
22247 $ac_includes_default
22248
22249 int
22250 main ()
22251 {
22252
22253 #ifndef $wx_func
22254 &$wx_func;
22255 #endif
22256
22257
22258 ;
22259 return 0;
22260 }
22261
22262 _ACEOF
22263 if ac_fn_cxx_try_link "$LINENO"; then :
22264 eval wx_cv_func_$wx_func=yes
22265 else
22266 eval wx_cv_func_$wx_func=no
22267 fi
22268 rm -f core conftest.err conftest.$ac_objext \
22269 conftest$ac_exeext conftest.$ac_ext
22270
22271 fi
22272 eval ac_res=\$wx_cv_func_$wx_func
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22274 $as_echo "$ac_res" >&6; }
22275
22276 if eval test \$wx_cv_func_$wx_func = yes
22277 then
22278 cat >>confdefs.h <<_ACEOF
22279 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22280 _ACEOF
22281
22282
22283 else
22284 :
22285
22286 fi
22287 done
22288
22289 fi
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22295
22296
22297
22298
22299 if test "$wxUSE_REGEX" != "no"; then
22300 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22301
22302
22303 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22305 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22306 wxUSE_REGEX=builtin
22307 fi
22308
22309 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22310 ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
22311 "
22312 if test "x$ac_cv_header_regex_h" = x""yes; then :
22313 for ac_func in regcomp re_search
22314 do :
22315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22317 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22318 cat >>confdefs.h <<_ACEOF
22319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22320 _ACEOF
22321
22322 fi
22323 done
22324
22325 fi
22326
22327
22328
22329 if test "x$ac_cv_func_regcomp" != "xyes"; then
22330 if test "$wxUSE_REGEX" = "sys" ; then
22331 as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22332 else
22333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22334 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22335 wxUSE_REGEX=builtin
22336 fi
22337 else
22338 wxUSE_REGEX=sys
22339 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22340
22341 fi
22342 fi
22343 fi
22344
22345
22346 ZLIB_LINK=
22347 if test "$wxUSE_ZLIB" != "no" ; then
22348 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22349
22350
22351 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22352 if test "$USE_DARWIN" = 1; then
22353 system_zlib_h_ok="yes"
22354 else
22355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22356 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22357 if test "${ac_cv_header_zlib_h+set}" = set; then :
22358 $as_echo_n "(cached) " >&6
22359 else
22360 if test "$cross_compiling" = yes; then :
22361 unset ac_cv_header_zlib_h
22362
22363 else
22364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22365 /* end confdefs.h. */
22366
22367 #include <zlib.h>
22368 #include <stdio.h>
22369
22370 int main()
22371 {
22372 FILE *f=fopen("conftestval", "w");
22373 if (!f) exit(1);
22374 fprintf(f, "%s",
22375 ZLIB_VERSION[0] == '1' &&
22376 (ZLIB_VERSION[2] > '1' ||
22377 (ZLIB_VERSION[2] == '1' &&
22378 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22379 exit(0);
22380 }
22381
22382 _ACEOF
22383 if ac_fn_c_try_run "$LINENO"; then :
22384 ac_cv_header_zlib_h=`cat conftestval`
22385 else
22386 ac_cv_header_zlib_h=no
22387 fi
22388 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22389 conftest.$ac_objext conftest.beam conftest.$ac_ext
22390 fi
22391
22392
22393 fi
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22395 $as_echo "$ac_cv_header_zlib_h" >&6; }
22396 ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22397 "
22398 if test "x$ac_cv_header_zlib_h" = x""yes; then :
22399
22400 fi
22401
22402
22403
22404 system_zlib_h_ok=$ac_cv_header_zlib_h
22405 fi
22406
22407 if test "$system_zlib_h_ok" = "yes"; then
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22409 $as_echo_n "checking for deflate in -lz... " >&6; }
22410 if test "${ac_cv_lib_z_deflate+set}" = set; then :
22411 $as_echo_n "(cached) " >&6
22412 else
22413 ac_check_lib_save_LIBS=$LIBS
22414 LIBS="-lz $LIBS"
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22417
22418 /* Override any GCC internal prototype to avoid an error.
22419 Use char because int might match the return type of a GCC
22420 builtin and then its argument prototype would still apply. */
22421 #ifdef __cplusplus
22422 extern "C"
22423 #endif
22424 char deflate ();
22425 int
22426 main ()
22427 {
22428 return deflate ();
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 if ac_fn_c_try_link "$LINENO"; then :
22434 ac_cv_lib_z_deflate=yes
22435 else
22436 ac_cv_lib_z_deflate=no
22437 fi
22438 rm -f core conftest.err conftest.$ac_objext \
22439 conftest$ac_exeext conftest.$ac_ext
22440 LIBS=$ac_check_lib_save_LIBS
22441 fi
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22443 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22444 if test "x$ac_cv_lib_z_deflate" = x""yes; then :
22445 ZLIB_LINK=" -lz"
22446 fi
22447
22448 fi
22449
22450 if test "x$ZLIB_LINK" = "x" ; then
22451 if test "$wxUSE_ZLIB" = "sys" ; then
22452 as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22453 else
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22455 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22456 wxUSE_ZLIB=builtin
22457 fi
22458 else
22459 wxUSE_ZLIB=sys
22460 fi
22461 fi
22462 fi
22463
22464
22465 PNG_LINK=
22466 if test "$wxUSE_LIBPNG" != "no" ; then
22467 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22468
22469
22470 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22472 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22473 wxUSE_LIBPNG=builtin
22474 fi
22475
22476 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22478 $as_echo_n "checking for png.h > 0.90... " >&6; }
22479 if test "${ac_cv_header_png_h+set}" = set; then :
22480 $as_echo_n "(cached) " >&6
22481 else
22482 if test "$cross_compiling" = yes; then :
22483 unset ac_cv_header_png_h
22484
22485 else
22486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22487 /* end confdefs.h. */
22488
22489 #include <png.h>
22490 #include <stdio.h>
22491
22492 int main()
22493 {
22494 FILE *f=fopen("conftestval", "w");
22495 if (!f) exit(1);
22496 fprintf(f, "%s",
22497 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22498 exit(0);
22499 }
22500
22501 _ACEOF
22502 if ac_fn_c_try_run "$LINENO"; then :
22503 ac_cv_header_png_h=`cat conftestval`
22504 else
22505 ac_cv_header_png_h=no
22506 fi
22507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22508 conftest.$ac_objext conftest.beam conftest.$ac_ext
22509 fi
22510
22511
22512 fi
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22514 $as_echo "$ac_cv_header_png_h" >&6; }
22515 ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
22516 "
22517 if test "x$ac_cv_header_png_h" = x""yes; then :
22518
22519 fi
22520
22521
22522
22523 if test "$ac_cv_header_png_h" = "yes"; then
22524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22525 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22526 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22528 else
22529 ac_check_lib_save_LIBS=$LIBS
22530 LIBS="-lpng -lz -lm $LIBS"
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22533
22534 /* Override any GCC internal prototype to avoid an error.
22535 Use char because int might match the return type of a GCC
22536 builtin and then its argument prototype would still apply. */
22537 #ifdef __cplusplus
22538 extern "C"
22539 #endif
22540 char png_sig_cmp ();
22541 int
22542 main ()
22543 {
22544 return png_sig_cmp ();
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 if ac_fn_c_try_link "$LINENO"; then :
22550 ac_cv_lib_png_png_sig_cmp=yes
22551 else
22552 ac_cv_lib_png_png_sig_cmp=no
22553 fi
22554 rm -f core conftest.err conftest.$ac_objext \
22555 conftest$ac_exeext conftest.$ac_ext
22556 LIBS=$ac_check_lib_save_LIBS
22557 fi
22558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22559 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22560 if test "x$ac_cv_lib_png_png_sig_cmp" = x""yes; then :
22561 PNG_LINK=" -lpng -lz"
22562 fi
22563
22564 fi
22565
22566 if test "x$PNG_LINK" = "x" ; then
22567 if test "$wxUSE_LIBPNG" = "sys" ; then
22568 as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22569 else
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22571 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22572 wxUSE_LIBPNG=builtin
22573 fi
22574 else
22575 wxUSE_LIBPNG=sys
22576 fi
22577 fi
22578 fi
22579
22580
22581 JPEG_LINK=
22582 if test "$wxUSE_LIBJPEG" != "no" ; then
22583 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22584
22585
22586 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22588 $as_echo_n "checking for jpeglib.h... " >&6; }
22589 if test "${ac_cv_header_jpeglib_h+set}" = set; then :
22590 $as_echo_n "(cached) " >&6
22591 else
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594
22595 #undef HAVE_STDLIB_H
22596 #include <stdio.h>
22597 #include <jpeglib.h>
22598
22599 int
22600 main ()
22601 {
22602
22603
22604 ;
22605 return 0;
22606 }
22607 _ACEOF
22608 if ac_fn_c_try_compile "$LINENO"; then :
22609 ac_cv_header_jpeglib_h=yes
22610 else
22611 ac_cv_header_jpeglib_h=no
22612
22613 fi
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615
22616 fi
22617
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22619 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22620
22621 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22623 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22624 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then :
22625 $as_echo_n "(cached) " >&6
22626 else
22627 ac_check_lib_save_LIBS=$LIBS
22628 LIBS="-ljpeg $LIBS"
22629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22630 /* end confdefs.h. */
22631
22632 /* Override any GCC internal prototype to avoid an error.
22633 Use char because int might match the return type of a GCC
22634 builtin and then its argument prototype would still apply. */
22635 #ifdef __cplusplus
22636 extern "C"
22637 #endif
22638 char jpeg_read_header ();
22639 int
22640 main ()
22641 {
22642 return jpeg_read_header ();
22643 ;
22644 return 0;
22645 }
22646 _ACEOF
22647 if ac_fn_c_try_link "$LINENO"; then :
22648 ac_cv_lib_jpeg_jpeg_read_header=yes
22649 else
22650 ac_cv_lib_jpeg_jpeg_read_header=no
22651 fi
22652 rm -f core conftest.err conftest.$ac_objext \
22653 conftest$ac_exeext conftest.$ac_ext
22654 LIBS=$ac_check_lib_save_LIBS
22655 fi
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22657 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22658 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = x""yes; then :
22659 JPEG_LINK=" -ljpeg"
22660 fi
22661
22662 fi
22663
22664 if test "x$JPEG_LINK" = "x" ; then
22665 if test "$wxUSE_LIBJPEG" = "sys" ; then
22666 as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22667 else
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22669 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22670 wxUSE_LIBJPEG=builtin
22671 fi
22672 else
22673 wxUSE_LIBJPEG=sys
22674
22675 if test "$wxUSE_MSW" = 1; then
22676 ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22677 "
22678 if test "x$ac_cv_type_boolean" = x""yes; then :
22679
22680 cat >>confdefs.h <<_ACEOF
22681 #define HAVE_BOOLEAN 1
22682 _ACEOF
22683
22684
22685 # The cast to long int works around a bug in the HP C Compiler
22686 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22687 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22688 # This bug is HP SR number 8606223364.
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22690 $as_echo_n "checking size of boolean... " >&6; }
22691 if test "${ac_cv_sizeof_boolean+set}" = set; then :
22692 $as_echo_n "(cached) " >&6
22693 else
22694 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22695 #undef HAVE_BOOLEAN
22696 #include <stdio.h>
22697 #include <jpeglib.h>
22698
22699 "; then :
22700
22701 else
22702 if test "$ac_cv_type_boolean" = yes; then
22703 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22705 as_fn_error 77 "cannot compute sizeof (boolean)
22706 See \`config.log' for more details" "$LINENO" 5 ; }
22707 else
22708 ac_cv_sizeof_boolean=0
22709 fi
22710 fi
22711
22712 fi
22713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22714 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22715
22716
22717
22718 cat >>confdefs.h <<_ACEOF
22719 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22720 _ACEOF
22721
22722
22723 cat >>confdefs.h <<_ACEOF
22724 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22725 _ACEOF
22726
22727
22728 fi
22729
22730 fi
22731 fi
22732 fi
22733 fi
22734
22735
22736 TIFF_LINK=
22737 TIFF_PREREQ_LINKS=-lm
22738 if test "$wxUSE_LIBTIFF" != "no" ; then
22739 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22740
22741
22742 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22743 if test "$wxUSE_LIBJPEG" = "sys"; then
22744 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
22745 fi
22746 if test "$wxUSE_ZLIB" = "sys"; then
22747 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22748 fi
22749 ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22750
22751 "
22752 if test "x$ac_cv_header_tiffio_h" = x""yes; then :
22753
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22755 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22756 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then :
22757 $as_echo_n "(cached) " >&6
22758 else
22759 ac_check_lib_save_LIBS=$LIBS
22760 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22762 /* end confdefs.h. */
22763
22764 /* Override any GCC internal prototype to avoid an error.
22765 Use char because int might match the return type of a GCC
22766 builtin and then its argument prototype would still apply. */
22767 #ifdef __cplusplus
22768 extern "C"
22769 #endif
22770 char TIFFError ();
22771 int
22772 main ()
22773 {
22774 return TIFFError ();
22775 ;
22776 return 0;
22777 }
22778 _ACEOF
22779 if ac_fn_c_try_link "$LINENO"; then :
22780 ac_cv_lib_tiff_TIFFError=yes
22781 else
22782 ac_cv_lib_tiff_TIFFError=no
22783 fi
22784 rm -f core conftest.err conftest.$ac_objext \
22785 conftest$ac_exeext conftest.$ac_ext
22786 LIBS=$ac_check_lib_save_LIBS
22787 fi
22788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22789 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22790 if test "x$ac_cv_lib_tiff_TIFFError" = x""yes; then :
22791 TIFF_LINK=" -ltiff"
22792 fi
22793
22794
22795 fi
22796
22797
22798
22799 if test "x$TIFF_LINK" = "x" ; then
22800 if test "$wxUSE_LIBTIFF" = "sys" ; then
22801 as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22802 else
22803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22804 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22805 wxUSE_LIBTIFF=builtin
22806 fi
22807 else
22808 wxUSE_LIBTIFF=sys
22809 fi
22810 fi
22811 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22812 if test "$wxUSE_LIBJPEG" = "no"; then
22813 ac_configure_args="$ac_configure_args --disable-jpeg"
22814 fi
22815
22816
22817 subdirs="$subdirs src/tiff"
22818
22819 fi
22820 fi
22821
22822
22823 if test "$wxUSE_EXPAT" != "no"; then
22824 wxUSE_XML=yes
22825 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22826
22827 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22828
22829
22830 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22831 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
22832 "
22833 if test "x$ac_cv_header_expat_h" = x""yes; then :
22834 found_expat_h=1
22835 fi
22836
22837
22838 if test "x$found_expat_h" = "x1"; then
22839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22840 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22841 if test "${wx_cv_expat_is_not_broken+set}" = set; then :
22842 $as_echo_n "(cached) " >&6
22843 else
22844
22845 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 #include <expat.h>
22854 int
22855 main ()
22856 {
22857
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 wx_cv_expat_is_not_broken=yes
22864 else
22865 wx_cv_expat_is_not_broken=no
22866
22867 fi
22868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22869 ac_ext=c
22870 ac_cpp='$CPP $CPPFLAGS'
22871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22874
22875
22876
22877 fi
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
22879 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
22880 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
22882 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
22883 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
22884 $as_echo_n "(cached) " >&6
22885 else
22886 ac_check_lib_save_LIBS=$LIBS
22887 LIBS="-lexpat $LIBS"
22888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22889 /* end confdefs.h. */
22890
22891 /* Override any GCC internal prototype to avoid an error.
22892 Use char because int might match the return type of a GCC
22893 builtin and then its argument prototype would still apply. */
22894 #ifdef __cplusplus
22895 extern "C"
22896 #endif
22897 char XML_ParserCreate ();
22898 int
22899 main ()
22900 {
22901 return XML_ParserCreate ();
22902 ;
22903 return 0;
22904 }
22905 _ACEOF
22906 if ac_fn_c_try_link "$LINENO"; then :
22907 ac_cv_lib_expat_XML_ParserCreate=yes
22908 else
22909 ac_cv_lib_expat_XML_ParserCreate=no
22910 fi
22911 rm -f core conftest.err conftest.$ac_objext \
22912 conftest$ac_exeext conftest.$ac_ext
22913 LIBS=$ac_check_lib_save_LIBS
22914 fi
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
22916 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
22917 if test "x$ac_cv_lib_expat_XML_ParserCreate" = x""yes; then :
22918 EXPAT_LINK=" -lexpat"
22919 fi
22920
22921 fi
22922 fi
22923 if test "x$EXPAT_LINK" = "x" ; then
22924 if test "$wxUSE_EXPAT" = "sys" ; then
22925 as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
22926 else
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
22928 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
22929 wxUSE_EXPAT=builtin
22930 fi
22931 else
22932 wxUSE_EXPAT=sys
22933 fi
22934 fi
22935 if test "$wxUSE_EXPAT" = "builtin" ; then
22936 subdirs="$subdirs src/expat"
22937
22938 fi
22939 fi
22940
22941
22942
22943 if test "$wxUSE_LIBMSPACK" != "no"; then
22944 ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
22945 "
22946 if test "x$ac_cv_header_mspack_h" = x""yes; then :
22947 found_mspack_h=1
22948 fi
22949
22950
22951 if test "x$found_mspack_h" = "x1"; then
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
22953 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
22954 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then :
22955 $as_echo_n "(cached) " >&6
22956 else
22957 ac_check_lib_save_LIBS=$LIBS
22958 LIBS="-lmspack $LIBS"
22959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22960 /* end confdefs.h. */
22961
22962 /* Override any GCC internal prototype to avoid an error.
22963 Use char because int might match the return type of a GCC
22964 builtin and then its argument prototype would still apply. */
22965 #ifdef __cplusplus
22966 extern "C"
22967 #endif
22968 char mspack_create_chm_decompressor ();
22969 int
22970 main ()
22971 {
22972 return mspack_create_chm_decompressor ();
22973 ;
22974 return 0;
22975 }
22976 _ACEOF
22977 if ac_fn_c_try_link "$LINENO"; then :
22978 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
22979 else
22980 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
22981 fi
22982 rm -f core conftest.err conftest.$ac_objext \
22983 conftest$ac_exeext conftest.$ac_ext
22984 LIBS=$ac_check_lib_save_LIBS
22985 fi
22986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
22987 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
22988 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = x""yes; then :
22989 MSPACK_LINK=" -lmspack"
22990 fi
22991
22992 fi
22993 if test "x$MSPACK_LINK" = "x" ; then
22994 wxUSE_LIBMSPACK=no
22995 fi
22996 fi
22997
22998 if test "$wxUSE_LIBMSPACK" != "no"; then
22999 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23000
23001 fi
23002
23003
23004
23005 AFMINSTALL=
23006 WIN32INSTALL=
23007
23008 TOOLKIT=
23009 TOOLKIT_INCLUDE=
23010 WIDGET_SET=
23011
23012 if test "$USE_WIN32" = 1 ; then
23013 for ac_header in w32api.h
23014 do :
23015 ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23016 "
23017 if test "x$ac_cv_header_w32api_h" = x""yes; then :
23018 cat >>confdefs.h <<_ACEOF
23019 #define HAVE_W32API_H 1
23020 _ACEOF
23021
23022 fi
23023
23024 done
23025
23026 ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
23027 "
23028 if test "x$ac_cv_header_windows_h" = x""yes; then :
23029
23030 else
23031
23032 as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23033
23034 fi
23035
23036
23037
23038 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23039 case "${host}" in
23040 x86_64-*-mingw32* )
23041 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
23042 ;;
23043 esac
23044 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23045 LIBS="$LIBS -loleacc"
23046 fi
23047
23048 case "${host}" in
23049 *-*-cygwin* )
23050 LIBS="$LIBS -lkernel32 -luser32"
23051 esac
23052
23053 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23054 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
23055
23056 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23057
23058 WIN32INSTALL=win32install
23059 fi
23060
23061 if test "$wxUSE_GUI" = "yes"; then
23062 USE_GUI=1
23063
23064 GUI_TK_LIBRARY=
23065
23066 WXGTK127=
23067 WXGTK2=
23068 WXGPE=
23069
23070 if test "$wxUSE_OLD_COCOA" = 1 ; then
23071 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23073 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23074 wxUSE_PRINTING_ARCHITECTURE=no
23075 fi
23076 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23078 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23079 wxUSE_DRAG_AND_DROP=no
23080 fi
23081 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23083 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23084 wxUSE_DRAGIMAGE=no
23085 fi
23086 fi
23087
23088 if test "$wxUSE_MSW" = 1 ; then
23089 TOOLKIT=MSW
23090 GUIDIST=MSW_DIST
23091
23092 case "${host}" in
23093 *-*-mingw32* )
23094 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23095 esac
23096 fi
23097
23098 if test "$wxUSE_GTK" = 1; then
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23100 $as_echo_n "checking for GTK+ version... " >&6; }
23101
23102 gtk_version_cached=1
23103 if test "${wx_cv_lib_gtk+set}" = set; then :
23104 $as_echo_n "(cached) " >&6
23105 else
23106
23107 gtk_version_cached=0
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23109 $as_echo "" >&6; }
23110
23111 GTK_MODULES=
23112 if test "$wxUSE_THREADS" = "yes"; then
23113 GTK_MODULES=gthread
23114 fi
23115
23116 wx_cv_lib_gtk=
23117 if test "x$wxGTK_VERSION" != "x1"
23118 then
23119 case "${host}" in
23120 *-*-solaris2* )
23121 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23122 enable_gtktest=no
23123 fi
23124 esac
23125
23126 # Check whether --enable-gtktest was given.
23127 if test "${enable_gtktest+set}" = set; then :
23128 enableval=$enable_gtktest;
23129 else
23130 enable_gtktest=yes
23131 fi
23132
23133
23134 pkg_config_args=gtk+-2.0
23135 for module in . $GTK_MODULES
23136 do
23137 case "$module" in
23138 gthread)
23139 pkg_config_args="$pkg_config_args gthread-2.0"
23140 ;;
23141 esac
23142 done
23143
23144 no_gtk=""
23145
23146 # Extract the first word of "pkg-config", so it can be a program name with args.
23147 set dummy pkg-config; ac_word=$2
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23149 $as_echo_n "checking for $ac_word... " >&6; }
23150 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
23151 $as_echo_n "(cached) " >&6
23152 else
23153 case $PKG_CONFIG in
23154 [\\/]* | ?:[\\/]*)
23155 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23156 ;;
23157 *)
23158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23159 for as_dir in $PATH
23160 do
23161 IFS=$as_save_IFS
23162 test -z "$as_dir" && as_dir=.
23163 for ac_exec_ext in '' $ac_executable_extensions; do
23164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23165 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23167 break 2
23168 fi
23169 done
23170 done
23171 IFS=$as_save_IFS
23172
23173 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23174 ;;
23175 esac
23176 fi
23177 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23178 if test -n "$PKG_CONFIG"; then
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23180 $as_echo "$PKG_CONFIG" >&6; }
23181 else
23182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23183 $as_echo "no" >&6; }
23184 fi
23185
23186
23187
23188 if test x$PKG_CONFIG != xno ; then
23189 if pkg-config --atleast-pkgconfig-version 0.7 ; then
23190 :
23191 else
23192 echo "*** pkg-config too old; version 0.7 or better required."
23193 no_gtk=yes
23194 PKG_CONFIG=no
23195 fi
23196 else
23197 no_gtk=yes
23198 fi
23199
23200 min_gtk_version=2.4.0
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23202 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23203
23204 if test x$PKG_CONFIG != xno ; then
23205 ## don't try to run the test against uninstalled libtool libs
23206 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23207 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23208 enable_gtktest=no
23209 fi
23210
23211 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23212 :
23213 else
23214 no_gtk=yes
23215 fi
23216 fi
23217
23218 if test x"$no_gtk" = x ; then
23219 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
23220 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
23221 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23222 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23223 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23224 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23225 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
23226 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23227 if test "x$enable_gtktest" = "xyes" ; then
23228 ac_save_CFLAGS="$CFLAGS"
23229 ac_save_LIBS="$LIBS"
23230 CFLAGS="$CFLAGS $GTK_CFLAGS"
23231 LIBS="$GTK_LIBS $LIBS"
23232 rm -f conf.gtktest
23233 if test "$cross_compiling" = yes; then :
23234 echo $ac_n "cross compiling; assumed OK... $ac_c"
23235 else
23236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23237 /* end confdefs.h. */
23238
23239 #include <gtk/gtk.h>
23240 #include <stdio.h>
23241 #include <stdlib.h>
23242
23243 int
23244 main ()
23245 {
23246 int major, minor, micro;
23247 char *tmp_version;
23248
23249 system ("touch conf.gtktest");
23250
23251 /* HP/UX 9 (%@#!) writes to sscanf strings */
23252 tmp_version = g_strdup("$min_gtk_version");
23253 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23254 printf("%s, bad version string\n", "$min_gtk_version");
23255 exit(1);
23256 }
23257
23258 if ((gtk_major_version != $gtk_config_major_version) ||
23259 (gtk_minor_version != $gtk_config_minor_version) ||
23260 (gtk_micro_version != $gtk_config_micro_version))
23261 {
23262 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23263 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23264 gtk_major_version, gtk_minor_version, gtk_micro_version);
23265 printf ("*** was found! If pkg-config was correct, then it is best\n");
23266 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23267 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23268 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23269 printf("*** required on your system.\n");
23270 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23271 printf("*** to point to the correct configuration files\n");
23272 }
23273 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23274 (gtk_minor_version != GTK_MINOR_VERSION) ||
23275 (gtk_micro_version != GTK_MICRO_VERSION))
23276 {
23277 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23278 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23279 printf("*** library (version %d.%d.%d)\n",
23280 gtk_major_version, gtk_minor_version, gtk_micro_version);
23281 }
23282 else
23283 {
23284 if ((gtk_major_version > major) ||
23285 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23286 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23287 {
23288 return 0;
23289 }
23290 else
23291 {
23292 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23293 gtk_major_version, gtk_minor_version, gtk_micro_version);
23294 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23295 major, minor, micro);
23296 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23297 printf("***\n");
23298 printf("*** If you have already installed a sufficiently new version, this error\n");
23299 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23300 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23301 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23302 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23303 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23304 printf("*** so that the correct libraries are found at run-time))\n");
23305 }
23306 }
23307 return 1;
23308 }
23309
23310 _ACEOF
23311 if ac_fn_c_try_run "$LINENO"; then :
23312
23313 else
23314 no_gtk=yes
23315 fi
23316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23317 conftest.$ac_objext conftest.beam conftest.$ac_ext
23318 fi
23319
23320 CFLAGS="$ac_save_CFLAGS"
23321 LIBS="$ac_save_LIBS"
23322 fi
23323 fi
23324 if test "x$no_gtk" = x ; then
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23326 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23327 wx_cv_lib_gtk=2.0
23328 else
23329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23330 $as_echo "no" >&6; }
23331 if test "$PKG_CONFIG" = "no" ; then
23332 echo "*** A new enough version of pkg-config was not found."
23333 echo "*** See http://pkgconfig.sourceforge.net"
23334 else
23335 if test -f conf.gtktest ; then
23336 :
23337 else
23338 echo "*** Could not run GTK+ test program, checking why..."
23339 ac_save_CFLAGS="$CFLAGS"
23340 ac_save_LIBS="$LIBS"
23341 CFLAGS="$CFLAGS $GTK_CFLAGS"
23342 LIBS="$LIBS $GTK_LIBS"
23343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23344 /* end confdefs.h. */
23345
23346 #include <gtk/gtk.h>
23347 #include <stdio.h>
23348
23349 int
23350 main ()
23351 {
23352 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23353 ;
23354 return 0;
23355 }
23356 _ACEOF
23357 if ac_fn_c_try_link "$LINENO"; then :
23358 echo "*** The test program compiled, but did not run. This usually means"
23359 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23360 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23361 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23362 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23363 echo "*** is required on your system"
23364 echo "***"
23365 echo "*** If you have an old version installed, it is best to remove it, although"
23366 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23367 else
23368 echo "*** The test program failed to compile or link. See the file config.log for the"
23369 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23370 fi
23371 rm -f core conftest.err conftest.$ac_objext \
23372 conftest$ac_exeext conftest.$ac_ext
23373 CFLAGS="$ac_save_CFLAGS"
23374 LIBS="$ac_save_LIBS"
23375 fi
23376 fi
23377 GTK_CFLAGS=""
23378 GTK_LIBS=""
23379 :
23380 fi
23381
23382
23383 rm -f conf.gtktest
23384
23385 fi
23386
23387 if test -z "$wx_cv_lib_gtk"; then
23388 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23389
23390 # Check whether --with-gtk-prefix was given.
23391 if test "${with_gtk_prefix+set}" = set; then :
23392 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23393 else
23394 gtk_config_prefix=""
23395 fi
23396
23397
23398 # Check whether --with-gtk-exec-prefix was given.
23399 if test "${with_gtk_exec_prefix+set}" = set; then :
23400 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23401 else
23402 gtk_config_exec_prefix=""
23403 fi
23404
23405 # Check whether --enable-gtktest was given.
23406 if test "${enable_gtktest+set}" = set; then :
23407 enableval=$enable_gtktest;
23408 else
23409 enable_gtktest=yes
23410 fi
23411
23412
23413 for module in . $GTK_MODULES
23414 do
23415 case "$module" in
23416 gthread)
23417 gtk_config_args="$gtk_config_args gthread"
23418 ;;
23419 esac
23420 done
23421
23422 if test x$gtk_config_exec_prefix != x ; then
23423 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23424 if test x${GTK_CONFIG+set} != xset ; then
23425 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23426 fi
23427 fi
23428 if test x$gtk_config_prefix != x ; then
23429 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23430 if test x${GTK_CONFIG+set} != xset ; then
23431 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23432 fi
23433 fi
23434
23435 # Extract the first word of "gtk-config", so it can be a program name with args.
23436 set dummy gtk-config; ac_word=$2
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23438 $as_echo_n "checking for $ac_word... " >&6; }
23439 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23440 $as_echo_n "(cached) " >&6
23441 else
23442 case $GTK_CONFIG in
23443 [\\/]* | ?:[\\/]*)
23444 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23445 ;;
23446 *)
23447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23448 for as_dir in $PATH
23449 do
23450 IFS=$as_save_IFS
23451 test -z "$as_dir" && as_dir=.
23452 for ac_exec_ext in '' $ac_executable_extensions; do
23453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23454 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23456 break 2
23457 fi
23458 done
23459 done
23460 IFS=$as_save_IFS
23461
23462 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23463 ;;
23464 esac
23465 fi
23466 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23467 if test -n "$GTK_CONFIG"; then
23468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23469 $as_echo "$GTK_CONFIG" >&6; }
23470 else
23471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23472 $as_echo "no" >&6; }
23473 fi
23474
23475
23476 min_gtk_version=1.2.7
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23478 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23479 no_gtk=""
23480 if test "$GTK_CONFIG" = "no" ; then
23481 no_gtk=yes
23482 else
23483 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23484 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23485 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23487 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23489 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23491 if test "x$enable_gtktest" = "xyes" ; then
23492 ac_save_CFLAGS="$CFLAGS"
23493 ac_save_LIBS="$LIBS"
23494 CFLAGS="$CFLAGS $GTK_CFLAGS"
23495 LIBS="$GTK_LIBS $LIBS"
23496 rm -f conf.gtktest
23497 if test "$cross_compiling" = yes; then :
23498 echo $ac_n "cross compiling; assumed OK... $ac_c"
23499 else
23500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23501 /* end confdefs.h. */
23502
23503 #include <gtk/gtk.h>
23504 #include <stdio.h>
23505 #include <stdlib.h>
23506
23507 int
23508 main ()
23509 {
23510 int major, minor, micro;
23511 char *tmp_version;
23512
23513 system ("touch conf.gtktest");
23514
23515 /* HP/UX 9 (%@#!) writes to sscanf strings */
23516 tmp_version = g_strdup("$min_gtk_version");
23517 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23518 printf("%s, bad version string\n", "$min_gtk_version");
23519 exit(1);
23520 }
23521
23522 if ((gtk_major_version != $gtk_config_major_version) ||
23523 (gtk_minor_version != $gtk_config_minor_version) ||
23524 (gtk_micro_version != $gtk_config_micro_version))
23525 {
23526 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23527 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23528 gtk_major_version, gtk_minor_version, gtk_micro_version);
23529 printf ("*** was found! If gtk-config was correct, then it is best\n");
23530 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23531 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23532 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23533 printf("*** required on your system.\n");
23534 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23535 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23536 printf("*** before re-running configure\n");
23537 }
23538 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23539 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23540 (gtk_minor_version != GTK_MINOR_VERSION) ||
23541 (gtk_micro_version != GTK_MICRO_VERSION))
23542 {
23543 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23544 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23545 printf("*** library (version %d.%d.%d)\n",
23546 gtk_major_version, gtk_minor_version, gtk_micro_version);
23547 }
23548 #endif /* defined (GTK_MAJOR_VERSION) ... */
23549 else
23550 {
23551 if ((gtk_major_version > major) ||
23552 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23553 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23554 {
23555 return 0;
23556 }
23557 else
23558 {
23559 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23560 gtk_major_version, gtk_minor_version, gtk_micro_version);
23561 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23562 major, minor, micro);
23563 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23564 printf("***\n");
23565 printf("*** If you have already installed a sufficiently new version, this error\n");
23566 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23567 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23568 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23569 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23570 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23571 printf("*** so that the correct libraries are found at run-time))\n");
23572 }
23573 }
23574 return 1;
23575 }
23576
23577 _ACEOF
23578 if ac_fn_c_try_run "$LINENO"; then :
23579
23580 else
23581 no_gtk=yes
23582 fi
23583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23584 conftest.$ac_objext conftest.beam conftest.$ac_ext
23585 fi
23586
23587 CFLAGS="$ac_save_CFLAGS"
23588 LIBS="$ac_save_LIBS"
23589 fi
23590 fi
23591 if test "x$no_gtk" = x ; then
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23593 $as_echo "yes" >&6; }
23594 wx_cv_lib_gtk=1.2.7
23595 else
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23597 $as_echo "no" >&6; }
23598 if test "$GTK_CONFIG" = "no" ; then
23599 echo "*** The gtk-config script installed by GTK could not be found"
23600 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23601 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23602 echo "*** full path to gtk-config."
23603 else
23604 if test -f conf.gtktest ; then
23605 :
23606 else
23607 echo "*** Could not run GTK test program, checking why..."
23608 CFLAGS="$CFLAGS $GTK_CFLAGS"
23609 LIBS="$LIBS $GTK_LIBS"
23610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23611 /* end confdefs.h. */
23612
23613 #include <gtk/gtk.h>
23614 #include <stdio.h>
23615
23616 int
23617 main ()
23618 {
23619 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23620 ;
23621 return 0;
23622 }
23623 _ACEOF
23624 if ac_fn_c_try_link "$LINENO"; then :
23625 echo "*** The test program compiled, but did not run. This usually means"
23626 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23627 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23630 echo "*** is required on your system"
23631 echo "***"
23632 echo "*** If you have an old version installed, it is best to remove it, although"
23633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23634 echo "***"
23635 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23636 echo "*** came with the system with the command"
23637 echo "***"
23638 echo "*** rpm --erase --nodeps gtk gtk-devel"
23639 else
23640 echo "*** The test program failed to compile or link. See the file config.log for the"
23641 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23642 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23643 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23644 fi
23645 rm -f core conftest.err conftest.$ac_objext \
23646 conftest$ac_exeext conftest.$ac_ext
23647 CFLAGS="$ac_save_CFLAGS"
23648 LIBS="$ac_save_LIBS"
23649 fi
23650 fi
23651 GTK_CFLAGS=""
23652 GTK_LIBS=""
23653 :
23654 fi
23655
23656
23657 rm -f conf.gtktest
23658
23659
23660 if test -z "$wx_cv_lib_gtk"; then
23661
23662 # Check whether --with-gtk-prefix was given.
23663 if test "${with_gtk_prefix+set}" = set; then :
23664 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
23665 else
23666 gtk_config_prefix=""
23667 fi
23668
23669
23670 # Check whether --with-gtk-exec-prefix was given.
23671 if test "${with_gtk_exec_prefix+set}" = set; then :
23672 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
23673 else
23674 gtk_config_exec_prefix=""
23675 fi
23676
23677 # Check whether --enable-gtktest was given.
23678 if test "${enable_gtktest+set}" = set; then :
23679 enableval=$enable_gtktest;
23680 else
23681 enable_gtktest=yes
23682 fi
23683
23684
23685 for module in . $GTK_MODULES
23686 do
23687 case "$module" in
23688 gthread)
23689 gtk_config_args="$gtk_config_args gthread"
23690 ;;
23691 esac
23692 done
23693
23694 if test x$gtk_config_exec_prefix != x ; then
23695 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23696 if test x${GTK_CONFIG+set} != xset ; then
23697 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
23698 fi
23699 fi
23700 if test x$gtk_config_prefix != x ; then
23701 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
23702 if test x${GTK_CONFIG+set} != xset ; then
23703 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
23704 fi
23705 fi
23706
23707 # Extract the first word of "gtk-config", so it can be a program name with args.
23708 set dummy gtk-config; ac_word=$2
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23710 $as_echo_n "checking for $ac_word... " >&6; }
23711 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then :
23712 $as_echo_n "(cached) " >&6
23713 else
23714 case $GTK_CONFIG in
23715 [\\/]* | ?:[\\/]*)
23716 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
23717 ;;
23718 *)
23719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23720 for as_dir in $PATH
23721 do
23722 IFS=$as_save_IFS
23723 test -z "$as_dir" && as_dir=.
23724 for ac_exec_ext in '' $ac_executable_extensions; do
23725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23726 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23728 break 2
23729 fi
23730 done
23731 done
23732 IFS=$as_save_IFS
23733
23734 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
23735 ;;
23736 esac
23737 fi
23738 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
23739 if test -n "$GTK_CONFIG"; then
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23741 $as_echo "$GTK_CONFIG" >&6; }
23742 else
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23744 $as_echo "no" >&6; }
23745 fi
23746
23747
23748 min_gtk_version=1.2.3
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23750 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23751 no_gtk=""
23752 if test "$GTK_CONFIG" = "no" ; then
23753 no_gtk=yes
23754 else
23755 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
23756 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
23757 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
23758 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23759 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
23760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23761 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
23762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23763 if test "x$enable_gtktest" = "xyes" ; then
23764 ac_save_CFLAGS="$CFLAGS"
23765 ac_save_LIBS="$LIBS"
23766 CFLAGS="$CFLAGS $GTK_CFLAGS"
23767 LIBS="$GTK_LIBS $LIBS"
23768 rm -f conf.gtktest
23769 if test "$cross_compiling" = yes; then :
23770 echo $ac_n "cross compiling; assumed OK... $ac_c"
23771 else
23772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h. */
23774
23775 #include <gtk/gtk.h>
23776 #include <stdio.h>
23777 #include <stdlib.h>
23778
23779 int
23780 main ()
23781 {
23782 int major, minor, micro;
23783 char *tmp_version;
23784
23785 system ("touch conf.gtktest");
23786
23787 /* HP/UX 9 (%@#!) writes to sscanf strings */
23788 tmp_version = g_strdup("$min_gtk_version");
23789 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
23790 printf("%s, bad version string\n", "$min_gtk_version");
23791 exit(1);
23792 }
23793
23794 if ((gtk_major_version != $gtk_config_major_version) ||
23795 (gtk_minor_version != $gtk_config_minor_version) ||
23796 (gtk_micro_version != $gtk_config_micro_version))
23797 {
23798 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23799 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23800 gtk_major_version, gtk_minor_version, gtk_micro_version);
23801 printf ("*** was found! If gtk-config was correct, then it is best\n");
23802 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23803 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23804 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23805 printf("*** required on your system.\n");
23806 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23807 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23808 printf("*** before re-running configure\n");
23809 }
23810 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23811 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23812 (gtk_minor_version != GTK_MINOR_VERSION) ||
23813 (gtk_micro_version != GTK_MICRO_VERSION))
23814 {
23815 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23816 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23817 printf("*** library (version %d.%d.%d)\n",
23818 gtk_major_version, gtk_minor_version, gtk_micro_version);
23819 }
23820 #endif /* defined (GTK_MAJOR_VERSION) ... */
23821 else
23822 {
23823 if ((gtk_major_version > major) ||
23824 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23825 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23826 {
23827 return 0;
23828 }
23829 else
23830 {
23831 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23832 gtk_major_version, gtk_minor_version, gtk_micro_version);
23833 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23834 major, minor, micro);
23835 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23836 printf("***\n");
23837 printf("*** If you have already installed a sufficiently new version, this error\n");
23838 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23839 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23840 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23841 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23842 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23843 printf("*** so that the correct libraries are found at run-time))\n");
23844 }
23845 }
23846 return 1;
23847 }
23848
23849 _ACEOF
23850 if ac_fn_c_try_run "$LINENO"; then :
23851
23852 else
23853 no_gtk=yes
23854 fi
23855 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23856 conftest.$ac_objext conftest.beam conftest.$ac_ext
23857 fi
23858
23859 CFLAGS="$ac_save_CFLAGS"
23860 LIBS="$ac_save_LIBS"
23861 fi
23862 fi
23863 if test "x$no_gtk" = x ; then
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23865 $as_echo "yes" >&6; }
23866 wx_cv_lib_gtk=1.2.3
23867 else
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23869 $as_echo "no" >&6; }
23870 if test "$GTK_CONFIG" = "no" ; then
23871 echo "*** The gtk-config script installed by GTK could not be found"
23872 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
23873 echo "*** your path, or set the GTK_CONFIG environment variable to the"
23874 echo "*** full path to gtk-config."
23875 else
23876 if test -f conf.gtktest ; then
23877 :
23878 else
23879 echo "*** Could not run GTK test program, checking why..."
23880 CFLAGS="$CFLAGS $GTK_CFLAGS"
23881 LIBS="$LIBS $GTK_LIBS"
23882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23883 /* end confdefs.h. */
23884
23885 #include <gtk/gtk.h>
23886 #include <stdio.h>
23887
23888 int
23889 main ()
23890 {
23891 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23892 ;
23893 return 0;
23894 }
23895 _ACEOF
23896 if ac_fn_c_try_link "$LINENO"; then :
23897 echo "*** The test program compiled, but did not run. This usually means"
23898 echo "*** that the run-time linker is not finding GTK or finding the wrong"
23899 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
23900 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23901 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23902 echo "*** is required on your system"
23903 echo "***"
23904 echo "*** If you have an old version installed, it is best to remove it, although"
23905 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23906 echo "***"
23907 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
23908 echo "*** came with the system with the command"
23909 echo "***"
23910 echo "*** rpm --erase --nodeps gtk gtk-devel"
23911 else
23912 echo "*** The test program failed to compile or link. See the file config.log for the"
23913 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
23914 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
23915 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
23916 fi
23917 rm -f core conftest.err conftest.$ac_objext \
23918 conftest$ac_exeext conftest.$ac_ext
23919 CFLAGS="$ac_save_CFLAGS"
23920 LIBS="$ac_save_LIBS"
23921 fi
23922 fi
23923 GTK_CFLAGS=""
23924 GTK_LIBS=""
23925 :
23926 fi
23927
23928
23929 rm -f conf.gtktest
23930
23931 fi
23932 fi
23933 fi
23934
23935 if test -z "$wx_cv_lib_gtk"; then
23936 wx_cv_lib_gtk=none
23937 else
23938 GTK_LIBS="$GTK_LIBS -lX11"
23939
23940 wx_cv_cflags_gtk=$GTK_CFLAGS
23941 wx_cv_libs_gtk=$GTK_LIBS
23942 fi
23943
23944
23945 fi
23946
23947
23948 if test "$gtk_version_cached" = 1; then
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
23950 $as_echo "$wx_cv_lib_gtk" >&6; }
23951 fi
23952
23953 case "$wx_cv_lib_gtk" in
23954 2.0) WXGTK2=1
23955 TOOLKIT_VERSION=2
23956 ;;
23957 1.2.7) WXGTK127=1
23958 ;;
23959 1.2*) ;;
23960 *) as_fn_error $? "
23961 The development files for GTK+ were not found. For GTK+ 2, please
23962 ensure that pkg-config is in the path and that gtk+-2.0.pc is
23963 installed. For GTK+ 1.2 please check that gtk-config is in the path,
23964 and that the version is 1.2.3 or above. Also check that the
23965 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
23966 --libs' are in the LD_LIBRARY_PATH or equivalent.
23967 " "$LINENO" 5
23968 ;;
23969 esac
23970
23971 if test "$WXGTK2" = 1; then
23972 save_CFLAGS="$CFLAGS"
23973 save_LIBS="$LIBS"
23974 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
23975 LIBS="$LIBS $wx_cv_libs_gtk"
23976
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
23978 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
23979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h. */
23981
23982 #include <gtk/gtk.h>
23983
23984 int
23985 main ()
23986 {
23987
23988 #if !GTK_CHECK_VERSION(2,18,0)
23989 Not GTK+ 2.18
23990 #endif
23991
23992 ;
23993 return 0;
23994 }
23995 _ACEOF
23996 if ac_fn_c_try_compile "$LINENO"; then :
23997
23998 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
23999
24000 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24001
24002 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24003
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24005 $as_echo "yes" >&6; }
24006 ac_wxgtk218=1
24007
24008 else
24009
24010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24011 $as_echo "no" >&6; }
24012 ac_wxgtk218=0
24013
24014 fi
24015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24016
24017 if test "$ac_wxgtk218" = 0; then
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24019 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24022
24023 #include <gtk/gtk.h>
24024
24025 int
24026 main ()
24027 {
24028
24029 #if !GTK_CHECK_VERSION(2,10,0)
24030 Not GTK+ 2.10
24031 #endif
24032
24033 ;
24034 return 0;
24035 }
24036 _ACEOF
24037 if ac_fn_c_try_compile "$LINENO"; then :
24038
24039 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24040
24041 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24042
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24044 $as_echo "yes" >&6; }
24045 ac_wxgtk210=1
24046
24047 else
24048
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24050 $as_echo "no" >&6; }
24051 ac_wxgtk210=0
24052
24053 fi
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24055
24056 if test "$ac_wxgtk210" = 0; then
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.6" >&5
24058 $as_echo_n "checking if GTK+ is version >= 2.6... " >&6; }
24059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24060 /* end confdefs.h. */
24061
24062 #include <gtk/gtk.h>
24063
24064 int
24065 main ()
24066 {
24067
24068 #if !GTK_CHECK_VERSION(2,6,0)
24069 Not GTK+ 2.6
24070 #endif
24071
24072 ;
24073 return 0;
24074 }
24075 _ACEOF
24076 if ac_fn_c_try_compile "$LINENO"; then :
24077
24078 $as_echo "#define __WXGTK26__ 1" >>confdefs.h
24079
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24081 $as_echo "yes" >&6; }
24082 ac_wxgtk26=1
24083
24084 else
24085
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24087 $as_echo "no" >&6; }
24088 ac_wxgtk26=0
24089
24090 fi
24091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24092 fi
24093 fi
24094
24095 CFLAGS="$save_CFLAGS"
24096 LIBS="$save_LIBS"
24097 else
24098 if test "$wxUSE_UNICODE" = "yes"; then
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24100 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24101 wxUSE_UNICODE=no
24102 fi
24103
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24105 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24106 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then :
24107 $as_echo_n "(cached) " >&6
24108 else
24109 ac_check_lib_save_LIBS=$LIBS
24110 LIBS="-lgdk $LIBS"
24111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24113
24114 /* Override any GCC internal prototype to avoid an error.
24115 Use char because int might match the return type of a GCC
24116 builtin and then its argument prototype would still apply. */
24117 #ifdef __cplusplus
24118 extern "C"
24119 #endif
24120 char gdk_im_open ();
24121 int
24122 main ()
24123 {
24124 return gdk_im_open ();
24125 ;
24126 return 0;
24127 }
24128 _ACEOF
24129 if ac_fn_c_try_link "$LINENO"; then :
24130 ac_cv_lib_gdk_gdk_im_open=yes
24131 else
24132 ac_cv_lib_gdk_gdk_im_open=no
24133 fi
24134 rm -f core conftest.err conftest.$ac_objext \
24135 conftest$ac_exeext conftest.$ac_ext
24136 LIBS=$ac_check_lib_save_LIBS
24137 fi
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24139 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24140 if test "x$ac_cv_lib_gdk_gdk_im_open" = x""yes; then :
24141 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24142
24143 fi
24144
24145
24146 if test "$USE_DARWIN" != 1; then
24147 for ac_func in poll
24148 do :
24149 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
24150 if test "x$ac_cv_func_poll" = x""yes; then :
24151 cat >>confdefs.h <<_ACEOF
24152 #define HAVE_POLL 1
24153 _ACEOF
24154
24155 fi
24156 done
24157
24158 fi
24159 fi
24160
24161 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
24162 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24163 AFMINSTALL=afminstall
24164 TOOLKIT=GTK
24165 GUIDIST=GTK_DIST
24166
24167 if test "$wxUSE_GPE" = "yes"; then
24168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24169 $as_echo_n "checking for gpewidget library... " >&6; }
24170
24171 ac_find_libraries=
24172 for ac_dir in $SEARCH_LIB
24173 do
24174 for ac_extension in a so sl dylib dll.a; do
24175 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24176 ac_find_libraries=$ac_dir
24177 break 2
24178 fi
24179 done
24180 done
24181
24182 if test "$ac_find_libraries" != "" ; then
24183
24184 if test "$ac_find_libraries" = "default location"; then
24185 ac_path_to_link=""
24186 else
24187 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24188 result=$?
24189 if test $result = 0; then
24190 ac_path_to_link=""
24191 else
24192 ac_path_to_link=" -L$ac_find_libraries"
24193 fi
24194 fi
24195
24196 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24197 WXGPE=1
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24199 $as_echo "found in $ac_find_libraries" >&6; }
24200 else
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24202 $as_echo "not found" >&6; }
24203 fi
24204
24205 fi
24206 fi
24207
24208 if test "$wxUSE_DFB" = 1; then
24209
24210
24211 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24212 if test -n "$ac_tool_prefix"; then
24213 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24214 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24216 $as_echo_n "checking for $ac_word... " >&6; }
24217 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
24218 $as_echo_n "(cached) " >&6
24219 else
24220 case $PKG_CONFIG in
24221 [\\/]* | ?:[\\/]*)
24222 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
24223 ;;
24224 *)
24225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24226 for as_dir in $PATH
24227 do
24228 IFS=$as_save_IFS
24229 test -z "$as_dir" && as_dir=.
24230 for ac_exec_ext in '' $ac_executable_extensions; do
24231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24232 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24234 break 2
24235 fi
24236 done
24237 done
24238 IFS=$as_save_IFS
24239
24240 ;;
24241 esac
24242 fi
24243 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24244 if test -n "$PKG_CONFIG"; then
24245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24246 $as_echo "$PKG_CONFIG" >&6; }
24247 else
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24249 $as_echo "no" >&6; }
24250 fi
24251
24252
24253 fi
24254 if test -z "$ac_cv_path_PKG_CONFIG"; then
24255 ac_pt_PKG_CONFIG=$PKG_CONFIG
24256 # Extract the first word of "pkg-config", so it can be a program name with args.
24257 set dummy pkg-config; ac_word=$2
24258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24259 $as_echo_n "checking for $ac_word... " >&6; }
24260 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
24261 $as_echo_n "(cached) " >&6
24262 else
24263 case $ac_pt_PKG_CONFIG in
24264 [\\/]* | ?:[\\/]*)
24265 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24266 ;;
24267 *)
24268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24269 for as_dir in $PATH
24270 do
24271 IFS=$as_save_IFS
24272 test -z "$as_dir" && as_dir=.
24273 for ac_exec_ext in '' $ac_executable_extensions; do
24274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24275 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24277 break 2
24278 fi
24279 done
24280 done
24281 IFS=$as_save_IFS
24282
24283 ;;
24284 esac
24285 fi
24286 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
24287 if test -n "$ac_pt_PKG_CONFIG"; then
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24289 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24290 else
24291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24292 $as_echo "no" >&6; }
24293 fi
24294
24295 if test "x$ac_pt_PKG_CONFIG" = x; then
24296 PKG_CONFIG=""
24297 else
24298 case $cross_compiling:$ac_tool_warned in
24299 yes:)
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24302 ac_tool_warned=yes ;;
24303 esac
24304 PKG_CONFIG=$ac_pt_PKG_CONFIG
24305 fi
24306 else
24307 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
24308 fi
24309
24310 fi
24311 if test -n "$PKG_CONFIG"; then
24312 _pkg_min_version=0.9.0
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24314 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24315 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24317 $as_echo "yes" >&6; }
24318 else
24319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24320 $as_echo "no" >&6; }
24321 PKG_CONFIG=""
24322 fi
24323
24324 fi
24325
24326
24327 pkg_failed=no
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24329 $as_echo_n "checking for DIRECTFB... " >&6; }
24330
24331 if test -n "$PKG_CONFIG"; then
24332 if test -n "$DIRECTFB_CFLAGS"; then
24333 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
24334 else
24335 if test -n "$PKG_CONFIG" && \
24336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24337 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24338 ac_status=$?
24339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24340 test $ac_status = 0; }; then
24341 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24342 else
24343 pkg_failed=yes
24344 fi
24345 fi
24346 else
24347 pkg_failed=untried
24348 fi
24349 if test -n "$PKG_CONFIG"; then
24350 if test -n "$DIRECTFB_LIBS"; then
24351 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
24352 else
24353 if test -n "$PKG_CONFIG" && \
24354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24355 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24356 ac_status=$?
24357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24358 test $ac_status = 0; }; then
24359 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24360 else
24361 pkg_failed=yes
24362 fi
24363 fi
24364 else
24365 pkg_failed=untried
24366 fi
24367
24368
24369
24370 if test $pkg_failed = yes; then
24371
24372 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24373 _pkg_short_errors_supported=yes
24374 else
24375 _pkg_short_errors_supported=no
24376 fi
24377 if test $_pkg_short_errors_supported = yes; then
24378 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24379 else
24380 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24381 fi
24382 # Put the nasty error message in config.log where it belongs
24383 echo "$DIRECTFB_PKG_ERRORS" >&5
24384
24385
24386 as_fn_error $? "DirectFB not found." "$LINENO" 5
24387
24388
24389 elif test $pkg_failed = untried; then
24390
24391 as_fn_error $? "DirectFB not found." "$LINENO" 5
24392
24393
24394 else
24395 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
24396 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24398 $as_echo "yes" >&6; }
24399
24400 wxUSE_UNIVERSAL="yes"
24401 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
24402 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
24403 TOOLKIT=DFB
24404 GUIDIST=DFB_DIST
24405
24406 fi
24407 fi
24408
24409 if test "$wxUSE_MICROWIN" = 1; then
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24411 $as_echo_n "checking for MicroWindows... " >&6; }
24412 if test "x$MICROWINDOWS" = x ; then
24413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24414 $as_echo "not found" >&6; }
24415 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24416 else
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24418 $as_echo "$MICROWINDOWS" >&6; }
24419 fi
24420
24421 if test -f $MICROWINDOWS/lib/libmwin.a; then
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24423 $as_echo "MicroWindows' libraries found." >&6; }
24424 else
24425 as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24426 fi
24427
24428 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
24429 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24430
24431 wxUSE_UNIVERSAL="yes"
24432
24433 AFMINSTALL=afminstall
24434 TOOLKIT=MICROWIN
24435 GUIDIST=MICROWIN_DIST
24436
24437 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24438 fi
24439
24440 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24442 $as_echo_n "checking for X... " >&6; }
24443
24444
24445 # Check whether --with-x was given.
24446 if test "${with_x+set}" = set; then :
24447 withval=$with_x;
24448 fi
24449
24450 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24451 if test "x$with_x" = xno; then
24452 # The user explicitly disabled X.
24453 have_x=disabled
24454 else
24455 case $x_includes,$x_libraries in #(
24456 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
24457 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24458 $as_echo_n "(cached) " >&6
24459 else
24460 # One or both of the vars are not set, and there is no cached value.
24461 ac_x_includes=no ac_x_libraries=no
24462 rm -f -r conftest.dir
24463 if mkdir conftest.dir; then
24464 cd conftest.dir
24465 cat >Imakefile <<'_ACEOF'
24466 incroot:
24467 @echo incroot='${INCROOT}'
24468 usrlibdir:
24469 @echo usrlibdir='${USRLIBDIR}'
24470 libdir:
24471 @echo libdir='${LIBDIR}'
24472 _ACEOF
24473 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24474 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24475 for ac_var in incroot usrlibdir libdir; do
24476 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24477 done
24478 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24479 for ac_extension in a so sl dylib la dll; do
24480 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24481 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24482 ac_im_usrlibdir=$ac_im_libdir; break
24483 fi
24484 done
24485 # Screen out bogus values from the imake configuration. They are
24486 # bogus both because they are the default anyway, and because
24487 # using them would break gcc on systems where it needs fixed includes.
24488 case $ac_im_incroot in
24489 /usr/include) ac_x_includes= ;;
24490 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24491 esac
24492 case $ac_im_usrlibdir in
24493 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24494 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24495 esac
24496 fi
24497 cd ..
24498 rm -f -r conftest.dir
24499 fi
24500
24501 # Standard set of common directories for X headers.
24502 # Check X11 before X11Rn because it is often a symlink to the current release.
24503 ac_x_header_dirs='
24504 /usr/X11/include
24505 /usr/X11R7/include
24506 /usr/X11R6/include
24507 /usr/X11R5/include
24508 /usr/X11R4/include
24509
24510 /usr/include/X11
24511 /usr/include/X11R7
24512 /usr/include/X11R6
24513 /usr/include/X11R5
24514 /usr/include/X11R4
24515
24516 /usr/local/X11/include
24517 /usr/local/X11R7/include
24518 /usr/local/X11R6/include
24519 /usr/local/X11R5/include
24520 /usr/local/X11R4/include
24521
24522 /usr/local/include/X11
24523 /usr/local/include/X11R7
24524 /usr/local/include/X11R6
24525 /usr/local/include/X11R5
24526 /usr/local/include/X11R4
24527
24528 /usr/X386/include
24529 /usr/x386/include
24530 /usr/XFree86/include/X11
24531
24532 /usr/include
24533 /usr/local/include
24534 /usr/unsupported/include
24535 /usr/athena/include
24536 /usr/local/x11r5/include
24537 /usr/lpp/Xamples/include
24538
24539 /usr/openwin/include
24540 /usr/openwin/share/include'
24541
24542 if test "$ac_x_includes" = no; then
24543 # Guess where to find include files, by looking for Xlib.h.
24544 # First, try using that file with no special directory specified.
24545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24546 /* end confdefs.h. */
24547 #include <X11/Xlib.h>
24548 _ACEOF
24549 if ac_fn_c_try_cpp "$LINENO"; then :
24550 # We can compile using X headers with no special include directory.
24551 ac_x_includes=
24552 else
24553 for ac_dir in $ac_x_header_dirs; do
24554 if test -r "$ac_dir/X11/Xlib.h"; then
24555 ac_x_includes=$ac_dir
24556 break
24557 fi
24558 done
24559 fi
24560 rm -f conftest.err conftest.i conftest.$ac_ext
24561 fi # $ac_x_includes = no
24562
24563 if test "$ac_x_libraries" = no; then
24564 # Check for the libraries.
24565 # See if we find them without any special options.
24566 # Don't add to $LIBS permanently.
24567 ac_save_LIBS=$LIBS
24568 LIBS="-lX11 $LIBS"
24569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24570 /* end confdefs.h. */
24571 #include <X11/Xlib.h>
24572 int
24573 main ()
24574 {
24575 XrmInitialize ()
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 if ac_fn_c_try_link "$LINENO"; then :
24581 LIBS=$ac_save_LIBS
24582 # We can link X programs with no special library path.
24583 ac_x_libraries=
24584 else
24585 LIBS=$ac_save_LIBS
24586 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24587 do
24588 # Don't even attempt the hair of trying to link an X program!
24589 for ac_extension in a so sl dylib la dll; do
24590 if test -r "$ac_dir/libX11.$ac_extension"; then
24591 ac_x_libraries=$ac_dir
24592 break 2
24593 fi
24594 done
24595 done
24596 fi
24597 rm -f core conftest.err conftest.$ac_objext \
24598 conftest$ac_exeext conftest.$ac_ext
24599 fi # $ac_x_libraries = no
24600
24601 case $ac_x_includes,$ac_x_libraries in #(
24602 no,* | *,no | *\'*)
24603 # Didn't find X, or a directory has "'" in its name.
24604 ac_cv_have_x="have_x=no";; #(
24605 *)
24606 # Record where we found X for the cache.
24607 ac_cv_have_x="have_x=yes\
24608 ac_x_includes='$ac_x_includes'\
24609 ac_x_libraries='$ac_x_libraries'"
24610 esac
24611 fi
24612 ;; #(
24613 *) have_x=yes;;
24614 esac
24615 eval "$ac_cv_have_x"
24616 fi # $with_x != no
24617
24618 if test "$have_x" != yes; then
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24620 $as_echo "$have_x" >&6; }
24621 no_x=yes
24622 else
24623 # If each of the values was on the command line, it overrides each guess.
24624 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24625 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24626 # Update the cache value to reflect the command line values.
24627 ac_cv_have_x="have_x=yes\
24628 ac_x_includes='$x_includes'\
24629 ac_x_libraries='$x_libraries'"
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24631 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24632 fi
24633
24634 if test "$no_x" = yes; then
24635 # Not all programs may use this symbol, but it does not hurt to define it.
24636
24637 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24638
24639 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24640 else
24641 if test -n "$x_includes"; then
24642 X_CFLAGS="$X_CFLAGS -I$x_includes"
24643 fi
24644
24645 # It would also be nice to do this for all -L options, not just this one.
24646 if test -n "$x_libraries"; then
24647 X_LIBS="$X_LIBS -L$x_libraries"
24648 # For Solaris; some versions of Sun CC require a space after -R and
24649 # others require no space. Words are not sufficient . . . .
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24651 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
24652 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24653 ac_xsave_c_werror_flag=$ac_c_werror_flag
24654 ac_c_werror_flag=yes
24655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24656 /* end confdefs.h. */
24657
24658 int
24659 main ()
24660 {
24661
24662 ;
24663 return 0;
24664 }
24665 _ACEOF
24666 if ac_fn_c_try_link "$LINENO"; then :
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24668 $as_echo "no" >&6; }
24669 X_LIBS="$X_LIBS -R$x_libraries"
24670 else
24671 LIBS="$ac_xsave_LIBS -R $x_libraries"
24672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24673 /* end confdefs.h. */
24674
24675 int
24676 main ()
24677 {
24678
24679 ;
24680 return 0;
24681 }
24682 _ACEOF
24683 if ac_fn_c_try_link "$LINENO"; then :
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24685 $as_echo "yes" >&6; }
24686 X_LIBS="$X_LIBS -R $x_libraries"
24687 else
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24689 $as_echo "neither works" >&6; }
24690 fi
24691 rm -f core conftest.err conftest.$ac_objext \
24692 conftest$ac_exeext conftest.$ac_ext
24693 fi
24694 rm -f core conftest.err conftest.$ac_objext \
24695 conftest$ac_exeext conftest.$ac_ext
24696 ac_c_werror_flag=$ac_xsave_c_werror_flag
24697 LIBS=$ac_xsave_LIBS
24698 fi
24699
24700 # Check for system-dependent libraries X programs must link with.
24701 # Do this before checking for the system-independent R6 libraries
24702 # (-lICE), since we may need -lsocket or whatever for X linking.
24703
24704 if test "$ISC" = yes; then
24705 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24706 else
24707 # Martyn Johnson says this is needed for Ultrix, if the X
24708 # libraries were built with DECnet support. And Karl Berry says
24709 # the Alpha needs dnet_stub (dnet does not exist).
24710 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24712 /* end confdefs.h. */
24713
24714 /* Override any GCC internal prototype to avoid an error.
24715 Use char because int might match the return type of a GCC
24716 builtin and then its argument prototype would still apply. */
24717 #ifdef __cplusplus
24718 extern "C"
24719 #endif
24720 char XOpenDisplay ();
24721 int
24722 main ()
24723 {
24724 return XOpenDisplay ();
24725 ;
24726 return 0;
24727 }
24728 _ACEOF
24729 if ac_fn_c_try_link "$LINENO"; then :
24730
24731 else
24732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24733 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24734 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24735 $as_echo_n "(cached) " >&6
24736 else
24737 ac_check_lib_save_LIBS=$LIBS
24738 LIBS="-ldnet $LIBS"
24739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24740 /* end confdefs.h. */
24741
24742 /* Override any GCC internal prototype to avoid an error.
24743 Use char because int might match the return type of a GCC
24744 builtin and then its argument prototype would still apply. */
24745 #ifdef __cplusplus
24746 extern "C"
24747 #endif
24748 char dnet_ntoa ();
24749 int
24750 main ()
24751 {
24752 return dnet_ntoa ();
24753 ;
24754 return 0;
24755 }
24756 _ACEOF
24757 if ac_fn_c_try_link "$LINENO"; then :
24758 ac_cv_lib_dnet_dnet_ntoa=yes
24759 else
24760 ac_cv_lib_dnet_dnet_ntoa=no
24761 fi
24762 rm -f core conftest.err conftest.$ac_objext \
24763 conftest$ac_exeext conftest.$ac_ext
24764 LIBS=$ac_check_lib_save_LIBS
24765 fi
24766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24767 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24768 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
24769 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24770 fi
24771
24772 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24774 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24775 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24776 $as_echo_n "(cached) " >&6
24777 else
24778 ac_check_lib_save_LIBS=$LIBS
24779 LIBS="-ldnet_stub $LIBS"
24780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24781 /* end confdefs.h. */
24782
24783 /* Override any GCC internal prototype to avoid an error.
24784 Use char because int might match the return type of a GCC
24785 builtin and then its argument prototype would still apply. */
24786 #ifdef __cplusplus
24787 extern "C"
24788 #endif
24789 char dnet_ntoa ();
24790 int
24791 main ()
24792 {
24793 return dnet_ntoa ();
24794 ;
24795 return 0;
24796 }
24797 _ACEOF
24798 if ac_fn_c_try_link "$LINENO"; then :
24799 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24800 else
24801 ac_cv_lib_dnet_stub_dnet_ntoa=no
24802 fi
24803 rm -f core conftest.err conftest.$ac_objext \
24804 conftest$ac_exeext conftest.$ac_ext
24805 LIBS=$ac_check_lib_save_LIBS
24806 fi
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24808 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24809 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
24810 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24811 fi
24812
24813 fi
24814 fi
24815 rm -f core conftest.err conftest.$ac_objext \
24816 conftest$ac_exeext conftest.$ac_ext
24817 LIBS="$ac_xsave_LIBS"
24818
24819 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24820 # to get the SysV transport functions.
24821 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24822 # needs -lnsl.
24823 # The nsl library prevents programs from opening the X display
24824 # on Irix 5.2, according to T.E. Dickey.
24825 # The functions gethostbyname, getservbyname, and inet_addr are
24826 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24827 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24828 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
24829
24830 fi
24831
24832 if test $ac_cv_func_gethostbyname = no; then
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
24834 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24835 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
24836 $as_echo_n "(cached) " >&6
24837 else
24838 ac_check_lib_save_LIBS=$LIBS
24839 LIBS="-lnsl $LIBS"
24840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24841 /* end confdefs.h. */
24842
24843 /* Override any GCC internal prototype to avoid an error.
24844 Use char because int might match the return type of a GCC
24845 builtin and then its argument prototype would still apply. */
24846 #ifdef __cplusplus
24847 extern "C"
24848 #endif
24849 char gethostbyname ();
24850 int
24851 main ()
24852 {
24853 return gethostbyname ();
24854 ;
24855 return 0;
24856 }
24857 _ACEOF
24858 if ac_fn_c_try_link "$LINENO"; then :
24859 ac_cv_lib_nsl_gethostbyname=yes
24860 else
24861 ac_cv_lib_nsl_gethostbyname=no
24862 fi
24863 rm -f core conftest.err conftest.$ac_objext \
24864 conftest$ac_exeext conftest.$ac_ext
24865 LIBS=$ac_check_lib_save_LIBS
24866 fi
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
24868 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24869 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
24870 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24871 fi
24872
24873 if test $ac_cv_lib_nsl_gethostbyname = no; then
24874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
24875 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24876 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
24877 $as_echo_n "(cached) " >&6
24878 else
24879 ac_check_lib_save_LIBS=$LIBS
24880 LIBS="-lbsd $LIBS"
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24883
24884 /* Override any GCC internal prototype to avoid an error.
24885 Use char because int might match the return type of a GCC
24886 builtin and then its argument prototype would still apply. */
24887 #ifdef __cplusplus
24888 extern "C"
24889 #endif
24890 char gethostbyname ();
24891 int
24892 main ()
24893 {
24894 return gethostbyname ();
24895 ;
24896 return 0;
24897 }
24898 _ACEOF
24899 if ac_fn_c_try_link "$LINENO"; then :
24900 ac_cv_lib_bsd_gethostbyname=yes
24901 else
24902 ac_cv_lib_bsd_gethostbyname=no
24903 fi
24904 rm -f core conftest.err conftest.$ac_objext \
24905 conftest$ac_exeext conftest.$ac_ext
24906 LIBS=$ac_check_lib_save_LIBS
24907 fi
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
24909 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24910 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
24911 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24912 fi
24913
24914 fi
24915 fi
24916
24917 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24918 # socket/setsockopt and other routines are undefined under SCO ODT
24919 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24920 # on later versions), says Simon Leinen: it contains gethostby*
24921 # variants that don't use the name server (or something). -lsocket
24922 # must be given before -lnsl if both are needed. We assume that
24923 # if connect needs -lnsl, so does gethostbyname.
24924 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
24925 if test "x$ac_cv_func_connect" = x""yes; then :
24926
24927 fi
24928
24929 if test $ac_cv_func_connect = no; then
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
24931 $as_echo_n "checking for connect in -lsocket... " >&6; }
24932 if test "${ac_cv_lib_socket_connect+set}" = set; then :
24933 $as_echo_n "(cached) " >&6
24934 else
24935 ac_check_lib_save_LIBS=$LIBS
24936 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24938 /* end confdefs.h. */
24939
24940 /* Override any GCC internal prototype to avoid an error.
24941 Use char because int might match the return type of a GCC
24942 builtin and then its argument prototype would still apply. */
24943 #ifdef __cplusplus
24944 extern "C"
24945 #endif
24946 char connect ();
24947 int
24948 main ()
24949 {
24950 return connect ();
24951 ;
24952 return 0;
24953 }
24954 _ACEOF
24955 if ac_fn_c_try_link "$LINENO"; then :
24956 ac_cv_lib_socket_connect=yes
24957 else
24958 ac_cv_lib_socket_connect=no
24959 fi
24960 rm -f core conftest.err conftest.$ac_objext \
24961 conftest$ac_exeext conftest.$ac_ext
24962 LIBS=$ac_check_lib_save_LIBS
24963 fi
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
24965 $as_echo "$ac_cv_lib_socket_connect" >&6; }
24966 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
24967 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24968 fi
24969
24970 fi
24971
24972 # Guillermo Gomez says -lposix is necessary on A/UX.
24973 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
24974 if test "x$ac_cv_func_remove" = x""yes; then :
24975
24976 fi
24977
24978 if test $ac_cv_func_remove = no; then
24979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
24980 $as_echo_n "checking for remove in -lposix... " >&6; }
24981 if test "${ac_cv_lib_posix_remove+set}" = set; then :
24982 $as_echo_n "(cached) " >&6
24983 else
24984 ac_check_lib_save_LIBS=$LIBS
24985 LIBS="-lposix $LIBS"
24986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24987 /* end confdefs.h. */
24988
24989 /* Override any GCC internal prototype to avoid an error.
24990 Use char because int might match the return type of a GCC
24991 builtin and then its argument prototype would still apply. */
24992 #ifdef __cplusplus
24993 extern "C"
24994 #endif
24995 char remove ();
24996 int
24997 main ()
24998 {
24999 return remove ();
25000 ;
25001 return 0;
25002 }
25003 _ACEOF
25004 if ac_fn_c_try_link "$LINENO"; then :
25005 ac_cv_lib_posix_remove=yes
25006 else
25007 ac_cv_lib_posix_remove=no
25008 fi
25009 rm -f core conftest.err conftest.$ac_objext \
25010 conftest$ac_exeext conftest.$ac_ext
25011 LIBS=$ac_check_lib_save_LIBS
25012 fi
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25014 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25015 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25017 fi
25018
25019 fi
25020
25021 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25022 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25023 if test "x$ac_cv_func_shmat" = x""yes; then :
25024
25025 fi
25026
25027 if test $ac_cv_func_shmat = no; then
25028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25029 $as_echo_n "checking for shmat in -lipc... " >&6; }
25030 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25031 $as_echo_n "(cached) " >&6
25032 else
25033 ac_check_lib_save_LIBS=$LIBS
25034 LIBS="-lipc $LIBS"
25035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h. */
25037
25038 /* Override any GCC internal prototype to avoid an error.
25039 Use char because int might match the return type of a GCC
25040 builtin and then its argument prototype would still apply. */
25041 #ifdef __cplusplus
25042 extern "C"
25043 #endif
25044 char shmat ();
25045 int
25046 main ()
25047 {
25048 return shmat ();
25049 ;
25050 return 0;
25051 }
25052 _ACEOF
25053 if ac_fn_c_try_link "$LINENO"; then :
25054 ac_cv_lib_ipc_shmat=yes
25055 else
25056 ac_cv_lib_ipc_shmat=no
25057 fi
25058 rm -f core conftest.err conftest.$ac_objext \
25059 conftest$ac_exeext conftest.$ac_ext
25060 LIBS=$ac_check_lib_save_LIBS
25061 fi
25062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25063 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25064 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25065 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25066 fi
25067
25068 fi
25069 fi
25070
25071 # Check for libraries that X11R6 Xt/Xaw programs need.
25072 ac_save_LDFLAGS=$LDFLAGS
25073 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25074 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25075 # check for ICE first), but we must link in the order -lSM -lICE or
25076 # we get undefined symbols. So assume we have SM if we have ICE.
25077 # These have to be linked with before -lX11, unlike the other
25078 # libraries we check for below, so use a different variable.
25079 # John Interrante, Karl Berry
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25081 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25082 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25083 $as_echo_n "(cached) " >&6
25084 else
25085 ac_check_lib_save_LIBS=$LIBS
25086 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h. */
25089
25090 /* Override any GCC internal prototype to avoid an error.
25091 Use char because int might match the return type of a GCC
25092 builtin and then its argument prototype would still apply. */
25093 #ifdef __cplusplus
25094 extern "C"
25095 #endif
25096 char IceConnectionNumber ();
25097 int
25098 main ()
25099 {
25100 return IceConnectionNumber ();
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 if ac_fn_c_try_link "$LINENO"; then :
25106 ac_cv_lib_ICE_IceConnectionNumber=yes
25107 else
25108 ac_cv_lib_ICE_IceConnectionNumber=no
25109 fi
25110 rm -f core conftest.err conftest.$ac_objext \
25111 conftest$ac_exeext conftest.$ac_ext
25112 LIBS=$ac_check_lib_save_LIBS
25113 fi
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25115 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25116 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25117 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25118 fi
25119
25120 LDFLAGS=$ac_save_LDFLAGS
25121
25122 fi
25123
25124
25125 if test "$no_x" = "yes"; then
25126 as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25127 fi
25128
25129 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25130 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25131 AFMINSTALL=afminstall
25132 COMPILED_X_PROGRAM=0
25133
25134 fi
25135
25136 if test "$wxUSE_X11" = 1; then
25137 if test "$wxUSE_NANOX" = "yes"; then
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25139 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25140 if test "x$MICROWIN" = x ; then
25141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25142 $as_echo "not found" >&6; }
25143 as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25144 else
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25146 $as_echo "$MICROWIN" >&6; }
25147 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25148
25149 fi
25150 fi
25151
25152 if test "$wxUSE_UNICODE" = "yes"; then
25153
25154
25155 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25156 if test -n "$ac_tool_prefix"; then
25157 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25158 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25160 $as_echo_n "checking for $ac_word... " >&6; }
25161 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
25162 $as_echo_n "(cached) " >&6
25163 else
25164 case $PKG_CONFIG in
25165 [\\/]* | ?:[\\/]*)
25166 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
25167 ;;
25168 *)
25169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25170 for as_dir in $PATH
25171 do
25172 IFS=$as_save_IFS
25173 test -z "$as_dir" && as_dir=.
25174 for ac_exec_ext in '' $ac_executable_extensions; do
25175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25176 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25178 break 2
25179 fi
25180 done
25181 done
25182 IFS=$as_save_IFS
25183
25184 ;;
25185 esac
25186 fi
25187 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
25188 if test -n "$PKG_CONFIG"; then
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25190 $as_echo "$PKG_CONFIG" >&6; }
25191 else
25192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25193 $as_echo "no" >&6; }
25194 fi
25195
25196
25197 fi
25198 if test -z "$ac_cv_path_PKG_CONFIG"; then
25199 ac_pt_PKG_CONFIG=$PKG_CONFIG
25200 # Extract the first word of "pkg-config", so it can be a program name with args.
25201 set dummy pkg-config; ac_word=$2
25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25203 $as_echo_n "checking for $ac_word... " >&6; }
25204 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
25205 $as_echo_n "(cached) " >&6
25206 else
25207 case $ac_pt_PKG_CONFIG in
25208 [\\/]* | ?:[\\/]*)
25209 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25210 ;;
25211 *)
25212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25213 for as_dir in $PATH
25214 do
25215 IFS=$as_save_IFS
25216 test -z "$as_dir" && as_dir=.
25217 for ac_exec_ext in '' $ac_executable_extensions; do
25218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25219 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25221 break 2
25222 fi
25223 done
25224 done
25225 IFS=$as_save_IFS
25226
25227 ;;
25228 esac
25229 fi
25230 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
25231 if test -n "$ac_pt_PKG_CONFIG"; then
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25233 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25234 else
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25236 $as_echo "no" >&6; }
25237 fi
25238
25239 if test "x$ac_pt_PKG_CONFIG" = x; then
25240 PKG_CONFIG=""
25241 else
25242 case $cross_compiling:$ac_tool_warned in
25243 yes:)
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25246 ac_tool_warned=yes ;;
25247 esac
25248 PKG_CONFIG=$ac_pt_PKG_CONFIG
25249 fi
25250 else
25251 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
25252 fi
25253
25254 fi
25255 if test -n "$PKG_CONFIG"; then
25256 _pkg_min_version=0.9.0
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25258 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25259 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25261 $as_echo "yes" >&6; }
25262 else
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25264 $as_echo "no" >&6; }
25265 PKG_CONFIG=""
25266 fi
25267
25268 fi
25269
25270
25271 pkg_failed=no
25272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25273 $as_echo_n "checking for PANGOX... " >&6; }
25274
25275 if test -n "$PKG_CONFIG"; then
25276 if test -n "$PANGOX_CFLAGS"; then
25277 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
25278 else
25279 if test -n "$PKG_CONFIG" && \
25280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25281 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25282 ac_status=$?
25283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25284 test $ac_status = 0; }; then
25285 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25286 else
25287 pkg_failed=yes
25288 fi
25289 fi
25290 else
25291 pkg_failed=untried
25292 fi
25293 if test -n "$PKG_CONFIG"; then
25294 if test -n "$PANGOX_LIBS"; then
25295 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
25296 else
25297 if test -n "$PKG_CONFIG" && \
25298 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25299 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25300 ac_status=$?
25301 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25302 test $ac_status = 0; }; then
25303 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25304 else
25305 pkg_failed=yes
25306 fi
25307 fi
25308 else
25309 pkg_failed=untried
25310 fi
25311
25312
25313
25314 if test $pkg_failed = yes; then
25315
25316 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25317 _pkg_short_errors_supported=yes
25318 else
25319 _pkg_short_errors_supported=no
25320 fi
25321 if test $_pkg_short_errors_supported = yes; then
25322 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25323 else
25324 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25325 fi
25326 # Put the nasty error message in config.log where it belongs
25327 echo "$PANGOX_PKG_ERRORS" >&5
25328
25329
25330 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25331
25332
25333 elif test $pkg_failed = untried; then
25334
25335 as_fn_error $? "pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25336
25337
25338 else
25339 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
25340 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25342 $as_echo "yes" >&6; }
25343
25344 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
25345 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
25346 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
25347
25348 fi
25349
25350 pkg_failed=no
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25352 $as_echo_n "checking for PANGOFT2... " >&6; }
25353
25354 if test -n "$PKG_CONFIG"; then
25355 if test -n "$PANGOFT2_CFLAGS"; then
25356 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
25357 else
25358 if test -n "$PKG_CONFIG" && \
25359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25360 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25361 ac_status=$?
25362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25363 test $ac_status = 0; }; then
25364 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25365 else
25366 pkg_failed=yes
25367 fi
25368 fi
25369 else
25370 pkg_failed=untried
25371 fi
25372 if test -n "$PKG_CONFIG"; then
25373 if test -n "$PANGOFT2_LIBS"; then
25374 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
25375 else
25376 if test -n "$PKG_CONFIG" && \
25377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25378 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25379 ac_status=$?
25380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25381 test $ac_status = 0; }; then
25382 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25383 else
25384 pkg_failed=yes
25385 fi
25386 fi
25387 else
25388 pkg_failed=untried
25389 fi
25390
25391
25392
25393 if test $pkg_failed = yes; then
25394
25395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25396 _pkg_short_errors_supported=yes
25397 else
25398 _pkg_short_errors_supported=no
25399 fi
25400 if test $_pkg_short_errors_supported = yes; then
25401 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25402 else
25403 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25404 fi
25405 # Put the nasty error message in config.log where it belongs
25406 echo "$PANGOFT2_PKG_ERRORS" >&5
25407
25408
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25410 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25411 wxUSE_PRINTING_ARCHITECTURE="no"
25412
25413
25414 elif test $pkg_failed = untried; then
25415
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25417 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25418 wxUSE_PRINTING_ARCHITECTURE="no"
25419
25420
25421 else
25422 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
25423 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25425 $as_echo "yes" >&6; }
25426
25427 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
25428 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
25429 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25430
25431 fi
25432
25433 pkg_failed=no
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25435 $as_echo_n "checking for PANGOXFT... " >&6; }
25436
25437 if test -n "$PKG_CONFIG"; then
25438 if test -n "$PANGOXFT_CFLAGS"; then
25439 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
25440 else
25441 if test -n "$PKG_CONFIG" && \
25442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25443 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25444 ac_status=$?
25445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25446 test $ac_status = 0; }; then
25447 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25448 else
25449 pkg_failed=yes
25450 fi
25451 fi
25452 else
25453 pkg_failed=untried
25454 fi
25455 if test -n "$PKG_CONFIG"; then
25456 if test -n "$PANGOXFT_LIBS"; then
25457 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
25458 else
25459 if test -n "$PKG_CONFIG" && \
25460 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25461 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25462 ac_status=$?
25463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25464 test $ac_status = 0; }; then
25465 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25466 else
25467 pkg_failed=yes
25468 fi
25469 fi
25470 else
25471 pkg_failed=untried
25472 fi
25473
25474
25475
25476 if test $pkg_failed = yes; then
25477
25478 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25479 _pkg_short_errors_supported=yes
25480 else
25481 _pkg_short_errors_supported=no
25482 fi
25483 if test $_pkg_short_errors_supported = yes; then
25484 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25485 else
25486 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25487 fi
25488 # Put the nasty error message in config.log where it belongs
25489 echo "$PANGOXFT_PKG_ERRORS" >&5
25490
25491
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25493 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25494
25495
25496 elif test $pkg_failed = untried; then
25497
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25499 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25500
25501
25502 else
25503 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
25504 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
25505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25506 $as_echo "yes" >&6; }
25507
25508 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25509
25510 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
25511 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
25512 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25513
25514 fi
25515 save_LIBS="$LIBS"
25516 LIBS="$LIBS $PANGOX_LIBS"
25517 for ac_func in pango_font_family_is_monospace
25518 do :
25519 ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25520 if test "x$ac_cv_func_pango_font_family_is_monospace" = x""yes; then :
25521 cat >>confdefs.h <<_ACEOF
25522 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25523 _ACEOF
25524
25525 fi
25526 done
25527
25528 LIBS="$save_LIBS"
25529 fi
25530
25531 wxUSE_UNIVERSAL="yes"
25532
25533 if test "$wxUSE_NANOX" = "yes"; then
25534 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25535 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"
25536 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25537 else
25538 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
25539 fi
25540
25541 TOOLKIT=X11
25542 GUIDIST=X11_DIST
25543 fi
25544
25545 if test "$wxUSE_MOTIF" = 1; then
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25547 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25548
25549 ac_find_includes=
25550 for ac_dir in $SEARCH_INCLUDE /usr/include
25551 do
25552 if test -f "$ac_dir/Xm/Xm.h"; then
25553 ac_find_includes=$ac_dir
25554 break
25555 fi
25556 done
25557
25558 if test "$ac_find_includes" != "" ; then
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25560 $as_echo "found in $ac_find_includes" >&6; }
25561
25562 if test "x$ac_find_includes" = "x/usr/include"; then
25563 ac_path_to_include=""
25564 else
25565 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25566 result=$?
25567 if test $result = 0; then
25568 ac_path_to_include=""
25569 else
25570 ac_path_to_include=" -I$ac_find_includes"
25571 fi
25572 fi
25573
25574 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25575 else
25576 save_CFLAGS=$CFLAGS
25577 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25578
25579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25580 /* end confdefs.h. */
25581
25582 #include <Xm/Xm.h>
25583
25584 int
25585 main ()
25586 {
25587
25588 int version;
25589 version = xmUseVersion;
25590
25591 ;
25592 return 0;
25593 }
25594 _ACEOF
25595 if ac_fn_c_try_compile "$LINENO"; then :
25596
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25598 $as_echo "found in default search path" >&6; }
25599 COMPILED_X_PROGRAM=1
25600
25601 else
25602
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25604 $as_echo "no" >&6; }
25605 as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25606
25607
25608 fi
25609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25610
25611 CFLAGS=$save_CFLAGS
25612 fi
25613
25614
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25616 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
25617
25618 ac_find_libraries=
25619 for ac_dir in $SEARCH_LIB
25620 do
25621 for ac_extension in a so sl dylib dll.a; do
25622 if test -f "$ac_dir/libXm.$ac_extension"; then
25623 ac_find_libraries=$ac_dir
25624 break 2
25625 fi
25626 done
25627 done
25628
25629
25630 if test "x$ac_find_libraries" != "x" ; then
25631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25632 $as_echo "found in $ac_find_libraries" >&6; }
25633
25634
25635 if test "$ac_find_libraries" = "default location"; then
25636 ac_path_to_link=""
25637 else
25638 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25639 result=$?
25640 if test $result = 0; then
25641 ac_path_to_link=""
25642 else
25643 ac_path_to_link=" -L$ac_find_libraries"
25644 fi
25645 fi
25646
25647 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25648 else
25649 save_CFLAGS=$CFLAGS
25650 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25651 save_LIBS="$LIBS"
25652 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
25653
25654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25655 /* end confdefs.h. */
25656
25657 #include <Xm/Xm.h>
25658
25659 int
25660 main ()
25661 {
25662
25663 int version;
25664 version = xmUseVersion;
25665
25666 ;
25667 return 0;
25668 }
25669 _ACEOF
25670 if ac_fn_c_try_link "$LINENO"; then :
25671
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25673 $as_echo "found in default search path" >&6; }
25674 COMPILED_X_PROGRAM=1
25675
25676 else
25677
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25679 $as_echo "no" >&6; }
25680 as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
25681
25682
25683 fi
25684 rm -f core conftest.err conftest.$ac_objext \
25685 conftest$ac_exeext conftest.$ac_ext
25686
25687 CFLAGS=$save_CFLAGS
25688 LIBS="$save_LIBS"
25689 fi
25690
25691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
25692 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
25693 libp_link=""
25694 libsm_ice_link=""
25695 libs_found=0
25696 for libp in "" " -lXp"; do
25697 if test "$libs_found" = 0; then
25698 for libsm_ice in "" " -lSM -lICE"; do
25699 if test "$libs_found" = 0; then
25700 save_LIBS="$LIBS"
25701 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25702 save_CFLAGS=$CFLAGS
25703 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25704
25705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25706 /* end confdefs.h. */
25707
25708 #include <Xm/Xm.h>
25709 #include <Xm/List.h>
25710
25711 int
25712 main ()
25713 {
25714
25715 XmString string = NULL;
25716 Widget w = NULL;
25717 int position = 0;
25718 XmListAddItem(w, string, position);
25719
25720 ;
25721 return 0;
25722 }
25723 _ACEOF
25724 if ac_fn_c_try_link "$LINENO"; then :
25725
25726 libp_link="$libp"
25727 libsm_ice_link="$libsm_ice"
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
25729 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
25730 libs_found=1
25731
25732 fi
25733 rm -f core conftest.err conftest.$ac_objext \
25734 conftest$ac_exeext conftest.$ac_ext
25735
25736 LIBS="$save_LIBS"
25737 CFLAGS=$save_CFLAGS
25738 fi
25739 done
25740 fi
25741 done
25742
25743 if test "$libs_found" = 0; then
25744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
25745 $as_echo "can't find the right libraries" >&6; }
25746 as_fn_error $? "can't link a simple motif program" "$LINENO" 5
25747 fi
25748
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
25750 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
25751 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then :
25752 $as_echo_n "(cached) " >&6
25753 else
25754 ac_check_lib_save_LIBS=$LIBS
25755 LIBS="-lSgm $LIBS"
25756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25757 /* end confdefs.h. */
25758
25759 /* Override any GCC internal prototype to avoid an error.
25760 Use char because int might match the return type of a GCC
25761 builtin and then its argument prototype would still apply. */
25762 #ifdef __cplusplus
25763 extern "C"
25764 #endif
25765 char SgCreateList ();
25766 int
25767 main ()
25768 {
25769 return SgCreateList ();
25770 ;
25771 return 0;
25772 }
25773 _ACEOF
25774 if ac_fn_c_try_link "$LINENO"; then :
25775 ac_cv_lib_Sgm_SgCreateList=yes
25776 else
25777 ac_cv_lib_Sgm_SgCreateList=no
25778 fi
25779 rm -f core conftest.err conftest.$ac_objext \
25780 conftest$ac_exeext conftest.$ac_ext
25781 LIBS=$ac_check_lib_save_LIBS
25782 fi
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
25784 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
25785 if test "x$ac_cv_lib_Sgm_SgCreateList" = x""yes; then :
25786 libsgm_link=" -lSgm"
25787 fi
25788
25789
25790 save_CFLAGS=$CFLAGS
25791 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25792
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
25794 $as_echo_n "checking for Motif 2... " >&6; }
25795 if test "${wx_cv_lib_motif2+set}" = set; then :
25796 $as_echo_n "(cached) " >&6
25797 else
25798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25799 /* end confdefs.h. */
25800
25801 #include <Xm/Xm.h>
25802
25803 int
25804 main ()
25805 {
25806
25807 #if XmVersion < 2000
25808 Not Motif 2
25809 #endif
25810
25811 ;
25812 return 0;
25813 }
25814 _ACEOF
25815 if ac_fn_c_try_compile "$LINENO"; then :
25816 wx_cv_lib_motif2="yes"
25817 else
25818 wx_cv_lib_motif2="no"
25819 fi
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821 fi
25822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
25823 $as_echo "$wx_cv_lib_motif2" >&6; }
25824 if test "$wx_cv_lib_motif2" = "yes"; then
25825 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
25826
25827 else
25828 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
25829
25830 fi
25831
25832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
25833 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
25834 if test "${wx_cv_lib_lesstif+set}" = set; then :
25835 $as_echo_n "(cached) " >&6
25836 else
25837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25838 /* end confdefs.h. */
25839
25840 #include <Xm/Xm.h>
25841
25842 int
25843 main ()
25844 {
25845
25846 #if !defined(LesstifVersion) || LesstifVersion <= 0
25847 Not Lesstif
25848 #endif
25849
25850 ;
25851 return 0;
25852 }
25853 _ACEOF
25854 if ac_fn_c_try_compile "$LINENO"; then :
25855 wx_cv_lib_lesstif="yes"
25856 else
25857 wx_cv_lib_lesstif="no"
25858 fi
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25860
25861 fi
25862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
25863 $as_echo "$wx_cv_lib_lesstif" >&6; }
25864 if test "$wx_cv_lib_lesstif" = "yes"; then
25865 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
25866
25867 else
25868 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
25869
25870 fi
25871
25872 CFLAGS=$save_CFLAGS
25873
25874 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25875 TOOLKIT=MOTIF
25876 GUIDIST=MOTIF_DIST
25877 fi
25878
25879 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25880 if test "$wxUSE_LIBXPM" = "sys"; then
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
25882 $as_echo_n "checking for Xpm library... " >&6; }
25883
25884 ac_find_libraries=
25885 for ac_dir in $SEARCH_LIB
25886 do
25887 for ac_extension in a so sl dylib dll.a; do
25888 if test -f "$ac_dir/libXpm.$ac_extension"; then
25889 ac_find_libraries=$ac_dir
25890 break 2
25891 fi
25892 done
25893 done
25894
25895 if test "$ac_find_libraries" != "" ; then
25896
25897 if test "$ac_find_libraries" = "default location"; then
25898 ac_path_to_link=""
25899 else
25900 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25901 result=$?
25902 if test $result = 0; then
25903 ac_path_to_link=""
25904 else
25905 ac_path_to_link=" -L$ac_find_libraries"
25906 fi
25907 fi
25908
25909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
25911 $as_echo "found in $ac_find_libraries" >&6; }
25912
25913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
25914 $as_echo_n "checking for X11/xpm.h... " >&6; }
25915 if test "${wx_cv_x11_xpm_h+set}" = set; then :
25916 $as_echo_n "(cached) " >&6
25917 else
25918
25919 save_CFLAGS=$CFLAGS
25920 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
25921
25922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25923 /* end confdefs.h. */
25924
25925 #include <X11/xpm.h>
25926
25927 int
25928 main ()
25929 {
25930
25931 int version;
25932 version = XpmLibraryVersion();
25933
25934 ;
25935 return 0;
25936 }
25937 _ACEOF
25938 if ac_fn_c_try_compile "$LINENO"; then :
25939 wx_cv_x11_xpm_h=yes
25940 else
25941 wx_cv_x11_xpm_h=no
25942
25943 fi
25944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25945
25946 CFLAGS=$save_CFLAGS
25947
25948
25949 fi
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
25951 $as_echo "$wx_cv_x11_xpm_h" >&6; }
25952
25953 if test $wx_cv_x11_xpm_h = "yes"; then
25954 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25955 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
25956
25957 else
25958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
25959 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25960 fi
25961 fi
25962
25963 fi
25964
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
25966 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
25967 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
25968 $as_echo_n "(cached) " >&6
25969 else
25970 ac_check_lib_save_LIBS=$LIBS
25971 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25973 /* end confdefs.h. */
25974
25975 /* Override any GCC internal prototype to avoid an error.
25976 Use char because int might match the return type of a GCC
25977 builtin and then its argument prototype would still apply. */
25978 #ifdef __cplusplus
25979 extern "C"
25980 #endif
25981 char XShapeQueryExtension ();
25982 int
25983 main ()
25984 {
25985 return XShapeQueryExtension ();
25986 ;
25987 return 0;
25988 }
25989 _ACEOF
25990 if ac_fn_c_try_link "$LINENO"; then :
25991 ac_cv_lib_Xext_XShapeQueryExtension=yes
25992 else
25993 ac_cv_lib_Xext_XShapeQueryExtension=no
25994 fi
25995 rm -f core conftest.err conftest.$ac_objext \
25996 conftest$ac_exeext conftest.$ac_ext
25997 LIBS=$ac_check_lib_save_LIBS
25998 fi
25999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26000 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26001 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
26002
26003 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
26004 wxHAVE_XEXT_LIB=1
26005
26006 fi
26007
26008
26009 if test "$wxHAVE_XEXT_LIB" = 1; then
26010 save_CFLAGS="$CFLAGS"
26011 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
26012
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26014 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26016 /* end confdefs.h. */
26017
26018 #include <X11/Xlib.h>
26019 #include <X11/extensions/shape.h>
26020
26021 int
26022 main ()
26023 {
26024
26025 int dummy1, dummy2;
26026 XShapeQueryExtension((Display*)NULL,
26027 (int*)NULL, (int*)NULL);
26028
26029 ;
26030 return 0;
26031 }
26032 _ACEOF
26033 if ac_fn_c_try_compile "$LINENO"; then :
26034
26035 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26036
26037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26038 $as_echo "found" >&6; }
26039
26040 else
26041
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26043 $as_echo "not found" >&6; }
26044
26045 fi
26046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26047 CFLAGS="$save_CFLAGS"
26048
26049 fi
26050 fi
26051
26052 if test "$wxUSE_OSX_CARBON" = 1; then
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26054 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26055 if test "$GCC" = yes; then
26056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26057 $as_echo "gcc" >&6; }
26058 CPPFLAGS_PASCAL="-fpascal-strings"
26059 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26061 $as_echo "xlc" >&6; }
26062 CPPFLAGS_PASCAL="-qmacpstr"
26063 else
26064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26065 $as_echo "none" >&6; }
26066 fi
26067
26068 if test "x$wxUSE_UNIX" = "xyes"; then
26069 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26070 else
26071 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26072 fi
26073
26074 TOOLKIT=OSX_CARBON
26075 GUIDIST=OSX_CARBON_DIST
26076 WXBASEPORT="_carbon"
26077
26078 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26079 fi
26080
26081 if test "$wxUSE_OSX_COCOA" = 1; then
26082 TOOLKIT=OSX_COCOA
26083 GUIDIST=OSX_COCOA_DIST
26084
26085 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26086 fi
26087
26088 if test "$wxUSE_OSX_IPHONE" = 1; then
26089 TOOLKIT=OSX_IPHONE
26090 fi
26091
26092 if test "$wxUSE_OLD_COCOA" = 1; then
26093 TOOLKIT=COCOA
26094 GUIDIST=COCOA_DIST
26095 fi
26096
26097 if test "$wxUSE_PM" = 1; then
26098 TOOLKIT=PM
26099 GUIDIST=PM_DIST
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26101 $as_echo_n "checking for type SPBCDATA... " >&6; }
26102 if test "${wx_cv_spbcdata+set}" = set; then :
26103 $as_echo_n "(cached) " >&6
26104 else
26105
26106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26108
26109 #define INCL_PM
26110 #include <os2.h>
26111
26112 int
26113 main ()
26114 {
26115
26116 SPBCDATA test;
26117
26118 ;
26119 return 0;
26120 }
26121 _ACEOF
26122 if ac_fn_c_try_compile "$LINENO"; then :
26123 wx_cv_spbcdata=yes
26124 else
26125 wx_cv_spbcdata=no
26126
26127 fi
26128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26129
26130
26131 fi
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26133 $as_echo "$wx_cv_spbcdata" >&6; }
26134
26135 if test $wx_cv_spbcdata = "yes"; then
26136 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26137
26138 fi
26139 fi
26140
26141 if test "$TOOLKIT" = "PM" ; then
26142 TOOLKIT_DIR="os2"
26143 else
26144 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26145 fi
26146
26147 if test "$wxUSE_UNIVERSAL" = "yes"; then
26148 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26149 WIDGET_SET=univ
26150 fi
26151
26152 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26153 DISTDIR="wx\$(TOOLKIT)"
26154 else
26155 USE_GUI=0
26156
26157 TOOLKIT_DIR="base"
26158
26159 if test "$USE_WIN32" = 1 ; then
26160 TOOLKIT="MSW"
26161 fi
26162
26163 GUIDIST="BASE_DIST"
26164 DISTDIR="wxBase"
26165 fi
26166
26167
26168
26169 if test "$wxUSE_GUI" = "yes"; then
26170 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26171 for ac_header in X11/Xlib.h
26172 do :
26173 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26174 "
26175 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
26176 cat >>confdefs.h <<_ACEOF
26177 #define HAVE_X11_XLIB_H 1
26178 _ACEOF
26179
26180 fi
26181
26182 done
26183
26184 for ac_header in X11/XKBlib.h
26185 do :
26186 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26187 #if HAVE_X11_XLIB_H
26188 #include <X11/Xlib.h>
26189 #endif
26190
26191 "
26192 if test "x$ac_cv_header_X11_XKBlib_h" = x""yes; then :
26193 cat >>confdefs.h <<_ACEOF
26194 #define HAVE_X11_XKBLIB_H 1
26195 _ACEOF
26196
26197 fi
26198
26199 done
26200
26201 fi
26202 fi
26203
26204
26205
26206 USE_XINERAMA=0
26207 if test "$wxUSE_DISPLAY" = "yes"; then
26208 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
26209
26210 ac_find_libraries=
26211
26212 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
26213
26214
26215 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26216 if test -n "$ac_tool_prefix"; then
26217 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26218 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26220 $as_echo_n "checking for $ac_word... " >&6; }
26221 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26222 $as_echo_n "(cached) " >&6
26223 else
26224 case $PKG_CONFIG in
26225 [\\/]* | ?:[\\/]*)
26226 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26227 ;;
26228 *)
26229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26230 for as_dir in $PATH
26231 do
26232 IFS=$as_save_IFS
26233 test -z "$as_dir" && as_dir=.
26234 for ac_exec_ext in '' $ac_executable_extensions; do
26235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26236 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26238 break 2
26239 fi
26240 done
26241 done
26242 IFS=$as_save_IFS
26243
26244 ;;
26245 esac
26246 fi
26247 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26248 if test -n "$PKG_CONFIG"; then
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26250 $as_echo "$PKG_CONFIG" >&6; }
26251 else
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26253 $as_echo "no" >&6; }
26254 fi
26255
26256
26257 fi
26258 if test -z "$ac_cv_path_PKG_CONFIG"; then
26259 ac_pt_PKG_CONFIG=$PKG_CONFIG
26260 # Extract the first word of "pkg-config", so it can be a program name with args.
26261 set dummy pkg-config; ac_word=$2
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26263 $as_echo_n "checking for $ac_word... " >&6; }
26264 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26265 $as_echo_n "(cached) " >&6
26266 else
26267 case $ac_pt_PKG_CONFIG in
26268 [\\/]* | ?:[\\/]*)
26269 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26270 ;;
26271 *)
26272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26273 for as_dir in $PATH
26274 do
26275 IFS=$as_save_IFS
26276 test -z "$as_dir" && as_dir=.
26277 for ac_exec_ext in '' $ac_executable_extensions; do
26278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26279 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26281 break 2
26282 fi
26283 done
26284 done
26285 IFS=$as_save_IFS
26286
26287 ;;
26288 esac
26289 fi
26290 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26291 if test -n "$ac_pt_PKG_CONFIG"; then
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26293 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26294 else
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26296 $as_echo "no" >&6; }
26297 fi
26298
26299 if test "x$ac_pt_PKG_CONFIG" = x; then
26300 PKG_CONFIG=""
26301 else
26302 case $cross_compiling:$ac_tool_warned in
26303 yes:)
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26306 ac_tool_warned=yes ;;
26307 esac
26308 PKG_CONFIG=$ac_pt_PKG_CONFIG
26309 fi
26310 else
26311 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26312 fi
26313
26314 fi
26315 if test -n "$PKG_CONFIG"; then
26316 _pkg_min_version=0.9.0
26317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26318 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26319 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26321 $as_echo "yes" >&6; }
26322 else
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26324 $as_echo "no" >&6; }
26325 PKG_CONFIG=""
26326 fi
26327
26328 fi 6> /dev/null
26329
26330 pkg_failed=no
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26332 $as_echo_n "checking for Xinerama... " >&6; }
26333
26334 if test -n "$PKG_CONFIG"; then
26335 if test -n "$Xinerama_CFLAGS"; then
26336 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
26337 else
26338 if test -n "$PKG_CONFIG" && \
26339 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26340 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26341 ac_status=$?
26342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26343 test $ac_status = 0; }; then
26344 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26345 else
26346 pkg_failed=yes
26347 fi
26348 fi
26349 else
26350 pkg_failed=untried
26351 fi
26352 if test -n "$PKG_CONFIG"; then
26353 if test -n "$Xinerama_LIBS"; then
26354 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
26355 else
26356 if test -n "$PKG_CONFIG" && \
26357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26358 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26359 ac_status=$?
26360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26361 test $ac_status = 0; }; then
26362 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26363 else
26364 pkg_failed=yes
26365 fi
26366 fi
26367 else
26368 pkg_failed=untried
26369 fi
26370
26371
26372
26373 if test $pkg_failed = yes; then
26374
26375 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26376 _pkg_short_errors_supported=yes
26377 else
26378 _pkg_short_errors_supported=no
26379 fi
26380 if test $_pkg_short_errors_supported = yes; then
26381 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26382 else
26383 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26384 fi
26385 # Put the nasty error message in config.log where it belongs
26386 echo "$Xinerama_PKG_ERRORS" >&5
26387
26388
26389 if test "x$ac_find_libraries" = "x"; then
26390 if test "xXineramaQueryScreens" != "x"; then
26391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26392 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26393 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26394 $as_echo_n "(cached) " >&6
26395 else
26396 ac_check_lib_save_LIBS=$LIBS
26397 LIBS="-lXinerama $LIBS"
26398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26399 /* end confdefs.h. */
26400
26401 /* Override any GCC internal prototype to avoid an error.
26402 Use char because int might match the return type of a GCC
26403 builtin and then its argument prototype would still apply. */
26404 #ifdef __cplusplus
26405 extern "C"
26406 #endif
26407 char XineramaQueryScreens ();
26408 int
26409 main ()
26410 {
26411 return XineramaQueryScreens ();
26412 ;
26413 return 0;
26414 }
26415 _ACEOF
26416 if ac_fn_c_try_link "$LINENO"; then :
26417 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26418 else
26419 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26420 fi
26421 rm -f core conftest.err conftest.$ac_objext \
26422 conftest$ac_exeext conftest.$ac_ext
26423 LIBS=$ac_check_lib_save_LIBS
26424 fi
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26426 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26427 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26428 ac_find_libraries="std"
26429 fi
26430
26431 fi
26432 fi
26433
26434 if test "x$ac_find_libraries" = "x"; then
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26436 $as_echo_n "checking elsewhere... " >&6; }
26437
26438 ac_find_libraries=
26439 for ac_dir in $SEARCH_LIB
26440 do
26441 for ac_extension in a so sl dylib dll.a; do
26442 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26443 ac_find_libraries=$ac_dir
26444 break 2
26445 fi
26446 done
26447 done
26448
26449 if test "x$ac_find_libraries" != "x"; then
26450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26451 $as_echo "yes" >&6; }
26452 else
26453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26454 $as_echo "no" >&6; }
26455 fi
26456 fi
26457
26458 elif test $pkg_failed = untried; then
26459
26460 if test "x$ac_find_libraries" = "x"; then
26461 if test "xXineramaQueryScreens" != "x"; then
26462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26463 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26464 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
26465 $as_echo_n "(cached) " >&6
26466 else
26467 ac_check_lib_save_LIBS=$LIBS
26468 LIBS="-lXinerama $LIBS"
26469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26470 /* end confdefs.h. */
26471
26472 /* Override any GCC internal prototype to avoid an error.
26473 Use char because int might match the return type of a GCC
26474 builtin and then its argument prototype would still apply. */
26475 #ifdef __cplusplus
26476 extern "C"
26477 #endif
26478 char XineramaQueryScreens ();
26479 int
26480 main ()
26481 {
26482 return XineramaQueryScreens ();
26483 ;
26484 return 0;
26485 }
26486 _ACEOF
26487 if ac_fn_c_try_link "$LINENO"; then :
26488 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
26489 else
26490 ac_cv_lib_Xinerama_XineramaQueryScreens=no
26491 fi
26492 rm -f core conftest.err conftest.$ac_objext \
26493 conftest$ac_exeext conftest.$ac_ext
26494 LIBS=$ac_check_lib_save_LIBS
26495 fi
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26497 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26498 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
26499 ac_find_libraries="std"
26500 fi
26501
26502 fi
26503 fi
26504
26505 if test "x$ac_find_libraries" = "x"; then
26506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26507 $as_echo_n "checking elsewhere... " >&6; }
26508
26509 ac_find_libraries=
26510 for ac_dir in $SEARCH_LIB
26511 do
26512 for ac_extension in a so sl dylib dll.a; do
26513 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26514 ac_find_libraries=$ac_dir
26515 break 2
26516 fi
26517 done
26518 done
26519
26520 if test "x$ac_find_libraries" != "x"; then
26521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26522 $as_echo "yes" >&6; }
26523 else
26524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26525 $as_echo "no" >&6; }
26526 fi
26527 fi
26528
26529 else
26530 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
26531 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26533 $as_echo "yes" >&6; }
26534
26535 ac_find_libraries="std"
26536
26537 eval ac_find_cflags=\$Xinerama_CFLAGS
26538 eval fl_libs=\$Xinerama_LIBS
26539
26540 for fl_path in $fl_libs
26541 do
26542 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26543 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26544 fi
26545 done
26546
26547 fi
26548
26549 if test "$ac_find_libraries" != "" ; then
26550 if test "$ac_find_libraries" != "std" ; then
26551
26552 if test "$ac_find_libraries" = "default location"; then
26553 ac_path_to_link=""
26554 else
26555 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26556 result=$?
26557 if test $result = 0; then
26558 ac_path_to_link=""
26559 else
26560 ac_path_to_link=" -L$ac_find_libraries"
26561 fi
26562 fi
26563
26564 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26565 LDFLAGS="$LDFLAGS $ac_path_to_link"
26566 fi
26567 fi
26568 USE_XINERAMA=1
26569 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26570 else
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26572 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26573 wxUSE_DISPLAY="no"
26574 fi
26575 elif test "$wxUSE_MSW" = 1; then
26576 ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26577 "
26578 if test "x$ac_cv_header_ddraw_h" = x""yes; then :
26579
26580 fi
26581
26582
26583 fi
26584 fi
26585
26586 if test "$wxUSE_DISPLAY" = "yes"; then
26587 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26588
26589 ac_find_libraries=
26590
26591 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26592
26593
26594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26595 if test -n "$ac_tool_prefix"; then
26596 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26597 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26599 $as_echo_n "checking for $ac_word... " >&6; }
26600 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26601 $as_echo_n "(cached) " >&6
26602 else
26603 case $PKG_CONFIG in
26604 [\\/]* | ?:[\\/]*)
26605 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26606 ;;
26607 *)
26608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26609 for as_dir in $PATH
26610 do
26611 IFS=$as_save_IFS
26612 test -z "$as_dir" && as_dir=.
26613 for ac_exec_ext in '' $ac_executable_extensions; do
26614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26615 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26617 break 2
26618 fi
26619 done
26620 done
26621 IFS=$as_save_IFS
26622
26623 ;;
26624 esac
26625 fi
26626 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26627 if test -n "$PKG_CONFIG"; then
26628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26629 $as_echo "$PKG_CONFIG" >&6; }
26630 else
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26632 $as_echo "no" >&6; }
26633 fi
26634
26635
26636 fi
26637 if test -z "$ac_cv_path_PKG_CONFIG"; then
26638 ac_pt_PKG_CONFIG=$PKG_CONFIG
26639 # Extract the first word of "pkg-config", so it can be a program name with args.
26640 set dummy pkg-config; ac_word=$2
26641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26642 $as_echo_n "checking for $ac_word... " >&6; }
26643 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
26644 $as_echo_n "(cached) " >&6
26645 else
26646 case $ac_pt_PKG_CONFIG in
26647 [\\/]* | ?:[\\/]*)
26648 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26649 ;;
26650 *)
26651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26652 for as_dir in $PATH
26653 do
26654 IFS=$as_save_IFS
26655 test -z "$as_dir" && as_dir=.
26656 for ac_exec_ext in '' $ac_executable_extensions; do
26657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26658 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26660 break 2
26661 fi
26662 done
26663 done
26664 IFS=$as_save_IFS
26665
26666 ;;
26667 esac
26668 fi
26669 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
26670 if test -n "$ac_pt_PKG_CONFIG"; then
26671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26673 else
26674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26675 $as_echo "no" >&6; }
26676 fi
26677
26678 if test "x$ac_pt_PKG_CONFIG" = x; then
26679 PKG_CONFIG=""
26680 else
26681 case $cross_compiling:$ac_tool_warned in
26682 yes:)
26683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26685 ac_tool_warned=yes ;;
26686 esac
26687 PKG_CONFIG=$ac_pt_PKG_CONFIG
26688 fi
26689 else
26690 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
26691 fi
26692
26693 fi
26694 if test -n "$PKG_CONFIG"; then
26695 _pkg_min_version=0.9.0
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26698 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26700 $as_echo "yes" >&6; }
26701 else
26702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26703 $as_echo "no" >&6; }
26704 PKG_CONFIG=""
26705 fi
26706
26707 fi 6> /dev/null
26708
26709 pkg_failed=no
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
26711 $as_echo_n "checking for Xxf86vm... " >&6; }
26712
26713 if test -n "$PKG_CONFIG"; then
26714 if test -n "$Xxf86vm_CFLAGS"; then
26715 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
26716 else
26717 if test -n "$PKG_CONFIG" && \
26718 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26719 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26720 ac_status=$?
26721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26722 test $ac_status = 0; }; then
26723 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26724 else
26725 pkg_failed=yes
26726 fi
26727 fi
26728 else
26729 pkg_failed=untried
26730 fi
26731 if test -n "$PKG_CONFIG"; then
26732 if test -n "$Xxf86vm_LIBS"; then
26733 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
26734 else
26735 if test -n "$PKG_CONFIG" && \
26736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26737 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26738 ac_status=$?
26739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26740 test $ac_status = 0; }; then
26741 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26742 else
26743 pkg_failed=yes
26744 fi
26745 fi
26746 else
26747 pkg_failed=untried
26748 fi
26749
26750
26751
26752 if test $pkg_failed = yes; then
26753
26754 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26755 _pkg_short_errors_supported=yes
26756 else
26757 _pkg_short_errors_supported=no
26758 fi
26759 if test $_pkg_short_errors_supported = yes; then
26760 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26761 else
26762 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26763 fi
26764 # Put the nasty error message in config.log where it belongs
26765 echo "$Xxf86vm_PKG_ERRORS" >&5
26766
26767
26768 if test "x$ac_find_libraries" = "x"; then
26769 if test "xXF86VidModeQueryExtension" != "x"; then
26770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26771 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26772 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26773 $as_echo_n "(cached) " >&6
26774 else
26775 ac_check_lib_save_LIBS=$LIBS
26776 LIBS="-lXxf86vm $LIBS"
26777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26778 /* end confdefs.h. */
26779
26780 /* Override any GCC internal prototype to avoid an error.
26781 Use char because int might match the return type of a GCC
26782 builtin and then its argument prototype would still apply. */
26783 #ifdef __cplusplus
26784 extern "C"
26785 #endif
26786 char XF86VidModeQueryExtension ();
26787 int
26788 main ()
26789 {
26790 return XF86VidModeQueryExtension ();
26791 ;
26792 return 0;
26793 }
26794 _ACEOF
26795 if ac_fn_c_try_link "$LINENO"; then :
26796 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26797 else
26798 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26799 fi
26800 rm -f core conftest.err conftest.$ac_objext \
26801 conftest$ac_exeext conftest.$ac_ext
26802 LIBS=$ac_check_lib_save_LIBS
26803 fi
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26805 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26806 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
26807 ac_find_libraries="std"
26808 fi
26809
26810 fi
26811 fi
26812
26813 if test "x$ac_find_libraries" = "x"; then
26814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26815 $as_echo_n "checking elsewhere... " >&6; }
26816
26817 ac_find_libraries=
26818 for ac_dir in $SEARCH_LIB
26819 do
26820 for ac_extension in a so sl dylib dll.a; do
26821 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26822 ac_find_libraries=$ac_dir
26823 break 2
26824 fi
26825 done
26826 done
26827
26828 if test "x$ac_find_libraries" != "x"; then
26829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26830 $as_echo "yes" >&6; }
26831 else
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26833 $as_echo "no" >&6; }
26834 fi
26835 fi
26836
26837 elif test $pkg_failed = untried; then
26838
26839 if test "x$ac_find_libraries" = "x"; then
26840 if test "xXF86VidModeQueryExtension" != "x"; then
26841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
26842 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
26843 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
26844 $as_echo_n "(cached) " >&6
26845 else
26846 ac_check_lib_save_LIBS=$LIBS
26847 LIBS="-lXxf86vm $LIBS"
26848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26849 /* end confdefs.h. */
26850
26851 /* Override any GCC internal prototype to avoid an error.
26852 Use char because int might match the return type of a GCC
26853 builtin and then its argument prototype would still apply. */
26854 #ifdef __cplusplus
26855 extern "C"
26856 #endif
26857 char XF86VidModeQueryExtension ();
26858 int
26859 main ()
26860 {
26861 return XF86VidModeQueryExtension ();
26862 ;
26863 return 0;
26864 }
26865 _ACEOF
26866 if ac_fn_c_try_link "$LINENO"; then :
26867 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
26868 else
26869 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
26870 fi
26871 rm -f core conftest.err conftest.$ac_objext \
26872 conftest$ac_exeext conftest.$ac_ext
26873 LIBS=$ac_check_lib_save_LIBS
26874 fi
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
26876 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
26877 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then :
26878 ac_find_libraries="std"
26879 fi
26880
26881 fi
26882 fi
26883
26884 if test "x$ac_find_libraries" = "x"; then
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26886 $as_echo_n "checking elsewhere... " >&6; }
26887
26888 ac_find_libraries=
26889 for ac_dir in $SEARCH_LIB
26890 do
26891 for ac_extension in a so sl dylib dll.a; do
26892 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26893 ac_find_libraries=$ac_dir
26894 break 2
26895 fi
26896 done
26897 done
26898
26899 if test "x$ac_find_libraries" != "x"; then
26900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26901 $as_echo "yes" >&6; }
26902 else
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26904 $as_echo "no" >&6; }
26905 fi
26906 fi
26907
26908 else
26909 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
26910 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
26911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26912 $as_echo "yes" >&6; }
26913
26914 ac_find_libraries="std"
26915
26916 eval ac_find_cflags=\$Xxf86vm_CFLAGS
26917 eval fl_libs=\$Xxf86vm_LIBS
26918
26919 for fl_path in $fl_libs
26920 do
26921 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26922 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
26923 fi
26924 done
26925
26926 fi
26927
26928 if test "$ac_find_libraries" != "" ; then
26929 for ac_header in X11/extensions/xf86vmode.h
26930 do :
26931 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
26932 #if HAVE_X11_XLIB_H
26933 #include <X11/Xlib.h>
26934 #endif
26935
26936 "
26937 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = x""yes; then :
26938 cat >>confdefs.h <<_ACEOF
26939 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
26940 _ACEOF
26941
26942 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26943
26944 fi
26945
26946 done
26947
26948 fi
26949 fi
26950 fi
26951
26952 if test "$wxUSE_DETECT_SM" = "yes"; then
26953 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
26954
26955 ac_find_libraries=
26956
26957 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
26958
26959
26960 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26961 if test -n "$ac_tool_prefix"; then
26962 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26963 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
26964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26965 $as_echo_n "checking for $ac_word... " >&6; }
26966 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
26967 $as_echo_n "(cached) " >&6
26968 else
26969 case $PKG_CONFIG in
26970 [\\/]* | ?:[\\/]*)
26971 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26972 ;;
26973 *)
26974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26975 for as_dir in $PATH
26976 do
26977 IFS=$as_save_IFS
26978 test -z "$as_dir" && as_dir=.
26979 for ac_exec_ext in '' $ac_executable_extensions; do
26980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26981 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26983 break 2
26984 fi
26985 done
26986 done
26987 IFS=$as_save_IFS
26988
26989 ;;
26990 esac
26991 fi
26992 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26993 if test -n "$PKG_CONFIG"; then
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26995 $as_echo "$PKG_CONFIG" >&6; }
26996 else
26997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26998 $as_echo "no" >&6; }
26999 fi
27000
27001
27002 fi
27003 if test -z "$ac_cv_path_PKG_CONFIG"; then
27004 ac_pt_PKG_CONFIG=$PKG_CONFIG
27005 # Extract the first word of "pkg-config", so it can be a program name with args.
27006 set dummy pkg-config; ac_word=$2
27007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27008 $as_echo_n "checking for $ac_word... " >&6; }
27009 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27010 $as_echo_n "(cached) " >&6
27011 else
27012 case $ac_pt_PKG_CONFIG in
27013 [\\/]* | ?:[\\/]*)
27014 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27015 ;;
27016 *)
27017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27018 for as_dir in $PATH
27019 do
27020 IFS=$as_save_IFS
27021 test -z "$as_dir" && as_dir=.
27022 for ac_exec_ext in '' $ac_executable_extensions; do
27023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27024 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27026 break 2
27027 fi
27028 done
27029 done
27030 IFS=$as_save_IFS
27031
27032 ;;
27033 esac
27034 fi
27035 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27036 if test -n "$ac_pt_PKG_CONFIG"; then
27037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27038 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27039 else
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27041 $as_echo "no" >&6; }
27042 fi
27043
27044 if test "x$ac_pt_PKG_CONFIG" = x; then
27045 PKG_CONFIG=""
27046 else
27047 case $cross_compiling:$ac_tool_warned in
27048 yes:)
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27051 ac_tool_warned=yes ;;
27052 esac
27053 PKG_CONFIG=$ac_pt_PKG_CONFIG
27054 fi
27055 else
27056 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27057 fi
27058
27059 fi
27060 if test -n "$PKG_CONFIG"; then
27061 _pkg_min_version=0.9.0
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27063 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27064 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27066 $as_echo "yes" >&6; }
27067 else
27068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27069 $as_echo "no" >&6; }
27070 PKG_CONFIG=""
27071 fi
27072
27073 fi 6> /dev/null
27074
27075 pkg_failed=no
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27077 $as_echo_n "checking for SM... " >&6; }
27078
27079 if test -n "$PKG_CONFIG"; then
27080 if test -n "$SM_CFLAGS"; then
27081 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
27082 else
27083 if test -n "$PKG_CONFIG" && \
27084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27085 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27086 ac_status=$?
27087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27088 test $ac_status = 0; }; then
27089 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27090 else
27091 pkg_failed=yes
27092 fi
27093 fi
27094 else
27095 pkg_failed=untried
27096 fi
27097 if test -n "$PKG_CONFIG"; then
27098 if test -n "$SM_LIBS"; then
27099 pkg_cv_SM_LIBS="$SM_LIBS"
27100 else
27101 if test -n "$PKG_CONFIG" && \
27102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27103 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27104 ac_status=$?
27105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27106 test $ac_status = 0; }; then
27107 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27108 else
27109 pkg_failed=yes
27110 fi
27111 fi
27112 else
27113 pkg_failed=untried
27114 fi
27115
27116
27117
27118 if test $pkg_failed = yes; then
27119
27120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27121 _pkg_short_errors_supported=yes
27122 else
27123 _pkg_short_errors_supported=no
27124 fi
27125 if test $_pkg_short_errors_supported = yes; then
27126 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27127 else
27128 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27129 fi
27130 # Put the nasty error message in config.log where it belongs
27131 echo "$SM_PKG_ERRORS" >&5
27132
27133
27134 if test "x$ac_find_libraries" = "x"; then
27135 if test "xSmcOpenConnection" != "x"; then
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27137 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27138 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27139 $as_echo_n "(cached) " >&6
27140 else
27141 ac_check_lib_save_LIBS=$LIBS
27142 LIBS="-lSM $LIBS"
27143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27144 /* end confdefs.h. */
27145
27146 /* Override any GCC internal prototype to avoid an error.
27147 Use char because int might match the return type of a GCC
27148 builtin and then its argument prototype would still apply. */
27149 #ifdef __cplusplus
27150 extern "C"
27151 #endif
27152 char SmcOpenConnection ();
27153 int
27154 main ()
27155 {
27156 return SmcOpenConnection ();
27157 ;
27158 return 0;
27159 }
27160 _ACEOF
27161 if ac_fn_c_try_link "$LINENO"; then :
27162 ac_cv_lib_SM_SmcOpenConnection=yes
27163 else
27164 ac_cv_lib_SM_SmcOpenConnection=no
27165 fi
27166 rm -f core conftest.err conftest.$ac_objext \
27167 conftest$ac_exeext conftest.$ac_ext
27168 LIBS=$ac_check_lib_save_LIBS
27169 fi
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27171 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27172 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27173 ac_find_libraries="std"
27174 fi
27175
27176 fi
27177 fi
27178
27179 if test "x$ac_find_libraries" = "x"; then
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27181 $as_echo_n "checking elsewhere... " >&6; }
27182
27183 ac_find_libraries=
27184 for ac_dir in $SEARCH_LIB
27185 do
27186 for ac_extension in a so sl dylib dll.a; do
27187 if test -f "$ac_dir/libSM.$ac_extension"; then
27188 ac_find_libraries=$ac_dir
27189 break 2
27190 fi
27191 done
27192 done
27193
27194 if test "x$ac_find_libraries" != "x"; then
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27196 $as_echo "yes" >&6; }
27197 else
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27199 $as_echo "no" >&6; }
27200 fi
27201 fi
27202
27203 elif test $pkg_failed = untried; then
27204
27205 if test "x$ac_find_libraries" = "x"; then
27206 if test "xSmcOpenConnection" != "x"; then
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27208 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27209 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then :
27210 $as_echo_n "(cached) " >&6
27211 else
27212 ac_check_lib_save_LIBS=$LIBS
27213 LIBS="-lSM $LIBS"
27214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27215 /* end confdefs.h. */
27216
27217 /* Override any GCC internal prototype to avoid an error.
27218 Use char because int might match the return type of a GCC
27219 builtin and then its argument prototype would still apply. */
27220 #ifdef __cplusplus
27221 extern "C"
27222 #endif
27223 char SmcOpenConnection ();
27224 int
27225 main ()
27226 {
27227 return SmcOpenConnection ();
27228 ;
27229 return 0;
27230 }
27231 _ACEOF
27232 if ac_fn_c_try_link "$LINENO"; then :
27233 ac_cv_lib_SM_SmcOpenConnection=yes
27234 else
27235 ac_cv_lib_SM_SmcOpenConnection=no
27236 fi
27237 rm -f core conftest.err conftest.$ac_objext \
27238 conftest$ac_exeext conftest.$ac_ext
27239 LIBS=$ac_check_lib_save_LIBS
27240 fi
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27242 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27243 if test "x$ac_cv_lib_SM_SmcOpenConnection" = x""yes; then :
27244 ac_find_libraries="std"
27245 fi
27246
27247 fi
27248 fi
27249
27250 if test "x$ac_find_libraries" = "x"; then
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27252 $as_echo_n "checking elsewhere... " >&6; }
27253
27254 ac_find_libraries=
27255 for ac_dir in $SEARCH_LIB
27256 do
27257 for ac_extension in a so sl dylib dll.a; do
27258 if test -f "$ac_dir/libSM.$ac_extension"; then
27259 ac_find_libraries=$ac_dir
27260 break 2
27261 fi
27262 done
27263 done
27264
27265 if test "x$ac_find_libraries" != "x"; then
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27267 $as_echo "yes" >&6; }
27268 else
27269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27270 $as_echo "no" >&6; }
27271 fi
27272 fi
27273
27274 else
27275 SM_CFLAGS=$pkg_cv_SM_CFLAGS
27276 SM_LIBS=$pkg_cv_SM_LIBS
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27278 $as_echo "yes" >&6; }
27279
27280 ac_find_libraries="std"
27281
27282 eval ac_find_cflags=\$SM_CFLAGS
27283 eval fl_libs=\$SM_LIBS
27284
27285 for fl_path in $fl_libs
27286 do
27287 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27288 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27289 fi
27290 done
27291
27292 fi
27293
27294 if test "$ac_find_libraries" != "" ; then
27295 if test "$ac_find_libraries" != "std" ; then
27296
27297 if test "$ac_find_libraries" = "default location"; then
27298 ac_path_to_link=""
27299 else
27300 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27301 result=$?
27302 if test $result = 0; then
27303 ac_path_to_link=""
27304 else
27305 ac_path_to_link=" -L$ac_find_libraries"
27306 fi
27307 fi
27308
27309 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27310 LDFLAGS="$LDFLAGS $ac_path_to_link"
27311 fi
27312 fi
27313 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
27314 else
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27316 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27317 wxUSE_DETECT_SM="no"
27318 fi
27319 else
27320 wxUSE_DETECT_SM="no"
27321 fi
27322 fi
27323
27324
27325
27326 USE_OPENGL=0
27327 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27328
27329
27330 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27331 OPENGL_LIBS="-framework OpenGL -framework AGL"
27332 elif test "$wxUSE_MSW" = 1; then
27333 OPENGL_LIBS="-lopengl32 -lglu32"
27334 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
27335
27336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27337 $as_echo_n "checking for OpenGL headers... " >&6; }
27338
27339 ac_find_includes=
27340 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
27341 do
27342 if test -f "$ac_dir/GL/gl.h"; then
27343 ac_find_includes=$ac_dir
27344 break
27345 fi
27346 done
27347
27348 if test "$ac_find_includes" != "" ; then
27349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27350 $as_echo "found in $ac_find_includes" >&6; }
27351
27352 if test "x$ac_find_includes" = "x/usr/include"; then
27353 ac_path_to_include=""
27354 else
27355 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
27356 result=$?
27357 if test $result = 0; then
27358 ac_path_to_include=""
27359 else
27360 ac_path_to_include=" -I$ac_find_includes"
27361 fi
27362 fi
27363
27364 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
27365 else
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27367 $as_echo "not found" >&6; }
27368 fi
27369
27370 ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27371 "
27372 if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
27373
27374 ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27375 "
27376 if test "x$ac_cv_header_GL_glu_h" = x""yes; then :
27377
27378 found_gl=0
27379
27380
27381 ac_find_libraries=
27382
27383 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
27384
27385
27386 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27387 if test -n "$ac_tool_prefix"; then
27388 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27389 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27391 $as_echo_n "checking for $ac_word... " >&6; }
27392 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27393 $as_echo_n "(cached) " >&6
27394 else
27395 case $PKG_CONFIG in
27396 [\\/]* | ?:[\\/]*)
27397 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27398 ;;
27399 *)
27400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27401 for as_dir in $PATH
27402 do
27403 IFS=$as_save_IFS
27404 test -z "$as_dir" && as_dir=.
27405 for ac_exec_ext in '' $ac_executable_extensions; do
27406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27407 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27409 break 2
27410 fi
27411 done
27412 done
27413 IFS=$as_save_IFS
27414
27415 ;;
27416 esac
27417 fi
27418 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27419 if test -n "$PKG_CONFIG"; then
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27421 $as_echo "$PKG_CONFIG" >&6; }
27422 else
27423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27424 $as_echo "no" >&6; }
27425 fi
27426
27427
27428 fi
27429 if test -z "$ac_cv_path_PKG_CONFIG"; then
27430 ac_pt_PKG_CONFIG=$PKG_CONFIG
27431 # Extract the first word of "pkg-config", so it can be a program name with args.
27432 set dummy pkg-config; ac_word=$2
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27434 $as_echo_n "checking for $ac_word... " >&6; }
27435 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27436 $as_echo_n "(cached) " >&6
27437 else
27438 case $ac_pt_PKG_CONFIG in
27439 [\\/]* | ?:[\\/]*)
27440 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27441 ;;
27442 *)
27443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27444 for as_dir in $PATH
27445 do
27446 IFS=$as_save_IFS
27447 test -z "$as_dir" && as_dir=.
27448 for ac_exec_ext in '' $ac_executable_extensions; do
27449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27450 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27452 break 2
27453 fi
27454 done
27455 done
27456 IFS=$as_save_IFS
27457
27458 ;;
27459 esac
27460 fi
27461 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27462 if test -n "$ac_pt_PKG_CONFIG"; then
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27464 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27465 else
27466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27467 $as_echo "no" >&6; }
27468 fi
27469
27470 if test "x$ac_pt_PKG_CONFIG" = x; then
27471 PKG_CONFIG=""
27472 else
27473 case $cross_compiling:$ac_tool_warned in
27474 yes:)
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27476 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27477 ac_tool_warned=yes ;;
27478 esac
27479 PKG_CONFIG=$ac_pt_PKG_CONFIG
27480 fi
27481 else
27482 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27483 fi
27484
27485 fi
27486 if test -n "$PKG_CONFIG"; then
27487 _pkg_min_version=0.9.0
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27489 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27490 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27492 $as_echo "yes" >&6; }
27493 else
27494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27495 $as_echo "no" >&6; }
27496 PKG_CONFIG=""
27497 fi
27498
27499 fi 6> /dev/null
27500
27501 pkg_failed=no
27502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27503 $as_echo_n "checking for GL... " >&6; }
27504
27505 if test -n "$PKG_CONFIG"; then
27506 if test -n "$GL_CFLAGS"; then
27507 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
27508 else
27509 if test -n "$PKG_CONFIG" && \
27510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27511 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27512 ac_status=$?
27513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27514 test $ac_status = 0; }; then
27515 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27516 else
27517 pkg_failed=yes
27518 fi
27519 fi
27520 else
27521 pkg_failed=untried
27522 fi
27523 if test -n "$PKG_CONFIG"; then
27524 if test -n "$GL_LIBS"; then
27525 pkg_cv_GL_LIBS="$GL_LIBS"
27526 else
27527 if test -n "$PKG_CONFIG" && \
27528 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27529 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27530 ac_status=$?
27531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27532 test $ac_status = 0; }; then
27533 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27534 else
27535 pkg_failed=yes
27536 fi
27537 fi
27538 else
27539 pkg_failed=untried
27540 fi
27541
27542
27543
27544 if test $pkg_failed = yes; then
27545
27546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27547 _pkg_short_errors_supported=yes
27548 else
27549 _pkg_short_errors_supported=no
27550 fi
27551 if test $_pkg_short_errors_supported = yes; then
27552 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27553 else
27554 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27555 fi
27556 # Put the nasty error message in config.log where it belongs
27557 echo "$GL_PKG_ERRORS" >&5
27558
27559
27560 if test "x$ac_find_libraries" = "x"; then
27561 if test "xglBegin" != "x"; then
27562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27563 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27564 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27565 $as_echo_n "(cached) " >&6
27566 else
27567 ac_check_lib_save_LIBS=$LIBS
27568 LIBS="-lGL $LIBS"
27569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27570 /* end confdefs.h. */
27571
27572 /* Override any GCC internal prototype to avoid an error.
27573 Use char because int might match the return type of a GCC
27574 builtin and then its argument prototype would still apply. */
27575 #ifdef __cplusplus
27576 extern "C"
27577 #endif
27578 char glBegin ();
27579 int
27580 main ()
27581 {
27582 return glBegin ();
27583 ;
27584 return 0;
27585 }
27586 _ACEOF
27587 if ac_fn_c_try_link "$LINENO"; then :
27588 ac_cv_lib_GL_glBegin=yes
27589 else
27590 ac_cv_lib_GL_glBegin=no
27591 fi
27592 rm -f core conftest.err conftest.$ac_objext \
27593 conftest$ac_exeext conftest.$ac_ext
27594 LIBS=$ac_check_lib_save_LIBS
27595 fi
27596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27597 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27598 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27599 ac_find_libraries="std"
27600 fi
27601
27602 fi
27603 fi
27604
27605 if test "x$ac_find_libraries" = "x"; then
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27607 $as_echo_n "checking elsewhere... " >&6; }
27608
27609 ac_find_libraries=
27610 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27611 do
27612 for ac_extension in a so sl dylib dll.a; do
27613 if test -f "$ac_dir/libGL.$ac_extension"; then
27614 ac_find_libraries=$ac_dir
27615 break 2
27616 fi
27617 done
27618 done
27619
27620 if test "x$ac_find_libraries" != "x"; then
27621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27622 $as_echo "yes" >&6; }
27623 else
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27625 $as_echo "no" >&6; }
27626 fi
27627 fi
27628
27629 elif test $pkg_failed = untried; then
27630
27631 if test "x$ac_find_libraries" = "x"; then
27632 if test "xglBegin" != "x"; then
27633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27634 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27635 if test "${ac_cv_lib_GL_glBegin+set}" = set; then :
27636 $as_echo_n "(cached) " >&6
27637 else
27638 ac_check_lib_save_LIBS=$LIBS
27639 LIBS="-lGL $LIBS"
27640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27641 /* end confdefs.h. */
27642
27643 /* Override any GCC internal prototype to avoid an error.
27644 Use char because int might match the return type of a GCC
27645 builtin and then its argument prototype would still apply. */
27646 #ifdef __cplusplus
27647 extern "C"
27648 #endif
27649 char glBegin ();
27650 int
27651 main ()
27652 {
27653 return glBegin ();
27654 ;
27655 return 0;
27656 }
27657 _ACEOF
27658 if ac_fn_c_try_link "$LINENO"; then :
27659 ac_cv_lib_GL_glBegin=yes
27660 else
27661 ac_cv_lib_GL_glBegin=no
27662 fi
27663 rm -f core conftest.err conftest.$ac_objext \
27664 conftest$ac_exeext conftest.$ac_ext
27665 LIBS=$ac_check_lib_save_LIBS
27666 fi
27667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27668 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27669 if test "x$ac_cv_lib_GL_glBegin" = x""yes; then :
27670 ac_find_libraries="std"
27671 fi
27672
27673 fi
27674 fi
27675
27676 if test "x$ac_find_libraries" = "x"; then
27677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27678 $as_echo_n "checking elsewhere... " >&6; }
27679
27680 ac_find_libraries=
27681 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27682 do
27683 for ac_extension in a so sl dylib dll.a; do
27684 if test -f "$ac_dir/libGL.$ac_extension"; then
27685 ac_find_libraries=$ac_dir
27686 break 2
27687 fi
27688 done
27689 done
27690
27691 if test "x$ac_find_libraries" != "x"; then
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27693 $as_echo "yes" >&6; }
27694 else
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27696 $as_echo "no" >&6; }
27697 fi
27698 fi
27699
27700 else
27701 GL_CFLAGS=$pkg_cv_GL_CFLAGS
27702 GL_LIBS=$pkg_cv_GL_LIBS
27703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27704 $as_echo "yes" >&6; }
27705
27706 ac_find_libraries="std"
27707
27708 eval ac_find_cflags=\$GL_CFLAGS
27709 eval fl_libs=\$GL_LIBS
27710
27711 for fl_path in $fl_libs
27712 do
27713 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27714 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
27715 fi
27716 done
27717
27718 fi
27719
27720 if test "$ac_find_libraries" != "" ; then
27721 if test "$ac_find_libraries" != "std" ; then
27722
27723 if test "$ac_find_libraries" = "default location"; then
27724 ac_path_to_link=""
27725 else
27726 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
27727 result=$?
27728 if test $result = 0; then
27729 ac_path_to_link=""
27730 else
27731 ac_path_to_link=" -L$ac_find_libraries"
27732 fi
27733 fi
27734
27735 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27736 LDFLAGS_GL="$ac_path_to_link"
27737 fi
27738 fi
27739
27740
27741 ac_find_libraries=
27742
27743 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
27744
27745
27746 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27747 if test -n "$ac_tool_prefix"; then
27748 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27749 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
27750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27751 $as_echo_n "checking for $ac_word... " >&6; }
27752 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
27753 $as_echo_n "(cached) " >&6
27754 else
27755 case $PKG_CONFIG in
27756 [\\/]* | ?:[\\/]*)
27757 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27758 ;;
27759 *)
27760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27761 for as_dir in $PATH
27762 do
27763 IFS=$as_save_IFS
27764 test -z "$as_dir" && as_dir=.
27765 for ac_exec_ext in '' $ac_executable_extensions; do
27766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27767 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27769 break 2
27770 fi
27771 done
27772 done
27773 IFS=$as_save_IFS
27774
27775 ;;
27776 esac
27777 fi
27778 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27779 if test -n "$PKG_CONFIG"; then
27780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27781 $as_echo "$PKG_CONFIG" >&6; }
27782 else
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27784 $as_echo "no" >&6; }
27785 fi
27786
27787
27788 fi
27789 if test -z "$ac_cv_path_PKG_CONFIG"; then
27790 ac_pt_PKG_CONFIG=$PKG_CONFIG
27791 # Extract the first word of "pkg-config", so it can be a program name with args.
27792 set dummy pkg-config; ac_word=$2
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27794 $as_echo_n "checking for $ac_word... " >&6; }
27795 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
27796 $as_echo_n "(cached) " >&6
27797 else
27798 case $ac_pt_PKG_CONFIG in
27799 [\\/]* | ?:[\\/]*)
27800 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27801 ;;
27802 *)
27803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27804 for as_dir in $PATH
27805 do
27806 IFS=$as_save_IFS
27807 test -z "$as_dir" && as_dir=.
27808 for ac_exec_ext in '' $ac_executable_extensions; do
27809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27810 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27812 break 2
27813 fi
27814 done
27815 done
27816 IFS=$as_save_IFS
27817
27818 ;;
27819 esac
27820 fi
27821 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
27822 if test -n "$ac_pt_PKG_CONFIG"; then
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27824 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27825 else
27826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27827 $as_echo "no" >&6; }
27828 fi
27829
27830 if test "x$ac_pt_PKG_CONFIG" = x; then
27831 PKG_CONFIG=""
27832 else
27833 case $cross_compiling:$ac_tool_warned in
27834 yes:)
27835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27837 ac_tool_warned=yes ;;
27838 esac
27839 PKG_CONFIG=$ac_pt_PKG_CONFIG
27840 fi
27841 else
27842 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
27843 fi
27844
27845 fi
27846 if test -n "$PKG_CONFIG"; then
27847 _pkg_min_version=0.9.0
27848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27849 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27850 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27852 $as_echo "yes" >&6; }
27853 else
27854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27855 $as_echo "no" >&6; }
27856 PKG_CONFIG=""
27857 fi
27858
27859 fi 6> /dev/null
27860
27861 pkg_failed=no
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
27863 $as_echo_n "checking for GLU... " >&6; }
27864
27865 if test -n "$PKG_CONFIG"; then
27866 if test -n "$GLU_CFLAGS"; then
27867 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
27868 else
27869 if test -n "$PKG_CONFIG" && \
27870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27871 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27872 ac_status=$?
27873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27874 test $ac_status = 0; }; then
27875 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27876 else
27877 pkg_failed=yes
27878 fi
27879 fi
27880 else
27881 pkg_failed=untried
27882 fi
27883 if test -n "$PKG_CONFIG"; then
27884 if test -n "$GLU_LIBS"; then
27885 pkg_cv_GLU_LIBS="$GLU_LIBS"
27886 else
27887 if test -n "$PKG_CONFIG" && \
27888 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27889 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27890 ac_status=$?
27891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27892 test $ac_status = 0; }; then
27893 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27894 else
27895 pkg_failed=yes
27896 fi
27897 fi
27898 else
27899 pkg_failed=untried
27900 fi
27901
27902
27903
27904 if test $pkg_failed = yes; then
27905
27906 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27907 _pkg_short_errors_supported=yes
27908 else
27909 _pkg_short_errors_supported=no
27910 fi
27911 if test $_pkg_short_errors_supported = yes; then
27912 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27913 else
27914 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27915 fi
27916 # Put the nasty error message in config.log where it belongs
27917 echo "$GLU_PKG_ERRORS" >&5
27918
27919
27920 if test "x$ac_find_libraries" = "x"; then
27921 if test "xgluBeginCurve" != "x"; then
27922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
27923 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
27924 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
27925 $as_echo_n "(cached) " >&6
27926 else
27927 ac_check_lib_save_LIBS=$LIBS
27928 LIBS="-lGLU $LIBS"
27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h. */
27931
27932 /* Override any GCC internal prototype to avoid an error.
27933 Use char because int might match the return type of a GCC
27934 builtin and then its argument prototype would still apply. */
27935 #ifdef __cplusplus
27936 extern "C"
27937 #endif
27938 char gluBeginCurve ();
27939 int
27940 main ()
27941 {
27942 return gluBeginCurve ();
27943 ;
27944 return 0;
27945 }
27946 _ACEOF
27947 if ac_fn_c_try_link "$LINENO"; then :
27948 ac_cv_lib_GLU_gluBeginCurve=yes
27949 else
27950 ac_cv_lib_GLU_gluBeginCurve=no
27951 fi
27952 rm -f core conftest.err conftest.$ac_objext \
27953 conftest$ac_exeext conftest.$ac_ext
27954 LIBS=$ac_check_lib_save_LIBS
27955 fi
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
27957 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
27958 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
27959 ac_find_libraries="std"
27960 fi
27961
27962 fi
27963 fi
27964
27965 if test "x$ac_find_libraries" = "x"; then
27966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27967 $as_echo_n "checking elsewhere... " >&6; }
27968
27969 ac_find_libraries=
27970 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
27971 do
27972 for ac_extension in a so sl dylib dll.a; do
27973 if test -f "$ac_dir/libGLU.$ac_extension"; then
27974 ac_find_libraries=$ac_dir
27975 break 2
27976 fi
27977 done
27978 done
27979
27980 if test "x$ac_find_libraries" != "x"; then
27981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27982 $as_echo "yes" >&6; }
27983 else
27984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27985 $as_echo "no" >&6; }
27986 fi
27987 fi
27988
27989 elif test $pkg_failed = untried; then
27990
27991 if test "x$ac_find_libraries" = "x"; then
27992 if test "xgluBeginCurve" != "x"; then
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
27994 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
27995 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then :
27996 $as_echo_n "(cached) " >&6
27997 else
27998 ac_check_lib_save_LIBS=$LIBS
27999 LIBS="-lGLU $LIBS"
28000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28001 /* end confdefs.h. */
28002
28003 /* Override any GCC internal prototype to avoid an error.
28004 Use char because int might match the return type of a GCC
28005 builtin and then its argument prototype would still apply. */
28006 #ifdef __cplusplus
28007 extern "C"
28008 #endif
28009 char gluBeginCurve ();
28010 int
28011 main ()
28012 {
28013 return gluBeginCurve ();
28014 ;
28015 return 0;
28016 }
28017 _ACEOF
28018 if ac_fn_c_try_link "$LINENO"; then :
28019 ac_cv_lib_GLU_gluBeginCurve=yes
28020 else
28021 ac_cv_lib_GLU_gluBeginCurve=no
28022 fi
28023 rm -f core conftest.err conftest.$ac_objext \
28024 conftest$ac_exeext conftest.$ac_ext
28025 LIBS=$ac_check_lib_save_LIBS
28026 fi
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28028 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28029 if test "x$ac_cv_lib_GLU_gluBeginCurve" = x""yes; then :
28030 ac_find_libraries="std"
28031 fi
28032
28033 fi
28034 fi
28035
28036 if test "x$ac_find_libraries" = "x"; then
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28038 $as_echo_n "checking elsewhere... " >&6; }
28039
28040 ac_find_libraries=
28041 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28042 do
28043 for ac_extension in a so sl dylib dll.a; do
28044 if test -f "$ac_dir/libGLU.$ac_extension"; then
28045 ac_find_libraries=$ac_dir
28046 break 2
28047 fi
28048 done
28049 done
28050
28051 if test "x$ac_find_libraries" != "x"; then
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28053 $as_echo "yes" >&6; }
28054 else
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28056 $as_echo "no" >&6; }
28057 fi
28058 fi
28059
28060 else
28061 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
28062 GLU_LIBS=$pkg_cv_GLU_LIBS
28063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28064 $as_echo "yes" >&6; }
28065
28066 ac_find_libraries="std"
28067
28068 eval ac_find_cflags=\$GLU_CFLAGS
28069 eval fl_libs=\$GLU_LIBS
28070
28071 for fl_path in $fl_libs
28072 do
28073 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28074 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28075 fi
28076 done
28077
28078 fi
28079
28080 if test "$ac_find_libraries" != "" ; then
28081 if test "$ac_find_libraries" != "std" ; then
28082
28083 if test "$ac_find_libraries" = "default location"; then
28084 ac_path_to_link=""
28085 else
28086 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28087 result=$?
28088 if test $result = 0; then
28089 ac_path_to_link=""
28090 else
28091 ac_path_to_link=" -L$ac_find_libraries"
28092 fi
28093 fi
28094
28095 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28096 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28097 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28098 fi
28099 fi
28100
28101 found_gl=1
28102 OPENGL_LIBS="-lGL -lGLU"
28103 fi
28104 fi
28105
28106 if test "$found_gl" != 1; then
28107
28108 ac_find_libraries=
28109
28110 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
28111
28112
28113 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28114 if test -n "$ac_tool_prefix"; then
28115 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28116 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28118 $as_echo_n "checking for $ac_word... " >&6; }
28119 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
28120 $as_echo_n "(cached) " >&6
28121 else
28122 case $PKG_CONFIG in
28123 [\\/]* | ?:[\\/]*)
28124 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28125 ;;
28126 *)
28127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28128 for as_dir in $PATH
28129 do
28130 IFS=$as_save_IFS
28131 test -z "$as_dir" && as_dir=.
28132 for ac_exec_ext in '' $ac_executable_extensions; do
28133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28134 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28136 break 2
28137 fi
28138 done
28139 done
28140 IFS=$as_save_IFS
28141
28142 ;;
28143 esac
28144 fi
28145 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28146 if test -n "$PKG_CONFIG"; then
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28148 $as_echo "$PKG_CONFIG" >&6; }
28149 else
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28151 $as_echo "no" >&6; }
28152 fi
28153
28154
28155 fi
28156 if test -z "$ac_cv_path_PKG_CONFIG"; then
28157 ac_pt_PKG_CONFIG=$PKG_CONFIG
28158 # Extract the first word of "pkg-config", so it can be a program name with args.
28159 set dummy pkg-config; ac_word=$2
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28161 $as_echo_n "checking for $ac_word... " >&6; }
28162 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
28163 $as_echo_n "(cached) " >&6
28164 else
28165 case $ac_pt_PKG_CONFIG in
28166 [\\/]* | ?:[\\/]*)
28167 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28168 ;;
28169 *)
28170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28171 for as_dir in $PATH
28172 do
28173 IFS=$as_save_IFS
28174 test -z "$as_dir" && as_dir=.
28175 for ac_exec_ext in '' $ac_executable_extensions; do
28176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28177 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28179 break 2
28180 fi
28181 done
28182 done
28183 IFS=$as_save_IFS
28184
28185 ;;
28186 esac
28187 fi
28188 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28189 if test -n "$ac_pt_PKG_CONFIG"; then
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28191 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28192 else
28193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28194 $as_echo "no" >&6; }
28195 fi
28196
28197 if test "x$ac_pt_PKG_CONFIG" = x; then
28198 PKG_CONFIG=""
28199 else
28200 case $cross_compiling:$ac_tool_warned in
28201 yes:)
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28204 ac_tool_warned=yes ;;
28205 esac
28206 PKG_CONFIG=$ac_pt_PKG_CONFIG
28207 fi
28208 else
28209 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28210 fi
28211
28212 fi
28213 if test -n "$PKG_CONFIG"; then
28214 _pkg_min_version=0.9.0
28215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28216 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28217 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28219 $as_echo "yes" >&6; }
28220 else
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28222 $as_echo "no" >&6; }
28223 PKG_CONFIG=""
28224 fi
28225
28226 fi 6> /dev/null
28227
28228 pkg_failed=no
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28230 $as_echo_n "checking for MesaGL... " >&6; }
28231
28232 if test -n "$PKG_CONFIG"; then
28233 if test -n "$MesaGL_CFLAGS"; then
28234 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
28235 else
28236 if test -n "$PKG_CONFIG" && \
28237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28238 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28239 ac_status=$?
28240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28241 test $ac_status = 0; }; then
28242 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28243 else
28244 pkg_failed=yes
28245 fi
28246 fi
28247 else
28248 pkg_failed=untried
28249 fi
28250 if test -n "$PKG_CONFIG"; then
28251 if test -n "$MesaGL_LIBS"; then
28252 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
28253 else
28254 if test -n "$PKG_CONFIG" && \
28255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28256 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28257 ac_status=$?
28258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28259 test $ac_status = 0; }; then
28260 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28261 else
28262 pkg_failed=yes
28263 fi
28264 fi
28265 else
28266 pkg_failed=untried
28267 fi
28268
28269
28270
28271 if test $pkg_failed = yes; then
28272
28273 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28274 _pkg_short_errors_supported=yes
28275 else
28276 _pkg_short_errors_supported=no
28277 fi
28278 if test $_pkg_short_errors_supported = yes; then
28279 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28280 else
28281 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28282 fi
28283 # Put the nasty error message in config.log where it belongs
28284 echo "$MesaGL_PKG_ERRORS" >&5
28285
28286
28287 if test "x$ac_find_libraries" = "x"; then
28288 if test "xglEnable" != "x"; then
28289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28290 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28291 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28292 $as_echo_n "(cached) " >&6
28293 else
28294 ac_check_lib_save_LIBS=$LIBS
28295 LIBS="-lMesaGL $LIBS"
28296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28297 /* end confdefs.h. */
28298
28299 /* Override any GCC internal prototype to avoid an error.
28300 Use char because int might match the return type of a GCC
28301 builtin and then its argument prototype would still apply. */
28302 #ifdef __cplusplus
28303 extern "C"
28304 #endif
28305 char glEnable ();
28306 int
28307 main ()
28308 {
28309 return glEnable ();
28310 ;
28311 return 0;
28312 }
28313 _ACEOF
28314 if ac_fn_c_try_link "$LINENO"; then :
28315 ac_cv_lib_MesaGL_glEnable=yes
28316 else
28317 ac_cv_lib_MesaGL_glEnable=no
28318 fi
28319 rm -f core conftest.err conftest.$ac_objext \
28320 conftest$ac_exeext conftest.$ac_ext
28321 LIBS=$ac_check_lib_save_LIBS
28322 fi
28323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28324 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28325 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28326 ac_find_libraries="std"
28327 fi
28328
28329 fi
28330 fi
28331
28332 if test "x$ac_find_libraries" = "x"; then
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28334 $as_echo_n "checking elsewhere... " >&6; }
28335
28336 ac_find_libraries=
28337 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28338 do
28339 for ac_extension in a so sl dylib dll.a; do
28340 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28341 ac_find_libraries=$ac_dir
28342 break 2
28343 fi
28344 done
28345 done
28346
28347 if test "x$ac_find_libraries" != "x"; then
28348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28349 $as_echo "yes" >&6; }
28350 else
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28352 $as_echo "no" >&6; }
28353 fi
28354 fi
28355
28356 elif test $pkg_failed = untried; then
28357
28358 if test "x$ac_find_libraries" = "x"; then
28359 if test "xglEnable" != "x"; then
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28361 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28362 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then :
28363 $as_echo_n "(cached) " >&6
28364 else
28365 ac_check_lib_save_LIBS=$LIBS
28366 LIBS="-lMesaGL $LIBS"
28367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h. */
28369
28370 /* Override any GCC internal prototype to avoid an error.
28371 Use char because int might match the return type of a GCC
28372 builtin and then its argument prototype would still apply. */
28373 #ifdef __cplusplus
28374 extern "C"
28375 #endif
28376 char glEnable ();
28377 int
28378 main ()
28379 {
28380 return glEnable ();
28381 ;
28382 return 0;
28383 }
28384 _ACEOF
28385 if ac_fn_c_try_link "$LINENO"; then :
28386 ac_cv_lib_MesaGL_glEnable=yes
28387 else
28388 ac_cv_lib_MesaGL_glEnable=no
28389 fi
28390 rm -f core conftest.err conftest.$ac_objext \
28391 conftest$ac_exeext conftest.$ac_ext
28392 LIBS=$ac_check_lib_save_LIBS
28393 fi
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28395 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28396 if test "x$ac_cv_lib_MesaGL_glEnable" = x""yes; then :
28397 ac_find_libraries="std"
28398 fi
28399
28400 fi
28401 fi
28402
28403 if test "x$ac_find_libraries" = "x"; then
28404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28405 $as_echo_n "checking elsewhere... " >&6; }
28406
28407 ac_find_libraries=
28408 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
28409 do
28410 for ac_extension in a so sl dylib dll.a; do
28411 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28412 ac_find_libraries=$ac_dir
28413 break 2
28414 fi
28415 done
28416 done
28417
28418 if test "x$ac_find_libraries" != "x"; then
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28420 $as_echo "yes" >&6; }
28421 else
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28423 $as_echo "no" >&6; }
28424 fi
28425 fi
28426
28427 else
28428 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
28429 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28431 $as_echo "yes" >&6; }
28432
28433 ac_find_libraries="std"
28434
28435 eval ac_find_cflags=\$MesaGL_CFLAGS
28436 eval fl_libs=\$MesaGL_LIBS
28437
28438 for fl_path in $fl_libs
28439 do
28440 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28441 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
28442 fi
28443 done
28444
28445 fi
28446
28447 if test "$ac_find_libraries" != "" ; then
28448 if test "$ac_find_libraries" != "std" ; then
28449
28450 if test "$ac_find_libraries" = "default location"; then
28451 ac_path_to_link=""
28452 else
28453 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
28454 result=$?
28455 if test $result = 0; then
28456 ac_path_to_link=""
28457 else
28458 ac_path_to_link=" -L$ac_find_libraries"
28459 fi
28460 fi
28461
28462 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28463 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
28464 fi
28465 fi
28466 OPENGL_LIBS="-lMesaGL -lMesaGLU"
28467 fi
28468 fi
28469
28470 fi
28471
28472
28473
28474 fi
28475
28476
28477
28478 if test "x$OPENGL_LIBS" = "x"; then
28479 if test "$wxUSE_OPENGL" = "yes"; then
28480 as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
28481 else
28482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28483 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28484 wxUSE_OPENGL=no
28485 USE_OPENGL=0
28486 fi
28487 fi
28488 else
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28490 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28491 wxUSE_OPENGL="no"
28492 fi
28493
28494 if test "$wxUSE_OPENGL" = "auto"; then
28495 wxUSE_OPENGL=yes
28496 fi
28497
28498 if test "$wxUSE_OPENGL" = "yes"; then
28499 USE_OPENGL=1
28500 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28501
28502 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28503
28504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28505 fi
28506 fi
28507
28508
28509 if test -n "$TOOLKIT" ; then
28510 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28511 fi
28512
28513
28514
28515 if test "$wxUSE_SHARED" = "yes"; then
28516 case "${host}" in
28517 *-pc-msdosdjgpp )
28518 wxUSE_SHARED=no
28519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28520 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28521 ;;
28522 esac
28523 fi
28524
28525 if test "$wxUSE_SHARED" = "yes"; then
28526
28527
28528 case "${host}" in
28529 *-*-cygwin* | *-*-mingw* )
28530 wx_cv_version_script=no
28531 ;;
28532
28533 *)
28534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28535 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28536 if test "${wx_cv_version_script+set}" = set; then :
28537 $as_echo_n "(cached) " >&6
28538 else
28539
28540 echo "VER_1 { *; };" >conftest.sym
28541 echo "int main() { return 0; }" >conftest.cpp
28542
28543 if { ac_try='
28544 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28545 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28546 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28547 (eval $ac_try) 2>&5
28548 ac_status=$?
28549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28550 test $ac_status = 0; }; } ; then
28551 if test -s conftest.stderr ; then
28552 wx_cv_version_script=no
28553 else
28554 wx_cv_version_script=yes
28555 fi
28556 else
28557 wx_cv_version_script=no
28558 fi
28559
28560 if test $wx_cv_version_script = yes
28561 then
28562 echo "struct B { virtual ~B() { } }; \
28563 struct D : public B { }; \
28564 void F() { D d; }" > conftest.cpp
28565
28566 if { ac_try='
28567 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28568 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28569 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28570 (eval $ac_try) 2>&5
28571 ac_status=$?
28572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28573 test $ac_status = 0; }; } &&
28574 { ac_try='
28575 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28576 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28577 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28578 (eval $ac_try) 2>&5
28579 ac_status=$?
28580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28581 test $ac_status = 0; }; }
28582 then
28583 if { ac_try='
28584 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28585 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28586 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28587 (eval $ac_try) 2>&5
28588 ac_status=$?
28589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28590 test $ac_status = 0; }; }
28591 then
28592 wx_cv_version_script=yes
28593 else
28594 wx_cv_version_script=no
28595 fi
28596 fi
28597 fi
28598
28599 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28600 rm -f conftest1.output conftest2.output conftest3.output
28601
28602 fi
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28604 $as_echo "$wx_cv_version_script" >&6; }
28605
28606 if test $wx_cv_version_script = yes ; then
28607 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28608 fi
28609 ;;
28610 esac
28611
28612
28613 if test "$wxUSE_VISIBILITY" != "no"; then
28614
28615
28616 if test -n "$GCC"; then
28617 CFLAGS_VISIBILITY="-fvisibility=hidden"
28618 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
28619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
28620 $as_echo_n "checking for symbols visibility support... " >&6; }
28621 if test "${wx_cv_cc_visibility+set}" = set; then :
28622 $as_echo_n "(cached) " >&6
28623 else
28624
28625 wx_save_CXXFLAGS="$CXXFLAGS"
28626 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28627 ac_ext=cpp
28628 ac_cpp='$CXXCPP $CPPFLAGS'
28629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28632
28633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28634 /* end confdefs.h. */
28635
28636 /* we need gcc >= 4.0, older versions with visibility support
28637 didn't have class visibility: */
28638 #if defined(__GNUC__) && __GNUC__ < 4
28639 error this gcc is too old;
28640 #endif
28641
28642 /* visibility only makes sense for ELF shared libs: */
28643 #if !defined(__ELF__) && !defined(__APPLE__)
28644 error this platform has no visibility;
28645 #endif
28646
28647 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
28648 #if defined(__clang__)
28649 clang compiler is still broken w.r.t. visibility;
28650 #endif
28651
28652 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
28653 extern __attribute__((__visibility__("default"))) int exportedvar;
28654 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
28655 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
28656 class __attribute__((__visibility__("default"))) Foo {
28657 Foo() {}
28658 };
28659
28660 int
28661 main ()
28662 {
28663
28664 ;
28665 return 0;
28666 }
28667 _ACEOF
28668 if ac_fn_cxx_try_compile "$LINENO"; then :
28669 wx_cv_cc_visibility=yes
28670 else
28671 wx_cv_cc_visibility=no
28672 fi
28673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28674 ac_ext=c
28675 ac_cpp='$CPP $CPPFLAGS'
28676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28679
28680 CXXFLAGS="$wx_save_CXXFLAGS"
28681 fi
28682
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
28684 $as_echo "$wx_cv_cc_visibility" >&6; }
28685 if test $wx_cv_cc_visibility = yes; then
28686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
28687 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
28688 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then :
28689 $as_echo_n "(cached) " >&6
28690 else
28691
28692 wx_save_CXXFLAGS="$CXXFLAGS"
28693 wx_save_LDFLAGS="$LDFLAGS"
28694 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
28695 LDFLAGS="$LDFLAGS -shared -fPIC"
28696 ac_ext=cpp
28697 ac_cpp='$CXXCPP $CPPFLAGS'
28698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28701
28702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28703 /* end confdefs.h. */
28704
28705 #include <string>
28706
28707 int
28708 main ()
28709 {
28710
28711 std::string s("hello");
28712 return s.length();
28713
28714 ;
28715 return 0;
28716 }
28717 _ACEOF
28718 if ac_fn_cxx_try_link "$LINENO"; then :
28719 wx_cv_cc_broken_libstdcxx_visibility=no
28720 else
28721 wx_cv_cc_broken_libstdcxx_visibility=yes
28722 fi
28723 rm -f core conftest.err conftest.$ac_objext \
28724 conftest$ac_exeext conftest.$ac_ext
28725 ac_ext=c
28726 ac_cpp='$CPP $CPPFLAGS'
28727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28730
28731 CXXFLAGS="$wx_save_CXXFLAGS"
28732 LDFLAGS="$wx_save_LDFLAGS"
28733 fi
28734
28735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
28736 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
28737
28738 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
28740 $as_echo_n "checking whether we can work around it... " >&6; }
28741 if test "${wx_cv_cc_visibility_workaround+set}" = set; then :
28742 $as_echo_n "(cached) " >&6
28743 else
28744
28745 ac_ext=cpp
28746 ac_cpp='$CXXCPP $CPPFLAGS'
28747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28750
28751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28752 /* end confdefs.h. */
28753
28754 #pragma GCC visibility push(default)
28755 #include <string>
28756 #pragma GCC visibility pop
28757
28758 int
28759 main ()
28760 {
28761
28762 std::string s("hello");
28763 return s.length();
28764
28765 ;
28766 return 0;
28767 }
28768 _ACEOF
28769 if ac_fn_cxx_try_link "$LINENO"; then :
28770 wx_cv_cc_visibility_workaround=no
28771 else
28772 wx_cv_cc_visibility_workaround=yes
28773 fi
28774 rm -f core conftest.err conftest.$ac_objext \
28775 conftest$ac_exeext conftest.$ac_ext
28776 ac_ext=c
28777 ac_cpp='$CPP $CPPFLAGS'
28778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28781
28782
28783 fi
28784
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
28786 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
28787
28788 if test $wx_cv_cc_visibility_workaround = no; then
28789 wx_cv_cc_visibility=no
28790 fi
28791 fi
28792 fi
28793
28794 if test $wx_cv_cc_visibility = yes; then
28795 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
28796
28797 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
28798 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
28799
28800 fi
28801 else
28802 CFLAGS_VISIBILITY=""
28803 CXXFLAGS_VISIBILITY=""
28804 fi
28805
28806
28807 fi
28808
28809 fi
28810
28811 if test "x$SUNCXX" = xyes; then
28812 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
28813 WXCONFIG_RPATH="-R\$libdir"
28814 else
28815 case "${host}" in
28816 *-*-linux* | *-*-gnu* )
28817 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
28818 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28819 ;;
28820
28821 *-*-solaris2* )
28822
28823 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
28824
28825 saveLdflags="$LDFLAGS"
28826 LDFLAGS="$saveLdflags -Wl,-rpath,/"
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
28828 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
28829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28830 /* end confdefs.h. */
28831
28832 int
28833 main ()
28834 {
28835
28836 ;
28837 return 0;
28838 }
28839 _ACEOF
28840 if ac_fn_c_try_link "$LINENO"; then :
28841
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28843 $as_echo "yes" >&6; }
28844 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
28845 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
28846
28847 else
28848
28849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28850 $as_echo "no" >&6; }
28851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
28852 $as_echo_n "checking if the linker accepts -R... " >&6; }
28853 LDFLAGS="$saveLdflags -Wl,-R,/"
28854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28855 /* end confdefs.h. */
28856
28857 int
28858 main ()
28859 {
28860
28861 ;
28862 return 0;
28863 }
28864 _ACEOF
28865 if ac_fn_c_try_link "$LINENO"; then :
28866
28867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28868 $as_echo "yes" >&6; }
28869 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
28870 WXCONFIG_RPATH="-Wl,-R,\$libdir"
28871
28872 else
28873
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28875 $as_echo "no" >&6; }
28876
28877 fi
28878 rm -f core conftest.err conftest.$ac_objext \
28879 conftest$ac_exeext conftest.$ac_ext
28880
28881 fi
28882 rm -f core conftest.err conftest.$ac_objext \
28883 conftest$ac_exeext conftest.$ac_ext
28884 LDFLAGS="$saveLdflags"
28885 ;;
28886
28887 *-*-darwin* )
28888 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
28889 if test "$install_name_tool" -a -x "$install_name_tool"; then
28890 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
28891 cat <<EOF >change-install-names
28892 #!/bin/sh
28893 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
28894 for i in \${libnames} ; do
28895 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
28896 for dep in \${libnames} ; do
28897 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
28898 done
28899 done
28900 EOF
28901 chmod +x change-install-names
28902 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
28903 fi
28904
28905 HEADER_PAD_OPTION="-headerpad_max_install_names"
28906 ;;
28907
28908 *-*-cygwin* | *-*-mingw32* )
28909 ;;
28910
28911 *-*-hpux* )
28912 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
28913 WXCONFIG_RPATH="-Wl,+b,\$libdir"
28914 ;;
28915
28916 esac
28917 fi
28918
28919 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
28920
28921 if test $wxUSE_RPATH = "no"; then
28922 SAMPLES_RPATH_FLAG=''
28923 DYLIB_PATH_POSTLINK=''
28924 WXCONFIG_RPATH=''
28925 fi
28926
28927 SHARED=1
28928
28929 else
28930
28931 config_linkage_component="-static"
28932 SHARED=0
28933
28934 fi
28935
28936
28937 UNICODE=0
28938 lib_unicode_suffix=
28939 WX_CHARTYPE="ansi"
28940 if test "$wxUSE_UNICODE" = "yes"; then
28941 lib_unicode_suffix=u
28942 WX_CHARTYPE="unicode"
28943 UNICODE=1
28944 fi
28945
28946 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
28947 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
28948
28949 DEBUG_INFO=0
28950 if test "$wxUSE_DEBUG_INFO" = "yes"; then
28951 DEBUG_INFO=1
28952 fi
28953
28954 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
28955
28956 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
28957
28958 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
28959
28960
28961 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
28962 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28963 else
28964 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28965 fi
28966 if test "${TOOLKIT_DIR}" = "os2"; then
28967 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28968 else
28969 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
28970 fi
28971
28972
28973
28974 if test "$wxUSE_OLD_COCOA" = 1; then
28975
28976 ac_ext=c
28977 ac_cpp='$CPP $CPPFLAGS'
28978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28981
28982 ac_ext=m
28983
28984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
28985 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
28986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28987 /* end confdefs.h. */
28988 #include <AppKit/NSEvent.h>
28989 #include <CoreFoundation/CoreFoundation.h>
28990
28991 int
28992 main ()
28993 {
28994
28995 ;
28996 return 0;
28997 }
28998 _ACEOF
28999 if ac_fn_c_try_compile "$LINENO"; then :
29000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29001 $as_echo "no" >&6; }
29002 else
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29004 $as_echo "yes" >&6; }
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29006 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29008 /* end confdefs.h. */
29009 #define __Point__ 1
29010 #include <AppKit/NSEvent.h>
29011 #include <CoreFoundation/CoreFoundation.h>
29012
29013 int
29014 main ()
29015 {
29016
29017 ;
29018 return 0;
29019 }
29020 _ACEOF
29021 if ac_fn_c_try_compile "$LINENO"; then :
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29023 $as_echo "yes" >&6; }
29024 $as_echo "#define __Point__ 1" >>confdefs.h
29025
29026
29027 else
29028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29030 as_fn_error $? "no
29031 See \`config.log' for more details" "$LINENO" 5 ; }
29032
29033 fi
29034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29035
29036 fi
29037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29038 ac_ext=c
29039 ac_cpp='$CPP $CPPFLAGS'
29040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29043
29044 fi
29045
29046
29047 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29048 if test "x$ac_cv_type_mode_t" = x""yes; then :
29049
29050 else
29051
29052 cat >>confdefs.h <<_ACEOF
29053 #define mode_t int
29054 _ACEOF
29055
29056 fi
29057
29058 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29059 if test "x$ac_cv_type_off_t" = x""yes; then :
29060
29061 else
29062
29063 cat >>confdefs.h <<_ACEOF
29064 #define off_t long int
29065 _ACEOF
29066
29067 fi
29068
29069 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29070 if test "x$ac_cv_type_pid_t" = x""yes; then :
29071
29072 else
29073
29074 cat >>confdefs.h <<_ACEOF
29075 #define pid_t int
29076 _ACEOF
29077
29078 fi
29079
29080 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29081 if test "x$ac_cv_type_size_t" = x""yes; then :
29082
29083 else
29084
29085 cat >>confdefs.h <<_ACEOF
29086 #define size_t unsigned int
29087 _ACEOF
29088
29089 fi
29090
29091
29092 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29093 if test "x$ac_cv_type_ssize_t" = x""yes; then :
29094
29095 cat >>confdefs.h <<_ACEOF
29096 #define HAVE_SSIZE_T 1
29097 _ACEOF
29098
29099
29100 fi
29101
29102
29103 ac_ext=cpp
29104 ac_cpp='$CXXCPP $CPPFLAGS'
29105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29109 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29110 if test "${wx_cv_size_t_is_uint+set}" = set; then :
29111 $as_echo_n "(cached) " >&6
29112 else
29113
29114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29115 /* end confdefs.h. */
29116 #include <stddef.h>
29117 int
29118 main ()
29119 {
29120
29121 return 0; }
29122
29123 struct Foo { void foo(size_t); void foo(unsigned int); };
29124
29125 int bar() {
29126
29127 ;
29128 return 0;
29129 }
29130 _ACEOF
29131 if ac_fn_cxx_try_compile "$LINENO"; then :
29132 wx_cv_size_t_is_uint=no
29133 else
29134 wx_cv_size_t_is_uint=yes
29135
29136 fi
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138
29139
29140 fi
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29142 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29143
29144 if test "$wx_cv_size_t_is_uint" = "yes"; then
29145 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29146
29147 else
29148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29149 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29150 if test "${wx_cv_size_t_is_ulong+set}" = set; then :
29151 $as_echo_n "(cached) " >&6
29152 else
29153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29154 /* end confdefs.h. */
29155 #include <stddef.h>
29156 int
29157 main ()
29158 {
29159
29160 return 0; }
29161
29162 struct Foo { void foo(size_t); void foo(unsigned long); };
29163
29164 int bar() {
29165
29166 ;
29167 return 0;
29168 }
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171 wx_cv_size_t_is_ulong=no
29172 else
29173 wx_cv_size_t_is_ulong=yes
29174
29175 fi
29176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29177
29178 fi
29179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29180 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29181
29182 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29183 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29184
29185 fi
29186 fi
29187
29188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29189 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29190 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then :
29191 $as_echo_n "(cached) " >&6
29192 else
29193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29194 /* end confdefs.h. */
29195 #include <wchar.h>
29196 int
29197 main ()
29198 {
29199
29200 return 0; }
29201
29202 struct Foo { void foo(wchar_t);
29203 void foo(unsigned short);
29204 void foo(unsigned int);
29205 void foo(unsigned long); };
29206
29207 int bar() {
29208
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 if ac_fn_cxx_try_compile "$LINENO"; then :
29214 wx_cv_wchar_t_is_separate_type=yes
29215 else
29216 wx_cv_wchar_t_is_separate_type=no
29217
29218 fi
29219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29220
29221 fi
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29223 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29224
29225 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29226 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29227
29228 else
29229 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29230
29231 fi
29232
29233 ac_ext=c
29234 ac_cpp='$CPP $CPPFLAGS'
29235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29238
29239
29240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29241 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29242 if test "${wx_cv_struct_pw_gecos+set}" = set; then :
29243 $as_echo_n "(cached) " >&6
29244 else
29245
29246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29247 /* end confdefs.h. */
29248 #include <pwd.h>
29249 int
29250 main ()
29251 {
29252
29253 char *p;
29254 struct passwd *pw;
29255 p = pw->pw_gecos;
29256
29257 ;
29258 return 0;
29259 }
29260 _ACEOF
29261 if ac_fn_c_try_compile "$LINENO"; then :
29262
29263 wx_cv_struct_pw_gecos=yes
29264
29265 else
29266
29267 wx_cv_struct_pw_gecos=no
29268
29269
29270 fi
29271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29272
29273
29274 fi
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29276 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29277
29278 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29279 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29280
29281 fi
29282
29283
29284 WCSLEN_FOUND=0
29285 WCHAR_LINK=
29286 for ac_func in wcslen
29287 do :
29288 ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
29289 if test "x$ac_cv_func_wcslen" = x""yes; then :
29290 cat >>confdefs.h <<_ACEOF
29291 #define HAVE_WCSLEN 1
29292 _ACEOF
29293 WCSLEN_FOUND=1
29294 fi
29295 done
29296
29297
29298 if test "$WCSLEN_FOUND" = 0; then
29299 if test "$TOOLKIT" = "MSW"; then
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29301 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29302 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then :
29303 $as_echo_n "(cached) " >&6
29304 else
29305 ac_check_lib_save_LIBS=$LIBS
29306 LIBS="-lmsvcrt $LIBS"
29307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29308 /* end confdefs.h. */
29309
29310 /* Override any GCC internal prototype to avoid an error.
29311 Use char because int might match the return type of a GCC
29312 builtin and then its argument prototype would still apply. */
29313 #ifdef __cplusplus
29314 extern "C"
29315 #endif
29316 char wcslen ();
29317 int
29318 main ()
29319 {
29320 return wcslen ();
29321 ;
29322 return 0;
29323 }
29324 _ACEOF
29325 if ac_fn_c_try_link "$LINENO"; then :
29326 ac_cv_lib_msvcrt_wcslen=yes
29327 else
29328 ac_cv_lib_msvcrt_wcslen=no
29329 fi
29330 rm -f core conftest.err conftest.$ac_objext \
29331 conftest$ac_exeext conftest.$ac_ext
29332 LIBS=$ac_check_lib_save_LIBS
29333 fi
29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29335 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29336 if test "x$ac_cv_lib_msvcrt_wcslen" = x""yes; then :
29337 WCHAR_OK=1
29338 fi
29339
29340 else
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29342 $as_echo_n "checking for wcslen in -lw... " >&6; }
29343 if test "${ac_cv_lib_w_wcslen+set}" = set; then :
29344 $as_echo_n "(cached) " >&6
29345 else
29346 ac_check_lib_save_LIBS=$LIBS
29347 LIBS="-lw $LIBS"
29348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29349 /* end confdefs.h. */
29350
29351 /* Override any GCC internal prototype to avoid an error.
29352 Use char because int might match the return type of a GCC
29353 builtin and then its argument prototype would still apply. */
29354 #ifdef __cplusplus
29355 extern "C"
29356 #endif
29357 char wcslen ();
29358 int
29359 main ()
29360 {
29361 return wcslen ();
29362 ;
29363 return 0;
29364 }
29365 _ACEOF
29366 if ac_fn_c_try_link "$LINENO"; then :
29367 ac_cv_lib_w_wcslen=yes
29368 else
29369 ac_cv_lib_w_wcslen=no
29370 fi
29371 rm -f core conftest.err conftest.$ac_objext \
29372 conftest$ac_exeext conftest.$ac_ext
29373 LIBS=$ac_check_lib_save_LIBS
29374 fi
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29376 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29377 if test "x$ac_cv_lib_w_wcslen" = x""yes; then :
29378
29379 WCHAR_LINK=" -lw"
29380 WCSLEN_FOUND=1
29381
29382 fi
29383
29384 fi
29385 fi
29386
29387 if test "$WCSLEN_FOUND" = 1; then
29388 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29389
29390 fi
29391
29392 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29393 do :
29394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29396 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29397 cat >>confdefs.h <<_ACEOF
29398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29399 _ACEOF
29400
29401 fi
29402 done
29403
29404
29405 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29406 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29407 fi
29408
29409 ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29410 "
29411 if test "x$ac_cv_type_mbstate_t" = x""yes; then :
29412
29413 cat >>confdefs.h <<_ACEOF
29414 #define HAVE_MBSTATE_T 1
29415 _ACEOF
29416
29417 for ac_func in wcsrtombs
29418 do :
29419 ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29420 if test "x$ac_cv_func_wcsrtombs" = x""yes; then :
29421 cat >>confdefs.h <<_ACEOF
29422 #define HAVE_WCSRTOMBS 1
29423 _ACEOF
29424
29425 fi
29426 done
29427
29428 fi
29429
29430
29431 for ac_func in snprintf vsnprintf vsscanf
29432 do :
29433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29435 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
29436 cat >>confdefs.h <<_ACEOF
29437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29438 _ACEOF
29439
29440 fi
29441 done
29442
29443
29444 ac_ext=cpp
29445 ac_cpp='$CXXCPP $CPPFLAGS'
29446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449
29450 if test "$ac_cv_func_vsnprintf" = "yes"; then
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29452 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29453 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then :
29454 $as_echo_n "(cached) " >&6
29455 else
29456
29457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29458 /* end confdefs.h. */
29459
29460 #include <stdio.h>
29461 #include <stdarg.h>
29462
29463 int
29464 main ()
29465 {
29466
29467 char *buf;
29468 va_list ap;
29469 vsnprintf(buf, 10u, "%s", ap);
29470
29471 ;
29472 return 0;
29473 }
29474 _ACEOF
29475 if ac_fn_cxx_try_compile "$LINENO"; then :
29476 wx_cv_func_vsnprintf_decl=yes
29477 else
29478 wx_cv_func_vsnprintf_decl=no
29479
29480 fi
29481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29482
29483
29484 fi
29485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29486 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29487
29488 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29489 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29490
29491
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29493 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29494 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then :
29495 $as_echo_n "(cached) " >&6
29496 else
29497
29498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29499 /* end confdefs.h. */
29500
29501 #include <stdio.h>
29502 #include <stdarg.h>
29503 #ifdef __MSL__
29504 #if __MSL__ >= 0x6000
29505 namespace std {}
29506 using namespace std;
29507 #endif
29508 #endif
29509
29510 int
29511 main ()
29512 {
29513
29514 char *buf;
29515 va_list ap;
29516 const char *fmt = "%s";
29517 vsnprintf(buf, 10u, fmt, ap);
29518
29519 ;
29520 return 0;
29521 }
29522 _ACEOF
29523 if ac_fn_cxx_try_compile "$LINENO"; then :
29524 wx_cv_func_broken_vsnprintf_decl=no
29525 else
29526 wx_cv_func_broken_vsnprintf_decl=yes
29527
29528 fi
29529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29530
29531
29532 fi
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29534 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29535
29536 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29537 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29538
29539 fi
29540 fi
29541 fi
29542
29543 if test "$ac_cv_func_snprintf" = "yes"; then
29544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29545 $as_echo_n "checking for snprintf declaration... " >&6; }
29546 if test "${wx_cv_func_snprintf_decl+set}" = set; then :
29547 $as_echo_n "(cached) " >&6
29548 else
29549
29550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h. */
29552
29553 #include <stdio.h>
29554 #include <stdarg.h>
29555 #ifdef __MSL__
29556 #if __MSL__ >= 0x6000
29557 namespace std {}
29558 using namespace std;
29559 #endif
29560 #endif
29561
29562 int
29563 main ()
29564 {
29565
29566 char *buf;
29567 snprintf(buf, 10u, "%s", "wx");
29568
29569 ;
29570 return 0;
29571 }
29572 _ACEOF
29573 if ac_fn_cxx_try_compile "$LINENO"; then :
29574 wx_cv_func_snprintf_decl=yes
29575 else
29576 wx_cv_func_snprintf_decl=no
29577
29578 fi
29579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29580
29581
29582 fi
29583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29584 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29585
29586 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29587 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29588
29589 fi
29590
29591 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29592
29593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29594 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29595 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then :
29596 $as_echo_n "(cached) " >&6
29597 else
29598
29599 if test "$cross_compiling" = yes; then :
29600
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29602 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29603 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29604 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29605 wx_cv_func_snprintf_pos_params=no
29606
29607
29608 else
29609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29610 /* end confdefs.h. */
29611
29612 #include <stdio.h>
29613
29614 int main (void)
29615 {
29616 char buffer[128];
29617 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
29618 if (strcmp ("2 3 1", buffer) == 0)
29619 exit (0);
29620 exit (1);
29621 }
29622
29623 _ACEOF
29624 if ac_fn_cxx_try_run "$LINENO"; then :
29625 wx_cv_func_snprintf_pos_params=no
29626 else
29627 wx_cv_func_snprintf_pos_params=yes
29628 fi
29629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29630 conftest.$ac_objext conftest.beam conftest.$ac_ext
29631 fi
29632
29633
29634
29635 fi
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
29637 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
29638
29639 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
29640 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
29641
29642 fi
29643 fi
29644 fi
29645
29646 if test "$ac_cv_func_vsscanf" = "yes"; then
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
29648 $as_echo_n "checking for vsscanf declaration... " >&6; }
29649 if test "${wx_cv_func_vsscanf_decl+set}" = set; then :
29650 $as_echo_n "(cached) " >&6
29651 else
29652
29653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29654 /* end confdefs.h. */
29655
29656 #include <stdio.h>
29657 #include <stdarg.h>
29658 #ifdef __MSL__
29659 #if __MSL__ >= 0x6000
29660 namespace std {}
29661 using namespace std;
29662 #endif
29663 #endif
29664
29665 int
29666 main ()
29667 {
29668
29669 char *buf;
29670 va_list args;
29671 vsscanf(buf, "%s", args);
29672
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678 wx_cv_func_vsscanf_decl=yes
29679 else
29680 wx_cv_func_vsscanf_decl=no
29681
29682 fi
29683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29684
29685
29686 fi
29687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
29688 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
29689
29690 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
29691 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
29692
29693 fi
29694 fi
29695 ac_ext=c
29696 ac_cpp='$CPP $CPPFLAGS'
29697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29700
29701
29702 if test "$wxUSE_UNICODE" = yes; then
29703
29704 wchar_headers="#include <stdio.h>
29705 #include <wchar.h>"
29706 case "${host}" in
29707 *-*-solaris2* )
29708 for ac_header in widec.h
29709 do :
29710 ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
29711 "
29712 if test "x$ac_cv_header_widec_h" = x""yes; then :
29713 cat >>confdefs.h <<_ACEOF
29714 #define HAVE_WIDEC_H 1
29715 _ACEOF
29716
29717 fi
29718
29719 done
29720
29721 if test "$ac_cv_header_widec_h" = "yes"; then
29722 wchar_headers="$wchar_headers
29723 #include <widec.h>"
29724 fi
29725 esac
29726
29727
29728 for wx_func in putws fputws wprintf vswprintf vswscanf
29729 do
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29731 $as_echo_n "checking for $wx_func... " >&6; }
29732 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29733 $as_echo_n "(cached) " >&6
29734 else
29735
29736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h. */
29738
29739
29740 $wchar_headers
29741 $ac_includes_default
29742
29743 int
29744 main ()
29745 {
29746
29747 #ifndef $wx_func
29748 &$wx_func;
29749 #endif
29750
29751
29752 ;
29753 return 0;
29754 }
29755
29756 _ACEOF
29757 if ac_fn_c_try_link "$LINENO"; then :
29758 eval wx_cv_func_$wx_func=yes
29759 else
29760 eval wx_cv_func_$wx_func=no
29761 fi
29762 rm -f core conftest.err conftest.$ac_objext \
29763 conftest$ac_exeext conftest.$ac_ext
29764
29765 fi
29766 eval ac_res=\$wx_cv_func_$wx_func
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29768 $as_echo "$ac_res" >&6; }
29769
29770 if eval test \$wx_cv_func_$wx_func = yes
29771 then
29772 cat >>confdefs.h <<_ACEOF
29773 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29774 _ACEOF
29775
29776
29777 else
29778 :
29779
29780 fi
29781 done
29782
29783
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
29785 $as_echo_n "checking for _vsnwprintf... " >&6; }
29786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29787 /* end confdefs.h. */
29788 #include <wchar.h>
29789 int
29790 main ()
29791 {
29792 &_vsnwprintf;
29793 ;
29794 return 0;
29795 }
29796 _ACEOF
29797 if ac_fn_c_try_compile "$LINENO"; then :
29798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29799 $as_echo "yes" >&6; }
29800 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
29801
29802 else
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29804 $as_echo "no" >&6; }
29805 fi
29806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
29807 fi
29808
29809 if test "$wxUSE_FILE" = "yes"; then
29810
29811 for wx_func in fsync
29812 do
29813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29814 $as_echo_n "checking for $wx_func... " >&6; }
29815 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29816 $as_echo_n "(cached) " >&6
29817 else
29818
29819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29820 /* end confdefs.h. */
29821
29822
29823
29824 $ac_includes_default
29825
29826 int
29827 main ()
29828 {
29829
29830 #ifndef $wx_func
29831 &$wx_func;
29832 #endif
29833
29834
29835 ;
29836 return 0;
29837 }
29838
29839 _ACEOF
29840 if ac_fn_c_try_link "$LINENO"; then :
29841 eval wx_cv_func_$wx_func=yes
29842 else
29843 eval wx_cv_func_$wx_func=no
29844 fi
29845 rm -f core conftest.err conftest.$ac_objext \
29846 conftest$ac_exeext conftest.$ac_ext
29847
29848 fi
29849 eval ac_res=\$wx_cv_func_$wx_func
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29851 $as_echo "$ac_res" >&6; }
29852
29853 if eval test \$wx_cv_func_$wx_func = yes
29854 then
29855 cat >>confdefs.h <<_ACEOF
29856 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29857 _ACEOF
29858
29859
29860 else
29861 :
29862
29863 fi
29864 done
29865
29866 fi
29867
29868 ac_ext=cpp
29869 ac_cpp='$CXXCPP $CPPFLAGS'
29870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29873
29874
29875 for wx_func in round
29876 do
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
29878 $as_echo_n "checking for $wx_func... " >&6; }
29879 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
29880 $as_echo_n "(cached) " >&6
29881 else
29882
29883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h. */
29885
29886
29887 #include <math.h>
29888 $ac_includes_default
29889
29890 int
29891 main ()
29892 {
29893
29894 #ifndef $wx_func
29895 &$wx_func;
29896 #endif
29897
29898
29899 ;
29900 return 0;
29901 }
29902
29903 _ACEOF
29904 if ac_fn_cxx_try_link "$LINENO"; then :
29905 eval wx_cv_func_$wx_func=yes
29906 else
29907 eval wx_cv_func_$wx_func=no
29908 fi
29909 rm -f core conftest.err conftest.$ac_objext \
29910 conftest$ac_exeext conftest.$ac_ext
29911
29912 fi
29913 eval ac_res=\$wx_cv_func_$wx_func
29914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
29915 $as_echo "$ac_res" >&6; }
29916
29917 if eval test \$wx_cv_func_$wx_func = yes
29918 then
29919 cat >>confdefs.h <<_ACEOF
29920 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
29921 _ACEOF
29922
29923
29924 else
29925 :
29926
29927 fi
29928 done
29929
29930 ac_ext=c
29931 ac_cpp='$CPP $CPPFLAGS'
29932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29935
29936
29937 if test "$TOOLKIT" != "MSW"; then
29938
29939 if test "$wxUSE_LIBICONV" != "no" ; then
29940
29941
29942
29943 # Check whether --with-libiconv-prefix was given.
29944 if test "${with_libiconv_prefix+set}" = set; then :
29945 withval=$with_libiconv_prefix;
29946 for dir in `echo "$withval" | tr : ' '`; do
29947 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
29948 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
29949 done
29950
29951 fi
29952
29953
29954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29955 $as_echo_n "checking for iconv... " >&6; }
29956 if test "${am_cv_func_iconv+set}" = set; then :
29957 $as_echo_n "(cached) " >&6
29958 else
29959
29960 am_cv_func_iconv="no, consider installing GNU libiconv"
29961 am_cv_lib_iconv=no
29962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29963 /* end confdefs.h. */
29964 #include <stdlib.h>
29965 #include <iconv.h>
29966 int
29967 main ()
29968 {
29969 iconv_t cd = iconv_open("","");
29970 iconv(cd,NULL,NULL,NULL,NULL);
29971 iconv_close(cd);
29972 ;
29973 return 0;
29974 }
29975 _ACEOF
29976 if ac_fn_c_try_link "$LINENO"; then :
29977 am_cv_func_iconv=yes
29978 fi
29979 rm -f core conftest.err conftest.$ac_objext \
29980 conftest$ac_exeext conftest.$ac_ext
29981 if test "$am_cv_func_iconv" != yes; then
29982 am_save_LIBS="$LIBS"
29983 LIBS="$LIBS -liconv"
29984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29985 /* end confdefs.h. */
29986 #include <stdlib.h>
29987 #include <iconv.h>
29988 int
29989 main ()
29990 {
29991 iconv_t cd = iconv_open("","");
29992 iconv(cd,NULL,NULL,NULL,NULL);
29993 iconv_close(cd);
29994 ;
29995 return 0;
29996 }
29997 _ACEOF
29998 if ac_fn_c_try_link "$LINENO"; then :
29999 am_cv_lib_iconv=yes
30000 am_cv_func_iconv=yes
30001 fi
30002 rm -f core conftest.err conftest.$ac_objext \
30003 conftest$ac_exeext conftest.$ac_ext
30004 LIBS="$am_save_LIBS"
30005 fi
30006
30007 fi
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30009 $as_echo "$am_cv_func_iconv" >&6; }
30010 if test "$am_cv_func_iconv" = yes; then
30011
30012 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30013
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30015 $as_echo_n "checking if iconv needs const... " >&6; }
30016 if test "${wx_cv_func_iconv_const+set}" = set; then :
30017 $as_echo_n "(cached) " >&6
30018 else
30019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30020 /* end confdefs.h. */
30021
30022 #include <stdlib.h>
30023 #include <iconv.h>
30024 extern
30025 #ifdef __cplusplus
30026 "C"
30027 #endif
30028 #if defined(__STDC__) || defined(__cplusplus)
30029 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30030 #else
30031 size_t iconv();
30032 #endif
30033
30034 int
30035 main ()
30036 {
30037
30038 ;
30039 return 0;
30040 }
30041 _ACEOF
30042 if ac_fn_c_try_compile "$LINENO"; then :
30043 wx_cv_func_iconv_const="no"
30044 else
30045 wx_cv_func_iconv_const="yes"
30046
30047 fi
30048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30049
30050 fi
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30052 $as_echo "$wx_cv_func_iconv_const" >&6; }
30053
30054 iconv_const=
30055 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30056 iconv_const="const"
30057 fi
30058
30059
30060 cat >>confdefs.h <<_ACEOF
30061 #define ICONV_CONST $iconv_const
30062 _ACEOF
30063
30064 fi
30065 LIBICONV=
30066 if test "$am_cv_lib_iconv" = yes; then
30067 LIBICONV="-liconv"
30068 fi
30069
30070
30071 LIBS="$LIBICONV $LIBS"
30072 fi
30073
30074 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30075 for ac_func in sigaction
30076 do :
30077 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
30078 if test "x$ac_cv_func_sigaction" = x""yes; then :
30079 cat >>confdefs.h <<_ACEOF
30080 #define HAVE_SIGACTION 1
30081 _ACEOF
30082
30083 fi
30084 done
30085
30086
30087 if test "$ac_cv_func_sigaction" = "no"; then
30088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30089 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30090 wxUSE_ON_FATAL_EXCEPTION=no
30091 fi
30092
30093 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30095 $as_echo_n "checking for sa_handler type... " >&6; }
30096 if test "${wx_cv_type_sa_handler+set}" = set; then :
30097 $as_echo_n "(cached) " >&6
30098 else
30099
30100 ac_ext=cpp
30101 ac_cpp='$CXXCPP $CPPFLAGS'
30102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30105
30106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30107 /* end confdefs.h. */
30108 #include <signal.h>
30109 int
30110 main ()
30111 {
30112
30113 extern void testSigHandler(int);
30114
30115 struct sigaction sa;
30116 sa.sa_handler = testSigHandler;
30117
30118 ;
30119 return 0;
30120 }
30121 _ACEOF
30122 if ac_fn_cxx_try_compile "$LINENO"; then :
30123
30124 wx_cv_type_sa_handler=int
30125
30126 else
30127
30128 wx_cv_type_sa_handler=void
30129
30130 fi
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132 ac_ext=c
30133 ac_cpp='$CPP $CPPFLAGS'
30134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137
30138
30139 fi
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30141 $as_echo "$wx_cv_type_sa_handler" >&6; }
30142
30143 cat >>confdefs.h <<_ACEOF
30144 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30145 _ACEOF
30146
30147 fi
30148 fi
30149
30150 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30152 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30153 if test "${wx_cv_func_backtrace+set}" = set; then :
30154 $as_echo_n "(cached) " >&6
30155 else
30156
30157 ac_ext=cpp
30158 ac_cpp='$CXXCPP $CPPFLAGS'
30159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30162
30163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30164 /* end confdefs.h. */
30165 #include <execinfo.h>
30166 int
30167 main ()
30168 {
30169
30170 void *trace[1];
30171 char **messages;
30172
30173 backtrace(trace, 1);
30174 messages = backtrace_symbols(trace, 1);
30175
30176 ;
30177 return 0;
30178 }
30179 _ACEOF
30180 if ac_fn_cxx_try_compile "$LINENO"; then :
30181 wx_cv_func_backtrace=yes
30182 else
30183 wx_cv_func_backtrace=no
30184
30185 fi
30186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30187 ac_ext=c
30188 ac_cpp='$CPP $CPPFLAGS'
30189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30192
30193
30194
30195 fi
30196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30197 $as_echo "$wx_cv_func_backtrace" >&6; }
30198
30199
30200 if test "$wx_cv_func_backtrace" = "no"; then
30201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30202 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30203 wxUSE_STACKWALKER=no
30204 else
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30206 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30207 if test "${wx_cv_func_cxa_demangle+set}" = set; then :
30208 $as_echo_n "(cached) " >&6
30209 else
30210
30211 ac_ext=cpp
30212 ac_cpp='$CXXCPP $CPPFLAGS'
30213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30216
30217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30218 /* end confdefs.h. */
30219 #include <cxxabi.h>
30220 int
30221 main ()
30222 {
30223
30224 int rc;
30225 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30226
30227 ;
30228 return 0;
30229 }
30230 _ACEOF
30231 if ac_fn_cxx_try_link "$LINENO"; then :
30232 wx_cv_func_cxa_demangle=yes
30233 else
30234 wx_cv_func_cxa_demangle=no
30235
30236 fi
30237 rm -f core conftest.err conftest.$ac_objext \
30238 conftest$ac_exeext conftest.$ac_ext
30239 ac_ext=c
30240 ac_cpp='$CPP $CPPFLAGS'
30241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30244
30245
30246
30247 fi
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30249 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30250
30251 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30252 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30253
30254 fi
30255 fi
30256 fi
30257
30258 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30260 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30261 wxUSE_STACKWALKER=no
30262 fi
30263
30264
30265 for ac_func in mkstemp mktemp
30266 do :
30267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30270 cat >>confdefs.h <<_ACEOF
30271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30272 _ACEOF
30273 break
30274 fi
30275 done
30276
30277
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30279 $as_echo_n "checking for statfs... " >&6; }
30280 if test "${wx_cv_func_statfs+set}" = set; then :
30281 $as_echo_n "(cached) " >&6
30282 else
30283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30284 /* end confdefs.h. */
30285
30286 #if defined(__BSD__)
30287 #include <sys/param.h>
30288 #include <sys/mount.h>
30289 #else
30290 #include <sys/vfs.h>
30291 #endif
30292
30293 int
30294 main ()
30295 {
30296
30297 long l;
30298 struct statfs fs;
30299 statfs("/", &fs);
30300 l = fs.f_bsize;
30301 l += fs.f_blocks;
30302 l += fs.f_bavail;
30303
30304 ;
30305 return 0;
30306 }
30307 _ACEOF
30308 if ac_fn_c_try_compile "$LINENO"; then :
30309 wx_cv_func_statfs=yes
30310 else
30311 wx_cv_func_statfs=no
30312
30313 fi
30314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30315
30316 fi
30317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30318 $as_echo "$wx_cv_func_statfs" >&6; }
30319
30320 if test "$wx_cv_func_statfs" = "yes"; then
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30322 $as_echo_n "checking for statfs declaration... " >&6; }
30323 if test "${wx_cv_func_statfs_decl+set}" = set; then :
30324 $as_echo_n "(cached) " >&6
30325 else
30326 ac_ext=cpp
30327 ac_cpp='$CXXCPP $CPPFLAGS'
30328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30331
30332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30333 /* end confdefs.h. */
30334
30335 #if defined(__BSD__)
30336 #include <sys/param.h>
30337 #include <sys/mount.h>
30338 #else
30339 #include <sys/vfs.h>
30340 #endif
30341
30342 int
30343 main ()
30344 {
30345
30346 struct statfs fs;
30347 statfs("", &fs);
30348
30349 ;
30350 return 0;
30351 }
30352 _ACEOF
30353 if ac_fn_cxx_try_compile "$LINENO"; then :
30354 wx_cv_func_statfs_decl=yes
30355 else
30356 wx_cv_func_statfs_decl=no
30357
30358 fi
30359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30360 ac_ext=c
30361 ac_cpp='$CPP $CPPFLAGS'
30362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30365
30366
30367 fi
30368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30369 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30370
30371 if test "$wx_cv_func_statfs_decl" = "yes"; then
30372 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30373
30374 fi
30375
30376 wx_cv_type_statvfs_t="struct statfs"
30377 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30378
30379 else
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30381 $as_echo_n "checking for statvfs... " >&6; }
30382 if test "${wx_cv_func_statvfs+set}" = set; then :
30383 $as_echo_n "(cached) " >&6
30384 else
30385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30386 /* end confdefs.h. */
30387
30388 #include <stddef.h>
30389 #include <sys/statvfs.h>
30390
30391 int
30392 main ()
30393 {
30394
30395 statvfs("/", NULL);
30396
30397 ;
30398 return 0;
30399 }
30400 _ACEOF
30401 if ac_fn_c_try_compile "$LINENO"; then :
30402 wx_cv_func_statvfs=yes
30403 else
30404 wx_cv_func_statvfs=no
30405
30406 fi
30407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30408
30409 fi
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30411 $as_echo "$wx_cv_func_statvfs" >&6; }
30412
30413 if test "$wx_cv_func_statvfs" = "yes"; then
30414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30415 $as_echo_n "checking for statvfs argument type... " >&6; }
30416 if test "${wx_cv_type_statvfs_t+set}" = set; then :
30417 $as_echo_n "(cached) " >&6
30418 else
30419 ac_ext=cpp
30420 ac_cpp='$CXXCPP $CPPFLAGS'
30421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30424
30425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30426 /* end confdefs.h. */
30427
30428 #include <sys/statvfs.h>
30429
30430 int
30431 main ()
30432 {
30433
30434 long l;
30435 statvfs_t fs;
30436 statvfs("/", &fs);
30437 l = fs.f_bsize;
30438 l += fs.f_blocks;
30439 l += fs.f_bavail;
30440
30441 ;
30442 return 0;
30443 }
30444 _ACEOF
30445 if ac_fn_cxx_try_compile "$LINENO"; then :
30446 wx_cv_type_statvfs_t=statvfs_t
30447 else
30448
30449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30450 /* end confdefs.h. */
30451
30452 #include <sys/statvfs.h>
30453
30454 int
30455 main ()
30456 {
30457
30458 long l;
30459 struct statvfs fs;
30460 statvfs("/", &fs);
30461 l = fs.f_bsize;
30462 l += fs.f_blocks;
30463 l += fs.f_bavail;
30464
30465 ;
30466 return 0;
30467 }
30468 _ACEOF
30469 if ac_fn_cxx_try_compile "$LINENO"; then :
30470 wx_cv_type_statvfs_t="struct statvfs"
30471 else
30472 wx_cv_type_statvfs_t="unknown"
30473
30474 fi
30475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30476
30477
30478 fi
30479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30480 ac_ext=c
30481 ac_cpp='$CPP $CPPFLAGS'
30482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30485
30486
30487 fi
30488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30489 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30490
30491 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30492 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30493
30494 fi
30495 else
30496 wx_cv_type_statvfs_t="unknown"
30497 fi
30498 fi
30499
30500 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30501 cat >>confdefs.h <<_ACEOF
30502 #define WX_STATFS_T $wx_cv_type_statvfs_t
30503 _ACEOF
30504
30505 else
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30507 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30508 fi
30509
30510 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30511 for ac_func in fcntl flock
30512 do :
30513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30515 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30516 cat >>confdefs.h <<_ACEOF
30517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30518 _ACEOF
30519 break
30520 fi
30521 done
30522
30523
30524 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30526 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30527 wxUSE_SNGLINST_CHECKER=no
30528 fi
30529 fi
30530
30531 for ac_func in setenv putenv
30532 do :
30533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30535 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30536 cat >>confdefs.h <<_ACEOF
30537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30538 _ACEOF
30539 break
30540 fi
30541 done
30542
30543 if test "$ac_cv_func_setenv" = "yes"; then
30544 for ac_func in unsetenv
30545 do :
30546 ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30547 if test "x$ac_cv_func_unsetenv" = x""yes; then :
30548 cat >>confdefs.h <<_ACEOF
30549 #define HAVE_UNSETENV 1
30550 _ACEOF
30551
30552 fi
30553 done
30554
30555 fi
30556
30557 HAVE_SOME_SLEEP_FUNC=0
30558 if test "$USE_BEOS" = 1; then
30559 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
30560
30561 HAVE_SOME_SLEEP_FUNC=1
30562 fi
30563
30564 if test "$USE_DARWIN" = 1; then
30565 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
30566
30567 HAVE_SOME_SLEEP_FUNC=1
30568 fi
30569
30570 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
30571 POSIX4_LINK=
30572 for ac_func in nanosleep
30573 do :
30574 ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
30575 if test "x$ac_cv_func_nanosleep" = x""yes; then :
30576 cat >>confdefs.h <<_ACEOF
30577 #define HAVE_NANOSLEEP 1
30578 _ACEOF
30579 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30580
30581 else
30582
30583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
30584 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
30585 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then :
30586 $as_echo_n "(cached) " >&6
30587 else
30588 ac_check_lib_save_LIBS=$LIBS
30589 LIBS="-lposix4 $LIBS"
30590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30591 /* end confdefs.h. */
30592
30593 /* Override any GCC internal prototype to avoid an error.
30594 Use char because int might match the return type of a GCC
30595 builtin and then its argument prototype would still apply. */
30596 #ifdef __cplusplus
30597 extern "C"
30598 #endif
30599 char nanosleep ();
30600 int
30601 main ()
30602 {
30603 return nanosleep ();
30604 ;
30605 return 0;
30606 }
30607 _ACEOF
30608 if ac_fn_c_try_link "$LINENO"; then :
30609 ac_cv_lib_posix4_nanosleep=yes
30610 else
30611 ac_cv_lib_posix4_nanosleep=no
30612 fi
30613 rm -f core conftest.err conftest.$ac_objext \
30614 conftest$ac_exeext conftest.$ac_ext
30615 LIBS=$ac_check_lib_save_LIBS
30616 fi
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
30618 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
30619 if test "x$ac_cv_lib_posix4_nanosleep" = x""yes; then :
30620
30621 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
30622
30623 POSIX4_LINK=" -lposix4"
30624
30625 else
30626
30627
30628 for wx_func in usleep
30629 do
30630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30631 $as_echo_n "checking for $wx_func... " >&6; }
30632 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30633 $as_echo_n "(cached) " >&6
30634 else
30635
30636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30637 /* end confdefs.h. */
30638
30639
30640
30641 $ac_includes_default
30642
30643 int
30644 main ()
30645 {
30646
30647 #ifndef $wx_func
30648 &$wx_func;
30649 #endif
30650
30651
30652 ;
30653 return 0;
30654 }
30655
30656 _ACEOF
30657 if ac_fn_c_try_link "$LINENO"; then :
30658 eval wx_cv_func_$wx_func=yes
30659 else
30660 eval wx_cv_func_$wx_func=no
30661 fi
30662 rm -f core conftest.err conftest.$ac_objext \
30663 conftest$ac_exeext conftest.$ac_ext
30664
30665 fi
30666 eval ac_res=\$wx_cv_func_$wx_func
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30668 $as_echo "$ac_res" >&6; }
30669
30670 if eval test \$wx_cv_func_$wx_func = yes
30671 then
30672 cat >>confdefs.h <<_ACEOF
30673 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30674 _ACEOF
30675
30676
30677 else
30678 :
30679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
30680 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
30681
30682 fi
30683 done
30684
30685
30686
30687 fi
30688
30689
30690
30691 fi
30692 done
30693
30694 fi
30695
30696
30697 for wx_func in uname
30698 do
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30700 $as_echo_n "checking for $wx_func... " >&6; }
30701 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30702 $as_echo_n "(cached) " >&6
30703 else
30704
30705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30706 /* end confdefs.h. */
30707
30708
30709 #include <sys/utsname.h>
30710 $ac_includes_default
30711
30712 int
30713 main ()
30714 {
30715
30716 #ifndef $wx_func
30717 &$wx_func;
30718 #endif
30719
30720
30721 ;
30722 return 0;
30723 }
30724
30725 _ACEOF
30726 if ac_fn_c_try_link "$LINENO"; then :
30727 eval wx_cv_func_$wx_func=yes
30728 else
30729 eval wx_cv_func_$wx_func=no
30730 fi
30731 rm -f core conftest.err conftest.$ac_objext \
30732 conftest$ac_exeext conftest.$ac_ext
30733
30734 fi
30735 eval ac_res=\$wx_cv_func_$wx_func
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30737 $as_echo "$ac_res" >&6; }
30738
30739 if eval test \$wx_cv_func_$wx_func = yes
30740 then
30741 cat >>confdefs.h <<_ACEOF
30742 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30743 _ACEOF
30744
30745
30746 else
30747 :
30748
30749 fi
30750 done
30751
30752 if test "$wx_cv_func_uname" != yes; then
30753
30754 for wx_func in gethostname
30755 do
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30757 $as_echo_n "checking for $wx_func... " >&6; }
30758 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30759 $as_echo_n "(cached) " >&6
30760 else
30761
30762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30763 /* end confdefs.h. */
30764
30765
30766
30767 $ac_includes_default
30768
30769 int
30770 main ()
30771 {
30772
30773 #ifndef $wx_func
30774 &$wx_func;
30775 #endif
30776
30777
30778 ;
30779 return 0;
30780 }
30781
30782 _ACEOF
30783 if ac_fn_c_try_link "$LINENO"; then :
30784 eval wx_cv_func_$wx_func=yes
30785 else
30786 eval wx_cv_func_$wx_func=no
30787 fi
30788 rm -f core conftest.err conftest.$ac_objext \
30789 conftest$ac_exeext conftest.$ac_ext
30790
30791 fi
30792 eval ac_res=\$wx_cv_func_$wx_func
30793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30794 $as_echo "$ac_res" >&6; }
30795
30796 if eval test \$wx_cv_func_$wx_func = yes
30797 then
30798 cat >>confdefs.h <<_ACEOF
30799 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30800 _ACEOF
30801
30802
30803 else
30804 :
30805
30806 fi
30807 done
30808
30809 fi
30810
30811
30812 for wx_func in strtok_r
30813 do
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30815 $as_echo_n "checking for $wx_func... " >&6; }
30816 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
30817 $as_echo_n "(cached) " >&6
30818 else
30819
30820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30821 /* end confdefs.h. */
30822
30823
30824 #define _REENTRANT
30825 $ac_includes_default
30826
30827 int
30828 main ()
30829 {
30830
30831 #ifndef $wx_func
30832 &$wx_func;
30833 #endif
30834
30835
30836 ;
30837 return 0;
30838 }
30839
30840 _ACEOF
30841 if ac_fn_c_try_link "$LINENO"; then :
30842 eval wx_cv_func_$wx_func=yes
30843 else
30844 eval wx_cv_func_$wx_func=no
30845 fi
30846 rm -f core conftest.err conftest.$ac_objext \
30847 conftest$ac_exeext conftest.$ac_ext
30848
30849 fi
30850 eval ac_res=\$wx_cv_func_$wx_func
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30852 $as_echo "$ac_res" >&6; }
30853
30854 if eval test \$wx_cv_func_$wx_func = yes
30855 then
30856 cat >>confdefs.h <<_ACEOF
30857 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30858 _ACEOF
30859
30860
30861 else
30862 :
30863
30864 fi
30865 done
30866
30867
30868 INET_LINK=
30869 for ac_func in inet_addr
30870 do :
30871 ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
30872 if test "x$ac_cv_func_inet_addr" = x""yes; then :
30873 cat >>confdefs.h <<_ACEOF
30874 #define HAVE_INET_ADDR 1
30875 _ACEOF
30876 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
30877
30878 else
30879
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
30881 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
30882 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then :
30883 $as_echo_n "(cached) " >&6
30884 else
30885 ac_check_lib_save_LIBS=$LIBS
30886 LIBS="-lnsl $LIBS"
30887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30888 /* end confdefs.h. */
30889
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30893 #ifdef __cplusplus
30894 extern "C"
30895 #endif
30896 char inet_addr ();
30897 int
30898 main ()
30899 {
30900 return inet_addr ();
30901 ;
30902 return 0;
30903 }
30904 _ACEOF
30905 if ac_fn_c_try_link "$LINENO"; then :
30906 ac_cv_lib_nsl_inet_addr=yes
30907 else
30908 ac_cv_lib_nsl_inet_addr=no
30909 fi
30910 rm -f core conftest.err conftest.$ac_objext \
30911 conftest$ac_exeext conftest.$ac_ext
30912 LIBS=$ac_check_lib_save_LIBS
30913 fi
30914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
30915 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
30916 if test "x$ac_cv_lib_nsl_inet_addr" = x""yes; then :
30917 INET_LINK="nsl"
30918 else
30919
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
30921 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
30922 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then :
30923 $as_echo_n "(cached) " >&6
30924 else
30925 ac_check_lib_save_LIBS=$LIBS
30926 LIBS="-lresolv $LIBS"
30927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30928 /* end confdefs.h. */
30929
30930 /* Override any GCC internal prototype to avoid an error.
30931 Use char because int might match the return type of a GCC
30932 builtin and then its argument prototype would still apply. */
30933 #ifdef __cplusplus
30934 extern "C"
30935 #endif
30936 char inet_addr ();
30937 int
30938 main ()
30939 {
30940 return inet_addr ();
30941 ;
30942 return 0;
30943 }
30944 _ACEOF
30945 if ac_fn_c_try_link "$LINENO"; then :
30946 ac_cv_lib_resolv_inet_addr=yes
30947 else
30948 ac_cv_lib_resolv_inet_addr=no
30949 fi
30950 rm -f core conftest.err conftest.$ac_objext \
30951 conftest$ac_exeext conftest.$ac_ext
30952 LIBS=$ac_check_lib_save_LIBS
30953 fi
30954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
30955 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
30956 if test "x$ac_cv_lib_resolv_inet_addr" = x""yes; then :
30957 INET_LINK="resolv"
30958 else
30959
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
30961 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
30962 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then :
30963 $as_echo_n "(cached) " >&6
30964 else
30965 ac_check_lib_save_LIBS=$LIBS
30966 LIBS="-lsocket $LIBS"
30967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30968 /* end confdefs.h. */
30969
30970 /* Override any GCC internal prototype to avoid an error.
30971 Use char because int might match the return type of a GCC
30972 builtin and then its argument prototype would still apply. */
30973 #ifdef __cplusplus
30974 extern "C"
30975 #endif
30976 char inet_addr ();
30977 int
30978 main ()
30979 {
30980 return inet_addr ();
30981 ;
30982 return 0;
30983 }
30984 _ACEOF
30985 if ac_fn_c_try_link "$LINENO"; then :
30986 ac_cv_lib_socket_inet_addr=yes
30987 else
30988 ac_cv_lib_socket_inet_addr=no
30989 fi
30990 rm -f core conftest.err conftest.$ac_objext \
30991 conftest$ac_exeext conftest.$ac_ext
30992 LIBS=$ac_check_lib_save_LIBS
30993 fi
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
30995 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
30996 if test "x$ac_cv_lib_socket_inet_addr" = x""yes; then :
30997 INET_LINK="socket"
30998
30999 fi
31000
31001
31002
31003 fi
31004
31005
31006
31007 fi
31008
31009
31010
31011 fi
31012 done
31013
31014
31015 for ac_func in inet_aton
31016 do :
31017 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31018 if test "x$ac_cv_func_inet_aton" = x""yes; then :
31019 cat >>confdefs.h <<_ACEOF
31020 #define HAVE_INET_ATON 1
31021 _ACEOF
31022 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31023
31024 else
31025
31026 as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31028 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31029 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
31030 $as_echo_n "(cached) " >&6
31031 else
31032 ac_check_lib_save_LIBS=$LIBS
31033 LIBS="-l$INET_LINK $LIBS"
31034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31035 /* end confdefs.h. */
31036
31037 /* Override any GCC internal prototype to avoid an error.
31038 Use char because int might match the return type of a GCC
31039 builtin and then its argument prototype would still apply. */
31040 #ifdef __cplusplus
31041 extern "C"
31042 #endif
31043 char inet_aton ();
31044 int
31045 main ()
31046 {
31047 return inet_aton ();
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 if ac_fn_c_try_link "$LINENO"; then :
31053 eval "$as_ac_Lib=yes"
31054 else
31055 eval "$as_ac_Lib=no"
31056 fi
31057 rm -f core conftest.err conftest.$ac_objext \
31058 conftest$ac_exeext conftest.$ac_ext
31059 LIBS=$ac_check_lib_save_LIBS
31060 fi
31061 eval ac_res=\$$as_ac_Lib
31062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31063 $as_echo "$ac_res" >&6; }
31064 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
31065 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31066
31067 fi
31068
31069
31070 fi
31071 done
31072
31073
31074 if test "x$INET_LINK" != "x"; then
31075 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31076
31077 INET_LINK=" -l$INET_LINK"
31078 fi
31079
31080
31081 for wx_func in fdopen
31082 do
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31084 $as_echo_n "checking for $wx_func... " >&6; }
31085 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31086 $as_echo_n "(cached) " >&6
31087 else
31088
31089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31090 /* end confdefs.h. */
31091
31092
31093
31094 $ac_includes_default
31095
31096 int
31097 main ()
31098 {
31099
31100 #ifndef $wx_func
31101 &$wx_func;
31102 #endif
31103
31104
31105 ;
31106 return 0;
31107 }
31108
31109 _ACEOF
31110 if ac_fn_c_try_link "$LINENO"; then :
31111 eval wx_cv_func_$wx_func=yes
31112 else
31113 eval wx_cv_func_$wx_func=no
31114 fi
31115 rm -f core conftest.err conftest.$ac_objext \
31116 conftest$ac_exeext conftest.$ac_ext
31117
31118 fi
31119 eval ac_res=\$wx_cv_func_$wx_func
31120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31121 $as_echo "$ac_res" >&6; }
31122
31123 if eval test \$wx_cv_func_$wx_func = yes
31124 then
31125 cat >>confdefs.h <<_ACEOF
31126 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31127 _ACEOF
31128
31129
31130 else
31131 :
31132
31133 fi
31134 done
31135
31136
31137 if test "$wxUSE_TARSTREAM" = "yes"; then
31138
31139 for wx_func in sysconf
31140 do
31141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31142 $as_echo_n "checking for $wx_func... " >&6; }
31143 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31144 $as_echo_n "(cached) " >&6
31145 else
31146
31147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31148 /* end confdefs.h. */
31149
31150
31151
31152 $ac_includes_default
31153
31154 int
31155 main ()
31156 {
31157
31158 #ifndef $wx_func
31159 &$wx_func;
31160 #endif
31161
31162
31163 ;
31164 return 0;
31165 }
31166
31167 _ACEOF
31168 if ac_fn_c_try_link "$LINENO"; then :
31169 eval wx_cv_func_$wx_func=yes
31170 else
31171 eval wx_cv_func_$wx_func=no
31172 fi
31173 rm -f core conftest.err conftest.$ac_objext \
31174 conftest$ac_exeext conftest.$ac_ext
31175
31176 fi
31177 eval ac_res=\$wx_cv_func_$wx_func
31178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31179 $as_echo "$ac_res" >&6; }
31180
31181 if eval test \$wx_cv_func_$wx_func = yes
31182 then
31183 cat >>confdefs.h <<_ACEOF
31184 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31185 _ACEOF
31186
31187
31188 else
31189 :
31190
31191 fi
31192 done
31193
31194
31195
31196 for wx_func in getpwuid_r
31197 do
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31199 $as_echo_n "checking for $wx_func... " >&6; }
31200 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31201 $as_echo_n "(cached) " >&6
31202 else
31203
31204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31205 /* end confdefs.h. */
31206
31207
31208
31209 #define _REENTRANT
31210 #include <pwd.h>
31211
31212 $ac_includes_default
31213
31214 int
31215 main ()
31216 {
31217
31218 #ifndef $wx_func
31219 &$wx_func;
31220 #endif
31221
31222 struct passwd pw, *ppw;
31223 char buf[1024];
31224 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31225
31226
31227 ;
31228 return 0;
31229 }
31230
31231 _ACEOF
31232 if ac_fn_c_try_link "$LINENO"; then :
31233 eval wx_cv_func_$wx_func=yes
31234 else
31235 eval wx_cv_func_$wx_func=no
31236 fi
31237 rm -f core conftest.err conftest.$ac_objext \
31238 conftest$ac_exeext conftest.$ac_ext
31239
31240 fi
31241 eval ac_res=\$wx_cv_func_$wx_func
31242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31243 $as_echo "$ac_res" >&6; }
31244
31245 if eval test \$wx_cv_func_$wx_func = yes
31246 then
31247 cat >>confdefs.h <<_ACEOF
31248 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31249 _ACEOF
31250
31251
31252 else
31253 :
31254
31255 fi
31256 done
31257
31258
31259
31260 for wx_func in getgrgid_r
31261 do
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31263 $as_echo_n "checking for $wx_func... " >&6; }
31264 if eval "test \"\${wx_cv_func_$wx_func+set}\"" = set; then :
31265 $as_echo_n "(cached) " >&6
31266 else
31267
31268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31269 /* end confdefs.h. */
31270
31271
31272
31273 #define _REENTRANT
31274 #include <grp.h>
31275
31276 $ac_includes_default
31277
31278 int
31279 main ()
31280 {
31281
31282 #ifndef $wx_func
31283 &$wx_func;
31284 #endif
31285
31286 struct group grp, *pgrp;
31287 char buf[1024];
31288 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31289
31290
31291 ;
31292 return 0;
31293 }
31294
31295 _ACEOF
31296 if ac_fn_c_try_link "$LINENO"; then :
31297 eval wx_cv_func_$wx_func=yes
31298 else
31299 eval wx_cv_func_$wx_func=no
31300 fi
31301 rm -f core conftest.err conftest.$ac_objext \
31302 conftest$ac_exeext conftest.$ac_ext
31303
31304 fi
31305 eval ac_res=\$wx_cv_func_$wx_func
31306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31307 $as_echo "$ac_res" >&6; }
31308
31309 if eval test \$wx_cv_func_$wx_func = yes
31310 then
31311 cat >>confdefs.h <<_ACEOF
31312 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31313 _ACEOF
31314
31315
31316 else
31317 :
31318
31319 fi
31320 done
31321
31322 fi
31323
31324 fi
31325
31326
31327
31328 cat >confcache <<\_ACEOF
31329 # This file is a shell script that caches the results of configure
31330 # tests run on this system so they can be shared between configure
31331 # scripts and configure runs, see configure's option --config-cache.
31332 # It is not useful on other systems. If it contains results you don't
31333 # want to keep, you may remove or edit it.
31334 #
31335 # config.status only pays attention to the cache file if you give it
31336 # the --recheck option to rerun configure.
31337 #
31338 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31339 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31340 # following values.
31341
31342 _ACEOF
31343
31344 # The following way of writing the cache mishandles newlines in values,
31345 # but we know of no workaround that is simple, portable, and efficient.
31346 # So, we kill variables containing newlines.
31347 # Ultrix sh set writes to stderr and can't be redirected directly,
31348 # and sets the high bit in the cache file unless we assign to the vars.
31349 (
31350 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31351 eval ac_val=\$$ac_var
31352 case $ac_val in #(
31353 *${as_nl}*)
31354 case $ac_var in #(
31355 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31356 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31357 esac
31358 case $ac_var in #(
31359 _ | IFS | as_nl) ;; #(
31360 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31361 *) { eval $ac_var=; unset $ac_var;} ;;
31362 esac ;;
31363 esac
31364 done
31365
31366 (set) 2>&1 |
31367 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31368 *${as_nl}ac_space=\ *)
31369 # `set' does not quote correctly, so add quotes: double-quote
31370 # substitution turns \\\\ into \\, and sed turns \\ into \.
31371 sed -n \
31372 "s/'/'\\\\''/g;
31373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31374 ;; #(
31375 *)
31376 # `set' quotes correctly as required by POSIX, so do not add quotes.
31377 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31378 ;;
31379 esac |
31380 sort
31381 ) |
31382 sed '
31383 /^ac_cv_env_/b end
31384 t clear
31385 :clear
31386 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31387 t end
31388 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31389 :end' >>confcache
31390 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31391 if test -w "$cache_file"; then
31392 test "x$cache_file" != "x/dev/null" &&
31393 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31394 $as_echo "$as_me: updating cache $cache_file" >&6;}
31395 cat confcache >$cache_file
31396 else
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31398 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31399 fi
31400 fi
31401 rm -f confcache
31402
31403
31404 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31405
31406
31407 THREADS_LINK=
31408 THREADS_CFLAGS=
31409
31410 if test "$wxUSE_THREADS" = "yes" ; then
31411 if test "$USE_BEOS" = 1; then
31412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31413 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31414 wxUSE_THREADS="no"
31415 fi
31416 fi
31417
31418 if test "$wxUSE_THREADS" = "yes" ; then
31419
31420
31421 THREAD_OPTS="-pthread"
31422 if test "x$SUNCXX" = xyes; then
31423 THREAD_OPTS="-mt lthread $THREAD_OPTS"
31424 fi
31425
31426 case "${host}" in
31427 *-*-solaris2* | *-*-sunos4* )
31428 if test "x$GCC" = "xyes"; then
31429 THREAD_OPTS="-pthreads $THREAD_OPTS"
31430 fi
31431 ;;
31432 *-*-freebsd*)
31433 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
31434 ;;
31435 *-*-darwin* | *-*-cygwin* )
31436 THREAD_OPTS=""
31437 ;;
31438 *-*-aix*)
31439 THREAD_OPTS="pthreads"
31440 ;;
31441 *-hp-hpux* )
31442 if test "x$GCC" = "xyes"; then
31443 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
31444 THREAD_OPTS=""
31445 else
31446 THREAD_OPTS="-mt"
31447 fi
31448 ;;
31449
31450 *-*-irix* )
31451 if test "x$GCC" = "xyes"; then
31452 THREAD_OPTS=""
31453 fi
31454 ;;
31455
31456 *-*-qnx*)
31457 THREAD_OPTS=""
31458 ;;
31459
31460 *-*-*UnixWare*)
31461 if test "x$GCC" != "xyes"; then
31462 THREAD_OPTS="-Ethread"
31463 fi
31464 ;;
31465 esac
31466
31467 case "${host}" in
31468 *-*-qnx*)
31469 THREAD_OPTS="none pthread"
31470 ;;
31471
31472 *)
31473 THREAD_OPTS="$THREAD_OPTS pthread none"
31474 ;;
31475 esac
31476
31477 THREADS_OK=no
31478 for flag in $THREAD_OPTS; do
31479 case $flag in
31480 none)
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31482 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31483 ;;
31484
31485 -*)
31486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31487 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31488 THREADS_CFLAGS="$flag"
31489 ;;
31490
31491 *)
31492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31493 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31494 THREADS_LINK="-l$flag"
31495 ;;
31496 esac
31497
31498 save_LIBS="$LIBS"
31499 save_CFLAGS="$CFLAGS"
31500 LIBS="$THREADS_LINK $LIBS"
31501 CFLAGS="$THREADS_CFLAGS $CFLAGS"
31502
31503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31504 /* end confdefs.h. */
31505 #include <pthread.h>
31506 int
31507 main ()
31508 {
31509 pthread_create(0,0,0,0);
31510 ;
31511 return 0;
31512 }
31513 _ACEOF
31514 if ac_fn_c_try_link "$LINENO"; then :
31515 THREADS_OK=yes
31516 fi
31517 rm -f core conftest.err conftest.$ac_objext \
31518 conftest$ac_exeext conftest.$ac_ext
31519
31520 LIBS="$save_LIBS"
31521 CFLAGS="$save_CFLAGS"
31522
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31524 $as_echo "$THREADS_OK" >&6; }
31525 if test "x$THREADS_OK" = "xyes"; then
31526 break;
31527 fi
31528
31529 THREADS_LINK=""
31530 THREADS_CFLAGS=""
31531 done
31532
31533 if test "x$THREADS_OK" != "xyes"; then
31534 wxUSE_THREADS=no
31535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31536 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31537 else
31538 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
31539 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31540 LIBS="$THREADS_LINK $LIBS"
31541
31542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
31543 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
31544 flag=no
31545 case "${host}" in
31546 *-aix*)
31547 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
31548 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
31549 flag="-D_THREAD_SAFE"
31550 ;;
31551 *-freebsd*)
31552 flag="-D_THREAD_SAFE"
31553 ;;
31554 *-hp-hpux* )
31555 flag="-D_REENTRANT"
31556 if test "x$GCC" != "xyes"; then
31557 flag="$flag -D_RWSTD_MULTI_THREAD"
31558 fi
31559 ;;
31560 *solaris* | alpha*-osf*)
31561 flag="-D_REENTRANT"
31562 ;;
31563 esac
31564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
31565 $as_echo "${flag}" >&6; }
31566 if test "x$flag" != xno; then
31567 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
31568 fi
31569
31570 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
31571 fi
31572 fi
31573
31574 if test "$wxUSE_THREADS" = "yes" ; then
31575 for ac_func in pthread_setconcurrency
31576 do :
31577 ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
31578 if test "x$ac_cv_func_pthread_setconcurrency" = x""yes; then :
31579 cat >>confdefs.h <<_ACEOF
31580 #define HAVE_PTHREAD_SETCONCURRENCY 1
31581 _ACEOF
31582 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
31583
31584 else
31585
31586 for ac_func in thr_setconcurrency
31587 do :
31588 ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
31589 if test "x$ac_cv_func_thr_setconcurrency" = x""yes; then :
31590 cat >>confdefs.h <<_ACEOF
31591 #define HAVE_THR_SETCONCURRENCY 1
31592 _ACEOF
31593 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
31594
31595 else
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
31597 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
31598 fi
31599 done
31600
31601
31602 fi
31603 done
31604
31605
31606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
31607 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
31608 if test "${wx_cv_func_pthread_cleanup+set}" = set; then :
31609 $as_echo_n "(cached) " >&6
31610 else
31611
31612 ac_ext=cpp
31613 ac_cpp='$CXXCPP $CPPFLAGS'
31614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31617
31618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31619 /* end confdefs.h. */
31620 #include <pthread.h>
31621 void ThreadCleanupFunc(void *p);
31622
31623 int
31624 main ()
31625 {
31626
31627 void *p;
31628 pthread_cleanup_push(ThreadCleanupFunc, p);
31629 pthread_cleanup_pop(0);
31630
31631 ;
31632 return 0;
31633 }
31634 _ACEOF
31635 if ac_fn_cxx_try_compile "$LINENO"; then :
31636
31637 wx_cv_func_pthread_cleanup=yes
31638
31639 else
31640
31641 wx_cv_func_pthread_cleanup=no
31642
31643
31644 fi
31645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31646 ac_ext=c
31647 ac_cpp='$CPP $CPPFLAGS'
31648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31651
31652
31653 fi
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
31655 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
31656 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
31657 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
31658
31659 fi
31660
31661 for ac_header in sched.h
31662 do :
31663 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
31664 "
31665 if test "x$ac_cv_header_sched_h" = x""yes; then :
31666 cat >>confdefs.h <<_ACEOF
31667 #define HAVE_SCHED_H 1
31668 _ACEOF
31669
31670 fi
31671
31672 done
31673
31674 if test "$ac_cv_header_sched_h" = "yes"; then
31675 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
31676 if test "x$ac_cv_func_sched_yield" = x""yes; then :
31677 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31678
31679 else
31680
31681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
31682 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
31683 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then :
31684 $as_echo_n "(cached) " >&6
31685 else
31686 ac_check_lib_save_LIBS=$LIBS
31687 LIBS="-lposix4 $LIBS"
31688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31689 /* end confdefs.h. */
31690
31691 /* Override any GCC internal prototype to avoid an error.
31692 Use char because int might match the return type of a GCC
31693 builtin and then its argument prototype would still apply. */
31694 #ifdef __cplusplus
31695 extern "C"
31696 #endif
31697 char sched_yield ();
31698 int
31699 main ()
31700 {
31701 return sched_yield ();
31702 ;
31703 return 0;
31704 }
31705 _ACEOF
31706 if ac_fn_c_try_link "$LINENO"; then :
31707 ac_cv_lib_posix4_sched_yield=yes
31708 else
31709 ac_cv_lib_posix4_sched_yield=no
31710 fi
31711 rm -f core conftest.err conftest.$ac_objext \
31712 conftest$ac_exeext conftest.$ac_ext
31713 LIBS=$ac_check_lib_save_LIBS
31714 fi
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
31716 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
31717 if test "x$ac_cv_lib_posix4_sched_yield" = x""yes; then :
31718 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
31719 POSIX4_LINK=" -lposix4"
31720 else
31721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
31722 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31723
31724 fi
31725
31726
31727
31728 fi
31729
31730 fi
31731
31732 HAVE_PRIOR_FUNCS=0
31733 ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
31734 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = x""yes; then :
31735 ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
31736 if test "x$ac_cv_func_pthread_attr_setschedparam" = x""yes; then :
31737 ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
31738 if test "x$ac_cv_func_sched_get_priority_max" = x""yes; then :
31739 HAVE_PRIOR_FUNCS=1
31740 else
31741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
31742 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
31743 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then :
31744 $as_echo_n "(cached) " >&6
31745 else
31746 ac_check_lib_save_LIBS=$LIBS
31747 LIBS="-lposix4 $LIBS"
31748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31749 /* end confdefs.h. */
31750
31751 /* Override any GCC internal prototype to avoid an error.
31752 Use char because int might match the return type of a GCC
31753 builtin and then its argument prototype would still apply. */
31754 #ifdef __cplusplus
31755 extern "C"
31756 #endif
31757 char sched_get_priority_max ();
31758 int
31759 main ()
31760 {
31761 return sched_get_priority_max ();
31762 ;
31763 return 0;
31764 }
31765 _ACEOF
31766 if ac_fn_c_try_link "$LINENO"; then :
31767 ac_cv_lib_posix4_sched_get_priority_max=yes
31768 else
31769 ac_cv_lib_posix4_sched_get_priority_max=no
31770 fi
31771 rm -f core conftest.err conftest.$ac_objext \
31772 conftest$ac_exeext conftest.$ac_ext
31773 LIBS=$ac_check_lib_save_LIBS
31774 fi
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31776 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
31777 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = x""yes; then :
31778
31779 HAVE_PRIOR_FUNCS=1
31780 POSIX4_LINK=" -lposix4"
31781
31782 fi
31783
31784
31785 fi
31786
31787
31788 fi
31789
31790
31791 fi
31792
31793
31794 if test "$HAVE_PRIOR_FUNCS" = 1; then
31795 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
31796
31797 else
31798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
31799 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31800 fi
31801
31802 ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
31803 if test "x$ac_cv_func_pthread_cancel" = x""yes; then :
31804 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
31805
31806 else
31807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
31808 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31809 fi
31810
31811
31812 ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
31813 if test "x$ac_cv_func_pthread_mutex_timedlock" = x""yes; then :
31814 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
31815
31816 else
31817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
31818 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
31819 fi
31820
31821
31822 ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
31823 if test "x$ac_cv_func_pthread_attr_setstacksize" = x""yes; then :
31824 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
31825
31826 fi
31827
31828
31829
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
31831 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
31832 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then :
31833 $as_echo_n "(cached) " >&6
31834 else
31835
31836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31837 /* end confdefs.h. */
31838 #include <pthread.h>
31839 int
31840 main ()
31841 {
31842
31843 pthread_mutexattr_t attr;
31844 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31845
31846 ;
31847 return 0;
31848 }
31849 _ACEOF
31850 if ac_fn_c_try_compile "$LINENO"; then :
31851 wx_cv_type_pthread_mutexattr_t=yes
31852 else
31853 wx_cv_type_pthread_mutexattr_t=no
31854
31855 fi
31856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31857
31858 fi
31859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
31860 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
31861
31862 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
31863 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
31864
31865
31866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
31867 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
31868 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then :
31869 $as_echo_n "(cached) " >&6
31870 else
31871
31872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31873 /* end confdefs.h. */
31874 #include <pthread.h>
31875 int
31876 main ()
31877 {
31878
31879 pthread_mutexattr_t attr;
31880 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31881
31882 ;
31883 return 0;
31884 }
31885 _ACEOF
31886 if ac_fn_c_try_compile "$LINENO"; then :
31887 wx_cv_func_pthread_mutexattr_settype_decl=yes
31888 else
31889 wx_cv_func_pthread_mutexattr_settype_decl=no
31890
31891 fi
31892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31893
31894 fi
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
31896 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
31897 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
31898 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
31899
31900 fi
31901 else
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
31903 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
31904 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then :
31905 $as_echo_n "(cached) " >&6
31906 else
31907
31908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h. */
31910 #include <pthread.h>
31911 int
31912 main ()
31913 {
31914
31915 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
31916
31917 ;
31918 return 0;
31919 }
31920 _ACEOF
31921 if ac_fn_c_try_compile "$LINENO"; then :
31922
31923 wx_cv_type_pthread_rec_mutex_init=yes
31924
31925 else
31926
31927 wx_cv_type_pthread_rec_mutex_init=no
31928
31929
31930 fi
31931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31932
31933 fi
31934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
31935 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
31936 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
31937 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
31938
31939 else
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
31941 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
31942 fi
31943 fi
31944
31945 if test "$wxUSE_COMPILER_TLS" = "auto"; then
31946 if test "$USE_NETBSD" = 1; then
31947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
31948 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
31949 wxUSE_COMPILER_TLS=no
31950 else
31951 wxUSE_COMPILER_TLS=yes
31952 fi
31953 fi
31954
31955 if test "$wxUSE_COMPILER_TLS" = "yes"; then
31956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
31957 $as_echo_n "checking for __thread keyword... " >&6; }
31958 if test "${wx_cv_cc___thread+set}" = set; then :
31959 $as_echo_n "(cached) " >&6
31960 else
31961
31962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31963 /* end confdefs.h. */
31964 #include <pthread.h>
31965 int
31966 main ()
31967 {
31968
31969 static __thread int n = 0;
31970 static __thread int *p = 0;
31971
31972 ;
31973 return 0;
31974 }
31975 _ACEOF
31976 if ac_fn_c_try_compile "$LINENO"; then :
31977 wx_cv_cc___thread=yes
31978 else
31979 wx_cv_cc___thread=no
31980
31981 fi
31982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31983
31984
31985 fi
31986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
31987 $as_echo "$wx_cv_cc___thread" >&6; }
31988
31989 if test "$wx_cv_cc___thread" = "yes"; then
31990
31991 GXX_VERSION=""
31992
31993
31994
31995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
31996 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
31997
31998 if test "x$GCC" = "xyes" ; then :
31999
32000 if test -z "" ; then :
32001
32002 ax_gcc_option_test="int main()
32003 {
32004 return 0;
32005 }"
32006
32007 else
32008
32009 ax_gcc_option_test=""
32010
32011 fi
32012
32013 # Dump the test program to file
32014 cat <<EOF > conftest.c
32015 $ax_gcc_option_test
32016 EOF
32017
32018 # Dump back the file to the log, useful for debugging purposes
32019 { ac_try='cat conftest.c 1>&5'
32020 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32021 (eval $ac_try) 2>&5
32022 ac_status=$?
32023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32024 test $ac_status = 0; }; }
32025
32026 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
32027 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32028 (eval $ac_try) 2>&5
32029 ac_status=$?
32030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32031 test $ac_status = 0; }; } ; then :
32032
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32034 $as_echo "yes" >&6; }
32035
32036 ax_gcc_version_option=yes
32037
32038
32039 else
32040
32041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32042 $as_echo "no" >&6; }
32043
32044 ax_gcc_version_option=no
32045
32046
32047 fi
32048
32049 else
32050
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32052 $as_echo "no gcc available" >&6; }
32053
32054 fi
32055
32056 if test "x$GXX" = "xyes"; then :
32057
32058 if test "x$ax_gxx_version_option" != "no"; then :
32059
32060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32061 $as_echo_n "checking gxx version... " >&6; }
32062 if test "${ax_cv_gxx_version+set}" = set; then :
32063 $as_echo_n "(cached) " >&6
32064 else
32065
32066 ax_cv_gxx_version="`$CXX -dumpversion`"
32067 if test "x$ax_cv_gxx_version" = "x"; then :
32068
32069 ax_cv_gxx_version=""
32070
32071 fi
32072
32073 fi
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32075 $as_echo "$ax_cv_gxx_version" >&6; }
32076 GXX_VERSION=$ax_cv_gxx_version
32077
32078 fi
32079
32080 fi
32081
32082
32083 if test -n "$ax_cv_gxx_version"; then
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32085 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32086 case "$ax_cv_gxx_version" in
32087 1.* | 2.* | 3.* )
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32089 $as_echo "no, it's broken" >&6; }
32090 wx_cv_cc___thread=no
32091 ;;
32092 *)
32093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32094 $as_echo "yes, it works" >&6; }
32095 ;;
32096 esac
32097 fi
32098 fi
32099
32100 if test "$wx_cv_cc___thread" = "yes"; then
32101 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32102
32103 fi
32104 fi
32105 fi
32106
32107 else
32108 if test "$wxUSE_THREADS" = "yes" ; then
32109 case "${host}" in
32110 x86_64-*-mingw32* )
32111 ;;
32112 *-*-mingw32* )
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32114 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32115 if test "${wx_cv_cflags_mthread+set}" = set; then :
32116 $as_echo_n "(cached) " >&6
32117 else
32118
32119 CFLAGS_OLD="$CFLAGS"
32120 CFLAGS="-mthreads $CFLAGS"
32121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32122 /* end confdefs.h. */
32123
32124 int
32125 main ()
32126 {
32127
32128 ;
32129 return 0;
32130 }
32131 _ACEOF
32132 if ac_fn_c_try_compile "$LINENO"; then :
32133 wx_cv_cflags_mthread=yes
32134 else
32135 wx_cv_cflags_mthread=no
32136
32137 fi
32138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32139
32140
32141 fi
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32143 $as_echo "$wx_cv_cflags_mthread" >&6; }
32144
32145 if test "$wx_cv_cflags_mthread" = "yes"; then
32146 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
32147 LDFLAGS="$LDFLAGS -mthreads"
32148 else
32149 CFLAGS="$CFLAGS_OLD"
32150 fi
32151 ;;
32152 *-pc-os2*emx )
32153 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32154 LDFLAGS="$LDFLAGS -Zmt"
32155 ;;
32156 esac
32157 fi
32158 fi
32159
32160 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32161 if test "x$ac_cv_func_localtime_r" = x""yes; then :
32162 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32163
32164 fi
32165
32166 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32167 if test "x$ac_cv_func_gmtime_r" = x""yes; then :
32168 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32169
32170 fi
32171
32172
32173
32174
32175 ac_ext=c
32176 ac_cpp='$CPP $CPPFLAGS'
32177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32180
32181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32182 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32183
32184 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then :
32185 $as_echo_n "(cached) " >&6
32186 else
32187
32188
32189 ################################################################
32190
32191 ac_cv_func_which_gethostbyname_r=unknown
32192
32193 #
32194 # ONE ARGUMENT (sanity check)
32195 #
32196
32197 # This should fail, as there is no variant of gethostbyname_r() that takes
32198 # a single argument. If it actually compiles, then we can assume that
32199 # netdb.h is not declaring the function, and the compiler is thereby
32200 # assuming an implicit prototype. In which case, we're out of luck.
32201 #
32202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32203 /* end confdefs.h. */
32204 #include <netdb.h>
32205 int
32206 main ()
32207 {
32208
32209 char *name = "www.gnu.org";
32210 (void)gethostbyname_r(name) /* ; */
32211
32212
32213 ;
32214 return 0;
32215 }
32216 _ACEOF
32217 if ac_fn_c_try_compile "$LINENO"; then :
32218 ac_cv_func_which_gethostbyname_r=no
32219
32220 fi
32221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32222
32223 #
32224 # SIX ARGUMENTS
32225 # (e.g. Linux)
32226 #
32227
32228 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32229
32230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32231 /* end confdefs.h. */
32232 #include <netdb.h>
32233 int
32234 main ()
32235 {
32236
32237 char *name = "www.gnu.org";
32238 struct hostent ret, *retp;
32239 char buf[1024];
32240 int buflen = 1024;
32241 int my_h_errno;
32242 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32243
32244
32245 ;
32246 return 0;
32247 }
32248 _ACEOF
32249 if ac_fn_c_try_compile "$LINENO"; then :
32250 ac_cv_func_which_gethostbyname_r=six
32251
32252 fi
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254
32255 fi
32256
32257 #
32258 # FIVE ARGUMENTS
32259 # (e.g. Solaris)
32260 #
32261
32262 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32263
32264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32265 /* end confdefs.h. */
32266 #include <netdb.h>
32267 int
32268 main ()
32269 {
32270
32271 char *name = "www.gnu.org";
32272 struct hostent ret;
32273 char buf[1024];
32274 int buflen = 1024;
32275 int my_h_errno;
32276 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32277
32278
32279 ;
32280 return 0;
32281 }
32282 _ACEOF
32283 if ac_fn_c_try_compile "$LINENO"; then :
32284 ac_cv_func_which_gethostbyname_r=five
32285
32286 fi
32287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32288
32289 fi
32290
32291 #
32292 # THREE ARGUMENTS
32293 # (e.g. AIX, HP-UX, Tru64)
32294 #
32295
32296 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32297
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h. */
32300 #include <netdb.h>
32301 int
32302 main ()
32303 {
32304
32305 char *name = "www.gnu.org";
32306 struct hostent ret;
32307 struct hostent_data data;
32308 (void)gethostbyname_r(name, &ret, &data) /* ; */
32309
32310
32311 ;
32312 return 0;
32313 }
32314 _ACEOF
32315 if ac_fn_c_try_compile "$LINENO"; then :
32316 ac_cv_func_which_gethostbyname_r=three
32317
32318 fi
32319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32320
32321 fi
32322
32323 ################################################################
32324
32325
32326 fi
32327
32328 case "$ac_cv_func_which_gethostbyname_r" in
32329 three)
32330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32331 $as_echo "three" >&6; }
32332 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32333
32334 ;;
32335
32336 five)
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32338 $as_echo "five" >&6; }
32339 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32340
32341 ;;
32342
32343 six)
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32345 $as_echo "six" >&6; }
32346 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32347
32348 ;;
32349
32350 no)
32351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32352 $as_echo "cannot find function declaration in netdb.h" >&6; }
32353 ;;
32354
32355 unknown)
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32357 $as_echo "can't tell" >&6; }
32358 ;;
32359
32360 *)
32361 as_fn_error $? "internal error" "$LINENO" 5
32362 ;;
32363 esac
32364
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32370
32371
32372
32373 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32374 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32375 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32376 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
32377 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32378
32379 fi
32380
32381 fi
32382
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32384 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32385 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then :
32386 $as_echo_n "(cached) " >&6
32387 else
32388
32389 ac_ext=cpp
32390 ac_cpp='$CXXCPP $CPPFLAGS'
32391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32394
32395
32396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32397 /* end confdefs.h. */
32398 #include <netdb.h>
32399 int
32400 main ()
32401 {
32402
32403 char *name;
32404 char *proto;
32405 struct servent *se, *res;
32406 char buffer[2048];
32407 int buflen = 2048;
32408 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32409
32410 ;
32411 return 0;
32412 }
32413 _ACEOF
32414 if ac_fn_cxx_try_compile "$LINENO"; then :
32415 ac_cv_func_which_getservbyname_r=six
32416 else
32417
32418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32419 /* end confdefs.h. */
32420 #include <netdb.h>
32421 int
32422 main ()
32423 {
32424
32425 char *name;
32426 char *proto;
32427 struct servent *se;
32428 char buffer[2048];
32429 int buflen = 2048;
32430 (void) getservbyname_r(name, proto, se, buffer, buflen)
32431
32432 ;
32433 return 0;
32434 }
32435 _ACEOF
32436 if ac_fn_cxx_try_compile "$LINENO"; then :
32437 ac_cv_func_which_getservbyname_r=five
32438 else
32439
32440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32441 /* end confdefs.h. */
32442 #include <netdb.h>
32443 int
32444 main ()
32445 {
32446
32447 char *name;
32448 char *proto;
32449 struct servent *se;
32450 struct servent_data data;
32451 (void) getservbyname_r(name, proto, se, &data);
32452
32453 ;
32454 return 0;
32455 }
32456 _ACEOF
32457 if ac_fn_cxx_try_compile "$LINENO"; then :
32458 ac_cv_func_which_getservbyname_r=four
32459 else
32460 ac_cv_func_which_getservbyname_r=no
32461
32462 fi
32463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32464
32465
32466 fi
32467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32468
32469
32470 fi
32471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32472 ac_ext=c
32473 ac_cpp='$CPP $CPPFLAGS'
32474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32477
32478
32479
32480 fi
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32482 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32483
32484 if test $ac_cv_func_which_getservbyname_r = six; then
32485 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32486
32487 elif test $ac_cv_func_which_getservbyname_r = five; then
32488 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
32489
32490 elif test $ac_cv_func_which_getservbyname_r = four; then
32491 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
32492
32493 fi
32494
32495
32496 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
32497 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
32498 for ac_func in getservbyname
32499 do :
32500 ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
32501 if test "x$ac_cv_func_getservbyname" = x""yes; then :
32502 cat >>confdefs.h <<_ACEOF
32503 #define HAVE_GETSERVBYNAME 1
32504 _ACEOF
32505 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
32506
32507 fi
32508 done
32509
32510 fi
32511
32512 if test "$wxUSE_THREADS" = "yes"; then
32513 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
32514
32515
32516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
32517 else
32518 if test "$wx_cv_func_strtok_r" = "yes"; then
32519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
32520 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
32521 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
32522 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32524 $as_echo "yes" >&6; }
32525 else
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32527 $as_echo "no" >&6; }
32528 fi
32529 fi
32530 fi
32531
32532 if test "$WXGTK2" = 1 ; then
32533 cat >>confdefs.h <<_ACEOF
32534 #define __WXGTK20__ $WXGTK2
32535 _ACEOF
32536
32537 fi
32538
32539 if test "$WXGTK127" = 1 ; then
32540 cat >>confdefs.h <<_ACEOF
32541 #define __WXGTK127__ $WXGTK127
32542 _ACEOF
32543
32544 fi
32545
32546 if test "$WXGPE" = 1 ; then
32547 cat >>confdefs.h <<_ACEOF
32548 #define __WXGPE__ $WXGPE
32549 _ACEOF
32550
32551 fi
32552
32553 DEBUG_CFLAGS=
32554 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
32556 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
32557 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
32558 DEBUG_CFLAGS="-g"
32559 fi
32560
32561 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
32562 wxUSE_DEBUG_INFO=yes
32563 if test "$GCC" = yes; then
32564 DEBUG_CFLAGS="-ggdb"
32565 fi
32566 fi
32567
32568 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
32569 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
32570
32571 if test "$wxUSE_GTK" = 1 ; then
32572 if test "x$wxGTK_VERSION" = "x1" ; then
32573 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
32574 else
32575 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
32576 fi
32577 fi
32578 fi
32579
32580 if test "$wxUSE_MEM_TRACING" = "yes" ; then
32581 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
32582
32583 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
32584
32585 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
32586
32587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
32588 fi
32589
32590 if test "$wxUSE_DMALLOC" = "yes" ; then
32591 DMALLOC_LIBS="-ldmallocthcxx"
32592 fi
32593
32594 PROFILE_FLAGS=
32595 if test "$wxUSE_PROFILE" = "yes" ; then
32596 PROFILE_FLAGS=" -pg"
32597 fi
32598
32599 if test "$GCC" = "yes" ; then
32600 if test "$wxUSE_NO_RTTI" = "yes" ; then
32601 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
32602 fi
32603 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
32604 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
32605 fi
32606 if test "$wxUSE_PERMISSIVE" = "yes" ; then
32607 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
32608 fi
32609
32610 case "${host}" in
32611 powerpc*-*-aix* )
32612 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
32613 ;;
32614 *-hppa* )
32615 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
32616 ;;
32617 esac
32618 fi
32619
32620 OPTIMISE_CFLAGS=
32621 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
32623 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
32624 else
32625 if test "$wxUSE_OPTIMISE" = "no" ; then
32626 if test "$GCC" = yes ; then
32627 OPTIMISE_CFLAGS="-O0"
32628 fi
32629 else
32630 if test "$GCC" = yes ; then
32631 case "${host}" in
32632 *-pc-os2_emx | *-pc-os2-emx )
32633 OPTIMISE_CFLAGS="-O2"
32634 ;;
32635 *)
32636 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
32637 ;;
32638 esac
32639 else
32640 OPTIMISE_CFLAGS="-O"
32641 fi
32642 fi
32643 fi
32644
32645
32646 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
32647 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
32648
32649
32650 WXWIN_COMPATIBILITY_2_8="yes"
32651 fi
32652
32653 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
32654 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
32655
32656 fi
32657
32658
32659 if test "$wxUSE_GUI" = "yes"; then
32660 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
32661
32662
32663 fi
32664
32665
32666 if test "$wxUSE_UNIX" = "yes"; then
32667 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
32668
32669 fi
32670
32671
32672 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
32673
32674 HAVE_DL_FUNCS=0
32675 HAVE_SHL_FUNCS=0
32676 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32677 if test "$USE_DOS" = 1; then
32678 HAVE_DL_FUNCS=0
32679 else
32680 for ac_func in dlopen
32681 do :
32682 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
32683 if test "x$ac_cv_func_dlopen" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE_DLOPEN 1
32686 _ACEOF
32687
32688 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32689
32690 HAVE_DL_FUNCS=1
32691
32692 else
32693
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32695 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32696 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
32697 $as_echo_n "(cached) " >&6
32698 else
32699 ac_check_lib_save_LIBS=$LIBS
32700 LIBS="-ldl $LIBS"
32701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32702 /* end confdefs.h. */
32703
32704 /* Override any GCC internal prototype to avoid an error.
32705 Use char because int might match the return type of a GCC
32706 builtin and then its argument prototype would still apply. */
32707 #ifdef __cplusplus
32708 extern "C"
32709 #endif
32710 char dlopen ();
32711 int
32712 main ()
32713 {
32714 return dlopen ();
32715 ;
32716 return 0;
32717 }
32718 _ACEOF
32719 if ac_fn_c_try_link "$LINENO"; then :
32720 ac_cv_lib_dl_dlopen=yes
32721 else
32722 ac_cv_lib_dl_dlopen=no
32723 fi
32724 rm -f core conftest.err conftest.$ac_objext \
32725 conftest$ac_exeext conftest.$ac_ext
32726 LIBS=$ac_check_lib_save_LIBS
32727 fi
32728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32729 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32730 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
32731
32732 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
32733
32734 HAVE_DL_FUNCS=1
32735 DL_LINK=" -ldl$DL_LINK"
32736
32737 else
32738
32739 for ac_func in shl_load
32740 do :
32741 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
32742 if test "x$ac_cv_func_shl_load" = x""yes; then :
32743 cat >>confdefs.h <<_ACEOF
32744 #define HAVE_SHL_LOAD 1
32745 _ACEOF
32746
32747 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
32748
32749 HAVE_SHL_FUNCS=1
32750
32751 else
32752
32753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
32754 $as_echo_n "checking for dld in -lshl_load... " >&6; }
32755 if test "${ac_cv_lib_shl_load_dld+set}" = set; then :
32756 $as_echo_n "(cached) " >&6
32757 else
32758 ac_check_lib_save_LIBS=$LIBS
32759 LIBS="-lshl_load $LIBS"
32760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32761 /* end confdefs.h. */
32762
32763 /* Override any GCC internal prototype to avoid an error.
32764 Use char because int might match the return type of a GCC
32765 builtin and then its argument prototype would still apply. */
32766 #ifdef __cplusplus
32767 extern "C"
32768 #endif
32769 char dld ();
32770 int
32771 main ()
32772 {
32773 return dld ();
32774 ;
32775 return 0;
32776 }
32777 _ACEOF
32778 if ac_fn_c_try_link "$LINENO"; then :
32779 ac_cv_lib_shl_load_dld=yes
32780 else
32781 ac_cv_lib_shl_load_dld=no
32782 fi
32783 rm -f core conftest.err conftest.$ac_objext \
32784 conftest$ac_exeext conftest.$ac_ext
32785 LIBS=$ac_check_lib_save_LIBS
32786 fi
32787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
32788 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
32789 if test "x$ac_cv_lib_shl_load_dld" = x""yes; then :
32790
32791 HAVE_SHL_FUNCS=1
32792 DL_LINK=" -ldld$DL_LINK"
32793
32794 fi
32795
32796
32797 fi
32798 done
32799
32800
32801 fi
32802
32803
32804 fi
32805 done
32806
32807
32808 if test "$HAVE_DL_FUNCS" = 1; then
32809 for ac_func in dlerror
32810 do :
32811 ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
32812 if test "x$ac_cv_func_dlerror" = x""yes; then :
32813 cat >>confdefs.h <<_ACEOF
32814 #define HAVE_DLERROR 1
32815 _ACEOF
32816 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
32817
32818 else
32819
32820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
32821 $as_echo_n "checking for dlerror in -ldl... " >&6; }
32822 if test "${ac_cv_lib_dl_dlerror+set}" = set; then :
32823 $as_echo_n "(cached) " >&6
32824 else
32825 ac_check_lib_save_LIBS=$LIBS
32826 LIBS="-ldl $LIBS"
32827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32828 /* end confdefs.h. */
32829
32830 /* Override any GCC internal prototype to avoid an error.
32831 Use char because int might match the return type of a GCC
32832 builtin and then its argument prototype would still apply. */
32833 #ifdef __cplusplus
32834 extern "C"
32835 #endif
32836 char dlerror ();
32837 int
32838 main ()
32839 {
32840 return dlerror ();
32841 ;
32842 return 0;
32843 }
32844 _ACEOF
32845 if ac_fn_c_try_link "$LINENO"; then :
32846 ac_cv_lib_dl_dlerror=yes
32847 else
32848 ac_cv_lib_dl_dlerror=no
32849 fi
32850 rm -f core conftest.err conftest.$ac_objext \
32851 conftest$ac_exeext conftest.$ac_ext
32852 LIBS=$ac_check_lib_save_LIBS
32853 fi
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
32855 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
32856 if test "x$ac_cv_lib_dl_dlerror" = x""yes; then :
32857 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
32858
32859 fi
32860
32861
32862
32863 fi
32864 done
32865
32866 fi
32867 fi
32868
32869 if test "$USE_DARWIN" = 1; then
32870 HAVE_DL_FUNCS=1
32871 fi
32872
32873 if test "$HAVE_DL_FUNCS" = 0; then
32874 if test "$HAVE_SHL_FUNCS" = 0; then
32875 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
32876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32877 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32878 wxUSE_DYNAMIC_LOADER=no
32879 wxUSE_DYNLIB_CLASS=no
32880 else
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
32882 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32883 fi
32884 fi
32885 fi
32886 fi
32887 fi
32888
32889 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32890 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
32891
32892 fi
32893 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32894 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
32895
32896 fi
32897
32898
32899
32900 if test "$wxUSE_PLUGINS" = "yes" ; then
32901 if test "$wxUSE_SHARED" = "no" ; then
32902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
32903 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
32904 wxUSE_PLUGINS=no
32905 fi
32906 if test "$wxUSE_MONOLITHIC" = "yes" ; then
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
32908 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
32909 wxUSE_PLUGINS=no
32910 fi
32911 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
32912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
32913 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
32914 wxUSE_PLUGINS=no
32915 fi
32916 if test "$wxUSE_PLUGINS" = "yes" ; then
32917 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
32918
32919 fi
32920 fi
32921
32922
32923 if test "$wxUSE_FSWATCHER" = "yes"; then
32924 if test "$wxUSE_MSW" != "1"; then
32925 if test "$wxUSE_UNIX" = "yes"; then
32926 for ac_header in sys/inotify.h
32927 do :
32928 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
32929 "
32930 if test "x$ac_cv_header_sys_inotify_h" = x""yes; then :
32931 cat >>confdefs.h <<_ACEOF
32932 #define HAVE_SYS_INOTIFY_H 1
32933 _ACEOF
32934
32935 fi
32936
32937 done
32938
32939 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
32940 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
32941
32942 else
32943 for ac_header in sys/event.h
32944 do :
32945 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
32946 "
32947 if test "x$ac_cv_header_sys_event_h" = x""yes; then :
32948 cat >>confdefs.h <<_ACEOF
32949 #define HAVE_SYS_EVENT_H 1
32950 _ACEOF
32951
32952 fi
32953
32954 done
32955
32956 if test "$ac_cv_header_sys_event_h" = "yes"; then
32957 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
32958
32959 else
32960 wxUSE_FSWATCHER=no
32961 fi
32962 fi
32963 else
32964 wxUSE_FSWATCHER=no
32965 fi
32966 else
32967 if test "$wxUSE_THREADS" != "yes"; then
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
32969 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
32970 wxUSE_FSWATCHER=no
32971 fi
32972 fi
32973
32974 if test "$wxUSE_FSWATCHER" = "yes"; then
32975 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
32976
32977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
32978 else
32979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
32980 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
32981 fi
32982 fi
32983
32984
32985 if test "$wxUSE_STL" = "yes"; then
32986 $as_echo "#define wxUSE_STL 1" >>confdefs.h
32987
32988 fi
32989
32990 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
32991 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
32992
32993 fi
32994
32995 if test "$wxUSE_ANY" = "yes"; then
32996 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
32997
32998 fi
32999
33000 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33001 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33002
33003 fi
33004
33005 if test "$wxUSE_TIMER" = "yes"; then
33006 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33007
33008 fi
33009
33010 if test "$USE_UNIX" = 1 ; then
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33012 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33013 if test "${ac_cv_header_sys_soundcard+set}" = set; then :
33014 $as_echo_n "(cached) " >&6
33015 else
33016
33017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h. */
33019
33020 #include <sys/ioctl.h>
33021 #include <sys/soundcard.h>
33022
33023 int
33024 main ()
33025 {
33026
33027 ioctl(0, SNDCTL_DSP_SPEED, 0);
33028
33029 ;
33030 return 0;
33031 }
33032 _ACEOF
33033 if ac_fn_c_try_link "$LINENO"; then :
33034 ac_cv_header_sys_soundcard=yes
33035 else
33036
33037 saveLibs="$LIBS"
33038 LIBS="$saveLibs -lossaudio"
33039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33040 /* end confdefs.h. */
33041
33042 #include <sys/ioctl.h>
33043 #include <sys/soundcard.h>
33044
33045 int
33046 main ()
33047 {
33048
33049 ioctl(0, SNDCTL_DSP_SPEED, 0);
33050
33051 ;
33052 return 0;
33053 }
33054 _ACEOF
33055 if ac_fn_c_try_link "$LINENO"; then :
33056 ac_cv_header_sys_soundcard=yes
33057 else
33058
33059 LIBS="$saveLibs"
33060 ac_cv_header_sys_soundcard=no
33061
33062
33063 fi
33064 rm -f core conftest.err conftest.$ac_objext \
33065 conftest$ac_exeext conftest.$ac_ext
33066
33067
33068 fi
33069 rm -f core conftest.err conftest.$ac_objext \
33070 conftest$ac_exeext conftest.$ac_ext
33071
33072 fi
33073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33074 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33075
33076 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33077 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33078
33079 fi
33080 fi
33081
33082 WITH_PLUGIN_SDL=0
33083 if test "$wxUSE_SOUND" = "yes"; then
33084 if test "$USE_UNIX" = 1 ; then
33085 if test "$wxUSE_LIBSDL" != "no"; then
33086
33087 # Check whether --with-sdl-prefix was given.
33088 if test "${with_sdl_prefix+set}" = set; then :
33089 withval=$with_sdl_prefix; sdl_prefix="$withval"
33090 else
33091 sdl_prefix=""
33092 fi
33093
33094
33095 # Check whether --with-sdl-exec-prefix was given.
33096 if test "${with_sdl_exec_prefix+set}" = set; then :
33097 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
33098 else
33099 sdl_exec_prefix=""
33100 fi
33101
33102 # Check whether --enable-sdltest was given.
33103 if test "${enable_sdltest+set}" = set; then :
33104 enableval=$enable_sdltest;
33105 else
33106 enable_sdltest=yes
33107 fi
33108
33109
33110 if test x$sdl_exec_prefix != x ; then
33111 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
33112 if test x${SDL_CONFIG+set} != xset ; then
33113 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
33114 fi
33115 fi
33116 if test x$sdl_prefix != x ; then
33117 sdl_args="$sdl_args --prefix=$sdl_prefix"
33118 if test x${SDL_CONFIG+set} != xset ; then
33119 SDL_CONFIG=$sdl_prefix/bin/sdl-config
33120 fi
33121 fi
33122
33123 if test "x$prefix" != xNONE; then
33124 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
33125 fi
33126 # Extract the first word of "sdl-config", so it can be a program name with args.
33127 set dummy sdl-config; ac_word=$2
33128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33129 $as_echo_n "checking for $ac_word... " >&6; }
33130 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
33131 $as_echo_n "(cached) " >&6
33132 else
33133 case $SDL_CONFIG in
33134 [\\/]* | ?:[\\/]*)
33135 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
33136 ;;
33137 *)
33138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33139 for as_dir in $PATH
33140 do
33141 IFS=$as_save_IFS
33142 test -z "$as_dir" && as_dir=.
33143 for ac_exec_ext in '' $ac_executable_extensions; do
33144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33145 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33147 break 2
33148 fi
33149 done
33150 done
33151 IFS=$as_save_IFS
33152
33153 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
33154 ;;
33155 esac
33156 fi
33157 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
33158 if test -n "$SDL_CONFIG"; then
33159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33160 $as_echo "$SDL_CONFIG" >&6; }
33161 else
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33163 $as_echo "no" >&6; }
33164 fi
33165
33166
33167 min_sdl_version=1.2.0
33168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33169 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33170 no_sdl=""
33171 if test "$SDL_CONFIG" = "no" ; then
33172 no_sdl=yes
33173 else
33174 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
33175 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
33176
33177 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
33178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33179 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
33180 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33181 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
33182 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33183 if test "x$enable_sdltest" = "xyes" ; then
33184 ac_save_CFLAGS="$CFLAGS"
33185 ac_save_CXXFLAGS="$CXXFLAGS"
33186 ac_save_LIBS="$LIBS"
33187 CFLAGS="$CFLAGS $SDL_CFLAGS"
33188 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33189 LIBS="$LIBS $SDL_LIBS"
33190 rm -f conf.sdltest
33191 if test "$cross_compiling" = yes; then :
33192 echo $ac_n "cross compiling; assumed OK... $ac_c"
33193 else
33194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33196
33197 #include <stdio.h>
33198 #include <stdlib.h>
33199 #include <string.h>
33200 #include "SDL.h"
33201
33202 char*
33203 my_strdup (char *str)
33204 {
33205 char *new_str;
33206
33207 if (str)
33208 {
33209 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33210 strcpy (new_str, str);
33211 }
33212 else
33213 new_str = NULL;
33214
33215 return new_str;
33216 }
33217
33218 int main (int argc, char *argv[])
33219 {
33220 int major, minor, micro;
33221 char *tmp_version;
33222
33223 /* This hangs on some systems (?)
33224 system ("touch conf.sdltest");
33225 */
33226 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33227
33228 /* HP/UX 9 (%@#!) writes to sscanf strings */
33229 tmp_version = my_strdup("$min_sdl_version");
33230 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
33231 printf("%s, bad version string\n", "$min_sdl_version");
33232 exit(1);
33233 }
33234
33235 if (($sdl_major_version > major) ||
33236 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33237 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33238 {
33239 return 0;
33240 }
33241 else
33242 {
33243 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33244 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33245 printf("*** best to upgrade to the required version.\n");
33246 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33247 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33248 printf("*** config.cache before re-running configure\n");
33249 return 1;
33250 }
33251 }
33252
33253
33254 _ACEOF
33255 if ac_fn_c_try_run "$LINENO"; then :
33256
33257 else
33258 no_sdl=yes
33259 fi
33260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
33261 conftest.$ac_objext conftest.beam conftest.$ac_ext
33262 fi
33263
33264 CFLAGS="$ac_save_CFLAGS"
33265 CXXFLAGS="$ac_save_CXXFLAGS"
33266 LIBS="$ac_save_LIBS"
33267 fi
33268 fi
33269 if test "x$no_sdl" = x ; then
33270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33271 $as_echo "yes" >&6; }
33272
33273 EXTRALIBS_SDL="$SDL_LIBS"
33274 CFLAGS="$SDL_CFLAGS $CFLAGS"
33275 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
33276 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33277
33278
33279 else
33280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33281 $as_echo "no" >&6; }
33282 if test "$SDL_CONFIG" = "no" ; then
33283 echo "*** The sdl-config script installed by SDL could not be found"
33284 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33285 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33286 echo "*** full path to sdl-config."
33287 else
33288 if test -f conf.sdltest ; then
33289 :
33290 else
33291 echo "*** Could not run SDL test program, checking why..."
33292 CFLAGS="$CFLAGS $SDL_CFLAGS"
33293 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
33294 LIBS="$LIBS $SDL_LIBS"
33295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33297
33298 #include <stdio.h>
33299 #include "SDL.h"
33300
33301 int main(int argc, char *argv[])
33302 { return 0; }
33303 #undef main
33304 #define main K_and_R_C_main
33305
33306 int
33307 main ()
33308 {
33309 return 0;
33310 ;
33311 return 0;
33312 }
33313 _ACEOF
33314 if ac_fn_c_try_link "$LINENO"; then :
33315 echo "*** The test program compiled, but did not run. This usually means"
33316 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33317 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33318 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33319 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33320 echo "*** is required on your system"
33321 echo "***"
33322 echo "*** If you have an old version installed, it is best to remove it, although"
33323 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33324 else
33325 echo "*** The test program failed to compile or link. See the file config.log for the"
33326 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33327 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33328 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33329 fi
33330 rm -f core conftest.err conftest.$ac_objext \
33331 conftest$ac_exeext conftest.$ac_ext
33332 CFLAGS="$ac_save_CFLAGS"
33333 CXXFLAGS="$ac_save_CXXFLAGS"
33334 LIBS="$ac_save_LIBS"
33335 fi
33336 fi
33337 SDL_CFLAGS=""
33338 SDL_LIBS=""
33339 wxUSE_LIBSDL="no"
33340 fi
33341
33342
33343 rm -f conf.sdltest
33344
33345 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33346 WITH_PLUGIN_SDL=1
33347 fi
33348 fi
33349 fi
33350 fi
33351
33352 if test "$wxUSE_SOUND" = "yes"; then
33353 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33354
33355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
33356 fi
33357
33358 if test "$WXGTK2" = 1; then
33359
33360
33361 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33362 if test -n "$ac_tool_prefix"; then
33363 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33364 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33366 $as_echo_n "checking for $ac_word... " >&6; }
33367 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
33368 $as_echo_n "(cached) " >&6
33369 else
33370 case $PKG_CONFIG in
33371 [\\/]* | ?:[\\/]*)
33372 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33373 ;;
33374 *)
33375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33376 for as_dir in $PATH
33377 do
33378 IFS=$as_save_IFS
33379 test -z "$as_dir" && as_dir=.
33380 for ac_exec_ext in '' $ac_executable_extensions; do
33381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33382 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33384 break 2
33385 fi
33386 done
33387 done
33388 IFS=$as_save_IFS
33389
33390 ;;
33391 esac
33392 fi
33393 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33394 if test -n "$PKG_CONFIG"; then
33395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33396 $as_echo "$PKG_CONFIG" >&6; }
33397 else
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33399 $as_echo "no" >&6; }
33400 fi
33401
33402
33403 fi
33404 if test -z "$ac_cv_path_PKG_CONFIG"; then
33405 ac_pt_PKG_CONFIG=$PKG_CONFIG
33406 # Extract the first word of "pkg-config", so it can be a program name with args.
33407 set dummy pkg-config; ac_word=$2
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33409 $as_echo_n "checking for $ac_word... " >&6; }
33410 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
33411 $as_echo_n "(cached) " >&6
33412 else
33413 case $ac_pt_PKG_CONFIG in
33414 [\\/]* | ?:[\\/]*)
33415 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33416 ;;
33417 *)
33418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33419 for as_dir in $PATH
33420 do
33421 IFS=$as_save_IFS
33422 test -z "$as_dir" && as_dir=.
33423 for ac_exec_ext in '' $ac_executable_extensions; do
33424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33425 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33427 break 2
33428 fi
33429 done
33430 done
33431 IFS=$as_save_IFS
33432
33433 ;;
33434 esac
33435 fi
33436 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33437 if test -n "$ac_pt_PKG_CONFIG"; then
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33439 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33440 else
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33442 $as_echo "no" >&6; }
33443 fi
33444
33445 if test "x$ac_pt_PKG_CONFIG" = x; then
33446 PKG_CONFIG=""
33447 else
33448 case $cross_compiling:$ac_tool_warned in
33449 yes:)
33450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33452 ac_tool_warned=yes ;;
33453 esac
33454 PKG_CONFIG=$ac_pt_PKG_CONFIG
33455 fi
33456 else
33457 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33458 fi
33459
33460 fi
33461 if test -n "$PKG_CONFIG"; then
33462 _pkg_min_version=0.9.0
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33464 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33465 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33467 $as_echo "yes" >&6; }
33468 else
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33470 $as_echo "no" >&6; }
33471 PKG_CONFIG=""
33472 fi
33473
33474 fi
33475
33476 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33477
33478 if test "$wxUSE_GTKPRINT" = "yes" ; then
33479
33480
33481 pkg_failed=no
33482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
33483 $as_echo_n "checking for GTKPRINT... " >&6; }
33484
33485 if test -n "$PKG_CONFIG"; then
33486 if test -n "$GTKPRINT_CFLAGS"; then
33487 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
33488 else
33489 if test -n "$PKG_CONFIG" && \
33490 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\""; } >&5
33491 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
33492 ac_status=$?
33493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33494 test $ac_status = 0; }; then
33495 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
33496 else
33497 pkg_failed=yes
33498 fi
33499 fi
33500 else
33501 pkg_failed=untried
33502 fi
33503 if test -n "$PKG_CONFIG"; then
33504 if test -n "$GTKPRINT_LIBS"; then
33505 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
33506 else
33507 if test -n "$PKG_CONFIG" && \
33508 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\""; } >&5
33509 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
33510 ac_status=$?
33511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33512 test $ac_status = 0; }; then
33513 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
33514 else
33515 pkg_failed=yes
33516 fi
33517 fi
33518 else
33519 pkg_failed=untried
33520 fi
33521
33522
33523
33524 if test $pkg_failed = yes; then
33525
33526 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33527 _pkg_short_errors_supported=yes
33528 else
33529 _pkg_short_errors_supported=no
33530 fi
33531 if test $_pkg_short_errors_supported = yes; then
33532 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
33533 else
33534 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
33535 fi
33536 # Put the nasty error message in config.log where it belongs
33537 echo "$GTKPRINT_PKG_ERRORS" >&5
33538
33539
33540 { $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
33541 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33542 wxUSE_GTKPRINT="no"
33543
33544
33545 elif test $pkg_failed = untried; then
33546
33547 { $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
33548 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
33549 wxUSE_GTKPRINT="no"
33550
33551
33552 else
33553 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
33554 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
33555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33556 $as_echo "yes" >&6; }
33557
33558 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
33559 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
33560 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
33561
33562
33563 fi
33564 fi
33565
33566 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
33567
33568
33569 pkg_failed=no
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
33571 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
33572
33573 if test -n "$PKG_CONFIG"; then
33574 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
33575 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
33576 else
33577 if test -n "$PKG_CONFIG" && \
33578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33579 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33580 ac_status=$?
33581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33582 test $ac_status = 0; }; then
33583 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33584 else
33585 pkg_failed=yes
33586 fi
33587 fi
33588 else
33589 pkg_failed=untried
33590 fi
33591 if test -n "$PKG_CONFIG"; then
33592 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
33593 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
33594 else
33595 if test -n "$PKG_CONFIG" && \
33596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
33597 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
33598 ac_status=$?
33599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33600 test $ac_status = 0; }; then
33601 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
33602 else
33603 pkg_failed=yes
33604 fi
33605 fi
33606 else
33607 pkg_failed=untried
33608 fi
33609
33610
33611
33612 if test $pkg_failed = yes; then
33613
33614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33615 _pkg_short_errors_supported=yes
33616 else
33617 _pkg_short_errors_supported=no
33618 fi
33619 if test $_pkg_short_errors_supported = yes; then
33620 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33621 else
33622 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
33623 fi
33624 # Put the nasty error message in config.log where it belongs
33625 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
33626
33627
33628 if test "$wxUSE_GTKPRINT" = yes; then
33629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33630 $as_echo "no" >&6; }
33631 else
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33633 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33634 fi
33635 wxUSE_LIBGNOMEPRINT="no"
33636
33637
33638 elif test $pkg_failed = untried; then
33639
33640 if test "$wxUSE_GTKPRINT" = yes; then
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33642 $as_echo "no" >&6; }
33643 else
33644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
33645 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
33646 fi
33647 wxUSE_LIBGNOMEPRINT="no"
33648
33649
33650 else
33651 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
33652 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
33653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33654 $as_echo "yes" >&6; }
33655
33656 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
33657 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
33658 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
33659
33660
33661 fi
33662 fi
33663 fi
33664
33665 if test "$wxUSE_MIMETYPE" = "yes" ; then
33666 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
33667
33668
33669 pkg_failed=no
33670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
33671 $as_echo_n "checking for GNOMEVFS... " >&6; }
33672
33673 if test -n "$PKG_CONFIG"; then
33674 if test -n "$GNOMEVFS_CFLAGS"; then
33675 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
33676 else
33677 if test -n "$PKG_CONFIG" && \
33678 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33679 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33680 ac_status=$?
33681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33682 test $ac_status = 0; }; then
33683 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33684 else
33685 pkg_failed=yes
33686 fi
33687 fi
33688 else
33689 pkg_failed=untried
33690 fi
33691 if test -n "$PKG_CONFIG"; then
33692 if test -n "$GNOMEVFS_LIBS"; then
33693 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
33694 else
33695 if test -n "$PKG_CONFIG" && \
33696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
33697 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
33698 ac_status=$?
33699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33700 test $ac_status = 0; }; then
33701 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
33702 else
33703 pkg_failed=yes
33704 fi
33705 fi
33706 else
33707 pkg_failed=untried
33708 fi
33709
33710
33711
33712 if test $pkg_failed = yes; then
33713
33714 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33715 _pkg_short_errors_supported=yes
33716 else
33717 _pkg_short_errors_supported=no
33718 fi
33719 if test $_pkg_short_errors_supported = yes; then
33720 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33721 else
33722 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
33723 fi
33724 # Put the nasty error message in config.log where it belongs
33725 echo "$GNOMEVFS_PKG_ERRORS" >&5
33726
33727
33728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33729 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33730 wxUSE_LIBGNOMEVFS="no"
33731
33732
33733 elif test $pkg_failed = untried; then
33734
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
33736 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
33737 wxUSE_LIBGNOMEVFS="no"
33738
33739
33740 else
33741 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
33742 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
33743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33744 $as_echo "yes" >&6; }
33745
33746 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
33747 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
33748 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
33749
33750
33751 fi
33752 fi
33753 fi
33754
33755 if test "$wxUSE_LIBHILDON" = "yes" ; then
33756
33757 pkg_failed=no
33758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
33759 $as_echo_n "checking for HILDON... " >&6; }
33760
33761 if test -n "$PKG_CONFIG"; then
33762 if test -n "$HILDON_CFLAGS"; then
33763 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
33764 else
33765 if test -n "$PKG_CONFIG" && \
33766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33767 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33768 ac_status=$?
33769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33770 test $ac_status = 0; }; then
33771 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
33772 else
33773 pkg_failed=yes
33774 fi
33775 fi
33776 else
33777 pkg_failed=untried
33778 fi
33779 if test -n "$PKG_CONFIG"; then
33780 if test -n "$HILDON_LIBS"; then
33781 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
33782 else
33783 if test -n "$PKG_CONFIG" && \
33784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
33785 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
33786 ac_status=$?
33787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33788 test $ac_status = 0; }; then
33789 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
33790 else
33791 pkg_failed=yes
33792 fi
33793 fi
33794 else
33795 pkg_failed=untried
33796 fi
33797
33798
33799
33800 if test $pkg_failed = yes; then
33801
33802 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33803 _pkg_short_errors_supported=yes
33804 else
33805 _pkg_short_errors_supported=no
33806 fi
33807 if test $_pkg_short_errors_supported = yes; then
33808 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33809 else
33810 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
33811 fi
33812 # Put the nasty error message in config.log where it belongs
33813 echo "$HILDON_PKG_ERRORS" >&5
33814
33815
33816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33817 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33818 wxUSE_LIBHILDON="no"
33819 ac_hildon_lgpl=0
33820
33821
33822 elif test $pkg_failed = untried; then
33823
33824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
33825 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
33826 wxUSE_LIBHILDON="no"
33827 ac_hildon_lgpl=0
33828
33829
33830 else
33831 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
33832 HILDON_LIBS=$pkg_cv_HILDON_LIBS
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33834 $as_echo "yes" >&6; }
33835
33836 EXTRALIBS_HILDON="$HILDON_LIBS"
33837 CFLAGS="$CFLAGS $HILDON_CFLAGS"
33838 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
33839 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
33840
33841 ac_hildon_lgpl=1
33842
33843 fi
33844
33845 if test "$ac_hildon_lgpl" = 0 ; then
33846
33847 pkg_failed=no
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
33849 $as_echo_n "checking for HILDON2... " >&6; }
33850
33851 if test -n "$PKG_CONFIG"; then
33852 if test -n "$HILDON2_CFLAGS"; then
33853 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
33854 else
33855 if test -n "$PKG_CONFIG" && \
33856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
33857 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
33858 ac_status=$?
33859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33860 test $ac_status = 0; }; then
33861 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
33862 else
33863 pkg_failed=yes
33864 fi
33865 fi
33866 else
33867 pkg_failed=untried
33868 fi
33869 if test -n "$PKG_CONFIG"; then
33870 if test -n "$HILDON2_LIBS"; then
33871 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
33872 else
33873 if test -n "$PKG_CONFIG" && \
33874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
33875 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
33876 ac_status=$?
33877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33878 test $ac_status = 0; }; then
33879 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
33880 else
33881 pkg_failed=yes
33882 fi
33883 fi
33884 else
33885 pkg_failed=untried
33886 fi
33887
33888
33889
33890 if test $pkg_failed = yes; then
33891
33892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33893 _pkg_short_errors_supported=yes
33894 else
33895 _pkg_short_errors_supported=no
33896 fi
33897 if test $_pkg_short_errors_supported = yes; then
33898 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
33899 else
33900 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
33901 fi
33902 # Put the nasty error message in config.log where it belongs
33903 echo "$HILDON2_PKG_ERRORS" >&5
33904
33905
33906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
33907 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
33908 wxUSE_LIBHILDON2="no"
33909
33910
33911 elif test $pkg_failed = untried; then
33912
33913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
33914 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
33915 wxUSE_LIBHILDON2="no"
33916
33917
33918 else
33919 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
33920 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
33921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33922 $as_echo "yes" >&6; }
33923
33924 EXTRALIBS_HILDON="$HILDON2_LIBS"
33925 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
33926 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
33927 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
33928
33929
33930 fi
33931 fi
33932 fi
33933 fi
33934
33935 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
33936 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
33937
33938 fi
33939
33940 if test "$wxUSE_STOPWATCH" = "yes"; then
33941 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
33942
33943 fi
33944
33945 if test "$wxUSE_DATETIME" = "yes"; then
33946 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
33947
33948 fi
33949
33950 if test "$wxUSE_FILE" = "yes"; then
33951 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
33952
33953 fi
33954
33955 if test "$wxUSE_FFILE" = "yes"; then
33956 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
33957
33958 fi
33959
33960 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
33961 if test "$wxUSE_STREAMS" != yes; then
33962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
33963 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
33964 wxUSE_ARCHIVE_STREAMS=no
33965 else
33966 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
33967
33968 fi
33969 fi
33970
33971 if test "$wxUSE_ZIPSTREAM" = "yes"; then
33972 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
33973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
33974 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
33975 elif test "$wxUSE_ZLIB" = "no"; then
33976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
33977 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
33978 else
33979 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
33980
33981 fi
33982 fi
33983
33984 if test "$wxUSE_TARSTREAM" = "yes"; then
33985 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
33987 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
33988 else
33989 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
33990
33991 fi
33992 fi
33993
33994 if test "$wxUSE_FILE_HISTORY" = "yes"; then
33995 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
33996
33997 fi
33998
33999 if test "$wxUSE_FILESYSTEM" = "yes"; then
34000 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
34001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34002 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34003 wxUSE_FILESYSTEM=no
34004 else
34005 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34006
34007 fi
34008 fi
34009
34010 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34011 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34013 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34014 else
34015 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34016
34017 fi
34018 fi
34019
34020 if test "$wxUSE_FS_ZIP" = "yes"; then
34021 if test "$wxUSE_FS_ARCHIVE" != yes; then
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34023 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34024 else
34025 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34026
34027 fi
34028 fi
34029
34030 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34031 if test "$USE_UNIX" != 1; then
34032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34033 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34034 wxUSE_ON_FATAL_EXCEPTION=no
34035 else
34036 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34037
34038 fi
34039 fi
34040
34041 if test "$wxUSE_STACKWALKER" = "yes"; then
34042 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34043
34044 fi
34045
34046 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34047 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34049 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34050 wxUSE_DEBUGREPORT=no
34051 else
34052 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34053
34054 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
34056 fi
34057 fi
34058 fi
34059
34060 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34061 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34062
34063 fi
34064
34065 if test "$wxUSE_BUSYINFO" = "yes"; then
34066 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34067
34068 fi
34069
34070 if test "$wxUSE_HOTKEY" = "yes"; then
34071 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34073 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34074 wxUSE_HOTKEY=no
34075 fi
34076 elif test "$wxUSE_HOTKEY" = "auto"; then
34077 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34078 wxUSE_HOTKEY=yes
34079 fi
34080 fi
34081 if test "$wxUSE_HOTKEY" = "yes"; then
34082 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34083
34084 fi
34085
34086 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34087 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34088
34089 fi
34090
34091 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34092 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34093
34094 fi
34095
34096 if test "$wxUSE_STD_STRING" = "yes"; then
34097 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34098
34099 fi
34100
34101 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34102 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34103
34104 fi
34105
34106 if test "$wxUSE_STDPATHS" = "yes"; then
34107 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34108
34109 fi
34110
34111 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34112 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34113
34114 fi
34115
34116 if test "$wxUSE_TEXTFILE" = "yes"; then
34117 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34119 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34120 else
34121 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34122
34123 fi
34124 fi
34125
34126 if test "$wxUSE_CONFIG" = "yes" ; then
34127 if test "$wxUSE_TEXTFILE" != "yes"; then
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34129 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34130 else
34131 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34132
34133 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34134
34135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
34136 fi
34137 fi
34138
34139 if test "$wxUSE_INTL" = "yes" ; then
34140 if test "$wxUSE_FILE" != "yes"; then
34141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34142 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34143 else
34144 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34145
34146 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
34147 GUIDIST="$GUIDIST INTL_DIST"
34148 fi
34149 fi
34150
34151 if test "$wxUSE_XLOCALE" = "yes" ; then
34152 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34153
34154 ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34155 #include <locale.h>
34156 "
34157 if test "x$ac_cv_type_locale_t" = x""yes; then :
34158
34159 cat >>confdefs.h <<_ACEOF
34160 #define HAVE_LOCALE_T 1
34161 _ACEOF
34162
34163
34164 fi
34165
34166 fi
34167
34168 if test "$wxUSE_LOG" = "yes"; then
34169 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34170
34171
34172 if test "$wxUSE_LOGGUI" = "yes"; then
34173 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34174
34175 fi
34176
34177 if test "$wxUSE_LOGWINDOW" = "yes"; then
34178 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34179
34180 fi
34181
34182 if test "$wxUSE_LOGDIALOG" = "yes"; then
34183 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34184
34185 fi
34186
34187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
34188 fi
34189
34190 if test "$wxUSE_LONGLONG" = "yes"; then
34191 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34192
34193 fi
34194
34195 if test "$wxUSE_GEOMETRY" = "yes"; then
34196 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34197
34198 fi
34199
34200 if test "$wxUSE_BASE64" = "yes"; then
34201 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34202
34203 fi
34204
34205 if test "$wxUSE_STREAMS" = "yes" ; then
34206 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34207
34208 fi
34209
34210 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34211 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34212
34213 fi
34214
34215 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34216 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34217
34218 fi
34219
34220
34221 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34222 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34223
34224
34225 if test "$wxUSE_UNIX" = "yes"; then
34226 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
34227 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
34228
34229 fi
34230
34231 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
34232 for ac_header in sys/epoll.h
34233 do :
34234 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
34235 "
34236 if test "x$ac_cv_header_sys_epoll_h" = x""yes; then :
34237 cat >>confdefs.h <<_ACEOF
34238 #define HAVE_SYS_EPOLL_H 1
34239 _ACEOF
34240
34241 fi
34242
34243 done
34244
34245 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
34246 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
34247
34248 else
34249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
34250 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
34251 fi
34252 fi
34253 fi
34254 fi
34255
34256
34257 for ac_func in gettimeofday ftime
34258 do :
34259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34261 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
34262 cat >>confdefs.h <<_ACEOF
34263 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34264 _ACEOF
34265 break
34266 fi
34267 done
34268
34269
34270 if test "$ac_cv_func_gettimeofday" = "yes"; then
34271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
34272 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
34273 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then :
34274 $as_echo_n "(cached) " >&6
34275 else
34276
34277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34278 /* end confdefs.h. */
34279
34280 #include <sys/time.h>
34281 #include <unistd.h>
34282
34283 int
34284 main ()
34285 {
34286
34287 struct timeval tv;
34288 gettimeofday(&tv, NULL);
34289
34290 ;
34291 return 0;
34292 }
34293 _ACEOF
34294 if ac_fn_c_try_compile "$LINENO"; then :
34295 wx_cv_func_gettimeofday_has_2_args=yes
34296 else
34297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34298 /* end confdefs.h. */
34299
34300 #include <sys/time.h>
34301 #include <unistd.h>
34302
34303 int
34304 main ()
34305 {
34306
34307 struct timeval tv;
34308 gettimeofday(&tv);
34309
34310 ;
34311 return 0;
34312 }
34313 _ACEOF
34314 if ac_fn_c_try_compile "$LINENO"; then :
34315 wx_cv_func_gettimeofday_has_2_args=no
34316 else
34317
34318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
34319 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
34320 wx_cv_func_gettimeofday_has_2_args=unknown
34321
34322
34323 fi
34324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34325
34326 fi
34327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34328
34329 fi
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
34331 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
34332
34333 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
34334 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
34335
34336 fi
34337 fi
34338
34339 if test "$wxUSE_DATETIME" = "yes"; then
34340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
34341 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
34342 if test "${wx_cv_var_timezone+set}" = set; then :
34343 $as_echo_n "(cached) " >&6
34344 else
34345
34346 ac_ext=cpp
34347 ac_cpp='$CXXCPP $CPPFLAGS'
34348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34351
34352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34353 /* end confdefs.h. */
34354
34355 #include <time.h>
34356
34357 int
34358 main ()
34359 {
34360
34361 int tz;
34362 tz = timezone;
34363
34364 ;
34365 return 0;
34366 }
34367 _ACEOF
34368 if ac_fn_cxx_try_compile "$LINENO"; then :
34369
34370 wx_cv_var_timezone=timezone
34371
34372 else
34373
34374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34375 /* end confdefs.h. */
34376
34377 #include <time.h>
34378
34379 int
34380 main ()
34381 {
34382
34383 int tz;
34384 tz = _timezone;
34385
34386 ;
34387 return 0;
34388 }
34389 _ACEOF
34390 if ac_fn_cxx_try_compile "$LINENO"; then :
34391
34392 wx_cv_var_timezone=_timezone
34393
34394 else
34395
34396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h. */
34398
34399 #include <time.h>
34400
34401 int
34402 main ()
34403 {
34404
34405 int tz;
34406 tz = __timezone;
34407
34408 ;
34409 return 0;
34410 }
34411 _ACEOF
34412 if ac_fn_cxx_try_compile "$LINENO"; then :
34413
34414 wx_cv_var_timezone=__timezone
34415
34416 else
34417
34418 if test "$USE_DOS" = 0 ; then
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
34420 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
34421 fi
34422
34423
34424 fi
34425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34426
34427
34428 fi
34429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34430
34431
34432 fi
34433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34434 ac_ext=c
34435 ac_cpp='$CPP $CPPFLAGS'
34436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34439
34440
34441
34442 fi
34443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
34444 $as_echo "$wx_cv_var_timezone" >&6; }
34445
34446 if test "x$wx_cv_var_timezone" != x ; then
34447 cat >>confdefs.h <<_ACEOF
34448 #define WX_TIMEZONE $wx_cv_var_timezone
34449 _ACEOF
34450
34451 fi
34452
34453 for ac_func in localtime
34454 do :
34455 ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
34456 if test "x$ac_cv_func_localtime" = x""yes; then :
34457 cat >>confdefs.h <<_ACEOF
34458 #define HAVE_LOCALTIME 1
34459 _ACEOF
34460
34461 fi
34462 done
34463
34464
34465 if test "$ac_cv_func_localtime" = "yes"; then
34466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
34467 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
34468 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then :
34469 $as_echo_n "(cached) " >&6
34470 else
34471
34472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34473 /* end confdefs.h. */
34474
34475 #include <time.h>
34476
34477 int
34478 main ()
34479 {
34480
34481 struct tm tm;
34482 tm.tm_gmtoff++;
34483
34484 ;
34485 return 0;
34486 }
34487 _ACEOF
34488 if ac_fn_c_try_compile "$LINENO"; then :
34489
34490 wx_cv_struct_tm_has_gmtoff=yes
34491
34492 else
34493 wx_cv_struct_tm_has_gmtoff=no
34494
34495 fi
34496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34497
34498 fi
34499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
34500 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
34501 fi
34502
34503 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
34504 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
34505
34506 fi
34507
34508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
34509 fi
34510
34511
34512 if test "$wxUSE_SOCKETS" = "yes"; then
34513 if test "$TOOLKIT" != "MSW"; then
34514 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
34515 if test "x$ac_cv_func_socket" = x""yes; then :
34516
34517 else
34518
34519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
34520 $as_echo_n "checking for socket in -lsocket... " >&6; }
34521 if test "${ac_cv_lib_socket_socket+set}" = set; then :
34522 $as_echo_n "(cached) " >&6
34523 else
34524 ac_check_lib_save_LIBS=$LIBS
34525 LIBS="-lsocket $LIBS"
34526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34527 /* end confdefs.h. */
34528
34529 /* Override any GCC internal prototype to avoid an error.
34530 Use char because int might match the return type of a GCC
34531 builtin and then its argument prototype would still apply. */
34532 #ifdef __cplusplus
34533 extern "C"
34534 #endif
34535 char socket ();
34536 int
34537 main ()
34538 {
34539 return socket ();
34540 ;
34541 return 0;
34542 }
34543 _ACEOF
34544 if ac_fn_c_try_link "$LINENO"; then :
34545 ac_cv_lib_socket_socket=yes
34546 else
34547 ac_cv_lib_socket_socket=no
34548 fi
34549 rm -f core conftest.err conftest.$ac_objext \
34550 conftest$ac_exeext conftest.$ac_ext
34551 LIBS=$ac_check_lib_save_LIBS
34552 fi
34553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
34554 $as_echo "$ac_cv_lib_socket_socket" >&6; }
34555 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
34556 if test "$INET_LINK" != " -lsocket"; then
34557 INET_LINK="$INET_LINK -lsocket"
34558 fi
34559 else
34560
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
34562 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
34563 wxUSE_SOCKETS=no
34564
34565
34566 fi
34567
34568
34569
34570 fi
34571
34572 fi
34573 fi
34574
34575 if test "$wxUSE_SOCKETS" = "yes" ; then
34576 if test "$TOOLKIT" != "MSW"; then
34577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
34578 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
34579 if test "${wx_cv_type_getsockname3+set}" = set; then :
34580 $as_echo_n "(cached) " >&6
34581 else
34582
34583 ac_ext=cpp
34584 ac_cpp='$CXXCPP $CPPFLAGS'
34585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34588
34589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34590 /* end confdefs.h. */
34591
34592 #include <sys/types.h>
34593 #include <sys/socket.h>
34594
34595 int
34596 main ()
34597 {
34598
34599 socklen_t len;
34600 getsockname(0, 0, &len);
34601
34602 ;
34603 return 0;
34604 }
34605 _ACEOF
34606 if ac_fn_cxx_try_compile "$LINENO"; then :
34607 wx_cv_type_getsockname3=socklen_t
34608 else
34609
34610 CFLAGS_OLD="$CFLAGS"
34611 if test "$GCC" = yes ; then
34612 CFLAGS="-Werror $CFLAGS"
34613 fi
34614
34615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34616 /* end confdefs.h. */
34617
34618 #include <sys/types.h>
34619 #include <sys/socket.h>
34620
34621 int
34622 main ()
34623 {
34624
34625 size_t len;
34626 getsockname(0, 0, &len);
34627
34628 ;
34629 return 0;
34630 }
34631 _ACEOF
34632 if ac_fn_cxx_try_compile "$LINENO"; then :
34633 wx_cv_type_getsockname3=size_t
34634 else
34635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34636 /* end confdefs.h. */
34637
34638 #include <sys/types.h>
34639 #include <sys/socket.h>
34640
34641 int
34642 main ()
34643 {
34644
34645 int len;
34646 getsockname(0, 0, &len);
34647
34648 ;
34649 return 0;
34650 }
34651 _ACEOF
34652 if ac_fn_cxx_try_compile "$LINENO"; then :
34653 wx_cv_type_getsockname3=int
34654 else
34655 wx_cv_type_getsockname3=unknown
34656
34657 fi
34658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34659
34660 fi
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662
34663 CFLAGS="$CFLAGS_OLD"
34664
34665
34666 fi
34667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34668 ac_ext=c
34669 ac_cpp='$CPP $CPPFLAGS'
34670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34673
34674
34675 fi
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
34677 $as_echo "$wx_cv_type_getsockname3" >&6; }
34678
34679 if test "$wx_cv_type_getsockname3" = "unknown"; then
34680 wxUSE_SOCKETS=no
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34682 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34683 else
34684 cat >>confdefs.h <<_ACEOF
34685 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
34686 _ACEOF
34687
34688 fi
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
34690 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
34691 if test "${wx_cv_type_getsockopt5+set}" = set; then :
34692 $as_echo_n "(cached) " >&6
34693 else
34694
34695 ac_ext=cpp
34696 ac_cpp='$CXXCPP $CPPFLAGS'
34697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34700
34701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34702 /* end confdefs.h. */
34703
34704 #include <sys/types.h>
34705 #include <sys/socket.h>
34706
34707 int
34708 main ()
34709 {
34710
34711 socklen_t len;
34712 getsockopt(0, 0, 0, 0, &len);
34713
34714 ;
34715 return 0;
34716 }
34717 _ACEOF
34718 if ac_fn_cxx_try_compile "$LINENO"; then :
34719 wx_cv_type_getsockopt5=socklen_t
34720 else
34721
34722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34723 /* end confdefs.h. */
34724
34725 #include <sys/types.h>
34726 #include <sys/socket.h>
34727
34728 int
34729 main ()
34730 {
34731
34732 size_t len;
34733 getsockopt(0, 0, 0, 0, &len);
34734
34735 ;
34736 return 0;
34737 }
34738 _ACEOF
34739 if ac_fn_cxx_try_compile "$LINENO"; then :
34740 wx_cv_type_getsockopt5=size_t
34741 else
34742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34743 /* end confdefs.h. */
34744
34745 #include <sys/types.h>
34746 #include <sys/socket.h>
34747
34748 int
34749 main ()
34750 {
34751
34752 int len;
34753 getsockopt(0, 0, 0, 0, &len);
34754
34755 ;
34756 return 0;
34757 }
34758 _ACEOF
34759 if ac_fn_cxx_try_compile "$LINENO"; then :
34760 wx_cv_type_getsockopt5=int
34761 else
34762 wx_cv_type_getsockopt5=unknown
34763
34764 fi
34765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34766
34767 fi
34768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34769
34770
34771 fi
34772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34773 ac_ext=c
34774 ac_cpp='$CPP $CPPFLAGS'
34775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34778
34779
34780 fi
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
34782 $as_echo "$wx_cv_type_getsockopt5" >&6; }
34783
34784 if test "$wx_cv_type_getsockopt5" = "unknown"; then
34785 wxUSE_SOCKETS=no
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
34787 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
34788 else
34789 cat >>confdefs.h <<_ACEOF
34790 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
34791 _ACEOF
34792
34793 fi
34794 fi
34795 fi
34796
34797 if test "$wxUSE_SOCKETS" = "yes" ; then
34798 if test "$wxUSE_IPV6" = "yes"; then
34799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
34800 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
34801 if test "${wx_cv_type_sockaddr_in6+set}" = set; then :
34802 $as_echo_n "(cached) " >&6
34803 else
34804
34805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34806 /* end confdefs.h. */
34807
34808 #include <sys/types.h>
34809 #include <sys/socket.h>
34810 #include <netinet/in.h>
34811
34812 int
34813 main ()
34814 {
34815
34816 struct sockaddr_in6 sa6;
34817
34818 ;
34819 return 0;
34820 }
34821 _ACEOF
34822 if ac_fn_c_try_compile "$LINENO"; then :
34823 wx_cv_type_sockaddr_in6=yes
34824 else
34825 wx_cv_type_sockaddr_in6=no
34826
34827 fi
34828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34829
34830
34831 fi
34832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
34833 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
34834
34835 if test "$wx_cv_type_sockaddr_in6"="yes"; then
34836 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
34837
34838 else
34839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
34840 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
34841 fi
34842 fi
34843
34844 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
34845
34846 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
34847 fi
34848
34849 if test "$wxUSE_PROTOCOL" = "yes"; then
34850 if test "$wxUSE_SOCKETS" != "yes"; then
34851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
34852 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
34853 wxUSE_PROTOCOL=no
34854 fi
34855 fi
34856
34857 if test "$wxUSE_PROTOCOL" = "yes"; then
34858 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
34859
34860
34861 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
34862 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
34863
34864 fi
34865 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
34866 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
34867
34868 fi
34869 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
34870 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
34871
34872 fi
34873 else
34874 if test "$wxUSE_FS_INET" = "yes"; then
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
34876 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
34877 wxUSE_FS_INET="no"
34878 fi
34879 fi
34880
34881 if test "$wxUSE_URL" = "yes"; then
34882 if test "$wxUSE_PROTOCOL" != "yes"; then
34883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
34884 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
34885 wxUSE_URL=no
34886 fi
34887 if test "$wxUSE_URL" = "yes"; then
34888 $as_echo "#define wxUSE_URL 1" >>confdefs.h
34889
34890 fi
34891 fi
34892
34893 if test "$wxUSE_VARIANT" = "yes"; then
34894 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
34895
34896 fi
34897
34898 if test "$wxUSE_FS_INET" = "yes"; then
34899 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
34900
34901 fi
34902
34903
34904 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
34905 wxUSE_JOYSTICK=no
34906
34907 if test "$TOOLKIT" = "MSW"; then
34908 wxUSE_JOYSTICK=yes
34909
34910 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
34911 if test "$USE_DARWIN" = 1; then
34912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
34913 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
34914 ac_ext=cpp
34915 ac_cpp='$CXXCPP $CPPFLAGS'
34916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34919
34920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34921 /* end confdefs.h. */
34922 #include <IOKit/hid/IOHIDLib.h>
34923 int
34924 main ()
34925 {
34926 IOHIDQueueInterface *qi = NULL;
34927 IOHIDCallbackFunction cb = NULL;
34928 qi->setEventCallout(NULL, cb, NULL, NULL);
34929 ;
34930 return 0;
34931 }
34932 _ACEOF
34933 if ac_fn_cxx_try_compile "$LINENO"; then :
34934 wxUSE_JOYSTICK=yes
34935
34936 fi
34937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34938 ac_ext=c
34939 ac_cpp='$CPP $CPPFLAGS'
34940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34943
34944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
34945 $as_echo "$wxUSE_JOYSTICK" >&6; }
34946 fi
34947
34948 else
34949 for ac_header in linux/joystick.h
34950 do :
34951 ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
34952 "
34953 if test "x$ac_cv_header_linux_joystick_h" = x""yes; then :
34954 cat >>confdefs.h <<_ACEOF
34955 #define HAVE_LINUX_JOYSTICK_H 1
34956 _ACEOF
34957 wxUSE_JOYSTICK=yes
34958 fi
34959
34960 done
34961
34962 fi
34963
34964 if test "$wxUSE_JOYSTICK" = "yes"; then
34965 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
34966
34967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
34968 else
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
34970 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34971 fi
34972 fi
34973
34974
34975
34976 if test "$wxUSE_FONTENUM" = "yes" ; then
34977 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
34978
34979 fi
34980
34981 if test "$wxUSE_FONTMAP" = "yes" ; then
34982 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
34983
34984 fi
34985
34986 if test "$wxUSE_UNICODE" = "yes" ; then
34987 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
34988
34989
34990 if test "$USE_WIN32" != 1; then
34991 wxUSE_UNICODE_MSLU=no
34992 fi
34993
34994 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
34996 $as_echo_n "checking for main in -lunicows... " >&6; }
34997 if test "${ac_cv_lib_unicows_main+set}" = set; then :
34998 $as_echo_n "(cached) " >&6
34999 else
35000 ac_check_lib_save_LIBS=$LIBS
35001 LIBS="-lunicows $LIBS"
35002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35003 /* end confdefs.h. */
35004
35005
35006 int
35007 main ()
35008 {
35009 return main ();
35010 ;
35011 return 0;
35012 }
35013 _ACEOF
35014 if ac_fn_c_try_link "$LINENO"; then :
35015 ac_cv_lib_unicows_main=yes
35016 else
35017 ac_cv_lib_unicows_main=no
35018 fi
35019 rm -f core conftest.err conftest.$ac_objext \
35020 conftest$ac_exeext conftest.$ac_ext
35021 LIBS=$ac_check_lib_save_LIBS
35022 fi
35023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35024 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35025 if test "x$ac_cv_lib_unicows_main" = x""yes; then :
35026
35027 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35028
35029
35030 else
35031
35032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35033 Applications will only run on Windows NT/2000/XP!" >&5
35034 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35035 Applications will only run on Windows NT/2000/XP!" >&2;}
35036 wxUSE_UNICODE_MSLU=no
35037
35038 fi
35039
35040 fi
35041 fi
35042
35043 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35044 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35045
35046
35047 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35048 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35049
35050 fi
35051 fi
35052
35053
35054 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35055 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35056
35057 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
35058 fi
35059
35060 if test "$wxUSE_MDI" = "yes"; then
35061 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35062
35063
35064 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35065 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35066
35067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
35068 fi
35069 fi
35070
35071 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35072 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35073
35074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
35075 fi
35076
35077 if test "$wxUSE_HELP" = "yes"; then
35078 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35079
35080 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
35081
35082 if test "$wxUSE_MSW" = 1; then
35083 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35084 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35085
35086 fi
35087 fi
35088
35089 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35090 if test "$wxUSE_HTML" = "yes"; then
35091 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35092
35093 else
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35095 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35096 wxUSE_WXHTML_HELP=no
35097 fi
35098 fi
35099 fi
35100
35101 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35102 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35103
35104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
35105 fi
35106
35107 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35108 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35109
35110 fi
35111
35112 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35113
35114
35115 if test "$wxUSE_SVG" = "yes"; then
35116 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35117
35118 fi
35119
35120
35121 if test "$wxUSE_METAFILE" = "yes"; then
35122 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35124 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35125 wxUSE_METAFILE=no
35126 fi
35127 elif test "$wxUSE_METAFILE" = "auto"; then
35128 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35129 wxUSE_METAFILE=yes
35130 fi
35131 fi
35132
35133 if test "$wxUSE_METAFILE" = "yes"; then
35134 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35135
35136 if test "$wxUSE_MSW" = 1; then
35137 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35138
35139 fi
35140 fi
35141
35142
35143 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
35144 -o "$wxUSE_CLIPBOARD" = "yes" \
35145 -o "$wxUSE_OLE" = "yes" \
35146 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
35147 ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35148 "
35149 if test "x$ac_cv_header_ole2_h" = x""yes; then :
35150
35151 fi
35152
35153
35154
35155 if test "$ac_cv_header_ole2_h" = "yes" ; then
35156 if test "$GCC" = yes ; then
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35158 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35160 /* end confdefs.h. */
35161 #include <windows.h>
35162 #include <ole2.h>
35163 int
35164 main ()
35165 {
35166
35167 ;
35168 return 0;
35169 }
35170 _ACEOF
35171 if ac_fn_c_try_compile "$LINENO"; then :
35172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35173 $as_echo "no" >&6; }
35174 else
35175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35176 $as_echo "yes" >&6; }
35177 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35178 fi
35179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35180 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35181 if test "$wxUSE_OLE" = "yes" ; then
35182 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35183
35184 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35185
35186 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35187
35188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
35189 fi
35190 fi
35191
35192 if test "$wxUSE_DATAOBJ" = "yes" ; then
35193 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35194
35195 fi
35196 else
35197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35198 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35199
35200 wxUSE_CLIPBOARD=no
35201 wxUSE_DRAG_AND_DROP=no
35202 wxUSE_DATAOBJ=no
35203 wxUSE_OLE=no
35204 fi
35205 fi
35206
35207 if test "$wxUSE_IPC" = "yes"; then
35208 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35210 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
35211 wxUSE_IPC=no
35212 fi
35213
35214 if test "$wxUSE_IPC" = "yes"; then
35215 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
35216
35217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
35218 fi
35219 fi
35220
35221 if test "$wxUSE_DATAOBJ" = "yes"; then
35222 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35223
35224 else
35225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
35226 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
35227 wxUSE_CLIPBOARD=no
35228 wxUSE_DRAG_AND_DROP=no
35229 fi
35230
35231 if test "$wxUSE_CLIPBOARD" = "yes"; then
35232 if test "$wxUSE_DFB" = 1; then
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
35234 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
35235 wxUSE_CLIPBOARD=no
35236 fi
35237
35238 if test "$wxUSE_CLIPBOARD" = "yes"; then
35239 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
35240
35241 fi
35242 fi
35243
35244 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
35245 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
35246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
35247 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
35248 wxUSE_DRAG_AND_DROP=no
35249 fi
35250
35251 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
35252 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
35253
35254 fi
35255
35256 fi
35257
35258 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
35259 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
35260 fi
35261
35262 if test "$wxUSE_CLIPBOARD" = "yes"; then
35263 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
35264 fi
35265
35266 if test "$wxUSE_SPLINES" = "yes" ; then
35267 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
35268
35269 fi
35270
35271 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
35272 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
35273
35274 fi
35275
35276 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
35277 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
35278
35279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
35280 fi
35281
35282 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
35283 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
35284
35285 fi
35286
35287
35288 USES_CONTROLS=0
35289 if test "$wxUSE_CONTROLS" = "yes"; then
35290 USES_CONTROLS=1
35291 fi
35292
35293 if test "$wxUSE_MARKUP" = "yes"; then
35294 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
35295
35296 fi
35297
35298 if test "$wxUSE_ACCEL" = "yes"; then
35299 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
35300
35301 USES_CONTROLS=1
35302 fi
35303
35304 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
35305 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
35306
35307 USES_CONTROLS=1
35308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
35309 fi
35310
35311 if test "$wxUSE_BANNERWINDOW" = "yes"; then
35312 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
35313
35314 fi
35315
35316 if test "$wxUSE_BUTTON" = "yes"; then
35317 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
35318
35319 USES_CONTROLS=1
35320 fi
35321
35322 if test "$wxUSE_BMPBUTTON" = "yes"; then
35323 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
35324
35325 USES_CONTROLS=1
35326 fi
35327
35328 if test "$wxUSE_CALCTRL" = "yes"; then
35329 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
35330
35331 USES_CONTROLS=1
35332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
35333 fi
35334
35335 if test "$wxUSE_CARET" = "yes"; then
35336 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
35337
35338 USES_CONTROLS=1
35339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
35340 fi
35341
35342 if test "$wxUSE_COLLPANE" = "yes"; then
35343 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
35344
35345 USES_CONTROLS=1
35346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
35347 fi
35348
35349 if test "$wxUSE_COMBOBOX" = "yes"; then
35350 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
35351
35352 USES_CONTROLS=1
35353 fi
35354
35355 if test "$wxUSE_COMBOCTRL" = "yes"; then
35356 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
35357
35358 USES_CONTROLS=1
35359 fi
35360
35361 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
35362 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
35363
35364 USES_CONTROLS=1
35365 fi
35366
35367 if test "$wxUSE_CHOICE" = "yes"; then
35368 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
35369
35370 USES_CONTROLS=1
35371 fi
35372
35373 if test "$wxUSE_CHOICEBOOK" = "yes"; then
35374 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
35375
35376 USES_CONTROLS=1
35377 fi
35378
35379 if test "$wxUSE_CHECKBOX" = "yes"; then
35380 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
35381
35382 USES_CONTROLS=1
35383 fi
35384
35385 if test "$wxUSE_CHECKLST" = "yes"; then
35386 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
35387
35388 USES_CONTROLS=1
35389 fi
35390
35391 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
35392 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
35393
35394 USES_CONTROLS=1
35395 fi
35396
35397 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
35398 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
35399
35400 USES_CONTROLS=1
35401 fi
35402
35403 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
35404 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
35405
35406 USES_CONTROLS=1
35407 fi
35408
35409 if test "$wxUSE_FILECTRL" = "yes"; then
35410 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
35411
35412 USES_CONTROLS=1
35413 fi
35414
35415 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
35416 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
35417
35418 USES_CONTROLS=1
35419 fi
35420
35421 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
35422 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
35423
35424 USES_CONTROLS=1
35425 fi
35426
35427 if test "$wxUSE_DISPLAY" = "yes"; then
35428 if test "$wxUSE_DFB" = 1; then
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
35430 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
35431 wxUSE_DISPLAY=no
35432 else
35433 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
35434
35435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
35436 fi
35437 fi
35438
35439 if test "$wxUSE_DETECT_SM" = "yes"; then
35440 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
35441
35442 fi
35443
35444 if test "$wxUSE_GAUGE" = "yes"; then
35445 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
35446
35447 USES_CONTROLS=1
35448 fi
35449
35450 if test "$wxUSE_GRID" = "yes"; then
35451 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
35452
35453 USES_CONTROLS=1
35454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
35455 fi
35456
35457 if test "$wxUSE_HEADERCTRL" = "yes"; then
35458 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
35459
35460 USES_CONTROLS=1
35461 fi
35462
35463 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
35464 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
35465
35466 USES_CONTROLS=1
35467 fi
35468
35469 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
35470 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
35471
35472 USES_CONTROLS=1
35473 fi
35474
35475 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
35476 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
35477
35478 USES_CONTROLS=1
35479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
35480 fi
35481
35482 if test "$wxUSE_IMAGLIST" = "yes"; then
35483 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
35484
35485 fi
35486
35487 if test "$wxUSE_INFOBAR" = "yes"; then
35488 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
35489
35490 fi
35491
35492 if test "$wxUSE_LISTBOOK" = "yes"; then
35493 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
35494
35495 USES_CONTROLS=1
35496 fi
35497
35498 if test "$wxUSE_LISTBOX" = "yes"; then
35499 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
35500
35501 USES_CONTROLS=1
35502 fi
35503
35504 if test "$wxUSE_LISTCTRL" = "yes"; then
35505 if test "$wxUSE_IMAGLIST" = "yes"; then
35506 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
35507
35508 USES_CONTROLS=1
35509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
35510 else
35511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
35512 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
35513 fi
35514 fi
35515
35516 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
35517 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
35518
35519 USES_CONTROLS=1
35520 fi
35521
35522 if test "$wxUSE_NOTEBOOK" = "yes"; then
35523 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
35524
35525 USES_CONTROLS=1
35526 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
35527 fi
35528
35529 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
35530 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
35531
35532 fi
35533
35534 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
35535 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
35536
35537 USES_CONTROLS=1
35538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
35539 fi
35540
35541 if test "$wxUSE_RADIOBOX" = "yes"; then
35542 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
35543
35544 USES_CONTROLS=1
35545 fi
35546
35547 if test "$wxUSE_RADIOBTN" = "yes"; then
35548 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
35549
35550 USES_CONTROLS=1
35551 fi
35552
35553 if test "$wxUSE_REARRANGECTRL" = "yes"; then
35554 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
35555
35556 fi
35557
35558 if test "$wxUSE_RICHMSGDLG" = "yes"; then
35559 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
35560
35561 fi
35562
35563 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
35564 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
35565
35566 fi
35567
35568 if test "$wxUSE_SASH" = "yes"; then
35569 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
35570
35571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
35572 fi
35573
35574 if test "$wxUSE_SCROLLBAR" = "yes"; then
35575 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
35576
35577 USES_CONTROLS=1
35578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
35579 fi
35580
35581 if test "$wxUSE_SEARCHCTRL" = "yes"; then
35582 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
35583
35584 USES_CONTROLS=1
35585 fi
35586
35587 if test "$wxUSE_SLIDER" = "yes"; then
35588 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
35589
35590 USES_CONTROLS=1
35591 fi
35592
35593 if test "$wxUSE_SPINBTN" = "yes"; then
35594 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
35595
35596 USES_CONTROLS=1
35597 fi
35598
35599 if test "$wxUSE_SPINCTRL" = "yes"; then
35600 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
35601
35602 USES_CONTROLS=1
35603 fi
35604
35605 if test "$wxUSE_SPLITTER" = "yes"; then
35606 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
35607
35608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
35609 fi
35610
35611 if test "$wxUSE_STATBMP" = "yes"; then
35612 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
35613
35614 USES_CONTROLS=1
35615 fi
35616
35617 if test "$wxUSE_STATBOX" = "yes"; then
35618 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
35619
35620 USES_CONTROLS=1
35621 fi
35622
35623 if test "$wxUSE_STATTEXT" = "yes"; then
35624 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
35625
35626 USES_CONTROLS=1
35627 fi
35628
35629 if test "$wxUSE_STATLINE" = "yes"; then
35630 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
35631
35632 USES_CONTROLS=1
35633 fi
35634
35635 if test "$wxUSE_STATUSBAR" = "yes"; then
35636 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
35637
35638 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
35639
35640 USES_CONTROLS=1
35641
35642 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
35643 fi
35644
35645 if test "$wxUSE_TEXTCTRL" = "yes"; then
35646 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
35647
35648 USES_CONTROLS=1
35649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
35650
35651 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
35652
35653 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
35654
35655 fi
35656
35657 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
35658 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
35659
35660 USES_CONTROLS=1
35661 fi
35662
35663 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35664 if test "$wxUSE_OLD_COCOA" = 1 ; then
35665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
35666 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
35667 wxUSE_TOGGLEBTN=no
35668 fi
35669
35670 if test "$wxUSE_TOGGLEBTN" = "yes"; then
35671 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
35672
35673 USES_CONTROLS=1
35674 fi
35675 fi
35676
35677 if test "$wxUSE_TOOLBAR" = "yes"; then
35678 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
35679
35680 USES_CONTROLS=1
35681
35682 if test "$wxUSE_UNIVERSAL" = "yes"; then
35683 wxUSE_TOOLBAR_NATIVE="no"
35684 else
35685 wxUSE_TOOLBAR_NATIVE="yes"
35686 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
35687
35688 fi
35689
35690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35691 fi
35692
35693 if test "$wxUSE_TOOLTIPS" = "yes"; then
35694 if test "$wxUSE_MOTIF" = 1; then
35695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35696 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35697 else
35698 if test "$wxUSE_UNIVERSAL" = "yes"; then
35699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35700 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35701 else
35702 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
35703
35704 fi
35705 fi
35706 fi
35707
35708 if test "$wxUSE_TREEBOOK" = "yes"; then
35709 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
35710
35711 USES_CONTROLS=1
35712 fi
35713
35714 if test "$wxUSE_TOOLBOOK" = "yes"; then
35715 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
35716
35717 USES_CONTROLS=1
35718 fi
35719
35720 if test "$wxUSE_TREECTRL" = "yes"; then
35721 if test "$wxUSE_IMAGLIST" = "yes"; then
35722 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
35723
35724 USES_CONTROLS=1
35725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35726 else
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35728 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35729 fi
35730 fi
35731
35732 if test "$wxUSE_TREELISTCTRL" = "yes"; then
35733 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
35734
35735 USES_CONTROLS=1
35736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
35737 fi
35738
35739 if test "$wxUSE_POPUPWIN" = "yes"; then
35740 if test "$wxUSE_OLD_COCOA" = 1 ; then
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35742 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35743 else
35744 if test "$wxUSE_PM" = 1; then
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35746 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35747 else
35748 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
35749
35750 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
35751
35752 USES_CONTROLS=1
35753 fi
35754 fi
35755 fi
35756
35757 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
35758 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
35760 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
35761 else
35762 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
35763
35764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
35765 fi
35766 fi
35767
35768 if test "$wxUSE_TIPWINDOW" = "yes"; then
35769 if test "$wxUSE_PM" = 1; then
35770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35771 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35772 else
35773 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
35774
35775 fi
35776 fi
35777
35778 if test "$USES_CONTROLS" = 1; then
35779 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
35780
35781 fi
35782
35783
35784 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35785 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
35786
35787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
35788 fi
35789
35790 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
35791 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
35792
35793 fi
35794
35795 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
35796 if test "$wxUSE_GTK" != 1; then
35797 if test "$wxUSE_LIBPNG" != no -a \
35798 "$wxUSE_IMAGE" = yes -a \
35799 "$wxUSE_STREAMS" = yes; then
35800 wxUSE_ARTPROVIDER_TANGO="yes"
35801 fi
35802 fi
35803 fi
35804
35805 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
35806 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
35807
35808 fi
35809
35810 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35811 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
35812
35813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
35814 fi
35815
35816 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35817 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
35819 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
35820 else
35821 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
35822
35823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
35824 fi
35825 fi
35826
35827 USE_HTML=0
35828 if test "$wxUSE_HTML" = "yes"; then
35829 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
35830
35831 USE_HTML=1
35832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35833 fi
35834 if test "$wxUSE_WEBKIT" = "yes"; then
35835 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
35836 old_CPPFLAGS="$CPPFLAGS"
35837 CPPFLAGS="-x objective-c++ $CPPFLAGS"
35838 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
35839 #include <Carbon/Carbon.h>
35840 #include <WebKit/WebKit.h>
35841
35842 "
35843 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
35844
35845 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
35846
35847 WEBKIT_LINK="-framework WebKit"
35848
35849 else
35850
35851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
35852 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
35853 wxUSE_WEBKIT=no
35854
35855 fi
35856
35857
35858 CPPFLAGS="$old_CPPFLAGS"
35859 elif test "$wxUSE_OLD_COCOA" = 1; then
35860 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
35861
35862 else
35863 wxUSE_WEBKIT=no
35864 fi
35865 if test "$wxUSE_WEBKIT" = "yes"; then
35866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
35867 fi
35868 fi
35869
35870 USE_XRC=0
35871 if test "$wxUSE_XRC" = "yes"; then
35872 if test "$wxUSE_XML" != "yes"; then
35873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
35874 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
35875 wxUSE_XRC=no
35876 else
35877 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
35878
35879 USE_XRC=1
35880 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
35881 fi
35882 fi
35883
35884 USE_AUI=0
35885 if test "$wxUSE_AUI" = "yes"; then
35886 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
35887
35888 USE_AUI=1
35889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
35890 fi
35891
35892 USE_PROPGRID=0
35893 if test "$wxUSE_PROPGRID" = "yes"; then
35894 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
35895
35896 USE_PROPGRID=1
35897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
35898 fi
35899
35900 USE_RIBBON=0
35901 if test "$wxUSE_RIBBON" = "yes"; then
35902 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
35903
35904 USE_RIBBON=1
35905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
35906 fi
35907
35908 USE_STC=0
35909 if test "$wxUSE_STC" = "yes"; then
35910 $as_echo "#define wxUSE_STC 1" >>confdefs.h
35911
35912 USE_STC=1
35913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
35914
35915 # Extract the first word of "python", so it can be a program name with args.
35916 set dummy python; ac_word=$2
35917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
35918 $as_echo_n "checking for $ac_word... " >&6; }
35919 if test "${ac_cv_path_PYTHON+set}" = set; then :
35920 $as_echo_n "(cached) " >&6
35921 else
35922 case $PYTHON in
35923 [\\/]* | ?:[\\/]*)
35924 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
35925 ;;
35926 *)
35927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35928 for as_dir in $PATH
35929 do
35930 IFS=$as_save_IFS
35931 test -z "$as_dir" && as_dir=.
35932 for ac_exec_ext in '' $ac_executable_extensions; do
35933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35934 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
35935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
35936 break 2
35937 fi
35938 done
35939 done
35940 IFS=$as_save_IFS
35941
35942 ;;
35943 esac
35944 fi
35945 PYTHON=$ac_cv_path_PYTHON
35946 if test -n "$PYTHON"; then
35947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
35948 $as_echo "$PYTHON" >&6; }
35949 else
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35951 $as_echo "no" >&6; }
35952 fi
35953
35954
35955 if test "x$PYTHON" = "x"; then
35956 COND_PYTHON="#"
35957 fi
35958
35959 fi
35960
35961 if test "$wxUSE_MENUS" = "yes"; then
35962 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
35963
35964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
35965 fi
35966
35967 if test "$wxUSE_MIMETYPE" = "yes"; then
35968 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
35969
35970 fi
35971
35972 if test "$wxUSE_MINIFRAME" = "yes"; then
35973 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
35974
35975 fi
35976
35977 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
35978 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
35979
35980 fi
35981
35982 if test "$wxUSE_TASKBARICON" = "yes"; then
35983 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
35984
35985 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
35986
35987 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
35988 fi
35989
35990
35991 if test "$wxUSE_VALIDATORS" = "yes"; then
35992 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
35993
35994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
35995 fi
35996
35997 if test "$wxUSE_PALETTE" = "yes" ; then
35998 if test "$wxUSE_DFB" = 1; then
35999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36000 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36001 wxUSE_PALETTE=no
36002 else
36003 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36004
36005 fi
36006 fi
36007
36008 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36009 LIBS=" -lunicows $LIBS"
36010 fi
36011
36012 USE_RICHTEXT=0
36013 if test "$wxUSE_RICHTEXT" = "yes"; then
36014 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36015
36016 USE_RICHTEXT=1
36017 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
36018 fi
36019
36020 if test "$wxUSE_WEBVIEW" = "yes"; then
36021 USE_WEBVIEW_WEBKIT=0
36022 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36023 if test "$wxUSE_GTK" = 1; then
36024
36025 pkg_failed=no
36026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36027 $as_echo_n "checking for WEBKIT... " >&6; }
36028
36029 if test -n "$PKG_CONFIG"; then
36030 if test -n "$WEBKIT_CFLAGS"; then
36031 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
36032 else
36033 if test -n "$PKG_CONFIG" && \
36034 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\""; } >&5
36035 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
36036 ac_status=$?
36037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36038 test $ac_status = 0; }; then
36039 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.3.1" 2>/dev/null`
36040 else
36041 pkg_failed=yes
36042 fi
36043 fi
36044 else
36045 pkg_failed=untried
36046 fi
36047 if test -n "$PKG_CONFIG"; then
36048 if test -n "$WEBKIT_LIBS"; then
36049 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
36050 else
36051 if test -n "$PKG_CONFIG" && \
36052 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\""; } >&5
36053 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
36054 ac_status=$?
36055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36056 test $ac_status = 0; }; then
36057 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= 1.3.1" 2>/dev/null`
36058 else
36059 pkg_failed=yes
36060 fi
36061 fi
36062 else
36063 pkg_failed=untried
36064 fi
36065
36066
36067
36068 if test $pkg_failed = yes; then
36069
36070 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36071 _pkg_short_errors_supported=yes
36072 else
36073 _pkg_short_errors_supported=no
36074 fi
36075 if test $_pkg_short_errors_supported = yes; then
36076 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
36077 else
36078 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
36079 fi
36080 # Put the nasty error message in config.log where it belongs
36081 echo "$WEBKIT_PKG_ERRORS" >&5
36082
36083
36084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36085 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36086
36087 elif test $pkg_failed = untried; then
36088
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36090 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36091
36092 else
36093 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
36094 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36096 $as_echo "yes" >&6; }
36097
36098 USE_WEBVIEW_WEBKIT=1
36099 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
36100 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36101
36102 fi
36103 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36104 old_CPPFLAGS="$CPPFLAGS"
36105 CPPFLAGS="-x objective-c++ $CPPFLAGS"
36106 ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36107 #include <Carbon/Carbon.h>
36108 #include <WebKit/WebKit.h>
36109
36110 "
36111 if test "x$ac_cv_header_WebKit_HIWebView_h" = x""yes; then :
36112
36113 USE_WEBVIEW_WEBKIT=1
36114 WEBKIT_LINK="-framework WebKit"
36115
36116 else
36117
36118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36119 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36120
36121 fi
36122
36123
36124 CPPFLAGS="$old_CPPFLAGS"
36125 fi
36126 fi
36127
36128 wxUSE_WEBVIEW="no"
36129 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36130 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36131 wxUSE_WEBVIEW="yes"
36132 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36133
36134 else
36135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36136 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36137 fi
36138 elif test "$wxUSE_MSW" = 1; then
36139 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36140 wxUSE_WEBVIEW="yes"
36141 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36142
36143 fi
36144 fi
36145 fi
36146
36147 if test "$wxUSE_WEBVIEW" = "yes"; then
36148 USE_WEBVIEW=1
36149 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36150
36151 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
36152 else
36153 USE_WEBVIEW=0
36154 fi
36155
36156
36157 if test "$wxUSE_IMAGE" = "yes" ; then
36158 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36159
36160
36161 if test "$wxUSE_GIF" = "yes" ; then
36162 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36163
36164 fi
36165
36166 if test "$wxUSE_PCX" = "yes" ; then
36167 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36168
36169 fi
36170
36171 if test "$wxUSE_TGA" = "yes" ; then
36172 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36173
36174 fi
36175
36176 if test "$wxUSE_IFF" = "yes" ; then
36177 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36178
36179 fi
36180
36181 if test "$wxUSE_PNM" = "yes" ; then
36182 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36183
36184 fi
36185
36186 if test "$wxUSE_XPM" = "yes" ; then
36187 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36188
36189 fi
36190
36191 if test "$wxUSE_ICO_CUR" = "yes" ; then
36192 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36193
36194 fi
36195 fi
36196
36197
36198 if test "$wxUSE_ABOUTDLG" = "yes"; then
36199 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36200
36201 fi
36202
36203 if test "$wxUSE_CHOICEDLG" = "yes"; then
36204 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36205
36206 fi
36207
36208 if test "$wxUSE_COLOURDLG" = "yes"; then
36209 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
36210
36211 fi
36212
36213 if test "$wxUSE_FILEDLG" = "yes"; then
36214 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
36215
36216 fi
36217
36218 if test "$wxUSE_FINDREPLDLG" = "yes"; then
36219 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
36220
36221 fi
36222
36223 if test "$wxUSE_FONTDLG" = "yes"; then
36224 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
36225
36226 fi
36227
36228 if test "$wxUSE_DIRDLG" = "yes"; then
36229 if test "$wxUSE_TREECTRL" != "yes"; then
36230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
36231 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
36232 else
36233 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
36234
36235 fi
36236 fi
36237
36238 if test "$wxUSE_MSGDLG" = "yes"; then
36239 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
36240
36241 fi
36242
36243 if test "$wxUSE_NUMBERDLG" = "yes"; then
36244 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
36245
36246 fi
36247
36248 if test "$wxUSE_PROGRESSDLG" = "yes"; then
36249 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
36250
36251 fi
36252
36253 if test "$wxUSE_SPLASH" = "yes"; then
36254 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
36255
36256 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
36257 fi
36258
36259 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
36260 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
36261
36262 fi
36263
36264 if test "$wxUSE_TEXTDLG" = "yes"; then
36265 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
36266
36267 fi
36268
36269 if test "$wxUSE_WIZARDDLG" = "yes"; then
36270 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
36271
36272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
36273 fi
36274
36275
36276 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
36277 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
36278 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
36279
36280 fi
36281 fi
36282
36283
36284 if test "$wxUSE_MSW" = 1 ; then
36285
36286 if test "$wxUSE_DC_CACHEING" = "yes"; then
36287 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
36288
36289 fi
36290
36291 if test "$wxUSE_DIB" = "yes"; then
36292 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
36293
36294 fi
36295
36296 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
36297 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
36298
36299 fi
36300
36301 if test "$wxUSE_UXTHEME" = "yes"; then
36302 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
36303
36304 fi
36305
36306 fi
36307
36308 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
36309 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
36310
36311 fi
36312
36313 if test "$USE_WIN32" = 1 ; then
36314 if test "$wxUSE_INICONF" = "yes"; then
36315 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
36316
36317 fi
36318
36319 if test "$wxUSE_REGKEY" = "yes"; then
36320 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
36321
36322 fi
36323 fi
36324
36325
36326 if test "$wxUSE_MAC" = 1; then
36327 wxUSE_GRAPHICS_CONTEXT="yes"
36328 fi
36329
36330 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
36331 wx_has_graphics=0
36332 if test "$wxUSE_MSW" = 1; then
36333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
36334 $as_echo_n "checking if GDI+ is available... " >&6; }
36335 if test "${wx_cv_lib_gdiplus+set}" = set; then :
36336 $as_echo_n "(cached) " >&6
36337 else
36338
36339 ac_ext=cpp
36340 ac_cpp='$CXXCPP $CPPFLAGS'
36341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36344
36345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36346 /* end confdefs.h. */
36347 #include <windows.h>
36348 #include <gdiplus.h>
36349 int
36350 main ()
36351 {
36352
36353 using namespace Gdiplus;
36354
36355 ;
36356 return 0;
36357 }
36358 _ACEOF
36359 if ac_fn_cxx_try_compile "$LINENO"; then :
36360 wx_cv_lib_gdiplus=yes
36361 else
36362 wx_cv_lib_gdiplus=no
36363
36364 fi
36365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36366 ac_ext=c
36367 ac_cpp='$CPP $CPPFLAGS'
36368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36371
36372
36373
36374 fi
36375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
36376 $as_echo "$wx_cv_lib_gdiplus" >&6; }
36377 if test "$wx_cv_lib_gdiplus" = "yes"; then
36378 wx_has_graphics=1
36379 fi
36380 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
36381
36382 pkg_failed=no
36383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
36384 $as_echo_n "checking for CAIRO... " >&6; }
36385
36386 if test -n "$PKG_CONFIG"; then
36387 if test -n "$CAIRO_CFLAGS"; then
36388 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
36389 else
36390 if test -n "$PKG_CONFIG" && \
36391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36392 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36393 ac_status=$?
36394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36395 test $ac_status = 0; }; then
36396 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
36397 else
36398 pkg_failed=yes
36399 fi
36400 fi
36401 else
36402 pkg_failed=untried
36403 fi
36404 if test -n "$PKG_CONFIG"; then
36405 if test -n "$CAIRO_LIBS"; then
36406 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
36407 else
36408 if test -n "$PKG_CONFIG" && \
36409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
36410 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
36411 ac_status=$?
36412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36413 test $ac_status = 0; }; then
36414 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
36415 else
36416 pkg_failed=yes
36417 fi
36418 fi
36419 else
36420 pkg_failed=untried
36421 fi
36422
36423
36424
36425 if test $pkg_failed = yes; then
36426
36427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36428 _pkg_short_errors_supported=yes
36429 else
36430 _pkg_short_errors_supported=no
36431 fi
36432 if test $_pkg_short_errors_supported = yes; then
36433 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
36434 else
36435 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
36436 fi
36437 # Put the nasty error message in config.log where it belongs
36438 echo "$CAIRO_PKG_ERRORS" >&5
36439
36440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36441 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36442
36443 elif test $pkg_failed = untried; then
36444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
36445 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
36446
36447 else
36448 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
36449 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
36450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36451 $as_echo "yes" >&6; }
36452 wx_has_graphics=1
36453 fi
36454 if test "$wx_has_graphics" = 1; then
36455 save_LIBS="$LIBS"
36456 LIBS="$LIBS $CAIRO_LIBS"
36457 for ac_func in cairo_push_group
36458 do :
36459 ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
36460 if test "x$ac_cv_func_cairo_push_group" = x""yes; then :
36461 cat >>confdefs.h <<_ACEOF
36462 #define HAVE_CAIRO_PUSH_GROUP 1
36463 _ACEOF
36464
36465 fi
36466 done
36467
36468 LIBS="$save_LIBS"
36469 if test "$ac_cv_func_cairo_push_group" = "no"; then
36470 wx_has_graphics=0
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
36472 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
36473 else
36474 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
36475
36476
36477 if test "$wxUSE_GTK" != 1; then
36478 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
36479 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
36480 fi
36481 fi
36482 fi
36483 else
36484 wx_has_graphics=1
36485 fi
36486
36487 if test "$wx_has_graphics" = 1; then
36488 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
36489
36490 else
36491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
36492 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
36493 fi
36494 fi
36495
36496
36497 USE_MEDIA=0
36498
36499 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
36500 USE_MEDIA=1
36501
36502 if test "$wxUSE_GTK" = 1; then
36503 wxUSE_GSTREAMER="no"
36504
36505 GST_VERSION_MAJOR=0
36506 GST_VERSION_MINOR=10
36507 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36508
36509 if test "$wxUSE_GSTREAMER8" = "no"; then
36510
36511 pkg_failed=no
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36513 $as_echo_n "checking for GST... " >&6; }
36514
36515 if test -n "$PKG_CONFIG"; then
36516 if test -n "$GST_CFLAGS"; then
36517 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36518 else
36519 if test -n "$PKG_CONFIG" && \
36520 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36521 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36522 ac_status=$?
36523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36524 test $ac_status = 0; }; then
36525 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36526 else
36527 pkg_failed=yes
36528 fi
36529 fi
36530 else
36531 pkg_failed=untried
36532 fi
36533 if test -n "$PKG_CONFIG"; then
36534 if test -n "$GST_LIBS"; then
36535 pkg_cv_GST_LIBS="$GST_LIBS"
36536 else
36537 if test -n "$PKG_CONFIG" && \
36538 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
36539 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
36540 ac_status=$?
36541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36542 test $ac_status = 0; }; then
36543 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
36544 else
36545 pkg_failed=yes
36546 fi
36547 fi
36548 else
36549 pkg_failed=untried
36550 fi
36551
36552
36553
36554 if test $pkg_failed = yes; then
36555
36556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36557 _pkg_short_errors_supported=yes
36558 else
36559 _pkg_short_errors_supported=no
36560 fi
36561 if test $_pkg_short_errors_supported = yes; then
36562 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36563 else
36564 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
36565 fi
36566 # Put the nasty error message in config.log where it belongs
36567 echo "$GST_PKG_ERRORS" >&5
36568
36569
36570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36571 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36572 GST_VERSION_MINOR=8
36573
36574
36575 elif test $pkg_failed = untried; then
36576
36577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
36578 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
36579 GST_VERSION_MINOR=8
36580
36581
36582 else
36583 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36584 GST_LIBS=$pkg_cv_GST_LIBS
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36586 $as_echo "yes" >&6; }
36587
36588 wxUSE_GSTREAMER="yes"
36589 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
36590
36591 fi
36592 else
36593 GST_VERSION_MINOR=8
36594 fi
36595
36596 if test $GST_VERSION_MINOR = "8"; then
36597 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
36598
36599 pkg_failed=no
36600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
36601 $as_echo_n "checking for GST... " >&6; }
36602
36603 if test -n "$PKG_CONFIG"; then
36604 if test -n "$GST_CFLAGS"; then
36605 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
36606 else
36607 if test -n "$PKG_CONFIG" && \
36608 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36609 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36610 ac_status=$?
36611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36612 test $ac_status = 0; }; then
36613 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36614 else
36615 pkg_failed=yes
36616 fi
36617 fi
36618 else
36619 pkg_failed=untried
36620 fi
36621 if test -n "$PKG_CONFIG"; then
36622 if test -n "$GST_LIBS"; then
36623 pkg_cv_GST_LIBS="$GST_LIBS"
36624 else
36625 if test -n "$PKG_CONFIG" && \
36626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
36627 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
36628 ac_status=$?
36629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36630 test $ac_status = 0; }; then
36631 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
36632 else
36633 pkg_failed=yes
36634 fi
36635 fi
36636 else
36637 pkg_failed=untried
36638 fi
36639
36640
36641
36642 if test $pkg_failed = yes; then
36643
36644 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36645 _pkg_short_errors_supported=yes
36646 else
36647 _pkg_short_errors_supported=no
36648 fi
36649 if test $_pkg_short_errors_supported = yes; then
36650 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36651 else
36652 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
36653 fi
36654 # Put the nasty error message in config.log where it belongs
36655 echo "$GST_PKG_ERRORS" >&5
36656
36657
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36659 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36660
36661 elif test $pkg_failed = untried; then
36662
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
36664 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
36665
36666 else
36667 GST_CFLAGS=$pkg_cv_GST_CFLAGS
36668 GST_LIBS=$pkg_cv_GST_LIBS
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36670 $as_echo "yes" >&6; }
36671 wxUSE_GSTREAMER="yes"
36672 fi
36673 fi
36674
36675
36676 if test "$wxUSE_GSTREAMER" = "yes"; then
36677 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
36678 EXTRALIBS_MEDIA="$GST_LIBS"
36679
36680 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
36681
36682 else
36683 USE_MEDIA=0
36684 fi
36685 fi
36686
36687 if test $USE_MEDIA = 1; then
36688 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
36689 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
36690
36691 else
36692 if test "$wxUSE_MEDIACTRL" = "yes"; then
36693 as_fn_error $? "GStreamer not available" "$LINENO" 5
36694 else
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
36696 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
36697 fi
36698 fi
36699 fi
36700
36701
36702 if test "$cross_compiling" != "no"; then
36703 OSINFO="\"$host\""
36704 else
36705 OSINFO=`uname -s -r -m`
36706 OSINFO="\"$OSINFO\""
36707 fi
36708
36709 cat >>confdefs.h <<_ACEOF
36710 #define WXWIN_OS_DESCRIPTION $OSINFO
36711 _ACEOF
36712
36713
36714
36715 if test "x$prefix" != "xNONE"; then
36716 wxPREFIX=$prefix
36717 else
36718 wxPREFIX=$ac_default_prefix
36719 fi
36720
36721 cat >>confdefs.h <<_ACEOF
36722 #define wxINSTALL_PREFIX "$wxPREFIX"
36723 _ACEOF
36724
36725
36726
36727
36728 STD_BASE_LIBS="base"
36729 STD_GUI_LIBS=""
36730 BUILT_WX_LIBS="base"
36731 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
36732
36733 if test "$wxUSE_SOCKETS" = "yes" ; then
36734 STD_BASE_LIBS="net $STD_BASE_LIBS"
36735 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
36736 fi
36737 if test "$wxUSE_XML" = "yes" ; then
36738 STD_BASE_LIBS="xml $STD_BASE_LIBS"
36739 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
36740 fi
36741
36742 if test "$wxUSE_GUI" = "yes"; then
36743 STD_GUI_LIBS="adv core"
36744 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
36745
36746 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
36747 STD_GUI_LIBS="qa $STD_GUI_LIBS"
36748 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
36749 fi
36750 if test "$wxUSE_HTML" = "yes" ; then
36751 STD_GUI_LIBS="html $STD_GUI_LIBS"
36752 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
36753 fi
36754 if test "$wxUSE_MEDIACTRL" = "yes" ; then
36755 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
36756 fi
36757 if test "$wxUSE_OPENGL" = "yes" ; then
36758 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
36759 fi
36760 if test "$wxUSE_AUI" = "yes" ; then
36761 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
36762 fi
36763 if test "$wxUSE_PROPGRID" = "yes" ; then
36764 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
36765 fi
36766 if test "$wxUSE_RIBBON" = "yes" ; then
36767 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
36768 fi
36769 if test "$wxUSE_RICHTEXT" = "yes" ; then
36770 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
36771 fi
36772 if test "$wxUSE_STC" = "yes" ; then
36773 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
36774 fi
36775 if test "$wxUSE_WEBVIEW" = "yes" ; then
36776 STD_GUI_LIBS="webview $STD_GUI_LIBS"
36777 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
36778 fi
36779 if test "$wxUSE_XRC" = "yes" ; then
36780 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
36781 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
36782 fi
36783 fi
36784
36785
36786
36787
36788
36789
36790
36791 EXTRA_FRAMEWORKS=
36792 if test "$wxUSE_MAC" = 1 ; then
36793 if test "$USE_DARWIN" = 1; then
36794 if test "$wxUSE_OSX_IPHONE" = 1; then
36795 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
36796 else
36797 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
36798
36799
36800 if test "$cross_compiling" != "no"; then
36801 wx_cv_target_x86_64=no
36802 else
36803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
36804 $as_echo_n "checking if we target only x86_64... " >&6; }
36805 if test "${wx_cv_target_x86_64+set}" = set; then :
36806 $as_echo_n "(cached) " >&6
36807 else
36808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36809 /* end confdefs.h. */
36810 int main() { return 0; }
36811 _ACEOF
36812 if ac_fn_c_try_link "$LINENO"; then :
36813 if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
36814 wx_cv_target_x86_64=no
36815 else
36816 wx_cv_target_x86_64=yes
36817 fi
36818
36819 fi
36820 rm -f core conftest.err conftest.$ac_objext \
36821 conftest$ac_exeext conftest.$ac_ext
36822
36823 fi
36824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
36825 $as_echo "$wx_cv_target_x86_64" >&6; }
36826 fi
36827
36828 if test "$wx_cv_target_x86_64" != "yes"; then
36829 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
36830 fi
36831 fi
36832 fi
36833 fi
36834 if test "$wxUSE_OLD_COCOA" = 1 ; then
36835 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
36836 if test "$wxUSE_MEDIACTRL" = "yes"; then
36837 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
36838 fi
36839 fi
36840 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
36841 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
36842 fi
36843
36844 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
36845 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
36846
36847 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
36848
36849 if test "$wxUSE_GUI" = "yes"; then
36850
36851
36852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
36853 erase event exec font image minimal render \
36854 shaped svg taborder vscroll widgets wrapsizer"
36855
36856 if test "$wxUSE_MONOLITHIC" != "yes"; then
36857 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
36858 fi
36859 if test "$TOOLKIT" = "MSW"; then
36860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
36861 if test "$wxUSE_UNIVERSAL" != "yes"; then
36862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
36863 fi
36864 fi
36865 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
36866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
36867 fi
36868 else
36869 SAMPLES_SUBDIRS="console"
36870 if test "$wxUSE_SOCKETS" = "yes" ; then
36871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
36872 fi
36873 if test "$wxUSE_IPC" = "yes" ; then
36874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
36875 fi
36876 fi
36877
36878
36879 if test "x$INTELCC" = "xyes" ; then
36880 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
36881 elif test "$GCC" = yes ; then
36882 CWARNINGS="-Wall -Wundef"
36883 fi
36884
36885 if test "x$INTELCXX" = "xyes" ; then
36886 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
36887 elif test "$GXX" = yes ; then
36888 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
36889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
36890 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
36891 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then :
36892 $as_echo_n "(cached) " >&6
36893 else
36894 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
36895
36896 ac_ext=cpp
36897 ac_cpp='$CXXCPP $CPPFLAGS'
36898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901
36902 ac_save_CXXFLAGS="$CXXFLAGS"
36903 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
36904 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
36905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36906 /* end confdefs.h. */
36907
36908 int
36909 main ()
36910 {
36911 return 0;
36912 ;
36913 return 0;
36914 }
36915 _ACEOF
36916 if ac_fn_cxx_try_compile "$LINENO"; then :
36917 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
36918 fi
36919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36920 done
36921 CXXFLAGS="$ac_save_CXXFLAGS"
36922 ac_ext=c
36923 ac_cpp='$CPP $CPPFLAGS'
36924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36927
36928
36929 fi
36930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
36931 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
36932 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
36933 .ok|.ok,*) ;;
36934 .|.no|.no,*) ;;
36935 *)
36936 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
36937 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
36938 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
36939 ac_status=$?
36940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36941 test $ac_status = 0; }
36942 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
36943 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
36944 ac_status=$?
36945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36946 test $ac_status = 0; }
36947 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
36948 fi
36949 ;;
36950 esac
36951
36952
36953 if test "$wxUSE_MAC" = 1 ; then
36954 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
36955 fi
36956 fi
36957
36958
36959 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
36960 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
36961
36962
36963 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
36964 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
36965 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
36966 $CPPFLAGS `
36967
36968 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
36969 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
36970 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
36971 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
36972 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
36973
36974 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
36975
36976
36977 if test "x$MWCC" = "xyes"; then
36978
36979 CC="$CC -cwd source -I-"
36980 CXX="$CXX -cwd source -I-"
36981 fi
36982
36983
36984 LIBS=`echo $LIBS`
36985 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
36986 EXTRALIBS_XML="$EXPAT_LINK"
36987 EXTRALIBS_HTML="$MSPACK_LINK"
36988 EXTRALIBS_MEDIA="$GST_LIBS"
36989 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
36990 if test "$wxUSE_GUI" = "yes"; then
36991 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
36992 fi
36993 if test "$wxUSE_OPENGL" = "yes"; then
36994 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
36995 fi
36996
36997 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
36998
36999 WXCONFIG_LIBS="$LIBS"
37000
37001 if test "$wxUSE_REGEX" = "builtin" ; then
37002 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37003 fi
37004 if test "$wxUSE_EXPAT" = "builtin" ; then
37005 wxconfig_3rdparty="expat $wxconfig_3rdparty"
37006 fi
37007 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37008 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
37009 fi
37010 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37011 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
37012 fi
37013 if test "$wxUSE_LIBPNG" = "builtin" ; then
37014 wxconfig_3rdparty="png $wxconfig_3rdparty"
37015 fi
37016 if test "$wxUSE_ZLIB" = "builtin" ; then
37017 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
37018 fi
37019
37020 for i in $wxconfig_3rdparty ; do
37021 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37022 done
37023
37024
37025 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37026 WXUNIV=1
37027
37028 case "$wxUNIV_THEMES" in
37029 ''|all)
37030 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37031
37032 ;;
37033
37034 *)
37035 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37036 cat >>confdefs.h <<_ACEOF
37037 #define wxUSE_THEME_$t 1
37038 _ACEOF
37039
37040 done
37041 esac
37042 else
37043 WXUNIV=0
37044 fi
37045
37046
37047
37048
37049
37050
37051
37052
37053 if test $wxUSE_MONOLITHIC = "yes" ; then
37054 MONOLITHIC=1
37055 else
37056 MONOLITHIC=0
37057 fi
37058
37059 if test $wxUSE_PLUGINS = "yes" ; then
37060 USE_PLUGINS=1
37061 else
37062 USE_PLUGINS=0
37063 fi
37064
37065 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37066 USE_QA=1
37067 else
37068 USE_QA=0
37069 fi
37070
37071 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37072 OFFICIAL_BUILD=1
37073 else
37074 OFFICIAL_BUILD=0
37075 fi
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114 case "$TOOLKIT" in
37115 GTK)
37116 TOOLKIT_DESC="GTK+"
37117 if test "$WXGTK2" = 1; then
37118 TOOLKIT_DESC="$TOOLKIT_DESC 2"
37119 if test "$wxUSE_GTKPRINT" = "yes" ; then
37120 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
37121 fi
37122 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37123 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
37124 fi
37125 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37126 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
37127 fi
37128 if test "$wxUSE_LIBHILDON" = "yes"; then
37129 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37130 fi
37131 if test "$wxUSE_LIBHILDON2" = "yes"; then
37132 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
37133 fi
37134
37135 if test "$TOOLKIT_EXTRA" != ""; then
37136 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37137 fi
37138 fi
37139 ;;
37140
37141 ?*)
37142 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
37143 ;;
37144
37145 *)
37146 TOOLKIT_DESC="base only"
37147 ;;
37148 esac
37149
37150 if test "$wxUSE_WINE" = "yes"; then
37151 BAKEFILE_FORCE_PLATFORM=win32
37152 fi
37153
37154 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37155 then
37156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37157 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37158 if test "${wx_cv_gcc_pch_bug+set}" = set; then :
37159 $as_echo_n "(cached) " >&6
37160 else
37161
37162 echo '#include <stdio.h>
37163 const wchar_t test_var[] = L"awidetest";' > conftest.h
37164
37165 echo '#include "conftest.h"
37166 int main()
37167 {
37168 printf("%ls", test_var);
37169 return 0;
37170 }' > conftest.cpp
37171
37172 wx_cv_gcc_pch_bug="pch not supported"
37173
37174 if $CXX conftest.h >/dev/null 2>&1
37175 then
37176 wx_cv_gcc_pch_bug=
37177
37178 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
37179 then
37180 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
37181 grep awidetest >/dev/null
37182 then
37183 wx_cv_gcc_pch_bug=no
37184 else
37185 wx_cv_gcc_pch_bug=yes
37186 fi
37187 fi
37188 fi
37189
37190 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
37191
37192 fi
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37194 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37195
37196 if test "$wx_cv_gcc_pch_bug" = yes; then
37197 bk_use_pch=no
37198 fi
37199 fi
37200
37201 # Find a good install program. We prefer a C program (faster),
37202 # so one script is as good as another. But avoid the broken or
37203 # incompatible versions:
37204 # SysV /etc/install, /usr/sbin/install
37205 # SunOS /usr/etc/install
37206 # IRIX /sbin/install
37207 # AIX /bin/install
37208 # AmigaOS /C/install, which installs bootblocks on floppy discs
37209 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
37210 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
37211 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
37212 # OS/2's system install, which has a completely different semantic
37213 # ./install, which can be erroneously created by make from ./install.sh.
37214 # Reject install programs that cannot install multiple files.
37215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
37216 $as_echo_n "checking for a BSD-compatible install... " >&6; }
37217 if test -z "$INSTALL"; then
37218 if test "${ac_cv_path_install+set}" = set; then :
37219 $as_echo_n "(cached) " >&6
37220 else
37221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37222 for as_dir in $PATH
37223 do
37224 IFS=$as_save_IFS
37225 test -z "$as_dir" && as_dir=.
37226 # Account for people who put trailing slashes in PATH elements.
37227 case $as_dir/ in #((
37228 ./ | .// | /[cC]/* | \
37229 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
37230 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
37231 /usr/ucb/* ) ;;
37232 *)
37233 # OSF1 and SCO ODT 3.0 have their own names for install.
37234 # Don't use installbsd from OSF since it installs stuff as root
37235 # by default.
37236 for ac_prog in ginstall scoinst install; do
37237 for ac_exec_ext in '' $ac_executable_extensions; do
37238 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
37239 if test $ac_prog = install &&
37240 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37241 # AIX install. It has an incompatible calling convention.
37242 :
37243 elif test $ac_prog = install &&
37244 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
37245 # program-specific install script used by HP pwplus--don't use.
37246 :
37247 else
37248 rm -rf conftest.one conftest.two conftest.dir
37249 echo one > conftest.one
37250 echo two > conftest.two
37251 mkdir conftest.dir
37252 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
37253 test -s conftest.one && test -s conftest.two &&
37254 test -s conftest.dir/conftest.one &&
37255 test -s conftest.dir/conftest.two
37256 then
37257 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
37258 break 3
37259 fi
37260 fi
37261 fi
37262 done
37263 done
37264 ;;
37265 esac
37266
37267 done
37268 IFS=$as_save_IFS
37269
37270 rm -rf conftest.one conftest.two conftest.dir
37271
37272 fi
37273 if test "${ac_cv_path_install+set}" = set; then
37274 INSTALL=$ac_cv_path_install
37275 else
37276 # As a last resort, use the slow shell script. Don't cache a
37277 # value for INSTALL within a source directory, because that will
37278 # break other packages using the cache if that directory is
37279 # removed, or if the value is a relative name.
37280 INSTALL=$ac_install_sh
37281 fi
37282 fi
37283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
37284 $as_echo "$INSTALL" >&6; }
37285
37286 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
37287 # It thinks the first close brace ends the variable substitution.
37288 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
37289
37290 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
37291
37292 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
37293
37294
37295
37296
37297
37298
37299
37300 if test "x$BAKEFILE_HOST" = "x"; then
37301 if test "x${host}" = "x" ; then
37302 as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
37303 fi
37304
37305 BAKEFILE_HOST="${host}"
37306 fi
37307
37308 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
37309
37310 if test -n "$ac_tool_prefix"; then
37311 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
37312 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37314 $as_echo_n "checking for $ac_word... " >&6; }
37315 if test "${ac_cv_prog_RANLIB+set}" = set; then :
37316 $as_echo_n "(cached) " >&6
37317 else
37318 if test -n "$RANLIB"; then
37319 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
37320 else
37321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37322 for as_dir in $PATH
37323 do
37324 IFS=$as_save_IFS
37325 test -z "$as_dir" && as_dir=.
37326 for ac_exec_ext in '' $ac_executable_extensions; do
37327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37328 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
37329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37330 break 2
37331 fi
37332 done
37333 done
37334 IFS=$as_save_IFS
37335
37336 fi
37337 fi
37338 RANLIB=$ac_cv_prog_RANLIB
37339 if test -n "$RANLIB"; then
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
37341 $as_echo "$RANLIB" >&6; }
37342 else
37343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37344 $as_echo "no" >&6; }
37345 fi
37346
37347
37348 fi
37349 if test -z "$ac_cv_prog_RANLIB"; then
37350 ac_ct_RANLIB=$RANLIB
37351 # Extract the first word of "ranlib", so it can be a program name with args.
37352 set dummy ranlib; ac_word=$2
37353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37354 $as_echo_n "checking for $ac_word... " >&6; }
37355 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
37356 $as_echo_n "(cached) " >&6
37357 else
37358 if test -n "$ac_ct_RANLIB"; then
37359 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
37360 else
37361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37362 for as_dir in $PATH
37363 do
37364 IFS=$as_save_IFS
37365 test -z "$as_dir" && as_dir=.
37366 for ac_exec_ext in '' $ac_executable_extensions; do
37367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37368 ac_cv_prog_ac_ct_RANLIB="ranlib"
37369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37370 break 2
37371 fi
37372 done
37373 done
37374 IFS=$as_save_IFS
37375
37376 fi
37377 fi
37378 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
37379 if test -n "$ac_ct_RANLIB"; then
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
37381 $as_echo "$ac_ct_RANLIB" >&6; }
37382 else
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37384 $as_echo "no" >&6; }
37385 fi
37386
37387 if test "x$ac_ct_RANLIB" = x; then
37388 RANLIB=":"
37389 else
37390 case $cross_compiling:$ac_tool_warned in
37391 yes:)
37392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37394 ac_tool_warned=yes ;;
37395 esac
37396 RANLIB=$ac_ct_RANLIB
37397 fi
37398 else
37399 RANLIB="$ac_cv_prog_RANLIB"
37400 fi
37401
37402
37403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
37404 $as_echo_n "checking whether ln -s works... " >&6; }
37405 LN_S=$as_ln_s
37406 if test "$LN_S" = "ln -s"; then
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37408 $as_echo "yes" >&6; }
37409 else
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
37411 $as_echo "no, using $LN_S" >&6; }
37412 fi
37413
37414
37415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
37416 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
37417 set x ${MAKE-make}
37418 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
37419 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
37420 $as_echo_n "(cached) " >&6
37421 else
37422 cat >conftest.make <<\_ACEOF
37423 SHELL = /bin/sh
37424 all:
37425 @echo '@@@%%%=$(MAKE)=@@@%%%'
37426 _ACEOF
37427 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37428 case `${MAKE-make} -f conftest.make 2>/dev/null` in
37429 *@@@%%%=?*=@@@%%%*)
37430 eval ac_cv_prog_make_${ac_make}_set=yes;;
37431 *)
37432 eval ac_cv_prog_make_${ac_make}_set=no;;
37433 esac
37434 rm -f conftest.make
37435 fi
37436 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
37437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37438 $as_echo "yes" >&6; }
37439 SET_MAKE=
37440 else
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37442 $as_echo "no" >&6; }
37443 SET_MAKE="MAKE=${MAKE-make}"
37444 fi
37445
37446
37447
37448 if test "x$SUNCXX" = "xyes"; then
37449 AR=$CXX
37450 AROPTIONS="-xar -o"
37451
37452 elif test "x$SGICC" = "xyes"; then
37453 AR=$CXX
37454 AROPTIONS="-ar -o"
37455
37456 else
37457 if test -n "$ac_tool_prefix"; then
37458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
37459 set dummy ${ac_tool_prefix}ar; ac_word=$2
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37461 $as_echo_n "checking for $ac_word... " >&6; }
37462 if test "${ac_cv_prog_AR+set}" = set; then :
37463 $as_echo_n "(cached) " >&6
37464 else
37465 if test -n "$AR"; then
37466 ac_cv_prog_AR="$AR" # Let the user override the test.
37467 else
37468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37469 for as_dir in $PATH
37470 do
37471 IFS=$as_save_IFS
37472 test -z "$as_dir" && as_dir=.
37473 for ac_exec_ext in '' $ac_executable_extensions; do
37474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37475 ac_cv_prog_AR="${ac_tool_prefix}ar"
37476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37477 break 2
37478 fi
37479 done
37480 done
37481 IFS=$as_save_IFS
37482
37483 fi
37484 fi
37485 AR=$ac_cv_prog_AR
37486 if test -n "$AR"; then
37487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
37488 $as_echo "$AR" >&6; }
37489 else
37490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37491 $as_echo "no" >&6; }
37492 fi
37493
37494
37495 fi
37496 if test -z "$ac_cv_prog_AR"; then
37497 ac_ct_AR=$AR
37498 # Extract the first word of "ar", so it can be a program name with args.
37499 set dummy ar; ac_word=$2
37500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37501 $as_echo_n "checking for $ac_word... " >&6; }
37502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
37503 $as_echo_n "(cached) " >&6
37504 else
37505 if test -n "$ac_ct_AR"; then
37506 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
37507 else
37508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37509 for as_dir in $PATH
37510 do
37511 IFS=$as_save_IFS
37512 test -z "$as_dir" && as_dir=.
37513 for ac_exec_ext in '' $ac_executable_extensions; do
37514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37515 ac_cv_prog_ac_ct_AR="ar"
37516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37517 break 2
37518 fi
37519 done
37520 done
37521 IFS=$as_save_IFS
37522
37523 fi
37524 fi
37525 ac_ct_AR=$ac_cv_prog_ac_ct_AR
37526 if test -n "$ac_ct_AR"; then
37527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
37528 $as_echo "$ac_ct_AR" >&6; }
37529 else
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37531 $as_echo "no" >&6; }
37532 fi
37533
37534 if test "x$ac_ct_AR" = x; then
37535 AR="ar"
37536 else
37537 case $cross_compiling:$ac_tool_warned in
37538 yes:)
37539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37540 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37541 ac_tool_warned=yes ;;
37542 esac
37543 AR=$ac_ct_AR
37544 fi
37545 else
37546 AR="$ac_cv_prog_AR"
37547 fi
37548
37549 AROPTIONS=rcu
37550 fi
37551
37552
37553 if test -n "$ac_tool_prefix"; then
37554 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
37555 set dummy ${ac_tool_prefix}strip; ac_word=$2
37556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37557 $as_echo_n "checking for $ac_word... " >&6; }
37558 if test "${ac_cv_prog_STRIP+set}" = set; then :
37559 $as_echo_n "(cached) " >&6
37560 else
37561 if test -n "$STRIP"; then
37562 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
37563 else
37564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37565 for as_dir in $PATH
37566 do
37567 IFS=$as_save_IFS
37568 test -z "$as_dir" && as_dir=.
37569 for ac_exec_ext in '' $ac_executable_extensions; do
37570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37571 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
37572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37573 break 2
37574 fi
37575 done
37576 done
37577 IFS=$as_save_IFS
37578
37579 fi
37580 fi
37581 STRIP=$ac_cv_prog_STRIP
37582 if test -n "$STRIP"; then
37583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
37584 $as_echo "$STRIP" >&6; }
37585 else
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37587 $as_echo "no" >&6; }
37588 fi
37589
37590
37591 fi
37592 if test -z "$ac_cv_prog_STRIP"; then
37593 ac_ct_STRIP=$STRIP
37594 # Extract the first word of "strip", so it can be a program name with args.
37595 set dummy strip; ac_word=$2
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37597 $as_echo_n "checking for $ac_word... " >&6; }
37598 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
37599 $as_echo_n "(cached) " >&6
37600 else
37601 if test -n "$ac_ct_STRIP"; then
37602 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
37603 else
37604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37605 for as_dir in $PATH
37606 do
37607 IFS=$as_save_IFS
37608 test -z "$as_dir" && as_dir=.
37609 for ac_exec_ext in '' $ac_executable_extensions; do
37610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37611 ac_cv_prog_ac_ct_STRIP="strip"
37612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37613 break 2
37614 fi
37615 done
37616 done
37617 IFS=$as_save_IFS
37618
37619 fi
37620 fi
37621 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
37622 if test -n "$ac_ct_STRIP"; then
37623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
37624 $as_echo "$ac_ct_STRIP" >&6; }
37625 else
37626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37627 $as_echo "no" >&6; }
37628 fi
37629
37630 if test "x$ac_ct_STRIP" = x; then
37631 STRIP=":"
37632 else
37633 case $cross_compiling:$ac_tool_warned in
37634 yes:)
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37636 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37637 ac_tool_warned=yes ;;
37638 esac
37639 STRIP=$ac_ct_STRIP
37640 fi
37641 else
37642 STRIP="$ac_cv_prog_STRIP"
37643 fi
37644
37645 if test -n "$ac_tool_prefix"; then
37646 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
37647 set dummy ${ac_tool_prefix}nm; ac_word=$2
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37649 $as_echo_n "checking for $ac_word... " >&6; }
37650 if test "${ac_cv_prog_NM+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37652 else
37653 if test -n "$NM"; then
37654 ac_cv_prog_NM="$NM" # Let the user override the test.
37655 else
37656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37657 for as_dir in $PATH
37658 do
37659 IFS=$as_save_IFS
37660 test -z "$as_dir" && as_dir=.
37661 for ac_exec_ext in '' $ac_executable_extensions; do
37662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37663 ac_cv_prog_NM="${ac_tool_prefix}nm"
37664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37665 break 2
37666 fi
37667 done
37668 done
37669 IFS=$as_save_IFS
37670
37671 fi
37672 fi
37673 NM=$ac_cv_prog_NM
37674 if test -n "$NM"; then
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
37676 $as_echo "$NM" >&6; }
37677 else
37678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37679 $as_echo "no" >&6; }
37680 fi
37681
37682
37683 fi
37684 if test -z "$ac_cv_prog_NM"; then
37685 ac_ct_NM=$NM
37686 # Extract the first word of "nm", so it can be a program name with args.
37687 set dummy nm; ac_word=$2
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
37689 $as_echo_n "checking for $ac_word... " >&6; }
37690 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then :
37691 $as_echo_n "(cached) " >&6
37692 else
37693 if test -n "$ac_ct_NM"; then
37694 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
37695 else
37696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37697 for as_dir in $PATH
37698 do
37699 IFS=$as_save_IFS
37700 test -z "$as_dir" && as_dir=.
37701 for ac_exec_ext in '' $ac_executable_extensions; do
37702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37703 ac_cv_prog_ac_ct_NM="nm"
37704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
37705 break 2
37706 fi
37707 done
37708 done
37709 IFS=$as_save_IFS
37710
37711 fi
37712 fi
37713 ac_ct_NM=$ac_cv_prog_ac_ct_NM
37714 if test -n "$ac_ct_NM"; then
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
37716 $as_echo "$ac_ct_NM" >&6; }
37717 else
37718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37719 $as_echo "no" >&6; }
37720 fi
37721
37722 if test "x$ac_ct_NM" = x; then
37723 NM=":"
37724 else
37725 case $cross_compiling:$ac_tool_warned in
37726 yes:)
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
37728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
37729 ac_tool_warned=yes ;;
37730 esac
37731 NM=$ac_ct_NM
37732 fi
37733 else
37734 NM="$ac_cv_prog_NM"
37735 fi
37736
37737
37738 INSTALL_DIR="mkdir -p"
37739
37740
37741 LDFLAGS_GUI=
37742 case ${BAKEFILE_HOST} in
37743 *-*-cygwin* | *-*-mingw32* )
37744 LDFLAGS_GUI="-mwindows"
37745 esac
37746
37747
37748 fi
37749
37750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
37751 $as_echo_n "checking if make is GNU make... " >&6; }
37752 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then :
37753 $as_echo_n "(cached) " >&6
37754 else
37755
37756 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
37757 egrep -s GNU > /dev/null); then
37758 bakefile_cv_prog_makeisgnu="yes"
37759 else
37760 bakefile_cv_prog_makeisgnu="no"
37761 fi
37762
37763 fi
37764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
37765 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
37766
37767 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
37768 IF_GNU_MAKE=""
37769 else
37770 IF_GNU_MAKE="#"
37771 fi
37772
37773
37774
37775 PLATFORM_UNIX=0
37776 PLATFORM_WIN32=0
37777 PLATFORM_MSDOS=0
37778 PLATFORM_MAC=0
37779 PLATFORM_MACOS=0
37780 PLATFORM_MACOSX=0
37781 PLATFORM_OS2=0
37782 PLATFORM_BEOS=0
37783
37784 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
37785 case "${BAKEFILE_HOST}" in
37786 *-*-mingw32* )
37787 PLATFORM_WIN32=1
37788 ;;
37789 *-pc-msdosdjgpp )
37790 PLATFORM_MSDOS=1
37791 ;;
37792 *-pc-os2_emx | *-pc-os2-emx )
37793 PLATFORM_OS2=1
37794 ;;
37795 *-*-darwin* )
37796 PLATFORM_MAC=1
37797 PLATFORM_MACOSX=1
37798 ;;
37799 *-*-beos* )
37800 PLATFORM_BEOS=1
37801 ;;
37802 powerpc-apple-macos* )
37803 PLATFORM_MAC=1
37804 PLATFORM_MACOS=1
37805 ;;
37806 * )
37807 PLATFORM_UNIX=1
37808 ;;
37809 esac
37810 else
37811 case "$BAKEFILE_FORCE_PLATFORM" in
37812 win32 )
37813 PLATFORM_WIN32=1
37814 ;;
37815 msdos )
37816 PLATFORM_MSDOS=1
37817 ;;
37818 os2 )
37819 PLATFORM_OS2=1
37820 ;;
37821 darwin )
37822 PLATFORM_MAC=1
37823 PLATFORM_MACOSX=1
37824 ;;
37825 unix )
37826 PLATFORM_UNIX=1
37827 ;;
37828 beos )
37829 PLATFORM_BEOS=1
37830 ;;
37831 * )
37832 as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
37833 ;;
37834 esac
37835 fi
37836
37837
37838
37839
37840
37841
37842
37843
37844
37845
37846
37847 # Check whether --enable-omf was given.
37848 if test "${enable_omf+set}" = set; then :
37849 enableval=$enable_omf; bk_os2_use_omf="$enableval"
37850 fi
37851
37852
37853 case "${BAKEFILE_HOST}" in
37854 *-*-darwin* )
37855 if test "x$GCC" = "xyes"; then
37856 CFLAGS="$CFLAGS -fno-common"
37857 CXXFLAGS="$CXXFLAGS -fno-common"
37858 fi
37859 if test "x$XLCC" = "xyes"; then
37860 CFLAGS="$CFLAGS -qnocommon"
37861 CXXFLAGS="$CXXFLAGS -qnocommon"
37862 fi
37863 ;;
37864
37865 *-pc-os2_emx | *-pc-os2-emx )
37866 if test "x$bk_os2_use_omf" = "xyes" ; then
37867 AR=emxomfar
37868 RANLIB=:
37869 LDFLAGS="-Zomf $LDFLAGS"
37870 CFLAGS="-Zomf $CFLAGS"
37871 CXXFLAGS="-Zomf $CXXFLAGS"
37872 OS2_LIBEXT="lib"
37873 else
37874 OS2_LIBEXT="a"
37875 fi
37876 ;;
37877
37878 i*86-*-beos* )
37879 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
37880 ;;
37881 esac
37882
37883
37884 SO_SUFFIX="so"
37885 SO_SUFFIX_MODULE="so"
37886 EXEEXT=""
37887 LIBPREFIX="lib"
37888 LIBEXT=".a"
37889 DLLPREFIX="lib"
37890 DLLPREFIX_MODULE=""
37891 DLLIMP_SUFFIX=""
37892 dlldir="$libdir"
37893
37894 case "${BAKEFILE_HOST}" in
37895 ia64-hp-hpux* )
37896 ;;
37897 *-hp-hpux* )
37898 SO_SUFFIX="sl"
37899 SO_SUFFIX_MODULE="sl"
37900 ;;
37901 *-*-aix* )
37902 SO_SUFFIX="a"
37903 SO_SUFFIX_MODULE="a"
37904 ;;
37905 *-*-cygwin* )
37906 SO_SUFFIX="dll"
37907 SO_SUFFIX_MODULE="dll"
37908 DLLIMP_SUFFIX="dll.a"
37909 EXEEXT=".exe"
37910 DLLPREFIX="cyg"
37911 dlldir="$bindir"
37912 ;;
37913 *-*-mingw32* )
37914 SO_SUFFIX="dll"
37915 SO_SUFFIX_MODULE="dll"
37916 DLLIMP_SUFFIX="dll.a"
37917 EXEEXT=".exe"
37918 DLLPREFIX=""
37919 dlldir="$bindir"
37920 ;;
37921 *-pc-msdosdjgpp )
37922 EXEEXT=".exe"
37923 DLLPREFIX=""
37924 dlldir="$bindir"
37925 ;;
37926 *-pc-os2_emx | *-pc-os2-emx )
37927 SO_SUFFIX="dll"
37928 SO_SUFFIX_MODULE="dll"
37929 DLLIMP_SUFFIX=$OS2_LIBEXT
37930 EXEEXT=".exe"
37931 DLLPREFIX=""
37932 LIBPREFIX=""
37933 LIBEXT=".$OS2_LIBEXT"
37934 dlldir="$bindir"
37935 ;;
37936 *-*-darwin* )
37937 SO_SUFFIX="dylib"
37938 SO_SUFFIX_MODULE="bundle"
37939 ;;
37940 esac
37941
37942 if test "x$DLLIMP_SUFFIX" = "x" ; then
37943 DLLIMP_SUFFIX="$SO_SUFFIX"
37944 fi
37945
37946
37947
37948
37949
37950
37951
37952
37953
37954
37955
37956
37957 PIC_FLAG=""
37958 if test "x$GCC" = "xyes"; then
37959 PIC_FLAG="-fPIC"
37960 fi
37961
37962 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
37963 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
37964 WINDOWS_IMPLIB=0
37965
37966 case "${BAKEFILE_HOST}" in
37967 *-hp-hpux* )
37968 if test "x$GCC" != "xyes"; then
37969 LDFLAGS="$LDFLAGS -L/usr/lib"
37970
37971 SHARED_LD_CC="${CC} -b -o"
37972 SHARED_LD_CXX="${CXX} -b -o"
37973 PIC_FLAG="+Z"
37974 fi
37975 ;;
37976
37977 *-*-linux* )
37978 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
37979 PIC_FLAG="-KPIC"
37980 elif test "x$SUNCXX" = "xyes"; then
37981 SHARED_LD_CC="${CC} -G -o"
37982 SHARED_LD_CXX="${CXX} -G -o"
37983 PIC_FLAG="-KPIC"
37984 fi
37985 ;;
37986
37987 *-*-solaris2* )
37988 if test "x$SUNCXX" = xyes ; then
37989 SHARED_LD_CC="${CC} -G -o"
37990 SHARED_LD_CXX="${CXX} -G -o"
37991 PIC_FLAG="-KPIC"
37992 fi
37993 ;;
37994
37995 *-*-darwin* )
37996
37997 D='$'
37998 cat <<EOF >shared-ld-sh
37999 #!/bin/sh
38000 #-----------------------------------------------------------------------------
38001 #-- Name: distrib/mac/shared-ld-sh
38002 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38003 #-- Author: Gilles Depeyrot
38004 #-- Copyright: (c) 2002 Gilles Depeyrot
38005 #-- Licence: any use permitted
38006 #-----------------------------------------------------------------------------
38007
38008 verbose=0
38009 args=""
38010 objects=""
38011 linking_flag="-dynamiclib"
38012 ldargs="-r -keep_private_externs -nostdlib"
38013
38014 if test "x${D}CXX" = "x"; then
38015 CXX="c++"
38016 fi
38017
38018 while test ${D}# -gt 0; do
38019 case ${D}1 in
38020
38021 -v)
38022 verbose=1
38023 ;;
38024
38025 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38026 # collect these options and values
38027 args="${D}{args} ${D}1 ${D}2"
38028 shift
38029 ;;
38030
38031 -arch|-isysroot)
38032 # collect these options and values
38033 ldargs="${D}{ldargs} ${D}1 ${D}2"
38034 shift
38035 ;;
38036
38037 -s|-Wl,*)
38038 # collect these load args
38039 ldargs="${D}{ldargs} ${D}1"
38040 ;;
38041
38042 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38043 # collect these options
38044 args="${D}{args} ${D}1"
38045 ;;
38046
38047 -dynamiclib|-bundle)
38048 linking_flag="${D}1"
38049 ;;
38050
38051 -*)
38052 echo "shared-ld: unhandled option '${D}1'"
38053 exit 1
38054 ;;
38055
38056 *.o | *.a | *.dylib)
38057 # collect object files
38058 objects="${D}{objects} ${D}1"
38059 ;;
38060
38061 *)
38062 echo "shared-ld: unhandled argument '${D}1'"
38063 exit 1
38064 ;;
38065
38066 esac
38067 shift
38068 done
38069
38070 status=0
38071
38072 #
38073 # Link one module containing all the others
38074 #
38075 if test ${D}{verbose} = 1; then
38076 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38077 fi
38078 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38079 status=${D}?
38080
38081 #
38082 # Link the shared library from the single module created, but only if the
38083 # previous command didn't fail:
38084 #
38085 if test ${D}{status} = 0; then
38086 if test ${D}{verbose} = 1; then
38087 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38088 fi
38089 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38090 status=${D}?
38091 fi
38092
38093 #
38094 # Remove intermediate module
38095 #
38096 rm -f master.${D}${D}.o
38097
38098 exit ${D}status
38099 EOF
38100
38101 chmod +x shared-ld-sh
38102
38103 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38104 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38105
38106
38107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38108 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38109 if test "${bakefile_cv_gcc31+set}" = set; then :
38110 $as_echo_n "(cached) " >&6
38111 else
38112
38113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38114 /* end confdefs.h. */
38115
38116 int
38117 main ()
38118 {
38119
38120 #if (__GNUC__ < 3) || \
38121 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38122 This is old gcc
38123 #endif
38124
38125 ;
38126 return 0;
38127 }
38128 _ACEOF
38129 if ac_fn_c_try_compile "$LINENO"; then :
38130
38131 bakefile_cv_gcc31=yes
38132
38133 else
38134
38135 bakefile_cv_gcc31=no
38136
38137
38138 fi
38139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38140
38141 fi
38142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38143 $as_echo "$bakefile_cv_gcc31" >&6; }
38144 if test "$bakefile_cv_gcc31" = "no"; then
38145 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38146 SHARED_LD_CXX="$SHARED_LD_CC"
38147 else
38148 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38149 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38150 fi
38151
38152 if test "x$GCC" == "xyes"; then
38153 PIC_FLAG="-dynamic -fPIC"
38154 fi
38155 if test "x$XLCC" = "xyes"; then
38156 PIC_FLAG="-dynamic -DPIC"
38157 fi
38158 ;;
38159
38160 *-*-aix* )
38161 if test "x$GCC" = "xyes"; then
38162 PIC_FLAG=""
38163
38164 case "${BAKEFILE_HOST}" in
38165 *-*-aix5* )
38166 LD_EXPFULL="-Wl,-bexpfull"
38167 ;;
38168 esac
38169
38170 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
38171 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
38172 else
38173 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38174 set dummy makeC++SharedLib; ac_word=$2
38175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38176 $as_echo_n "checking for $ac_word... " >&6; }
38177 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then :
38178 $as_echo_n "(cached) " >&6
38179 else
38180 if test -n "$AIX_CXX_LD"; then
38181 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
38182 else
38183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38184 for as_dir in $PATH
38185 do
38186 IFS=$as_save_IFS
38187 test -z "$as_dir" && as_dir=.
38188 for ac_exec_ext in '' $ac_executable_extensions; do
38189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38190 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
38191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38192 break 2
38193 fi
38194 done
38195 done
38196 IFS=$as_save_IFS
38197
38198 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
38199 fi
38200 fi
38201 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
38202 if test -n "$AIX_CXX_LD"; then
38203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
38204 $as_echo "$AIX_CXX_LD" >&6; }
38205 else
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38207 $as_echo "no" >&6; }
38208 fi
38209
38210
38211 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
38212 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
38213 fi
38214 ;;
38215
38216 *-*-beos* )
38217 SHARED_LD_CC="${LD} -nostart -o"
38218 SHARED_LD_CXX="${LD} -nostart -o"
38219 ;;
38220
38221 *-*-irix* )
38222 if test "x$GCC" != "xyes"; then
38223 PIC_FLAG="-KPIC"
38224 fi
38225 ;;
38226
38227 *-*-cygwin* | *-*-mingw32* )
38228 PIC_FLAG=""
38229 SHARED_LD_CC="\$(CC) -shared -o"
38230 SHARED_LD_CXX="\$(CXX) -shared -o"
38231 WINDOWS_IMPLIB=1
38232 ;;
38233
38234 *-pc-os2_emx | *-pc-os2-emx )
38235 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38236 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
38237 PIC_FLAG=""
38238
38239 D='$'
38240 cat <<EOF >dllar.sh
38241 #!/bin/sh
38242 #
38243 # dllar - a tool to build both a .dll and an .a file
38244 # from a set of object (.o) files for EMX/OS2.
38245 #
38246 # Written by Andrew Zabolotny, bit@freya.etu.ru
38247 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
38248 #
38249 # This script will accept a set of files on the command line.
38250 # All the public symbols from the .o files will be exported into
38251 # a .DEF file, then linker will be run (through gcc) against them to
38252 # build a shared library consisting of all given .o files. All libraries
38253 # (.a) will be first decompressed into component .o files then act as
38254 # described above. You can optionally give a description (-d "description")
38255 # which will be put into .DLL. To see the list of accepted options (as well
38256 # as command-line format) simply run this program without options. The .DLL
38257 # is built to be imported by name (there is no guarantee that new versions
38258 # of the library you build will have same ordinals for same symbols).
38259 #
38260 # dllar is free software; you can redistribute it and/or modify
38261 # it under the terms of the GNU General Public License as published by
38262 # the Free Software Foundation; either version 2, or (at your option)
38263 # any later version.
38264 #
38265 # dllar is distributed in the hope that it will be useful,
38266 # but WITHOUT ANY WARRANTY; without even the implied warranty of
38267 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
38268 # GNU General Public License for more details.
38269 #
38270 # You should have received a copy of the GNU General Public License
38271 # along with dllar; see the file COPYING. If not, write to the Free
38272 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
38273 # 02111-1307, USA.
38274
38275 # To successfuly run this program you will need:
38276 # - Current drive should have LFN support (HPFS, ext2, network, etc)
38277 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
38278 # - gcc
38279 # (used to build the .dll)
38280 # - emxexp
38281 # (used to create .def file from .o files)
38282 # - emximp
38283 # (used to create .a file from .def file)
38284 # - GNU text utilites (cat, sort, uniq)
38285 # used to process emxexp output
38286 # - GNU file utilities (mv, rm)
38287 # - GNU sed
38288 # - lxlite (optional, see flag below)
38289 # (used for general .dll cleanup)
38290 #
38291
38292 flag_USE_LXLITE=1;
38293
38294 #
38295 # helper functions
38296 # basnam, variant of basename, which does _not_ remove the path, _iff_
38297 # second argument (suffix to remove) is given
38298 basnam(){
38299 case ${D}# in
38300 1)
38301 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
38302 ;;
38303 2)
38304 echo ${D}1 | sed 's/'${D}2'${D}//'
38305 ;;
38306 *)
38307 echo "error in basnam ${D}*"
38308 exit 8
38309 ;;
38310 esac
38311 }
38312
38313 # Cleanup temporary files and output
38314 CleanUp() {
38315 cd ${D}curDir
38316 for i in ${D}inputFiles ; do
38317 case ${D}i in
38318 *!)
38319 rm -rf \`basnam ${D}i !\`
38320 ;;
38321 *)
38322 ;;
38323 esac
38324 done
38325
38326 # Kill result in case of failure as there is just to many stupid make/nmake
38327 # things out there which doesn't do this.
38328 if [ ${D}# -eq 0 ]; then
38329 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
38330 fi
38331 }
38332
38333 # Print usage and exit script with rc=1.
38334 PrintHelp() {
38335 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
38336 echo ' [-name-mangler-script script.sh]'
38337 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
38338 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
38339 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
38340 echo ' [*.o] [*.a]'
38341 echo '*> "output_file" should have no extension.'
38342 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
38343 echo ' The import library name is derived from this and is set to "name".a,'
38344 echo ' unless overridden by -import'
38345 echo '*> "importlib_name" should have no extension.'
38346 echo ' If it has the .o, or .a extension, it is automatically removed.'
38347 echo ' This name is used as the import library name and may be longer and'
38348 echo ' more descriptive than the DLL name which has to follow the old '
38349 echo ' 8.3 convention of FAT.'
38350 echo '*> "script.sh may be given to override the output_file name by a'
38351 echo ' different name. It is mainly useful if the regular make process'
38352 echo ' of some package does not take into account OS/2 restriction of'
38353 echo ' DLL name lengths. It takes the importlib name as input and is'
38354 echo ' supposed to procude a shorter name as output. The script should'
38355 echo ' expect to get importlib_name without extension and should produce'
38356 echo ' a (max.) 8 letter name without extension.'
38357 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
38358 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
38359 echo ' These flags will be put at the start of GCC command line.'
38360 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
38361 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
38362 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
38363 echo ' If the last character of a symbol is "*", all symbols beginning'
38364 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
38365 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
38366 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
38367 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
38368 echo ' C runtime DLLs.'
38369 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
38370 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
38371 echo ' unchanged to GCC at the end of command line.'
38372 echo '*> If you create a DLL from a library and you do not specify -o,'
38373 echo ' the basename for DLL and import library will be set to library name,'
38374 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
38375 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
38376 echo ' library will be renamed into gcc_s.a.'
38377 echo '--------'
38378 echo 'Example:'
38379 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
38380 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
38381 CleanUp
38382 exit 1
38383 }
38384
38385 # Execute a command.
38386 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
38387 # @Uses Whatever CleanUp() uses.
38388 doCommand() {
38389 echo "${D}*"
38390 eval ${D}*
38391 rcCmd=${D}?
38392
38393 if [ ${D}rcCmd -ne 0 ]; then
38394 echo "command failed, exit code="${D}rcCmd
38395 CleanUp
38396 exit ${D}rcCmd
38397 fi
38398 }
38399
38400 # main routine
38401 # setup globals
38402 cmdLine=${D}*
38403 outFile=""
38404 outimpFile=""
38405 inputFiles=""
38406 renameScript=""
38407 description=""
38408 CC=gcc.exe
38409 CFLAGS="-s -Zcrtdll"
38410 EXTRA_CFLAGS=""
38411 EXPORT_BY_ORDINALS=0
38412 exclude_symbols=""
38413 library_flags=""
38414 curDir=\`pwd\`
38415 curDirS=curDir
38416 case ${D}curDirS in
38417 */)
38418 ;;
38419 *)
38420 curDirS=${D}{curDirS}"/"
38421 ;;
38422 esac
38423 # Parse commandline
38424 libsToLink=0
38425 omfLinking=0
38426 while [ ${D}1 ]; do
38427 case ${D}1 in
38428 -ord*)
38429 EXPORT_BY_ORDINALS=1;
38430 ;;
38431 -o*)
38432 shift
38433 outFile=${D}1
38434 ;;
38435 -i*)
38436 shift
38437 outimpFile=${D}1
38438 ;;
38439 -name-mangler-script)
38440 shift
38441 renameScript=${D}1
38442 ;;
38443 -d*)
38444 shift
38445 description=${D}1
38446 ;;
38447 -f*)
38448 shift
38449 CFLAGS=${D}1
38450 ;;
38451 -c*)
38452 shift
38453 CC=${D}1
38454 ;;
38455 -h*)
38456 PrintHelp
38457 ;;
38458 -ex*)
38459 shift
38460 exclude_symbols=${D}{exclude_symbols}${D}1" "
38461 ;;
38462 -libf*)
38463 shift
38464 library_flags=${D}{library_flags}${D}1" "
38465 ;;
38466 -nocrt*)
38467 CFLAGS="-s"
38468 ;;
38469 -nolxl*)
38470 flag_USE_LXLITE=0
38471 ;;
38472 -* | /*)
38473 case ${D}1 in
38474 -L* | -l*)
38475 libsToLink=1
38476 ;;
38477 -Zomf)
38478 omfLinking=1
38479 ;;
38480 *)
38481 ;;
38482 esac
38483 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38484 ;;
38485 *.dll)
38486 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
38487 if [ ${D}omfLinking -eq 1 ]; then
38488 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
38489 else
38490 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
38491 fi
38492 ;;
38493 *)
38494 found=0;
38495 if [ ${D}libsToLink -ne 0 ]; then
38496 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
38497 else
38498 for file in ${D}1 ; do
38499 if [ -f ${D}file ]; then
38500 inputFiles="${D}{inputFiles} ${D}file"
38501 found=1
38502 fi
38503 done
38504 if [ ${D}found -eq 0 ]; then
38505 echo "ERROR: No file(s) found: "${D}1
38506 exit 8
38507 fi
38508 fi
38509 ;;
38510 esac
38511 shift
38512 done # iterate cmdline words
38513
38514 #
38515 if [ -z "${D}inputFiles" ]; then
38516 echo "dllar: no input files"
38517 PrintHelp
38518 fi
38519
38520 # Now extract all .o files from .a files
38521 newInputFiles=""
38522 for file in ${D}inputFiles ; do
38523 case ${D}file in
38524 *.a | *.lib)
38525 case ${D}file in
38526 *.a)
38527 suffix=".a"
38528 AR="ar"
38529 ;;
38530 *.lib)
38531 suffix=".lib"
38532 AR="emxomfar"
38533 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
38534 ;;
38535 *)
38536 ;;
38537 esac
38538 dirname=\`basnam ${D}file ${D}suffix\`"_%"
38539 mkdir ${D}dirname
38540 if [ ${D}? -ne 0 ]; then
38541 echo "Failed to create subdirectory ./${D}dirname"
38542 CleanUp
38543 exit 8;
38544 fi
38545 # Append '!' to indicate archive
38546 newInputFiles="${D}newInputFiles ${D}{dirname}!"
38547 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
38548 cd ${D}curDir
38549 found=0;
38550 for subfile in ${D}dirname/*.o* ; do
38551 if [ -f ${D}subfile ]; then
38552 found=1
38553 if [ -s ${D}subfile ]; then
38554 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
38555 newInputFiles="${D}newInputFiles ${D}subfile"
38556 fi
38557 fi
38558 done
38559 if [ ${D}found -eq 0 ]; then
38560 echo "WARNING: there are no files in archive \\'${D}file\\'"
38561 fi
38562 ;;
38563 *)
38564 newInputFiles="${D}{newInputFiles} ${D}file"
38565 ;;
38566 esac
38567 done
38568 inputFiles="${D}newInputFiles"
38569
38570 # Output filename(s).
38571 do_backup=0;
38572 if [ -z ${D}outFile ]; then
38573 do_backup=1;
38574 set outFile ${D}inputFiles; outFile=${D}2
38575 fi
38576
38577 # If it is an archive, remove the '!' and the '_%' suffixes
38578 case ${D}outFile in
38579 *_%!)
38580 outFile=\`basnam ${D}outFile _%!\`
38581 ;;
38582 *)
38583 ;;
38584 esac
38585 case ${D}outFile in
38586 *.dll)
38587 outFile=\`basnam ${D}outFile .dll\`
38588 ;;
38589 *.DLL)
38590 outFile=\`basnam ${D}outFile .DLL\`
38591 ;;
38592 *.o)
38593 outFile=\`basnam ${D}outFile .o\`
38594 ;;
38595 *.obj)
38596 outFile=\`basnam ${D}outFile .obj\`
38597 ;;
38598 *.a)
38599 outFile=\`basnam ${D}outFile .a\`
38600 ;;
38601 *.lib)
38602 outFile=\`basnam ${D}outFile .lib\`
38603 ;;
38604 *)
38605 ;;
38606 esac
38607 case ${D}outimpFile in
38608 *.a)
38609 outimpFile=\`basnam ${D}outimpFile .a\`
38610 ;;
38611 *.lib)
38612 outimpFile=\`basnam ${D}outimpFile .lib\`
38613 ;;
38614 *)
38615 ;;
38616 esac
38617 if [ -z ${D}outimpFile ]; then
38618 outimpFile=${D}outFile
38619 fi
38620 defFile="${D}{outFile}.def"
38621 arcFile="${D}{outimpFile}.a"
38622 arcFile2="${D}{outimpFile}.lib"
38623
38624 #create ${D}dllFile as something matching 8.3 restrictions,
38625 if [ -z ${D}renameScript ] ; then
38626 dllFile="${D}outFile"
38627 else
38628 dllFile=\`${D}renameScript ${D}outimpFile\`
38629 fi
38630
38631 if [ ${D}do_backup -ne 0 ] ; then
38632 if [ -f ${D}arcFile ] ; then
38633 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
38634 fi
38635 if [ -f ${D}arcFile2 ] ; then
38636 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
38637 fi
38638 fi
38639
38640 # Extract public symbols from all the object files.
38641 tmpdefFile=${D}{defFile}_%
38642 rm -f ${D}tmpdefFile
38643 for file in ${D}inputFiles ; do
38644 case ${D}file in
38645 *!)
38646 ;;
38647 *)
38648 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
38649 ;;
38650 esac
38651 done
38652
38653 # Create the def file.
38654 rm -f ${D}defFile
38655 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
38656 dllFile="${D}{dllFile}.dll"
38657 if [ ! -z ${D}description ]; then
38658 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
38659 fi
38660 echo "EXPORTS" >> ${D}defFile
38661
38662 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
38663 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
38664
38665 # Checks if the export is ok or not.
38666 for word in ${D}exclude_symbols; do
38667 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
38668 mv ${D}{tmpdefFile}% ${D}tmpdefFile
38669 done
38670
38671
38672 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38673 sed "=" < ${D}tmpdefFile | \\
38674 sed '
38675 N
38676 : loop
38677 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
38678 t loop
38679 ' > ${D}{tmpdefFile}%
38680 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
38681 else
38682 rm -f ${D}{tmpdefFile}%
38683 fi
38684 cat ${D}tmpdefFile >> ${D}defFile
38685 rm -f ${D}tmpdefFile
38686
38687 # Do linking, create implib, and apply lxlite.
38688 gccCmdl="";
38689 for file in ${D}inputFiles ; do
38690 case ${D}file in
38691 *!)
38692 ;;
38693 *)
38694 gccCmdl="${D}gccCmdl ${D}file"
38695 ;;
38696 esac
38697 done
38698 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
38699 touch "${D}{outFile}.dll"
38700
38701 doCommand "emximp -o ${D}arcFile ${D}defFile"
38702 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
38703 add_flags="";
38704 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
38705 add_flags="-ynd"
38706 fi
38707 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
38708 fi
38709 doCommand "emxomf -s -l ${D}arcFile"
38710
38711 # Successful exit.
38712 CleanUp 1
38713 exit 0
38714 EOF
38715
38716 chmod +x dllar.sh
38717 ;;
38718
38719 powerpc-apple-macos* | \
38720 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
38721 *-*-mirbsd* | \
38722 *-*-sunos4* | \
38723 *-*-osf* | \
38724 *-*-dgux5* | \
38725 *-*-sysv5* | \
38726 *-pc-msdosdjgpp )
38727 ;;
38728
38729 *)
38730 as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
38731 esac
38732
38733 if test "x$PIC_FLAG" != "x" ; then
38734 PIC_FLAG="$PIC_FLAG -DPIC"
38735 fi
38736
38737 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
38738 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
38739 fi
38740 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
38741 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
38742 fi
38743
38744
38745
38746
38747
38748
38749
38750
38751
38752 USE_SOVERSION=0
38753 USE_SOVERLINUX=0
38754 USE_SOVERSOLARIS=0
38755 USE_SOVERCYGWIN=0
38756 USE_SOTWOSYMLINKS=0
38757 USE_MACVERSION=0
38758 SONAME_FLAG=
38759
38760 case "${BAKEFILE_HOST}" in
38761 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
38762 *-*-k*bsd*-gnu | *-*-mirbsd* )
38763 if test "x$SUNCXX" = "xyes"; then
38764 SONAME_FLAG="-h "
38765 else
38766 SONAME_FLAG="-Wl,-soname,"
38767 fi
38768 USE_SOVERSION=1
38769 USE_SOVERLINUX=1
38770 USE_SOTWOSYMLINKS=1
38771 ;;
38772
38773 *-*-solaris2* )
38774 SONAME_FLAG="-h "
38775 USE_SOVERSION=1
38776 USE_SOVERSOLARIS=1
38777 ;;
38778
38779 *-*-darwin* )
38780 USE_MACVERSION=1
38781 USE_SOVERSION=1
38782 USE_SOTWOSYMLINKS=1
38783 ;;
38784
38785 *-*-cygwin* )
38786 USE_SOVERSION=1
38787 USE_SOVERCYGWIN=1
38788 ;;
38789 esac
38790
38791
38792
38793
38794
38795
38796
38797
38798
38799
38800 # Check whether --enable-dependency-tracking was given.
38801 if test "${enable_dependency_tracking+set}" = set; then :
38802 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
38803 fi
38804
38805
38806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
38807 $as_echo_n "checking for dependency tracking method... " >&6; }
38808
38809 BK_DEPS=""
38810 if test "x$bk_use_trackdeps" = "xno" ; then
38811 DEPS_TRACKING=0
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
38813 $as_echo "disabled" >&6; }
38814 else
38815 DEPS_TRACKING=1
38816
38817 if test "x$GCC" = "xyes"; then
38818 DEPSMODE=gcc
38819 DEPSFLAG="-MMD"
38820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
38821 $as_echo "gcc" >&6; }
38822 elif test "x$MWCC" = "xyes"; then
38823 DEPSMODE=mwcc
38824 DEPSFLAG="-MM"
38825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
38826 $as_echo "mwcc" >&6; }
38827 elif test "x$SUNCC" = "xyes"; then
38828 DEPSMODE=unixcc
38829 DEPSFLAG="-xM1"
38830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
38831 $as_echo "Sun cc" >&6; }
38832 elif test "x$SGICC" = "xyes"; then
38833 DEPSMODE=unixcc
38834 DEPSFLAG="-M"
38835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
38836 $as_echo "SGI cc" >&6; }
38837 elif test "x$HPCC" = "xyes"; then
38838 DEPSMODE=unixcc
38839 DEPSFLAG="+make"
38840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
38841 $as_echo "HP cc" >&6; }
38842 elif test "x$COMPAQCC" = "xyes"; then
38843 DEPSMODE=gcc
38844 DEPSFLAG="-MD"
38845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
38846 $as_echo "Compaq cc" >&6; }
38847 else
38848 DEPS_TRACKING=0
38849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
38850 $as_echo "none" >&6; }
38851 fi
38852
38853 if test $DEPS_TRACKING = 1 ; then
38854
38855 D='$'
38856 cat <<EOF >bk-deps
38857 #!/bin/sh
38858
38859 # This script is part of Bakefile (http://www.bakefile.org) autoconf
38860 # script. It is used to track C/C++ files dependencies in portable way.
38861 #
38862 # Permission is given to use this file in any way.
38863
38864 DEPSMODE=${DEPSMODE}
38865 DEPSFLAG="${DEPSFLAG}"
38866 DEPSDIRBASE=.deps
38867
38868 if test ${D}DEPSMODE = gcc ; then
38869 ${D}* ${D}{DEPSFLAG}
38870 status=${D}?
38871
38872 # determine location of created files:
38873 while test ${D}# -gt 0; do
38874 case "${D}1" in
38875 -o )
38876 shift
38877 objfile=${D}1
38878 ;;
38879 -* )
38880 ;;
38881 * )
38882 srcfile=${D}1
38883 ;;
38884 esac
38885 shift
38886 done
38887 objfilebase=\`basename ${D}objfile\`
38888 builddir=\`dirname ${D}objfile\`
38889 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
38890 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
38891 depsdir=${D}builddir/${D}DEPSDIRBASE
38892 mkdir -p ${D}depsdir
38893
38894 # if the compiler failed, we're done:
38895 if test ${D}{status} != 0 ; then
38896 rm -f ${D}depfile
38897 exit ${D}{status}
38898 fi
38899
38900 # move created file to the location we want it in:
38901 if test -f ${D}depfile ; then
38902 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
38903 rm -f ${D}depfile
38904 else
38905 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
38906 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
38907 if test ! -f ${D}depfile ; then
38908 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
38909 depfile="${D}objfile.d"
38910 fi
38911 if test -f ${D}depfile ; then
38912 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
38913 rm -f ${D}depfile
38914 fi
38915 fi
38916 exit 0
38917
38918 elif test ${D}DEPSMODE = mwcc ; then
38919 ${D}* || exit ${D}?
38920 # Run mwcc again with -MM and redirect into the dep file we want
38921 # NOTE: We can't use shift here because we need ${D}* to be valid
38922 prevarg=
38923 for arg in ${D}* ; do
38924 if test "${D}prevarg" = "-o"; then
38925 objfile=${D}arg
38926 else
38927 case "${D}arg" in
38928 -* )
38929 ;;
38930 * )
38931 srcfile=${D}arg
38932 ;;
38933 esac
38934 fi
38935 prevarg="${D}arg"
38936 done
38937
38938 objfilebase=\`basename ${D}objfile\`
38939 builddir=\`dirname ${D}objfile\`
38940 depsdir=${D}builddir/${D}DEPSDIRBASE
38941 mkdir -p ${D}depsdir
38942
38943 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
38944 exit 0
38945
38946 elif test ${D}DEPSMODE = unixcc; then
38947 ${D}* || exit ${D}?
38948 # Run compiler again with deps flag and redirect into the dep file.
38949 # It doesn't work if the '-o FILE' option is used, but without it the
38950 # dependency file will contain the wrong name for the object. So it is
38951 # removed from the command line, and the dep file is fixed with sed.
38952 cmd=""
38953 while test ${D}# -gt 0; do
38954 case "${D}1" in
38955 -o )
38956 shift
38957 objfile=${D}1
38958 ;;
38959 * )
38960 eval arg${D}#=\\${D}1
38961 cmd="${D}cmd \\${D}arg${D}#"
38962 ;;
38963 esac
38964 shift
38965 done
38966
38967 objfilebase=\`basename ${D}objfile\`
38968 builddir=\`dirname ${D}objfile\`
38969 depsdir=${D}builddir/${D}DEPSDIRBASE
38970 mkdir -p ${D}depsdir
38971
38972 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
38973 exit 0
38974
38975 else
38976 ${D}*
38977 exit ${D}?
38978 fi
38979 EOF
38980
38981 chmod +x bk-deps
38982 BK_DEPS="`pwd`/bk-deps"
38983 fi
38984 fi
38985
38986
38987
38988
38989
38990 case ${BAKEFILE_HOST} in
38991 *-*-cygwin* | *-*-mingw32* )
38992 if test -n "$ac_tool_prefix"; then
38993 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
38994 set dummy ${ac_tool_prefix}windres; ac_word=$2
38995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38996 $as_echo_n "checking for $ac_word... " >&6; }
38997 if test "${ac_cv_prog_WINDRES+set}" = set; then :
38998 $as_echo_n "(cached) " >&6
38999 else
39000 if test -n "$WINDRES"; then
39001 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
39002 else
39003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39004 for as_dir in $PATH
39005 do
39006 IFS=$as_save_IFS
39007 test -z "$as_dir" && as_dir=.
39008 for ac_exec_ext in '' $ac_executable_extensions; do
39009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39010 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
39011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39012 break 2
39013 fi
39014 done
39015 done
39016 IFS=$as_save_IFS
39017
39018 fi
39019 fi
39020 WINDRES=$ac_cv_prog_WINDRES
39021 if test -n "$WINDRES"; then
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39023 $as_echo "$WINDRES" >&6; }
39024 else
39025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39026 $as_echo "no" >&6; }
39027 fi
39028
39029
39030 fi
39031 if test -z "$ac_cv_prog_WINDRES"; then
39032 ac_ct_WINDRES=$WINDRES
39033 # Extract the first word of "windres", so it can be a program name with args.
39034 set dummy windres; ac_word=$2
39035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39036 $as_echo_n "checking for $ac_word... " >&6; }
39037 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then :
39038 $as_echo_n "(cached) " >&6
39039 else
39040 if test -n "$ac_ct_WINDRES"; then
39041 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
39042 else
39043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39044 for as_dir in $PATH
39045 do
39046 IFS=$as_save_IFS
39047 test -z "$as_dir" && as_dir=.
39048 for ac_exec_ext in '' $ac_executable_extensions; do
39049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39050 ac_cv_prog_ac_ct_WINDRES="windres"
39051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39052 break 2
39053 fi
39054 done
39055 done
39056 IFS=$as_save_IFS
39057
39058 fi
39059 fi
39060 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
39061 if test -n "$ac_ct_WINDRES"; then
39062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39063 $as_echo "$ac_ct_WINDRES" >&6; }
39064 else
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39066 $as_echo "no" >&6; }
39067 fi
39068
39069 if test "x$ac_ct_WINDRES" = x; then
39070 WINDRES=""
39071 else
39072 case $cross_compiling:$ac_tool_warned in
39073 yes:)
39074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39076 ac_tool_warned=yes ;;
39077 esac
39078 WINDRES=$ac_ct_WINDRES
39079 fi
39080 else
39081 WINDRES="$ac_cv_prog_WINDRES"
39082 fi
39083
39084 ;;
39085
39086 *-*-darwin* | powerpc-apple-macos* )
39087 # Extract the first word of "Rez", so it can be a program name with args.
39088 set dummy Rez; ac_word=$2
39089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39090 $as_echo_n "checking for $ac_word... " >&6; }
39091 if test "${ac_cv_prog_REZ+set}" = set; then :
39092 $as_echo_n "(cached) " >&6
39093 else
39094 if test -n "$REZ"; then
39095 ac_cv_prog_REZ="$REZ" # Let the user override the test.
39096 else
39097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39098 for as_dir in $PATH
39099 do
39100 IFS=$as_save_IFS
39101 test -z "$as_dir" && as_dir=.
39102 for ac_exec_ext in '' $ac_executable_extensions; do
39103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39104 ac_cv_prog_REZ="Rez"
39105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39106 break 2
39107 fi
39108 done
39109 done
39110 IFS=$as_save_IFS
39111
39112 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
39113 fi
39114 fi
39115 REZ=$ac_cv_prog_REZ
39116 if test -n "$REZ"; then
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39118 $as_echo "$REZ" >&6; }
39119 else
39120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39121 $as_echo "no" >&6; }
39122 fi
39123
39124
39125 # Extract the first word of "SetFile", so it can be a program name with args.
39126 set dummy SetFile; ac_word=$2
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39128 $as_echo_n "checking for $ac_word... " >&6; }
39129 if test "${ac_cv_prog_SETFILE+set}" = set; then :
39130 $as_echo_n "(cached) " >&6
39131 else
39132 if test -n "$SETFILE"; then
39133 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
39134 else
39135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39136 for as_dir in $PATH
39137 do
39138 IFS=$as_save_IFS
39139 test -z "$as_dir" && as_dir=.
39140 for ac_exec_ext in '' $ac_executable_extensions; do
39141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
39142 ac_cv_prog_SETFILE="SetFile"
39143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39144 break 2
39145 fi
39146 done
39147 done
39148 IFS=$as_save_IFS
39149
39150 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
39151 fi
39152 fi
39153 SETFILE=$ac_cv_prog_SETFILE
39154 if test -n "$SETFILE"; then
39155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39156 $as_echo "$SETFILE" >&6; }
39157 else
39158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39159 $as_echo "no" >&6; }
39160 fi
39161
39162
39163 ;;
39164 esac
39165
39166
39167
39168
39169
39170
39171
39172
39173
39174 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
39175
39176
39177 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
39178
39179
39180
39181 # Check whether --enable-precomp-headers was given.
39182 if test "${enable_precomp_headers+set}" = set; then :
39183 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
39184 fi
39185
39186
39187 GCC_PCH=0
39188 ICC_PCH=0
39189 USE_PCH=0
39190 BK_MAKE_PCH=""
39191
39192 case ${BAKEFILE_HOST} in
39193 *-*-cygwin* )
39194 bk_use_pch="no"
39195 ;;
39196 esac
39197
39198 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39199 if test "x$GCC" = "xyes"; then
39200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39201 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39203 /* end confdefs.h. */
39204
39205 int
39206 main ()
39207 {
39208
39209 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
39210 There is no PCH support
39211 #endif
39212 #if (__GNUC__ < 3)
39213 There is no PCH support
39214 #endif
39215 #if (__GNUC__ == 3) && \
39216 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
39217 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
39218 ( defined(__INTEL_COMPILER) )
39219 There is no PCH support
39220 #endif
39221
39222 ;
39223 return 0;
39224 }
39225 _ACEOF
39226 if ac_fn_c_try_compile "$LINENO"; then :
39227
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39229 $as_echo "yes" >&6; }
39230 GCC_PCH=1
39231
39232 else
39233
39234 if test "$INTELCXX8" = "yes"; then
39235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39236 $as_echo "yes" >&6; }
39237 ICC_PCH=1
39238 if test "$INTELCXX10" = "yes"; then
39239 ICC_PCH_CREATE_SWITCH="-pch-create"
39240 ICC_PCH_USE_SWITCH="-pch-use"
39241 else
39242 ICC_PCH_CREATE_SWITCH="-create-pch"
39243 ICC_PCH_USE_SWITCH="-use-pch"
39244 fi
39245 else
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39247 $as_echo "no" >&6; }
39248 fi
39249
39250 fi
39251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39252 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
39253 USE_PCH=1
39254
39255 D='$'
39256 cat <<EOF >bk-make-pch
39257 #!/bin/sh
39258
39259 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39260 # script. It is used to generated precompiled headers.
39261 #
39262 # Permission is given to use this file in any way.
39263
39264 outfile="${D}{1}"
39265 header="${D}{2}"
39266 shift
39267 shift
39268
39269 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
39270
39271 compiler=""
39272 headerfile=""
39273
39274 while test ${D}{#} -gt 0; do
39275 add_to_cmdline=1
39276 case "${D}{1}" in
39277 -I* )
39278 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
39279 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
39280 headerfile="${D}{incdir}/${D}{header}"
39281 fi
39282 ;;
39283 -use-pch|-use_pch|-pch-use )
39284 shift
39285 add_to_cmdline=0
39286 ;;
39287 esac
39288 if test ${D}add_to_cmdline = 1 ; then
39289 compiler="${D}{compiler} ${D}{1}"
39290 fi
39291 shift
39292 done
39293
39294 if test "x${D}{headerfile}" = "x" ; then
39295 echo "error: can't find header ${D}{header} in include paths" >&2
39296 else
39297 if test -f ${D}{outfile} ; then
39298 rm -f ${D}{outfile}
39299 else
39300 mkdir -p \`dirname ${D}{outfile}\`
39301 fi
39302 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
39303 mkdir -p ${D}{builddir}/.deps
39304 if test "x${GCC_PCH}" = "x1" ; then
39305 # can do this because gcc is >= 3.4:
39306 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
39307 elif test "x${ICC_PCH}" = "x1" ; then
39308 filename=pch_gen-${D}${D}
39309 file=${D}{filename}.c
39310 dfile=${D}{filename}.d
39311 cat > ${D}file <<EOT
39312 #include "${D}header"
39313 EOT
39314 # using -MF icc complains about differing command lines in creation/use
39315 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
39316 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
39317 rm -f ${D}file ${D}dfile ${D}{filename}.o
39318 fi
39319 exit ${D}{?}
39320 fi
39321 EOF
39322
39323 chmod +x bk-make-pch
39324 BK_MAKE_PCH="`pwd`/bk-make-pch"
39325 fi
39326 fi
39327 fi
39328
39329
39330
39331
39332
39333
39334
39335 COND_BUILD_DEBUG="#"
39336 if test "x$BUILD" = "xdebug" ; then
39337 COND_BUILD_DEBUG=""
39338 fi
39339
39340 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
39341 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39342 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
39343 fi
39344
39345 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
39346 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39347 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
39348 fi
39349
39350 COND_BUILD_DEBUG_UNICODE_0="#"
39351 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39352 COND_BUILD_DEBUG_UNICODE_0=""
39353 fi
39354
39355 COND_BUILD_DEBUG_UNICODE_1="#"
39356 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39357 COND_BUILD_DEBUG_UNICODE_1=""
39358 fi
39359
39360 COND_BUILD_RELEASE="#"
39361 if test "x$BUILD" = "xrelease" ; then
39362 COND_BUILD_RELEASE=""
39363 fi
39364
39365 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
39366 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39367 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
39368 fi
39369
39370 COND_BUILD_RELEASE_UNICODE_0="#"
39371 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39372 COND_BUILD_RELEASE_UNICODE_0=""
39373 fi
39374
39375 COND_BUILD_RELEASE_UNICODE_1="#"
39376 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39377 COND_BUILD_RELEASE_UNICODE_1=""
39378 fi
39379
39380 COND_BUILD_debug="#"
39381 if test "x$BUILD" = "xdebug" ; then
39382 COND_BUILD_debug=""
39383 fi
39384
39385 COND_BUILD_debug_DEBUG_FLAG_default="#"
39386 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
39387 COND_BUILD_debug_DEBUG_FLAG_default=""
39388 fi
39389
39390 COND_BUILD_debug_DEBUG_INFO_default="#"
39391 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
39392 COND_BUILD_debug_DEBUG_INFO_default=""
39393 fi
39394
39395 COND_BUILD_debug_UNICODE_0="#"
39396 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
39397 COND_BUILD_debug_UNICODE_0=""
39398 fi
39399
39400 COND_BUILD_debug_UNICODE_1="#"
39401 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
39402 COND_BUILD_debug_UNICODE_1=""
39403 fi
39404
39405 COND_BUILD_release="#"
39406 if test "x$BUILD" = "xrelease" ; then
39407 COND_BUILD_release=""
39408 fi
39409
39410 COND_BUILD_release_DEBUG_INFO_default="#"
39411 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
39412 COND_BUILD_release_DEBUG_INFO_default=""
39413 fi
39414
39415 COND_BUILD_release_UNICODE_0="#"
39416 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
39417 COND_BUILD_release_UNICODE_0=""
39418 fi
39419
39420 COND_BUILD_release_UNICODE_1="#"
39421 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
39422 COND_BUILD_release_UNICODE_1=""
39423 fi
39424
39425 COND_DEBUG_FLAG_0="#"
39426 if test "x$DEBUG_FLAG" = "x0" ; then
39427 COND_DEBUG_FLAG_0=""
39428 fi
39429
39430 COND_DEBUG_FLAG_1="#"
39431 if test "x$DEBUG_FLAG" = "x1" ; then
39432 COND_DEBUG_FLAG_1=""
39433 fi
39434
39435 COND_DEBUG_INFO_0="#"
39436 if test "x$DEBUG_INFO" = "x0" ; then
39437 COND_DEBUG_INFO_0=""
39438 fi
39439
39440 COND_DEBUG_INFO_1="#"
39441 if test "x$DEBUG_INFO" = "x1" ; then
39442 COND_DEBUG_INFO_1=""
39443 fi
39444
39445 COND_DEPS_TRACKING_0="#"
39446 if test "x$DEPS_TRACKING" = "x0" ; then
39447 COND_DEPS_TRACKING_0=""
39448 fi
39449
39450 COND_DEPS_TRACKING_1="#"
39451 if test "x$DEPS_TRACKING" = "x1" ; then
39452 COND_DEPS_TRACKING_1=""
39453 fi
39454
39455 COND_GCC_PCH_1="#"
39456 if test "x$GCC_PCH" = "x1" ; then
39457 COND_GCC_PCH_1=""
39458 fi
39459
39460 COND_ICC_PCH_1="#"
39461 if test "x$ICC_PCH" = "x1" ; then
39462 COND_ICC_PCH_1=""
39463 fi
39464
39465 COND_MONOLITHIC_0="#"
39466 if test "x$MONOLITHIC" = "x0" ; then
39467 COND_MONOLITHIC_0=""
39468 fi
39469
39470 COND_MONOLITHIC_0_SHARED_0="#"
39471 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
39472 COND_MONOLITHIC_0_SHARED_0=""
39473 fi
39474
39475 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
39476 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
39477 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
39478 fi
39479
39480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
39481 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
39482 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
39483 fi
39484
39485 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
39486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39487 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
39488 fi
39489
39490 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
39491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39492 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
39493 fi
39494
39495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
39496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
39498 fi
39499
39500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
39501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
39503 fi
39504
39505 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
39506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39507 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
39508 fi
39509
39510 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
39511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39512 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
39513 fi
39514
39515 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
39516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39517 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
39518 fi
39519
39520 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
39521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39522 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
39523 fi
39524
39525 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
39526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
39527 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
39528 fi
39529
39530 COND_MONOLITHIC_0_SHARED_1="#"
39531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
39532 COND_MONOLITHIC_0_SHARED_1=""
39533 fi
39534
39535 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
39536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
39537 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
39538 fi
39539
39540 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
39541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
39542 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
39543 fi
39544
39545 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
39546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
39547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
39548 fi
39549
39550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
39551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39552 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
39553 fi
39554
39555 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
39556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
39557 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
39558 fi
39559
39560 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
39561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
39562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
39563 fi
39564
39565 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
39566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
39567 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
39568 fi
39569
39570 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
39571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
39572 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
39573 fi
39574
39575 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
39576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
39577 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
39578 fi
39579
39580 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
39581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
39582 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
39583 fi
39584
39585 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
39586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
39587 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
39588 fi
39589
39590 COND_MONOLITHIC_0_USE_AUI_1="#"
39591 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
39592 COND_MONOLITHIC_0_USE_AUI_1=""
39593 fi
39594
39595 COND_MONOLITHIC_0_USE_GUI_1="#"
39596 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
39597 COND_MONOLITHIC_0_USE_GUI_1=""
39598 fi
39599
39600 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
39601 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
39602 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
39603 fi
39604
39605 COND_MONOLITHIC_0_USE_HTML_1="#"
39606 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
39607 COND_MONOLITHIC_0_USE_HTML_1=""
39608 fi
39609
39610 COND_MONOLITHIC_0_USE_MEDIA_1="#"
39611 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
39612 COND_MONOLITHIC_0_USE_MEDIA_1=""
39613 fi
39614
39615 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
39616 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
39617 COND_MONOLITHIC_0_USE_PROPGRID_1=""
39618 fi
39619
39620 COND_MONOLITHIC_0_USE_QA_1="#"
39621 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
39622 COND_MONOLITHIC_0_USE_QA_1=""
39623 fi
39624
39625 COND_MONOLITHIC_0_USE_RIBBON_1="#"
39626 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
39627 COND_MONOLITHIC_0_USE_RIBBON_1=""
39628 fi
39629
39630 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
39631 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
39632 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
39633 fi
39634
39635 COND_MONOLITHIC_0_USE_STC_1="#"
39636 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
39637 COND_MONOLITHIC_0_USE_STC_1=""
39638 fi
39639
39640 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
39641 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
39642 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
39643 fi
39644
39645 COND_MONOLITHIC_0_USE_XRC_1="#"
39646 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
39647 COND_MONOLITHIC_0_USE_XRC_1=""
39648 fi
39649
39650 COND_MONOLITHIC_1="#"
39651 if test "x$MONOLITHIC" = "x1" ; then
39652 COND_MONOLITHIC_1=""
39653 fi
39654
39655 COND_MONOLITHIC_1_SHARED_0="#"
39656 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
39657 COND_MONOLITHIC_1_SHARED_0=""
39658 fi
39659
39660 COND_MONOLITHIC_1_SHARED_1="#"
39661 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
39662 COND_MONOLITHIC_1_SHARED_1=""
39663 fi
39664
39665 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
39666 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
39667 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
39668 fi
39669
39670 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
39671 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
39672 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
39673 fi
39674
39675 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
39676 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39677 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
39678 fi
39679
39680 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
39681 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
39682 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
39683 fi
39684
39685 COND_PLATFORM_MACOSX_1="#"
39686 if test "x$PLATFORM_MACOSX" = "x1" ; then
39687 COND_PLATFORM_MACOSX_1=""
39688 fi
39689
39690 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
39691 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
39692 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
39693 fi
39694
39695 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
39696 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39697 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
39698 fi
39699
39700 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
39701 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
39702 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
39703 fi
39704
39705 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
39706 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39707 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
39708 fi
39709
39710 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
39711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
39712 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
39713 fi
39714
39715 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
39716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39717 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
39718 fi
39719
39720 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
39721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
39722 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
39723 fi
39724
39725 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
39726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39727 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
39728 fi
39729
39730 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
39731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
39732 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
39733 fi
39734
39735 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
39736 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39737 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
39738 fi
39739
39740 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
39741 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
39742 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
39743 fi
39744
39745 COND_PLATFORM_MACOS_1="#"
39746 if test "x$PLATFORM_MACOS" = "x1" ; then
39747 COND_PLATFORM_MACOS_1=""
39748 fi
39749
39750 COND_PLATFORM_MAC_0="#"
39751 if test "x$PLATFORM_MAC" = "x0" ; then
39752 COND_PLATFORM_MAC_0=""
39753 fi
39754
39755 COND_PLATFORM_MAC_1="#"
39756 if test "x$PLATFORM_MAC" = "x1" ; then
39757 COND_PLATFORM_MAC_1=""
39758 fi
39759
39760 COND_PLATFORM_MSDOS_0="#"
39761 if test "x$PLATFORM_MSDOS" = "x0" ; then
39762 COND_PLATFORM_MSDOS_0=""
39763 fi
39764
39765 COND_PLATFORM_MSDOS_1="#"
39766 if test "x$PLATFORM_MSDOS" = "x1" ; then
39767 COND_PLATFORM_MSDOS_1=""
39768 fi
39769
39770 COND_PLATFORM_OS2_1="#"
39771 if test "x$PLATFORM_OS2" = "x1" ; then
39772 COND_PLATFORM_OS2_1=""
39773 fi
39774
39775 COND_PLATFORM_UNIX_0="#"
39776 if test "x$PLATFORM_UNIX" = "x0" ; then
39777 COND_PLATFORM_UNIX_0=""
39778 fi
39779
39780 COND_PLATFORM_UNIX_1="#"
39781 if test "x$PLATFORM_UNIX" = "x1" ; then
39782 COND_PLATFORM_UNIX_1=""
39783 fi
39784
39785 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39786 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39787 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39788 fi
39789
39790 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39791 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39792 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39793 fi
39794
39795 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
39796 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
39797 COND_PLATFORM_UNIX_1_USE_GUI_1=""
39798 fi
39799
39800 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
39801 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
39802 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
39803 fi
39804
39805 COND_PLATFORM_WIN32_0="#"
39806 if test "x$PLATFORM_WIN32" = "x0" ; then
39807 COND_PLATFORM_WIN32_0=""
39808 fi
39809
39810 COND_PLATFORM_WIN32_1="#"
39811 if test "x$PLATFORM_WIN32" = "x1" ; then
39812 COND_PLATFORM_WIN32_1=""
39813 fi
39814
39815 COND_PLATFORM_WIN32_1_SHARED_0="#"
39816 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
39817 COND_PLATFORM_WIN32_1_SHARED_0=""
39818 fi
39819
39820 COND_SHARED_0="#"
39821 if test "x$SHARED" = "x0" ; then
39822 COND_SHARED_0=""
39823 fi
39824
39825 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
39826 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
39827 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
39828 fi
39829
39830 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
39831 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39832 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
39833 fi
39834
39835 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
39836 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
39837 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
39838 fi
39839
39840 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
39841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39842 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
39843 fi
39844
39845 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
39846 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
39847 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
39848 fi
39849
39850 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
39851 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
39852 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
39853 fi
39854
39855 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
39856 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
39857 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
39858 fi
39859
39860 COND_SHARED_0_USE_STC_1="#"
39861 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
39862 COND_SHARED_0_USE_STC_1=""
39863 fi
39864
39865 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
39866 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
39867 COND_SHARED_0_wxUSE_EXPAT_builtin=""
39868 fi
39869
39870 COND_SHARED_0_wxUSE_REGEX_builtin="#"
39871 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
39872 COND_SHARED_0_wxUSE_REGEX_builtin=""
39873 fi
39874
39875 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
39876 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
39877 COND_SHARED_0_wxUSE_ZLIB_builtin=""
39878 fi
39879
39880 COND_SHARED_1="#"
39881 if test "x$SHARED" = "x1" ; then
39882 COND_SHARED_1=""
39883 fi
39884
39885 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
39886 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
39887 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
39888 fi
39889
39890 COND_TOOLKIT_="#"
39891 if test "x$TOOLKIT" = "x" ; then
39892 COND_TOOLKIT_=""
39893 fi
39894
39895 COND_TOOLKIT_COCOA="#"
39896 if test "x$TOOLKIT" = "xCOCOA" ; then
39897 COND_TOOLKIT_COCOA=""
39898 fi
39899
39900 COND_TOOLKIT_COCOA_USE_GUI_1="#"
39901 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
39902 COND_TOOLKIT_COCOA_USE_GUI_1=""
39903 fi
39904
39905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
39906 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
39908 fi
39909
39910 COND_TOOLKIT_DFB="#"
39911 if test "x$TOOLKIT" = "xDFB" ; then
39912 COND_TOOLKIT_DFB=""
39913 fi
39914
39915 COND_TOOLKIT_DFB_USE_GUI_1="#"
39916 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
39917 COND_TOOLKIT_DFB_USE_GUI_1=""
39918 fi
39919
39920 COND_TOOLKIT_GTK="#"
39921 if test "x$TOOLKIT" = "xGTK" ; then
39922 COND_TOOLKIT_GTK=""
39923 fi
39924
39925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
39926 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
39927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
39928 fi
39929
39930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
39931 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
39932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
39933 fi
39934
39935 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
39936 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
39937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
39938 fi
39939
39940 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
39941 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39942 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
39943 fi
39944
39945 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
39946 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
39947 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
39948 fi
39949
39950 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
39951 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39952 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
39953 fi
39954
39955 COND_TOOLKIT_GTK_USE_GUI_1="#"
39956 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
39957 COND_TOOLKIT_GTK_USE_GUI_1=""
39958 fi
39959
39960 COND_TOOLKIT_MAC="#"
39961 if test "x$TOOLKIT" = "xMAC" ; then
39962 COND_TOOLKIT_MAC=""
39963 fi
39964
39965 COND_TOOLKIT_MOTIF="#"
39966 if test "x$TOOLKIT" = "xMOTIF" ; then
39967 COND_TOOLKIT_MOTIF=""
39968 fi
39969
39970 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
39971 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
39972 COND_TOOLKIT_MOTIF_USE_GUI_1=""
39973 fi
39974
39975 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
39976 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39977 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
39978 fi
39979
39980 COND_TOOLKIT_MSW="#"
39981 if test "x$TOOLKIT" = "xMSW" ; then
39982 COND_TOOLKIT_MSW=""
39983 fi
39984
39985 COND_TOOLKIT_MSW_USE_GUI_1="#"
39986 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
39987 COND_TOOLKIT_MSW_USE_GUI_1=""
39988 fi
39989
39990 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
39991 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
39992 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
39993 fi
39994
39995 COND_TOOLKIT_MSW_WXUNIV_0="#"
39996 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
39997 COND_TOOLKIT_MSW_WXUNIV_0=""
39998 fi
39999
40000 COND_TOOLKIT_OSX_CARBON="#"
40001 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40002 COND_TOOLKIT_OSX_CARBON=""
40003 fi
40004
40005 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
40006 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40007 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
40008 fi
40009
40010 COND_TOOLKIT_OSX_COCOA="#"
40011 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40012 COND_TOOLKIT_OSX_COCOA=""
40013 fi
40014
40015 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
40016 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40017 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
40018 fi
40019
40020 COND_TOOLKIT_OSX_IPHONE="#"
40021 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40022 COND_TOOLKIT_OSX_IPHONE=""
40023 fi
40024
40025 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
40026 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40027 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
40028 fi
40029
40030 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
40031 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40032 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
40033 fi
40034
40035 COND_TOOLKIT_PM="#"
40036 if test "x$TOOLKIT" = "xPM" ; then
40037 COND_TOOLKIT_PM=""
40038 fi
40039
40040 COND_TOOLKIT_PM_USE_GUI_1="#"
40041 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40042 COND_TOOLKIT_PM_USE_GUI_1=""
40043 fi
40044
40045 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
40046 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40047 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
40048 fi
40049
40050 COND_TOOLKIT_WINCE="#"
40051 if test "x$TOOLKIT" = "xWINCE" ; then
40052 COND_TOOLKIT_WINCE=""
40053 fi
40054
40055 COND_TOOLKIT_WINCE_USE_GUI_1="#"
40056 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40057 COND_TOOLKIT_WINCE_USE_GUI_1=""
40058 fi
40059
40060 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
40061 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40062 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
40063 fi
40064
40065 COND_TOOLKIT_WINCE_WXUNIV_0="#"
40066 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40067 COND_TOOLKIT_WINCE_WXUNIV_0=""
40068 fi
40069
40070 COND_TOOLKIT_X11="#"
40071 if test "x$TOOLKIT" = "xX11" ; then
40072 COND_TOOLKIT_X11=""
40073 fi
40074
40075 COND_TOOLKIT_X11_USE_GUI_1="#"
40076 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40077 COND_TOOLKIT_X11_USE_GUI_1=""
40078 fi
40079
40080 COND_UNICODE_1="#"
40081 if test "x$UNICODE" = "x1" ; then
40082 COND_UNICODE_1=""
40083 fi
40084
40085 COND_USE_CAIRO_1="#"
40086 if test "x$USE_CAIRO" = "x1" ; then
40087 COND_USE_CAIRO_1=""
40088 fi
40089
40090 COND_USE_EXCEPTIONS_0="#"
40091 if test "x$USE_EXCEPTIONS" = "x0" ; then
40092 COND_USE_EXCEPTIONS_0=""
40093 fi
40094
40095 COND_USE_EXCEPTIONS_1="#"
40096 if test "x$USE_EXCEPTIONS" = "x1" ; then
40097 COND_USE_EXCEPTIONS_1=""
40098 fi
40099
40100 COND_USE_GUI_0="#"
40101 if test "x$USE_GUI" = "x0" ; then
40102 COND_USE_GUI_0=""
40103 fi
40104
40105 COND_USE_GUI_1="#"
40106 if test "x$USE_GUI" = "x1" ; then
40107 COND_USE_GUI_1=""
40108 fi
40109
40110 COND_USE_GUI_1_USE_OPENGL_1="#"
40111 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40112 COND_USE_GUI_1_USE_OPENGL_1=""
40113 fi
40114
40115 COND_USE_GUI_1_WXUNIV_0="#"
40116 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40117 COND_USE_GUI_1_WXUNIV_0=""
40118 fi
40119
40120 COND_USE_GUI_1_WXUNIV_1="#"
40121 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40122 COND_USE_GUI_1_WXUNIV_1=""
40123 fi
40124
40125 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
40126 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40127 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
40128 fi
40129
40130 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
40131 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40132 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
40133 fi
40134
40135 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
40136 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40137 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
40138 fi
40139
40140 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
40141 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40142 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
40143 fi
40144
40145 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
40146 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40147 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
40148 fi
40149
40150 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
40151 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40152 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
40153 fi
40154
40155 COND_USE_OPENGL_1="#"
40156 if test "x$USE_OPENGL" = "x1" ; then
40157 COND_USE_OPENGL_1=""
40158 fi
40159
40160 COND_USE_PCH_1="#"
40161 if test "x$USE_PCH" = "x1" ; then
40162 COND_USE_PCH_1=""
40163 fi
40164
40165 COND_USE_PLUGINS_0="#"
40166 if test "x$USE_PLUGINS" = "x0" ; then
40167 COND_USE_PLUGINS_0=""
40168 fi
40169
40170 COND_USE_RTTI_0="#"
40171 if test "x$USE_RTTI" = "x0" ; then
40172 COND_USE_RTTI_0=""
40173 fi
40174
40175 COND_USE_RTTI_1="#"
40176 if test "x$USE_RTTI" = "x1" ; then
40177 COND_USE_RTTI_1=""
40178 fi
40179
40180 COND_USE_SOTWOSYMLINKS_1="#"
40181 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40182 COND_USE_SOTWOSYMLINKS_1=""
40183 fi
40184
40185 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
40186 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40187 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
40188 fi
40189
40190 COND_USE_SOVERLINUX_1="#"
40191 if test "x$USE_SOVERLINUX" = "x1" ; then
40192 COND_USE_SOVERLINUX_1=""
40193 fi
40194
40195 COND_USE_SOVERSION_0="#"
40196 if test "x$USE_SOVERSION" = "x0" ; then
40197 COND_USE_SOVERSION_0=""
40198 fi
40199
40200 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
40201 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40202 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
40203 fi
40204
40205 COND_USE_SOVERSOLARIS_1="#"
40206 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40207 COND_USE_SOVERSOLARIS_1=""
40208 fi
40209
40210 COND_USE_STC_1="#"
40211 if test "x$USE_STC" = "x1" ; then
40212 COND_USE_STC_1=""
40213 fi
40214
40215 COND_USE_THREADS_0="#"
40216 if test "x$USE_THREADS" = "x0" ; then
40217 COND_USE_THREADS_0=""
40218 fi
40219
40220 COND_USE_THREADS_1="#"
40221 if test "x$USE_THREADS" = "x1" ; then
40222 COND_USE_THREADS_1=""
40223 fi
40224
40225 COND_USE_XRC_1="#"
40226 if test "x$USE_XRC" = "x1" ; then
40227 COND_USE_XRC_1=""
40228 fi
40229
40230 COND_WINDOWS_IMPLIB_1="#"
40231 if test "x$WINDOWS_IMPLIB" = "x1" ; then
40232 COND_WINDOWS_IMPLIB_1=""
40233 fi
40234
40235 COND_WITH_PLUGIN_SDL_1="#"
40236 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
40237 COND_WITH_PLUGIN_SDL_1=""
40238 fi
40239
40240 COND_WXUNIV_0="#"
40241 if test "x$WXUNIV" = "x0" ; then
40242 COND_WXUNIV_0=""
40243 fi
40244
40245 COND_WXUNIV_1="#"
40246 if test "x$WXUNIV" = "x1" ; then
40247 COND_WXUNIV_1=""
40248 fi
40249
40250 COND_WXUSE_EXPAT_BUILTIN="#"
40251 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40252 COND_WXUSE_EXPAT_BUILTIN=""
40253 fi
40254
40255 COND_WXUSE_LIBJPEG_BUILTIN="#"
40256 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40257 COND_WXUSE_LIBJPEG_BUILTIN=""
40258 fi
40259
40260 COND_WXUSE_LIBPNG_BUILTIN="#"
40261 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40262 COND_WXUSE_LIBPNG_BUILTIN=""
40263 fi
40264
40265 COND_WXUSE_LIBTIFF_BUILTIN="#"
40266 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40267 COND_WXUSE_LIBTIFF_BUILTIN=""
40268 fi
40269
40270 COND_WXUSE_REGEX_BUILTIN="#"
40271 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40272 COND_WXUSE_REGEX_BUILTIN=""
40273 fi
40274
40275 COND_WXUSE_ZLIB_BUILTIN="#"
40276 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40277 COND_WXUSE_ZLIB_BUILTIN=""
40278 fi
40279
40280 COND_wxUSE_EXPAT_builtin="#"
40281 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
40282 COND_wxUSE_EXPAT_builtin=""
40283 fi
40284
40285 COND_wxUSE_LIBJPEG_builtin="#"
40286 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40287 COND_wxUSE_LIBJPEG_builtin=""
40288 fi
40289
40290 COND_wxUSE_LIBPNG_builtin="#"
40291 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40292 COND_wxUSE_LIBPNG_builtin=""
40293 fi
40294
40295 COND_wxUSE_LIBTIFF_builtin="#"
40296 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40297 COND_wxUSE_LIBTIFF_builtin=""
40298 fi
40299
40300 COND_wxUSE_REGEX_builtin="#"
40301 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
40302 COND_wxUSE_REGEX_builtin=""
40303 fi
40304
40305 COND_wxUSE_ZLIB_builtin="#"
40306 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
40307 COND_wxUSE_ZLIB_builtin=""
40308 fi
40309
40310
40311
40312 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
40313 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
40314 fi
40315
40316 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
40317 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
40318 fi
40319
40320
40321 case ${INSTALL} in
40322 /* ) # Absolute
40323 ;;
40324 ?:* ) # Drive letter, considered as absolute.
40325 ;;
40326 *)
40327 INSTALL=`pwd`/${INSTALL} ;;
40328 esac
40329
40330 if test "$wxUSE_GUI" = "yes"; then
40331
40332 if test "$wxUSE_MSW" = 1 ; then
40333 if test "x$WINDRES" = "x"; then
40334 as_fn_error $? "Required windres program not found" "$LINENO" 5
40335 fi
40336
40337 RESCOMP="$WINDRES"
40338 fi
40339
40340 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
40341 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
40342 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
40343
40344 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
40345
40346 # Extract the first word of "DeRez", so it can be a program name with args.
40347 set dummy DeRez; ac_word=$2
40348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40349 $as_echo_n "checking for $ac_word... " >&6; }
40350 if test "${ac_cv_prog_DEREZ+set}" = set; then :
40351 $as_echo_n "(cached) " >&6
40352 else
40353 if test -n "$DEREZ"; then
40354 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
40355 else
40356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40357 for as_dir in $PATH
40358 do
40359 IFS=$as_save_IFS
40360 test -z "$as_dir" && as_dir=.
40361 for ac_exec_ext in '' $ac_executable_extensions; do
40362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40363 ac_cv_prog_DEREZ="DeRez"
40364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40365 break 2
40366 fi
40367 done
40368 done
40369 IFS=$as_save_IFS
40370
40371 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
40372 fi
40373 fi
40374 DEREZ=$ac_cv_prog_DEREZ
40375 if test -n "$DEREZ"; then
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
40377 $as_echo "$DEREZ" >&6; }
40378 else
40379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40380 $as_echo "no" >&6; }
40381 fi
40382
40383
40384
40385 MACSETFILE="\$(SETFILE)"
40386
40387 if test "$wxUSE_OSX_CARBON" = 1; then
40388 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
40389 RESCOMP="$REZ"
40390 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
40391 else
40392 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
40393 RESCOMP="cat /dev/null \| $REZ"
40394 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
40395 fi
40396
40397 else
40398 MACSETFILE="@true"
40399
40400 if test "$wxUSE_PM" = 1; then
40401 RESCOMP="emxbind"
40402 WXCONFIG_RESFLAGS="-ep"
40403
40404 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
40405 else
40406 POSTLINK_COMMAND="@true"
40407 fi
40408 fi
40409
40410 fi
40411
40412
40413 if test $GCC_PCH = 1
40414 then
40415 if test "$wx_cv_gcc_pch_bug" = yes; then
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
40417 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
40419 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
40420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
40421 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
40422 fi
40423
40424 # Our WX_PRECOMP flag does not make sense for any language except C++ because
40425 # the headers that benefit from precompilation are mostly C++ headers.
40426 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40427 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
40428 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
40429 fi
40430
40431
40432 if test "$wxUSE_MAC" = 1 ; then
40433 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
40434 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
40435 mv temp bk-deps
40436 chmod +x bk-deps
40437 fi
40438 fi
40439
40440 if test "$wxUSE_SHARED" = "yes"; then
40441 case "${host}" in
40442 *-pc-os2_emx | *-pc-os2-emx )
40443 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40444 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
40445 cp -p ${srcdir}/src/os2/dllnames.sh .
40446 cp -p ${srcdir}/src/os2/dllar.sh .
40447 ;;
40448 esac
40449 fi
40450 if test "$wxUSE_OMF" = "yes"; then
40451 case "${host}" in
40452 *-pc-os2_emx | *-pc-os2-emx )
40453 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
40454 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40455 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
40456 ;;
40457 esac
40458 fi
40459
40460 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
40461
40462
40463 case "${host}" in
40464 *-*-solaris2* )
40465 if test "$GCC" = yes; then
40466 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
40467 LIBS=`echo $LIBS | sed 's/-mt//g'`
40468 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
40469 fi
40470 ;;
40471
40472 *-*-linux* )
40473 if test "x$SUNCXX" = xyes; then
40474 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
40475 LIBS=`echo $LIBS | sed 's/-pthread//g'`
40476 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
40477 fi
40478 ;;
40479 esac
40480
40481 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
40482 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
40483 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
40484 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
40485
40486 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
40487
40488
40489
40490
40491
40492
40493
40494
40495
40496
40497
40498
40499
40500
40501
40502
40503
40504
40505
40506
40507
40508
40509
40510
40511
40512
40513
40514
40515
40516
40517
40518
40519
40520
40521
40522
40523
40524
40525
40526
40527
40528
40529
40530
40531
40532
40533
40534
40535
40536
40537
40538
40539
40540
40541
40542
40543
40544
40545
40546
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
40548 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
40549 set x ${MAKE-make}
40550 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
40551 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
40552 $as_echo_n "(cached) " >&6
40553 else
40554 cat >conftest.make <<\_ACEOF
40555 SHELL = /bin/sh
40556 all:
40557 @echo '@@@%%%=$(MAKE)=@@@%%%'
40558 _ACEOF
40559 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
40560 case `${MAKE-make} -f conftest.make 2>/dev/null` in
40561 *@@@%%%=?*=@@@%%%*)
40562 eval ac_cv_prog_make_${ac_make}_set=yes;;
40563 *)
40564 eval ac_cv_prog_make_${ac_make}_set=no;;
40565 esac
40566 rm -f conftest.make
40567 fi
40568 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
40569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40570 $as_echo "yes" >&6; }
40571 SET_MAKE=
40572 else
40573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40574 $as_echo "no" >&6; }
40575 SET_MAKE="MAKE=${MAKE-make}"
40576 fi
40577
40578
40579
40580 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
40581
40582
40583 if test "$USE_WIN32" = 1; then
40584 ac_config_commands="$ac_config_commands rcdefs.h"
40585
40586 fi
40587
40588 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
40589
40590
40591 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
40592
40593
40594 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
40595
40596
40597 if test "$wx_cv_version_script" = "yes"; then
40598 ac_config_files="$ac_config_files version-script"
40599
40600 fi
40601 ac_config_files="$ac_config_files Makefile"
40602
40603
40604 ac_config_commands="$ac_config_commands wx-config"
40605
40606
40607
40608 if test "$wxWITH_SUBDIRS" != "no"; then
40609 if test "$wxUSE_GUI" = "yes"; then
40610 SUBDIRS="samples demos utils"
40611 else
40612 SUBDIRS="samples utils"
40613 fi
40614
40615
40616
40617 # Check whether --with-cppunit-prefix was given.
40618 if test "${with_cppunit_prefix+set}" = set; then :
40619 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
40620 else
40621 cppunit_config_prefix=""
40622 fi
40623
40624
40625 # Check whether --with-cppunit-exec-prefix was given.
40626 if test "${with_cppunit_exec_prefix+set}" = set; then :
40627 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
40628 else
40629 cppunit_config_exec_prefix=""
40630 fi
40631
40632
40633 if test x$cppunit_config_exec_prefix != x ; then
40634 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
40635 if test x${CPPUNIT_CONFIG+set} != xset ; then
40636 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
40637 fi
40638 fi
40639 if test x$cppunit_config_prefix != x ; then
40640 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
40641 if test x${CPPUNIT_CONFIG+set} != xset ; then
40642 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
40643 fi
40644 fi
40645
40646 # Extract the first word of "cppunit-config", so it can be a program name with args.
40647 set dummy cppunit-config; ac_word=$2
40648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40649 $as_echo_n "checking for $ac_word... " >&6; }
40650 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then :
40651 $as_echo_n "(cached) " >&6
40652 else
40653 case $CPPUNIT_CONFIG in
40654 [\\/]* | ?:[\\/]*)
40655 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
40656 ;;
40657 *)
40658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40659 for as_dir in $PATH
40660 do
40661 IFS=$as_save_IFS
40662 test -z "$as_dir" && as_dir=.
40663 for ac_exec_ext in '' $ac_executable_extensions; do
40664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40665 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40667 break 2
40668 fi
40669 done
40670 done
40671 IFS=$as_save_IFS
40672
40673 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
40674 ;;
40675 esac
40676 fi
40677 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
40678 if test -n "$CPPUNIT_CONFIG"; then
40679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
40680 $as_echo "$CPPUNIT_CONFIG" >&6; }
40681 else
40682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40683 $as_echo "no" >&6; }
40684 fi
40685
40686
40687 cppunit_version_min=1.8.0
40688
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
40690 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
40691 no_cppunit=""
40692 if test "$CPPUNIT_CONFIG" = "no" ; then
40693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40694 $as_echo "no" >&6; }
40695 no_cppunit=yes
40696 else
40697 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
40698 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
40699 cppunit_version=`$CPPUNIT_CONFIG --version`
40700
40701 cppunit_major_version=`echo $cppunit_version | \
40702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40703 cppunit_minor_version=`echo $cppunit_version | \
40704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40705 cppunit_micro_version=`echo $cppunit_version | \
40706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40707
40708 cppunit_major_min=`echo $cppunit_version_min | \
40709 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40710 cppunit_minor_min=`echo $cppunit_version_min | \
40711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40712 cppunit_micro_min=`echo $cppunit_version_min | \
40713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40714
40715 cppunit_version_proper=`expr \
40716 $cppunit_major_version \> $cppunit_major_min \| \
40717 $cppunit_major_version \= $cppunit_major_min \& \
40718 $cppunit_minor_version \> $cppunit_minor_min \| \
40719 $cppunit_major_version \= $cppunit_major_min \& \
40720 $cppunit_minor_version \= $cppunit_minor_min \& \
40721 $cppunit_micro_version \>= $cppunit_micro_min `
40722
40723 if test "$cppunit_version_proper" = "1" ; then
40724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
40725 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
40726 else
40727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40728 $as_echo "no" >&6; }
40729 no_cppunit=yes
40730 fi
40731 fi
40732
40733 if test "x$no_cppunit" = x ; then
40734 SUBDIRS="$SUBDIRS tests"
40735 else
40736 CPPUNIT_CFLAGS=""
40737 CPPUNIT_LIBS=""
40738 :
40739 fi
40740
40741
40742
40743
40744
40745 for subdir in $SUBDIRS; do
40746 if test -d ${srcdir}/${subdir} ; then
40747 if test "$wxUSE_GUI" = "yes"; then
40748 if test ${subdir} = "samples"; then
40749 makefiles="samples/Makefile.in $makefiles"
40750 for sample in $SAMPLES_SUBDIRS; do
40751 if test -d $srcdir/samples/$sample; then
40752 makefiles="samples/$sample/Makefile.in $makefiles"
40753 fi
40754 done
40755 else
40756 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
40757 eval "disabled=\$$disabled_var"
40758 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
40759 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
40760 fi
40761 else
40762 if test ${subdir} = "samples"; then
40763 makefiles="samples/Makefile.in $makefiles"
40764 for sample in `echo $SAMPLES_SUBDIRS`; do
40765 if test -d $srcdir/samples/$sample; then
40766 makefiles="samples/$sample/Makefile.in $makefiles"
40767 fi
40768 done
40769 elif test ${subdir} = "utils"; then
40770 makefiles=""
40771 for util in ifacecheck ; do
40772 if test -d $srcdir/utils/$util ; then
40773 makefiles="utils/$util/src/Makefile.in \
40774 $makefiles"
40775 fi
40776 done
40777 else
40778 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
40779 fi
40780 fi
40781
40782 for mkin in $makefiles ; do
40783 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
40784 ac_config_files="$ac_config_files $mk"
40785
40786 done
40787 fi
40788 done
40789 fi
40790 cat >confcache <<\_ACEOF
40791 # This file is a shell script that caches the results of configure
40792 # tests run on this system so they can be shared between configure
40793 # scripts and configure runs, see configure's option --config-cache.
40794 # It is not useful on other systems. If it contains results you don't
40795 # want to keep, you may remove or edit it.
40796 #
40797 # config.status only pays attention to the cache file if you give it
40798 # the --recheck option to rerun configure.
40799 #
40800 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40801 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40802 # following values.
40803
40804 _ACEOF
40805
40806 # The following way of writing the cache mishandles newlines in values,
40807 # but we know of no workaround that is simple, portable, and efficient.
40808 # So, we kill variables containing newlines.
40809 # Ultrix sh set writes to stderr and can't be redirected directly,
40810 # and sets the high bit in the cache file unless we assign to the vars.
40811 (
40812 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40813 eval ac_val=\$$ac_var
40814 case $ac_val in #(
40815 *${as_nl}*)
40816 case $ac_var in #(
40817 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
40818 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
40819 esac
40820 case $ac_var in #(
40821 _ | IFS | as_nl) ;; #(
40822 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
40823 *) { eval $ac_var=; unset $ac_var;} ;;
40824 esac ;;
40825 esac
40826 done
40827
40828 (set) 2>&1 |
40829 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40830 *${as_nl}ac_space=\ *)
40831 # `set' does not quote correctly, so add quotes: double-quote
40832 # substitution turns \\\\ into \\, and sed turns \\ into \.
40833 sed -n \
40834 "s/'/'\\\\''/g;
40835 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40836 ;; #(
40837 *)
40838 # `set' quotes correctly as required by POSIX, so do not add quotes.
40839 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40840 ;;
40841 esac |
40842 sort
40843 ) |
40844 sed '
40845 /^ac_cv_env_/b end
40846 t clear
40847 :clear
40848 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40849 t end
40850 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40851 :end' >>confcache
40852 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
40853 if test -w "$cache_file"; then
40854 test "x$cache_file" != "x/dev/null" &&
40855 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
40856 $as_echo "$as_me: updating cache $cache_file" >&6;}
40857 cat confcache >$cache_file
40858 else
40859 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
40860 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40861 fi
40862 fi
40863 rm -f confcache
40864
40865 test "x$prefix" = xNONE && prefix=$ac_default_prefix
40866 # Let make expand exec_prefix.
40867 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
40868
40869 DEFS=-DHAVE_CONFIG_H
40870
40871 ac_libobjs=
40872 ac_ltlibobjs=
40873 U=
40874 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
40875 # 1. Remove the extension, and $U if already installed.
40876 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
40877 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
40878 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
40879 # will be set to the directory where LIBOBJS objects are built.
40880 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
40881 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
40882 done
40883 LIBOBJS=$ac_libobjs
40884
40885 LTLIBOBJS=$ac_ltlibobjs
40886
40887
40888
40889 : ${CONFIG_STATUS=./config.status}
40890 ac_write_fail=0
40891 ac_clean_files_save=$ac_clean_files
40892 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
40893 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
40894 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
40895 as_write_fail=0
40896 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
40897 #! $SHELL
40898 # Generated by $as_me.
40899 # Run this file to recreate the current configuration.
40900 # Compiler output produced by configure, useful for debugging
40901 # configure, is in config.log if it exists.
40902
40903 debug=false
40904 ac_cs_recheck=false
40905 ac_cs_silent=false
40906
40907 SHELL=\${CONFIG_SHELL-$SHELL}
40908 export SHELL
40909 _ASEOF
40910 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
40911 ## -------------------- ##
40912 ## M4sh Initialization. ##
40913 ## -------------------- ##
40914
40915 # Be more Bourne compatible
40916 DUALCASE=1; export DUALCASE # for MKS sh
40917 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
40918 emulate sh
40919 NULLCMD=:
40920 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
40921 # is contrary to our usage. Disable this feature.
40922 alias -g '${1+"$@"}'='"$@"'
40923 setopt NO_GLOB_SUBST
40924 else
40925 case `(set -o) 2>/dev/null` in #(
40926 *posix*) :
40927 set -o posix ;; #(
40928 *) :
40929 ;;
40930 esac
40931 fi
40932
40933
40934 as_nl='
40935 '
40936 export as_nl
40937 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40938 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40939 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40940 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
40941 # Prefer a ksh shell builtin over an external printf program on Solaris,
40942 # but without wasting forks for bash or zsh.
40943 if test -z "$BASH_VERSION$ZSH_VERSION" \
40944 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
40945 as_echo='print -r --'
40946 as_echo_n='print -rn --'
40947 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
40948 as_echo='printf %s\n'
40949 as_echo_n='printf %s'
40950 else
40951 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
40952 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
40953 as_echo_n='/usr/ucb/echo -n'
40954 else
40955 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
40956 as_echo_n_body='eval
40957 arg=$1;
40958 case $arg in #(
40959 *"$as_nl"*)
40960 expr "X$arg" : "X\\(.*\\)$as_nl";
40961 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
40962 esac;
40963 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
40964 '
40965 export as_echo_n_body
40966 as_echo_n='sh -c $as_echo_n_body as_echo'
40967 fi
40968 export as_echo_body
40969 as_echo='sh -c $as_echo_body as_echo'
40970 fi
40971
40972 # The user is always right.
40973 if test "${PATH_SEPARATOR+set}" != set; then
40974 PATH_SEPARATOR=:
40975 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
40976 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
40977 PATH_SEPARATOR=';'
40978 }
40979 fi
40980
40981
40982 # IFS
40983 # We need space, tab and new line, in precisely that order. Quoting is
40984 # there to prevent editors from complaining about space-tab.
40985 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
40986 # splitting by setting IFS to empty value.)
40987 IFS=" "" $as_nl"
40988
40989 # Find who we are. Look in the path if we contain no directory separator.
40990 case $0 in #((
40991 *[\\/]* ) as_myself=$0 ;;
40992 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40993 for as_dir in $PATH
40994 do
40995 IFS=$as_save_IFS
40996 test -z "$as_dir" && as_dir=.
40997 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
40998 done
40999 IFS=$as_save_IFS
41000
41001 ;;
41002 esac
41003 # We did not find ourselves, most probably we were run as `sh COMMAND'
41004 # in which case we are not to be found in the path.
41005 if test "x$as_myself" = x; then
41006 as_myself=$0
41007 fi
41008 if test ! -f "$as_myself"; then
41009 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41010 exit 1
41011 fi
41012
41013 # Unset variables that we do not need and which cause bugs (e.g. in
41014 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41015 # suppresses any "Segmentation fault" message there. '((' could
41016 # trigger a bug in pdksh 5.2.14.
41017 for as_var in BASH_ENV ENV MAIL MAILPATH
41018 do eval test x\${$as_var+set} = xset \
41019 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
41020 done
41021 PS1='$ '
41022 PS2='> '
41023 PS4='+ '
41024
41025 # NLS nuisances.
41026 LC_ALL=C
41027 export LC_ALL
41028 LANGUAGE=C
41029 export LANGUAGE
41030
41031 # CDPATH.
41032 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
41033
41034
41035 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41036 # ----------------------------------------
41037 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41038 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41039 # script with STATUS, using 1 if that was 0.
41040 as_fn_error ()
41041 {
41042 as_status=$1; test $as_status -eq 0 && as_status=1
41043 if test "$4"; then
41044 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
41045 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41046 fi
41047 $as_echo "$as_me: error: $2" >&2
41048 as_fn_exit $as_status
41049 } # as_fn_error
41050
41051
41052 # as_fn_set_status STATUS
41053 # -----------------------
41054 # Set $? to STATUS, without forking.
41055 as_fn_set_status ()
41056 {
41057 return $1
41058 } # as_fn_set_status
41059
41060 # as_fn_exit STATUS
41061 # -----------------
41062 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41063 as_fn_exit ()
41064 {
41065 set +e
41066 as_fn_set_status $1
41067 exit $1
41068 } # as_fn_exit
41069
41070 # as_fn_unset VAR
41071 # ---------------
41072 # Portably unset VAR.
41073 as_fn_unset ()
41074 {
41075 { eval $1=; unset $1;}
41076 }
41077 as_unset=as_fn_unset
41078 # as_fn_append VAR VALUE
41079 # ----------------------
41080 # Append the text in VALUE to the end of the definition contained in VAR. Take
41081 # advantage of any shell optimizations that allow amortized linear growth over
41082 # repeated appends, instead of the typical quadratic growth present in naive
41083 # implementations.
41084 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
41085 eval 'as_fn_append ()
41086 {
41087 eval $1+=\$2
41088 }'
41089 else
41090 as_fn_append ()
41091 {
41092 eval $1=\$$1\$2
41093 }
41094 fi # as_fn_append
41095
41096 # as_fn_arith ARG...
41097 # ------------------
41098 # Perform arithmetic evaluation on the ARGs, and store the result in the
41099 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41100 # must be portable across $(()) and expr.
41101 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
41102 eval 'as_fn_arith ()
41103 {
41104 as_val=$(( $* ))
41105 }'
41106 else
41107 as_fn_arith ()
41108 {
41109 as_val=`expr "$@" || test $? -eq 1`
41110 }
41111 fi # as_fn_arith
41112
41113
41114 if expr a : '\(a\)' >/dev/null 2>&1 &&
41115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
41116 as_expr=expr
41117 else
41118 as_expr=false
41119 fi
41120
41121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41122 as_basename=basename
41123 else
41124 as_basename=false
41125 fi
41126
41127 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
41128 as_dirname=dirname
41129 else
41130 as_dirname=false
41131 fi
41132
41133 as_me=`$as_basename -- "$0" ||
41134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41135 X"$0" : 'X\(//\)$' \| \
41136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41137 $as_echo X/"$0" |
41138 sed '/^.*\/\([^/][^/]*\)\/*$/{
41139 s//\1/
41140 q
41141 }
41142 /^X\/\(\/\/\)$/{
41143 s//\1/
41144 q
41145 }
41146 /^X\/\(\/\).*/{
41147 s//\1/
41148 q
41149 }
41150 s/.*/./; q'`
41151
41152 # Avoid depending upon Character Ranges.
41153 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41154 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41155 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
41156 as_cr_digits='0123456789'
41157 as_cr_alnum=$as_cr_Letters$as_cr_digits
41158
41159 ECHO_C= ECHO_N= ECHO_T=
41160 case `echo -n x` in #(((((
41161 -n*)
41162 case `echo 'xy\c'` in
41163 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
41164 xy) ECHO_C='\c';;
41165 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
41166 ECHO_T=' ';;
41167 esac;;
41168 *)
41169 ECHO_N='-n';;
41170 esac
41171
41172 rm -f conf$$ conf$$.exe conf$$.file
41173 if test -d conf$$.dir; then
41174 rm -f conf$$.dir/conf$$.file
41175 else
41176 rm -f conf$$.dir
41177 mkdir conf$$.dir 2>/dev/null
41178 fi
41179 if (echo >conf$$.file) 2>/dev/null; then
41180 if ln -s conf$$.file conf$$ 2>/dev/null; then
41181 as_ln_s='ln -s'
41182 # ... but there are two gotchas:
41183 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41184 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41185 # In both cases, we have to default to `cp -p'.
41186 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
41187 as_ln_s='cp -p'
41188 elif ln conf$$.file conf$$ 2>/dev/null; then
41189 as_ln_s=ln
41190 else
41191 as_ln_s='cp -p'
41192 fi
41193 else
41194 as_ln_s='cp -p'
41195 fi
41196 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
41197 rmdir conf$$.dir 2>/dev/null
41198
41199
41200 # as_fn_mkdir_p
41201 # -------------
41202 # Create "$as_dir" as a directory, including parents if necessary.
41203 as_fn_mkdir_p ()
41204 {
41205
41206 case $as_dir in #(
41207 -*) as_dir=./$as_dir;;
41208 esac
41209 test -d "$as_dir" || eval $as_mkdir_p || {
41210 as_dirs=
41211 while :; do
41212 case $as_dir in #(
41213 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41214 *) as_qdir=$as_dir;;
41215 esac
41216 as_dirs="'$as_qdir' $as_dirs"
41217 as_dir=`$as_dirname -- "$as_dir" ||
41218 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41219 X"$as_dir" : 'X\(//\)[^/]' \| \
41220 X"$as_dir" : 'X\(//\)$' \| \
41221 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41222 $as_echo X"$as_dir" |
41223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41224 s//\1/
41225 q
41226 }
41227 /^X\(\/\/\)[^/].*/{
41228 s//\1/
41229 q
41230 }
41231 /^X\(\/\/\)$/{
41232 s//\1/
41233 q
41234 }
41235 /^X\(\/\).*/{
41236 s//\1/
41237 q
41238 }
41239 s/.*/./; q'`
41240 test -d "$as_dir" && break
41241 done
41242 test -z "$as_dirs" || eval "mkdir $as_dirs"
41243 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
41244
41245
41246 } # as_fn_mkdir_p
41247 if mkdir -p . 2>/dev/null; then
41248 as_mkdir_p='mkdir -p "$as_dir"'
41249 else
41250 test -d ./-p && rmdir ./-p
41251 as_mkdir_p=false
41252 fi
41253
41254 if test -x / >/dev/null 2>&1; then
41255 as_test_x='test -x'
41256 else
41257 if ls -dL / >/dev/null 2>&1; then
41258 as_ls_L_option=L
41259 else
41260 as_ls_L_option=
41261 fi
41262 as_test_x='
41263 eval sh -c '\''
41264 if test -d "$1"; then
41265 test -d "$1/.";
41266 else
41267 case $1 in #(
41268 -*)set "./$1";;
41269 esac;
41270 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
41271 ???[sx]*):;;*)false;;esac;fi
41272 '\'' sh
41273 '
41274 fi
41275 as_executable_p=$as_test_x
41276
41277 # Sed expression to map a string onto a valid CPP name.
41278 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
41279
41280 # Sed expression to map a string onto a valid variable name.
41281 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
41282
41283
41284 exec 6>&1
41285 ## ----------------------------------- ##
41286 ## Main body of $CONFIG_STATUS script. ##
41287 ## ----------------------------------- ##
41288 _ASEOF
41289 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
41290
41291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41292 # Save the log message, to keep $0 and so on meaningful, and to
41293 # report actual input values of CONFIG_FILES etc. instead of their
41294 # values after options handling.
41295 ac_log="
41296 This file was extended by wxWidgets $as_me 2.9.4, which was
41297 generated by GNU Autoconf 2.67. Invocation command line was
41298
41299 CONFIG_FILES = $CONFIG_FILES
41300 CONFIG_HEADERS = $CONFIG_HEADERS
41301 CONFIG_LINKS = $CONFIG_LINKS
41302 CONFIG_COMMANDS = $CONFIG_COMMANDS
41303 $ $0 $@
41304
41305 on `(hostname || uname -n) 2>/dev/null | sed 1q`
41306 "
41307
41308 _ACEOF
41309
41310 case $ac_config_files in *"
41311 "*) set x $ac_config_files; shift; ac_config_files=$*;;
41312 esac
41313
41314 case $ac_config_headers in *"
41315 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
41316 esac
41317
41318
41319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41320 # Files that config.status was made for.
41321 config_files="$ac_config_files"
41322 config_headers="$ac_config_headers"
41323 config_commands="$ac_config_commands"
41324
41325 _ACEOF
41326
41327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41328 ac_cs_usage="\
41329 \`$as_me' instantiates files and other configuration actions
41330 from templates according to the current configuration. Unless the files
41331 and actions are specified as TAGs, all are instantiated by default.
41332
41333 Usage: $0 [OPTION]... [TAG]...
41334
41335 -h, --help print this help, then exit
41336 -V, --version print version number and configuration settings, then exit
41337 --config print configuration, then exit
41338 -q, --quiet, --silent
41339 do not print progress messages
41340 -d, --debug don't remove temporary files
41341 --recheck update $as_me by reconfiguring in the same conditions
41342 --file=FILE[:TEMPLATE]
41343 instantiate the configuration file FILE
41344 --header=FILE[:TEMPLATE]
41345 instantiate the configuration header FILE
41346
41347 Configuration files:
41348 $config_files
41349
41350 Configuration headers:
41351 $config_headers
41352
41353 Configuration commands:
41354 $config_commands
41355
41356 Report bugs to <wx-dev@lists.wxwidgets.org>."
41357
41358 _ACEOF
41359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41360 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
41361 ac_cs_version="\\
41362 wxWidgets config.status 2.9.4
41363 configured by $0, generated by GNU Autoconf 2.67,
41364 with options \\"\$ac_cs_config\\"
41365
41366 Copyright (C) 2010 Free Software Foundation, Inc.
41367 This config.status script is free software; the Free Software Foundation
41368 gives unlimited permission to copy, distribute and modify it."
41369
41370 ac_pwd='$ac_pwd'
41371 srcdir='$srcdir'
41372 INSTALL='$INSTALL'
41373 test -n "\$AWK" || AWK=awk
41374 _ACEOF
41375
41376 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41377 # The default lists apply if the user does not specify any file.
41378 ac_need_defaults=:
41379 while test $# != 0
41380 do
41381 case $1 in
41382 --*=?*)
41383 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41384 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
41385 ac_shift=:
41386 ;;
41387 --*=)
41388 ac_option=`expr "X$1" : 'X\([^=]*\)='`
41389 ac_optarg=
41390 ac_shift=:
41391 ;;
41392 *)
41393 ac_option=$1
41394 ac_optarg=$2
41395 ac_shift=shift
41396 ;;
41397 esac
41398
41399 case $ac_option in
41400 # Handling of the options.
41401 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
41402 ac_cs_recheck=: ;;
41403 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
41404 $as_echo "$ac_cs_version"; exit ;;
41405 --config | --confi | --conf | --con | --co | --c )
41406 $as_echo "$ac_cs_config"; exit ;;
41407 --debug | --debu | --deb | --de | --d | -d )
41408 debug=: ;;
41409 --file | --fil | --fi | --f )
41410 $ac_shift
41411 case $ac_optarg in
41412 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41413 '') as_fn_error $? "missing file argument" ;;
41414 esac
41415 as_fn_append CONFIG_FILES " '$ac_optarg'"
41416 ac_need_defaults=false;;
41417 --header | --heade | --head | --hea )
41418 $ac_shift
41419 case $ac_optarg in
41420 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
41421 esac
41422 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
41423 ac_need_defaults=false;;
41424 --he | --h)
41425 # Conflict between --help and --header
41426 as_fn_error $? "ambiguous option: \`$1'
41427 Try \`$0 --help' for more information.";;
41428 --help | --hel | -h )
41429 $as_echo "$ac_cs_usage"; exit ;;
41430 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
41431 | -silent | --silent | --silen | --sile | --sil | --si | --s)
41432 ac_cs_silent=: ;;
41433
41434 # This is an error.
41435 -*) as_fn_error $? "unrecognized option: \`$1'
41436 Try \`$0 --help' for more information." ;;
41437
41438 *) as_fn_append ac_config_targets " $1"
41439 ac_need_defaults=false ;;
41440
41441 esac
41442 shift
41443 done
41444
41445 ac_configure_extra_args=
41446
41447 if $ac_cs_silent; then
41448 exec 6>/dev/null
41449 ac_configure_extra_args="$ac_configure_extra_args --silent"
41450 fi
41451
41452 _ACEOF
41453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41454 if \$ac_cs_recheck; then
41455 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
41456 shift
41457 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
41458 CONFIG_SHELL='$SHELL'
41459 export CONFIG_SHELL
41460 exec "\$@"
41461 fi
41462
41463 _ACEOF
41464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41465 exec 5>>config.log
41466 {
41467 echo
41468 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
41469 ## Running $as_me. ##
41470 _ASBOX
41471 $as_echo "$ac_log"
41472 } >&5
41473
41474 _ACEOF
41475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41476 #
41477 # INIT-COMMANDS
41478 #
41479
41480 CPP="$CPP"
41481 infile="$srcdir/include/wx/msw/genrcdefs.h"
41482 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
41483
41484
41485 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41486 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41487 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
41488 LN_S="${LN_S}"
41489
41490
41491 _ACEOF
41492
41493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41494
41495 # Handling of arguments.
41496 for ac_config_target in $ac_config_targets
41497 do
41498 case $ac_config_target in
41499 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
41500 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
41501 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
41502 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
41503 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
41504 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
41505 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
41506 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
41507 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
41508
41509 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
41510 esac
41511 done
41512
41513
41514 # If the user did not use the arguments to specify the items to instantiate,
41515 # then the envvar interface is used. Set only those that are not.
41516 # We use the long form for the default assignment because of an extremely
41517 # bizarre bug on SunOS 4.1.3.
41518 if $ac_need_defaults; then
41519 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
41520 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
41521 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
41522 fi
41523
41524 # Have a temporary directory for convenience. Make it in the build tree
41525 # simply because there is no reason against having it here, and in addition,
41526 # creating and moving files from /tmp can sometimes cause problems.
41527 # Hook for its removal unless debugging.
41528 # Note that there is a small window in which the directory will not be cleaned:
41529 # after its creation but before its name has been assigned to `$tmp'.
41530 $debug ||
41531 {
41532 tmp=
41533 trap 'exit_status=$?
41534 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
41535 ' 0
41536 trap 'as_fn_exit 1' 1 2 13 15
41537 }
41538 # Create a (secure) tmp directory for tmp files.
41539
41540 {
41541 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
41542 test -n "$tmp" && test -d "$tmp"
41543 } ||
41544 {
41545 tmp=./conf$$-$RANDOM
41546 (umask 077 && mkdir "$tmp")
41547 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
41548
41549 # Set up the scripts for CONFIG_FILES section.
41550 # No need to generate them if there are no CONFIG_FILES.
41551 # This happens for instance with `./config.status config.h'.
41552 if test -n "$CONFIG_FILES"; then
41553
41554
41555 ac_cr=`echo X | tr X '\015'`
41556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
41557 # But we know of no other shell where ac_cr would be empty at this
41558 # point, so we can use a bashism as a fallback.
41559 if test "x$ac_cr" = x; then
41560 eval ac_cr=\$\'\\r\'
41561 fi
41562 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
41563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
41564 ac_cs_awk_cr='\\r'
41565 else
41566 ac_cs_awk_cr=$ac_cr
41567 fi
41568
41569 echo 'BEGIN {' >"$tmp/subs1.awk" &&
41570 _ACEOF
41571
41572
41573 {
41574 echo "cat >conf$$subs.awk <<_ACEOF" &&
41575 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
41576 echo "_ACEOF"
41577 } >conf$$subs.sh ||
41578 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
41580 ac_delim='%!_!# '
41581 for ac_last_try in false false false false false :; do
41582 . ./conf$$subs.sh ||
41583 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41584
41585 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
41586 if test $ac_delim_n = $ac_delim_num; then
41587 break
41588 elif $ac_last_try; then
41589 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
41590 else
41591 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41592 fi
41593 done
41594 rm -f conf$$subs.sh
41595
41596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41597 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
41598 _ACEOF
41599 sed -n '
41600 h
41601 s/^/S["/; s/!.*/"]=/
41602 p
41603 g
41604 s/^[^!]*!//
41605 :repl
41606 t repl
41607 s/'"$ac_delim"'$//
41608 t delim
41609 :nl
41610 h
41611 s/\(.\{148\}\)..*/\1/
41612 t more1
41613 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
41614 p
41615 n
41616 b repl
41617 :more1
41618 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41619 p
41620 g
41621 s/.\{148\}//
41622 t nl
41623 :delim
41624 h
41625 s/\(.\{148\}\)..*/\1/
41626 t more2
41627 s/["\\]/\\&/g; s/^/"/; s/$/"/
41628 p
41629 b
41630 :more2
41631 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
41632 p
41633 g
41634 s/.\{148\}//
41635 t delim
41636 ' <conf$$subs.awk | sed '
41637 /^[^""]/{
41638 N
41639 s/\n//
41640 }
41641 ' >>$CONFIG_STATUS || ac_write_fail=1
41642 rm -f conf$$subs.awk
41643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41644 _ACAWK
41645 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
41646 for (key in S) S_is_set[key] = 1
41647 FS = "\a"
41648
41649 }
41650 {
41651 line = $ 0
41652 nfields = split(line, field, "@")
41653 substed = 0
41654 len = length(field[1])
41655 for (i = 2; i < nfields; i++) {
41656 key = field[i]
41657 keylen = length(key)
41658 if (S_is_set[key]) {
41659 value = S[key]
41660 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
41661 len += length(value) + length(field[++i])
41662 substed = 1
41663 } else
41664 len += 1 + keylen
41665 }
41666
41667 print line
41668 }
41669
41670 _ACAWK
41671 _ACEOF
41672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41673 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
41674 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
41675 else
41676 cat
41677 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
41678 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
41679 _ACEOF
41680
41681 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
41682 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
41683 # trailing colons and then remove the whole line if VPATH becomes empty
41684 # (actually we leave an empty line to preserve line numbers).
41685 if test "x$srcdir" = x.; then
41686 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
41687 h
41688 s///
41689 s/^/:/
41690 s/[ ]*$/:/
41691 s/:\$(srcdir):/:/g
41692 s/:\${srcdir}:/:/g
41693 s/:@srcdir@:/:/g
41694 s/^:*//
41695 s/:*$//
41696 x
41697 s/\(=[ ]*\).*/\1/
41698 G
41699 s/\n//
41700 s/^[^=]*=[ ]*$//
41701 }'
41702 fi
41703
41704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41705 fi # test -n "$CONFIG_FILES"
41706
41707 # Set up the scripts for CONFIG_HEADERS section.
41708 # No need to generate them if there are no CONFIG_HEADERS.
41709 # This happens for instance with `./config.status Makefile'.
41710 if test -n "$CONFIG_HEADERS"; then
41711 cat >"$tmp/defines.awk" <<\_ACAWK ||
41712 BEGIN {
41713 _ACEOF
41714
41715 # Transform confdefs.h into an awk script `defines.awk', embedded as
41716 # here-document in config.status, that substitutes the proper values into
41717 # config.h.in to produce config.h.
41718
41719 # Create a delimiter string that does not exist in confdefs.h, to ease
41720 # handling of long lines.
41721 ac_delim='%!_!# '
41722 for ac_last_try in false false :; do
41723 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
41724 if test -z "$ac_t"; then
41725 break
41726 elif $ac_last_try; then
41727 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
41728 else
41729 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
41730 fi
41731 done
41732
41733 # For the awk script, D is an array of macro values keyed by name,
41734 # likewise P contains macro parameters if any. Preserve backslash
41735 # newline sequences.
41736
41737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
41738 sed -n '
41739 s/.\{148\}/&'"$ac_delim"'/g
41740 t rset
41741 :rset
41742 s/^[ ]*#[ ]*define[ ][ ]*/ /
41743 t def
41744 d
41745 :def
41746 s/\\$//
41747 t bsnl
41748 s/["\\]/\\&/g
41749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
41750 D["\1"]=" \3"/p
41751 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
41752 d
41753 :bsnl
41754 s/["\\]/\\&/g
41755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
41756 D["\1"]=" \3\\\\\\n"\\/p
41757 t cont
41758 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
41759 t cont
41760 d
41761 :cont
41762 n
41763 s/.\{148\}/&'"$ac_delim"'/g
41764 t clear
41765 :clear
41766 s/\\$//
41767 t bsnlc
41768 s/["\\]/\\&/g; s/^/"/; s/$/"/p
41769 d
41770 :bsnlc
41771 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
41772 b cont
41773 ' <confdefs.h | sed '
41774 s/'"$ac_delim"'/"\\\
41775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
41776
41777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41778 for (key in D) D_is_set[key] = 1
41779 FS = "\a"
41780 }
41781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
41782 line = \$ 0
41783 split(line, arg, " ")
41784 if (arg[1] == "#") {
41785 defundef = arg[2]
41786 mac1 = arg[3]
41787 } else {
41788 defundef = substr(arg[1], 2)
41789 mac1 = arg[2]
41790 }
41791 split(mac1, mac2, "(") #)
41792 macro = mac2[1]
41793 prefix = substr(line, 1, index(line, defundef) - 1)
41794 if (D_is_set[macro]) {
41795 # Preserve the white space surrounding the "#".
41796 print prefix "define", macro P[macro] D[macro]
41797 next
41798 } else {
41799 # Replace #undef with comments. This is necessary, for example,
41800 # in the case of _POSIX_SOURCE, which is predefined and required
41801 # on some systems where configure will not decide to define it.
41802 if (defundef == "undef") {
41803 print "/*", prefix defundef, macro, "*/"
41804 next
41805 }
41806 }
41807 }
41808 { print }
41809 _ACAWK
41810 _ACEOF
41811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41812 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
41813 fi # test -n "$CONFIG_HEADERS"
41814
41815
41816 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
41817 shift
41818 for ac_tag
41819 do
41820 case $ac_tag in
41821 :[FHLC]) ac_mode=$ac_tag; continue;;
41822 esac
41823 case $ac_mode$ac_tag in
41824 :[FHL]*:*);;
41825 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
41826 :[FH]-) ac_tag=-:-;;
41827 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
41828 esac
41829 ac_save_IFS=$IFS
41830 IFS=:
41831 set x $ac_tag
41832 IFS=$ac_save_IFS
41833 shift
41834 ac_file=$1
41835 shift
41836
41837 case $ac_mode in
41838 :L) ac_source=$1;;
41839 :[FH])
41840 ac_file_inputs=
41841 for ac_f
41842 do
41843 case $ac_f in
41844 -) ac_f="$tmp/stdin";;
41845 *) # Look for the file first in the build tree, then in the source tree
41846 # (if the path is not absolute). The absolute path cannot be DOS-style,
41847 # because $ac_f cannot contain `:'.
41848 test -f "$ac_f" ||
41849 case $ac_f in
41850 [\\/$]*) false;;
41851 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
41852 esac ||
41853 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
41854 esac
41855 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
41856 as_fn_append ac_file_inputs " '$ac_f'"
41857 done
41858
41859 # Let's still pretend it is `configure' which instantiates (i.e., don't
41860 # use $as_me), people would be surprised to read:
41861 # /* config.h. Generated by config.status. */
41862 configure_input='Generated from '`
41863 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
41864 `' by configure.'
41865 if test x"$ac_file" != x-; then
41866 configure_input="$ac_file. $configure_input"
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
41868 $as_echo "$as_me: creating $ac_file" >&6;}
41869 fi
41870 # Neutralize special characters interpreted by sed in replacement strings.
41871 case $configure_input in #(
41872 *\&* | *\|* | *\\* )
41873 ac_sed_conf_input=`$as_echo "$configure_input" |
41874 sed 's/[\\\\&|]/\\\\&/g'`;; #(
41875 *) ac_sed_conf_input=$configure_input;;
41876 esac
41877
41878 case $ac_tag in
41879 *:-:* | *:-) cat >"$tmp/stdin" \
41880 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
41881 esac
41882 ;;
41883 esac
41884
41885 ac_dir=`$as_dirname -- "$ac_file" ||
41886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41887 X"$ac_file" : 'X\(//\)[^/]' \| \
41888 X"$ac_file" : 'X\(//\)$' \| \
41889 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
41890 $as_echo X"$ac_file" |
41891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
41892 s//\1/
41893 q
41894 }
41895 /^X\(\/\/\)[^/].*/{
41896 s//\1/
41897 q
41898 }
41899 /^X\(\/\/\)$/{
41900 s//\1/
41901 q
41902 }
41903 /^X\(\/\).*/{
41904 s//\1/
41905 q
41906 }
41907 s/.*/./; q'`
41908 as_dir="$ac_dir"; as_fn_mkdir_p
41909 ac_builddir=.
41910
41911 case "$ac_dir" in
41912 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
41913 *)
41914 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
41915 # A ".." for each directory in $ac_dir_suffix.
41916 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
41917 case $ac_top_builddir_sub in
41918 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
41919 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
41920 esac ;;
41921 esac
41922 ac_abs_top_builddir=$ac_pwd
41923 ac_abs_builddir=$ac_pwd$ac_dir_suffix
41924 # for backward compatibility:
41925 ac_top_builddir=$ac_top_build_prefix
41926
41927 case $srcdir in
41928 .) # We are building in place.
41929 ac_srcdir=.
41930 ac_top_srcdir=$ac_top_builddir_sub
41931 ac_abs_top_srcdir=$ac_pwd ;;
41932 [\\/]* | ?:[\\/]* ) # Absolute name.
41933 ac_srcdir=$srcdir$ac_dir_suffix;
41934 ac_top_srcdir=$srcdir
41935 ac_abs_top_srcdir=$srcdir ;;
41936 *) # Relative name.
41937 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
41938 ac_top_srcdir=$ac_top_build_prefix$srcdir
41939 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
41940 esac
41941 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
41942
41943
41944 case $ac_mode in
41945 :F)
41946 #
41947 # CONFIG_FILE
41948 #
41949
41950 case $INSTALL in
41951 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
41952 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
41953 esac
41954 _ACEOF
41955
41956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41957 # If the template does not know about datarootdir, expand it.
41958 # FIXME: This hack should be removed a few years after 2.60.
41959 ac_datarootdir_hack=; ac_datarootdir_seen=
41960 ac_sed_dataroot='
41961 /datarootdir/ {
41962 p
41963 q
41964 }
41965 /@datadir@/p
41966 /@docdir@/p
41967 /@infodir@/p
41968 /@localedir@/p
41969 /@mandir@/p'
41970 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
41971 *datarootdir*) ac_datarootdir_seen=yes;;
41972 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
41974 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
41975 _ACEOF
41976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41977 ac_datarootdir_hack='
41978 s&@datadir@&$datadir&g
41979 s&@docdir@&$docdir&g
41980 s&@infodir@&$infodir&g
41981 s&@localedir@&$localedir&g
41982 s&@mandir@&$mandir&g
41983 s&\\\${datarootdir}&$datarootdir&g' ;;
41984 esac
41985 _ACEOF
41986
41987 # Neutralize VPATH when `$srcdir' = `.'.
41988 # Shell code in configure.ac might set extrasub.
41989 # FIXME: do we really want to maintain this feature?
41990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
41991 ac_sed_extra="$ac_vpsub
41992 $extrasub
41993 _ACEOF
41994 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
41995 :t
41996 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
41997 s|@configure_input@|$ac_sed_conf_input|;t t
41998 s&@top_builddir@&$ac_top_builddir_sub&;t t
41999 s&@top_build_prefix@&$ac_top_build_prefix&;t t
42000 s&@srcdir@&$ac_srcdir&;t t
42001 s&@abs_srcdir@&$ac_abs_srcdir&;t t
42002 s&@top_srcdir@&$ac_top_srcdir&;t t
42003 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
42004 s&@builddir@&$ac_builddir&;t t
42005 s&@abs_builddir@&$ac_abs_builddir&;t t
42006 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
42007 s&@INSTALL@&$ac_INSTALL&;t t
42008 $ac_datarootdir_hack
42009 "
42010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
42011 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42012
42013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42014 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
42015 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
42016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42017 which seems to be undefined. Please make sure it is defined" >&5
42018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
42019 which seems to be undefined. Please make sure it is defined" >&2;}
42020
42021 rm -f "$tmp/stdin"
42022 case $ac_file in
42023 -) cat "$tmp/out" && rm -f "$tmp/out";;
42024 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
42025 esac \
42026 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42027 ;;
42028 :H)
42029 #
42030 # CONFIG_HEADER
42031 #
42032 if test x"$ac_file" != x-; then
42033 {
42034 $as_echo "/* $configure_input */" \
42035 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
42036 } >"$tmp/config.h" \
42037 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42038 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
42039 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42040 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42041 else
42042 rm -f "$ac_file"
42043 mv "$tmp/config.h" "$ac_file" \
42044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42045 fi
42046 else
42047 $as_echo "/* $configure_input */" \
42048 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
42049 || as_fn_error $? "could not create -" "$LINENO" 5
42050 fi
42051 ;;
42052
42053 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42054 $as_echo "$as_me: executing $ac_file commands" >&6;}
42055 ;;
42056 esac
42057
42058
42059 case $ac_file$ac_mode in
42060 "rcdefs.h":C)
42061 mkdir -p $outdir &&
42062 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42063 ;;
42064 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
42065 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
42066 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
42067 "wx-config":C) rm -f wx-config
42068 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
42069 ;;
42070
42071 esac
42072 done # for ac_tag
42073
42074
42075 as_fn_exit 0
42076 _ACEOF
42077 ac_clean_files=$ac_clean_files_save
42078
42079 test $ac_write_fail = 0 ||
42080 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
42081
42082
42083 # configure is writing to config.log, and then calls config.status.
42084 # config.status does its own redirection, appending to config.log.
42085 # Unfortunately, on DOS this fails, as config.log is still kept open
42086 # by configure, so config.status won't be able to write to it; its
42087 # output is simply discarded. So we exec the FD to /dev/null,
42088 # effectively closing config.log, so it can be properly (re)opened and
42089 # appended to by config.status. When coming back to configure, we
42090 # need to make the FD available again.
42091 if test "$no_create" != yes; then
42092 ac_cs_success=:
42093 ac_config_status_args=
42094 test "$silent" = yes &&
42095 ac_config_status_args="$ac_config_status_args --quiet"
42096 exec 5>/dev/null
42097 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
42098 exec 5>>config.log
42099 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42100 # would make configure fail if this is the last instruction.
42101 $ac_cs_success || as_fn_exit 1
42102 fi
42103
42104 #
42105 # CONFIG_SUBDIRS section.
42106 #
42107 if test "$no_recursion" != yes; then
42108
42109 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42110 # so they do not pile up.
42111 ac_sub_configure_args=
42112 ac_prev=
42113 eval "set x $ac_configure_args"
42114 shift
42115 for ac_arg
42116 do
42117 if test -n "$ac_prev"; then
42118 ac_prev=
42119 continue
42120 fi
42121 case $ac_arg in
42122 -cache-file | --cache-file | --cache-fil | --cache-fi \
42123 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42124 ac_prev=cache_file ;;
42125 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42126 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42127 | --c=*)
42128 ;;
42129 --config-cache | -C)
42130 ;;
42131 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42132 ac_prev=srcdir ;;
42133 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42134 ;;
42135 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42136 ac_prev=prefix ;;
42137 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42138 ;;
42139 --disable-option-checking)
42140 ;;
42141 *)
42142 case $ac_arg in
42143 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42144 esac
42145 as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
42146 esac
42147 done
42148
42149 # Always prepend --prefix to ensure using the same prefix
42150 # in subdir configurations.
42151 ac_arg="--prefix=$prefix"
42152 case $ac_arg in
42153 *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42154 esac
42155 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
42156
42157 # Pass --silent
42158 if test "$silent" = yes; then
42159 ac_sub_configure_args="--silent $ac_sub_configure_args"
42160 fi
42161
42162 # Always prepend --disable-option-checking to silence warnings, since
42163 # different subdirs can have different --enable and --with options.
42164 ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
42165
42166 ac_popdir=`pwd`
42167 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
42168
42169 # Do not complain, so a configure script can configure whichever
42170 # parts of a large source tree are present.
42171 test -d "$srcdir/$ac_dir" || continue
42172
42173 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42174 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42175 $as_echo "$ac_msg" >&6
42176 as_dir="$ac_dir"; as_fn_mkdir_p
42177 ac_builddir=.
42178
42179 case "$ac_dir" in
42180 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
42181 *)
42182 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42183 # A ".." for each directory in $ac_dir_suffix.
42184 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42185 case $ac_top_builddir_sub in
42186 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
42187 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
42188 esac ;;
42189 esac
42190 ac_abs_top_builddir=$ac_pwd
42191 ac_abs_builddir=$ac_pwd$ac_dir_suffix
42192 # for backward compatibility:
42193 ac_top_builddir=$ac_top_build_prefix
42194
42195 case $srcdir in
42196 .) # We are building in place.
42197 ac_srcdir=.
42198 ac_top_srcdir=$ac_top_builddir_sub
42199 ac_abs_top_srcdir=$ac_pwd ;;
42200 [\\/]* | ?:[\\/]* ) # Absolute name.
42201 ac_srcdir=$srcdir$ac_dir_suffix;
42202 ac_top_srcdir=$srcdir
42203 ac_abs_top_srcdir=$srcdir ;;
42204 *) # Relative name.
42205 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
42206 ac_top_srcdir=$ac_top_build_prefix$srcdir
42207 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
42208 esac
42209 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
42210
42211
42212 cd "$ac_dir"
42213
42214 # Check for guested configure; otherwise get Cygnus style configure.
42215 if test -f "$ac_srcdir/configure.gnu"; then
42216 ac_sub_configure=$ac_srcdir/configure.gnu
42217 elif test -f "$ac_srcdir/configure"; then
42218 ac_sub_configure=$ac_srcdir/configure
42219 elif test -f "$ac_srcdir/configure.in"; then
42220 # This should be Cygnus configure.
42221 ac_sub_configure=$ac_aux_dir/configure
42222 else
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42224 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42225 ac_sub_configure=
42226 fi
42227
42228 # The recursion is here.
42229 if test -n "$ac_sub_configure"; then
42230 # Make the cache file name correct relative to the subdirectory.
42231 case $cache_file in
42232 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
42233 *) # Relative name.
42234 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
42235 esac
42236
42237 { $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
42238 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
42239 # The eval makes quoting arguments work.
42240 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
42241 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
42242 as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
42243 fi
42244
42245 cd "$ac_popdir"
42246 done
42247 fi
42248 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
42249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
42250 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
42251 fi
42252
42253
42254 echo
42255 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
42256 echo ""
42257 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
42258 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
42259 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
42260 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
42261 if test "$wxUSE_UNICODE" = "yes"; then
42262 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
42263 echo " (using UTF-8)"
42264 else
42265 echo " (using wchar_t)"
42266 fi
42267 else
42268 echo
42269 fi
42270
42271 echo " What level of wxWidgets compatibility should be enabled?"
42272 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
42273 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
42274
42275 echo " Which libraries should wxWidgets use?"
42276 echo " STL ${wxUSE_STL}"
42277 echo " jpeg ${wxUSE_LIBJPEG-none}"
42278 echo " png ${wxUSE_LIBPNG-none}"
42279 echo " regex ${wxUSE_REGEX}"
42280 echo " tiff ${wxUSE_LIBTIFF-none}"
42281 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
42282 echo " xpm ${wxUSE_LIBXPM-none}"
42283 fi
42284 echo " zlib ${wxUSE_ZLIB}"
42285 echo " expat ${wxUSE_EXPAT}"
42286 echo " libmspack ${wxUSE_LIBMSPACK}"
42287 echo " sdl ${wxUSE_LIBSDL}"
42288
42289 echo ""
42290