2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for wxWidgets 2.9.5.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev
/null
; then :
208 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
213 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir
=.
220 for as_base
in sh bash ksh sh5
; do
221 # Try only shells that exist, to save several forks.
222 as_shell
=$as_dir/$as_base
223 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
225 CONFIG_SHELL
=$as_shell as_have_required
=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
236 CONFIG_SHELL
=$SHELL as_have_required
=yes
241 if test "x$CONFIG_SHELL" != x
; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
251 *v
*x
* | *x
*v
* ) as_opts
=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x
$as_have_required = xno
; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x
${ZSH_VERSION+set} = xset
; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: wx-dev@lists.wxwidgets.org about your system, including
272 $0: any error possibly output before this message. Then
273 $0: install a modern shell, or manually run the script
274 $0: under such a shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" || eval $as_mkdir_p || {
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" || eval "mkdir $as_dirs"
359 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir -p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
561 test -n "$DJDIR" || exec 7<&0 </dev
/null
565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
566 # so uname gets run too.
567 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
572 ac_default_prefix
=/usr
/local
574 ac_config_libobj_dir
=.
581 # Identity of this package.
582 PACKAGE_NAME
='wxWidgets'
583 PACKAGE_TARNAME
='wxwidgets'
584 PACKAGE_VERSION
='2.9.5'
585 PACKAGE_STRING
='wxWidgets 2.9.5'
586 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
589 ac_unique_file
="wx-config.in"
590 # Factoring default headers for most tests.
591 ac_includes_default
="\
593 #ifdef HAVE_SYS_TYPES_H
594 # include <sys/types.h>
596 #ifdef HAVE_SYS_STAT_H
597 # include <sys/stat.h>
603 # ifdef HAVE_STDLIB_H
608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
613 #ifdef HAVE_STRINGS_H
614 # include <strings.h>
616 #ifdef HAVE_INTTYPES_H
617 # include <inttypes.h>
626 enable_option_checking
=no
627 ac_subst_vars
='LTLIBOBJS
635 WX_RESOURCES_MACOSX_DATA
636 WX_RESOURCES_MACOSX_ASCII
668 WX_LIBRARY_BASENAME_GUI
669 WX_LIBRARY_BASENAME_NOGUI
672 COND_wxUSE_ZLIB_builtin
673 COND_wxUSE_REGEX_builtin
674 COND_wxUSE_LIBTIFF_builtin
675 COND_wxUSE_LIBPNG_builtin
676 COND_wxUSE_LIBJPEG_builtin
677 COND_wxUSE_EXPAT_builtin
680 COND_WITH_PLUGIN_SDL_1
681 COND_WINDOWS_IMPLIB_1
686 COND_USE_SOVERSOLARIS_1
687 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
689 COND_USE_SOVERLINUX_1
690 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
691 COND_USE_SOTWOSYMLINKS_1
697 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
698 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
699 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
700 COND_USE_GUI_1_WXUNIV_1
701 COND_USE_GUI_1_WXUNIV_0
702 COND_USE_GUI_1_USE_OPENGL_1
705 COND_USE_EXCEPTIONS_1
706 COND_USE_EXCEPTIONS_0
709 COND_TOOLKIT_X11_USE_GUI_1
711 COND_TOOLKIT_WINCE_WXUNIV_0
712 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
713 COND_TOOLKIT_WINCE_USE_GUI_1
715 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
716 COND_TOOLKIT_PM_USE_GUI_1
718 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
719 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
720 COND_TOOLKIT_OSX_IPHONE
721 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
722 COND_TOOLKIT_OSX_COCOA
723 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
724 COND_TOOLKIT_OSX_CARBON
725 COND_TOOLKIT_MSW_WXUNIV_0
726 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
727 COND_TOOLKIT_MSW_USE_GUI_1
729 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
730 COND_TOOLKIT_MOTIF_USE_GUI_1
733 COND_TOOLKIT_GTK_USE_GUI_1
734 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
735 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
737 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
739 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
740 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
742 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
744 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
745 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
748 COND_TOOLKIT_DFB_USE_GUI_1
750 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
751 COND_TOOLKIT_COCOA_USE_GUI_1
754 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
756 COND_SHARED_0_wxUSE_ZLIB_builtin
757 COND_SHARED_0_wxUSE_REGEX_builtin
758 COND_SHARED_0_wxUSE_EXPAT_builtin
759 COND_SHARED_0_USE_STC_1
760 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
761 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
762 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
763 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
764 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
765 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
766 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
768 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
769 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
770 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
771 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
772 COND_PLATFORM_WIN32_1_SHARED_0
773 COND_PLATFORM_WIN32_1
774 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
775 COND_PLATFORM_WIN32_0
776 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
777 COND_PLATFORM_UNIX_1_USE_GUI_1
778 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
779 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
780 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
781 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
785 COND_PLATFORM_MSDOS_1
786 COND_PLATFORM_MSDOS_0
789 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
790 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
791 COND_PLATFORM_MACOSX_1_USE_GUI_1
792 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
793 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
794 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
795 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
796 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
797 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
798 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
799 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
800 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
802 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
803 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
804 COND_PLATFORM_MACOSX_1
805 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
806 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
807 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
808 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
809 COND_MONOLITHIC_1_SHARED_1
810 COND_MONOLITHIC_1_SHARED_0
812 COND_MONOLITHIC_0_USE_XRC_1
813 COND_MONOLITHIC_0_USE_WEBVIEW_1
814 COND_MONOLITHIC_0_USE_STC_1
815 COND_MONOLITHIC_0_USE_RICHTEXT_1
816 COND_MONOLITHIC_0_USE_RIBBON_1
817 COND_MONOLITHIC_0_USE_QA_1
818 COND_MONOLITHIC_0_USE_PROPGRID_1
819 COND_MONOLITHIC_0_USE_MEDIA_1
820 COND_MONOLITHIC_0_USE_HTML_1
821 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
822 COND_MONOLITHIC_0_USE_GUI_1
823 COND_MONOLITHIC_0_USE_AUI_1
824 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
825 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
826 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
827 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
828 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
830 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
834 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
839 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
840 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
846 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
847 COND_MONOLITHIC_0_SHARED_0
856 COND_BUILD_release_DEBUG_INFO_default
858 COND_BUILD_debug_DEBUG_INFO_default
862 ICC_PCH_CREATE_SWITCH
970 LIBGNOMEPRINTUI_CFLAGS
1061 program_transform_name
1074 enable_option_checking
1080 enable_official_build
1122 with_macosx_version_min
1131 enable_std_containers
1132 enable_std_iostreams
1134 enable_std_string_conv_in_wxstring
1139 enable_extended_rtti
1144 enable_no_exceptions
1147 enable_vararg_macros
1148 enable_universal_binary
1153 enable_objc_uniquifying
1182 enable_dynamicloader
1199 enable_printfposparam
1214 enable_protocol_http
1216 enable_protocol_file
1267 enable_commandlinkbutton
1294 enable_rearrangectrl
1343 enable_accessibility
1346 enable_webviewwebkit
1366 with_gtk_exec_prefix
1368 with_libiconv_prefix
1370 with_sdl_exec_prefix
1372 enable_dependency_tracking
1373 enable_precomp_headers
1375 with_cppunit_exec_prefix
1377 ac_precious_vars
='build_alias
1414 LIBGNOMEPRINTUI_CFLAGS
1415 LIBGNOMEPRINTUI_LIBS
1430 ac_subdirs_all
='src/tiff
1433 # Initialize some variables set by options.
1435 ac_init_version
=false
1436 ac_unrecognized_opts
=
1437 ac_unrecognized_sep
=
1438 # The variables have the same names as the options, with
1439 # dashes changed to underlines.
1440 cache_file
=/dev
/null
1447 program_transform_name
=s
,x
,x
,
1455 # Installation directory options.
1456 # These are left unexpanded so users can "make install exec_prefix=/foo"
1457 # and all the variables that are supposed to be based on exec_prefix
1458 # by default will actually change.
1459 # Use braces instead of parens because sh, perl, etc. also accept them.
1460 # (The list follows the same order as the GNU Coding Standards.)
1461 bindir
='${exec_prefix}/bin'
1462 sbindir
='${exec_prefix}/sbin'
1463 libexecdir
='${exec_prefix}/libexec'
1464 datarootdir
='${prefix}/share'
1465 datadir
='${datarootdir}'
1466 sysconfdir
='${prefix}/etc'
1467 sharedstatedir
='${prefix}/com'
1468 localstatedir
='${prefix}/var'
1469 includedir
='${prefix}/include'
1470 oldincludedir
='/usr/include'
1471 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1472 infodir
='${datarootdir}/info'
1477 libdir
='${exec_prefix}/lib'
1478 localedir
='${datarootdir}/locale'
1479 mandir
='${datarootdir}/man'
1485 # If the previous option needs an argument, assign it.
1486 if test -n "$ac_prev"; then
1487 eval $ac_prev=\
$ac_option
1493 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1498 # Accept the important Cygnus configure options, so we can diagnose typos.
1500 case $ac_dashdash$ac_option in
1504 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1506 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1507 bindir
=$ac_optarg ;;
1509 -build | --build | --buil | --bui | --bu)
1510 ac_prev
=build_alias
;;
1511 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1512 build_alias
=$ac_optarg ;;
1514 -cache-file | --cache-file | --cache-fil | --cache-fi \
1515 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1516 ac_prev
=cache_file
;;
1517 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1518 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1519 cache_file
=$ac_optarg ;;
1521 --config-cache | -C)
1522 cache_file
=config.cache
;;
1524 -datadir | --datadir | --datadi | --datad)
1526 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1527 datadir
=$ac_optarg ;;
1529 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1530 | --dataroo | --dataro | --datar)
1531 ac_prev
=datarootdir
;;
1532 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1533 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1534 datarootdir
=$ac_optarg ;;
1536 -disable-* | --disable-*)
1537 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1538 # Reject names that are not valid shell variable names.
1539 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1540 as_fn_error $?
"invalid feature name: $ac_useropt"
1541 ac_useropt_orig
=$ac_useropt
1542 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1543 case $ac_user_opts in
1545 "enable_
$ac_useropt"
1547 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1548 ac_unrecognized_sep
=', ';;
1550 eval enable_
$ac_useropt=no
;;
1552 -docdir | --docdir | --docdi | --doc | --do)
1554 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1555 docdir
=$ac_optarg ;;
1557 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1559 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1560 dvidir
=$ac_optarg ;;
1562 -enable-* | --enable-*)
1563 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1564 # Reject names that are not valid shell variable names.
1565 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1566 as_fn_error $?
"invalid feature name: $ac_useropt"
1567 ac_useropt_orig
=$ac_useropt
1568 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1569 case $ac_user_opts in
1571 "enable_
$ac_useropt"
1573 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1574 ac_unrecognized_sep
=', ';;
1576 eval enable_
$ac_useropt=\
$ac_optarg ;;
1578 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1579 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1580 | --exec | --exe | --ex)
1581 ac_prev
=exec_prefix
;;
1582 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1583 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1584 | --exec=* | --exe=* | --ex=*)
1585 exec_prefix
=$ac_optarg ;;
1587 -gas | --gas | --ga | --g)
1588 # Obsolete; use --with-gas.
1591 -help | --help | --hel | --he | -h)
1592 ac_init_help
=long
;;
1593 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1594 ac_init_help
=recursive
;;
1595 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1596 ac_init_help
=short
;;
1598 -host | --host | --hos | --ho)
1599 ac_prev
=host_alias
;;
1600 -host=* | --host=* | --hos=* | --ho=*)
1601 host_alias
=$ac_optarg ;;
1603 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1605 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1607 htmldir
=$ac_optarg ;;
1609 -includedir | --includedir | --includedi | --included | --include \
1610 | --includ | --inclu | --incl | --inc)
1611 ac_prev
=includedir
;;
1612 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1613 | --includ=* | --inclu=* | --incl=* | --inc=*)
1614 includedir
=$ac_optarg ;;
1616 -infodir | --infodir | --infodi | --infod | --info | --inf)
1618 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1619 infodir
=$ac_optarg ;;
1621 -libdir | --libdir | --libdi | --libd)
1623 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1624 libdir
=$ac_optarg ;;
1626 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1627 | --libexe | --libex | --libe)
1628 ac_prev
=libexecdir
;;
1629 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1630 | --libexe=* | --libex=* | --libe=*)
1631 libexecdir
=$ac_optarg ;;
1633 -localedir | --localedir | --localedi | --localed | --locale)
1634 ac_prev
=localedir
;;
1635 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1636 localedir
=$ac_optarg ;;
1638 -localstatedir | --localstatedir | --localstatedi | --localstated \
1639 | --localstate | --localstat | --localsta | --localst | --locals)
1640 ac_prev
=localstatedir
;;
1641 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1642 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1643 localstatedir
=$ac_optarg ;;
1645 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1647 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1648 mandir
=$ac_optarg ;;
1650 -nfp | --nfp | --nf)
1651 # Obsolete; use --without-fp.
1654 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1655 | --no-cr | --no-c | -n)
1658 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1659 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1662 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1663 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1664 | --oldin | --oldi | --old | --ol | --o)
1665 ac_prev
=oldincludedir
;;
1666 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1667 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1668 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1669 oldincludedir
=$ac_optarg ;;
1671 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1673 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1674 prefix
=$ac_optarg ;;
1676 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1677 | --program-pre | --program-pr | --program-p)
1678 ac_prev
=program_prefix
;;
1679 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1680 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1681 program_prefix
=$ac_optarg ;;
1683 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1684 | --program-suf | --program-su | --program-s)
1685 ac_prev
=program_suffix
;;
1686 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1687 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1688 program_suffix
=$ac_optarg ;;
1690 -program-transform-name | --program-transform-name \
1691 | --program-transform-nam | --program-transform-na \
1692 | --program-transform-n | --program-transform- \
1693 | --program-transform | --program-transfor \
1694 | --program-transfo | --program-transf \
1695 | --program-trans | --program-tran \
1696 | --progr-tra | --program-tr | --program-t)
1697 ac_prev
=program_transform_name
;;
1698 -program-transform-name=* | --program-transform-name=* \
1699 | --program-transform-nam=* | --program-transform-na=* \
1700 | --program-transform-n=* | --program-transform-=* \
1701 | --program-transform=* | --program-transfor=* \
1702 | --program-transfo=* | --program-transf=* \
1703 | --program-trans=* | --program-tran=* \
1704 | --progr-tra=* | --program-tr=* | --program-t=*)
1705 program_transform_name
=$ac_optarg ;;
1707 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1709 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1710 pdfdir
=$ac_optarg ;;
1712 -psdir | --psdir | --psdi | --psd | --ps)
1714 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1718 | -silent | --silent | --silen | --sile | --sil)
1721 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1723 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1725 sbindir
=$ac_optarg ;;
1727 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1728 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1729 | --sharedst | --shareds | --shared | --share | --shar \
1731 ac_prev
=sharedstatedir
;;
1732 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1733 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1734 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1736 sharedstatedir
=$ac_optarg ;;
1738 -site | --site | --sit)
1740 -site=* | --site=* | --sit=*)
1743 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1745 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1746 srcdir
=$ac_optarg ;;
1748 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1749 | --syscon | --sysco | --sysc | --sys | --sy)
1750 ac_prev
=sysconfdir
;;
1751 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1752 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1753 sysconfdir
=$ac_optarg ;;
1755 -target | --target | --targe | --targ | --tar | --ta | --t)
1756 ac_prev
=target_alias
;;
1757 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1758 target_alias
=$ac_optarg ;;
1760 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1763 -version | --version | --versio | --versi | --vers | -V)
1764 ac_init_version
=: ;;
1767 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1768 # Reject names that are not valid shell variable names.
1769 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1770 as_fn_error $?
"invalid package name: $ac_useropt"
1771 ac_useropt_orig
=$ac_useropt
1772 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1773 case $ac_user_opts in
1777 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1778 ac_unrecognized_sep
=', ';;
1780 eval with_
$ac_useropt=\
$ac_optarg ;;
1782 -without-* | --without-*)
1783 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1784 # Reject names that are not valid shell variable names.
1785 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1786 as_fn_error $?
"invalid package name: $ac_useropt"
1787 ac_useropt_orig
=$ac_useropt
1788 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1789 case $ac_user_opts in
1793 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1794 ac_unrecognized_sep
=', ';;
1796 eval with_
$ac_useropt=no
;;
1799 # Obsolete; use --with-x.
1802 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1803 | --x-incl | --x-inc | --x-in | --x-i)
1804 ac_prev
=x_includes
;;
1805 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1806 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1807 x_includes
=$ac_optarg ;;
1809 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1810 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1811 ac_prev
=x_libraries
;;
1812 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1813 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1814 x_libraries
=$ac_optarg ;;
1816 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1817 Try \`$0 --help' for more information"
1821 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1822 # Reject names that are not valid shell variable names.
1823 case $ac_envvar in #(
1824 '' | [0-9]* | *[!_$as_cr_alnum]* )
1825 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1827 eval $ac_envvar=\
$ac_optarg
1828 export $ac_envvar ;;
1831 # FIXME: should be removed in autoconf 3.0.
1832 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1833 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1834 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1835 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1841 if test -n "$ac_prev"; then
1842 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1843 as_fn_error $?
"missing argument to $ac_option"
1846 if test -n "$ac_unrecognized_opts"; then
1847 case $enable_option_checking in
1849 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1850 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1854 # Check all directory arguments for consistency.
1855 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1856 datadir sysconfdir sharedstatedir localstatedir includedir \
1857 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1858 libdir localedir mandir
1860 eval ac_val
=\$
$ac_var
1861 # Remove trailing slashes.
1864 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1865 eval $ac_var=\
$ac_val;;
1867 # Be sure to have absolute directory names.
1869 [\\/$
]* | ?
:[\\/]* ) continue;;
1870 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1872 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1875 # There might be people who depend on the old broken behavior: `$host'
1876 # used to hold the argument of --host etc.
1877 # FIXME: To remove some day.
1880 target
=$target_alias
1882 # FIXME: To remove some day.
1883 if test "x$host_alias" != x
; then
1884 if test "x$build_alias" = x
; then
1885 cross_compiling
=maybe
1886 elif test "x$build_alias" != "x$host_alias"; then
1892 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1894 test "$silent" = yes && exec 6>/dev
/null
1897 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1898 ac_ls_di
=`ls -di .` &&
1899 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1900 as_fn_error $?
"working directory cannot be determined"
1901 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1902 as_fn_error $?
"pwd does not report name of working directory"
1905 # Find the source files, if location was not specified.
1906 if test -z "$srcdir"; then
1907 ac_srcdir_defaulted
=yes
1908 # Try the directory containing this script, then the parent directory.
1909 ac_confdir
=`$as_dirname -- "$as_myself" ||
1910 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1911 X"$as_myself" : 'X\(//\)[^/]' \| \
1912 X"$as_myself" : 'X\(//\)$' \| \
1913 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1914 $as_echo X"$as_myself" |
1915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1933 if test ! -r "$srcdir/$ac_unique_file"; then
1937 ac_srcdir_defaulted
=no
1939 if test ! -r "$srcdir/$ac_unique_file"; then
1940 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1941 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1943 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1945 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1947 # When building in place, set srcdir=.
1948 if test "$ac_abs_confdir" = "$ac_pwd"; then
1951 # Remove unnecessary trailing slashes from srcdir.
1952 # Double slashes in file names in object file debugging info
1953 # mess up M-x gdb in Emacs.
1955 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1957 for ac_var
in $ac_precious_vars; do
1958 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1959 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1960 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1961 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1965 # Report the --help message.
1967 if test "$ac_init_help" = "long"; then
1968 # Omit some internal or obsolete options to make the list less imposing.
1969 # This message is too long to be a string in the A/UX 3.1 sh.
1971 \`configure' configures wxWidgets 2.9.5 to adapt to many kinds of systems.
1973 Usage: $0 [OPTION]... [VAR=VALUE]...
1975 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1976 VAR=VALUE. See below for descriptions of some of the useful variables.
1978 Defaults for the options are specified in brackets.
1981 -h, --help display this help and exit
1982 --help=short display options specific to this package
1983 --help=recursive display the short help of all the included packages
1984 -V, --version display version information and exit
1985 -q, --quiet, --silent do not print \`checking ...' messages
1986 --cache-file=FILE cache test results in FILE [disabled]
1987 -C, --config-cache alias for \`--cache-file=config.cache'
1988 -n, --no-create do not create output files
1989 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1991 Installation directories:
1992 --prefix=PREFIX install architecture-independent files in PREFIX
1993 [$ac_default_prefix]
1994 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1997 By default, \`make install' will install all the files in
1998 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1999 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2000 for instance \`--prefix=\$HOME'.
2002 For better control, use the options below.
2004 Fine tuning of the installation directories:
2005 --bindir=DIR user executables [EPREFIX/bin]
2006 --sbindir=DIR system admin executables [EPREFIX/sbin]
2007 --libexecdir=DIR program executables [EPREFIX/libexec]
2008 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2009 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2010 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2011 --libdir=DIR object code libraries [EPREFIX/lib]
2012 --includedir=DIR C header files [PREFIX/include]
2013 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2014 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2015 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2016 --infodir=DIR info documentation [DATAROOTDIR/info]
2017 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2018 --mandir=DIR man documentation [DATAROOTDIR/man]
2019 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
2020 --htmldir=DIR html documentation [DOCDIR]
2021 --dvidir=DIR dvi documentation [DOCDIR]
2022 --pdfdir=DIR pdf documentation [DOCDIR]
2023 --psdir=DIR ps documentation [DOCDIR]
2029 --x-includes=DIR X include files are
in DIR
2030 --x-libraries=DIR X library files are
in DIR
2033 --build=BUILD configure
for building on BUILD
[guessed
]
2034 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
2038 if test -n "$ac_init_help"; then
2039 case $ac_init_help in
2040 short
| recursive
) echo "Configuration of wxWidgets 2.9.5:";;
2045 --disable-option-checking ignore unrecognized
--enable/--with options
2046 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
2047 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
2048 --disable-gui don
't build GUI parts of the library
2049 --enable-monolithic build wxWidgets as single library
2050 --enable-plugins build parts of wxWidgets as loadable components
2051 --enable-official_build official build of wxWidgets (win32 DLL only)
2052 --enable-vendor=VENDOR vendor name (win32 DLL only)
2053 --disable-all-features disable all optional features to build minimal library
2054 --enable-universal use wxWidgets GUI controls instead of native ones
2055 --enable-nanox use NanoX
2056 --enable-gpe use GNOME PDA Environment features if possible
2057 --enable-debug build library for debugging
2058 --disable-debug_flag disable all debugging support
2059 --enable-debug_info generate debug information
2060 --enable-debug_gdb create code with extra GDB debugging information
2061 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
2062 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
2063 --disable-shared create static library instead of shared
2064 --enable-stl use standard C++ classes for everything
2065 --enable-std_containers use standard C++ container classes
2066 --enable-std_iostreams use standard C++ stream classes
2067 --enable-std_string use standard C++ string classes
2068 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
2069 --disable-unicode compile without Unicode support
2070 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
2071 --enable-utf8 use UTF-8 representation for strings (Unix only)
2072 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
2073 --enable-extended_rtti use extended RTTI (XTI)
2074 --enable-omf use OMF object format
2075 --disable-optimise compile without optimisations
2076 --enable-profile create code with profiling information
2077 --enable-no_rtti create code without RTTI information
2078 --enable-no_exceptions create code without C++ exceptions handling
2079 --enable-permissive compile code disregarding strict ANSI
2080 --enable-no_deps create code without dependency information
2081 --disable-vararg_macros don't use vararg macros
, even
if they are supported
2082 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
2083 --enable-macosx_arch=ARCH build
for just the specified architecture
2084 --enable-compat26 enable wxWidgets
2.6 compatibility
2085 --disable-compat28 disable wxWidgets
2.8 compatibility
2086 --disable-rpath disable use of rpath
for uninstalled builds
2087 --enable-objc_uniquifying enable Objective
-C class name uniquifying
2088 --disable-visibility disable use of ELF symbols visibility even
if supported
2089 --disable-tls disable use of compiler TLS support
2090 --enable-intl use internationalization system
2091 --enable-xlocale use x
-locale support
(requires wxLocale
)
2092 --enable-config use wxConfig
(and derived
) classes
2093 --enable-protocols use wxProtocol and derived classes
2094 --enable-ftp use wxFTP
(requires wxProtocol
2095 --enable-http use wxHTTP
(requires wxProtocol
2096 --enable-fileproto use wxFileProto class
(requires wxProtocol
2097 --enable-sockets use socket
/network classes
2098 --enable-ipv6 enable IPv6 support
in wxSocket
2099 --enable-ole use OLE classes
(Win32 only
)
2100 --enable-dataobj use data object classes
2101 --enable-ipc use interprocess communication
(wxSocket etc.
)
2102 --enable-baseevtloop use event loop
in console programs too
2103 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
2104 --enable-selectloop use wxSelectDispatcher class
2105 --enable-any use wxAny class
2106 --enable-apple_ieee use the Apple IEEE codec
2107 --enable-arcstream use wxArchive streams
2108 --enable-base64 use base64 encoding
/decoding functions
2109 --enable-backtrace use wxStackWalker class
for getting backtraces
2110 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
2111 --enable-cmdline use wxCmdLineParser class
2112 --enable-datetime use wxDateTime class
2113 --enable-debugreport use wxDebugReport class
2114 --enable-dialupman use dialup network classes
2115 --enable-dynlib use wxLibrary class
for DLL loading
2116 --enable-dynamicloader use
(new
) wxDynamicLibrary class
2117 --enable-exceptions build exception
-safe library
2118 --enable-ffile use wxFFile class
2119 --enable-file use wxFile class
2120 --enable-filehistory use wxFileHistory class
2121 --enable-filesystem use virtual
file systems classes
2122 --enable-fontenum use wxFontEnumerator class
2123 --enable-fontmap use font encodings conversion classes
2124 --enable-fs_archive use virtual archive filesystems
2125 --enable-fs_inet use virtual HTTP
/FTP filesystems
2126 --enable-fs_zip now replaced by fs_archive
2127 --enable-fsvolume use wxFSVolume class
2128 --enable-fswatcher use wxFileSystemWatcher class
2129 --enable-geometry use geometry class
2130 --enable-log use logging system
2131 --enable-longlong use wxLongLong class
2132 --enable-mimetype use wxMimeTypesManager
2133 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
2134 --enable-snglinst use wxSingleInstanceChecker class
2135 --enable-sound use wxSound class
2136 --enable-stdpaths use wxStandardPaths class
2137 --enable-stopwatch use wxStopWatch class
2138 --enable-streams use wxStream etc classes
2139 --enable-sysoptions use wxSystemOptions
2140 --enable-tarstream use wxTar streams
2141 --enable-textbuf use wxTextBuffer class
2142 --enable-textfile use wxTextFile class
2143 --enable-timer use wxTimer class
2144 --enable-variant use wxVariant class
2145 --enable-zipstream use wxZip streams
2146 --enable-url use wxURL class
2147 --enable-protocol use wxProtocol class
2148 --enable-protocol-http HTTP support
in wxProtocol
2149 --enable-protocol-ftp FTP support
in wxProtocol
2150 --enable-protocol-file FILE support
in wxProtocol
2151 --enable-threads use threads
2152 --enable-iniconf use wxIniConfig
(Win32 only
)
2153 --enable-regkey use wxRegKey class
(Win32 only
)
2154 --enable-docview use document view architecture
2155 --enable-help use
help subsystem
2156 --enable-mshtmlhelp use MS HTML Help
(win32
)
2157 --enable-html use wxHTML sub
-library
2158 --enable-htmlhelp use wxHTML
-based help
2159 --enable-xrc use XRC resources sub
-library
2160 --enable-aui use AUI docking library
2161 --enable-propgrid use wxPropertyGrid library
2162 --enable-ribbon use wxRibbon library
2163 --enable-stc use wxStyledTextCtrl library
2164 --enable-constraints use layout
-constraints system
2165 --enable-loggui use standard GUI logger
2166 --enable-logwin use wxLogWindow
2167 --enable-logdialog use wxLogDialog
2168 --enable-mdi use multiple document interface architecture
2169 --enable-mdidoc use docview architecture with MDI
2170 --enable-mediactrl use wxMediaCtrl class
2171 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
2172 --enable-richtext use wxRichTextCtrl
2173 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
2174 --enable-printarch use printing architecture
2175 --enable-svg use wxSVGFileDC device context
2176 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
2177 --enable-webview use wxWebView library
2178 --enable-graphics_ctx use graphics context
2D drawing API
2179 --enable-clipboard use wxClipboard class
2180 --enable-dnd use Drag
'n'Drop classes
2181 --disable-controls disable compilation of all standard controls
2182 --enable-markup support wxControl
::SetLabelMarkup
2183 --enable-accel use accelerators
2184 --enable-animatectrl use wxAnimationCtrl class
2185 --enable-bannerwindow use wxBannerWindow class
2186 --enable-artstd use standard XPM icons
in wxArtProvider
2187 --enable-arttango use Tango icons
in wxArtProvider
2188 --enable-bmpbutton use wxBitmapButton class
2189 --enable-bmpcombobox use wxBitmapComboBox class
2190 --enable-button use wxButton class
2191 --enable-calendar use wxCalendarCtrl class
2192 --enable-caret use wxCaret class
2193 --enable-checkbox use wxCheckBox class
2194 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
2195 --enable-choice use wxChoice class
2196 --enable-choicebook use wxChoicebook class
2197 --enable-collpane use wxCollapsiblePane class
2198 --enable-colourpicker use wxColourPickerCtrl class
2199 --enable-combobox use wxComboBox class
2200 --enable-comboctrl use wxComboCtrl class
2201 --enable-commandlinkbutton use wxCommmandLinkButton class
2202 --enable-dataviewctrl use wxDataViewCtrl class
2203 --enable-datepick use wxDatePickerCtrl class
2204 --enable-detect_sm use code to detect X11 session manager
2205 --enable-dirpicker use wxDirPickerCtrl class
2206 --enable-display use wxDisplay class
2207 --enable-editablebox use wxEditableListBox class
2208 --enable-filectrl use wxFileCtrl class
2209 --enable-filepicker use wxFilePickerCtrl class
2210 --enable-fontpicker use wxFontPickerCtrl class
2211 --enable-gauge use wxGauge class
2212 --enable-grid use wxGrid class
2213 --enable-headerctrl use wxHeaderCtrl class
2214 --enable-hyperlink use wxHyperlinkCtrl class
2215 --enable-imaglist use wxImageList class
2216 --enable-infobar use wxInfoBar class
2217 --enable-listbook use wxListbook class
2218 --enable-listbox use wxListBox class
2219 --enable-listctrl use wxListCtrl class
2220 --enable-notebook use wxNotebook class
2221 --enable-notifmsg use wxNotificationMessage class
2222 --enable-odcombobox use wxOwnerDrawnComboBox class
2223 --enable-popupwin use wxPopUpWindow class
2224 --enable-radiobox use wxRadioBox class
2225 --enable-radiobtn use wxRadioButton class
2226 --enable-richmsgdlg use wxRichMessageDialog class
2227 --enable-richtooltip use wxRichToolTip class
2228 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
2229 --enable-sash use wxSashWindow class
2230 --enable-scrollbar use wxScrollBar class and scrollable windows
2231 --enable-searchctrl use wxSearchCtrl class
2232 --enable-slider use wxSlider class
2233 --enable-spinbtn use wxSpinButton class
2234 --enable-spinctrl use wxSpinCtrl class
2235 --enable-splitter use wxSplitterWindow class
2236 --enable-statbmp use wxStaticBitmap class
2237 --enable-statbox use wxStaticBox class
2238 --enable-statline use wxStaticLine class
2239 --enable-stattext use wxStaticText class
2240 --enable-statusbar use wxStatusBar class
2241 --enable-taskbaricon use wxTaskBarIcon class
2242 --enable-tbarnative use native wxToolBar class
2243 --enable-textctrl use wxTextCtrl class
2244 --enable-timepick use wxTimePickerCtrl class
2245 --enable-tipwindow use wxTipWindow class
2246 --enable-togglebtn use wxToggleButton class
2247 --enable-toolbar use wxToolBar class
2248 --enable-toolbook use wxToolbook class
2249 --enable-treebook use wxTreebook class
2250 --enable-treectrl use wxTreeCtrl class
2251 --enable-treelist use wxTreeListCtrl class
2252 --enable-commondlg use all common dialogs
2253 --enable-aboutdlg use wxAboutBox
2254 --enable-choicedlg use wxChoiceDialog
2255 --enable-coldlg use wxColourDialog
2256 --enable-filedlg use wxFileDialog
2257 --enable-finddlg use wxFindReplaceDialog
2258 --enable-fontdlg use wxFontDialog
2259 --enable-dirdlg use wxDirDialog
2260 --enable-msgdlg use wxMessageDialog
2261 --enable-numberdlg use wxNumberEntryDialog
2262 --enable-splash use wxSplashScreen
2263 --enable-textdlg use wxTextDialog
2264 --enable-tipdlg use startup tips
2265 --enable-progressdlg use wxProgressDialog
2266 --enable-wizarddlg use wxWizard
2267 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
2268 --enable-miniframe use wxMiniFrame class
2269 --enable-tooltips use wxToolTip class
2270 --enable-splines use spline drawing code
2271 --enable-mousewheel use mousewheel
2272 --enable-validators use wxValidator and derived classes
2273 --enable-busyinfo use wxBusyInfo
2274 --enable-hotkey use wxWindow
::RegisterHotKey
()
2275 --enable-joystick use wxJoystick
2276 --enable-metafiles use wxMetaFile
2277 --enable-dragimage use wxDragImage
2278 --enable-accessibility enable accessibility support
2279 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
2280 --enable-dctransform use wxDC
::SetTransformMatrix and related
2281 --enable-webviewwebkit use wxWebView WebKit backend
2282 --enable-palette use wxPalette class
2283 --enable-image use wxImage class
2284 --enable-gif use gif images
(GIF
file format
)
2285 --enable-pcx use pcx images
(PCX
file format
)
2286 --enable-tga use tga images
(TGA
file format
)
2287 --enable-iff use iff images
(IFF
file format
)
2288 --enable-pnm use pnm images
(PNM
file format
)
2289 --enable-xpm use xpm images
(XPM
file format
)
2290 --enable-ico_cur use Windows ICO and CUR formats
2291 --enable-dccache cache temporary wxDC objects
(Win32 only
)
2292 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
2293 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
2294 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
2295 --enable-wxdib use wxDIB class
(Win32 only
)
2296 --enable-webviewie use wxWebView IE backend
(Win32 only
)
2297 --enable-autoidman use automatic ids management
2298 --disable-largefile omit support
for large files
2299 --disable-gtktest do not try to compile and run a
test GTK
+ program
2300 --disable-gtktest Do not try to compile and run a
test GTK program
2301 --disable-sdltest Do not try to compile and run a
test SDL program
2302 --enable-omf use OMF object format
(OS
/2)
2303 --disable-dependency-tracking
2304 don
't use dependency tracking even if the compiler
2306 --disable-precomp-headers
2307 don't use precompiled headers even
if compiler can
2310 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
2311 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
2312 --without-subdirs don
't generate makefiles for samples/demos/...
2313 --with-flavour=NAME specify a name to identify this build
2314 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
2315 --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
2316 --with-motif use Motif/Lesstif
2317 --with-osx_carbon use Mac OS X (Carbon)
2318 --with-osx_cocoa use Mac OS X (Cocoa)
2319 --with-osx_iphone use iPhone OS X port
2320 --with-osx use Mac OS X (default port, currently Carbon)
2321 --with-carbon same as --with-osx_carbon
2322 --with-cocoa same as --with-osx_cocoa
2323 --with-iphone same as --with-osx_iphone
2324 --with-mac same as --with-osx
2325 --with-old_cocoa use old, deprecated, Cocoa port
2326 --with-wine use Wine
2327 --with-msw use MS-Windows
2328 --with-pm use OS/2 Presentation Manager
2329 --with-directfb use DirectFB
2330 --with-microwin use MicroWindows
2332 --with-libpng use libpng (PNG image format)
2333 --with-libjpeg use libjpeg (JPEG file format)
2334 --with-libtiff use libtiff (TIFF file format)
2335 --with-libxpm use libxpm (XPM file format)
2336 --with-libiconv use libiconv (character conversion)
2337 --with-libmspack use libmspack (CHM help files loading)
2338 --without-gtkprint don't use GTK printing support
2339 --without-gnomeprint don
't use GNOME printing libraries
2340 --with-gnomevfs use GNOME VFS for associating MIME types
2341 --with-libnotify use libnotify for notifications
2342 --with-hildon use Hildon framework for Nokia 770/800/810
2343 --with-opengl use OpenGL (or Mesa)
2344 --with-dmalloc use dmalloc library (http://dmalloc.com/)
2345 --with-sdl use SDL for audio on Unix
2346 --with-regex enable support for wxRegEx class
2347 --with-zlib use zlib for LZW compression
2348 --with-expat enable XML support using expat parser
2349 --with-macosx-sdk=PATH use an OS X SDK at PATH
2350 --with-macosx-version-min=VER build binaries which require at least this OS X version
2351 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2352 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2353 --with-x use the X Window System
2354 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2355 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2356 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2357 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2358 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2360 Some influential environment variables:
2361 CC C compiler command
2362 CFLAGS C compiler flags
2363 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2364 nonstandard directory <lib dir>
2365 LIBS libraries to pass to the linker, e.g. -l<library>
2366 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2367 you have headers in a nonstandard directory <include dir>
2369 CXX C++ compiler command
2370 CXXFLAGS C++ compiler flags
2371 CXXCPP C++ preprocessor
2372 PKG_CONFIG path to pkg-config utility
2374 C compiler flags for DIRECTFB, overriding pkg-config
2376 linker flags for DIRECTFB, overriding pkg-config
2377 XMKMF Path to xmkmf, Makefile generator for X Window System
2379 C compiler flags for PANGOX, overriding pkg-config
2380 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2382 C compiler flags for PANGOFT2, overriding pkg-config
2384 linker flags for PANGOFT2, overriding pkg-config
2386 C compiler flags for PANGOXFT, overriding pkg-config
2388 linker flags for PANGOXFT, overriding pkg-config
2390 C compiler flags for Xinerama, overriding pkg-config
2392 linker flags for Xinerama, overriding pkg-config
2394 C compiler flags for Xxf86vm, overriding pkg-config
2396 linker flags for Xxf86vm, overriding pkg-config
2397 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2398 SM_LIBS linker flags for SM, overriding pkg-config
2399 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2400 GL_LIBS linker flags for GL, overriding pkg-config
2401 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2402 GLU_LIBS linker flags for GLU, overriding pkg-config
2404 C compiler flags for MesaGL, overriding pkg-config
2405 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2407 C compiler flags for GTKPRINT, overriding pkg-config
2409 linker flags for GTKPRINT, overriding pkg-config
2410 LIBGNOMEPRINTUI_CFLAGS
2411 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2412 LIBGNOMEPRINTUI_LIBS
2413 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2415 C compiler flags for GNOMEVFS, overriding pkg-config
2417 linker flags for GNOMEVFS, overriding pkg-config
2419 C compiler flags for LIBNOTIFY, overriding pkg-config
2421 linker flags for LIBNOTIFY, overriding pkg-config
2423 C compiler flags for HILDON, overriding pkg-config
2424 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2426 C compiler flags for HILDON2, overriding pkg-config
2428 linker flags for HILDON2, overriding pkg-config
2430 C compiler flags for WEBKIT, overriding pkg-config
2431 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2433 C compiler flags for CAIRO, overriding pkg-config
2434 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2435 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2436 GST_LIBS linker flags for GST, overriding pkg-config
2438 Use these variables to override the choices made by `configure' or to
help
2439 it to
find libraries and programs with nonstandard names
/locations.
2441 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2446 if test "$ac_init_help" = "recursive"; then
2447 # If there are subdirs, report their specific --help.
2448 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2449 test -d "$ac_dir" ||
2450 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
2455 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2457 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2458 # A ".." for each directory in $ac_dir_suffix.
2459 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2460 case $ac_top_builddir_sub in
2461 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2462 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2465 ac_abs_top_builddir
=$ac_pwd
2466 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2467 # for backward compatibility:
2468 ac_top_builddir
=$ac_top_build_prefix
2471 .
) # We are building in place.
2473 ac_top_srcdir
=$ac_top_builddir_sub
2474 ac_abs_top_srcdir
=$ac_pwd ;;
2475 [\\/]* | ?
:[\\/]* ) # Absolute name.
2476 ac_srcdir
=$srcdir$ac_dir_suffix;
2477 ac_top_srcdir
=$srcdir
2478 ac_abs_top_srcdir
=$srcdir ;;
2480 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2481 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2482 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2484 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2486 cd "$ac_dir" || { ac_status
=$?
; continue; }
2487 # Check for guested configure.
2488 if test -f "$ac_srcdir/configure.gnu"; then
2490 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2491 elif test -f "$ac_srcdir/configure"; then
2493 $SHELL "$ac_srcdir/configure" --help=recursive
2495 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2497 cd "$ac_pwd" || { ac_status
=$?
; break; }
2501 test -n "$ac_init_help" && exit $ac_status
2502 if $ac_init_version; then
2504 wxWidgets configure
2.9.5
2505 generated by GNU Autoconf
2.69
2507 Copyright
(C
) 2012 Free Software Foundation
, Inc.
2508 This configure
script is free software
; the Free Software Foundation
2509 gives unlimited permission to copy
, distribute and modify it.
2514 ## ------------------------ ##
2515 ## Autoconf initialization. ##
2516 ## ------------------------ ##
2518 # ac_fn_c_try_compile LINENO
2519 # --------------------------
2520 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2521 ac_fn_c_try_compile
()
2523 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2524 rm -f conftest.
$ac_objext
2525 if { { ac_try
="$ac_compile"
2527 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2528 *) ac_try_echo=$ac_try;;
2530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2531 $as_echo "$ac_try_echo"; } >&5
2532 (eval "$ac_compile") 2>conftest.err
2534 if test -s conftest.err; then
2535 grep -v '^ *+' conftest.err >conftest.er1
2536 cat conftest.er1 >&5
2537 mv -f conftest.er1 conftest.err
2539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2540 test $ac_status = 0; } && {
2541 test -z "$ac_c_werror_flag" ||
2542 test ! -s conftest.err
2543 } && test -s conftest.$ac_objext; then :
2546 $as_echo "$as_me: failed program was:" >&5
2547 sed 's/^/| /' conftest.$ac_ext >&5
2551 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2552 as_fn_set_status $ac_retval
2554 } # ac_fn_c_try_compile
2556 # ac_fn_c_try_cpp LINENO
2557 # ----------------------
2558 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2561 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2562 if { { ac_try="$ac_cpp conftest.$ac_ext"
2564 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2565 *) ac_try_echo
=$ac_try;;
2567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2571 if test -s conftest.err
; then
2572 grep -v '^ *+' conftest.err
>conftest.er1
2573 cat conftest.er1
>&5
2574 mv -f conftest.er1 conftest.err
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; } > conftest.i
&& {
2578 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2579 test ! -s conftest.err
2583 $as_echo "$as_me: failed program was:" >&5
2584 sed 's/^/| /' conftest.
$ac_ext >&5
2588 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2589 as_fn_set_status
$ac_retval
2593 # ac_fn_cxx_try_compile LINENO
2594 # ----------------------------
2595 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2596 ac_fn_cxx_try_compile
()
2598 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2599 rm -f conftest.
$ac_objext
2600 if { { ac_try
="$ac_compile"
2602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2603 *) ac_try_echo=$ac_try;;
2605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2606 $as_echo "$ac_try_echo"; } >&5
2607 (eval "$ac_compile") 2>conftest.err
2609 if test -s conftest.err; then
2610 grep -v '^ *+' conftest.err >conftest.er1
2611 cat conftest.er1 >&5
2612 mv -f conftest.er1 conftest.err
2614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2615 test $ac_status = 0; } && {
2616 test -z "$ac_cxx_werror_flag" ||
2617 test ! -s conftest.err
2618 } && test -s conftest.$ac_objext; then :
2621 $as_echo "$as_me: failed program was:" >&5
2622 sed 's/^/| /' conftest.$ac_ext >&5
2626 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2627 as_fn_set_status $ac_retval
2629 } # ac_fn_cxx_try_compile
2631 # ac_fn_c_try_link LINENO
2632 # -----------------------
2633 # Try to link conftest.$ac_ext, and return whether this succeeded.
2636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2637 rm -f conftest.$ac_objext conftest$ac_exeext
2638 if { { ac_try="$ac_link"
2640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2641 *) ac_try_echo
=$ac_try;;
2643 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2644 $as_echo "$ac_try_echo"; } >&5
2645 (eval "$ac_link") 2>conftest.err
2647 if test -s conftest.err
; then
2648 grep -v '^ *+' conftest.err
>conftest.er1
2649 cat conftest.er1
>&5
2650 mv -f conftest.er1 conftest.err
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; } && {
2654 test -z "$ac_c_werror_flag" ||
2655 test ! -s conftest.err
2656 } && test -s conftest
$ac_exeext && {
2657 test "$cross_compiling" = yes ||
2658 test -x conftest
$ac_exeext
2662 $as_echo "$as_me: failed program was:" >&5
2663 sed 's/^/| /' conftest.
$ac_ext >&5
2667 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2668 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2669 # interfere with the next link command; also delete a directory that is
2670 # left behind by Apple's compiler. We do this before executing the actions.
2671 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2673 as_fn_set_status
$ac_retval
2675 } # ac_fn_c_try_link
2677 # ac_fn_cxx_try_link LINENO
2678 # -------------------------
2679 # Try to link conftest.$ac_ext, and return whether this succeeded.
2680 ac_fn_cxx_try_link
()
2682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2683 rm -f conftest.
$ac_objext conftest
$ac_exeext
2684 if { { ac_try
="$ac_link"
2686 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 $as_echo "$ac_try_echo"; } >&5
2691 (eval "$ac_link") 2>conftest.err
2693 if test -s conftest.err; then
2694 grep -v '^ *+' conftest.err >conftest.er1
2695 cat conftest.er1 >&5
2696 mv -f conftest.er1 conftest.err
2698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; } && {
2700 test -z "$ac_cxx_werror_flag" ||
2701 test ! -s conftest.err
2702 } && test -s conftest$ac_exeext && {
2703 test "$cross_compiling" = yes ||
2704 test -x conftest$ac_exeext
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2713 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2714 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2715 # interfere with the next link command; also delete a directory that is
2716 # left behind by Apple's compiler. We do this before executing the actions.
2717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2719 as_fn_set_status $ac_retval
2721 } # ac_fn_cxx_try_link
2723 # ac_fn_c_try_run LINENO
2724 # ----------------------
2725 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2726 # that executables *can* be run.
2729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2730 if { { ac_try="$ac_link"
2732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
2733 *) ac_try_echo
=$ac_try;;
2735 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2736 $as_echo "$ac_try_echo"; } >&5
2737 (eval "$ac_link") 2>&5
2739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2740 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2741 { { case "(($ac_try" in
2742 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
2743 *) ac_try_echo=$ac_try;;
2745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2746 $as_echo "$ac_try_echo"; } >&5
2747 (eval "$ac_try") 2>&5
2749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2750 test $ac_status = 0; }; }; then :
2753 $as_echo "$as_me: program exited with status $ac_status" >&5
2754 $as_echo "$as_me: failed program was:" >&5
2755 sed 's/^/| /' conftest.$ac_ext >&5
2757 ac_retval=$ac_status
2759 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2766 # -------------------------------------------------------
2767 # Tests whether HEADER exists and can be compiled using the include files in
2768 # INCLUDES, setting the cache variable VAR accordingly.
2769 ac_fn_c_check_header_compile ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval \${$3+:} false; then :
2775 $as_echo_n "(cached) " >&6
2777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2778 /* end confdefs.h. */
2782 if ac_fn_c_try_compile "$LINENO"; then :
2787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2791 $as_echo "$ac_res" >&6; }
2792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 } # ac_fn_c_check_header_compile
2796 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2797 # ---------------------------------------------------------
2798 # Tests whether HEADER exists and can be compiled using the include files in
2799 # INCLUDES, setting the cache variable VAR accordingly.
2800 ac_fn_cxx_check_header_compile ()
2802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2804 $as_echo_n "checking for $2... " >&6; }
2805 if eval \${$3+:} false; then :
2806 $as_echo_n "(cached) " >&6
2808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2809 /* end confdefs.h. */
2813 if ac_fn_cxx_try_compile "$LINENO"; then :
2818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2822 $as_echo "$ac_res" >&6; }
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 } # ac_fn_cxx_check_header_compile
2827 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2828 # --------------------------------------------
2829 # Tries to find the compile-time value of EXPR in a program that includes
2830 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2832 ac_fn_c_compute_int ()
2834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2835 if test "$cross_compiling" = yes; then
2836 # Depending upon the size, compute the lo and hi bounds.
2837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2838 /* end confdefs.h. */
2843 static int test_array [1 - 2 * !(($2) >= 0)];
2845 return test_array [0];
2851 if ac_fn_c_try_compile "$LINENO"; then :
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2860 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2862 return test_array [0];
2868 if ac_fn_c_try_compile "$LINENO"; then :
2869 ac_hi=$ac_mid; break
2871 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2872 if test $ac_lo -le $ac_mid; then
2876 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2882 /* end confdefs.h. */
2887 static int test_array [1 - 2 * !(($2) < 0)];
2889 return test_array [0];
2895 if ac_fn_c_try_compile "$LINENO"; then :
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2904 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2906 return test_array [0];
2912 if ac_fn_c_try_compile "$LINENO"; then :
2913 ac_lo=$ac_mid; break
2915 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2916 if test $ac_mid -le $ac_hi; then
2920 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 # Binary search between lo and hi bounds.
2931 while test "x$ac_lo" != "x$ac_hi"; do
2932 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2939 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2941 return test_array [0];
2947 if ac_fn_c_try_compile "$LINENO"; then :
2950 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2962 static long int longval () { return $2; }
2963 static unsigned long int ulongval () { return $2; }
2970 FILE *f = fopen ("conftest.val", "w");
2975 long int i = longval ();
2978 fprintf (f, "%ld", i);
2982 unsigned long int i = ulongval ();
2985 fprintf (f, "%lu", i);
2987 /* Do not output a trailing newline, as this causes \r\n confusion
2988 on some platforms. */
2989 return ferror (f) || fclose (f) != 0;
2995 if ac_fn_c_try_run "$LINENO"; then :
2996 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3001 conftest.$ac_objext conftest.beam conftest.$ac_ext
3005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3006 as_fn_set_status $ac_retval
3008 } # ac_fn_c_compute_int
3010 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
3011 # ---------------------------------------------
3012 # Tests whether TYPE exists after having included INCLUDES, setting cache
3013 # variable VAR accordingly.
3014 ac_fn_cxx_check_type ()
3016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3018 $as_echo_n "checking for $2... " >&6; }
3019 if eval \${$3+:} false; then :
3020 $as_echo_n "(cached) " >&6
3023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024 /* end confdefs.h. */
3035 if ac_fn_cxx_try_compile "$LINENO"; then :
3036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3037 /* end confdefs.h. */
3048 if ac_fn_cxx_try_compile "$LINENO"; then :
3053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3059 $as_echo "$ac_res" >&6; }
3060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3062 } # ac_fn_cxx_check_type
3064 # ac_fn_cxx_try_cpp LINENO
3065 # ------------------------
3066 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3067 ac_fn_cxx_try_cpp ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 if { { ac_try="$ac_cpp conftest.$ac_ext"
3072 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3073 *) ac_try_echo
=$ac_try;;
3075 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3079 if test -s conftest.err
; then
3080 grep -v '^ *+' conftest.err
>conftest.er1
3081 cat conftest.er1
>&5
3082 mv -f conftest.er1 conftest.err
3084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3085 test $ac_status = 0; } > conftest.i
&& {
3086 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3087 test ! -s conftest.err
3091 $as_echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3097 as_fn_set_status
$ac_retval
3099 } # ac_fn_cxx_try_cpp
3101 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3102 # ---------------------------------------------------------
3103 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3104 # the include files in INCLUDES and setting the cache variable VAR
3106 ac_fn_cxx_check_header_mongrel
()
3108 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3109 if eval \
${$3+:} false
; then :
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3111 $as_echo_n "checking for $2... " >&6; }
3112 if eval \
${$3+:} false
; then :
3113 $as_echo_n "(cached) " >&6
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3117 $as_echo "$ac_res" >&6; }
3119 # Is the header compilable?
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3121 $as_echo_n "checking $2 usability... " >&6; }
3122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3123 /* end confdefs.h. */
3127 if ac_fn_cxx_try_compile
"$LINENO"; then :
3128 ac_header_compiler
=yes
3130 ac_header_compiler
=no
3132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3134 $as_echo "$ac_header_compiler" >&6; }
3136 # Is the header present?
3137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3138 $as_echo_n "checking $2 presence... " >&6; }
3139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3143 if ac_fn_cxx_try_cpp
"$LINENO"; then :
3144 ac_header_preproc
=yes
3146 ac_header_preproc
=no
3148 rm -f conftest.err conftest.i conftest.
$ac_ext
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3150 $as_echo "$ac_header_preproc" >&6; }
3152 # So? What about this header?
3153 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3156 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3158 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3162 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3164 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3166 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3168 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3170 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3171 ( $as_echo "## ----------------------------------------- ##
3172 ## Report this to wx-dev@lists.wxwidgets.org ##
3173 ## ----------------------------------------- ##"
3174 ) | sed "s/^/$as_me: WARNING: /" >&2
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3178 $as_echo_n "checking for $2... " >&6; }
3179 if eval \
${$3+:} false
; then :
3180 $as_echo_n "(cached) " >&6
3182 eval "$3=\$ac_header_compiler"
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3186 $as_echo "$ac_res" >&6; }
3188 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3190 } # ac_fn_cxx_check_header_mongrel
3192 # ac_fn_c_check_func LINENO FUNC VAR
3193 # ----------------------------------
3194 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3195 ac_fn_c_check_func
()
3197 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3199 $as_echo_n "checking for $2... " >&6; }
3200 if eval \
${$3+:} false
; then :
3201 $as_echo_n "(cached) " >&6
3203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3205 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3207 #define $2 innocuous_$2
3209 /* System header to define __stub macros and hopefully few prototypes,
3210 which can conflict with char $2 (); below.
3211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3212 <limits.h> exists even on freestanding compilers. */
3215 # include <limits.h>
3217 # include <assert.h>
3222 /* Override any GCC internal prototype to avoid an error.
3223 Use char because int might match the return type of a GCC
3224 builtin and then its argument prototype would still apply. */
3229 /* The GNU C library defines this for functions which it implements
3230 to always fail with ENOSYS. Some functions are actually named
3231 something starting with __ and the normal name is an alias. */
3232 #if defined __stub_$2 || defined __stub___$2
3244 if ac_fn_c_try_link
"$LINENO"; then :
3249 rm -f core conftest.err conftest.
$ac_objext \
3250 conftest
$ac_exeext conftest.
$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3254 $as_echo "$ac_res" >&6; }
3255 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3257 } # ac_fn_c_check_func
3259 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3260 # -------------------------------------------
3261 # Tests whether TYPE exists after having included INCLUDES, setting cache
3262 # variable VAR accordingly.
3263 ac_fn_c_check_type
()
3265 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3267 $as_echo_n "checking for $2... " >&6; }
3268 if eval \
${$3+:} false
; then :
3269 $as_echo_n "(cached) " >&6
3272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3284 if ac_fn_c_try_compile
"$LINENO"; then :
3285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3286 /* end confdefs.h. */
3297 if ac_fn_c_try_compile
"$LINENO"; then :
3302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3308 $as_echo "$ac_res" >&6; }
3309 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3311 } # ac_fn_c_check_type
3313 # ac_fn_cxx_try_run LINENO
3314 # ------------------------
3315 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3316 # that executables *can* be run.
3317 ac_fn_cxx_try_run
()
3319 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3320 if { { ac_try
="$ac_link"
3322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
3323 *) ac_try_echo=$ac_try;;
3325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326 $as_echo "$ac_try_echo"; } >&5
3327 (eval "$ac_link") 2>&5
3329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3331 { { case "(($ac_try" in
3332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
3333 *) ac_try_echo
=$ac_try;;
3335 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_try") 2>&5
3339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3340 test $ac_status = 0; }; }; then :
3343 $as_echo "$as_me: program exited with status $ac_status" >&5
3344 $as_echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.
$ac_ext >&5
3347 ac_retval
=$ac_status
3349 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3350 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3351 as_fn_set_status
$ac_retval
3353 } # ac_fn_cxx_try_run
3354 cat >config.log
<<_ACEOF
3355 This file contains any messages produced by compilers while
3356 running configure, to aid debugging if configure makes a mistake.
3358 It was created by wxWidgets $as_me 2.9.5, which was
3359 generated by GNU Autoconf 2.69. Invocation command line was
3371 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3372 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3373 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3374 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3375 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3377 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3378 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3380 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3381 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3382 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3383 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3384 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3385 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3386 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3394 test -z "$as_dir" && as_dir
=.
3395 $as_echo "PATH: $as_dir"
3411 # Keep a trace of the command line.
3412 # Strip out --no-create and --no-recursion so they do not pile up.
3413 # Strip out --silent because we don't want to record it for future runs.
3414 # Also quote any args containing shell meta-characters.
3415 # Make two passes to allow for proper duplicate-argument suppression.
3419 ac_must_keep_next
=false
3425 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3427 | -silent | --silent | --silen | --sile | --sil)
3430 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3433 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
3435 as_fn_append ac_configure_args1
" '$ac_arg'"
3436 if test $ac_must_keep_next = true
; then
3437 ac_must_keep_next
=false
# Got value, back to normal.
3440 *=* | --config-cache | -C | -disable-* | --disable-* \
3441 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3442 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3443 | -with-* | --with-* | -without-* | --without-* | --x)
3444 case "$ac_configure_args0 " in
3445 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3448 -* ) ac_must_keep_next
=true
;;
3451 as_fn_append ac_configure_args
" '$ac_arg'"
3456 { ac_configure_args0
=; unset ac_configure_args0
;}
3457 { ac_configure_args1
=; unset ac_configure_args1
;}
3459 # When interrupted or exit'd, cleanup temporary files, and complete
3460 # config.log. We remove comments because anyway the quotes in there
3461 # would cause problems or look ugly.
3462 # WARNING: Use '\'' to represent an apostrophe within the trap.
3463 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3464 trap 'exit_status=$?
3465 # Save into config.log some information that might help in debugging.
3469 $as_echo "## ---------------- ##
3470 ## Cache variables. ##
3471 ## ---------------- ##"
3473 # The following way of writing the cache mishandles newlines in values,
3475 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3476 eval ac_val=\$$ac_var
3480 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3481 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3484 _ | IFS | as_nl) ;; #(
3485 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3486 *) { eval $ac_var=; unset $ac_var;} ;;
3491 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3492 *${as_nl}ac_space=\ *)
3494 "s/'\''/'\''\\\\'\'''\''/g;
3495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3505 $as_echo "## ----------------- ##
3506 ## Output variables. ##
3507 ## ----------------- ##"
3509 for ac_var in $ac_subst_vars
3511 eval ac_val=\$$ac_var
3513 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3515 $as_echo "$ac_var='\''$ac_val'\''"
3519 if test -n "$ac_subst_files"; then
3520 $as_echo "## ------------------- ##
3521 ## File substitutions. ##
3522 ## ------------------- ##"
3524 for ac_var
in $ac_subst_files
3526 eval ac_val
=\$
$ac_var
3528 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3530 $as_echo "$ac_var='\''$ac_val'\''"
3535 if test -s confdefs.h; then
3536 $as_echo "## ----------- ##
3543 test "$ac_signal" != 0 &&
3544 $as_echo "$as_me: caught signal $ac_signal"
3545 $as_echo "$as_me: exit $exit_status"
3547 rm -f core *.core core.conftest.* &&
3548 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3551 for ac_signal
in 1 2 13 15; do
3552 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3556 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3557 rm -f -r conftest
* confdefs.h
3559 $as_echo "/* confdefs.h */" > confdefs.h
3561 # Predefined preprocessor variables.
3563 cat >>confdefs.h
<<_ACEOF
3564 #define PACKAGE_NAME "$PACKAGE_NAME"
3567 cat >>confdefs.h
<<_ACEOF
3568 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3571 cat >>confdefs.h
<<_ACEOF
3572 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3575 cat >>confdefs.h
<<_ACEOF
3576 #define PACKAGE_STRING "$PACKAGE_STRING"
3579 cat >>confdefs.h
<<_ACEOF
3580 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3583 cat >>confdefs.h
<<_ACEOF
3584 #define PACKAGE_URL "$PACKAGE_URL"
3588 # Let the site file select an alternate cache file if it wants to.
3589 # Prefer an explicitly selected file to automatically selected ones.
3592 if test -n "$CONFIG_SITE"; then
3593 # We do not want a PATH search for config.site.
3594 case $CONFIG_SITE in #((
3595 -*) ac_site_file1
=.
/$CONFIG_SITE;;
3596 */*) ac_site_file1
=$CONFIG_SITE;;
3597 *) ac_site_file1
=.
/$CONFIG_SITE;;
3599 elif test "x$prefix" != xNONE
; then
3600 ac_site_file1
=$prefix/share
/config.site
3601 ac_site_file2
=$prefix/etc
/config.site
3603 ac_site_file1
=$ac_default_prefix/share
/config.site
3604 ac_site_file2
=$ac_default_prefix/etc
/config.site
3606 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
3608 test "x$ac_site_file" = xNONE
&& continue
3609 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3611 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3612 sed 's/^/| /' "$ac_site_file" >&5
3614 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616 as_fn_error $?
"failed to load site script $ac_site_file
3617 See \`config.log' for more details" "$LINENO" 5; }
3621 if test -r "$cache_file"; then
3622 # Some versions of bash will fail to source /dev/null (special files
3623 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3624 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3626 $as_echo "$as_me: loading cache $cache_file" >&6;}
3628 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3629 *) .
"./$cache_file";;
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3634 $as_echo "$as_me: creating cache $cache_file" >&6;}
3638 # Check that the precious variables saved in the cache have kept the same
3640 ac_cache_corrupted
=false
3641 for ac_var
in $ac_precious_vars; do
3642 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3643 eval ac_new_set
=\
$ac_env_${ac_var}_set
3644 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3645 eval ac_new_val
=\
$ac_env_${ac_var}_value
3646 case $ac_old_set,$ac_new_set in
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3649 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3650 ac_cache_corrupted
=: ;;
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3653 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3654 ac_cache_corrupted
=: ;;
3657 if test "x$ac_old_val" != "x$ac_new_val"; then
3658 # differences in whitespace do not lead to failure.
3659 ac_old_val_w
=`echo x $ac_old_val`
3660 ac_new_val_w
=`echo x $ac_new_val`
3661 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3663 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3664 ac_cache_corrupted
=:
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3667 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3668 eval $ac_var=\
$ac_old_val
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3671 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3673 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3676 # Pass precious variables to config.status.
3677 if test "$ac_new_set" = set; then
3679 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3680 *) ac_arg
=$ac_var=$ac_new_val ;;
3682 case " $ac_configure_args " in
3683 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3684 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3688 if $ac_cache_corrupted; then
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3692 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3693 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3695 ## -------------------- ##
3696 ## Main body of script. ##
3697 ## -------------------- ##
3700 ac_cpp
='$CPP $CPPFLAGS'
3701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3710 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3711 if test -f "$ac_dir/install-sh"; then
3713 ac_install_sh
="$ac_aux_dir/install-sh -c"
3715 elif test -f "$ac_dir/install.sh"; then
3717 ac_install_sh
="$ac_aux_dir/install.sh -c"
3719 elif test -f "$ac_dir/shtool"; then
3721 ac_install_sh
="$ac_aux_dir/shtool install -c"
3725 if test -z "$ac_aux_dir"; then
3726 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3729 # These three variables are undocumented and unsupported,
3730 # and are intended to be withdrawn in a future Autoconf release.
3731 # They can cause serious problems if a builder's source tree is in a directory
3732 # whose full name contains unusual characters.
3733 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3734 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3735 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3738 # Make sure we can run config.sub.
3739 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3740 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3743 $as_echo_n "checking build system type... " >&6; }
3744 if ${ac_cv_build+:} false
; then :
3745 $as_echo_n "(cached) " >&6
3747 ac_build_alias
=$build_alias
3748 test "x$ac_build_alias" = x
&&
3749 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3750 test "x$ac_build_alias" = x
&&
3751 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3752 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3753 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3757 $as_echo "$ac_cv_build" >&6; }
3758 case $ac_cv_build in
3760 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3763 ac_save_IFS
=$IFS; IFS
='-'
3769 # Remember, the first character of IFS is used to create $*,
3770 # except with old shells:
3773 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3777 $as_echo_n "checking host system type... " >&6; }
3778 if ${ac_cv_host+:} false
; then :
3779 $as_echo_n "(cached) " >&6
3781 if test "x$host_alias" = x
; then
3782 ac_cv_host
=$ac_cv_build
3784 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3785 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3790 $as_echo "$ac_cv_host" >&6; }
3793 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3796 ac_save_IFS
=$IFS; IFS
='-'
3802 # Remember, the first character of IFS is used to create $*,
3803 # except with old shells:
3806 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3810 if test "$cross_compiling" != "no"; then
3811 HOST_PREFIX
="${host_alias}-"
3812 HOST_SUFFIX
="-$host_alias"
3819 wx_major_version_number
=2
3820 wx_minor_version_number
=9
3822 wx_subrelease_number
=0
3824 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
3825 WX_VERSION
=$WX_RELEASE.
$wx_release_number
3826 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
3828 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
3831 wx_top_builddir
="`pwd`"
3844 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
3850 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
3856 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
3858 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
3860 DEFAULT_wxUSE_OLD_COCOA
=0
3862 DEFAULT_wxUSE_OSX_CARBON
=0
3863 DEFAULT_wxUSE_OSX_COCOA
=0
3864 DEFAULT_wxUSE_OSX_IPHONE
=0
3865 DEFAULT_wxUSE_MICROWIN
=0
3866 DEFAULT_wxUSE_MOTIF
=0
3872 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
3873 DEFAULT_DEFAULT_wxUSE_GTK
=0
3874 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
3875 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
3876 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
3877 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
3878 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3879 DEFAULT_DEFAULT_wxUSE_MSW
=0
3880 DEFAULT_DEFAULT_wxUSE_PM
=0
3881 DEFAULT_DEFAULT_wxUSE_X11
=0
3882 DEFAULT_DEFAULT_wxUSE_DFB
=0
3886 DYLIB_RPATH_INSTALL
=
3887 DYLIB_RPATH_POSTLINK
=
3889 DEFAULT_STD_FLAG
=yes
3894 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3895 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3896 $as_echo "#define __HPUX__ 1" >>confdefs.h
3899 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
3903 $as_echo "#define __LINUX__ 1" >>confdefs.h
3906 if test "x$TMP" = "xalpha"; then
3908 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3911 DEFAULT_DEFAULT_wxUSE_GTK
=1
3913 *-*-gnu* | *-*-k*bsd
*-gnu )
3916 if test "x$TMP" = "xalpha"; then
3918 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3921 DEFAULT_DEFAULT_wxUSE_GTK
=1
3923 *-*-irix5* | *-*-irix6* )
3926 $as_echo "#define __SGI__ 1" >>confdefs.h
3928 $as_echo "#define __SVR4__ 1" >>confdefs.h
3930 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3934 $as_echo "#define __QNX__ 1" >>confdefs.h
3936 DEFAULT_DEFAULT_wxUSE_X11
=1
3942 $as_echo "#define __SUN__ 1" >>confdefs.h
3944 $as_echo "#define __SOLARIS__ 1" >>confdefs.h
3946 $as_echo "#define __SVR4__ 1" >>confdefs.h
3948 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3949 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3955 $as_echo "#define __SUN__ 1" >>confdefs.h
3957 $as_echo "#define __SUNOS__ 1" >>confdefs.h
3959 $as_echo "#define __BSD__ 1" >>confdefs.h
3961 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
3966 $as_echo "#define __FREEBSD__ 1" >>confdefs.h
3968 $as_echo "#define __BSD__ 1" >>confdefs.h
3970 DEFAULT_DEFAULT_wxUSE_GTK
=1
3972 *-*-openbsd*|*-*-mirbsd*)
3975 $as_echo "#define __OPENBSD__ 1" >>confdefs.h
3977 $as_echo "#define __BSD__ 1" >>confdefs.h
3979 DEFAULT_DEFAULT_wxUSE_GTK
=1
3984 $as_echo "#define __NETBSD__ 1" >>confdefs.h
3986 $as_echo "#define __BSD__ 1" >>confdefs.h
3988 DEFAULT_DEFAULT_wxUSE_GTK
=1
3989 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
3991 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
3996 $as_echo "#define __ALPHA__ 1" >>confdefs.h
3998 $as_echo "#define __OSF__ 1" >>confdefs.h
4000 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4001 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
4006 $as_echo "#define __ALPHA__ 1" >>confdefs.h
4008 $as_echo "#define __SVR4__ 1" >>confdefs.h
4010 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4015 $as_echo "#define __SYSV__ 1" >>confdefs.h
4017 $as_echo "#define __SVR4__ 1" >>confdefs.h
4019 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4025 $as_echo "#define __AIX__ 1" >>confdefs.h
4027 $as_echo "#define __SYSV__ 1" >>confdefs.h
4029 $as_echo "#define __SVR4__ 1" >>confdefs.h
4031 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
4038 $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
4042 *-*-cygwin* | *-*-mingw32* )
4044 DEFAULT_DEFAULT_wxUSE_MSW
=1
4050 $as_echo "#define __DOS__ 1" >>confdefs.h
4055 *-pc-os2_emx | *-pc-os2-emx )
4056 $as_echo "#define __EMX__ 1" >>confdefs.h
4059 $as_echo "#define __OS2__ 1" >>confdefs.h
4062 DEFAULT_DEFAULT_wxUSE_PM
=1
4064 LDFLAGS
="$LDFLAGS -Zcrtdll"
4065 ac_executable_extensions
=".exe"
4066 export ac_executable_extensions
4070 for ac_dir
in $PATH; do
4072 if test -z "$ac_TEMP_PATH"; then
4073 ac_TEMP_PATH
="$ac_dir"
4075 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
4078 export PATH
="$ac_TEMP_PATH"
4086 $as_echo "#define __BSD__ 1" >>confdefs.h
4088 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4090 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
4096 $as_echo "#define __BSD__ 1" >>confdefs.h
4098 $as_echo "#define __DARWIN__ 1" >>confdefs.h
4100 $as_echo "#define TARGET_CARBON 1" >>confdefs.h
4102 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
4107 $as_echo "#define __BEOS__ 1" >>confdefs.h
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
4113 $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
4115 $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
4117 DEFAULT_DEFAULT_wxUSE_X11
=1
4118 DEFAULT_wxUSE_SHARED
=no
4123 DEFAULT_wxUSE_ALL_FEATURES
=yes
4125 DEFAULT_wxUSE_STD_CONTAINERS
=no
4126 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
4127 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
4129 DEFAULT_wxUSE_DMALLOC
=no
4130 DEFAULT_wxUSE_LIBGNOMEVFS
=no
4131 DEFAULT_wxUSE_LIBHILDON
=no
4132 DEFAULT_wxUSE_LIBHILDON2
=no
4133 DEFAULT_wxUSE_LIBMSPACK
=no
4134 DEFAULT_wxUSE_LIBSDL
=no
4136 DEFAULT_wxUSE_ACCESSIBILITY
=no
4137 DEFAULT_wxUSE_IPV6
=no
4138 DEFAULT_wxUSE_GSTREAMER8
=no
4139 DEFAULT_wxUSE_UNICODE_UTF8
=no
4140 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
4142 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
4143 DEFAULT_wxUSE_OPENGL
=auto
4144 DEFAULT_wxUSE_MEDIACTRL
=auto
4145 DEFAULT_wxUSE_COMPILER_TLS
=auto
4146 DEFAULT_wxUSE_HOTKEY
=auto
4147 DEFAULT_wxUSE_METAFILE
=auto
4149 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
4150 DEFAULT_wxUSE_MAC_ARCH
=no
4152 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
4154 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
4160 enablestring
=disable
4162 if test -z "$defaultval"; then
4163 if test x
"$enablestring" = xdisable
; then
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
4171 $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
4172 # Check whether --enable-gui was given.
4173 if test "${enable_gui+set}" = set; then :
4174 enableval
=$enable_gui;
4175 if test "$enableval" = yes; then
4176 wx_cv_use_gui
='wxUSE_GUI=yes'
4178 wx_cv_use_gui
='wxUSE_GUI=no'
4183 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
4188 eval "$wx_cv_use_gui"
4190 if test x"$enablestring" = xdisable; then
4191 if test $wxUSE_GUI = no; then
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4201 $as_echo "$result" >&6; }
4206 if test -z "$defaultval"; then
4207 if test x"$enablestring" = xdisable; then
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
4215 $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
4216 # Check whether --enable-monolithic was given.
4217 if test "${enable_monolithic+set}" = set; then :
4218 enableval=$enable_monolithic;
4219 if test "$enableval" = yes; then
4220 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
4222 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
4227 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
4232 eval "$wx_cv_use_monolithic"
4234 if test x"$enablestring" = xdisable; then
4235 if test $wxUSE_MONOLITHIC = no; then
4241 result=$wxUSE_MONOLITHIC
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4245 $as_echo "$result" >&6; }
4250 if test -z "$defaultval"; then
4251 if test x"$enablestring" = xdisable; then
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-plugins" >&5
4259 $as_echo_n "checking
for --${enablestring:-enable}-plugins...
" >&6; }
4260 # Check whether --enable-plugins was given.
4261 if test "${enable_plugins+set}" = set; then :
4262 enableval=$enable_plugins;
4263 if test "$enableval" = yes; then
4264 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
4266 wx_cv_use_plugins='wxUSE_PLUGINS=no'
4271 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
4276 eval "$wx_cv_use_plugins"
4278 if test x
"$enablestring" = xdisable
; then
4279 if test $wxUSE_PLUGINS = no
; then
4285 result
=$wxUSE_PLUGINS
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4289 $as_echo "$result" >&6; }
4293 defaultval
=$wxUSE_ALL_FEATURES
4294 if test -z "$defaultval"; then
4295 if test x
"$withstring" = xwithout
; then
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
4302 $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
4304 # Check whether --with-subdirs was given.
4305 if test "${with_subdirs+set}" = set; then :
4306 withval
=$with_subdirs;
4307 if test "$withval" = yes; then
4308 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
4310 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
4315 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
4320 eval "$wx_cv_use_subdirs"
4322 if test x"$withstring" = xwithout; then
4323 if test $wxWITH_SUBDIRS = yes; then
4329 result=$wxWITH_SUBDIRS
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4333 $as_echo "$result" >&6; }
4336 # Check whether --with-flavour was given.
4337 if test "${with_flavour+set}" = set; then :
4338 withval=$with_flavour; WX_FLAVOUR="$withval"
4344 if test -z "$defaultval"; then
4345 if test x"$enablestring" = xdisable; then
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
4353 $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
4354 # Check whether --enable-official_build was given.
4355 if test "${enable_official_build+set}" = set; then :
4356 enableval=$enable_official_build;
4357 if test "$enableval" = yes; then
4358 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
4360 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
4365 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
4370 eval "$wx_cv_use_official_build"
4372 if test x"$enablestring" = xdisable; then
4373 if test $wxUSE_OFFICIAL_BUILD = no; then
4379 result=$wxUSE_OFFICIAL_BUILD
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4383 $as_echo "$result" >&6; }
4385 # Check whether --enable-vendor was given.
4386 if test "${enable_vendor+set}" = set; then :
4387 enableval=$enable_vendor; VENDOR="$enableval"
4390 if test "x
$VENDOR" = "x
"; then
4395 enablestring=disable
4397 if test -z "$defaultval"; then
4398 if test x"$enablestring" = xdisable; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-all-features" >&5
4406 $as_echo_n "checking
for --${enablestring:-enable}-all-features...
" >&6; }
4407 # Check whether --enable-all-features was given.
4408 if test "${enable_all_features+set}" = set; then :
4409 enableval=$enable_all_features;
4410 if test "$enableval" = yes; then
4411 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
4413 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
4418 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
4423 eval "$wx_cv_use_all_features"
4425 if test x
"$enablestring" = xdisable
; then
4426 if test $wxUSE_ALL_FEATURES = no
; then
4432 result
=$wxUSE_ALL_FEATURES
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4436 $as_echo "$result" >&6; }
4439 if test "$wxUSE_ALL_FEATURES" = "no"; then
4440 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
4441 DEFAULT_wxUSE_MEDIACTRL
=no
4445 if test "$wxUSE_GUI" = "yes"; then
4450 if test -z "$defaultval"; then
4451 if test x
"$enablestring" = xdisable
; then
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
4459 $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
4460 # Check whether --enable-universal was given.
4461 if test "${enable_universal+set}" = set; then :
4462 enableval
=$enable_universal;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
4466 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
4471 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
4476 eval "$wx_cv_use_universal"
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_UNIVERSAL = no; then
4485 result=$wxUSE_UNIVERSAL
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4489 $as_echo "$result" >&6; }
4491 if test "$wxUSE_UNIVERSAL" = "yes"; then
4493 # Check whether --with-themes was given.
4494 if test "${with_themes+set}" = set; then :
4495 withval=$with_themes; wxUNIV_THEMES="$withval"
4501 # Check whether --with-gtk was given.
4502 if test "${with_gtk+set}" = set; then :
4503 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
4507 # Check whether --with-motif was given.
4508 if test "${with_motif+set}" = set; then :
4509 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
4513 # Check whether --with-osx_carbon was given.
4514 if test "${with_osx_carbon+set}" = set; then :
4515 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4519 # Check whether --with-osx_cocoa was given.
4520 if test "${with_osx_cocoa+set}" = set; then :
4521 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4525 # Check whether --with-osx_iphone was given.
4526 if test "${with_osx_iphone+set}" = set; then :
4527 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4531 # Check whether --with-osx was given.
4532 if test "${with_osx+set}" = set; then :
4533 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4537 # Check whether --with-carbon was given.
4538 if test "${with_carbon+set}" = set; then :
4539 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4543 # Check whether --with-cocoa was given.
4544 if test "${with_cocoa+set}" = set; then :
4545 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
4549 # Check whether --with-iphone was given.
4550 if test "${with_iphone+set}" = set; then :
4551 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
4555 # Check whether --with-mac was given.
4556 if test "${with_mac+set}" = set; then :
4557 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
4561 # Check whether --with-old_cocoa was given.
4562 if test "${with_old_cocoa+set}" = set; then :
4563 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
4567 # Check whether --with-wine was given.
4568 if test "${with_wine+set}" = set; then :
4569 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
4573 # Check whether --with-msw was given.
4574 if test "${with_msw+set}" = set; then :
4575 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
4579 # Check whether --with-pm was given.
4580 if test "${with_pm+set}" = set; then :
4581 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
4585 # Check whether --with-directfb was given.
4586 if test "${with_directfb+set}" = set; then :
4587 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
4591 # Check whether --with-microwin was given.
4592 if test "${with_microwin+set}" = set; then :
4593 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
4597 # Check whether --with-x11 was given.
4598 if test "${with_x11+set}" = set; then :
4599 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
4605 if test -z "$defaultval"; then
4606 if test x"$enablestring" = xdisable; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
4614 $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
4615 # Check whether --enable-nanox was given.
4616 if test "${enable_nanox+set}" = set; then :
4617 enableval=$enable_nanox;
4618 if test "$enableval" = yes; then
4619 wx_cv_use_nanox='wxUSE_NANOX
=yes'
4621 wx_cv_use_nanox='wxUSE_NANOX
=no
'
4626 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
4631 eval "$wx_cv_use_nanox"
4633 if test x"$enablestring" = xdisable; then
4634 if test $wxUSE_NANOX = no; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4644 $as_echo "$result" >&6; }
4649 if test -z "$defaultval"; then
4650 if test x"$enablestring" = xdisable; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gpe" >&5
4658 $as_echo_n "checking
for --${enablestring:-enable}-gpe...
" >&6; }
4659 # Check whether --enable-gpe was given.
4660 if test "${enable_gpe+set}" = set; then :
4661 enableval=$enable_gpe;
4662 if test "$enableval" = yes; then
4663 wx_cv_use_gpe='wxUSE_GPE=yes'
4665 wx_cv_use_gpe='wxUSE_GPE=no'
4670 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
4675 eval "$wx_cv_use_gpe"
4677 if test x
"$enablestring" = xdisable
; then
4678 if test $wxUSE_GPE = no
; then
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
4688 $as_echo "$result" >&6; }
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
4693 $as_echo_n "checking for toolkit... " >&6; }
4697 # In Wine, we need to default to MSW, not GTK or MOTIF
4698 if test "$wxUSE_WINE" = "yes"; then
4699 DEFAULT_DEFAULT_wxUSE_GTK
=0
4700 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
4701 DEFAULT_DEFAULT_wxUSE_MSW
=1
4708 if test "$wxUSE_GUI" = "yes"; then
4710 if test "$USE_BEOS" = 1; then
4711 as_fn_error $?
"BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
4714 if test "$TOOLKIT_GIVEN" = 1; then
4715 for toolkit
in $ALL_TOOLKITS; do
4717 eval "value=\$${var}"
4718 if test "x$value" = "xno"; then
4720 elif test "x$value" != "x"; then
4724 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
4725 eval "wx${toolkit}_VERSION=$value"
4729 for toolkit
in $ALL_TOOLKITS; do
4730 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
4731 eval "wxUSE_$toolkit=\$${var}"
4735 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
4736 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
4737 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
4740 *-pc-os2_emx | *-pc-os2-emx )
4741 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
4744 case "$NUM_TOOLKITS" in
4748 as_fn_error $?
"Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
4751 as_fn_error $?
"Please specify at most one toolkit" "$LINENO" 5
4754 for toolkit
in $ALL_TOOLKITS; do
4756 eval "value=\$${var}"
4757 if test "$value" = 1; then
4758 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
4760 $as_echo "$toolkit_echo" >&6; }
4764 if test "x$host_alias" != "x"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
4766 $as_echo "base ($host_alias hosted) only" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
4769 $as_echo "base only" >&6; }
4774 if test "$wxUSE_OSX_CARBON" = 1 \
4775 -o "$wxUSE_OSX_COCOA" = 1 \
4776 -o "$wxUSE_OSX_IPHONE" = 1; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
4783 $as_echo_n "checking for --with-libpng... " >&6; }
4785 # Check whether --with-libpng was given.
4786 if test "${with_libpng+set}" = set; then :
4787 withval
=$with_libpng;
4788 if test "$withval" = yes; then
4789 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
4790 elif test "$withval" = no
; then
4791 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
4792 elif test "$withval" = sys
; then
4793 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
4794 elif test "$withval" = builtin; then
4795 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
4797 as_fn_error $?
"Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4802 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
4807 eval "$wx_cv_use_libpng"
4809 if test "$wxUSE_LIBPNG" = yes; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4811 $as_echo "yes" >&6; }
4812 elif test "$wxUSE_LIBPNG" = no; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4815 elif test "$wxUSE_LIBPNG" = sys; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4817 $as_echo "system version" >&6; }
4818 elif test "$wxUSE_LIBPNG" = builtin; then
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4820 $as_echo "builtin version" >&6; }
4822 as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
4827 $as_echo_n "checking for --with-libjpeg... " >&6; }
4829 # Check whether --with-libjpeg was given.
4830 if test "${with_libjpeg+set}" = set; then :
4831 withval=$with_libjpeg;
4832 if test "$withval" = yes; then
4833 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
4834 elif test "$withval" = no; then
4835 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
4836 elif test "$withval" = sys; then
4837 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
4838 elif test "$withval" = builtin; then
4839 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
4841 as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
4846 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
4851 eval "$wx_cv_use_libjpeg"
4853 if test "$wxUSE_LIBJPEG" = yes; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
4855 $as_echo "yes" >&6; }
4856 elif test "$wxUSE_LIBJPEG" = no; then
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
4858 $as_echo "no
" >&6; }
4859 elif test "$wxUSE_LIBJPEG" = sys; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
4861 $as_echo "system version
" >&6; }
4862 elif test "$wxUSE_LIBJPEG" = builtin; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
4864 $as_echo "builtin version
" >&6; }
4866 as_fn_error $? "Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-libtiff" >&5
4871 $as_echo_n "checking
for --with-libtiff...
" >&6; }
4873 # Check whether --with-libtiff was given.
4874 if test "${with_libtiff+set}" = set; then :
4875 withval=$with_libtiff;
4876 if test "$withval" = yes; then
4877 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
4878 elif test "$withval" = no; then
4879 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
4880 elif test "$withval" = sys; then
4881 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
4882 elif test "$withval" = builtin; then
4883 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
4885 as_fn_error $? "Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
4890 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
4895 eval "$wx_cv_use_libtiff"
4897 if test "$wxUSE_LIBTIFF" = yes; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4899 $as_echo "yes" >&6; }
4900 elif test "$wxUSE_LIBTIFF" = no
; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4903 elif test "$wxUSE_LIBTIFF" = sys
; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4905 $as_echo "system version" >&6; }
4906 elif test "$wxUSE_LIBTIFF" = builtin; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4908 $as_echo "builtin version" >&6; }
4910 as_fn_error $?
"Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
4915 $as_echo_n "checking for --with-libxpm... " >&6; }
4917 # Check whether --with-libxpm was given.
4918 if test "${with_libxpm+set}" = set; then :
4919 withval
=$with_libxpm;
4920 if test "$withval" = yes; then
4921 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
4922 elif test "$withval" = no
; then
4923 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
4924 elif test "$withval" = sys
; then
4925 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
4926 elif test "$withval" = builtin; then
4927 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
4929 as_fn_error $?
"Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4934 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
4939 eval "$wx_cv_use_libxpm"
4941 if test "$wxUSE_LIBXPM" = yes; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4943 $as_echo "yes" >&6; }
4944 elif test "$wxUSE_LIBXPM" = no; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4947 elif test "$wxUSE_LIBXPM" = sys; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
4949 $as_echo "system version" >&6; }
4950 elif test "$wxUSE_LIBXPM" = builtin; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
4952 $as_echo "builtin version" >&6; }
4954 as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
4959 defaultval=$wxUSE_ALL_FEATURES
4960 if test -z "$defaultval"; then
4961 if test x"$withstring" = xwithout; then
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
4968 $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
4970 # Check whether --with-libiconv was given.
4971 if test "${with_libiconv+set}" = set; then :
4972 withval=$with_libiconv;
4973 if test "$withval" = yes; then
4974 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
4976 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
4981 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
4986 eval "$wx_cv_use_libiconv"
4988 if test x"$withstring" = xwithout; then
4989 if test $wxUSE_LIBICONV = yes; then
4995 result=$wxUSE_LIBICONV
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
4999 $as_echo "$result" >&6; }
5003 defaultval=$wxUSE_ALL_FEATURES
5004 if test -z "$defaultval"; then
5005 if test x"$withstring" = xwithout; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-libmspack" >&5
5012 $as_echo_n "checking
for --${withstring:-with}-libmspack...
" >&6; }
5014 # Check whether --with-libmspack was given.
5015 if test "${with_libmspack+set}" = set; then :
5016 withval=$with_libmspack;
5017 if test "$withval" = yes; then
5018 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
5020 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
5025 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
5030 eval "$wx_cv_use_libmspack"
5032 if test x
"$withstring" = xwithout
; then
5033 if test $wxUSE_LIBMSPACK = yes; then
5039 result
=$wxUSE_LIBMSPACK
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5043 $as_echo "$result" >&6; }
5047 defaultval
=$wxUSE_ALL_FEATURES
5048 if test -z "$defaultval"; then
5049 if test x
"$withstring" = xwithout
; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
5056 $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
5058 # Check whether --with-gtkprint was given.
5059 if test "${with_gtkprint+set}" = set; then :
5060 withval
=$with_gtkprint;
5061 if test "$withval" = yes; then
5062 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
5064 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
5069 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
5074 eval "$wx_cv_use_gtkprint"
5076 if test x"$withstring" = xwithout; then
5077 if test $wxUSE_GTKPRINT = yes; then
5083 result=$wxUSE_GTKPRINT
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5087 $as_echo "$result" >&6; }
5091 defaultval=$wxUSE_ALL_FEATURES
5092 if test -z "$defaultval"; then
5093 if test x"$withstring" = xwithout; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomeprint" >&5
5100 $as_echo_n "checking for --${withstring:-with}-gnomeprint... " >&6; }
5102 # Check whether --with-gnomeprint was given.
5103 if test "${with_gnomeprint+set}" = set; then :
5104 withval=$with_gnomeprint;
5105 if test "$withval" = yes; then
5106 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
5108 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
5113 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
5118 eval "$wx_cv_use_gnomeprint"
5120 if test x"$withstring" = xwithout; then
5121 if test $wxUSE_LIBGNOMEPRINT = yes; then
5127 result=$wxUSE_LIBGNOMEPRINT
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5131 $as_echo "$result" >&6; }
5135 defaultval=$wxUSE_ALL_FEATURES
5136 if test -z "$defaultval"; then
5137 if test x"$withstring" = xwithout; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-gnomevfs" >&5
5144 $as_echo_n "checking
for --${withstring:-with}-gnomevfs...
" >&6; }
5146 # Check whether --with-gnomevfs was given.
5147 if test "${with_gnomevfs+set}" = set; then :
5148 withval=$with_gnomevfs;
5149 if test "$withval" = yes; then
5150 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
5152 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
5157 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
5162 eval "$wx_cv_use_gnomevfs"
5164 if test x
"$withstring" = xwithout
; then
5165 if test $wxUSE_LIBGNOMEVFS = yes; then
5171 result
=$wxUSE_LIBGNOMEVFS
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5175 $as_echo "$result" >&6; }
5179 defaultval
=$wxUSE_ALL_FEATURES
5180 if test -z "$defaultval"; then
5181 if test x
"$withstring" = xwithout
; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
5188 $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
5190 # Check whether --with-libnotify was given.
5191 if test "${with_libnotify+set}" = set; then :
5192 withval
=$with_libnotify;
5193 if test "$withval" = yes; then
5194 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=yes'
5196 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=no'
5201 wx_cv_use_libnotify
='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
5206 eval "$wx_cv_use_libnotify"
5208 if test x"$withstring" = xwithout; then
5209 if test $wxUSE_LIBNOTIFY = yes; then
5215 result=$wxUSE_LIBNOTIFY
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5219 $as_echo "$result" >&6; }
5223 defaultval=$wxUSE_ALL_FEATURES
5224 if test -z "$defaultval"; then
5225 if test x"$withstring" = xwithout; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
5232 $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
5234 # Check whether --with-hildon was given.
5235 if test "${with_hildon+set}" = set; then :
5236 withval=$with_hildon;
5237 if test "$withval" = yes; then
5238 wx_cv_use_hildon='wxUSE_LIBHILDON
=yes'
5240 wx_cv_use_hildon='wxUSE_LIBHILDON
=no
'
5245 wx_cv_use_hildon='wxUSE_LIBHILDON
=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
5250 eval "$wx_cv_use_hildon"
5252 if test x"$withstring" = xwithout; then
5253 if test $wxUSE_LIBHILDON = yes; then
5259 result=$wxUSE_LIBHILDON
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5263 $as_echo "$result" >&6; }
5267 defaultval=$wxUSE_ALL_FEATURES
5268 if test -z "$defaultval"; then
5269 if test x"$withstring" = xwithout; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${withstring:-with}-opengl" >&5
5276 $as_echo_n "checking
for --${withstring:-with}-opengl...
" >&6; }
5278 # Check whether --with-opengl was given.
5279 if test "${with_opengl+set}" = set; then :
5280 withval=$with_opengl;
5281 if test "$withval" = yes; then
5282 wx_cv_use_opengl='wxUSE_OPENGL=yes'
5284 wx_cv_use_opengl='wxUSE_OPENGL=no'
5289 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
5294 eval "$wx_cv_use_opengl"
5296 if test x
"$withstring" = xwithout
; then
5297 if test $wxUSE_OPENGL = yes; then
5303 result
=$wxUSE_OPENGL
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5307 $as_echo "$result" >&6; }
5314 defaultval
=$wxUSE_ALL_FEATURES
5315 if test -z "$defaultval"; then
5316 if test x
"$withstring" = xwithout
; then
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
5323 $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
5325 # Check whether --with-dmalloc was given.
5326 if test "${with_dmalloc+set}" = set; then :
5327 withval
=$with_dmalloc;
5328 if test "$withval" = yes; then
5329 wx_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
5331 wx_cv_use_dmalloc
='wxUSE_DMALLOC=no'
5336 wx_cv_use_dmalloc
='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
5341 eval "$wx_cv_use_dmalloc"
5343 if test x"$withstring" = xwithout; then
5344 if test $wxUSE_DMALLOC = yes; then
5350 result=$wxUSE_DMALLOC
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5354 $as_echo "$result" >&6; }
5358 defaultval=$wxUSE_ALL_FEATURES
5359 if test -z "$defaultval"; then
5360 if test x"$withstring" = xwithout; then
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
5367 $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
5369 # Check whether --with-sdl was given.
5370 if test "${with_sdl+set}" = set; then :
5372 if test "$withval" = yes; then
5373 wx_cv_use_sdl='wxUSE_LIBSDL
=yes'
5375 wx_cv_use_sdl='wxUSE_LIBSDL
=no
'
5380 wx_cv_use_sdl='wxUSE_LIBSDL
=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
5385 eval "$wx_cv_use_sdl"
5387 if test x"$withstring" = xwithout; then
5388 if test $wxUSE_LIBSDL = yes; then
5394 result=$wxUSE_LIBSDL
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5398 $as_echo "$result" >&6; }
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-regex" >&5
5402 $as_echo_n "checking
for --with-regex...
" >&6; }
5404 # Check whether --with-regex was given.
5405 if test "${with_regex+set}" = set; then :
5406 withval=$with_regex;
5407 if test "$withval" = yes; then
5408 wx_cv_use_regex='wxUSE_REGEX=yes'
5409 elif test "$withval" = no; then
5410 wx_cv_use_regex='wxUSE_REGEX=no'
5411 elif test "$withval" = sys; then
5412 wx_cv_use_regex='wxUSE_REGEX=sys'
5413 elif test "$withval" = builtin; then
5414 wx_cv_use_regex='wxUSE_REGEX=builtin'
5416 as_fn_error $? "Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5421 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
5426 eval "$wx_cv_use_regex"
5428 if test "$wxUSE_REGEX" = yes; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5430 $as_echo "yes" >&6; }
5431 elif test "$wxUSE_REGEX" = no
; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5433 $as_echo "no" >&6; }
5434 elif test "$wxUSE_REGEX" = sys
; then
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5436 $as_echo "system version" >&6; }
5437 elif test "$wxUSE_REGEX" = builtin; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5439 $as_echo "builtin version" >&6; }
5441 as_fn_error $?
"Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
5446 $as_echo_n "checking for --with-zlib... " >&6; }
5448 # Check whether --with-zlib was given.
5449 if test "${with_zlib+set}" = set; then :
5451 if test "$withval" = yes; then
5452 wx_cv_use_zlib
='wxUSE_ZLIB=yes'
5453 elif test "$withval" = no
; then
5454 wx_cv_use_zlib
='wxUSE_ZLIB=no'
5455 elif test "$withval" = sys
; then
5456 wx_cv_use_zlib
='wxUSE_ZLIB=sys'
5457 elif test "$withval" = builtin; then
5458 wx_cv_use_zlib
='wxUSE_ZLIB=builtin'
5460 as_fn_error $?
"Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5465 wx_cv_use_zlib
='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
5470 eval "$wx_cv_use_zlib"
5472 if test "$wxUSE_ZLIB" = yes; then
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5474 $as_echo "yes" >&6; }
5475 elif test "$wxUSE_ZLIB" = no; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477 $as_echo "no" >&6; }
5478 elif test "$wxUSE_ZLIB" = sys; then
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
5480 $as_echo "system version" >&6; }
5481 elif test "$wxUSE_ZLIB" = builtin; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
5483 $as_echo "builtin version" >&6; }
5485 as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
5490 $as_echo_n "checking for --with-expat... " >&6; }
5492 # Check whether --with-expat was given.
5493 if test "${with_expat+set}" = set; then :
5494 withval=$with_expat;
5495 if test "$withval" = yes; then
5496 wx_cv_use_expat='wxUSE_EXPAT
=yes'
5497 elif test "$withval" = no; then
5498 wx_cv_use_expat='wxUSE_EXPAT
=no
'
5499 elif test "$withval" = sys; then
5500 wx_cv_use_expat='wxUSE_EXPAT
=sys
'
5501 elif test "$withval" = builtin; then
5502 wx_cv_use_expat='wxUSE_EXPAT
=builtin'
5504 as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
5509 wx_cv_use_expat='wxUSE_EXPAT
=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
5514 eval "$wx_cv_use_expat"
5516 if test "$wxUSE_EXPAT" = yes; then
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
5518 $as_echo "yes" >&6; }
5519 elif test "$wxUSE_EXPAT" = no; then
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5521 $as_echo "no
" >&6; }
5522 elif test "$wxUSE_EXPAT" = sys; then
5523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: system version
" >&5
5524 $as_echo "system version
" >&6; }
5525 elif test "$wxUSE_EXPAT" = builtin; then
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: builtin version
" >&5
5527 $as_echo "builtin version
" >&6; }
5529 as_fn_error $? "Invalid value
for --with-expat: should be
yes, no
, sys
, or
builtin" "$LINENO" 5
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-sdk" >&5
5534 $as_echo_n "checking
for --with-macosx-sdk...
" >&6; }
5536 # Check whether --with-macosx-sdk was given.
5537 if test "${with_macosx_sdk+set}" = set; then :
5538 withval=$with_macosx_sdk;
5539 wxUSE_MACOSX_SDK=$withval
5540 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK
=$withval"
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_SDK" >&5
5545 $as_echo "$wxUSE_MACOSX_SDK" >&6; }
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --with-macosx-version-min" >&5
5548 $as_echo_n "checking
for --with-macosx-version-min...
" >&6; }
5550 # Check whether --with-macosx-version-min was given.
5551 if test "${with_macosx_version_min+set}" = set; then :
5552 withval=$with_macosx_version_min;
5553 wxUSE_MACOSX_VERSION_MIN=$withval
5554 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN
=$withval"
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $wxUSE_MACOSX_VERSION_MIN" >&5
5559 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --enable-debug" >&5
5563 $as_echo_n "checking
for --enable-debug...
" >&6; }
5564 # Check whether --enable-debug was given.
5565 if test "${enable_debug+set}" = set; then :
5566 enableval=$enable_debug;
5567 if test "$enableval" = yes; then
5569 elif test "$enableval" = no; then
5571 elif test "$enableval" = max; then
5573 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
5575 as_fn_error $? "Invalid
--enable-debug value
, must be
yes, no or max
" "$LINENO" 5
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${enable_debug-default}" >&5
5584 $as_echo "${enable_debug-default}" >&6; }
5586 case "$wxUSE_DEBUG" in
5588 DEFAULT_wxUSE_DEBUG_FLAG=yes
5589 DEFAULT_wxUSE_DEBUG_INFO=yes
5591 DEFAULT_wxUSE_OPTIMISE=no
5595 DEFAULT_wxUSE_DEBUG_FLAG=no
5596 DEFAULT_wxUSE_DEBUG_INFO=no
5600 DEFAULT_wxUSE_DEBUG_FLAG=yes
5601 DEFAULT_wxUSE_DEBUG_INFO=no
5606 enablestring=disable
5608 if test -z "$defaultval"; then
5609 if test x"$enablestring" = xdisable; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_flag" >&5
5617 $as_echo_n "checking
for --${enablestring:-enable}-debug_flag...
" >&6; }
5618 # Check whether --enable-debug_flag was given.
5619 if test "${enable_debug_flag+set}" = set; then :
5620 enableval=$enable_debug_flag;
5621 if test "$enableval" = yes; then
5622 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5624 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5629 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5634 eval "$wx_cv_use_debug_flag"
5636 if test x
"$enablestring" = xdisable
; then
5637 if test $wxUSE_DEBUG_FLAG = no
; then
5643 result
=$wxUSE_DEBUG_FLAG
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5647 $as_echo "$result" >&6; }
5652 if test -z "$defaultval"; then
5653 if test x
"$enablestring" = xdisable
; then
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
5661 $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
5662 # Check whether --enable-debug_info was given.
5663 if test "${enable_debug_info+set}" = set; then :
5664 enableval
=$enable_debug_info;
5665 if test "$enableval" = yes; then
5666 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
5668 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
5673 wx_cv_use_debug_info
='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5678 eval "$wx_cv_use_debug_info"
5680 if test x"$enablestring" = xdisable; then
5681 if test $wxUSE_DEBUG_INFO = no; then
5687 result=$wxUSE_DEBUG_INFO
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5691 $as_echo "$result" >&6; }
5698 if test -z "$defaultval"; then
5699 if test x"$enablestring" = xdisable; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
5707 $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
5708 # Check whether --enable-debug_gdb was given.
5709 if test "${enable_debug_gdb+set}" = set; then :
5710 enableval=$enable_debug_gdb;
5711 if test "$enableval" = yes; then
5712 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=yes'
5714 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=no
'
5719 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB
=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5724 eval "$wx_cv_use_debug_gdb"
5726 if test x"$enablestring" = xdisable; then
5727 if test $wxUSE_DEBUG_GDB = no; then
5733 result=$wxUSE_DEBUG_GDB
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5737 $as_echo "$result" >&6; }
5742 if test -z "$defaultval"; then
5743 if test x"$enablestring" = xdisable; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-debug_cntxt" >&5
5751 $as_echo_n "checking
for --${enablestring:-enable}-debug_cntxt...
" >&6; }
5752 # Check whether --enable-debug_cntxt was given.
5753 if test "${enable_debug_cntxt+set}" = set; then :
5754 enableval=$enable_debug_cntxt;
5755 if test "$enableval" = yes; then
5756 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5758 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5763 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5768 eval "$wx_cv_use_debug_cntxt"
5770 if test x
"$enablestring" = xdisable
; then
5771 if test $wxUSE_DEBUG_CONTEXT = no
; then
5777 result
=$wxUSE_DEBUG_CONTEXT
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5781 $as_echo "$result" >&6; }
5786 if test -z "$defaultval"; then
5787 if test x
"$enablestring" = xdisable
; then
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
5795 $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
5796 # Check whether --enable-mem_tracing was given.
5797 if test "${enable_mem_tracing+set}" = set; then :
5798 enableval
=$enable_mem_tracing;
5799 if test "$enableval" = yes; then
5800 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
5802 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
5807 wx_cv_use_mem_tracing
='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5812 eval "$wx_cv_use_mem_tracing"
5814 if test x"$enablestring" = xdisable; then
5815 if test $wxUSE_MEM_TRACING = no; then
5821 result=$wxUSE_MEM_TRACING
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5825 $as_echo "$result" >&6; }
5830 enablestring=disable
5832 if test -z "$defaultval"; then
5833 if test x"$enablestring" = xdisable; then
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
5841 $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
5842 # Check whether --enable-shared was given.
5843 if test "${enable_shared+set}" = set; then :
5844 enableval=$enable_shared;
5845 if test "$enableval" = yes; then
5846 wx_cv_use_shared='wxUSE_SHARED
=yes'
5848 wx_cv_use_shared='wxUSE_SHARED
=no
'
5853 wx_cv_use_shared='wxUSE_SHARED
=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
5858 eval "$wx_cv_use_shared"
5860 if test x"$enablestring" = xdisable; then
5861 if test $wxUSE_SHARED = no; then
5867 result=$wxUSE_SHARED
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
5871 $as_echo "$result" >&6; }
5876 if test -z "$defaultval"; then
5877 if test x"$enablestring" = xdisable; then
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stl" >&5
5885 $as_echo_n "checking
for --${enablestring:-enable}-stl...
" >&6; }
5886 # Check whether --enable-stl was given.
5887 if test "${enable_stl+set}" = set; then :
5888 enableval=$enable_stl;
5889 if test "$enableval" = yes; then
5890 wx_cv_use_stl='wxUSE_STL=yes'
5892 wx_cv_use_stl='wxUSE_STL=no'
5897 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
5902 eval "$wx_cv_use_stl"
5904 if test x
"$enablestring" = xdisable
; then
5905 if test $wxUSE_STL = no
; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5915 $as_echo "$result" >&6; }
5917 if test "$wxUSE_STL" = "yes"; then
5918 DEFAULT_wxUSE_STD_CONTAINERS
=yes
5919 DEFAULT_wxUSE_STD_IOSTREAM
=yes
5920 DEFAULT_wxUSE_STD_STRING
=yes
5925 if test -z "$defaultval"; then
5926 if test x
"$enablestring" = xdisable
; then
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
5934 $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
5935 # Check whether --enable-std_containers was given.
5936 if test "${enable_std_containers+set}" = set; then :
5937 enableval
=$enable_std_containers;
5938 if test "$enableval" = yes; then
5939 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=yes'
5941 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=no'
5946 wx_cv_use_std_containers
='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
5951 eval "$wx_cv_use_std_containers"
5953 if test x"$enablestring" = xdisable; then
5954 if test $wxUSE_STD_CONTAINERS = no; then
5960 result=$wxUSE_STD_CONTAINERS
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
5964 $as_echo "$result" >&6; }
5969 if test -z "$defaultval"; then
5970 if test x"$enablestring" = xdisable; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
5978 $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
5979 # Check whether --enable-std_iostreams was given.
5980 if test "${enable_std_iostreams+set}" = set; then :
5981 enableval=$enable_std_iostreams;
5982 if test "$enableval" = yes; then
5983 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=yes'
5985 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=no
'
5990 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM
=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
5995 eval "$wx_cv_use_std_iostreams"
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_STD_IOSTREAM = no; then
6004 result=$wxUSE_STD_IOSTREAM
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6008 $as_echo "$result" >&6; }
6013 if test -z "$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-std_string" >&5
6022 $as_echo_n "checking
for --${enablestring:-enable}-std_string...
" >&6; }
6023 # Check whether --enable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then :
6025 enableval=$enable_std_string;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
6029 wx_cv_use_std_string='wxUSE_STD_STRING=no'
6034 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
6039 eval "$wx_cv_use_std_string"
6041 if test x
"$enablestring" = xdisable
; then
6042 if test $wxUSE_STD_STRING = no
; then
6048 result
=$wxUSE_STD_STRING
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6052 $as_echo "$result" >&6; }
6057 if test -z "$defaultval"; then
6058 if test x
"$enablestring" = xdisable
; then
6065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
6066 $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
6067 # Check whether --enable-std_string_conv_in_wxstring was given.
6068 if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
6069 enableval
=$enable_std_string_conv_in_wxstring;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
6073 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
6078 wx_cv_use_std_string_conv_in_wxstring
='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
6083 eval "$wx_cv_use_std_string_conv_in_wxstring"
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
6092 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6096 $as_echo "$result" >&6; }
6099 enablestring=disable
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
6110 $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
6111 # Check whether --enable-unicode was given.
6112 if test "${enable_unicode+set}" = set; then :
6113 enableval=$enable_unicode;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_unicode='wxUSE_UNICODE
=yes'
6117 wx_cv_use_unicode='wxUSE_UNICODE
=no
'
6122 wx_cv_use_unicode='wxUSE_UNICODE
=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
6127 eval "$wx_cv_use_unicode"
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_UNICODE = no; then
6136 result=$wxUSE_UNICODE
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6140 $as_echo "$result" >&6; }
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mslu" >&5
6154 $as_echo_n "checking
for --${enablestring:-enable}-mslu...
" >&6; }
6155 # Check whether --enable-mslu was given.
6156 if test "${enable_mslu+set}" = set; then :
6157 enableval=$enable_mslu;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6161 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6166 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
6171 eval "$wx_cv_use_mslu"
6173 if test x
"$enablestring" = xdisable
; then
6174 if test $wxUSE_UNICODE_MSLU = no
; then
6180 result
=$wxUSE_UNICODE_MSLU
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6184 $as_echo "$result" >&6; }
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
6189 $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
6190 # Check whether --enable-utf8 was given.
6191 if test "${enable_utf8+set}" = set; then :
6192 enableval
=$enable_utf8;
6193 wx_cv_use_utf8
="wxUSE_UNICODE_UTF8='$enableval'"
6197 wx_cv_use_utf8
='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6202 eval "$wx_cv_use_utf8"
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
6205 $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
6210 if test -z "$defaultval"; then
6211 if test x
"$enablestring" = xdisable
; then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
6219 $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
6220 # Check whether --enable-utf8only was given.
6221 if test "${enable_utf8only+set}" = set; then :
6222 enableval
=$enable_utf8only;
6223 if test "$enableval" = yes; then
6224 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=yes'
6226 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=no'
6231 wx_cv_use_utf8only
='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
6236 eval "$wx_cv_use_utf8only"
6238 if test x"$enablestring" = xdisable; then
6239 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
6245 result=$wxUSE_UNICODE_UTF8_LOCALE
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6249 $as_echo "$result" >&6; }
6254 if test -z "$defaultval"; then
6255 if test x"$enablestring" = xdisable; then
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
6263 $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
6264 # Check whether --enable-extended_rtti was given.
6265 if test "${enable_extended_rtti+set}" = set; then :
6266 enableval=$enable_extended_rtti;
6267 if test "$enableval" = yes; then
6268 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=yes'
6270 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=no
'
6275 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI
=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
6280 eval "$wx_cv_use_extended_rtti"
6282 if test x"$enablestring" = xdisable; then
6283 if test $wxUSE_EXTENDED_RTTI = no; then
6289 result=$wxUSE_EXTENDED_RTTI
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6293 $as_echo "$result" >&6; }
6295 if test "$USE_OS2" = 1; then
6296 DEFAULT_wxUSE_OMF=no
6300 if test -z "$defaultval"; then
6301 if test x"$enablestring" = xdisable; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-omf" >&5
6309 $as_echo_n "checking
for --${enablestring:-enable}-omf...
" >&6; }
6310 # Check whether --enable-omf was given.
6311 if test "${enable_omf+set}" = set; then :
6312 enableval=$enable_omf;
6313 if test "$enableval" = yes; then
6314 wx_cv_use_omf='wxUSE_OMF=yes'
6316 wx_cv_use_omf='wxUSE_OMF=no'
6321 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
6326 eval "$wx_cv_use_omf"
6328 if test x
"$enablestring" = xdisable
; then
6329 if test $wxUSE_OMF = no
; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6339 $as_echo "$result" >&6; }
6344 enablestring
=disable
6346 if test -z "$defaultval"; then
6347 if test x
"$enablestring" = xdisable
; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
6355 $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
6356 # Check whether --enable-optimise was given.
6357 if test "${enable_optimise+set}" = set; then :
6358 enableval
=$enable_optimise;
6359 if test "$enableval" = yes; then
6360 wx_cv_use_optimise
='wxUSE_OPTIMISE=yes'
6362 wx_cv_use_optimise
='wxUSE_OPTIMISE=no'
6367 wx_cv_use_optimise
='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
6372 eval "$wx_cv_use_optimise"
6374 if test x"$enablestring" = xdisable; then
6375 if test $wxUSE_OPTIMISE = no; then
6381 result=$wxUSE_OPTIMISE
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6385 $as_echo "$result" >&6; }
6391 if test -z "$defaultval"; then
6392 if test x"$enablestring" = xdisable; then
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
6400 $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
6401 # Check whether --enable-profile was given.
6402 if test "${enable_profile+set}" = set; then :
6403 enableval=$enable_profile;
6404 if test "$enableval" = yes; then
6405 wx_cv_use_profile='wxUSE_PROFILE
=yes'
6407 wx_cv_use_profile='wxUSE_PROFILE
=no
'
6412 wx_cv_use_profile='wxUSE_PROFILE
=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
6417 eval "$wx_cv_use_profile"
6419 if test x"$enablestring" = xdisable; then
6420 if test $wxUSE_PROFILE = no; then
6426 result=$wxUSE_PROFILE
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6430 $as_echo "$result" >&6; }
6435 if test -z "$defaultval"; then
6436 if test x"$enablestring" = xdisable; then
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_rtti" >&5
6444 $as_echo_n "checking
for --${enablestring:-enable}-no_rtti...
" >&6; }
6445 # Check whether --enable-no_rtti was given.
6446 if test "${enable_no_rtti+set}" = set; then :
6447 enableval=$enable_no_rtti;
6448 if test "$enableval" = yes; then
6449 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
6451 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
6456 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
6461 eval "$wx_cv_use_no_rtti"
6463 if test x
"$enablestring" = xdisable
; then
6464 if test $wxUSE_NO_RTTI = no
; then
6470 result
=$wxUSE_NO_RTTI
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6474 $as_echo "$result" >&6; }
6479 if test -z "$defaultval"; then
6480 if test x
"$enablestring" = xdisable
; then
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
6488 $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
6489 # Check whether --enable-no_exceptions was given.
6490 if test "${enable_no_exceptions+set}" = set; then :
6491 enableval
=$enable_no_exceptions;
6492 if test "$enableval" = yes; then
6493 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
6495 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
6500 wx_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
6505 eval "$wx_cv_use_no_exceptions"
6507 if test x"$enablestring" = xdisable; then
6508 if test $wxUSE_NO_EXCEPTIONS = no; then
6514 result=$wxUSE_NO_EXCEPTIONS
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6518 $as_echo "$result" >&6; }
6523 if test -z "$defaultval"; then
6524 if test x"$enablestring" = xdisable; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
6532 $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
6533 # Check whether --enable-permissive was given.
6534 if test "${enable_permissive+set}" = set; then :
6535 enableval=$enable_permissive;
6536 if test "$enableval" = yes; then
6537 wx_cv_use_permissive='wxUSE_PERMISSIVE
=yes'
6539 wx_cv_use_permissive='wxUSE_PERMISSIVE
=no
'
6544 wx_cv_use_permissive='wxUSE_PERMISSIVE
=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
6549 eval "$wx_cv_use_permissive"
6551 if test x"$enablestring" = xdisable; then
6552 if test $wxUSE_PERMISSIVE = no; then
6558 result=$wxUSE_PERMISSIVE
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6562 $as_echo "$result" >&6; }
6567 if test -z "$defaultval"; then
6568 if test x"$enablestring" = xdisable; then
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-no_deps" >&5
6576 $as_echo_n "checking
for --${enablestring:-enable}-no_deps...
" >&6; }
6577 # Check whether --enable-no_deps was given.
6578 if test "${enable_no_deps+set}" = set; then :
6579 enableval=$enable_no_deps;
6580 if test "$enableval" = yes; then
6581 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
6583 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
6588 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
6593 eval "$wx_cv_use_no_deps"
6595 if test x
"$enablestring" = xdisable
; then
6596 if test $wxUSE_NO_DEPS = no
; then
6602 result
=$wxUSE_NO_DEPS
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6606 $as_echo "$result" >&6; }
6609 enablestring
=disable
6611 if test -z "$defaultval"; then
6612 if test x
"$enablestring" = xdisable
; then
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
6620 $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
6621 # Check whether --enable-vararg_macros was given.
6622 if test "${enable_vararg_macros+set}" = set; then :
6623 enableval
=$enable_vararg_macros;
6624 if test "$enableval" = yes; then
6625 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=yes'
6627 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=no'
6632 wx_cv_use_vararg_macros
='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
6637 eval "$wx_cv_use_vararg_macros"
6639 if test x"$enablestring" = xdisable; then
6640 if test $wxUSE_VARARG_MACROS = no; then
6646 result=$wxUSE_VARARG_MACROS
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6650 $as_echo "$result" >&6; }
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
6656 $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
6657 # Check whether --enable-universal_binary was given.
6658 if test "${enable_universal_binary+set}" = set; then :
6659 enableval=$enable_universal_binary;
6660 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
6664 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY
='$DEFAULT_wxUSE_UNIVERSAL_BINARY
6669 eval "$wx_cv_use_universal_binary"
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
6672 $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
6677 $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
6678 # Check whether --enable-macosx_arch was given.
6679 if test "${enable_macosx_arch+set}" = set; then :
6680 enableval=$enable_macosx_arch;
6681 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
6685 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH
='$DEFAULT_wxUSE_MAC_ARCH
6690 eval "$wx_cv_use_macosx_arch"
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
6693 $as_echo "$wxUSE_MAC_ARCH" >&6; }
6699 if test -z "$defaultval"; then
6700 if test x"$enablestring" = xdisable; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
6708 $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
6709 # Check whether --enable-compat26 was given.
6710 if test "${enable_compat26+set}" = set; then :
6711 enableval=$enable_compat26;
6712 if test "$enableval" = yes; then
6713 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=yes'
6715 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=no
'
6720 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6
=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
6725 eval "$wx_cv_use_compat26"
6727 if test x"$enablestring" = xdisable; then
6728 if test $WXWIN_COMPATIBILITY_2_6 = no; then
6734 result=$WXWIN_COMPATIBILITY_2_6
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6738 $as_echo "$result" >&6; }
6741 enablestring=disable
6743 if test -z "$defaultval"; then
6744 if test x"$enablestring" = xdisable; then
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-compat28" >&5
6752 $as_echo_n "checking
for --${enablestring:-enable}-compat28...
" >&6; }
6753 # Check whether --enable-compat28 was given.
6754 if test "${enable_compat28+set}" = set; then :
6755 enableval=$enable_compat28;
6756 if test "$enableval" = yes; then
6757 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
6759 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
6764 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
6769 eval "$wx_cv_use_compat28"
6771 if test x
"$enablestring" = xdisable
; then
6772 if test $WXWIN_COMPATIBILITY_2_8 = no
; then
6778 result
=$WXWIN_COMPATIBILITY_2_8
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6782 $as_echo "$result" >&6; }
6786 enablestring
=disable
6788 if test -z "$defaultval"; then
6789 if test x
"$enablestring" = xdisable
; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
6797 $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
6798 # Check whether --enable-rpath was given.
6799 if test "${enable_rpath+set}" = set; then :
6800 enableval
=$enable_rpath;
6801 if test "$enableval" = yes; then
6802 wx_cv_use_rpath
='wxUSE_RPATH=yes'
6804 wx_cv_use_rpath
='wxUSE_RPATH=no'
6809 wx_cv_use_rpath
='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
6814 eval "$wx_cv_use_rpath"
6816 if test x"$enablestring" = xdisable; then
6817 if test $wxUSE_RPATH = no; then
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6827 $as_echo "$result" >&6; }
6833 if test -z "$defaultval"; then
6834 if test x"$enablestring" = xdisable; then
6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
6842 $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
6843 # Check whether --enable-objc_uniquifying was given.
6844 if test "${enable_objc_uniquifying+set}" = set; then :
6845 enableval=$enable_objc_uniquifying;
6846 if test "$enableval" = yes; then
6847 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=yes'
6849 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=no
'
6854 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING
=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
6859 eval "$wx_cv_use_objc_uniquifying"
6861 if test x"$enablestring" = xdisable; then
6862 if test $wxUSE_OBJC_UNIQUIFYING = no; then
6868 result=$wxUSE_OBJC_UNIQUIFYING
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
6872 $as_echo "$result" >&6; }
6876 enablestring=disable
6878 if test -z "$defaultval"; then
6879 if test x"$enablestring" = xdisable; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-visibility" >&5
6887 $as_echo_n "checking
for --${enablestring:-enable}-visibility...
" >&6; }
6888 # Check whether --enable-visibility was given.
6889 if test "${enable_visibility+set}" = set; then :
6890 enableval=$enable_visibility;
6891 if test "$enableval" = yes; then
6892 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
6894 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
6899 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
6904 eval "$wx_cv_use_visibility"
6906 if test x
"$enablestring" = xdisable
; then
6907 if test $wxUSE_VISIBILITY = no
; then
6913 result
=$wxUSE_VISIBILITY
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6917 $as_echo "$result" >&6; }
6920 enablestring
=disable
6922 if test -z "$defaultval"; then
6923 if test x
"$enablestring" = xdisable
; then
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
6931 $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
6932 # Check whether --enable-tls was given.
6933 if test "${enable_tls+set}" = set; then :
6934 enableval
=$enable_tls;
6935 if test "$enableval" = yes; then
6936 wx_cv_use_tls
='wxUSE_COMPILER_TLS=yes'
6938 wx_cv_use_tls
='wxUSE_COMPILER_TLS=no'
6943 wx_cv_use_tls
='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
6948 eval "$wx_cv_use_tls"
6950 if test x"$enablestring" = xdisable; then
6951 if test $wxUSE_COMPILER_TLS = no; then
6957 result=$wxUSE_COMPILER_TLS
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6961 $as_echo "$result" >&6; }
6967 defaultval=$wxUSE_ALL_FEATURES
6968 if test -z "$defaultval"; then
6969 if test x"$enablestring" = xdisable; then
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
6977 $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
6978 # Check whether --enable-intl was given.
6979 if test "${enable_intl+set}" = set; then :
6980 enableval=$enable_intl;
6981 if test "$enableval" = yes; then
6982 wx_cv_use_intl='wxUSE_INTL
=yes'
6984 wx_cv_use_intl='wxUSE_INTL
=no
'
6989 wx_cv_use_intl='wxUSE_INTL
=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6994 eval "$wx_cv_use_intl"
6996 if test x"$enablestring" = xdisable; then
6997 if test $wxUSE_INTL = no; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7007 $as_echo "$result" >&6; }
7011 defaultval=$wxUSE_ALL_FEATURES
7012 if test -z "$defaultval"; then
7013 if test x"$enablestring" = xdisable; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xlocale" >&5
7021 $as_echo_n "checking
for --${enablestring:-enable}-xlocale...
" >&6; }
7022 # Check whether --enable-xlocale was given.
7023 if test "${enable_xlocale+set}" = set; then :
7024 enableval=$enable_xlocale;
7025 if test "$enableval" = yes; then
7026 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
7028 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
7033 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
7038 eval "$wx_cv_use_xlocale"
7040 if test x
"$enablestring" = xdisable
; then
7041 if test $wxUSE_XLOCALE = no
; then
7047 result
=$wxUSE_XLOCALE
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7051 $as_echo "$result" >&6; }
7055 defaultval
=$wxUSE_ALL_FEATURES
7056 if test -z "$defaultval"; then
7057 if test x
"$enablestring" = xdisable
; then
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
7065 $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
7066 # Check whether --enable-config was given.
7067 if test "${enable_config+set}" = set; then :
7068 enableval
=$enable_config;
7069 if test "$enableval" = yes; then
7070 wx_cv_use_config
='wxUSE_CONFIG=yes'
7072 wx_cv_use_config
='wxUSE_CONFIG=no'
7077 wx_cv_use_config
='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
7082 eval "$wx_cv_use_config"
7084 if test x"$enablestring" = xdisable; then
7085 if test $wxUSE_CONFIG = no; then
7091 result=$wxUSE_CONFIG
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7095 $as_echo "$result" >&6; }
7100 defaultval=$wxUSE_ALL_FEATURES
7101 if test -z "$defaultval"; then
7102 if test x"$enablestring" = xdisable; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
7110 $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
7111 # Check whether --enable-protocols was given.
7112 if test "${enable_protocols+set}" = set; then :
7113 enableval=$enable_protocols;
7114 if test "$enableval" = yes; then
7115 wx_cv_use_protocols='wxUSE_PROTOCOL
=yes'
7117 wx_cv_use_protocols='wxUSE_PROTOCOL
=no
'
7122 wx_cv_use_protocols='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7127 eval "$wx_cv_use_protocols"
7129 if test x"$enablestring" = xdisable; then
7130 if test $wxUSE_PROTOCOL = no; then
7136 result=$wxUSE_PROTOCOL
7139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7140 $as_echo "$result" >&6; }
7144 defaultval=$wxUSE_ALL_FEATURES
7145 if test -z "$defaultval"; then
7146 if test x"$enablestring" = xdisable; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ftp" >&5
7154 $as_echo_n "checking
for --${enablestring:-enable}-ftp...
" >&6; }
7155 # Check whether --enable-ftp was given.
7156 if test "${enable_ftp+set}" = set; then :
7157 enableval=$enable_ftp;
7158 if test "$enableval" = yes; then
7159 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
7161 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
7166 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7171 eval "$wx_cv_use_ftp"
7173 if test x
"$enablestring" = xdisable
; then
7174 if test $wxUSE_PROTOCOL_FTP = no
; then
7180 result
=$wxUSE_PROTOCOL_FTP
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7184 $as_echo "$result" >&6; }
7188 defaultval
=$wxUSE_ALL_FEATURES
7189 if test -z "$defaultval"; then
7190 if test x
"$enablestring" = xdisable
; then
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
7198 $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
7199 # Check whether --enable-http was given.
7200 if test "${enable_http+set}" = set; then :
7201 enableval
=$enable_http;
7202 if test "$enableval" = yes; then
7203 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
7205 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
7210 wx_cv_use_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7215 eval "$wx_cv_use_http"
7217 if test x"$enablestring" = xdisable; then
7218 if test $wxUSE_PROTOCOL_HTTP = no; then
7224 result=$wxUSE_PROTOCOL_HTTP
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7228 $as_echo "$result" >&6; }
7232 defaultval=$wxUSE_ALL_FEATURES
7233 if test -z "$defaultval"; then
7234 if test x"$enablestring" = xdisable; then
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
7242 $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
7243 # Check whether --enable-fileproto was given.
7244 if test "${enable_fileproto+set}" = set; then :
7245 enableval=$enable_fileproto;
7246 if test "$enableval" = yes; then
7247 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=yes'
7249 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=no
'
7254 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
7259 eval "$wx_cv_use_fileproto"
7261 if test x"$enablestring" = xdisable; then
7262 if test $wxUSE_PROTOCOL_FILE = no; then
7268 result=$wxUSE_PROTOCOL_FILE
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7272 $as_echo "$result" >&6; }
7276 defaultval=$wxUSE_ALL_FEATURES
7277 if test -z "$defaultval"; then
7278 if test x"$enablestring" = xdisable; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sockets" >&5
7286 $as_echo_n "checking
for --${enablestring:-enable}-sockets...
" >&6; }
7287 # Check whether --enable-sockets was given.
7288 if test "${enable_sockets+set}" = set; then :
7289 enableval=$enable_sockets;
7290 if test "$enableval" = yes; then
7291 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
7293 wx_cv_use_sockets='wxUSE_SOCKETS=no'
7298 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
7303 eval "$wx_cv_use_sockets"
7305 if test x
"$enablestring" = xdisable
; then
7306 if test $wxUSE_SOCKETS = no
; then
7312 result
=$wxUSE_SOCKETS
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7316 $as_echo "$result" >&6; }
7320 defaultval
=$wxUSE_ALL_FEATURES
7321 if test -z "$defaultval"; then
7322 if test x
"$enablestring" = xdisable
; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
7330 $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
7331 # Check whether --enable-ipv6 was given.
7332 if test "${enable_ipv6+set}" = set; then :
7333 enableval
=$enable_ipv6;
7334 if test "$enableval" = yes; then
7335 wx_cv_use_ipv6
='wxUSE_IPV6=yes'
7337 wx_cv_use_ipv6
='wxUSE_IPV6=no'
7342 wx_cv_use_ipv6
='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
7347 eval "$wx_cv_use_ipv6"
7349 if test x"$enablestring" = xdisable; then
7350 if test $wxUSE_IPV6 = no; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7360 $as_echo "$result" >&6; }
7364 defaultval=$wxUSE_ALL_FEATURES
7365 if test -z "$defaultval"; then
7366 if test x"$enablestring" = xdisable; then
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
7374 $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
7375 # Check whether --enable-ole was given.
7376 if test "${enable_ole+set}" = set; then :
7377 enableval=$enable_ole;
7378 if test "$enableval" = yes; then
7379 wx_cv_use_ole='wxUSE_OLE
=yes'
7381 wx_cv_use_ole='wxUSE_OLE
=no
'
7386 wx_cv_use_ole='wxUSE_OLE
=${'DEFAULT_wxUSE_OLE":-$defaultval}"
7391 eval "$wx_cv_use_ole"
7393 if test x"$enablestring" = xdisable; then
7394 if test $wxUSE_OLE = no; then
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7404 $as_echo "$result" >&6; }
7408 defaultval=$wxUSE_ALL_FEATURES
7409 if test -z "$defaultval"; then
7410 if test x"$enablestring" = xdisable; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dataobj" >&5
7418 $as_echo_n "checking
for --${enablestring:-enable}-dataobj...
" >&6; }
7419 # Check whether --enable-dataobj was given.
7420 if test "${enable_dataobj+set}" = set; then :
7421 enableval=$enable_dataobj;
7422 if test "$enableval" = yes; then
7423 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
7425 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
7430 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
7435 eval "$wx_cv_use_dataobj"
7437 if test x
"$enablestring" = xdisable
; then
7438 if test $wxUSE_DATAOBJ = no
; then
7444 result
=$wxUSE_DATAOBJ
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7448 $as_echo "$result" >&6; }
7453 defaultval
=$wxUSE_ALL_FEATURES
7454 if test -z "$defaultval"; then
7455 if test x
"$enablestring" = xdisable
; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
7463 $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
7464 # Check whether --enable-ipc was given.
7465 if test "${enable_ipc+set}" = set; then :
7466 enableval
=$enable_ipc;
7467 if test "$enableval" = yes; then
7468 wx_cv_use_ipc
='wxUSE_IPC=yes'
7470 wx_cv_use_ipc
='wxUSE_IPC=no'
7475 wx_cv_use_ipc
='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
7480 eval "$wx_cv_use_ipc"
7482 if test x"$enablestring" = xdisable; then
7483 if test $wxUSE_IPC = no; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7493 $as_echo "$result" >&6; }
7498 defaultval=$wxUSE_ALL_FEATURES
7499 if test -z "$defaultval"; then
7500 if test x"$enablestring" = xdisable; then
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
7508 $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
7509 # Check whether --enable-baseevtloop was given.
7510 if test "${enable_baseevtloop+set}" = set; then :
7511 enableval=$enable_baseevtloop;
7512 if test "$enableval" = yes; then
7513 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=yes'
7515 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=no
'
7520 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP
=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
7525 eval "$wx_cv_use_baseevtloop"
7527 if test x"$enablestring" = xdisable; then
7528 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
7534 result=$wxUSE_CONSOLE_EVENTLOOP
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7538 $as_echo "$result" >&6; }
7542 defaultval=$wxUSE_ALL_FEATURES
7543 if test -z "$defaultval"; then
7544 if test x"$enablestring" = xdisable; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-epollloop" >&5
7552 $as_echo_n "checking
for --${enablestring:-enable}-epollloop...
" >&6; }
7553 # Check whether --enable-epollloop was given.
7554 if test "${enable_epollloop+set}" = set; then :
7555 enableval=$enable_epollloop;
7556 if test "$enableval" = yes; then
7557 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
7559 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
7564 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
7569 eval "$wx_cv_use_epollloop"
7571 if test x
"$enablestring" = xdisable
; then
7572 if test $wxUSE_EPOLL_DISPATCHER = no
; then
7578 result
=$wxUSE_EPOLL_DISPATCHER
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7582 $as_echo "$result" >&6; }
7586 defaultval
=$wxUSE_ALL_FEATURES
7587 if test -z "$defaultval"; then
7588 if test x
"$enablestring" = xdisable
; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
7596 $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
7597 # Check whether --enable-selectloop was given.
7598 if test "${enable_selectloop+set}" = set; then :
7599 enableval
=$enable_selectloop;
7600 if test "$enableval" = yes; then
7601 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=yes'
7603 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=no'
7608 wx_cv_use_selectloop
='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
7613 eval "$wx_cv_use_selectloop"
7615 if test x"$enablestring" = xdisable; then
7616 if test $wxUSE_SELECT_DISPATCHER = no; then
7622 result=$wxUSE_SELECT_DISPATCHER
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7626 $as_echo "$result" >&6; }
7631 defaultval=$wxUSE_ALL_FEATURES
7632 if test -z "$defaultval"; then
7633 if test x"$enablestring" = xdisable; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
7641 $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
7642 # Check whether --enable-any was given.
7643 if test "${enable_any+set}" = set; then :
7644 enableval=$enable_any;
7645 if test "$enableval" = yes; then
7646 wx_cv_use_any='wxUSE_ANY
=yes'
7648 wx_cv_use_any='wxUSE_ANY
=no
'
7653 wx_cv_use_any='wxUSE_ANY
=${'DEFAULT_wxUSE_ANY":-$defaultval}"
7658 eval "$wx_cv_use_any"
7660 if test x"$enablestring" = xdisable; then
7661 if test $wxUSE_ANY = no; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7671 $as_echo "$result" >&6; }
7675 defaultval=$wxUSE_ALL_FEATURES
7676 if test -z "$defaultval"; then
7677 if test x"$enablestring" = xdisable; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-apple_ieee" >&5
7685 $as_echo_n "checking
for --${enablestring:-enable}-apple_ieee...
" >&6; }
7686 # Check whether --enable-apple_ieee was given.
7687 if test "${enable_apple_ieee+set}" = set; then :
7688 enableval=$enable_apple_ieee;
7689 if test "$enableval" = yes; then
7690 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
7692 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
7697 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
7702 eval "$wx_cv_use_apple_ieee"
7704 if test x
"$enablestring" = xdisable
; then
7705 if test $wxUSE_APPLE_IEEE = no
; then
7711 result
=$wxUSE_APPLE_IEEE
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7715 $as_echo "$result" >&6; }
7719 defaultval
=$wxUSE_ALL_FEATURES
7720 if test -z "$defaultval"; then
7721 if test x
"$enablestring" = xdisable
; then
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
7729 $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
7730 # Check whether --enable-arcstream was given.
7731 if test "${enable_arcstream+set}" = set; then :
7732 enableval
=$enable_arcstream;
7733 if test "$enableval" = yes; then
7734 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=yes'
7736 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=no'
7741 wx_cv_use_arcstream
='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
7746 eval "$wx_cv_use_arcstream"
7748 if test x"$enablestring" = xdisable; then
7749 if test $wxUSE_ARCHIVE_STREAMS = no; then
7755 result=$wxUSE_ARCHIVE_STREAMS
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7759 $as_echo "$result" >&6; }
7763 defaultval=$wxUSE_ALL_FEATURES
7764 if test -z "$defaultval"; then
7765 if test x"$enablestring" = xdisable; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
7773 $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
7774 # Check whether --enable-base64 was given.
7775 if test "${enable_base64+set}" = set; then :
7776 enableval=$enable_base64;
7777 if test "$enableval" = yes; then
7778 wx_cv_use_base64='wxUSE_BASE64
=yes'
7780 wx_cv_use_base64='wxUSE_BASE64
=no
'
7785 wx_cv_use_base64='wxUSE_BASE64
=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
7790 eval "$wx_cv_use_base64"
7792 if test x"$enablestring" = xdisable; then
7793 if test $wxUSE_BASE64 = no; then
7799 result=$wxUSE_BASE64
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7803 $as_echo "$result" >&6; }
7807 defaultval=$wxUSE_ALL_FEATURES
7808 if test -z "$defaultval"; then
7809 if test x"$enablestring" = xdisable; then
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-backtrace" >&5
7817 $as_echo_n "checking
for --${enablestring:-enable}-backtrace...
" >&6; }
7818 # Check whether --enable-backtrace was given.
7819 if test "${enable_backtrace+set}" = set; then :
7820 enableval=$enable_backtrace;
7821 if test "$enableval" = yes; then
7822 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
7824 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
7829 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
7834 eval "$wx_cv_use_backtrace"
7836 if test x
"$enablestring" = xdisable
; then
7837 if test $wxUSE_STACKWALKER = no
; then
7843 result
=$wxUSE_STACKWALKER
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7847 $as_echo "$result" >&6; }
7851 defaultval
=$wxUSE_ALL_FEATURES
7852 if test -z "$defaultval"; then
7853 if test x
"$enablestring" = xdisable
; then
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
7861 $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
7862 # Check whether --enable-catch_segvs was given.
7863 if test "${enable_catch_segvs+set}" = set; then :
7864 enableval
=$enable_catch_segvs;
7865 if test "$enableval" = yes; then
7866 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
7868 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
7873 wx_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
7878 eval "$wx_cv_use_catch_segvs"
7880 if test x"$enablestring" = xdisable; then
7881 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
7887 result=$wxUSE_ON_FATAL_EXCEPTION
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7891 $as_echo "$result" >&6; }
7895 defaultval=$wxUSE_ALL_FEATURES
7896 if test -z "$defaultval"; then
7897 if test x"$enablestring" = xdisable; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
7905 $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
7906 # Check whether --enable-cmdline was given.
7907 if test "${enable_cmdline+set}" = set; then :
7908 enableval=$enable_cmdline;
7909 if test "$enableval" = yes; then
7910 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=yes'
7912 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=no
'
7917 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER
=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7922 eval "$wx_cv_use_cmdline"
7924 if test x"$enablestring" = xdisable; then
7925 if test $wxUSE_CMDLINE_PARSER = no; then
7931 result=$wxUSE_CMDLINE_PARSER
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
7935 $as_echo "$result" >&6; }
7939 defaultval=$wxUSE_ALL_FEATURES
7940 if test -z "$defaultval"; then
7941 if test x"$enablestring" = xdisable; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datetime" >&5
7949 $as_echo_n "checking
for --${enablestring:-enable}-datetime...
" >&6; }
7950 # Check whether --enable-datetime was given.
7951 if test "${enable_datetime+set}" = set; then :
7952 enableval=$enable_datetime;
7953 if test "$enableval" = yes; then
7954 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7956 wx_cv_use_datetime='wxUSE_DATETIME=no'
7961 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7966 eval "$wx_cv_use_datetime"
7968 if test x
"$enablestring" = xdisable
; then
7969 if test $wxUSE_DATETIME = no
; then
7975 result
=$wxUSE_DATETIME
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
7979 $as_echo "$result" >&6; }
7983 defaultval
=$wxUSE_ALL_FEATURES
7984 if test -z "$defaultval"; then
7985 if test x
"$enablestring" = xdisable
; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
7993 $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
7994 # Check whether --enable-debugreport was given.
7995 if test "${enable_debugreport+set}" = set; then :
7996 enableval
=$enable_debugreport;
7997 if test "$enableval" = yes; then
7998 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=yes'
8000 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=no'
8005 wx_cv_use_debugreport
='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
8010 eval "$wx_cv_use_debugreport"
8012 if test x"$enablestring" = xdisable; then
8013 if test $wxUSE_DEBUGREPORT = no; then
8019 result=$wxUSE_DEBUGREPORT
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8023 $as_echo "$result" >&6; }
8027 defaultval=$wxUSE_ALL_FEATURES
8028 if test -z "$defaultval"; then
8029 if test x"$enablestring" = xdisable; then
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
8037 $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
8038 # Check whether --enable-dialupman was given.
8039 if test "${enable_dialupman+set}" = set; then :
8040 enableval=$enable_dialupman;
8041 if test "$enableval" = yes; then
8042 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=yes'
8044 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=no
'
8049 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER
=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
8054 eval "$wx_cv_use_dialupman"
8056 if test x"$enablestring" = xdisable; then
8057 if test $wxUSE_DIALUP_MANAGER = no; then
8063 result=$wxUSE_DIALUP_MANAGER
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8067 $as_echo "$result" >&6; }
8071 defaultval=$wxUSE_ALL_FEATURES
8072 if test -z "$defaultval"; then
8073 if test x"$enablestring" = xdisable; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dynlib" >&5
8081 $as_echo_n "checking
for --${enablestring:-enable}-dynlib...
" >&6; }
8082 # Check whether --enable-dynlib was given.
8083 if test "${enable_dynlib+set}" = set; then :
8084 enableval=$enable_dynlib;
8085 if test "$enableval" = yes; then
8086 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
8088 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
8093 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
8098 eval "$wx_cv_use_dynlib"
8100 if test x
"$enablestring" = xdisable
; then
8101 if test $wxUSE_DYNLIB_CLASS = no
; then
8107 result
=$wxUSE_DYNLIB_CLASS
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8111 $as_echo "$result" >&6; }
8115 defaultval
=$wxUSE_ALL_FEATURES
8116 if test -z "$defaultval"; then
8117 if test x
"$enablestring" = xdisable
; then
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
8125 $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
8126 # Check whether --enable-dynamicloader was given.
8127 if test "${enable_dynamicloader+set}" = set; then :
8128 enableval
=$enable_dynamicloader;
8129 if test "$enableval" = yes; then
8130 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
8132 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
8137 wx_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
8142 eval "$wx_cv_use_dynamicloader"
8144 if test x"$enablestring" = xdisable; then
8145 if test $wxUSE_DYNAMIC_LOADER = no; then
8151 result=$wxUSE_DYNAMIC_LOADER
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8155 $as_echo "$result" >&6; }
8159 defaultval=$wxUSE_ALL_FEATURES
8160 if test -z "$defaultval"; then
8161 if test x"$enablestring" = xdisable; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
8169 $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
8170 # Check whether --enable-exceptions was given.
8171 if test "${enable_exceptions+set}" = set; then :
8172 enableval=$enable_exceptions;
8173 if test "$enableval" = yes; then
8174 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=yes'
8176 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=no
'
8181 wx_cv_use_exceptions='wxUSE_EXCEPTIONS
=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
8186 eval "$wx_cv_use_exceptions"
8188 if test x"$enablestring" = xdisable; then
8189 if test $wxUSE_EXCEPTIONS = no; then
8195 result=$wxUSE_EXCEPTIONS
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8199 $as_echo "$result" >&6; }
8203 defaultval=$wxUSE_ALL_FEATURES
8204 if test -z "$defaultval"; then
8205 if test x"$enablestring" = xdisable; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ffile" >&5
8213 $as_echo_n "checking
for --${enablestring:-enable}-ffile...
" >&6; }
8214 # Check whether --enable-ffile was given.
8215 if test "${enable_ffile+set}" = set; then :
8216 enableval=$enable_ffile;
8217 if test "$enableval" = yes; then
8218 wx_cv_use_ffile='wxUSE_FFILE=yes'
8220 wx_cv_use_ffile='wxUSE_FFILE=no'
8225 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
8230 eval "$wx_cv_use_ffile"
8232 if test x
"$enablestring" = xdisable
; then
8233 if test $wxUSE_FFILE = no
; then
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8243 $as_echo "$result" >&6; }
8247 defaultval
=$wxUSE_ALL_FEATURES
8248 if test -z "$defaultval"; then
8249 if test x
"$enablestring" = xdisable
; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
8257 $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
8258 # Check whether --enable-file was given.
8259 if test "${enable_file+set}" = set; then :
8260 enableval
=$enable_file;
8261 if test "$enableval" = yes; then
8262 wx_cv_use_file
='wxUSE_FILE=yes'
8264 wx_cv_use_file
='wxUSE_FILE=no'
8269 wx_cv_use_file
='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
8274 eval "$wx_cv_use_file"
8276 if test x"$enablestring" = xdisable; then
8277 if test $wxUSE_FILE = no; then
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8287 $as_echo "$result" >&6; }
8291 defaultval=$wxUSE_ALL_FEATURES
8292 if test -z "$defaultval"; then
8293 if test x"$enablestring" = xdisable; then
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
8301 $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
8302 # Check whether --enable-filehistory was given.
8303 if test "${enable_filehistory+set}" = set; then :
8304 enableval=$enable_filehistory;
8305 if test "$enableval" = yes; then
8306 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=yes'
8308 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=no
'
8313 wx_cv_use_filehistory='wxUSE_FILE_HISTORY
=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
8318 eval "$wx_cv_use_filehistory"
8320 if test x"$enablestring" = xdisable; then
8321 if test $wxUSE_FILE_HISTORY = no; then
8327 result=$wxUSE_FILE_HISTORY
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8331 $as_echo "$result" >&6; }
8335 defaultval=$wxUSE_ALL_FEATURES
8336 if test -z "$defaultval"; then
8337 if test x"$enablestring" = xdisable; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filesystem" >&5
8345 $as_echo_n "checking
for --${enablestring:-enable}-filesystem...
" >&6; }
8346 # Check whether --enable-filesystem was given.
8347 if test "${enable_filesystem+set}" = set; then :
8348 enableval=$enable_filesystem;
8349 if test "$enableval" = yes; then
8350 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
8352 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
8357 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
8362 eval "$wx_cv_use_filesystem"
8364 if test x
"$enablestring" = xdisable
; then
8365 if test $wxUSE_FILESYSTEM = no
; then
8371 result
=$wxUSE_FILESYSTEM
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8375 $as_echo "$result" >&6; }
8379 defaultval
=$wxUSE_ALL_FEATURES
8380 if test -z "$defaultval"; then
8381 if test x
"$enablestring" = xdisable
; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
8389 $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
8390 # Check whether --enable-fontenum was given.
8391 if test "${enable_fontenum+set}" = set; then :
8392 enableval
=$enable_fontenum;
8393 if test "$enableval" = yes; then
8394 wx_cv_use_fontenum
='wxUSE_FONTENUM=yes'
8396 wx_cv_use_fontenum
='wxUSE_FONTENUM=no'
8401 wx_cv_use_fontenum
='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
8406 eval "$wx_cv_use_fontenum"
8408 if test x"$enablestring" = xdisable; then
8409 if test $wxUSE_FONTENUM = no; then
8415 result=$wxUSE_FONTENUM
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8419 $as_echo "$result" >&6; }
8423 defaultval=$wxUSE_ALL_FEATURES
8424 if test -z "$defaultval"; then
8425 if test x"$enablestring" = xdisable; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
8433 $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
8434 # Check whether --enable-fontmap was given.
8435 if test "${enable_fontmap+set}" = set; then :
8436 enableval=$enable_fontmap;
8437 if test "$enableval" = yes; then
8438 wx_cv_use_fontmap='wxUSE_FONTMAP
=yes'
8440 wx_cv_use_fontmap='wxUSE_FONTMAP
=no
'
8445 wx_cv_use_fontmap='wxUSE_FONTMAP
=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
8450 eval "$wx_cv_use_fontmap"
8452 if test x"$enablestring" = xdisable; then
8453 if test $wxUSE_FONTMAP = no; then
8459 result=$wxUSE_FONTMAP
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8463 $as_echo "$result" >&6; }
8467 defaultval=$wxUSE_ALL_FEATURES
8468 if test -z "$defaultval"; then
8469 if test x"$enablestring" = xdisable; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fs_archive" >&5
8477 $as_echo_n "checking
for --${enablestring:-enable}-fs_archive...
" >&6; }
8478 # Check whether --enable-fs_archive was given.
8479 if test "${enable_fs_archive+set}" = set; then :
8480 enableval=$enable_fs_archive;
8481 if test "$enableval" = yes; then
8482 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
8484 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
8489 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
8494 eval "$wx_cv_use_fs_archive"
8496 if test x
"$enablestring" = xdisable
; then
8497 if test $wxUSE_FS_ARCHIVE = no
; then
8503 result
=$wxUSE_FS_ARCHIVE
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8507 $as_echo "$result" >&6; }
8511 defaultval
=$wxUSE_ALL_FEATURES
8512 if test -z "$defaultval"; then
8513 if test x
"$enablestring" = xdisable
; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
8521 $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
8522 # Check whether --enable-fs_inet was given.
8523 if test "${enable_fs_inet+set}" = set; then :
8524 enableval
=$enable_fs_inet;
8525 if test "$enableval" = yes; then
8526 wx_cv_use_fs_inet
='wxUSE_FS_INET=yes'
8528 wx_cv_use_fs_inet
='wxUSE_FS_INET=no'
8533 wx_cv_use_fs_inet
='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
8538 eval "$wx_cv_use_fs_inet"
8540 if test x"$enablestring" = xdisable; then
8541 if test $wxUSE_FS_INET = no; then
8547 result=$wxUSE_FS_INET
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8551 $as_echo "$result" >&6; }
8555 defaultval=$wxUSE_ALL_FEATURES
8556 if test -z "$defaultval"; then
8557 if test x"$enablestring" = xdisable; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
8565 $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
8566 # Check whether --enable-fs_zip was given.
8567 if test "${enable_fs_zip+set}" = set; then :
8568 enableval=$enable_fs_zip;
8569 if test "$enableval" = yes; then
8570 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=yes'
8572 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=no
'
8577 wx_cv_use_fs_zip='wxUSE_FS_ZIP
=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
8582 eval "$wx_cv_use_fs_zip"
8584 if test x"$enablestring" = xdisable; then
8585 if test $wxUSE_FS_ZIP = no; then
8591 result=$wxUSE_FS_ZIP
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8595 $as_echo "$result" >&6; }
8599 defaultval=$wxUSE_ALL_FEATURES
8600 if test -z "$defaultval"; then
8601 if test x"$enablestring" = xdisable; then
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-fsvolume" >&5
8609 $as_echo_n "checking
for --${enablestring:-enable}-fsvolume...
" >&6; }
8610 # Check whether --enable-fsvolume was given.
8611 if test "${enable_fsvolume+set}" = set; then :
8612 enableval=$enable_fsvolume;
8613 if test "$enableval" = yes; then
8614 wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
8616 wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
8621 wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
8626 eval "$wx_cv_use_fsvolume"
8628 if test x
"$enablestring" = xdisable
; then
8629 if test $wxUSE_FSVOLUME = no
; then
8635 result
=$wxUSE_FSVOLUME
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8639 $as_echo "$result" >&6; }
8643 defaultval
=$wxUSE_ALL_FEATURES
8644 if test -z "$defaultval"; then
8645 if test x
"$enablestring" = xdisable
; then
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
8653 $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
8654 # Check whether --enable-fswatcher was given.
8655 if test "${enable_fswatcher+set}" = set; then :
8656 enableval
=$enable_fswatcher;
8657 if test "$enableval" = yes; then
8658 wx_cv_use_fswatcher
='wxUSE_FSWATCHER=yes'
8660 wx_cv_use_fswatcher
='wxUSE_FSWATCHER=no'
8665 wx_cv_use_fswatcher
='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
8670 eval "$wx_cv_use_fswatcher"
8672 if test x"$enablestring" = xdisable; then
8673 if test $wxUSE_FSWATCHER = no; then
8679 result=$wxUSE_FSWATCHER
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8683 $as_echo "$result" >&6; }
8687 defaultval=$wxUSE_ALL_FEATURES
8688 if test -z "$defaultval"; then
8689 if test x"$enablestring" = xdisable; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
8697 $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
8698 # Check whether --enable-geometry was given.
8699 if test "${enable_geometry+set}" = set; then :
8700 enableval=$enable_geometry;
8701 if test "$enableval" = yes; then
8702 wx_cv_use_geometry='wxUSE_GEOMETRY
=yes'
8704 wx_cv_use_geometry='wxUSE_GEOMETRY
=no
'
8709 wx_cv_use_geometry='wxUSE_GEOMETRY
=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
8714 eval "$wx_cv_use_geometry"
8716 if test x"$enablestring" = xdisable; then
8717 if test $wxUSE_GEOMETRY = no; then
8723 result=$wxUSE_GEOMETRY
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8727 $as_echo "$result" >&6; }
8731 defaultval=$wxUSE_ALL_FEATURES
8732 if test -z "$defaultval"; then
8733 if test x"$enablestring" = xdisable; then
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-log" >&5
8741 $as_echo_n "checking
for --${enablestring:-enable}-log...
" >&6; }
8742 # Check whether --enable-log was given.
8743 if test "${enable_log+set}" = set; then :
8744 enableval=$enable_log;
8745 if test "$enableval" = yes; then
8746 wx_cv_use_log='wxUSE_LOG=yes'
8748 wx_cv_use_log='wxUSE_LOG=no'
8753 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
8758 eval "$wx_cv_use_log"
8760 if test x
"$enablestring" = xdisable
; then
8761 if test $wxUSE_LOG = no
; then
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8771 $as_echo "$result" >&6; }
8775 defaultval
=$wxUSE_ALL_FEATURES
8776 if test -z "$defaultval"; then
8777 if test x
"$enablestring" = xdisable
; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
8785 $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
8786 # Check whether --enable-longlong was given.
8787 if test "${enable_longlong+set}" = set; then :
8788 enableval
=$enable_longlong;
8789 if test "$enableval" = yes; then
8790 wx_cv_use_longlong
='wxUSE_LONGLONG=yes'
8792 wx_cv_use_longlong
='wxUSE_LONGLONG=no'
8797 wx_cv_use_longlong
='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
8802 eval "$wx_cv_use_longlong"
8804 if test x"$enablestring" = xdisable; then
8805 if test $wxUSE_LONGLONG = no; then
8811 result=$wxUSE_LONGLONG
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8815 $as_echo "$result" >&6; }
8819 defaultval=$wxUSE_ALL_FEATURES
8820 if test -z "$defaultval"; then
8821 if test x"$enablestring" = xdisable; then
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
8829 $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
8830 # Check whether --enable-mimetype was given.
8831 if test "${enable_mimetype+set}" = set; then :
8832 enableval=$enable_mimetype;
8833 if test "$enableval" = yes; then
8834 wx_cv_use_mimetype='wxUSE_MIMETYPE
=yes'
8836 wx_cv_use_mimetype='wxUSE_MIMETYPE
=no
'
8841 wx_cv_use_mimetype='wxUSE_MIMETYPE
=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
8846 eval "$wx_cv_use_mimetype"
8848 if test x"$enablestring" = xdisable; then
8849 if test $wxUSE_MIMETYPE = no; then
8855 result=$wxUSE_MIMETYPE
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8859 $as_echo "$result" >&6; }
8863 defaultval=$wxUSE_ALL_FEATURES
8864 if test -z "$defaultval"; then
8865 if test x"$enablestring" = xdisable; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-printfposparam" >&5
8873 $as_echo_n "checking
for --${enablestring:-enable}-printfposparam...
" >&6; }
8874 # Check whether --enable-printfposparam was given.
8875 if test "${enable_printfposparam+set}" = set; then :
8876 enableval=$enable_printfposparam;
8877 if test "$enableval" = yes; then
8878 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8880 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8885 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8890 eval "$wx_cv_use_printfposparam"
8892 if test x
"$enablestring" = xdisable
; then
8893 if test $wxUSE_PRINTF_POS_PARAMS = no
; then
8899 result
=$wxUSE_PRINTF_POS_PARAMS
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8903 $as_echo "$result" >&6; }
8907 defaultval
=$wxUSE_ALL_FEATURES
8908 if test -z "$defaultval"; then
8909 if test x
"$enablestring" = xdisable
; then
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
8917 $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
8918 # Check whether --enable-snglinst was given.
8919 if test "${enable_snglinst+set}" = set; then :
8920 enableval
=$enable_snglinst;
8921 if test "$enableval" = yes; then
8922 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
8924 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
8929 wx_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8934 eval "$wx_cv_use_snglinst"
8936 if test x"$enablestring" = xdisable; then
8937 if test $wxUSE_SNGLINST_CHECKER = no; then
8943 result=$wxUSE_SNGLINST_CHECKER
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
8947 $as_echo "$result" >&6; }
8951 defaultval=$wxUSE_ALL_FEATURES
8952 if test -z "$defaultval"; then
8953 if test x"$enablestring" = xdisable; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
8961 $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
8962 # Check whether --enable-sound was given.
8963 if test "${enable_sound+set}" = set; then :
8964 enableval=$enable_sound;
8965 if test "$enableval" = yes; then
8966 wx_cv_use_sound='wxUSE_SOUND
=yes'
8968 wx_cv_use_sound='wxUSE_SOUND
=no
'
8973 wx_cv_use_sound='wxUSE_SOUND
=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8978 eval "$wx_cv_use_sound"
8980 if test x"$enablestring" = xdisable; then
8981 if test $wxUSE_SOUND = no; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
8991 $as_echo "$result" >&6; }
8995 defaultval=$wxUSE_ALL_FEATURES
8996 if test -z "$defaultval"; then
8997 if test x"$enablestring" = xdisable; then
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stdpaths" >&5
9005 $as_echo_n "checking
for --${enablestring:-enable}-stdpaths...
" >&6; }
9006 # Check whether --enable-stdpaths was given.
9007 if test "${enable_stdpaths+set}" = set; then :
9008 enableval=$enable_stdpaths;
9009 if test "$enableval" = yes; then
9010 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
9012 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
9017 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
9022 eval "$wx_cv_use_stdpaths"
9024 if test x
"$enablestring" = xdisable
; then
9025 if test $wxUSE_STDPATHS = no
; then
9031 result
=$wxUSE_STDPATHS
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9035 $as_echo "$result" >&6; }
9039 defaultval
=$wxUSE_ALL_FEATURES
9040 if test -z "$defaultval"; then
9041 if test x
"$enablestring" = xdisable
; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
9049 $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
9050 # Check whether --enable-stopwatch was given.
9051 if test "${enable_stopwatch+set}" = set; then :
9052 enableval
=$enable_stopwatch;
9053 if test "$enableval" = yes; then
9054 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
9056 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
9061 wx_cv_use_stopwatch
='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
9066 eval "$wx_cv_use_stopwatch"
9068 if test x"$enablestring" = xdisable; then
9069 if test $wxUSE_STOPWATCH = no; then
9075 result=$wxUSE_STOPWATCH
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9079 $as_echo "$result" >&6; }
9083 defaultval=$wxUSE_ALL_FEATURES
9084 if test -z "$defaultval"; then
9085 if test x"$enablestring" = xdisable; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
9093 $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
9094 # Check whether --enable-streams was given.
9095 if test "${enable_streams+set}" = set; then :
9096 enableval=$enable_streams;
9097 if test "$enableval" = yes; then
9098 wx_cv_use_streams='wxUSE_STREAMS
=yes'
9100 wx_cv_use_streams='wxUSE_STREAMS
=no
'
9105 wx_cv_use_streams='wxUSE_STREAMS
=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
9110 eval "$wx_cv_use_streams"
9112 if test x"$enablestring" = xdisable; then
9113 if test $wxUSE_STREAMS = no; then
9119 result=$wxUSE_STREAMS
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9123 $as_echo "$result" >&6; }
9127 defaultval=$wxUSE_ALL_FEATURES
9128 if test -z "$defaultval"; then
9129 if test x"$enablestring" = xdisable; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sysoptions" >&5
9137 $as_echo_n "checking
for --${enablestring:-enable}-sysoptions...
" >&6; }
9138 # Check whether --enable-sysoptions was given.
9139 if test "${enable_sysoptions+set}" = set; then :
9140 enableval=$enable_sysoptions;
9141 if test "$enableval" = yes; then
9142 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
9144 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
9149 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
9154 eval "$wx_cv_use_sysoptions"
9156 if test x
"$enablestring" = xdisable
; then
9157 if test $wxUSE_SYSTEM_OPTIONS = no
; then
9163 result
=$wxUSE_SYSTEM_OPTIONS
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9167 $as_echo "$result" >&6; }
9171 defaultval
=$wxUSE_ALL_FEATURES
9172 if test -z "$defaultval"; then
9173 if test x
"$enablestring" = xdisable
; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
9181 $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
9182 # Check whether --enable-tarstream was given.
9183 if test "${enable_tarstream+set}" = set; then :
9184 enableval
=$enable_tarstream;
9185 if test "$enableval" = yes; then
9186 wx_cv_use_tarstream
='wxUSE_TARSTREAM=yes'
9188 wx_cv_use_tarstream
='wxUSE_TARSTREAM=no'
9193 wx_cv_use_tarstream
='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
9198 eval "$wx_cv_use_tarstream"
9200 if test x"$enablestring" = xdisable; then
9201 if test $wxUSE_TARSTREAM = no; then
9207 result=$wxUSE_TARSTREAM
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9211 $as_echo "$result" >&6; }
9215 defaultval=$wxUSE_ALL_FEATURES
9216 if test -z "$defaultval"; then
9217 if test x"$enablestring" = xdisable; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
9225 $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
9226 # Check whether --enable-textbuf was given.
9227 if test "${enable_textbuf+set}" = set; then :
9228 enableval=$enable_textbuf;
9229 if test "$enableval" = yes; then
9230 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=yes'
9232 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=no
'
9237 wx_cv_use_textbuf='wxUSE_TEXTBUFFER
=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
9242 eval "$wx_cv_use_textbuf"
9244 if test x"$enablestring" = xdisable; then
9245 if test $wxUSE_TEXTBUFFER = no; then
9251 result=$wxUSE_TEXTBUFFER
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9255 $as_echo "$result" >&6; }
9259 defaultval=$wxUSE_ALL_FEATURES
9260 if test -z "$defaultval"; then
9261 if test x"$enablestring" = xdisable; then
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-textfile" >&5
9269 $as_echo_n "checking
for --${enablestring:-enable}-textfile...
" >&6; }
9270 # Check whether --enable-textfile was given.
9271 if test "${enable_textfile+set}" = set; then :
9272 enableval=$enable_textfile;
9273 if test "$enableval" = yes; then
9274 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
9276 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
9281 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
9286 eval "$wx_cv_use_textfile"
9288 if test x
"$enablestring" = xdisable
; then
9289 if test $wxUSE_TEXTFILE = no
; then
9295 result
=$wxUSE_TEXTFILE
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9299 $as_echo "$result" >&6; }
9303 defaultval
=$wxUSE_ALL_FEATURES
9304 if test -z "$defaultval"; then
9305 if test x
"$enablestring" = xdisable
; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
9313 $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
9314 # Check whether --enable-timer was given.
9315 if test "${enable_timer+set}" = set; then :
9316 enableval
=$enable_timer;
9317 if test "$enableval" = yes; then
9318 wx_cv_use_timer
='wxUSE_TIMER=yes'
9320 wx_cv_use_timer
='wxUSE_TIMER=no'
9325 wx_cv_use_timer
='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
9330 eval "$wx_cv_use_timer"
9332 if test x"$enablestring" = xdisable; then
9333 if test $wxUSE_TIMER = no; then
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9343 $as_echo "$result" >&6; }
9347 defaultval=$wxUSE_ALL_FEATURES
9348 if test -z "$defaultval"; then
9349 if test x"$enablestring" = xdisable; then
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
9357 $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
9358 # Check whether --enable-variant was given.
9359 if test "${enable_variant+set}" = set; then :
9360 enableval=$enable_variant;
9361 if test "$enableval" = yes; then
9362 wx_cv_use_variant='wxUSE_VARIANT
=yes'
9364 wx_cv_use_variant='wxUSE_VARIANT
=no
'
9369 wx_cv_use_variant='wxUSE_VARIANT
=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
9374 eval "$wx_cv_use_variant"
9376 if test x"$enablestring" = xdisable; then
9377 if test $wxUSE_VARIANT = no; then
9383 result=$wxUSE_VARIANT
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9387 $as_echo "$result" >&6; }
9391 defaultval=$wxUSE_ALL_FEATURES
9392 if test -z "$defaultval"; then
9393 if test x"$enablestring" = xdisable; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-zipstream" >&5
9401 $as_echo_n "checking
for --${enablestring:-enable}-zipstream...
" >&6; }
9402 # Check whether --enable-zipstream was given.
9403 if test "${enable_zipstream+set}" = set; then :
9404 enableval=$enable_zipstream;
9405 if test "$enableval" = yes; then
9406 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
9408 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
9413 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
9418 eval "$wx_cv_use_zipstream"
9420 if test x
"$enablestring" = xdisable
; then
9421 if test $wxUSE_ZIPSTREAM = no
; then
9427 result
=$wxUSE_ZIPSTREAM
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9431 $as_echo "$result" >&6; }
9436 defaultval
=$wxUSE_ALL_FEATURES
9437 if test -z "$defaultval"; then
9438 if test x
"$enablestring" = xdisable
; then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
9446 $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
9447 # Check whether --enable-url was given.
9448 if test "${enable_url+set}" = set; then :
9449 enableval
=$enable_url;
9450 if test "$enableval" = yes; then
9451 wx_cv_use_url
='wxUSE_URL=yes'
9453 wx_cv_use_url
='wxUSE_URL=no'
9458 wx_cv_use_url
='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
9463 eval "$wx_cv_use_url"
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_URL = no; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9476 $as_echo "$result" >&6; }
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
9490 $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
9491 # Check whether --enable-protocol was given.
9492 if test "${enable_protocol+set}" = set; then :
9493 enableval=$enable_protocol;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_protocol='wxUSE_PROTOCOL
=yes'
9497 wx_cv_use_protocol='wxUSE_PROTOCOL
=no
'
9502 wx_cv_use_protocol='wxUSE_PROTOCOL
=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
9507 eval "$wx_cv_use_protocol"
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_PROTOCOL = no; then
9516 result=$wxUSE_PROTOCOL
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9520 $as_echo "$result" >&6; }
9524 defaultval=$wxUSE_ALL_FEATURES
9525 if test -z "$defaultval"; then
9526 if test x"$enablestring" = xdisable; then
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-protocol_http" >&5
9534 $as_echo_n "checking
for --${enablestring:-enable}-protocol_http...
" >&6; }
9535 # Check whether --enable-protocol_http was given.
9536 if test "${enable_protocol_http+set}" = set; then :
9537 enableval=$enable_protocol_http;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
9541 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
9546 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
9551 eval "$wx_cv_use_protocol_http"
9553 if test x
"$enablestring" = xdisable
; then
9554 if test $wxUSE_PROTOCOL_HTTP = no
; then
9560 result
=$wxUSE_PROTOCOL_HTTP
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9564 $as_echo "$result" >&6; }
9568 defaultval
=$wxUSE_ALL_FEATURES
9569 if test -z "$defaultval"; then
9570 if test x
"$enablestring" = xdisable
; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
9578 $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
9579 # Check whether --enable-protocol_ftp was given.
9580 if test "${enable_protocol_ftp+set}" = set; then :
9581 enableval
=$enable_protocol_ftp;
9582 if test "$enableval" = yes; then
9583 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
9585 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
9590 wx_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9595 eval "$wx_cv_use_protocol_ftp"
9597 if test x"$enablestring" = xdisable; then
9598 if test $wxUSE_PROTOCOL_FTP = no; then
9604 result=$wxUSE_PROTOCOL_FTP
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9608 $as_echo "$result" >&6; }
9612 defaultval=$wxUSE_ALL_FEATURES
9613 if test -z "$defaultval"; then
9614 if test x"$enablestring" = xdisable; then
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
9622 $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
9623 # Check whether --enable-protocol_file was given.
9624 if test "${enable_protocol_file+set}" = set; then :
9625 enableval=$enable_protocol_file;
9626 if test "$enableval" = yes; then
9627 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=yes'
9629 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=no
'
9634 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE
=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9639 eval "$wx_cv_use_protocol_file"
9641 if test x"$enablestring" = xdisable; then
9642 if test $wxUSE_PROTOCOL_FILE = no; then
9648 result=$wxUSE_PROTOCOL_FILE
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9652 $as_echo "$result" >&6; }
9657 defaultval=$wxUSE_ALL_FEATURES
9658 if test -z "$defaultval"; then
9659 if test x"$enablestring" = xdisable; then
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-threads" >&5
9667 $as_echo_n "checking
for --${enablestring:-enable}-threads...
" >&6; }
9668 # Check whether --enable-threads was given.
9669 if test "${enable_threads+set}" = set; then :
9670 enableval=$enable_threads;
9671 if test "$enableval" = yes; then
9672 wx_cv_use_threads='wxUSE_THREADS=yes'
9674 wx_cv_use_threads='wxUSE_THREADS=no'
9679 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9684 eval "$wx_cv_use_threads"
9686 if test x
"$enablestring" = xdisable
; then
9687 if test $wxUSE_THREADS = no
; then
9693 result
=$wxUSE_THREADS
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9697 $as_echo "$result" >&6; }
9703 if test -z "$defaultval"; then
9704 if test x
"$enablestring" = xdisable
; then
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
9712 $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
9713 # Check whether --enable-iniconf was given.
9714 if test "${enable_iniconf+set}" = set; then :
9715 enableval
=$enable_iniconf;
9716 if test "$enableval" = yes; then
9717 wx_cv_use_iniconf
='wxUSE_INICONF=yes'
9719 wx_cv_use_iniconf
='wxUSE_INICONF=no'
9724 wx_cv_use_iniconf
='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
9729 eval "$wx_cv_use_iniconf"
9731 if test x"$enablestring" = xdisable; then
9732 if test $wxUSE_INICONF = no; then
9738 result=$wxUSE_INICONF
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9742 $as_echo "$result" >&6; }
9746 defaultval=$wxUSE_ALL_FEATURES
9747 if test -z "$defaultval"; then
9748 if test x"$enablestring" = xdisable; then
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
9756 $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
9757 # Check whether --enable-regkey was given.
9758 if test "${enable_regkey+set}" = set; then :
9759 enableval=$enable_regkey;
9760 if test "$enableval" = yes; then
9761 wx_cv_use_regkey='wxUSE_REGKEY
=yes'
9763 wx_cv_use_regkey='wxUSE_REGKEY
=no
'
9768 wx_cv_use_regkey='wxUSE_REGKEY
=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
9773 eval "$wx_cv_use_regkey"
9775 if test x"$enablestring" = xdisable; then
9776 if test $wxUSE_REGKEY = no; then
9782 result=$wxUSE_REGKEY
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9786 $as_echo "$result" >&6; }
9789 if test "$wxUSE_GUI" = "yes"; then
9794 defaultval=$wxUSE_ALL_FEATURES
9795 if test -z "$defaultval"; then
9796 if test x"$enablestring" = xdisable; then
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-docview" >&5
9804 $as_echo_n "checking
for --${enablestring:-enable}-docview...
" >&6; }
9805 # Check whether --enable-docview was given.
9806 if test "${enable_docview+set}" = set; then :
9807 enableval=$enable_docview;
9808 if test "$enableval" = yes; then
9809 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9811 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9816 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9821 eval "$wx_cv_use_docview"
9823 if test x
"$enablestring" = xdisable
; then
9824 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no
; then
9830 result
=$wxUSE_DOC_VIEW_ARCHITECTURE
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9834 $as_echo "$result" >&6; }
9838 defaultval
=$wxUSE_ALL_FEATURES
9839 if test -z "$defaultval"; then
9840 if test x
"$enablestring" = xdisable
; then
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
9848 $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
9849 # Check whether --enable-help was given.
9850 if test "${enable_help+set}" = set; then :
9851 enableval
=$enable_help;
9852 if test "$enableval" = yes; then
9853 wx_cv_use_help
='wxUSE_HELP=yes'
9855 wx_cv_use_help
='wxUSE_HELP=no'
9860 wx_cv_use_help
='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9865 eval "$wx_cv_use_help"
9867 if test x"$enablestring" = xdisable; then
9868 if test $wxUSE_HELP = no; then
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9878 $as_echo "$result" >&6; }
9882 defaultval=$wxUSE_ALL_FEATURES
9883 if test -z "$defaultval"; then
9884 if test x"$enablestring" = xdisable; then
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9892 $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
9893 # Check whether --enable-mshtmlhelp was given.
9894 if test "${enable_mshtmlhelp+set}" = set; then :
9895 enableval=$enable_mshtmlhelp;
9896 if test "$enableval" = yes; then
9897 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=yes'
9899 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=no
'
9904 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP
=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9909 eval "$wx_cv_use_mshtmlhelp"
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_MS_HTML_HELP = no; then
9918 result=$wxUSE_MS_HTML_HELP
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
9922 $as_echo "$result" >&6; }
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z "$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-html" >&5
9936 $as_echo_n "checking
for --${enablestring:-enable}-html...
" >&6; }
9937 # Check whether --enable-html was given.
9938 if test "${enable_html+set}" = set; then :
9939 enableval=$enable_html;
9940 if test "$enableval" = yes; then
9941 wx_cv_use_html='wxUSE_HTML=yes'
9943 wx_cv_use_html='wxUSE_HTML=no'
9948 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9953 eval "$wx_cv_use_html"
9955 if test x
"$enablestring" = xdisable
; then
9956 if test $wxUSE_HTML = no
; then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
9966 $as_echo "$result" >&6; }
9970 defaultval
=$wxUSE_ALL_FEATURES
9971 if test -z "$defaultval"; then
9972 if test x
"$enablestring" = xdisable
; then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
9980 $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
9981 # Check whether --enable-htmlhelp was given.
9982 if test "${enable_htmlhelp+set}" = set; then :
9983 enableval
=$enable_htmlhelp;
9984 if test "$enableval" = yes; then
9985 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
9987 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
9992 wx_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9997 eval "$wx_cv_use_htmlhelp"
9999 if test x"$enablestring" = xdisable; then
10000 if test $wxUSE_WXHTML_HELP = no; then
10006 result=$wxUSE_WXHTML_HELP
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10010 $as_echo "$result" >&6; }
10014 defaultval=$wxUSE_ALL_FEATURES
10015 if test -z "$defaultval"; then
10016 if test x"$enablestring" = xdisable; then
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
10024 $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
10025 # Check whether --enable-xrc was given.
10026 if test "${enable_xrc+set}" = set; then :
10027 enableval=$enable_xrc;
10028 if test "$enableval" = yes; then
10029 wx_cv_use_xrc='wxUSE_XRC
=yes'
10031 wx_cv_use_xrc='wxUSE_XRC
=no
'
10036 wx_cv_use_xrc='wxUSE_XRC
=${'DEFAULT_wxUSE_XRC":-$defaultval}"
10041 eval "$wx_cv_use_xrc"
10043 if test x"$enablestring" = xdisable; then
10044 if test $wxUSE_XRC = no; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10054 $as_echo "$result" >&6; }
10058 defaultval=$wxUSE_ALL_FEATURES
10059 if test -z "$defaultval"; then
10060 if test x"$enablestring" = xdisable; then
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-aui" >&5
10068 $as_echo_n "checking
for --${enablestring:-enable}-aui...
" >&6; }
10069 # Check whether --enable-aui was given.
10070 if test "${enable_aui+set}" = set; then :
10071 enableval=$enable_aui;
10072 if test "$enableval" = yes; then
10073 wx_cv_use_aui='wxUSE_AUI=yes'
10075 wx_cv_use_aui='wxUSE_AUI=no'
10080 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
10085 eval "$wx_cv_use_aui"
10087 if test x
"$enablestring" = xdisable
; then
10088 if test $wxUSE_AUI = no
; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10098 $as_echo "$result" >&6; }
10102 defaultval
=$wxUSE_ALL_FEATURES
10103 if test -z "$defaultval"; then
10104 if test x
"$enablestring" = xdisable
; then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
10112 $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
10113 # Check whether --enable-propgrid was given.
10114 if test "${enable_propgrid+set}" = set; then :
10115 enableval
=$enable_propgrid;
10116 if test "$enableval" = yes; then
10117 wx_cv_use_propgrid
='wxUSE_PROPGRID=yes'
10119 wx_cv_use_propgrid
='wxUSE_PROPGRID=no'
10124 wx_cv_use_propgrid
='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
10129 eval "$wx_cv_use_propgrid"
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_PROPGRID = no; then
10138 result=$wxUSE_PROPGRID
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10142 $as_echo "$result" >&6; }
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z "$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
10156 $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
10157 # Check whether --enable-ribbon was given.
10158 if test "${enable_ribbon+set}" = set; then :
10159 enableval=$enable_ribbon;
10160 if test "$enableval" = yes; then
10161 wx_cv_use_ribbon='wxUSE_RIBBON
=yes'
10163 wx_cv_use_ribbon='wxUSE_RIBBON
=no
'
10168 wx_cv_use_ribbon='wxUSE_RIBBON
=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
10173 eval "$wx_cv_use_ribbon"
10175 if test x"$enablestring" = xdisable; then
10176 if test $wxUSE_RIBBON = no; then
10182 result=$wxUSE_RIBBON
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10186 $as_echo "$result" >&6; }
10190 defaultval=$wxUSE_ALL_FEATURES
10191 if test -z "$defaultval"; then
10192 if test x"$enablestring" = xdisable; then
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-stc" >&5
10200 $as_echo_n "checking
for --${enablestring:-enable}-stc...
" >&6; }
10201 # Check whether --enable-stc was given.
10202 if test "${enable_stc+set}" = set; then :
10203 enableval=$enable_stc;
10204 if test "$enableval" = yes; then
10205 wx_cv_use_stc='wxUSE_STC=yes'
10207 wx_cv_use_stc='wxUSE_STC=no'
10212 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
10217 eval "$wx_cv_use_stc"
10219 if test x
"$enablestring" = xdisable
; then
10220 if test $wxUSE_STC = no
; then
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10230 $as_echo "$result" >&6; }
10234 defaultval
=$wxUSE_ALL_FEATURES
10235 if test -z "$defaultval"; then
10236 if test x
"$enablestring" = xdisable
; then
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
10244 $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
10245 # Check whether --enable-constraints was given.
10246 if test "${enable_constraints+set}" = set; then :
10247 enableval
=$enable_constraints;
10248 if test "$enableval" = yes; then
10249 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
10251 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
10256 wx_cv_use_constraints
='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
10261 eval "$wx_cv_use_constraints"
10263 if test x"$enablestring" = xdisable; then
10264 if test $wxUSE_CONSTRAINTS = no; then
10270 result=$wxUSE_CONSTRAINTS
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10274 $as_echo "$result" >&6; }
10278 defaultval=$wxUSE_ALL_FEATURES
10279 if test -z "$defaultval"; then
10280 if test x"$enablestring" = xdisable; then
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
10288 $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
10289 # Check whether --enable-loggui was given.
10290 if test "${enable_loggui+set}" = set; then :
10291 enableval=$enable_loggui;
10292 if test "$enableval" = yes; then
10293 wx_cv_use_loggui='wxUSE_LOGGUI
=yes'
10295 wx_cv_use_loggui='wxUSE_LOGGUI
=no
'
10300 wx_cv_use_loggui='wxUSE_LOGGUI
=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
10305 eval "$wx_cv_use_loggui"
10307 if test x"$enablestring" = xdisable; then
10308 if test $wxUSE_LOGGUI = no; then
10314 result=$wxUSE_LOGGUI
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10318 $as_echo "$result" >&6; }
10322 defaultval=$wxUSE_ALL_FEATURES
10323 if test -z "$defaultval"; then
10324 if test x"$enablestring" = xdisable; then
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-logwin" >&5
10332 $as_echo_n "checking
for --${enablestring:-enable}-logwin...
" >&6; }
10333 # Check whether --enable-logwin was given.
10334 if test "${enable_logwin+set}" = set; then :
10335 enableval=$enable_logwin;
10336 if test "$enableval" = yes; then
10337 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
10339 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
10344 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
10349 eval "$wx_cv_use_logwin"
10351 if test x
"$enablestring" = xdisable
; then
10352 if test $wxUSE_LOGWINDOW = no
; then
10358 result
=$wxUSE_LOGWINDOW
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10362 $as_echo "$result" >&6; }
10366 defaultval
=$wxUSE_ALL_FEATURES
10367 if test -z "$defaultval"; then
10368 if test x
"$enablestring" = xdisable
; then
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
10376 $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
10377 # Check whether --enable-logdialog was given.
10378 if test "${enable_logdialog+set}" = set; then :
10379 enableval
=$enable_logdialog;
10380 if test "$enableval" = yes; then
10381 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
10383 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
10388 wx_cv_use_logdialog
='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
10393 eval "$wx_cv_use_logdialog"
10395 if test x"$enablestring" = xdisable; then
10396 if test $wxUSE_LOGDIALOG = no; then
10402 result=$wxUSE_LOGDIALOG
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10406 $as_echo "$result" >&6; }
10410 defaultval=$wxUSE_ALL_FEATURES
10411 if test -z "$defaultval"; then
10412 if test x"$enablestring" = xdisable; then
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
10420 $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
10421 # Check whether --enable-mdi was given.
10422 if test "${enable_mdi+set}" = set; then :
10423 enableval=$enable_mdi;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_mdi='wxUSE_MDI
=yes'
10427 wx_cv_use_mdi='wxUSE_MDI
=no
'
10432 wx_cv_use_mdi='wxUSE_MDI
=${'DEFAULT_wxUSE_MDI":-$defaultval}"
10437 eval "$wx_cv_use_mdi"
10439 if test x"$enablestring" = xdisable; then
10440 if test $wxUSE_MDI = no; then
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10450 $as_echo "$result" >&6; }
10454 defaultval=$wxUSE_ALL_FEATURES
10455 if test -z "$defaultval"; then
10456 if test x"$enablestring" = xdisable; then
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mdidoc" >&5
10464 $as_echo_n "checking
for --${enablestring:-enable}-mdidoc...
" >&6; }
10465 # Check whether --enable-mdidoc was given.
10466 if test "${enable_mdidoc+set}" = set; then :
10467 enableval=$enable_mdidoc;
10468 if test "$enableval" = yes; then
10469 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
10471 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
10476 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
10481 eval "$wx_cv_use_mdidoc"
10483 if test x
"$enablestring" = xdisable
; then
10484 if test $wxUSE_MDI_ARCHITECTURE = no
; then
10490 result
=$wxUSE_MDI_ARCHITECTURE
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10494 $as_echo "$result" >&6; }
10498 defaultval
=$wxUSE_ALL_FEATURES
10499 if test -z "$defaultval"; then
10500 if test x
"$enablestring" = xdisable
; then
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
10508 $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
10509 # Check whether --enable-mediactrl was given.
10510 if test "${enable_mediactrl+set}" = set; then :
10511 enableval
=$enable_mediactrl;
10512 if test "$enableval" = yes; then
10513 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=yes'
10515 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=no'
10520 wx_cv_use_mediactrl
='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
10525 eval "$wx_cv_use_mediactrl"
10527 if test x"$enablestring" = xdisable; then
10528 if test $wxUSE_MEDIACTRL = no; then
10534 result=$wxUSE_MEDIACTRL
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10538 $as_echo "$result" >&6; }
10542 defaultval=$wxUSE_ALL_FEATURES
10543 if test -z "$defaultval"; then
10544 if test x"$enablestring" = xdisable; then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
10552 $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
10553 # Check whether --enable-gstreamer8 was given.
10554 if test "${enable_gstreamer8+set}" = set; then :
10555 enableval=$enable_gstreamer8;
10556 if test "$enableval" = yes; then
10557 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=yes'
10559 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=no
'
10564 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8
=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
10569 eval "$wx_cv_use_gstreamer8"
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_GSTREAMER8 = no; then
10578 result=$wxUSE_GSTREAMER8
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10582 $as_echo "$result" >&6; }
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z "$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richtext" >&5
10596 $as_echo_n "checking
for --${enablestring:-enable}-richtext...
" >&6; }
10597 # Check whether --enable-richtext was given.
10598 if test "${enable_richtext+set}" = set; then :
10599 enableval=$enable_richtext;
10600 if test "$enableval" = yes; then
10601 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10603 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10608 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10613 eval "$wx_cv_use_richtext"
10615 if test x
"$enablestring" = xdisable
; then
10616 if test $wxUSE_RICHTEXT = no
; then
10622 result
=$wxUSE_RICHTEXT
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10626 $as_echo "$result" >&6; }
10630 defaultval
=$wxUSE_ALL_FEATURES
10631 if test -z "$defaultval"; then
10632 if test x
"$enablestring" = xdisable
; then
10639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
10640 $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
10641 # Check whether --enable-postscript was given.
10642 if test "${enable_postscript+set}" = set; then :
10643 enableval
=$enable_postscript;
10644 if test "$enableval" = yes; then
10645 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
10647 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
10652 wx_cv_use_postscript
='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10657 eval "$wx_cv_use_postscript"
10659 if test x"$enablestring" = xdisable; then
10660 if test $wxUSE_POSTSCRIPT = no; then
10666 result=$wxUSE_POSTSCRIPT
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10670 $as_echo "$result" >&6; }
10674 defaultval=$wxUSE_ALL_FEATURES
10675 if test -z "$defaultval"; then
10676 if test x"$enablestring" = xdisable; then
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
10684 $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
10685 # Check whether --enable-printarch was given.
10686 if test "${enable_printarch+set}" = set; then :
10687 enableval=$enable_printarch;
10688 if test "$enableval" = yes; then
10689 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=yes'
10691 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=no
'
10696 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE
=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
10701 eval "$wx_cv_use_printarch"
10703 if test x"$enablestring" = xdisable; then
10704 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
10710 result=$wxUSE_PRINTING_ARCHITECTURE
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10714 $as_echo "$result" >&6; }
10718 defaultval=$wxUSE_ALL_FEATURES
10719 if test -z "$defaultval"; then
10720 if test x"$enablestring" = xdisable; then
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-svg" >&5
10728 $as_echo_n "checking
for --${enablestring:-enable}-svg...
" >&6; }
10729 # Check whether --enable-svg was given.
10730 if test "${enable_svg+set}" = set; then :
10731 enableval=$enable_svg;
10732 if test "$enableval" = yes; then
10733 wx_cv_use_svg='wxUSE_SVG=yes'
10735 wx_cv_use_svg='wxUSE_SVG=no'
10740 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10745 eval "$wx_cv_use_svg"
10747 if test x
"$enablestring" = xdisable
; then
10748 if test $wxUSE_SVG = no
; then
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10758 $as_echo "$result" >&6; }
10762 defaultval
=$wxUSE_ALL_FEATURES
10763 if test -z "$defaultval"; then
10764 if test x
"$enablestring" = xdisable
; then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
10772 $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
10773 # Check whether --enable-webkit was given.
10774 if test "${enable_webkit+set}" = set; then :
10775 enableval
=$enable_webkit;
10776 if test "$enableval" = yes; then
10777 wx_cv_use_webkit
='wxUSE_WEBKIT=yes'
10779 wx_cv_use_webkit
='wxUSE_WEBKIT=no'
10784 wx_cv_use_webkit
='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
10789 eval "$wx_cv_use_webkit"
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_WEBKIT = no; then
10798 result=$wxUSE_WEBKIT
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10802 $as_echo "$result" >&6; }
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z "$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
10816 $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
10817 # Check whether --enable-webview was given.
10818 if test "${enable_webview+set}" = set; then :
10819 enableval=$enable_webview;
10820 if test "$enableval" = yes; then
10821 wx_cv_use_webview='wxUSE_WEBVIEW
=yes'
10823 wx_cv_use_webview='wxUSE_WEBVIEW
=no
'
10828 wx_cv_use_webview='wxUSE_WEBVIEW
=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
10833 eval "$wx_cv_use_webview"
10835 if test x"$enablestring" = xdisable; then
10836 if test $wxUSE_WEBVIEW = no; then
10842 result=$wxUSE_WEBVIEW
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10846 $as_echo "$result" >&6; }
10849 if test "$wxUSE_MAC" != 1; then
10852 defaultval=$wxUSE_ALL_FEATURES
10853 if test -z "$defaultval"; then
10854 if test x"$enablestring" = xdisable; then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-graphics_ctx" >&5
10862 $as_echo_n "checking
for --${enablestring:-enable}-graphics_ctx...
" >&6; }
10863 # Check whether --enable-graphics_ctx was given.
10864 if test "${enable_graphics_ctx+set}" = set; then :
10865 enableval=$enable_graphics_ctx;
10866 if test "$enableval" = yes; then
10867 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10869 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10874 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10879 eval "$wx_cv_use_graphics_ctx"
10881 if test x
"$enablestring" = xdisable
; then
10882 if test $wxUSE_GRAPHICS_CONTEXT = no
; then
10888 result
=$wxUSE_GRAPHICS_CONTEXT
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10892 $as_echo "$result" >&6; }
10899 defaultval
=$wxUSE_ALL_FEATURES
10900 if test -z "$defaultval"; then
10901 if test x
"$enablestring" = xdisable
; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
10909 $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
10910 # Check whether --enable-clipboard was given.
10911 if test "${enable_clipboard+set}" = set; then :
10912 enableval
=$enable_clipboard;
10913 if test "$enableval" = yes; then
10914 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
10916 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
10921 wx_cv_use_clipboard
='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10926 eval "$wx_cv_use_clipboard"
10928 if test x"$enablestring" = xdisable; then
10929 if test $wxUSE_CLIPBOARD = no; then
10935 result=$wxUSE_CLIPBOARD
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
10939 $as_echo "$result" >&6; }
10943 defaultval=$wxUSE_ALL_FEATURES
10944 if test -z "$defaultval"; then
10945 if test x"$enablestring" = xdisable; then
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
10953 $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
10954 # Check whether --enable-dnd was given.
10955 if test "${enable_dnd+set}" = set; then :
10956 enableval=$enable_dnd;
10957 if test "$enableval" = yes; then
10958 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=yes'
10960 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=no
'
10965 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP
=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10970 eval "$wx_cv_use_dnd"
10972 if test x"$enablestring" = xdisable; then
10973 if test $wxUSE_DRAG_AND_DROP = no; then
10979 result=$wxUSE_DRAG_AND_DROP
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
10983 $as_echo "$result" >&6; }
10987 DEFAULT_wxUSE_CONTROLS=none
10989 enablestring=disable
10991 if test -z "$defaultval"; then
10992 if test x"$enablestring" = xdisable; then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-controls" >&5
11000 $as_echo_n "checking
for --${enablestring:-enable}-controls...
" >&6; }
11001 # Check whether --enable-controls was given.
11002 if test "${enable_controls+set}" = set; then :
11003 enableval=$enable_controls;
11004 if test "$enableval" = yes; then
11005 wx_cv_use_controls='wxUSE_CONTROLS=yes'
11007 wx_cv_use_controls='wxUSE_CONTROLS=no'
11012 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
11017 eval "$wx_cv_use_controls"
11019 if test x
"$enablestring" = xdisable
; then
11020 if test $wxUSE_CONTROLS = no
; then
11026 result
=$wxUSE_CONTROLS
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11030 $as_echo "$result" >&6; }
11033 if test "$wxUSE_CONTROLS" = "no"; then
11034 DEFAULT_wxUSE_ACCEL
=no
11035 DEFAULT_wxUSE_ANIMATIONCTRL
=no
11036 DEFAULT_wxUSE_BANNERWINDOW
=no
11037 DEFAULT_wxUSE_BMPBUTTON
=no
11038 DEFAULT_wxUSE_BUTTON
=no
11039 DEFAULT_wxUSE_CALCTRL
=no
11040 DEFAULT_wxUSE_CARET
=no
11041 DEFAULT_wxUSE_CHECKBOX
=no
11042 DEFAULT_wxUSE_CHECKLISTBOX
=no
11043 DEFAULT_wxUSE_CHOICE
=no
11044 DEFAULT_wxUSE_CHOICEBOOK
=no
11045 DEFAULT_wxUSE_COLLPANE
=no
11046 DEFAULT_wxUSE_COLOURPICKERCTRL
=no
11047 DEFAULT_wxUSE_COMBOBOX
=no
11048 DEFAULT_wxUSE_COMBOBOX
=no
11049 DEFAULT_wxUSE_COMMANDLINKBUTTON
=no
11050 DEFAULT_wxUSE_DATAVIEWCTRL
=no
11051 DEFAULT_wxUSE_DATEPICKCTRL
=no
11052 DEFAULT_wxUSE_DETECT_SM
=no
11053 DEFAULT_wxUSE_DIRPICKERCTRL
=no
11054 DEFAULT_wxUSE_DISPLAY
=no
11055 DEFAULT_wxUSE_FILECTRL
=no
11056 DEFAULT_wxUSE_FILEPICKERCTRL
=no
11057 DEFAULT_wxUSE_FONTPICKERCTRL
=no
11058 DEFAULT_wxUSE_GAUGE
=no
11059 DEFAULT_wxUSE_GRID
=no
11060 DEFAULT_wxUSE_HEADERCTRL
=no
11061 DEFAULT_wxUSE_HYPERLINKCTRL
=no
11062 DEFAULT_wxUSE_IMAGLIST
=no
11063 DEFAULT_wxUSE_LISTBOOK
=no
11064 DEFAULT_wxUSE_LISTBOX
=no
11065 DEFAULT_wxUSE_LISTCTRL
=no
11066 DEFAULT_wxUSE_MARKUP
=no
11067 DEFAULT_wxUSE_NOTEBOOK
=no
11068 DEFAULT_wxUSE_POPUPWIN
=no
11069 DEFAULT_wxUSE_RADIOBOX
=no
11070 DEFAULT_wxUSE_RADIOBTN
=no
11071 DEFAULT_wxUSE_RICHMSGDLG
=no
11072 DEFAULT_wxUSE_RICHTOOLTIP
=no
11073 DEFAULT_wxUSE_REARRANGECTRL
=no
11074 DEFAULT_wxUSE_SASH
=no
11075 DEFAULT_wxUSE_SCROLLBAR
=no
11076 DEFAULT_wxUSE_SEARCHCTRL
=no
11077 DEFAULT_wxUSE_SLIDER
=no
11078 DEFAULT_wxUSE_SPINBTN
=no
11079 DEFAULT_wxUSE_SPINCTRL
=no
11080 DEFAULT_wxUSE_SPLITTER
=no
11081 DEFAULT_wxUSE_STATBMP
=no
11082 DEFAULT_wxUSE_STATBOX
=no
11083 DEFAULT_wxUSE_STATLINE
=no
11084 DEFAULT_wxUSE_STATUSBAR
=no
11085 DEFAULT_wxUSE_TIMEPICKCTRL
=no
11086 DEFAULT_wxUSE_TIPWINDOW
=no
11087 DEFAULT_wxUSE_TOGGLEBTN
=no
11088 DEFAULT_wxUSE_TOOLBAR
=no
11089 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
11090 DEFAULT_wxUSE_TOOLBOOK
=no
11091 DEFAULT_wxUSE_TOOLTIPS
=no
11092 DEFAULT_wxUSE_TREEBOOK
=no
11093 DEFAULT_wxUSE_TREECTRL
=no
11094 DEFAULT_wxUSE_TREELISTCTRL
=no
11099 defaultval
=$wxUSE_ALL_FEATURES
11100 if test -z "$defaultval"; then
11101 if test x
"$enablestring" = xdisable
; then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
11109 $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
11110 # Check whether --enable-markup was given.
11111 if test "${enable_markup+set}" = set; then :
11112 enableval
=$enable_markup;
11113 if test "$enableval" = yes; then
11114 wx_cv_use_markup
='wxUSE_MARKUP=yes'
11116 wx_cv_use_markup
='wxUSE_MARKUP=no'
11121 wx_cv_use_markup
='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
11126 eval "$wx_cv_use_markup"
11128 if test x"$enablestring" = xdisable; then
11129 if test $wxUSE_MARKUP = no; then
11135 result=$wxUSE_MARKUP
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11139 $as_echo "$result" >&6; }
11144 defaultval=$wxUSE_ALL_FEATURES
11145 if test -z "$defaultval"; then
11146 if test x"$enablestring" = xdisable; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
11154 $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
11155 # Check whether --enable-accel was given.
11156 if test "${enable_accel+set}" = set; then :
11157 enableval=$enable_accel;
11158 if test "$enableval" = yes; then
11159 wx_cv_use_accel='wxUSE_ACCEL
=yes'
11161 wx_cv_use_accel='wxUSE_ACCEL
=no
'
11166 wx_cv_use_accel='wxUSE_ACCEL
=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
11171 eval "$wx_cv_use_accel"
11173 if test x"$enablestring" = xdisable; then
11174 if test $wxUSE_ACCEL = no; then
11180 result=$wxUSE_ACCEL
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11184 $as_echo "$result" >&6; }
11188 defaultval=$wxUSE_ALL_FEATURES
11189 if test -z "$defaultval"; then
11190 if test x"$enablestring" = xdisable; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-animatectrl" >&5
11198 $as_echo_n "checking
for --${enablestring:-enable}-animatectrl...
" >&6; }
11199 # Check whether --enable-animatectrl was given.
11200 if test "${enable_animatectrl+set}" = set; then :
11201 enableval=$enable_animatectrl;
11202 if test "$enableval" = yes; then
11203 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
11205 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
11210 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
11215 eval "$wx_cv_use_animatectrl"
11217 if test x
"$enablestring" = xdisable
; then
11218 if test $wxUSE_ANIMATIONCTRL = no
; then
11224 result
=$wxUSE_ANIMATIONCTRL
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11228 $as_echo "$result" >&6; }
11232 defaultval
=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x
"$enablestring" = xdisable
; then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
11242 $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
11243 # Check whether --enable-bannerwindow was given.
11244 if test "${enable_bannerwindow+set}" = set; then :
11245 enableval
=$enable_bannerwindow;
11246 if test "$enableval" = yes; then
11247 wx_cv_use_bannerwindow
='wxUSE_BANNERWINDOW=yes'
11249 wx_cv_use_bannerwindow
='wxUSE_BANNERWINDOW=no'
11254 wx_cv_use_bannerwindow
='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
11259 eval "$wx_cv_use_bannerwindow"
11261 if test x"$enablestring" = xdisable; then
11262 if test $wxUSE_BANNERWINDOW = no; then
11268 result=$wxUSE_BANNERWINDOW
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11272 $as_echo "$result" >&6; }
11276 defaultval=$wxUSE_ALL_FEATURES
11277 if test -z "$defaultval"; then
11278 if test x"$enablestring" = xdisable; then
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
11286 $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
11287 # Check whether --enable-artstd was given.
11288 if test "${enable_artstd+set}" = set; then :
11289 enableval=$enable_artstd;
11290 if test "$enableval" = yes; then
11291 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=yes'
11293 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=no
'
11298 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD
=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
11303 eval "$wx_cv_use_artstd"
11305 if test x"$enablestring" = xdisable; then
11306 if test $wxUSE_ARTPROVIDER_STD = no; then
11312 result=$wxUSE_ARTPROVIDER_STD
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11316 $as_echo "$result" >&6; }
11320 defaultval=$wxUSE_ALL_FEATURES
11321 if test -z "$defaultval"; then
11322 if test x"$enablestring" = xdisable; then
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-arttango" >&5
11330 $as_echo_n "checking
for --${enablestring:-enable}-arttango...
" >&6; }
11331 # Check whether --enable-arttango was given.
11332 if test "${enable_arttango+set}" = set; then :
11333 enableval=$enable_arttango;
11334 if test "$enableval" = yes; then
11335 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
11337 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
11342 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
11347 eval "$wx_cv_use_arttango"
11349 if test x
"$enablestring" = xdisable
; then
11350 if test $wxUSE_ARTPROVIDER_TANGO = no
; then
11356 result
=$wxUSE_ARTPROVIDER_TANGO
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11360 $as_echo "$result" >&6; }
11364 defaultval
=$wxUSE_ALL_FEATURES
11365 if test -z "$defaultval"; then
11366 if test x
"$enablestring" = xdisable
; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
11374 $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
11375 # Check whether --enable-bmpbutton was given.
11376 if test "${enable_bmpbutton+set}" = set; then :
11377 enableval
=$enable_bmpbutton;
11378 if test "$enableval" = yes; then
11379 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
11381 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
11386 wx_cv_use_bmpbutton
='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
11391 eval "$wx_cv_use_bmpbutton"
11393 if test x"$enablestring" = xdisable; then
11394 if test $wxUSE_BMPBUTTON = no; then
11400 result=$wxUSE_BMPBUTTON
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11404 $as_echo "$result" >&6; }
11408 defaultval=$wxUSE_ALL_FEATURES
11409 if test -z "$defaultval"; then
11410 if test x"$enablestring" = xdisable; then
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
11418 $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
11419 # Check whether --enable-bmpcombobox was given.
11420 if test "${enable_bmpcombobox+set}" = set; then :
11421 enableval=$enable_bmpcombobox;
11422 if test "$enableval" = yes; then
11423 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=yes'
11425 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=no
'
11430 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX
=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
11435 eval "$wx_cv_use_bmpcombobox"
11437 if test x"$enablestring" = xdisable; then
11438 if test $wxUSE_BITMAPCOMBOBOX = no; then
11444 result=$wxUSE_BITMAPCOMBOBOX
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11448 $as_echo "$result" >&6; }
11452 defaultval=$wxUSE_ALL_FEATURES
11453 if test -z "$defaultval"; then
11454 if test x"$enablestring" = xdisable; then
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-button" >&5
11462 $as_echo_n "checking
for --${enablestring:-enable}-button...
" >&6; }
11463 # Check whether --enable-button was given.
11464 if test "${enable_button+set}" = set; then :
11465 enableval=$enable_button;
11466 if test "$enableval" = yes; then
11467 wx_cv_use_button='wxUSE_BUTTON=yes'
11469 wx_cv_use_button='wxUSE_BUTTON=no'
11474 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
11479 eval "$wx_cv_use_button"
11481 if test x
"$enablestring" = xdisable
; then
11482 if test $wxUSE_BUTTON = no
; then
11488 result
=$wxUSE_BUTTON
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11492 $as_echo "$result" >&6; }
11496 defaultval
=$wxUSE_ALL_FEATURES
11497 if test -z "$defaultval"; then
11498 if test x
"$enablestring" = xdisable
; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
11506 $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
11507 # Check whether --enable-calendar was given.
11508 if test "${enable_calendar+set}" = set; then :
11509 enableval
=$enable_calendar;
11510 if test "$enableval" = yes; then
11511 wx_cv_use_calendar
='wxUSE_CALCTRL=yes'
11513 wx_cv_use_calendar
='wxUSE_CALCTRL=no'
11518 wx_cv_use_calendar
='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
11523 eval "$wx_cv_use_calendar"
11525 if test x"$enablestring" = xdisable; then
11526 if test $wxUSE_CALCTRL = no; then
11532 result=$wxUSE_CALCTRL
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11536 $as_echo "$result" >&6; }
11540 defaultval=$wxUSE_ALL_FEATURES
11541 if test -z "$defaultval"; then
11542 if test x"$enablestring" = xdisable; then
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
11550 $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
11551 # Check whether --enable-caret was given.
11552 if test "${enable_caret+set}" = set; then :
11553 enableval=$enable_caret;
11554 if test "$enableval" = yes; then
11555 wx_cv_use_caret='wxUSE_CARET
=yes'
11557 wx_cv_use_caret='wxUSE_CARET
=no
'
11562 wx_cv_use_caret='wxUSE_CARET
=${'DEFAULT_wxUSE_CARET":-$defaultval}"
11567 eval "$wx_cv_use_caret"
11569 if test x"$enablestring" = xdisable; then
11570 if test $wxUSE_CARET = no; then
11576 result=$wxUSE_CARET
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11580 $as_echo "$result" >&6; }
11584 defaultval=$wxUSE_ALL_FEATURES
11585 if test -z "$defaultval"; then
11586 if test x"$enablestring" = xdisable; then
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-checkbox" >&5
11594 $as_echo_n "checking
for --${enablestring:-enable}-checkbox...
" >&6; }
11595 # Check whether --enable-checkbox was given.
11596 if test "${enable_checkbox+set}" = set; then :
11597 enableval=$enable_checkbox;
11598 if test "$enableval" = yes; then
11599 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
11601 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
11606 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
11611 eval "$wx_cv_use_checkbox"
11613 if test x
"$enablestring" = xdisable
; then
11614 if test $wxUSE_CHECKBOX = no
; then
11620 result
=$wxUSE_CHECKBOX
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11624 $as_echo "$result" >&6; }
11628 defaultval
=$wxUSE_ALL_FEATURES
11629 if test -z "$defaultval"; then
11630 if test x
"$enablestring" = xdisable
; then
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
11638 $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
11639 # Check whether --enable-checklst was given.
11640 if test "${enable_checklst+set}" = set; then :
11641 enableval
=$enable_checklst;
11642 if test "$enableval" = yes; then
11643 wx_cv_use_checklst
='wxUSE_CHECKLST=yes'
11645 wx_cv_use_checklst
='wxUSE_CHECKLST=no'
11650 wx_cv_use_checklst
='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11655 eval "$wx_cv_use_checklst"
11657 if test x"$enablestring" = xdisable; then
11658 if test $wxUSE_CHECKLST = no; then
11664 result=$wxUSE_CHECKLST
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11668 $as_echo "$result" >&6; }
11672 defaultval=$wxUSE_ALL_FEATURES
11673 if test -z "$defaultval"; then
11674 if test x"$enablestring" = xdisable; then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
11682 $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
11683 # Check whether --enable-choice was given.
11684 if test "${enable_choice+set}" = set; then :
11685 enableval=$enable_choice;
11686 if test "$enableval" = yes; then
11687 wx_cv_use_choice='wxUSE_CHOICE
=yes'
11689 wx_cv_use_choice='wxUSE_CHOICE
=no
'
11694 wx_cv_use_choice='wxUSE_CHOICE
=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11699 eval "$wx_cv_use_choice"
11701 if test x"$enablestring" = xdisable; then
11702 if test $wxUSE_CHOICE = no; then
11708 result=$wxUSE_CHOICE
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11712 $as_echo "$result" >&6; }
11716 defaultval=$wxUSE_ALL_FEATURES
11717 if test -z "$defaultval"; then
11718 if test x"$enablestring" = xdisable; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-choicebook" >&5
11726 $as_echo_n "checking
for --${enablestring:-enable}-choicebook...
" >&6; }
11727 # Check whether --enable-choicebook was given.
11728 if test "${enable_choicebook+set}" = set; then :
11729 enableval=$enable_choicebook;
11730 if test "$enableval" = yes; then
11731 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11733 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11738 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11743 eval "$wx_cv_use_choicebook"
11745 if test x
"$enablestring" = xdisable
; then
11746 if test $wxUSE_CHOICEBOOK = no
; then
11752 result
=$wxUSE_CHOICEBOOK
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11756 $as_echo "$result" >&6; }
11760 defaultval
=$wxUSE_ALL_FEATURES
11761 if test -z "$defaultval"; then
11762 if test x
"$enablestring" = xdisable
; then
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
11770 $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
11771 # Check whether --enable-collpane was given.
11772 if test "${enable_collpane+set}" = set; then :
11773 enableval
=$enable_collpane;
11774 if test "$enableval" = yes; then
11775 wx_cv_use_collpane
='wxUSE_COLLPANE=yes'
11777 wx_cv_use_collpane
='wxUSE_COLLPANE=no'
11782 wx_cv_use_collpane
='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11787 eval "$wx_cv_use_collpane"
11789 if test x"$enablestring" = xdisable; then
11790 if test $wxUSE_COLLPANE = no; then
11796 result=$wxUSE_COLLPANE
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11800 $as_echo "$result" >&6; }
11804 defaultval=$wxUSE_ALL_FEATURES
11805 if test -z "$defaultval"; then
11806 if test x"$enablestring" = xdisable; then
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
11814 $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
11815 # Check whether --enable-colourpicker was given.
11816 if test "${enable_colourpicker+set}" = set; then :
11817 enableval=$enable_colourpicker;
11818 if test "$enableval" = yes; then
11819 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=yes'
11821 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=no
'
11826 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL
=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11831 eval "$wx_cv_use_colourpicker"
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_COLOURPICKERCTRL = no; then
11840 result=$wxUSE_COLOURPICKERCTRL
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11844 $as_echo "$result" >&6; }
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-combobox" >&5
11858 $as_echo_n "checking
for --${enablestring:-enable}-combobox...
" >&6; }
11859 # Check whether --enable-combobox was given.
11860 if test "${enable_combobox+set}" = set; then :
11861 enableval=$enable_combobox;
11862 if test "$enableval" = yes; then
11863 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11865 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11870 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11875 eval "$wx_cv_use_combobox"
11877 if test x
"$enablestring" = xdisable
; then
11878 if test $wxUSE_COMBOBOX = no
; then
11884 result
=$wxUSE_COMBOBOX
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11888 $as_echo "$result" >&6; }
11892 defaultval
=$wxUSE_ALL_FEATURES
11893 if test -z "$defaultval"; then
11894 if test x
"$enablestring" = xdisable
; then
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
11902 $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
11903 # Check whether --enable-comboctrl was given.
11904 if test "${enable_comboctrl+set}" = set; then :
11905 enableval
=$enable_comboctrl;
11906 if test "$enableval" = yes; then
11907 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=yes'
11909 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=no'
11914 wx_cv_use_comboctrl
='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11919 eval "$wx_cv_use_comboctrl"
11921 if test x"$enablestring" = xdisable; then
11922 if test $wxUSE_COMBOCTRL = no; then
11928 result=$wxUSE_COMBOCTRL
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
11932 $as_echo "$result" >&6; }
11936 defaultval=$wxUSE_ALL_FEATURES
11937 if test -z "$defaultval"; then
11938 if test x"$enablestring" = xdisable; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
11946 $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
11947 # Check whether --enable-commandlinkbutton was given.
11948 if test "${enable_commandlinkbutton+set}" = set; then :
11949 enableval=$enable_commandlinkbutton;
11950 if test "$enableval" = yes; then
11951 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=yes'
11953 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=no
'
11958 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON
=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
11963 eval "$wx_cv_use_commandlinkbutton"
11965 if test x"$enablestring" = xdisable; then
11966 if test $wxUSE_COMMANDLINKBUTTON = no; then
11972 result=$wxUSE_COMMANDLINKBUTTON
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
11976 $as_echo "$result" >&6; }
11980 defaultval=$wxUSE_ALL_FEATURES
11981 if test -z "$defaultval"; then
11982 if test x"$enablestring" = xdisable; then
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dataviewctrl" >&5
11990 $as_echo_n "checking
for --${enablestring:-enable}-dataviewctrl...
" >&6; }
11991 # Check whether --enable-dataviewctrl was given.
11992 if test "${enable_dataviewctrl+set}" = set; then :
11993 enableval=$enable_dataviewctrl;
11994 if test "$enableval" = yes; then
11995 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11997 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
12002 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
12007 eval "$wx_cv_use_dataviewctrl"
12009 if test x
"$enablestring" = xdisable
; then
12010 if test $wxUSE_DATAVIEWCTRL = no
; then
12016 result
=$wxUSE_DATAVIEWCTRL
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12020 $as_echo "$result" >&6; }
12024 defaultval
=$wxUSE_ALL_FEATURES
12025 if test -z "$defaultval"; then
12026 if test x
"$enablestring" = xdisable
; then
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
12034 $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
12035 # Check whether --enable-datepick was given.
12036 if test "${enable_datepick+set}" = set; then :
12037 enableval
=$enable_datepick;
12038 if test "$enableval" = yes; then
12039 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=yes'
12041 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=no'
12046 wx_cv_use_datepick
='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
12051 eval "$wx_cv_use_datepick"
12053 if test x"$enablestring" = xdisable; then
12054 if test $wxUSE_DATEPICKCTRL = no; then
12060 result=$wxUSE_DATEPICKCTRL
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12064 $as_echo "$result" >&6; }
12068 defaultval=$wxUSE_ALL_FEATURES
12069 if test -z "$defaultval"; then
12070 if test x"$enablestring" = xdisable; then
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
12078 $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
12079 # Check whether --enable-detect_sm was given.
12080 if test "${enable_detect_sm+set}" = set; then :
12081 enableval=$enable_detect_sm;
12082 if test "$enableval" = yes; then
12083 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=yes'
12085 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=no
'
12090 wx_cv_use_detect_sm='wxUSE_DETECT_SM
=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
12095 eval "$wx_cv_use_detect_sm"
12097 if test x"$enablestring" = xdisable; then
12098 if test $wxUSE_DETECT_SM = no; then
12104 result=$wxUSE_DETECT_SM
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12108 $as_echo "$result" >&6; }
12112 defaultval=$wxUSE_ALL_FEATURES
12113 if test -z "$defaultval"; then
12114 if test x"$enablestring" = xdisable; then
12121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dirpicker" >&5
12122 $as_echo_n "checking
for --${enablestring:-enable}-dirpicker...
" >&6; }
12123 # Check whether --enable-dirpicker was given.
12124 if test "${enable_dirpicker+set}" = set; then :
12125 enableval=$enable_dirpicker;
12126 if test "$enableval" = yes; then
12127 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
12129 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
12134 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
12139 eval "$wx_cv_use_dirpicker"
12141 if test x
"$enablestring" = xdisable
; then
12142 if test $wxUSE_DIRPICKERCTRL = no
; then
12148 result
=$wxUSE_DIRPICKERCTRL
12151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12152 $as_echo "$result" >&6; }
12156 defaultval
=$wxUSE_ALL_FEATURES
12157 if test -z "$defaultval"; then
12158 if test x
"$enablestring" = xdisable
; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
12166 $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
12167 # Check whether --enable-display was given.
12168 if test "${enable_display+set}" = set; then :
12169 enableval
=$enable_display;
12170 if test "$enableval" = yes; then
12171 wx_cv_use_display
='wxUSE_DISPLAY=yes'
12173 wx_cv_use_display
='wxUSE_DISPLAY=no'
12178 wx_cv_use_display
='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
12183 eval "$wx_cv_use_display"
12185 if test x"$enablestring" = xdisable; then
12186 if test $wxUSE_DISPLAY = no; then
12192 result=$wxUSE_DISPLAY
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12196 $as_echo "$result" >&6; }
12200 defaultval=$wxUSE_ALL_FEATURES
12201 if test -z "$defaultval"; then
12202 if test x"$enablestring" = xdisable; then
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
12210 $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
12211 # Check whether --enable-editablebox was given.
12212 if test "${enable_editablebox+set}" = set; then :
12213 enableval=$enable_editablebox;
12214 if test "$enableval" = yes; then
12215 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=yes'
12217 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=no
'
12222 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX
=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
12227 eval "$wx_cv_use_editablebox"
12229 if test x"$enablestring" = xdisable; then
12230 if test $wxUSE_EDITABLELISTBOX = no; then
12236 result=$wxUSE_EDITABLELISTBOX
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12240 $as_echo "$result" >&6; }
12244 defaultval=$wxUSE_ALL_FEATURES
12245 if test -z "$defaultval"; then
12246 if test x"$enablestring" = xdisable; then
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filectrl" >&5
12254 $as_echo_n "checking
for --${enablestring:-enable}-filectrl...
" >&6; }
12255 # Check whether --enable-filectrl was given.
12256 if test "${enable_filectrl+set}" = set; then :
12257 enableval=$enable_filectrl;
12258 if test "$enableval" = yes; then
12259 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
12261 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
12266 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
12271 eval "$wx_cv_use_filectrl"
12273 if test x
"$enablestring" = xdisable
; then
12274 if test $wxUSE_FILECTRL = no
; then
12280 result
=$wxUSE_FILECTRL
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12284 $as_echo "$result" >&6; }
12288 defaultval
=$wxUSE_ALL_FEATURES
12289 if test -z "$defaultval"; then
12290 if test x
"$enablestring" = xdisable
; then
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
12298 $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
12299 # Check whether --enable-filepicker was given.
12300 if test "${enable_filepicker+set}" = set; then :
12301 enableval
=$enable_filepicker;
12302 if test "$enableval" = yes; then
12303 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=yes'
12305 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=no'
12310 wx_cv_use_filepicker
='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
12315 eval "$wx_cv_use_filepicker"
12317 if test x"$enablestring" = xdisable; then
12318 if test $wxUSE_FILEPICKERCTRL = no; then
12324 result=$wxUSE_FILEPICKERCTRL
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12328 $as_echo "$result" >&6; }
12332 defaultval=$wxUSE_ALL_FEATURES
12333 if test -z "$defaultval"; then
12334 if test x"$enablestring" = xdisable; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
12342 $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
12343 # Check whether --enable-fontpicker was given.
12344 if test "${enable_fontpicker+set}" = set; then :
12345 enableval=$enable_fontpicker;
12346 if test "$enableval" = yes; then
12347 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=yes'
12349 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=no
'
12354 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL
=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
12359 eval "$wx_cv_use_fontpicker"
12361 if test x"$enablestring" = xdisable; then
12362 if test $wxUSE_FONTPICKERCTRL = no; then
12368 result=$wxUSE_FONTPICKERCTRL
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12372 $as_echo "$result" >&6; }
12376 defaultval=$wxUSE_ALL_FEATURES
12377 if test -z "$defaultval"; then
12378 if test x"$enablestring" = xdisable; then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-gauge" >&5
12386 $as_echo_n "checking
for --${enablestring:-enable}-gauge...
" >&6; }
12387 # Check whether --enable-gauge was given.
12388 if test "${enable_gauge+set}" = set; then :
12389 enableval=$enable_gauge;
12390 if test "$enableval" = yes; then
12391 wx_cv_use_gauge='wxUSE_GAUGE=yes'
12393 wx_cv_use_gauge='wxUSE_GAUGE=no'
12398 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
12403 eval "$wx_cv_use_gauge"
12405 if test x
"$enablestring" = xdisable
; then
12406 if test $wxUSE_GAUGE = no
; then
12412 result
=$wxUSE_GAUGE
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12416 $as_echo "$result" >&6; }
12420 defaultval
=$wxUSE_ALL_FEATURES
12421 if test -z "$defaultval"; then
12422 if test x
"$enablestring" = xdisable
; then
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
12430 $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
12431 # Check whether --enable-grid was given.
12432 if test "${enable_grid+set}" = set; then :
12433 enableval
=$enable_grid;
12434 if test "$enableval" = yes; then
12435 wx_cv_use_grid
='wxUSE_GRID=yes'
12437 wx_cv_use_grid
='wxUSE_GRID=no'
12442 wx_cv_use_grid
='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
12447 eval "$wx_cv_use_grid"
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_GRID = no; then
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12460 $as_echo "$result" >&6; }
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
12474 $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
12475 # Check whether --enable-headerctrl was given.
12476 if test "${enable_headerctrl+set}" = set; then :
12477 enableval=$enable_headerctrl;
12478 if test "$enableval" = yes; then
12479 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=yes'
12481 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=no
'
12486 wx_cv_use_headerctrl='wxUSE_HEADERCTRL
=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
12491 eval "$wx_cv_use_headerctrl"
12493 if test x"$enablestring" = xdisable; then
12494 if test $wxUSE_HEADERCTRL = no; then
12500 result=$wxUSE_HEADERCTRL
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12504 $as_echo "$result" >&6; }
12508 defaultval=$wxUSE_ALL_FEATURES
12509 if test -z "$defaultval"; then
12510 if test x"$enablestring" = xdisable; then
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-hyperlink" >&5
12518 $as_echo_n "checking
for --${enablestring:-enable}-hyperlink...
" >&6; }
12519 # Check whether --enable-hyperlink was given.
12520 if test "${enable_hyperlink+set}" = set; then :
12521 enableval=$enable_hyperlink;
12522 if test "$enableval" = yes; then
12523 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
12525 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
12530 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
12535 eval "$wx_cv_use_hyperlink"
12537 if test x
"$enablestring" = xdisable
; then
12538 if test $wxUSE_HYPERLINKCTRL = no
; then
12544 result
=$wxUSE_HYPERLINKCTRL
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12548 $as_echo "$result" >&6; }
12552 defaultval
=$wxUSE_ALL_FEATURES
12553 if test -z "$defaultval"; then
12554 if test x
"$enablestring" = xdisable
; then
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
12562 $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
12563 # Check whether --enable-imaglist was given.
12564 if test "${enable_imaglist+set}" = set; then :
12565 enableval
=$enable_imaglist;
12566 if test "$enableval" = yes; then
12567 wx_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
12569 wx_cv_use_imaglist
='wxUSE_IMAGLIST=no'
12574 wx_cv_use_imaglist
='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12579 eval "$wx_cv_use_imaglist"
12581 if test x"$enablestring" = xdisable; then
12582 if test $wxUSE_IMAGLIST = no; then
12588 result=$wxUSE_IMAGLIST
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12592 $as_echo "$result" >&6; }
12596 defaultval=$wxUSE_ALL_FEATURES
12597 if test -z "$defaultval"; then
12598 if test x"$enablestring" = xdisable; then
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
12606 $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
12607 # Check whether --enable-infobar was given.
12608 if test "${enable_infobar+set}" = set; then :
12609 enableval=$enable_infobar;
12610 if test "$enableval" = yes; then
12611 wx_cv_use_infobar='wxUSE_INFOBAR
=yes'
12613 wx_cv_use_infobar='wxUSE_INFOBAR
=no
'
12618 wx_cv_use_infobar='wxUSE_INFOBAR
=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
12623 eval "$wx_cv_use_infobar"
12625 if test x"$enablestring" = xdisable; then
12626 if test $wxUSE_INFOBAR = no; then
12632 result=$wxUSE_INFOBAR
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12636 $as_echo "$result" >&6; }
12640 defaultval=$wxUSE_ALL_FEATURES
12641 if test -z "$defaultval"; then
12642 if test x"$enablestring" = xdisable; then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-listbook" >&5
12650 $as_echo_n "checking
for --${enablestring:-enable}-listbook...
" >&6; }
12651 # Check whether --enable-listbook was given.
12652 if test "${enable_listbook+set}" = set; then :
12653 enableval=$enable_listbook;
12654 if test "$enableval" = yes; then
12655 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12657 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12662 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12667 eval "$wx_cv_use_listbook"
12669 if test x
"$enablestring" = xdisable
; then
12670 if test $wxUSE_LISTBOOK = no
; then
12676 result
=$wxUSE_LISTBOOK
12679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12680 $as_echo "$result" >&6; }
12684 defaultval
=$wxUSE_ALL_FEATURES
12685 if test -z "$defaultval"; then
12686 if test x
"$enablestring" = xdisable
; then
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
12694 $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
12695 # Check whether --enable-listbox was given.
12696 if test "${enable_listbox+set}" = set; then :
12697 enableval
=$enable_listbox;
12698 if test "$enableval" = yes; then
12699 wx_cv_use_listbox
='wxUSE_LISTBOX=yes'
12701 wx_cv_use_listbox
='wxUSE_LISTBOX=no'
12706 wx_cv_use_listbox
='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12711 eval "$wx_cv_use_listbox"
12713 if test x"$enablestring" = xdisable; then
12714 if test $wxUSE_LISTBOX = no; then
12720 result=$wxUSE_LISTBOX
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12724 $as_echo "$result" >&6; }
12728 defaultval=$wxUSE_ALL_FEATURES
12729 if test -z "$defaultval"; then
12730 if test x"$enablestring" = xdisable; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
12738 $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
12739 # Check whether --enable-listctrl was given.
12740 if test "${enable_listctrl+set}" = set; then :
12741 enableval=$enable_listctrl;
12742 if test "$enableval" = yes; then
12743 wx_cv_use_listctrl='wxUSE_LISTCTRL
=yes'
12745 wx_cv_use_listctrl='wxUSE_LISTCTRL
=no
'
12750 wx_cv_use_listctrl='wxUSE_LISTCTRL
=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12755 eval "$wx_cv_use_listctrl"
12757 if test x"$enablestring" = xdisable; then
12758 if test $wxUSE_LISTCTRL = no; then
12764 result=$wxUSE_LISTCTRL
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12768 $as_echo "$result" >&6; }
12772 defaultval=$wxUSE_ALL_FEATURES
12773 if test -z "$defaultval"; then
12774 if test x"$enablestring" = xdisable; then
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-notebook" >&5
12782 $as_echo_n "checking
for --${enablestring:-enable}-notebook...
" >&6; }
12783 # Check whether --enable-notebook was given.
12784 if test "${enable_notebook+set}" = set; then :
12785 enableval=$enable_notebook;
12786 if test "$enableval" = yes; then
12787 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12789 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12794 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12799 eval "$wx_cv_use_notebook"
12801 if test x
"$enablestring" = xdisable
; then
12802 if test $wxUSE_NOTEBOOK = no
; then
12808 result
=$wxUSE_NOTEBOOK
12811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12812 $as_echo "$result" >&6; }
12816 defaultval
=$wxUSE_ALL_FEATURES
12817 if test -z "$defaultval"; then
12818 if test x
"$enablestring" = xdisable
; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
12826 $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
12827 # Check whether --enable-notifmsg was given.
12828 if test "${enable_notifmsg+set}" = set; then :
12829 enableval
=$enable_notifmsg;
12830 if test "$enableval" = yes; then
12831 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=yes'
12833 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=no'
12838 wx_cv_use_notifmsg
='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
12843 eval "$wx_cv_use_notifmsg"
12845 if test x"$enablestring" = xdisable; then
12846 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
12852 result=$wxUSE_NOTIFICATION_MESSAGE
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12856 $as_echo "$result" >&6; }
12860 defaultval=$wxUSE_ALL_FEATURES
12861 if test -z "$defaultval"; then
12862 if test x"$enablestring" = xdisable; then
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
12870 $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
12871 # Check whether --enable-odcombobox was given.
12872 if test "${enable_odcombobox+set}" = set; then :
12873 enableval=$enable_odcombobox;
12874 if test "$enableval" = yes; then
12875 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=yes'
12877 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=no
'
12882 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX
=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12887 eval "$wx_cv_use_odcombobox"
12889 if test x"$enablestring" = xdisable; then
12890 if test $wxUSE_ODCOMBOBOX = no; then
12896 result=$wxUSE_ODCOMBOBOX
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
12900 $as_echo "$result" >&6; }
12904 defaultval=$wxUSE_ALL_FEATURES
12905 if test -z "$defaultval"; then
12906 if test x"$enablestring" = xdisable; then
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-popupwin" >&5
12914 $as_echo_n "checking
for --${enablestring:-enable}-popupwin...
" >&6; }
12915 # Check whether --enable-popupwin was given.
12916 if test "${enable_popupwin+set}" = set; then :
12917 enableval=$enable_popupwin;
12918 if test "$enableval" = yes; then
12919 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12921 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12926 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12931 eval "$wx_cv_use_popupwin"
12933 if test x
"$enablestring" = xdisable
; then
12934 if test $wxUSE_POPUPWIN = no
; then
12940 result
=$wxUSE_POPUPWIN
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12944 $as_echo "$result" >&6; }
12948 defaultval
=$wxUSE_ALL_FEATURES
12949 if test -z "$defaultval"; then
12950 if test x
"$enablestring" = xdisable
; then
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
12958 $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
12959 # Check whether --enable-radiobox was given.
12960 if test "${enable_radiobox+set}" = set; then :
12961 enableval
=$enable_radiobox;
12962 if test "$enableval" = yes; then
12963 wx_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
12965 wx_cv_use_radiobox
='wxUSE_RADIOBOX=no'
12970 wx_cv_use_radiobox
='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12975 eval "$wx_cv_use_radiobox"
12977 if test x"$enablestring" = xdisable; then
12978 if test $wxUSE_RADIOBOX = no; then
12984 result=$wxUSE_RADIOBOX
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
12988 $as_echo "$result" >&6; }
12992 defaultval=$wxUSE_ALL_FEATURES
12993 if test -z "$defaultval"; then
12994 if test x"$enablestring" = xdisable; then
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
13002 $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
13003 # Check whether --enable-radiobtn was given.
13004 if test "${enable_radiobtn+set}" = set; then :
13005 enableval=$enable_radiobtn;
13006 if test "$enableval" = yes; then
13007 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=yes'
13009 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=no
'
13014 wx_cv_use_radiobtn='wxUSE_RADIOBTN
=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
13019 eval "$wx_cv_use_radiobtn"
13021 if test x"$enablestring" = xdisable; then
13022 if test $wxUSE_RADIOBTN = no; then
13028 result=$wxUSE_RADIOBTN
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13032 $as_echo "$result" >&6; }
13036 defaultval=$wxUSE_ALL_FEATURES
13037 if test -z "$defaultval"; then
13038 if test x"$enablestring" = xdisable; then
13045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-richmsgdlg" >&5
13046 $as_echo_n "checking
for --${enablestring:-enable}-richmsgdlg...
" >&6; }
13047 # Check whether --enable-richmsgdlg was given.
13048 if test "${enable_richmsgdlg+set}" = set; then :
13049 enableval=$enable_richmsgdlg;
13050 if test "$enableval" = yes; then
13051 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
13053 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
13058 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
13063 eval "$wx_cv_use_richmsgdlg"
13065 if test x
"$enablestring" = xdisable
; then
13066 if test $wxUSE_RICHMSGDLG = no
; then
13072 result
=$wxUSE_RICHMSGDLG
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13076 $as_echo "$result" >&6; }
13080 defaultval
=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x
"$enablestring" = xdisable
; then
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
13090 $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
13091 # Check whether --enable-richtooltip was given.
13092 if test "${enable_richtooltip+set}" = set; then :
13093 enableval
=$enable_richtooltip;
13094 if test "$enableval" = yes; then
13095 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=yes'
13097 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=no'
13102 wx_cv_use_richtooltip
='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
13107 eval "$wx_cv_use_richtooltip"
13109 if test x"$enablestring" = xdisable; then
13110 if test $wxUSE_RICHTOOLTIP = no; then
13116 result=$wxUSE_RICHTOOLTIP
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13120 $as_echo "$result" >&6; }
13124 defaultval=$wxUSE_ALL_FEATURES
13125 if test -z "$defaultval"; then
13126 if test x"$enablestring" = xdisable; then
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
13134 $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
13135 # Check whether --enable-rearrangectrl was given.
13136 if test "${enable_rearrangectrl+set}" = set; then :
13137 enableval=$enable_rearrangectrl;
13138 if test "$enableval" = yes; then
13139 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
13141 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
13146 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
13151 eval "$wx_cv_use_rearrangectrl"
13153 if test x"$enablestring" = xdisable; then
13154 if test $wxUSE_REARRANGECTRL = no; then
13160 result=$wxUSE_REARRANGECTRL
13163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13164 $as_echo "$result" >&6; }
13168 defaultval=$wxUSE_ALL_FEATURES
13169 if test -z "$defaultval"; then
13170 if test x"$enablestring" = xdisable; then
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-sash" >&5
13178 $as_echo_n "checking
for --${enablestring:-enable}-sash...
" >&6; }
13179 # Check whether --enable-sash was given.
13180 if test "${enable_sash+set}" = set; then :
13181 enableval=$enable_sash;
13182 if test "$enableval" = yes; then
13183 wx_cv_use_sash='wxUSE_SASH=yes'
13185 wx_cv_use_sash='wxUSE_SASH=no'
13190 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
13195 eval "$wx_cv_use_sash"
13197 if test x
"$enablestring" = xdisable
; then
13198 if test $wxUSE_SASH = no
; then
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13208 $as_echo "$result" >&6; }
13212 defaultval
=$wxUSE_ALL_FEATURES
13213 if test -z "$defaultval"; then
13214 if test x
"$enablestring" = xdisable
; then
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
13222 $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
13223 # Check whether --enable-scrollbar was given.
13224 if test "${enable_scrollbar+set}" = set; then :
13225 enableval
=$enable_scrollbar;
13226 if test "$enableval" = yes; then
13227 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
13229 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
13234 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
13239 eval "$wx_cv_use_scrollbar"
13241 if test x"$enablestring" = xdisable; then
13242 if test $wxUSE_SCROLLBAR = no; then
13248 result=$wxUSE_SCROLLBAR
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13252 $as_echo "$result" >&6; }
13256 defaultval=$wxUSE_ALL_FEATURES
13257 if test -z "$defaultval"; then
13258 if test x"$enablestring" = xdisable; then
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
13266 $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
13267 # Check whether --enable-searchctrl was given.
13268 if test "${enable_searchctrl+set}" = set; then :
13269 enableval=$enable_searchctrl;
13270 if test "$enableval" = yes; then
13271 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
13273 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
13278 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
13283 eval "$wx_cv_use_searchctrl"
13285 if test x"$enablestring" = xdisable; then
13286 if test $wxUSE_SEARCHCTRL = no; then
13292 result=$wxUSE_SEARCHCTRL
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13296 $as_echo "$result" >&6; }
13300 defaultval=$wxUSE_ALL_FEATURES
13301 if test -z "$defaultval"; then
13302 if test x"$enablestring" = xdisable; then
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-slider" >&5
13310 $as_echo_n "checking
for --${enablestring:-enable}-slider...
" >&6; }
13311 # Check whether --enable-slider was given.
13312 if test "${enable_slider+set}" = set; then :
13313 enableval=$enable_slider;
13314 if test "$enableval" = yes; then
13315 wx_cv_use_slider='wxUSE_SLIDER=yes'
13317 wx_cv_use_slider='wxUSE_SLIDER=no'
13322 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
13327 eval "$wx_cv_use_slider"
13329 if test x
"$enablestring" = xdisable
; then
13330 if test $wxUSE_SLIDER = no
; then
13336 result
=$wxUSE_SLIDER
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13340 $as_echo "$result" >&6; }
13344 defaultval
=$wxUSE_ALL_FEATURES
13345 if test -z "$defaultval"; then
13346 if test x
"$enablestring" = xdisable
; then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
13354 $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
13355 # Check whether --enable-spinbtn was given.
13356 if test "${enable_spinbtn+set}" = set; then :
13357 enableval
=$enable_spinbtn;
13358 if test "$enableval" = yes; then
13359 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
13361 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
13366 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
13371 eval "$wx_cv_use_spinbtn"
13373 if test x"$enablestring" = xdisable; then
13374 if test $wxUSE_SPINBTN = no; then
13380 result=$wxUSE_SPINBTN
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13384 $as_echo "$result" >&6; }
13388 defaultval=$wxUSE_ALL_FEATURES
13389 if test -z "$defaultval"; then
13390 if test x"$enablestring" = xdisable; then
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
13398 $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
13399 # Check whether --enable-spinctrl was given.
13400 if test "${enable_spinctrl+set}" = set; then :
13401 enableval=$enable_spinctrl;
13402 if test "$enableval" = yes; then
13403 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
13405 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
13410 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
13415 eval "$wx_cv_use_spinctrl"
13417 if test x"$enablestring" = xdisable; then
13418 if test $wxUSE_SPINCTRL = no; then
13424 result=$wxUSE_SPINCTRL
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13428 $as_echo "$result" >&6; }
13432 defaultval=$wxUSE_ALL_FEATURES
13433 if test -z "$defaultval"; then
13434 if test x"$enablestring" = xdisable; then
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splitter" >&5
13442 $as_echo_n "checking
for --${enablestring:-enable}-splitter...
" >&6; }
13443 # Check whether --enable-splitter was given.
13444 if test "${enable_splitter+set}" = set; then :
13445 enableval=$enable_splitter;
13446 if test "$enableval" = yes; then
13447 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
13449 wx_cv_use_splitter='wxUSE_SPLITTER=no'
13454 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
13459 eval "$wx_cv_use_splitter"
13461 if test x
"$enablestring" = xdisable
; then
13462 if test $wxUSE_SPLITTER = no
; then
13468 result
=$wxUSE_SPLITTER
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13472 $as_echo "$result" >&6; }
13476 defaultval
=$wxUSE_ALL_FEATURES
13477 if test -z "$defaultval"; then
13478 if test x
"$enablestring" = xdisable
; then
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
13486 $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
13487 # Check whether --enable-statbmp was given.
13488 if test "${enable_statbmp+set}" = set; then :
13489 enableval
=$enable_statbmp;
13490 if test "$enableval" = yes; then
13491 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
13493 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
13498 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
13503 eval "$wx_cv_use_statbmp"
13505 if test x"$enablestring" = xdisable; then
13506 if test $wxUSE_STATBMP = no; then
13512 result=$wxUSE_STATBMP
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13516 $as_echo "$result" >&6; }
13520 defaultval=$wxUSE_ALL_FEATURES
13521 if test -z "$defaultval"; then
13522 if test x"$enablestring" = xdisable; then
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
13530 $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
13531 # Check whether --enable-statbox was given.
13532 if test "${enable_statbox+set}" = set; then :
13533 enableval=$enable_statbox;
13534 if test "$enableval" = yes; then
13535 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
13537 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
13542 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
13547 eval "$wx_cv_use_statbox"
13549 if test x"$enablestring" = xdisable; then
13550 if test $wxUSE_STATBOX = no; then
13556 result=$wxUSE_STATBOX
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13560 $as_echo "$result" >&6; }
13564 defaultval=$wxUSE_ALL_FEATURES
13565 if test -z "$defaultval"; then
13566 if test x"$enablestring" = xdisable; then
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-statline" >&5
13574 $as_echo_n "checking
for --${enablestring:-enable}-statline...
" >&6; }
13575 # Check whether --enable-statline was given.
13576 if test "${enable_statline+set}" = set; then :
13577 enableval=$enable_statline;
13578 if test "$enableval" = yes; then
13579 wx_cv_use_statline='wxUSE_STATLINE=yes'
13581 wx_cv_use_statline='wxUSE_STATLINE=no'
13586 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
13591 eval "$wx_cv_use_statline"
13593 if test x
"$enablestring" = xdisable
; then
13594 if test $wxUSE_STATLINE = no
; then
13600 result
=$wxUSE_STATLINE
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13604 $as_echo "$result" >&6; }
13608 defaultval
=$wxUSE_ALL_FEATURES
13609 if test -z "$defaultval"; then
13610 if test x
"$enablestring" = xdisable
; then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
13618 $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
13619 # Check whether --enable-stattext was given.
13620 if test "${enable_stattext+set}" = set; then :
13621 enableval
=$enable_stattext;
13622 if test "$enableval" = yes; then
13623 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
13625 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
13630 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13635 eval "$wx_cv_use_stattext"
13637 if test x"$enablestring" = xdisable; then
13638 if test $wxUSE_STATTEXT = no; then
13644 result=$wxUSE_STATTEXT
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13648 $as_echo "$result" >&6; }
13652 defaultval=$wxUSE_ALL_FEATURES
13653 if test -z "$defaultval"; then
13654 if test x"$enablestring" = xdisable; then
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
13662 $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
13663 # Check whether --enable-statusbar was given.
13664 if test "${enable_statusbar+set}" = set; then :
13665 enableval=$enable_statusbar;
13666 if test "$enableval" = yes; then
13667 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
13669 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
13674 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13679 eval "$wx_cv_use_statusbar"
13681 if test x"$enablestring" = xdisable; then
13682 if test $wxUSE_STATUSBAR = no; then
13688 result=$wxUSE_STATUSBAR
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13692 $as_echo "$result" >&6; }
13696 defaultval=$wxUSE_ALL_FEATURES
13697 if test -z "$defaultval"; then
13698 if test x"$enablestring" = xdisable; then
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-taskbaricon" >&5
13706 $as_echo_n "checking
for --${enablestring:-enable}-taskbaricon...
" >&6; }
13707 # Check whether --enable-taskbaricon was given.
13708 if test "${enable_taskbaricon+set}" = set; then :
13709 enableval=$enable_taskbaricon;
13710 if test "$enableval" = yes; then
13711 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13713 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13718 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13723 eval "$wx_cv_use_taskbaricon"
13725 if test x
"$enablestring" = xdisable
; then
13726 if test $wxUSE_TASKBARICON = no
; then
13732 result
=$wxUSE_TASKBARICON
13735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13736 $as_echo "$result" >&6; }
13740 defaultval
=$wxUSE_ALL_FEATURES
13741 if test -z "$defaultval"; then
13742 if test x
"$enablestring" = xdisable
; then
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
13750 $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
13751 # Check whether --enable-tbarnative was given.
13752 if test "${enable_tbarnative+set}" = set; then :
13753 enableval
=$enable_tbarnative;
13754 if test "$enableval" = yes; then
13755 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
13757 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
13762 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13767 eval "$wx_cv_use_tbarnative"
13769 if test x"$enablestring" = xdisable; then
13770 if test $wxUSE_TOOLBAR_NATIVE = no; then
13776 result=$wxUSE_TOOLBAR_NATIVE
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13780 $as_echo "$result" >&6; }
13784 defaultval=$wxUSE_ALL_FEATURES
13785 if test -z "$defaultval"; then
13786 if test x"$enablestring" = xdisable; then
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
13794 $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
13795 # Check whether --enable-textctrl was given.
13796 if test "${enable_textctrl+set}" = set; then :
13797 enableval=$enable_textctrl;
13798 if test "$enableval" = yes; then
13799 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
13801 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
13806 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13811 eval "$wx_cv_use_textctrl"
13813 if test x"$enablestring" = xdisable; then
13814 if test $wxUSE_TEXTCTRL = no; then
13820 result=$wxUSE_TEXTCTRL
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13824 $as_echo "$result" >&6; }
13828 defaultval=$wxUSE_ALL_FEATURES
13829 if test -z "$defaultval"; then
13830 if test x"$enablestring" = xdisable; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-datepick" >&5
13838 $as_echo_n "checking
for --${enablestring:-enable}-datepick...
" >&6; }
13839 # Check whether --enable-datepick was given.
13840 if test "${enable_datepick+set}" = set; then :
13841 enableval=$enable_datepick;
13842 if test "$enableval" = yes; then
13843 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
13845 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
13850 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
13855 eval "$wx_cv_use_datepick"
13857 if test x
"$enablestring" = xdisable
; then
13858 if test $wxUSE_TIMEPICKCTRL = no
; then
13864 result
=$wxUSE_TIMEPICKCTRL
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13868 $as_echo "$result" >&6; }
13872 defaultval
=$wxUSE_ALL_FEATURES
13873 if test -z "$defaultval"; then
13874 if test x
"$enablestring" = xdisable
; then
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
13882 $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
13883 # Check whether --enable-tipwindow was given.
13884 if test "${enable_tipwindow+set}" = set; then :
13885 enableval
=$enable_tipwindow;
13886 if test "$enableval" = yes; then
13887 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
13889 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
13894 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13899 eval "$wx_cv_use_tipwindow"
13901 if test x"$enablestring" = xdisable; then
13902 if test $wxUSE_TIPWINDOW = no; then
13908 result=$wxUSE_TIPWINDOW
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
13912 $as_echo "$result" >&6; }
13916 defaultval=$wxUSE_ALL_FEATURES
13917 if test -z "$defaultval"; then
13918 if test x"$enablestring" = xdisable; then
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
13926 $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
13927 # Check whether --enable-togglebtn was given.
13928 if test "${enable_togglebtn+set}" = set; then :
13929 enableval=$enable_togglebtn;
13930 if test "$enableval" = yes; then
13931 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
13933 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
13938 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13943 eval "$wx_cv_use_togglebtn"
13945 if test x"$enablestring" = xdisable; then
13946 if test $wxUSE_TOGGLEBTN = no; then
13952 result=$wxUSE_TOGGLEBTN
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
13956 $as_echo "$result" >&6; }
13960 defaultval=$wxUSE_ALL_FEATURES
13961 if test -z "$defaultval"; then
13962 if test x"$enablestring" = xdisable; then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-toolbar" >&5
13970 $as_echo_n "checking
for --${enablestring:-enable}-toolbar...
" >&6; }
13971 # Check whether --enable-toolbar was given.
13972 if test "${enable_toolbar+set}" = set; then :
13973 enableval=$enable_toolbar;
13974 if test "$enableval" = yes; then
13975 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13977 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13982 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13987 eval "$wx_cv_use_toolbar"
13989 if test x
"$enablestring" = xdisable
; then
13990 if test $wxUSE_TOOLBAR = no
; then
13996 result
=$wxUSE_TOOLBAR
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14000 $as_echo "$result" >&6; }
14004 defaultval
=$wxUSE_ALL_FEATURES
14005 if test -z "$defaultval"; then
14006 if test x
"$enablestring" = xdisable
; then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
14014 $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
14015 # Check whether --enable-toolbook was given.
14016 if test "${enable_toolbook+set}" = set; then :
14017 enableval
=$enable_toolbook;
14018 if test "$enableval" = yes; then
14019 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
14021 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
14026 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
14031 eval "$wx_cv_use_toolbook"
14033 if test x"$enablestring" = xdisable; then
14034 if test $wxUSE_TOOLBOOK = no; then
14040 result=$wxUSE_TOOLBOOK
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14044 $as_echo "$result" >&6; }
14048 defaultval=$wxUSE_ALL_FEATURES
14049 if test -z "$defaultval"; then
14050 if test x"$enablestring" = xdisable; then
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
14058 $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
14059 # Check whether --enable-treebook was given.
14060 if test "${enable_treebook+set}" = set; then :
14061 enableval=$enable_treebook;
14062 if test "$enableval" = yes; then
14063 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
14065 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
14070 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
14075 eval "$wx_cv_use_treebook"
14077 if test x"$enablestring" = xdisable; then
14078 if test $wxUSE_TREEBOOK = no; then
14084 result=$wxUSE_TREEBOOK
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14088 $as_echo "$result" >&6; }
14092 defaultval=$wxUSE_ALL_FEATURES
14093 if test -z "$defaultval"; then
14094 if test x"$enablestring" = xdisable; then
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-treectrl" >&5
14102 $as_echo_n "checking
for --${enablestring:-enable}-treectrl...
" >&6; }
14103 # Check whether --enable-treectrl was given.
14104 if test "${enable_treectrl+set}" = set; then :
14105 enableval=$enable_treectrl;
14106 if test "$enableval" = yes; then
14107 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
14109 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
14114 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
14119 eval "$wx_cv_use_treectrl"
14121 if test x
"$enablestring" = xdisable
; then
14122 if test $wxUSE_TREECTRL = no
; then
14128 result
=$wxUSE_TREECTRL
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14132 $as_echo "$result" >&6; }
14136 defaultval
=$wxUSE_ALL_FEATURES
14137 if test -z "$defaultval"; then
14138 if test x
"$enablestring" = xdisable
; then
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
14146 $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
14147 # Check whether --enable-treelist was given.
14148 if test "${enable_treelist+set}" = set; then :
14149 enableval
=$enable_treelist;
14150 if test "$enableval" = yes; then
14151 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=yes'
14153 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=no'
14158 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
14163 eval "$wx_cv_use_treelist"
14165 if test x"$enablestring" = xdisable; then
14166 if test $wxUSE_TREELISTCTRL = no; then
14172 result=$wxUSE_TREELISTCTRL
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14176 $as_echo "$result" >&6; }
14182 defaultval=$wxUSE_ALL_FEATURES
14183 if test -z "$defaultval"; then
14184 if test x"$enablestring" = xdisable; then
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
14192 $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
14193 # Check whether --enable-commondlg was given.
14194 if test "${enable_commondlg+set}" = set; then :
14195 enableval=$enable_commondlg;
14196 if test "$enableval" = yes; then
14197 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
14199 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
14204 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
14209 eval "$wx_cv_use_commondlg"
14211 if test x"$enablestring" = xdisable; then
14212 if test $wxUSE_COMMONDLGS = no; then
14218 result=$wxUSE_COMMONDLGS
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14222 $as_echo "$result" >&6; }
14226 defaultval=$wxUSE_ALL_FEATURES
14227 if test -z "$defaultval"; then
14228 if test x"$enablestring" = xdisable; then
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-aboutdlg" >&5
14236 $as_echo_n "checking
for --${enablestring:-enable}-aboutdlg...
" >&6; }
14237 # Check whether --enable-aboutdlg was given.
14238 if test "${enable_aboutdlg+set}" = set; then :
14239 enableval=$enable_aboutdlg;
14240 if test "$enableval" = yes; then
14241 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
14243 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
14248 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
14253 eval "$wx_cv_use_aboutdlg"
14255 if test x
"$enablestring" = xdisable
; then
14256 if test $wxUSE_ABOUTDLG = no
; then
14262 result
=$wxUSE_ABOUTDLG
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14266 $as_echo "$result" >&6; }
14270 defaultval
=$wxUSE_ALL_FEATURES
14271 if test -z "$defaultval"; then
14272 if test x
"$enablestring" = xdisable
; then
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
14280 $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
14281 # Check whether --enable-choicedlg was given.
14282 if test "${enable_choicedlg+set}" = set; then :
14283 enableval
=$enable_choicedlg;
14284 if test "$enableval" = yes; then
14285 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
14287 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
14292 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
14297 eval "$wx_cv_use_choicedlg"
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_CHOICEDLG = no; then
14306 result=$wxUSE_CHOICEDLG
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14310 $as_echo "$result" >&6; }
14314 defaultval=$wxUSE_ALL_FEATURES
14315 if test -z "$defaultval"; then
14316 if test x"$enablestring" = xdisable; then
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
14324 $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
14325 # Check whether --enable-coldlg was given.
14326 if test "${enable_coldlg+set}" = set; then :
14327 enableval=$enable_coldlg;
14328 if test "$enableval" = yes; then
14329 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
14331 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
14336 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
14341 eval "$wx_cv_use_coldlg"
14343 if test x"$enablestring" = xdisable; then
14344 if test $wxUSE_COLOURDLG = no; then
14350 result=$wxUSE_COLOURDLG
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14354 $as_echo "$result" >&6; }
14358 defaultval=$wxUSE_ALL_FEATURES
14359 if test -z "$defaultval"; then
14360 if test x"$enablestring" = xdisable; then
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-filedlg" >&5
14368 $as_echo_n "checking
for --${enablestring:-enable}-filedlg...
" >&6; }
14369 # Check whether --enable-filedlg was given.
14370 if test "${enable_filedlg+set}" = set; then :
14371 enableval=$enable_filedlg;
14372 if test "$enableval" = yes; then
14373 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
14375 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
14380 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
14385 eval "$wx_cv_use_filedlg"
14387 if test x
"$enablestring" = xdisable
; then
14388 if test $wxUSE_FILEDLG = no
; then
14394 result
=$wxUSE_FILEDLG
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14398 $as_echo "$result" >&6; }
14402 defaultval
=$wxUSE_ALL_FEATURES
14403 if test -z "$defaultval"; then
14404 if test x
"$enablestring" = xdisable
; then
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
14412 $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
14413 # Check whether --enable-finddlg was given.
14414 if test "${enable_finddlg+set}" = set; then :
14415 enableval
=$enable_finddlg;
14416 if test "$enableval" = yes; then
14417 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
14419 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
14424 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14429 eval "$wx_cv_use_finddlg"
14431 if test x"$enablestring" = xdisable; then
14432 if test $wxUSE_FINDREPLDLG = no; then
14438 result=$wxUSE_FINDREPLDLG
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14442 $as_echo "$result" >&6; }
14446 defaultval=$wxUSE_ALL_FEATURES
14447 if test -z "$defaultval"; then
14448 if test x"$enablestring" = xdisable; then
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
14456 $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
14457 # Check whether --enable-fontdlg was given.
14458 if test "${enable_fontdlg+set}" = set; then :
14459 enableval=$enable_fontdlg;
14460 if test "$enableval" = yes; then
14461 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
14463 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
14468 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14473 eval "$wx_cv_use_fontdlg"
14475 if test x"$enablestring" = xdisable; then
14476 if test $wxUSE_FONTDLG = no; then
14482 result=$wxUSE_FONTDLG
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14486 $as_echo "$result" >&6; }
14490 defaultval=$wxUSE_ALL_FEATURES
14491 if test -z "$defaultval"; then
14492 if test x"$enablestring" = xdisable; then
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dirdlg" >&5
14500 $as_echo_n "checking
for --${enablestring:-enable}-dirdlg...
" >&6; }
14501 # Check whether --enable-dirdlg was given.
14502 if test "${enable_dirdlg+set}" = set; then :
14503 enableval=$enable_dirdlg;
14504 if test "$enableval" = yes; then
14505 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14507 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14512 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14517 eval "$wx_cv_use_dirdlg"
14519 if test x
"$enablestring" = xdisable
; then
14520 if test $wxUSE_DIRDLG = no
; then
14526 result
=$wxUSE_DIRDLG
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14530 $as_echo "$result" >&6; }
14534 defaultval
=$wxUSE_ALL_FEATURES
14535 if test -z "$defaultval"; then
14536 if test x
"$enablestring" = xdisable
; then
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
14544 $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
14545 # Check whether --enable-msgdlg was given.
14546 if test "${enable_msgdlg+set}" = set; then :
14547 enableval
=$enable_msgdlg;
14548 if test "$enableval" = yes; then
14549 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
14551 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
14556 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14561 eval "$wx_cv_use_msgdlg"
14563 if test x"$enablestring" = xdisable; then
14564 if test $wxUSE_MSGDLG = no; then
14570 result=$wxUSE_MSGDLG
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14574 $as_echo "$result" >&6; }
14578 defaultval=$wxUSE_ALL_FEATURES
14579 if test -z "$defaultval"; then
14580 if test x"$enablestring" = xdisable; then
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
14588 $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
14589 # Check whether --enable-numberdlg was given.
14590 if test "${enable_numberdlg+set}" = set; then :
14591 enableval=$enable_numberdlg;
14592 if test "$enableval" = yes; then
14593 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
14595 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
14600 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14605 eval "$wx_cv_use_numberdlg"
14607 if test x"$enablestring" = xdisable; then
14608 if test $wxUSE_NUMBERDLG = no; then
14614 result=$wxUSE_NUMBERDLG
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14618 $as_echo "$result" >&6; }
14622 defaultval=$wxUSE_ALL_FEATURES
14623 if test -z "$defaultval"; then
14624 if test x"$enablestring" = xdisable; then
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-splash" >&5
14632 $as_echo_n "checking
for --${enablestring:-enable}-splash...
" >&6; }
14633 # Check whether --enable-splash was given.
14634 if test "${enable_splash+set}" = set; then :
14635 enableval=$enable_splash;
14636 if test "$enableval" = yes; then
14637 wx_cv_use_splash='wxUSE_SPLASH=yes'
14639 wx_cv_use_splash='wxUSE_SPLASH=no'
14644 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14649 eval "$wx_cv_use_splash"
14651 if test x
"$enablestring" = xdisable
; then
14652 if test $wxUSE_SPLASH = no
; then
14658 result
=$wxUSE_SPLASH
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14662 $as_echo "$result" >&6; }
14666 defaultval
=$wxUSE_ALL_FEATURES
14667 if test -z "$defaultval"; then
14668 if test x
"$enablestring" = xdisable
; then
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
14676 $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
14677 # Check whether --enable-textdlg was given.
14678 if test "${enable_textdlg+set}" = set; then :
14679 enableval
=$enable_textdlg;
14680 if test "$enableval" = yes; then
14681 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
14683 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
14688 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14693 eval "$wx_cv_use_textdlg"
14695 if test x"$enablestring" = xdisable; then
14696 if test $wxUSE_TEXTDLG = no; then
14702 result=$wxUSE_TEXTDLG
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14706 $as_echo "$result" >&6; }
14710 defaultval=$wxUSE_ALL_FEATURES
14711 if test -z "$defaultval"; then
14712 if test x"$enablestring" = xdisable; then
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
14720 $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
14721 # Check whether --enable-tipdlg was given.
14722 if test "${enable_tipdlg+set}" = set; then :
14723 enableval=$enable_tipdlg;
14724 if test "$enableval" = yes; then
14725 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
14727 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
14732 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14737 eval "$wx_cv_use_tipdlg"
14739 if test x"$enablestring" = xdisable; then
14740 if test $wxUSE_STARTUP_TIPS = no; then
14746 result=$wxUSE_STARTUP_TIPS
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14750 $as_echo "$result" >&6; }
14754 defaultval=$wxUSE_ALL_FEATURES
14755 if test -z "$defaultval"; then
14756 if test x"$enablestring" = xdisable; then
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-progressdlg" >&5
14764 $as_echo_n "checking
for --${enablestring:-enable}-progressdlg...
" >&6; }
14765 # Check whether --enable-progressdlg was given.
14766 if test "${enable_progressdlg+set}" = set; then :
14767 enableval=$enable_progressdlg;
14768 if test "$enableval" = yes; then
14769 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14771 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14776 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14781 eval "$wx_cv_use_progressdlg"
14783 if test x
"$enablestring" = xdisable
; then
14784 if test $wxUSE_PROGRESSDLG = no
; then
14790 result
=$wxUSE_PROGRESSDLG
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14794 $as_echo "$result" >&6; }
14798 defaultval
=$wxUSE_ALL_FEATURES
14799 if test -z "$defaultval"; then
14800 if test x
"$enablestring" = xdisable
; then
14807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
14808 $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
14809 # Check whether --enable-wizarddlg was given.
14810 if test "${enable_wizarddlg+set}" = set; then :
14811 enableval
=$enable_wizarddlg;
14812 if test "$enableval" = yes; then
14813 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
14815 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
14820 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14825 eval "$wx_cv_use_wizarddlg"
14827 if test x"$enablestring" = xdisable; then
14828 if test $wxUSE_WIZARDDLG = no; then
14834 result=$wxUSE_WIZARDDLG
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14838 $as_echo "$result" >&6; }
14844 defaultval=$wxUSE_ALL_FEATURES
14845 if test -z "$defaultval"; then
14846 if test x"$enablestring" = xdisable; then
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
14854 $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
14855 # Check whether --enable-menus was given.
14856 if test "${enable_menus+set}" = set; then :
14857 enableval=$enable_menus;
14858 if test "$enableval" = yes; then
14859 wx_cv_use_menus='wxUSE_MENUS
=yes'
14861 wx_cv_use_menus='wxUSE_MENUS
=no
'
14866 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14871 eval "$wx_cv_use_menus"
14873 if test x"$enablestring" = xdisable; then
14874 if test $wxUSE_MENUS = no; then
14880 result=$wxUSE_MENUS
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
14884 $as_echo "$result" >&6; }
14888 defaultval=$wxUSE_ALL_FEATURES
14889 if test -z "$defaultval"; then
14890 if test x"$enablestring" = xdisable; then
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-miniframe" >&5
14898 $as_echo_n "checking
for --${enablestring:-enable}-miniframe...
" >&6; }
14899 # Check whether --enable-miniframe was given.
14900 if test "${enable_miniframe+set}" = set; then :
14901 enableval=$enable_miniframe;
14902 if test "$enableval" = yes; then
14903 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14905 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14910 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14915 eval "$wx_cv_use_miniframe"
14917 if test x
"$enablestring" = xdisable
; then
14918 if test $wxUSE_MINIFRAME = no
; then
14924 result
=$wxUSE_MINIFRAME
14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14928 $as_echo "$result" >&6; }
14932 defaultval
=$wxUSE_ALL_FEATURES
14933 if test -z "$defaultval"; then
14934 if test x
"$enablestring" = xdisable
; then
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
14942 $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
14943 # Check whether --enable-tooltips was given.
14944 if test "${enable_tooltips+set}" = set; then :
14945 enableval
=$enable_tooltips;
14946 if test "$enableval" = yes; then
14947 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
14949 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
14954 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14959 eval "$wx_cv_use_tooltips"
14961 if test x"$enablestring" = xdisable; then
14962 if test $wxUSE_TOOLTIPS = no; then
14968 result=$wxUSE_TOOLTIPS
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
14972 $as_echo "$result" >&6; }
14976 defaultval=$wxUSE_ALL_FEATURES
14977 if test -z "$defaultval"; then
14978 if test x"$enablestring" = xdisable; then
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
14986 $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
14987 # Check whether --enable-splines was given.
14988 if test "${enable_splines+set}" = set; then :
14989 enableval=$enable_splines;
14990 if test "$enableval" = yes; then
14991 wx_cv_use_splines='wxUSE_SPLINES
=yes'
14993 wx_cv_use_splines='wxUSE_SPLINES
=no
'
14998 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
15003 eval "$wx_cv_use_splines"
15005 if test x"$enablestring" = xdisable; then
15006 if test $wxUSE_SPLINES = no; then
15012 result=$wxUSE_SPLINES
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15016 $as_echo "$result" >&6; }
15020 defaultval=$wxUSE_ALL_FEATURES
15021 if test -z "$defaultval"; then
15022 if test x"$enablestring" = xdisable; then
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-mousewheel" >&5
15030 $as_echo_n "checking
for --${enablestring:-enable}-mousewheel...
" >&6; }
15031 # Check whether --enable-mousewheel was given.
15032 if test "${enable_mousewheel+set}" = set; then :
15033 enableval=$enable_mousewheel;
15034 if test "$enableval" = yes; then
15035 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
15037 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
15042 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
15047 eval "$wx_cv_use_mousewheel"
15049 if test x
"$enablestring" = xdisable
; then
15050 if test $wxUSE_MOUSEWHEEL = no
; then
15056 result
=$wxUSE_MOUSEWHEEL
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15060 $as_echo "$result" >&6; }
15064 defaultval
=$wxUSE_ALL_FEATURES
15065 if test -z "$defaultval"; then
15066 if test x
"$enablestring" = xdisable
; then
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
15074 $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
15075 # Check whether --enable-validators was given.
15076 if test "${enable_validators+set}" = set; then :
15077 enableval
=$enable_validators;
15078 if test "$enableval" = yes; then
15079 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
15081 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
15086 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
15091 eval "$wx_cv_use_validators"
15093 if test x"$enablestring" = xdisable; then
15094 if test $wxUSE_VALIDATORS = no; then
15100 result=$wxUSE_VALIDATORS
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15104 $as_echo "$result" >&6; }
15108 defaultval=$wxUSE_ALL_FEATURES
15109 if test -z "$defaultval"; then
15110 if test x"$enablestring" = xdisable; then
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
15118 $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
15119 # Check whether --enable-busyinfo was given.
15120 if test "${enable_busyinfo+set}" = set; then :
15121 enableval=$enable_busyinfo;
15122 if test "$enableval" = yes; then
15123 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
15125 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
15130 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
15135 eval "$wx_cv_use_busyinfo"
15137 if test x"$enablestring" = xdisable; then
15138 if test $wxUSE_BUSYINFO = no; then
15144 result=$wxUSE_BUSYINFO
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15148 $as_echo "$result" >&6; }
15152 defaultval=$wxUSE_ALL_FEATURES
15153 if test -z "$defaultval"; then
15154 if test x"$enablestring" = xdisable; then
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-hotkey" >&5
15162 $as_echo_n "checking
for --${enablestring:-enable}-hotkey...
" >&6; }
15163 # Check whether --enable-hotkey was given.
15164 if test "${enable_hotkey+set}" = set; then :
15165 enableval=$enable_hotkey;
15166 if test "$enableval" = yes; then
15167 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
15169 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
15174 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
15179 eval "$wx_cv_use_hotkey"
15181 if test x
"$enablestring" = xdisable
; then
15182 if test $wxUSE_HOTKEY = no
; then
15188 result
=$wxUSE_HOTKEY
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15192 $as_echo "$result" >&6; }
15196 defaultval
=$wxUSE_ALL_FEATURES
15197 if test -z "$defaultval"; then
15198 if test x
"$enablestring" = xdisable
; then
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
15206 $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
15207 # Check whether --enable-joystick was given.
15208 if test "${enable_joystick+set}" = set; then :
15209 enableval
=$enable_joystick;
15210 if test "$enableval" = yes; then
15211 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
15213 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
15218 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
15223 eval "$wx_cv_use_joystick"
15225 if test x"$enablestring" = xdisable; then
15226 if test $wxUSE_JOYSTICK = no; then
15232 result=$wxUSE_JOYSTICK
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15236 $as_echo "$result" >&6; }
15240 defaultval=$wxUSE_ALL_FEATURES
15241 if test -z "$defaultval"; then
15242 if test x"$enablestring" = xdisable; then
15249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
15250 $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
15251 # Check whether --enable-metafile was given.
15252 if test "${enable_metafile+set}" = set; then :
15253 enableval=$enable_metafile;
15254 if test "$enableval" = yes; then
15255 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
15257 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
15262 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15267 eval "$wx_cv_use_metafile"
15269 if test x"$enablestring" = xdisable; then
15270 if test $wxUSE_METAFILE = no; then
15276 result=$wxUSE_METAFILE
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15280 $as_echo "$result" >&6; }
15284 defaultval=$wxUSE_ALL_FEATURES
15285 if test -z "$defaultval"; then
15286 if test x"$enablestring" = xdisable; then
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dragimage" >&5
15294 $as_echo_n "checking
for --${enablestring:-enable}-dragimage...
" >&6; }
15295 # Check whether --enable-dragimage was given.
15296 if test "${enable_dragimage+set}" = set; then :
15297 enableval=$enable_dragimage;
15298 if test "$enableval" = yes; then
15299 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15301 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15306 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15311 eval "$wx_cv_use_dragimage"
15313 if test x
"$enablestring" = xdisable
; then
15314 if test $wxUSE_DRAGIMAGE = no
; then
15320 result
=$wxUSE_DRAGIMAGE
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15324 $as_echo "$result" >&6; }
15328 defaultval
=$wxUSE_ALL_FEATURES
15329 if test -z "$defaultval"; then
15330 if test x
"$enablestring" = xdisable
; then
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
15338 $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
15339 # Check whether --enable-accessibility was given.
15340 if test "${enable_accessibility+set}" = set; then :
15341 enableval
=$enable_accessibility;
15342 if test "$enableval" = yes; then
15343 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
15345 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
15350 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15355 eval "$wx_cv_use_accessibility"
15357 if test x"$enablestring" = xdisable; then
15358 if test $wxUSE_ACCESSIBILITY = no; then
15364 result=$wxUSE_ACCESSIBILITY
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15368 $as_echo "$result" >&6; }
15372 defaultval=$wxUSE_ALL_FEATURES
15373 if test -z "$defaultval"; then
15374 if test x"$enablestring" = xdisable; then
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
15382 $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
15383 # Check whether --enable-uiactionsim was given.
15384 if test "${enable_uiactionsim+set}" = set; then :
15385 enableval=$enable_uiactionsim;
15386 if test "$enableval" = yes; then
15387 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
15389 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
15394 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
15399 eval "$wx_cv_use_uiactionsim"
15401 if test x"$enablestring" = xdisable; then
15402 if test $wxUSE_UIACTIONSIMULATOR = no; then
15408 result=$wxUSE_UIACTIONSIMULATOR
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15412 $as_echo "$result" >&6; }
15416 defaultval=$wxUSE_ALL_FEATURES
15417 if test -z "$defaultval"; then
15418 if test x"$enablestring" = xdisable; then
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-dctransform" >&5
15426 $as_echo_n "checking
for --${enablestring:-enable}-dctransform...
" >&6; }
15427 # Check whether --enable-dctransform was given.
15428 if test "${enable_dctransform+set}" = set; then :
15429 enableval=$enable_dctransform;
15430 if test "$enableval" = yes; then
15431 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
15433 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
15438 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
15443 eval "$wx_cv_use_dctransform"
15445 if test x
"$enablestring" = xdisable
; then
15446 if test $wxUSE_DC_TRANSFORM_MATRIX = no
; then
15452 result
=$wxUSE_DC_TRANSFORM_MATRIX
15455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15456 $as_echo "$result" >&6; }
15460 defaultval
=$wxUSE_ALL_FEATURES
15461 if test -z "$defaultval"; then
15462 if test x
"$enablestring" = xdisable
; then
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
15470 $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
15471 # Check whether --enable-webviewwebkit was given.
15472 if test "${enable_webviewwebkit+set}" = set; then :
15473 enableval
=$enable_webviewwebkit;
15474 if test "$enableval" = yes; then
15475 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=yes'
15477 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=no'
15482 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
15487 eval "$wx_cv_use_webviewwebkit"
15489 if test x"$enablestring" = xdisable; then
15490 if test $wxUSE_WEBVIEW_WEBKIT = no; then
15496 result=$wxUSE_WEBVIEW_WEBKIT
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15500 $as_echo "$result" >&6; }
15506 defaultval=$wxUSE_ALL_FEATURES
15507 if test -z "$defaultval"; then
15508 if test x"$enablestring" = xdisable; then
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
15516 $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
15517 # Check whether --enable-palette was given.
15518 if test "${enable_palette+set}" = set; then :
15519 enableval=$enable_palette;
15520 if test "$enableval" = yes; then
15521 wx_cv_use_palette='wxUSE_PALETTE
=yes'
15523 wx_cv_use_palette='wxUSE_PALETTE
=no
'
15528 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15533 eval "$wx_cv_use_palette"
15535 if test x"$enablestring" = xdisable; then
15536 if test $wxUSE_PALETTE = no; then
15542 result=$wxUSE_PALETTE
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15546 $as_echo "$result" >&6; }
15550 defaultval=$wxUSE_ALL_FEATURES
15551 if test -z "$defaultval"; then
15552 if test x"$enablestring" = xdisable; then
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-image" >&5
15560 $as_echo_n "checking
for --${enablestring:-enable}-image...
" >&6; }
15561 # Check whether --enable-image was given.
15562 if test "${enable_image+set}" = set; then :
15563 enableval=$enable_image;
15564 if test "$enableval" = yes; then
15565 wx_cv_use_image='wxUSE_IMAGE=yes'
15567 wx_cv_use_image='wxUSE_IMAGE=no'
15572 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15577 eval "$wx_cv_use_image"
15579 if test x
"$enablestring" = xdisable
; then
15580 if test $wxUSE_IMAGE = no
; then
15586 result
=$wxUSE_IMAGE
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15590 $as_echo "$result" >&6; }
15594 defaultval
=$wxUSE_ALL_FEATURES
15595 if test -z "$defaultval"; then
15596 if test x
"$enablestring" = xdisable
; then
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
15604 $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
15605 # Check whether --enable-gif was given.
15606 if test "${enable_gif+set}" = set; then :
15607 enableval
=$enable_gif;
15608 if test "$enableval" = yes; then
15609 wx_cv_use_gif
='wxUSE_GIF=yes'
15611 wx_cv_use_gif
='wxUSE_GIF=no'
15616 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15621 eval "$wx_cv_use_gif"
15623 if test x"$enablestring" = xdisable; then
15624 if test $wxUSE_GIF = no; then
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15634 $as_echo "$result" >&6; }
15638 defaultval=$wxUSE_ALL_FEATURES
15639 if test -z "$defaultval"; then
15640 if test x"$enablestring" = xdisable; then
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
15648 $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
15649 # Check whether --enable-pcx was given.
15650 if test "${enable_pcx+set}" = set; then :
15651 enableval=$enable_pcx;
15652 if test "$enableval" = yes; then
15653 wx_cv_use_pcx='wxUSE_PCX
=yes'
15655 wx_cv_use_pcx='wxUSE_PCX
=no
'
15660 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15665 eval "$wx_cv_use_pcx"
15667 if test x"$enablestring" = xdisable; then
15668 if test $wxUSE_PCX = no; then
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15678 $as_echo "$result" >&6; }
15682 defaultval=$wxUSE_ALL_FEATURES
15683 if test -z "$defaultval"; then
15684 if test x"$enablestring" = xdisable; then
15691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-tga" >&5
15692 $as_echo_n "checking
for --${enablestring:-enable}-tga...
" >&6; }
15693 # Check whether --enable-tga was given.
15694 if test "${enable_tga+set}" = set; then :
15695 enableval=$enable_tga;
15696 if test "$enableval" = yes; then
15697 wx_cv_use_tga='wxUSE_TGA=yes'
15699 wx_cv_use_tga='wxUSE_TGA=no'
15704 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15709 eval "$wx_cv_use_tga"
15711 if test x
"$enablestring" = xdisable
; then
15712 if test $wxUSE_TGA = no
; then
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15722 $as_echo "$result" >&6; }
15726 defaultval
=$wxUSE_ALL_FEATURES
15727 if test -z "$defaultval"; then
15728 if test x
"$enablestring" = xdisable
; then
15735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
15736 $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
15737 # Check whether --enable-iff was given.
15738 if test "${enable_iff+set}" = set; then :
15739 enableval
=$enable_iff;
15740 if test "$enableval" = yes; then
15741 wx_cv_use_iff
='wxUSE_IFF=yes'
15743 wx_cv_use_iff
='wxUSE_IFF=no'
15748 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15753 eval "$wx_cv_use_iff"
15755 if test x"$enablestring" = xdisable; then
15756 if test $wxUSE_IFF = no; then
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15766 $as_echo "$result" >&6; }
15770 defaultval=$wxUSE_ALL_FEATURES
15771 if test -z "$defaultval"; then
15772 if test x"$enablestring" = xdisable; then
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
15780 $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
15781 # Check whether --enable-pnm was given.
15782 if test "${enable_pnm+set}" = set; then :
15783 enableval=$enable_pnm;
15784 if test "$enableval" = yes; then
15785 wx_cv_use_pnm='wxUSE_PNM
=yes'
15787 wx_cv_use_pnm='wxUSE_PNM
=no
'
15792 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15797 eval "$wx_cv_use_pnm"
15799 if test x"$enablestring" = xdisable; then
15800 if test $wxUSE_PNM = no; then
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15810 $as_echo "$result" >&6; }
15814 defaultval=$wxUSE_ALL_FEATURES
15815 if test -z "$defaultval"; then
15816 if test x"$enablestring" = xdisable; then
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-xpm" >&5
15824 $as_echo_n "checking
for --${enablestring:-enable}-xpm...
" >&6; }
15825 # Check whether --enable-xpm was given.
15826 if test "${enable_xpm+set}" = set; then :
15827 enableval=$enable_xpm;
15828 if test "$enableval" = yes; then
15829 wx_cv_use_xpm='wxUSE_XPM=yes'
15831 wx_cv_use_xpm='wxUSE_XPM=no'
15836 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15841 eval "$wx_cv_use_xpm"
15843 if test x
"$enablestring" = xdisable
; then
15844 if test $wxUSE_XPM = no
; then
15853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15854 $as_echo "$result" >&6; }
15858 defaultval
=$wxUSE_ALL_FEATURES
15859 if test -z "$defaultval"; then
15860 if test x
"$enablestring" = xdisable
; then
15867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
15868 $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
15869 # Check whether --enable-ico_cur was given.
15870 if test "${enable_ico_cur+set}" = set; then :
15871 enableval
=$enable_ico_cur;
15872 if test "$enableval" = yes; then
15873 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
15875 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
15880 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15885 eval "$wx_cv_use_ico_cur"
15887 if test x"$enablestring" = xdisable; then
15888 if test $wxUSE_ICO_CUR = no; then
15894 result=$wxUSE_ICO_CUR
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15898 $as_echo "$result" >&6; }
15904 defaultval=$wxUSE_ALL_FEATURES
15905 if test -z "$defaultval"; then
15906 if test x"$enablestring" = xdisable; then
15913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
15914 $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
15915 # Check whether --enable-dccache was given.
15916 if test "${enable_dccache+set}" = set; then :
15917 enableval=$enable_dccache;
15918 if test "$enableval" = yes; then
15919 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
15921 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
15926 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15931 eval "$wx_cv_use_dccache"
15933 if test x"$enablestring" = xdisable; then
15934 if test $wxUSE_DC_CACHEING = no; then
15940 result=$wxUSE_DC_CACHEING
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
15944 $as_echo "$result" >&6; }
15948 defaultval=$wxUSE_ALL_FEATURES
15949 if test -z "$defaultval"; then
15950 if test x"$enablestring" = xdisable; then
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-ps-in-msw" >&5
15958 $as_echo_n "checking
for --${enablestring:-enable}-ps-in-msw...
" >&6; }
15959 # Check whether --enable-ps-in-msw was given.
15960 if test "${enable_ps_in_msw+set}" = set; then :
15961 enableval=$enable_ps_in_msw;
15962 if test "$enableval" = yes; then
15963 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15965 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15970 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15975 eval "$wx_cv_use_ps_in_msw"
15977 if test x
"$enablestring" = xdisable
; then
15978 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
15984 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
15988 $as_echo "$result" >&6; }
15992 defaultval
=$wxUSE_ALL_FEATURES
15993 if test -z "$defaultval"; then
15994 if test x
"$enablestring" = xdisable
; then
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
16002 $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
16003 # Check whether --enable-ownerdrawn was given.
16004 if test "${enable_ownerdrawn+set}" = set; then :
16005 enableval
=$enable_ownerdrawn;
16006 if test "$enableval" = yes; then
16007 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
16009 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
16014 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
16019 eval "$wx_cv_use_ownerdrawn"
16021 if test x"$enablestring" = xdisable; then
16022 if test $wxUSE_OWNER_DRAWN = no; then
16028 result=$wxUSE_OWNER_DRAWN
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16032 $as_echo "$result" >&6; }
16036 defaultval=$wxUSE_ALL_FEATURES
16037 if test -z "$defaultval"; then
16038 if test x"$enablestring" = xdisable; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
16046 $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
16047 # Check whether --enable-uxtheme was given.
16048 if test "${enable_uxtheme+set}" = set; then :
16049 enableval=$enable_uxtheme;
16050 if test "$enableval" = yes; then
16051 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
16053 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
16058 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
16063 eval "$wx_cv_use_uxtheme"
16065 if test x"$enablestring" = xdisable; then
16066 if test $wxUSE_UXTHEME = no; then
16072 result=$wxUSE_UXTHEME
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16076 $as_echo "$result" >&6; }
16080 defaultval=$wxUSE_ALL_FEATURES
16081 if test -z "$defaultval"; then
16082 if test x"$enablestring" = xdisable; then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for --${enablestring:-enable}-wxdib" >&5
16090 $as_echo_n "checking
for --${enablestring:-enable}-wxdib...
" >&6; }
16091 # Check whether --enable-wxdib was given.
16092 if test "${enable_wxdib+set}" = set; then :
16093 enableval=$enable_wxdib;
16094 if test "$enableval" = yes; then
16095 wx_cv_use_wxdib='wxUSE_DIB=yes'
16097 wx_cv_use_wxdib='wxUSE_DIB=no'
16102 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
16107 eval "$wx_cv_use_wxdib"
16109 if test x
"$enablestring" = xdisable
; then
16110 if test $wxUSE_DIB = no
; then
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16120 $as_echo "$result" >&6; }
16124 defaultval
=$wxUSE_ALL_FEATURES
16125 if test -z "$defaultval"; then
16126 if test x
"$enablestring" = xdisable
; then
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
16134 $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
16135 # Check whether --enable-webviewie was given.
16136 if test "${enable_webviewie+set}" = set; then :
16137 enableval
=$enable_webviewie;
16138 if test "$enableval" = yes; then
16139 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=yes'
16141 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=no'
16146 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
16151 eval "$wx_cv_use_webviewie"
16153 if test x"$enablestring" = xdisable; then
16154 if test $wxUSE_WEBVIEW_IE = no; then
16160 result=$wxUSE_WEBVIEW_IE
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
16164 $as_echo "$result" >&6; }
16167 if test "$wxUSE_MSW" != 1; then
16168 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
16173 defaultval=$wxUSE_ALL_FEATURES
16174 if test -z "$defaultval"; then
16175 if test x"$enablestring" = xdisable; then
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
16183 $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
16184 # Check whether --enable-autoidman was given.
16185 if test "${enable_autoidman+set}" = set; then :
16186 enableval=$enable_autoidman;
16187 if test "$enableval" = yes; then
16188 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
16190 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
16195 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
16200 eval "$wx_cv_use_autoidman"
16202 if test x"$enablestring" = xdisable; then
16203 if test $wxUSE_AUTOID_MANAGEMENT = no; then
16209 result=$wxUSE_AUTOID_MANAGEMENT
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $result" >&5
16213 $as_echo "$result" >&6; }
16219 cat >confcache <<\_ACEOF
16220 # This file is a shell script that caches the results of configure
16221 # tests run on this system so they can be shared between configure
16222 # scripts and configure runs, see configure's option --config-cache.
16223 # It is not useful on other systems. If it contains results you don't
16224 # want to keep, you may remove or edit it.
16226 # config.status only pays attention to the cache file if you give it
16227 # the --recheck option to rerun configure.
16229 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16230 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16231 # following values.
16235 # The following way of writing the cache mishandles newlines in values,
16236 # but we know of no workaround that is simple, portable, and efficient.
16237 # So, we kill variables containing newlines.
16238 # Ultrix sh set writes to stderr and can't be redirected directly,
16239 # and sets the high bit in the cache file unless we assign to the vars.
16241 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16242 eval ac_val=\$$ac_var
16246 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
16247 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
16250 _ | IFS | as_nl) ;; #(
16251 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16252 *) { eval $ac_var=; unset $ac_var;} ;;
16258 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16259 *${as_nl}ac_space=\ *)
16260 # `set' does not quote correctly, so add quotes: double-quote
16261 # substitution turns \\\\ into \\, and sed turns \\ into \.
16264 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
16267 # `set' quotes correctly as required by POSIX, so do not add quotes.
16268 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
16277 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16279 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16281 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16282 if test -w "$cache_file"; then
16283 if test "x
$cache_file" != "x
/dev
/null
"; then
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
16285 $as_echo "$as_me: updating cache
$cache_file" >&6;}
16286 if test ! -f "$cache_file" || test -h "$cache_file"; then
16287 cat confcache >"$cache_file"
16289 case $cache_file in #(
16291 mv -f confcache "$cache_file"$$ &&
16292 mv -f "$cache_file"$$ "$cache_file" ;; #(
16294 mv -f confcache "$cache_file" ;;
16299 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
16300 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
16307 ac_cpp='$CPP $CPPFLAGS'
16308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16311 if test -n "$ac_tool_prefix"; then
16312 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
16313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16315 $as_echo_n "checking
for $ac_word...
" >&6; }
16316 if ${ac_cv_prog_CC+:} false; then :
16317 $as_echo_n "(cached
) " >&6
16319 if test -n "$CC"; then
16320 ac_cv_prog_CC="$CC" # Let the user override the test.
16322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16323 for as_dir in $PATH
16326 test -z "$as_dir" && as_dir=.
16327 for ac_exec_ext in '' $ac_executable_extensions; do
16328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16329 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
16330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16340 if test -n "$CC"; then
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16342 $as_echo "$CC" >&6; }
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16345 $as_echo "no
" >&6; }
16350 if test -z "$ac_cv_prog_CC"; then
16352 # Extract the first word of "gcc
", so it can be a program name with args.
16353 set dummy gcc; ac_word=$2
16354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16355 $as_echo_n "checking
for $ac_word...
" >&6; }
16356 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16357 $as_echo_n "(cached
) " >&6
16359 if test -n "$ac_ct_CC"; then
16360 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16363 for as_dir in $PATH
16366 test -z "$as_dir" && as_dir=.
16367 for ac_exec_ext in '' $ac_executable_extensions; do
16368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16369 ac_cv_prog_ac_ct_CC="gcc
"
16370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16380 if test -n "$ac_ct_CC"; then
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16382 $as_echo "$ac_ct_CC" >&6; }
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16385 $as_echo "no
" >&6; }
16388 if test "x
$ac_ct_CC" = x; then
16391 case $cross_compiling:$ac_tool_warned in
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16394 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16395 ac_tool_warned=yes ;;
16400 CC="$ac_cv_prog_CC"
16403 if test -z "$CC"; then
16404 if test -n "$ac_tool_prefix"; then
16405 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
16406 set dummy ${ac_tool_prefix}cc; ac_word=$2
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16408 $as_echo_n "checking
for $ac_word...
" >&6; }
16409 if ${ac_cv_prog_CC+:} false; then :
16410 $as_echo_n "(cached
) " >&6
16412 if test -n "$CC"; then
16413 ac_cv_prog_CC="$CC" # Let the user override the test.
16415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16416 for as_dir in $PATH
16419 test -z "$as_dir" && as_dir=.
16420 for ac_exec_ext in '' $ac_executable_extensions; do
16421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16422 ac_cv_prog_CC="${ac_tool_prefix}cc
"
16423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16433 if test -n "$CC"; then
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16435 $as_echo "$CC" >&6; }
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16438 $as_echo "no
" >&6; }
16444 if test -z "$CC"; then
16445 # Extract the first word of "cc
", so it can be a program name with args.
16446 set dummy cc; ac_word=$2
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16448 $as_echo_n "checking
for $ac_word...
" >&6; }
16449 if ${ac_cv_prog_CC+:} false; then :
16450 $as_echo_n "(cached
) " >&6
16452 if test -n "$CC"; then
16453 ac_cv_prog_CC="$CC" # Let the user override the test.
16455 ac_prog_rejected=no
16456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16457 for as_dir in $PATH
16460 test -z "$as_dir" && as_dir=.
16461 for ac_exec_ext in '' $ac_executable_extensions; do
16462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
16464 ac_prog_rejected=yes
16468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16475 if test $ac_prog_rejected = yes; then
16476 # We found a bogon in the path, so make sure we never use it.
16477 set dummy $ac_cv_prog_CC
16479 if test $# != 0; then
16480 # We chose a different compiler from the bogus one.
16481 # However, it has the same basename, so the bogon will be chosen
16482 # first if we set CC to just the basename; use the full file name.
16484 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
16490 if test -n "$CC"; then
16491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16492 $as_echo "$CC" >&6; }
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16495 $as_echo "no
" >&6; }
16500 if test -z "$CC"; then
16501 if test -n "$ac_tool_prefix"; then
16502 for ac_prog in cl.exe
16504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16507 $as_echo_n "checking
for $ac_word...
" >&6; }
16508 if ${ac_cv_prog_CC+:} false; then :
16509 $as_echo_n "(cached
) " >&6
16511 if test -n "$CC"; then
16512 ac_cv_prog_CC="$CC" # Let the user override the test.
16514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16515 for as_dir in $PATH
16518 test -z "$as_dir" && as_dir=.
16519 for ac_exec_ext in '' $ac_executable_extensions; do
16520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16521 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16532 if test -n "$CC"; then
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC" >&5
16534 $as_echo "$CC" >&6; }
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16537 $as_echo "no
" >&6; }
16541 test -n "$CC" && break
16544 if test -z "$CC"; then
16546 for ac_prog in cl.exe
16548 # Extract the first word of "$ac_prog", so it can be a program name with args.
16549 set dummy $ac_prog; ac_word=$2
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
16551 $as_echo_n "checking
for $ac_word...
" >&6; }
16552 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16553 $as_echo_n "(cached
) " >&6
16555 if test -n "$ac_ct_CC"; then
16556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16562 test -z "$as_dir" && as_dir=.
16563 for ac_exec_ext in '' $ac_executable_extensions; do
16564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16565 ac_cv_prog_ac_ct_CC="$ac_prog"
16566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
16575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16576 if test -n "$ac_ct_CC"; then
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_CC" >&5
16578 $as_echo "$ac_ct_CC" >&6; }
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16581 $as_echo "no
" >&6; }
16585 test -n "$ac_ct_CC" && break
16588 if test "x
$ac_ct_CC" = x; then
16591 case $cross_compiling:$ac_tool_warned in
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
16594 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
16595 ac_tool_warned=yes ;;
16604 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16606 as_fn_error $? "no acceptable C compiler found in \$PATH
16607 See \`config.log' for more details
" "$LINENO" 5; }
16609 # Provide some information about the compiler.
16610 $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler version
" >&5
16613 for ac_option in --version -v -V -qversion; do
16614 { { ac_try="$ac_compiler $ac_option >&5"
16615 case "(($ac_try" in
16616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16617 *) ac_try_echo=$ac_try;;
16619 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16620 $as_echo "$ac_try_echo"; } >&5
16621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16623 if test -s conftest.err; then
16625 ... rest of stderr output deleted ...
16626 10q' conftest.err >conftest.er1
16627 cat conftest.er1 >&5
16629 rm -f conftest.er1 conftest.err
16630 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16631 test $ac_status = 0; }
16634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16635 /* end confdefs.h. */
16645 ac_clean_files_save=$ac_clean_files
16646 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
16647 # Try to create an executable without -o first, disregard a.out.
16648 # It will help us diagnose broken compilers, and finding out an intuition
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works
" >&5
16651 $as_echo_n "checking whether the C compiler works...
" >&6; }
16652 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16654 # The possible output files:
16655 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
16658 for ac_file in $ac_files
16661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16667 if { { ac_try="$ac_link_default"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16672 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16673 $as_echo "$ac_try_echo"; } >&5
16674 (eval "$ac_link_default") 2>&5
16676 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16677 test $ac_status = 0; }; then :
16678 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16679 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16680 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16681 # so that the user can short-circuit this test for compilers unknown to
16683 for ac_file in $ac_files ''
16685 test -f "$ac_file" || continue
16687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
16690 # We found the default executable, but exeext='' is most
16694 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16696 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16698 # We set ac_cv_exeext here because the later test for it is not
16699 # safe: cross compilers may not add the suffix if given an `-o'
16700 # argument, so we may need to know it at that point already.
16701 # Even if this section looks crufty: it has the advantage of
16702 # actually working.
16708 test "$ac_cv_exeext" = no && ac_cv_exeext=
16713 if test -z "$ac_file"; then :
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
16715 $as_echo "no
" >&6; }
16716 $as_echo "$as_me: failed program was
:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16721 as_fn_error 77 "C compiler cannot create executables
16722 See \`config.log' for more details
" "$LINENO" 5; }
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
16725 $as_echo "yes" >&6; }
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for C compiler default output
file name
" >&5
16728 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_file" >&5
16730 $as_echo "$ac_file" >&6; }
16731 ac_exeext=$ac_cv_exeext
16733 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
16734 ac_clean_files=$ac_clean_files_save
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for suffix of executables
" >&5
16736 $as_echo_n "checking
for suffix of executables...
" >&6; }
16737 if { { ac_try="$ac_link"
16738 case "(($ac_try" in
16739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16740 *) ac_try_echo=$ac_try;;
16742 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16743 $as_echo "$ac_try_echo"; } >&5
16744 (eval "$ac_link") 2>&5
16746 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16747 test $ac_status = 0; }; then :
16748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16750 # work properly (i.e., refer to `conftest.exe'), while it won't with
16752 for ac_file in conftest.exe conftest conftest.*; do
16753 test -f "$ac_file" || continue
16755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
16756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
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 executables: cannot compile and link
16765 See \`config.log' for more details
" "$LINENO" 5; }
16767 rm -f conftest conftest$ac_cv_exeext
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_exeext" >&5
16769 $as_echo "$ac_cv_exeext" >&6; }
16771 rm -f conftest.$ac_ext
16772 EXEEXT=$ac_cv_exeext
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16780 FILE *f = fopen ("conftest.out
", "w
");
16781 return ferror (f) || fclose (f) != 0;
16787 ac_clean_files="$ac_clean_files conftest.out
"
16788 # Check that the compiler produces executables we can run. If not, either
16789 # the compiler is broken, or we cross compile.
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling
" >&5
16791 $as_echo_n "checking whether we are cross compiling...
" >&6; }
16792 if test "$cross_compiling" != yes; then
16793 { { ac_try="$ac_link"
16794 case "(($ac_try" in
16795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16796 *) ac_try_echo=$ac_try;;
16798 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16799 $as_echo "$ac_try_echo"; } >&5
16800 (eval "$ac_link") 2>&5
16802 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16803 test $ac_status = 0; }
16804 if { ac_try='./conftest$ac_cv_exeext'
16805 { { case "(($ac_try" in
16806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16807 *) ac_try_echo=$ac_try;;
16809 eval ac_try_echo="\"\
$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16810 $as_echo "$ac_try_echo"; } >&5
16811 (eval "$ac_try") 2>&5
16813 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
16814 test $ac_status = 0; }; }; then
16817 if test "$cross_compiling" = maybe; then
16818 cross_compiling=yes
16820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
16821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16822 as_fn_error $? "cannot run C compiled programs.
16823 If you meant to cross compile, use \`--host'.
16824 See \
`config.log' for more details" "$LINENO" 5; }
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
16829 $as_echo "$cross_compiling" >&6; }
16831 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
16832 ac_clean_files=$ac_clean_files_save
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
16834 $as_echo_n "checking for suffix of object files... " >&6; }
16835 if ${ac_cv_objext+:} false; then :
16836 $as_echo_n "(cached) " >&6
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16849 rm -f conftest.o conftest.obj
16850 if { { ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
16853 *) ac_try_echo
=$ac_try;;
16855 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16856 $as_echo "$ac_try_echo"; } >&5
16857 (eval "$ac_compile") 2>&5
16859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16860 test $ac_status = 0; }; then :
16861 for ac_file
in conftest.o conftest.obj conftest.
*; do
16862 test -f "$ac_file" || continue;
16864 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.dSYM
) ;;
16865 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
16870 $as_echo "$as_me: failed program was:" >&5
16871 sed 's/^/| /' conftest.
$ac_ext >&5
16873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16875 as_fn_error $?
"cannot compute suffix of object files: cannot compile
16876 See \`config.log' for more details" "$LINENO" 5; }
16878 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
16881 $as_echo "$ac_cv_objext" >&6; }
16882 OBJEXT
=$ac_cv_objext
16884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16885 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16886 if ${ac_cv_c_compiler_gnu+:} false
; then :
16887 $as_echo_n "(cached) " >&6
16889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16903 if ac_fn_c_try_compile
"$LINENO"; then :
16904 ac_compiler_gnu
=yes
16908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16909 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16913 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16914 if test $ac_compiler_gnu = yes; then
16919 ac_test_CFLAGS
=${CFLAGS+set}
16920 ac_save_CFLAGS
=$CFLAGS
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16922 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16923 if ${ac_cv_prog_cc_g+:} false
; then :
16924 $as_echo_n "(cached) " >&6
16926 ac_save_c_werror_flag
=$ac_c_werror_flag
16927 ac_c_werror_flag
=yes
16930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16931 /* end confdefs.h. */
16941 if ac_fn_c_try_compile
"$LINENO"; then :
16942 ac_cv_prog_cc_g
=yes
16945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16956 if ac_fn_c_try_compile
"$LINENO"; then :
16959 ac_c_werror_flag
=$ac_save_c_werror_flag
16961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16972 if ac_fn_c_try_compile
"$LINENO"; then :
16973 ac_cv_prog_cc_g
=yes
16975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16980 ac_c_werror_flag
=$ac_save_c_werror_flag
16982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16983 $as_echo "$ac_cv_prog_cc_g" >&6; }
16984 if test "$ac_test_CFLAGS" = set; then
16985 CFLAGS
=$ac_save_CFLAGS
16986 elif test $ac_cv_prog_cc_g = yes; then
16987 if test "$GCC" = yes; then
16993 if test "$GCC" = yes; then
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17001 if ${ac_cv_prog_cc_c89+:} false
; then :
17002 $as_echo_n "(cached) " >&6
17004 ac_cv_prog_cc_c89
=no
17006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 #include <stdarg.h>
17011 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17012 struct buf { int x; };
17013 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17014 static char *e (p, i)
17020 static char *f (char * (*g) (char **, int), char **p, ...)
17025 s = g (p, va_arg (v,int));
17030 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17031 function prototypes and stuff, but not '\xHH' hex character constants.
17032 These don't provoke an error unfortunately, instead are silently treated
17033 as 'x'. The following induces an error, until -std is added to get
17034 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17035 array size at least. It's necessary to write '\x00'==0 to get something
17036 that's true only with -std. */
17037 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17039 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17040 inside strings and character constants. */
17042 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17044 int test (int i, double x);
17045 struct s1 {int (*f) (int a);};
17046 struct s2 {int (*f) (double a);};
17047 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17053 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17058 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
17059 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17061 CC
="$ac_save_CC $ac_arg"
17062 if ac_fn_c_try_compile
"$LINENO"; then :
17063 ac_cv_prog_cc_c89
=$ac_arg
17065 rm -f core conftest.err conftest.
$ac_objext
17066 test "x$ac_cv_prog_cc_c89" != "xno" && break
17068 rm -f conftest.
$ac_ext
17073 case "x$ac_cv_prog_cc_c89" in
17075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17076 $as_echo "none needed" >&6; } ;;
17078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17079 $as_echo "unsupported" >&6; } ;;
17081 CC
="$CC $ac_cv_prog_cc_c89"
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17083 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17085 if test "x$ac_cv_prog_cc_c89" != xno
; then :
17090 ac_cpp
='$CPP $CPPFLAGS'
17091 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17092 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17093 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17103 ac_cpp
='$CPP $CPPFLAGS'
17104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
17109 $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
17110 if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false
; then :
17111 $as_echo_n "(cached) " >&6
17113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17120 #ifndef __INTEL_COMPILER
17128 if ac_fn_c_try_compile
"$LINENO"; then :
17129 bakefile_cv_c_compiler___INTEL_COMPILER
=yes
17131 bakefile_cv_c_compiler___INTEL_COMPILER
=no
17134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
17139 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
17140 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
17146 ac_cpp
='$CPP $CPPFLAGS'
17147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17154 if test "$INTELCC" = "yes"; then
17158 ac_cpp
='$CPP $CPPFLAGS'
17159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
17164 $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
17165 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false
; then :
17166 $as_echo_n "(cached) " >&6
17168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17169 /* end confdefs.h. */
17175 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17183 if ac_fn_c_try_compile
"$LINENO"; then :
17184 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=yes
17186 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800
=no
17189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
17194 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
17195 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17201 ac_cpp
='$CPP $CPPFLAGS'
17202 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17211 ac_cpp
='$CPP $CPPFLAGS'
17212 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17213 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17214 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
17217 $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
17218 if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false
; then :
17219 $as_echo_n "(cached) " >&6
17221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17228 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17236 if ac_fn_c_try_compile
"$LINENO"; then :
17237 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=yes
17239 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000
=no
17242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
17247 $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
17248 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17254 ac_cpp
='$CPP $CPPFLAGS'
17255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17263 if test "x$GCC" != "xyes"; then
17264 if test "xCC" = "xC"; then
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
17266 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
17267 if ${bakefile_cv_c_exto+:} false
; then :
17268 $as_echo_n "(cached) " >&6
17270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17271 /* end confdefs.h. */
17281 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
17282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17283 (eval $ac_compile) 2>&5
17285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17286 test $ac_status = 0; }; then :
17287 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
17289 conftest.
$ac_ext.o
)
17290 bakefile_cv_c_exto
="-ext o"
17297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17299 as_fn_error $?
"cannot figure out if compiler needs -ext o: cannot compile
17300 See \`config.log' for more details" "$LINENO" 5; }
17303 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
17307 $as_echo "$bakefile_cv_c_exto" >&6; }
17308 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17309 if test "c" = "c"; then
17310 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
17312 if test "c" = "cxx"; then
17313 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
17317 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17318 unset ac_cv_prog_cc_g
17319 ac_test_CFLAGS
=${CFLAGS+set}
17320 ac_save_CFLAGS
=$CFLAGS
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17322 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17323 if ${ac_cv_prog_cc_g+:} false
; then :
17324 $as_echo_n "(cached) " >&6
17326 ac_save_c_werror_flag
=$ac_c_werror_flag
17327 ac_c_werror_flag
=yes
17330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17341 if ac_fn_c_try_compile
"$LINENO"; then :
17342 ac_cv_prog_cc_g
=yes
17345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17356 if ac_fn_c_try_compile
"$LINENO"; then :
17359 ac_c_werror_flag
=$ac_save_c_werror_flag
17361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17362 /* end confdefs.h. */
17372 if ac_fn_c_try_compile
"$LINENO"; then :
17373 ac_cv_prog_cc_g
=yes
17375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17380 ac_c_werror_flag
=$ac_save_c_werror_flag
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17383 $as_echo "$ac_cv_prog_cc_g" >&6; }
17384 if test "$ac_test_CFLAGS" = set; then
17385 CFLAGS
=$ac_save_CFLAGS
17386 elif test $ac_cv_prog_cc_g = yes; then
17387 if test "$GCC" = yes; then
17393 if test "$GCC" = yes; then
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
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 ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17415 $as_echo_n "(cached) " >&6
17417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17432 if ac_fn_c_try_compile
"$LINENO"; then :
17433 bakefile_cv_c_compiler___xlC__
=yes
17435 bakefile_cv_c_compiler___xlC__
=no
17438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
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
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
17463 ac_cpp
='$CPP $CPPFLAGS'
17464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
17469 $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
17470 if ${bakefile_cv_c_compiler___MWERKS__+:} false
; then :
17471 $as_echo_n "(cached) " >&6
17473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17488 if ac_fn_c_try_compile
"$LINENO"; then :
17489 bakefile_cv_c_compiler___MWERKS__
=yes
17491 bakefile_cv_c_compiler___MWERKS__
=no
17494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17499 $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
17500 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17506 ac_cpp
='$CPP $CPPFLAGS'
17507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17513 if test "$MWCC" != "yes"; then
17517 ac_cpp
='$CPP $CPPFLAGS'
17518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
17523 $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
17524 if ${bakefile_cv_c_compiler___xlC__+:} false
; then :
17525 $as_echo_n "(cached) " >&6
17527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17542 if ac_fn_c_try_compile
"$LINENO"; then :
17543 bakefile_cv_c_compiler___xlC__
=yes
17545 bakefile_cv_c_compiler___xlC__
=no
17548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
17553 $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
17554 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17560 ac_cpp
='$CPP $CPPFLAGS'
17561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17574 ac_cpp
='$CPP $CPPFLAGS'
17575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
17580 $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
17581 if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false
; then :
17582 $as_echo_n "(cached) " >&6
17584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17591 #ifndef _SGI_COMPILER_VERSION
17599 if ac_fn_c_try_compile
"$LINENO"; then :
17600 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=yes
17602 bakefile_cv_c_compiler__SGI_COMPILER_VERSION
=no
17605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17610 $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17611 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17617 ac_cpp
='$CPP $CPPFLAGS'
17618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17627 if test "$INTELCC" != "yes"; then
17631 ac_cpp
='$CPP $CPPFLAGS'
17632 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17633 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17634 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17637 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17638 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17639 $as_echo_n "(cached) " >&6
17641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17642 /* end confdefs.h. */
17656 if ac_fn_c_try_compile
"$LINENO"; then :
17657 bakefile_cv_c_compiler___SUNPRO_C
=yes
17659 bakefile_cv_c_compiler___SUNPRO_C
=no
17662 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17667 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17668 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17674 ac_cpp
='$CPP $CPPFLAGS'
17675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17688 ac_cpp
='$CPP $CPPFLAGS'
17689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
17694 $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
17695 if ${bakefile_cv_c_compiler___HP_cc+:} false
; then :
17696 $as_echo_n "(cached) " >&6
17698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17699 /* end confdefs.h. */
17713 if ac_fn_c_try_compile
"$LINENO"; then :
17714 bakefile_cv_c_compiler___HP_cc
=yes
17716 bakefile_cv_c_compiler___HP_cc
=no
17719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
17724 $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
17725 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17731 ac_cpp
='$CPP $CPPFLAGS'
17732 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17733 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17734 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17744 ac_cpp
='$CPP $CPPFLAGS'
17745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
17750 $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
17751 if ${bakefile_cv_c_compiler___DECC+:} false
; then :
17752 $as_echo_n "(cached) " >&6
17754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17769 if ac_fn_c_try_compile
"$LINENO"; then :
17770 bakefile_cv_c_compiler___DECC
=yes
17772 bakefile_cv_c_compiler___DECC
=no
17775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
17780 $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
17781 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17787 ac_cpp
='$CPP $CPPFLAGS'
17788 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17789 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17790 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17800 ac_cpp
='$CPP $CPPFLAGS'
17801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
17806 $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
17807 if ${bakefile_cv_c_compiler___SUNPRO_C+:} false
; then :
17808 $as_echo_n "(cached) " >&6
17810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17825 if ac_fn_c_try_compile
"$LINENO"; then :
17826 bakefile_cv_c_compiler___SUNPRO_C
=yes
17828 bakefile_cv_c_compiler___SUNPRO_C
=no
17831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17836 $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17837 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17843 ac_cpp
='$CPP $CPPFLAGS'
17844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17857 ac_cpp
='$CPP $CPPFLAGS'
17858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
17862 $as_echo_n "checking how to run the C preprocessor... " >&6; }
17863 # On Suns, sometimes $CPP names a directory.
17864 if test -n "$CPP" && test -d "$CPP"; then
17867 if test -z "$CPP"; then
17868 if ${ac_cv_prog_CPP+:} false
; then :
17869 $as_echo_n "(cached) " >&6
17871 # Double quotes because CPP needs to be expanded
17872 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17874 ac_preproc_ok
=false
17875 for ac_c_preproc_warn_flag
in '' yes
17877 # Use a header file that comes with gcc, so configuring glibc
17878 # with a fresh cross-compiler works.
17879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17880 # <limits.h> exists even on freestanding compilers.
17881 # On the NeXT, cc -E runs the code through the compiler's parser,
17882 # not just through cpp. "Syntax error" is here to catch this case.
17883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17884 /* end confdefs.h. */
17886 # include <limits.h>
17888 # include <assert.h>
17892 if ac_fn_c_try_cpp
"$LINENO"; then :
17895 # Broken: fails on valid input.
17898 rm -f conftest.err conftest.i conftest.
$ac_ext
17900 # OK, works on sane cases. Now check whether nonexistent headers
17901 # can be detected and how.
17902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #include <ac_nonexistent.h>
17906 if ac_fn_c_try_cpp
"$LINENO"; then :
17907 # Broken: success on invalid input.
17910 # Passes both tests.
17914 rm -f conftest.err conftest.i conftest.
$ac_ext
17917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17918 rm -f conftest.i conftest.err conftest.
$ac_ext
17919 if $ac_preproc_ok; then :
17924 ac_cv_prog_CPP
=$CPP
17927 CPP
=$ac_cv_prog_CPP
17929 ac_cv_prog_CPP
=$CPP
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
17932 $as_echo "$CPP" >&6; }
17933 ac_preproc_ok
=false
17934 for ac_c_preproc_warn_flag
in '' yes
17936 # Use a header file that comes with gcc, so configuring glibc
17937 # with a fresh cross-compiler works.
17938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17939 # <limits.h> exists even on freestanding compilers.
17940 # On the NeXT, cc -E runs the code through the compiler's parser,
17941 # not just through cpp. "Syntax error" is here to catch this case.
17942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17943 /* end confdefs.h. */
17945 # include <limits.h>
17947 # include <assert.h>
17951 if ac_fn_c_try_cpp
"$LINENO"; then :
17954 # Broken: fails on valid input.
17957 rm -f conftest.err conftest.i conftest.
$ac_ext
17959 # OK, works on sane cases. Now check whether nonexistent headers
17960 # can be detected and how.
17961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17962 /* end confdefs.h. */
17963 #include <ac_nonexistent.h>
17965 if ac_fn_c_try_cpp
"$LINENO"; then :
17966 # Broken: success on invalid input.
17969 # Passes both tests.
17973 rm -f conftest.err conftest.i conftest.
$ac_ext
17976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17977 rm -f conftest.i conftest.err conftest.
$ac_ext
17978 if $ac_preproc_ok; then :
17981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17983 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
17984 See \`config.log' for more details" "$LINENO" 5; }
17988 ac_cpp
='$CPP $CPPFLAGS'
17989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
17995 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
17996 if ${ac_cv_path_GREP+:} false
; then :
17997 $as_echo_n "(cached) " >&6
17999 if test -z "$GREP"; then
18000 ac_path_GREP_found
=false
18001 # Loop through the user's path and test for each of PROGNAME-LIST
18002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18003 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18006 test -z "$as_dir" && as_dir
=.
18007 for ac_prog
in grep ggrep
; do
18008 for ac_exec_ext
in '' $ac_executable_extensions; do
18009 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
18010 as_fn_executable_p
"$ac_path_GREP" || continue
18011 # Check for GNU ac_path_GREP and select it if it is found.
18012 # Check for GNU $ac_path_GREP
18013 case `"$ac_path_GREP" --version 2>&1` in
18015 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
18018 $as_echo_n 0123456789 >"conftest.in"
18021 cat "conftest.in" "conftest.in" >"conftest.tmp"
18022 mv "conftest.tmp" "conftest.in"
18023 cp "conftest.in" "conftest.nl"
18024 $as_echo 'GREP' >> "conftest.nl"
18025 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18026 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18027 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18028 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18029 # Best one so far, save it but keep looking for a better one
18030 ac_cv_path_GREP
="$ac_path_GREP"
18031 ac_path_GREP_max
=$ac_count
18033 # 10*(2^10) chars as input seems more than enough
18034 test $ac_count -gt 10 && break
18036 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18039 $ac_path_GREP_found && break 3
18044 if test -z "$ac_cv_path_GREP"; then
18045 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18048 ac_cv_path_GREP
=$GREP
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
18053 $as_echo "$ac_cv_path_GREP" >&6; }
18054 GREP
="$ac_cv_path_GREP"
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
18058 $as_echo_n "checking for egrep... " >&6; }
18059 if ${ac_cv_path_EGREP+:} false
; then :
18060 $as_echo_n "(cached) " >&6
18062 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
18063 then ac_cv_path_EGREP
="$GREP -E"
18065 if test -z "$EGREP"; then
18066 ac_path_EGREP_found
=false
18067 # Loop through the user's path and test for each of PROGNAME-LIST
18068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18069 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
18072 test -z "$as_dir" && as_dir
=.
18073 for ac_prog
in egrep; do
18074 for ac_exec_ext
in '' $ac_executable_extensions; do
18075 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
18076 as_fn_executable_p
"$ac_path_EGREP" || continue
18077 # Check for GNU ac_path_EGREP and select it if it is found.
18078 # Check for GNU $ac_path_EGREP
18079 case `"$ac_path_EGREP" --version 2>&1` in
18081 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
18084 $as_echo_n 0123456789 >"conftest.in"
18087 cat "conftest.in" "conftest.in" >"conftest.tmp"
18088 mv "conftest.tmp" "conftest.in"
18089 cp "conftest.in" "conftest.nl"
18090 $as_echo 'EGREP' >> "conftest.nl"
18091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
18092 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
18093 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
18094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18095 # Best one so far, save it but keep looking for a better one
18096 ac_cv_path_EGREP
="$ac_path_EGREP"
18097 ac_path_EGREP_max
=$ac_count
18099 # 10*(2^10) chars as input seems more than enough
18100 test $ac_count -gt 10 && break
18102 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
18105 $ac_path_EGREP_found && break 3
18110 if test -z "$ac_cv_path_EGREP"; then
18111 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
18114 ac_cv_path_EGREP
=$EGREP
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
18120 $as_echo "$ac_cv_path_EGREP" >&6; }
18121 EGREP
="$ac_cv_path_EGREP"
18124 if test $ac_cv_c_compiler_gnu = yes; then
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
18126 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
18127 if ${ac_cv_prog_gcc_traditional+:} false
; then :
18128 $as_echo_n "(cached) " >&6
18130 ac_pattern
="Autoconf.*'x'"
18131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18137 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18138 ac_cv_prog_gcc_traditional
=yes
18140 ac_cv_prog_gcc_traditional
=no
18145 if test $ac_cv_prog_gcc_traditional = no
; then
18146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18147 /* end confdefs.h. */
18148 #include <termio.h>
18151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18152 $EGREP "$ac_pattern" >/dev
/null
2>&1; then :
18153 ac_cv_prog_gcc_traditional
=yes
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
18160 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
18161 if test $ac_cv_prog_gcc_traditional = yes; then
18162 CC
="$CC -traditional"
18167 CXXFLAGS
=${CXXFLAGS:=}
18169 ac_cpp
='$CXXCPP $CPPFLAGS'
18170 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18171 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18172 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18173 if test -z "$CXX"; then
18174 if test -n "$CCC"; then
18177 if test -n "$ac_tool_prefix"; then
18178 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18183 $as_echo_n "checking for $ac_word... " >&6; }
18184 if ${ac_cv_prog_CXX+:} false
; then :
18185 $as_echo_n "(cached) " >&6
18187 if test -n "$CXX"; then
18188 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
18190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18191 for as_dir
in $PATH
18194 test -z "$as_dir" && as_dir
=.
18195 for ac_exec_ext
in '' $ac_executable_extensions; do
18196 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18197 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
18198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18207 CXX
=$ac_cv_prog_CXX
18208 if test -n "$CXX"; then
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18210 $as_echo "$CXX" >&6; }
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18213 $as_echo "no" >&6; }
18217 test -n "$CXX" && break
18220 if test -z "$CXX"; then
18222 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
18224 # Extract the first word of "$ac_prog", so it can be a program name with args.
18225 set dummy
$ac_prog; ac_word
=$2
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18227 $as_echo_n "checking for $ac_word... " >&6; }
18228 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
18229 $as_echo_n "(cached) " >&6
18231 if test -n "$ac_ct_CXX"; then
18232 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
18234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18235 for as_dir
in $PATH
18238 test -z "$as_dir" && as_dir
=.
18239 for ac_exec_ext
in '' $ac_executable_extensions; do
18240 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18241 ac_cv_prog_ac_ct_CXX
="$ac_prog"
18242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18251 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
18252 if test -n "$ac_ct_CXX"; then
18253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18254 $as_echo "$ac_ct_CXX" >&6; }
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18257 $as_echo "no" >&6; }
18261 test -n "$ac_ct_CXX" && break
18264 if test "x$ac_ct_CXX" = x
; then
18267 case $cross_compiling:$ac_tool_warned in
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18271 ac_tool_warned
=yes ;;
18279 # Provide some information about the compiler.
18280 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18283 for ac_option
in --version -v -V -qversion; do
18284 { { ac_try
="$ac_compiler $ac_option >&5"
18285 case "(($ac_try" in
18286 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18289 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18290 $as_echo "$ac_try_echo"; } >&5
18291 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18293 if test -s conftest.err; then
18295 ... rest of stderr output deleted ...
18296 10q' conftest.err >conftest.er1
18297 cat conftest.er1 >&5
18299 rm -f conftest.er1 conftest.err
18300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18301 test $ac_status = 0; }
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18305 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18306 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18307 $as_echo_n "(cached) " >&6
18309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18323 if ac_fn_cxx_try_compile "$LINENO"; then :
18324 ac_compiler_gnu=yes
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18329 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18333 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18334 if test $ac_compiler_gnu = yes; then
18339 ac_test_CXXFLAGS=${CXXFLAGS+set}
18340 ac_save_CXXFLAGS=$CXXFLAGS
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18342 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18343 if ${ac_cv_prog_cxx_g+:} false; then :
18344 $as_echo_n "(cached) " >&6
18346 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18347 ac_cxx_werror_flag=yes
18348 ac_cv_prog_cxx_g=no
18350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18351 /* end confdefs.h. */
18361 if ac_fn_cxx_try_compile "$LINENO"; then :
18362 ac_cv_prog_cxx_g=yes
18365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18376 if ac_fn_cxx_try_compile "$LINENO"; then :
18379 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18392 if ac_fn_cxx_try_compile "$LINENO"; then :
18393 ac_cv_prog_cxx_g=yes
18395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18403 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18404 if test "$ac_test_CXXFLAGS" = set; then
18405 CXXFLAGS=$ac_save_CXXFLAGS
18406 elif test $ac_cv_prog_cxx_g = yes; then
18407 if test "$GXX" = yes; then
18413 if test "$GXX" = yes; then
18420 ac_cpp='$CPP $CPPFLAGS'
18421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18433 ac_cpp='$CXXCPP $CPPFLAGS'
18434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
18439 $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
18440 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
18441 $as_echo_n "(cached) " >&6
18443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18444 /* end confdefs.h. */
18450 #ifndef __INTEL_COMPILER
18458 if ac_fn_cxx_try_compile "$LINENO"; then :
18459 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18461 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18469 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18470 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18476 ac_cpp='$CPP $CPPFLAGS'
18477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18484 if test "$INTELCXX" = "yes"; then
18488 ac_cpp='$CXXCPP $CPPFLAGS'
18489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
18494 $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
18495 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
18496 $as_echo_n "(cached) " >&6
18498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18505 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18514 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18516 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18524 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18525 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18531 ac_cpp='$CPP $CPPFLAGS'
18532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18541 ac_cpp='$CXXCPP $CPPFLAGS'
18542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
18547 $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
18548 if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
18549 $as_echo_n "(cached) " >&6
18551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18558 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18566 if ac_fn_cxx_try_compile "$LINENO"; then :
18567 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18569 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18577 $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18578 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18584 ac_cpp='$CPP $CPPFLAGS'
18585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18593 if test "x$GCXX" != "xyes"; then
18594 if test "xCXX" = "xC"; then
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
18596 $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
18597 if ${bakefile_cv_c_exto+:} false; then :
18598 $as_echo_n "(cached) " >&6
18600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18601 /* end confdefs.h. */
18611 rm -f conftest.$ac_objext conftest.$ac_ext.o
18612 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18613 (eval $ac_compile) 2>&5
18615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18616 test $ac_status = 0; }; then :
18617 for ac_file in `(ls conftest.
* 2>/dev
/null
)`; do
18619 conftest.$ac_ext.o)
18620 bakefile_cv_c_exto="-ext o"
18627 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18629 as_fn_error $? "cannot figure out
if compiler needs
-ext o
: cannot compile
18630 See \
`config.log' for more details" "$LINENO" 5; }
18633 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
18637 $as_echo "$bakefile_cv_c_exto" >&6; }
18638 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18639 if test "c" = "c"; then
18640 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18642 if test "c" = "cxx"; then
18643 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18647 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18648 unset ac_cv_prog_cc_g
18649 ac_test_CFLAGS=${CFLAGS+set}
18650 ac_save_CFLAGS=$CFLAGS
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18652 $as_echo_n "checking whether $CC accepts -g... " >&6; }
18653 if ${ac_cv_prog_cc_g+:} false; then :
18654 $as_echo_n "(cached) " >&6
18656 ac_save_c_werror_flag=$ac_c_werror_flag
18657 ac_c_werror_flag=yes
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18671 if ac_fn_c_try_compile "$LINENO"; then :
18672 ac_cv_prog_cc_g=yes
18675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18676 /* end confdefs.h. */
18686 if ac_fn_c_try_compile "$LINENO"; then :
18689 ac_c_werror_flag=$ac_save_c_werror_flag
18691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18692 /* end confdefs.h. */
18702 if ac_fn_c_try_compile "$LINENO"; then :
18703 ac_cv_prog_cc_g=yes
18705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18710 ac_c_werror_flag=$ac_save_c_werror_flag
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
18713 $as_echo "$ac_cv_prog_cc_g" >&6; }
18714 if test "$ac_test_CFLAGS" = set; then
18715 CFLAGS=$ac_save_CFLAGS
18716 elif test $ac_cv_prog_cc_g = yes; then
18717 if test "$GCC" = yes; then
18723 if test "$GCC" = yes; then
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
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 ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18745 $as_echo_n "(cached) " >&6
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18762 if ac_fn_cxx_try_compile "$LINENO"; then :
18763 bakefile_cv_cxx_compiler___xlC__=yes
18765 bakefile_cv_cxx_compiler___xlC__=no
18768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
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
18793 ac_cpp='$CXXCPP $CPPFLAGS'
18794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
18799 $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
18800 if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
18801 $as_echo_n "(cached) " >&6
18803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18804 /* end confdefs.h. */
18818 if ac_fn_cxx_try_compile "$LINENO"; then :
18819 bakefile_cv_cxx_compiler___MWERKS__=yes
18821 bakefile_cv_cxx_compiler___MWERKS__=no
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18829 $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18830 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18836 ac_cpp='$CPP $CPPFLAGS'
18837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18843 if test "$MWCXX" != "yes"; then
18847 ac_cpp='$CXXCPP $CPPFLAGS'
18848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
18853 $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
18854 if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
18855 $as_echo_n "(cached) " >&6
18857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18858 /* end confdefs.h. */
18872 if ac_fn_cxx_try_compile "$LINENO"; then :
18873 bakefile_cv_cxx_compiler___xlC__=yes
18875 bakefile_cv_cxx_compiler___xlC__=no
18878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18883 $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
18884 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18890 ac_cpp='$CPP $CPPFLAGS'
18891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18904 ac_cpp='$CXXCPP $CPPFLAGS'
18905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
18910 $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
18911 if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
18912 $as_echo_n "(cached) " >&6
18914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18915 /* end confdefs.h. */
18921 #ifndef _SGI_COMPILER_VERSION
18929 if ac_fn_cxx_try_compile "$LINENO"; then :
18930 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18932 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18940 $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18941 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18947 ac_cpp='$CPP $CPPFLAGS'
18948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18957 if test "$INTELCXX" != "yes"; then
18961 ac_cpp='$CXXCPP $CPPFLAGS'
18962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
18967 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
18968 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
18969 $as_echo_n "(cached) " >&6
18971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18972 /* end confdefs.h. */
18978 #ifndef __SUNPRO_CC
18986 if ac_fn_cxx_try_compile "$LINENO"; then :
18987 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18989 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18997 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18998 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19004 ac_cpp='$CPP $CPPFLAGS'
19005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19018 ac_cpp='$CXXCPP $CPPFLAGS'
19019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
19024 $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
19025 if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
19026 $as_echo_n "(cached) " >&6
19028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19029 /* end confdefs.h. */
19043 if ac_fn_cxx_try_compile "$LINENO"; then :
19044 bakefile_cv_cxx_compiler___HP_aCC=yes
19046 bakefile_cv_cxx_compiler___HP_aCC=no
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19054 $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19055 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19061 ac_cpp='$CPP $CPPFLAGS'
19062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19074 ac_cpp='$CXXCPP $CPPFLAGS'
19075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
19080 $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
19081 if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
19082 $as_echo_n "(cached) " >&6
19084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19085 /* end confdefs.h. */
19099 if ac_fn_cxx_try_compile "$LINENO"; then :
19100 bakefile_cv_cxx_compiler___DECCXX=yes
19102 bakefile_cv_cxx_compiler___DECCXX=no
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19110 $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19111 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19117 ac_cpp='$CPP $CPPFLAGS'
19118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19130 ac_cpp='$CXXCPP $CPPFLAGS'
19131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
19136 $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
19137 if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
19138 $as_echo_n "(cached) " >&6
19140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19141 /* end confdefs.h. */
19147 #ifndef __SUNPRO_CC
19155 if ac_fn_cxx_try_compile "$LINENO"; then :
19156 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19158 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19166 $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19167 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19186 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19187 as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
19190 if test "x$SUNCXX" != xyes; then
19191 if test -n "$ac_tool_prefix"; then
19192 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19193 set dummy ${ac_tool_prefix}ar; ac_word=$2
19194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19195 $as_echo_n "checking for $ac_word... " >&6; }
19196 if ${ac_cv_prog_AR+:} false; then :
19197 $as_echo_n "(cached) " >&6
19199 if test -n "$AR"; then
19200 ac_cv_prog_AR="$AR" # Let the user override the test.
19202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19203 for as_dir in $PATH
19206 test -z "$as_dir" && as_dir=.
19207 for ac_exec_ext in '' $ac_executable_extensions; do
19208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19209 ac_cv_prog_AR="${ac_tool_prefix}ar"
19210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19220 if test -n "$AR"; then
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
19222 $as_echo "$AR" >&6; }
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19225 $as_echo "no" >&6; }
19230 if test -z "$ac_cv_prog_AR"; then
19232 # Extract the first word of "ar", so it can be a program name with args.
19233 set dummy ar; ac_word=$2
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19235 $as_echo_n "checking for $ac_word... " >&6; }
19236 if ${ac_cv_prog_ac_ct_AR+:} false; then :
19237 $as_echo_n "(cached) " >&6
19239 if test -n "$ac_ct_AR"; then
19240 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19243 for as_dir in $PATH
19246 test -z "$as_dir" && as_dir=.
19247 for ac_exec_ext in '' $ac_executable_extensions; do
19248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19249 ac_cv_prog_ac_ct_AR="ar"
19250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19259 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19260 if test -n "$ac_ct_AR"; then
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
19262 $as_echo "$ac_ct_AR" >&6; }
19264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19265 $as_echo "no" >&6; }
19268 if test "x$ac_ct_AR" = x; then
19271 case $cross_compiling:$ac_tool_warned in
19273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19275 ac_tool_warned=yes ;;
19280 AR="$ac_cv_prog_AR"
19283 if test "x$AR" = "x" ; then
19284 as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
19289 if test "$wxUSE_MAC" = 1; then
19291 retest_macosx_linking=no
19295 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19296 if test "x$wxUSE_MAC_ARCH" != xno; then
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19298 $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19301 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19302 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19303 else OSX_ARCH_OPTS="ppc,i386"
19304 if test "$wxUSE_OSX_COCOA" = 1; then
19305 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
19310 $as_echo_n "checking for architectures to use in universal binary... " >&6; }
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
19312 $as_echo "$OSX_ARCH_OPTS" >&6; }
19314 retest_macosx_linking=yes
19316 if test "x$wxUSE_MAC_ARCH" != xno; then
19317 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19321 if test "x$OSX_ARCH_OPTS" != "x"; then
19322 if echo $OSX_ARCH_OPTS | grep -q ","; then
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
19324 $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
19325 disable_macosx_deps=yes
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
19328 $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19332 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19334 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19335 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19336 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19337 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19338 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19341 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19343 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19344 # TODO: Search for most recent SDK and use it.
19345 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19349 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19351 $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
19352 if ! test -d "$wxUSE_MACOSX_SDK"; then
19353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19355 as_fn_error $? "not found
19356 See \
`config.log' for more details" "$LINENO" 5; }
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
19359 $as_echo "exists" >&6; }
19361 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19362 retest_macosx_linking=yes
19365 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19366 wxUSE_MACOSX_VERSION_MIN=
19367 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19368 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
19370 $as_echo_n "checking SDK deployment version... " >&6; }
19372 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/'`
19374 # If that failed, try again with the new key
19375 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19377 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/'`
19381 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19382 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19384 $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19387 $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19388 wxUSE_MACOSX_VERSION_MIN=
19391 wxUSE_MACOSX_VERSION_MIN=
19393 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19394 wxUSE_MACOSX_VERSION_MIN=10.5
19397 if test "x$MACOSX_SDK_OPTS" != "x"; then
19398 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19399 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19400 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19401 retest_macosx_linking=yes
19404 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19405 if test "$wxUSE_OSX_IPHONE" = 1; then
19406 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19408 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19410 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19411 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19412 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19413 retest_macosx_linking=yes
19416 if test "x$retest_macosx_linking" = "xyes"; then
19418 ac_cpp='$CPP $CPPFLAGS'
19419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
19424 $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
19425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19426 /* end confdefs.h. */
19436 if ac_fn_c_try_link "$LINENO"; then :
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19438 $as_echo "yes" >&6; }
19440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19442 as_fn_error $? "no. Try a different SDK
19443 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19445 rm -f core conftest.err conftest.$ac_objext \
19446 conftest$ac_exeext conftest.$ac_ext
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19455 ac_cpp='$CXXCPP $CPPFLAGS'
19456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
19461 $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
19462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19463 /* end confdefs.h. */
19473 if ac_fn_cxx_try_link "$LINENO"; then :
19474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19475 $as_echo "yes" >&6; }
19477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19479 as_fn_error $? "no. Try a different SDK
19480 See \
`config.log' for more details" "$LINENO" 5; }; exit 1
19482 rm -f core conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext conftest.$ac_ext
19485 ac_cpp='$CPP $CPPFLAGS'
19486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19496 INSTALL_PROGRAM="cp -fp"
19497 INSTALL_DATA="cp -fp"
19504 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19505 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
19508 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19509 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19512 if test "x$USE_AIX" = "x1"; then
19513 if test "x$XLCXX" = "xyes"; then
19514 CXXFLAGS="-qunique $CXXFLAGS"
19517 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19521 powerpc-*-darwin* )
19522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
19523 $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
19524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19525 /* end confdefs.h. */
19530 #ifndef __POWERPC__
19531 choke me for lack of PowerPC
19538 if ac_fn_c_try_compile "$LINENO"; then :
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19540 $as_echo "yes" >&6; }
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19543 $as_echo "no" >&6; }
19544 $as_echo "#define __POWERPC__ 1" >>confdefs.h
19548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
19555 $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558 #include <CoreFoundation/CFBase.h>
19568 if ac_fn_c_try_compile "$LINENO"; then :
19569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19570 $as_echo "yes" >&6; }
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19573 $as_echo "no" >&6; }
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19575 $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
19576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19577 /* end confdefs.h. */
19578 #define __CF_USE_FRAMEWORK_INCLUDES__
19579 #include <CoreFoundation/CFBase.h>
19589 if ac_fn_c_try_compile "$LINENO"; then :
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19591 $as_echo "yes" >&6; }
19592 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19594 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19595 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19596 as_fn_error $? "no. CoreFoundation not available.
19597 See \
`config.log' for more details" "$LINENO" 5; }
19600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19609 doesnt_want_win32=0
19612 if test "$wxUSE_MSW" = 1 ; then
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
19616 $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
19617 if ${wx_cv_nocygwin+:} false; then :
19618 $as_echo_n "(cached) " >&6
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19636 if ac_fn_c_try_compile "$LINENO"; then :
19642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
19647 $as_echo "$wx_cv_nocygwin" >&6; }
19649 if test "$wx_cv_nocygwin" = "yes"; then
19652 doesnt_want_win32=1
19655 if test "$wants_win32" = 1 ; then
19656 BAKEFILE_FORCE_PLATFORM=win32
19664 if test "$wxUSE_WINE" = "yes"; then
19666 LDFLAGS_GUI="-mwindows"
19669 if test "$wants_win32" = 1 ; then
19672 $as_echo "#define __WIN32__ 1" >>confdefs.h
19674 $as_echo "#define __WIN95__ 1" >>confdefs.h
19676 $as_echo "#define __WINDOWS__ 1" >>confdefs.h
19678 $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
19680 $as_echo "#define STRICT 1" >>confdefs.h
19683 if test "$doesnt_want_win32" = 1 ; then
19688 if test "$USE_UNIX" = 1 ; then
19690 $as_echo "#define __UNIX__ 1" >>confdefs.h
19695 *-pc-os2_emx | *-pc-os2-emx )
19696 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
19698 $as_echo_n "checking for drand48 in -lcExt... " >&6; }
19699 if ${ac_cv_lib_cExt_drand48+:} false; then :
19700 $as_echo_n "(cached) " >&6
19702 ac_check_lib_save_LIBS=$LIBS
19703 LIBS="-lcExt $LIBS"
19704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19705 /* end confdefs.h. */
19707 /* Override any GCC internal prototype to avoid an error.
19708 Use char because int might match the return type of a GCC
19709 builtin and then its argument prototype would still apply. */
19722 if ac_fn_c_try_link "$LINENO"; then :
19723 ac_cv_lib_cExt_drand48=yes
19725 ac_cv_lib_cExt_drand48=no
19727 rm -f core conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19729 LIBS=$ac_check_lib_save_LIBS
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
19732 $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
19733 if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
19734 LIBS="$LIBS -lcExt"
19738 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
19741 $as_echo_n "checking for gcc/libc version... " >&6; }
19742 if ${wx_cv_gccversion+:} false; then :
19743 $as_echo_n "(cached) " >&6
19746 if test "$cross_compiling" = yes; then :
19747 wx_cv_gccversion="EMX2"
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19757 FILE *f=fopen("conftestval", "w");
19762 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19764 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19774 if ac_fn_c_try_run "$LINENO"; then :
19775 wx_cv_gccversion=`cat conftestval
`
19777 wx_cv_gccversion="EMX2"
19779 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19780 conftest.$ac_objext conftest.beam conftest.$ac_ext
19785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
19786 $as_echo "$wx_cv_gccversion" >&6; }
19787 if test "$wx_cv_gccversion" = "EMX2"; then
19788 LIBS="$LIBS -lstdcpp"
19789 LDFLAGS="$LDFLAGS -Zsysv-signals"
19791 if test "$wx_cv_gccversion" = "EMX3"; then
19792 LIBS="$LIBS -lstdcxx -lgcc"
19793 LDFLAGS="$LDFLAGS -Zsysv-signals"
19795 LIBS="$LIBS -lstdc++"
19798 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
19800 $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in string.h" >&5
19808 $as_echo_n "checking for strcasecmp() in string.h... " >&6; }
19809 if ${ac_cv_string_strcasecmp+:} false; then :
19810 $as_echo_n "(cached) " >&6
19813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19814 /* end confdefs.h. */
19816 #include <string.h>
19822 strcasecmp("foo", "bar");
19828 if ac_fn_c_try_link "$LINENO"; then :
19829 ac_cv_string_strcasecmp=yes
19831 ac_cv_string_strcasecmp=no
19834 rm -f core conftest.err conftest.$ac_objext \
19835 conftest$ac_exeext conftest.$ac_ext
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_string_strcasecmp" >&5
19839 $as_echo "$ac_cv_string_strcasecmp" >&6; }
19841 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19842 $as_echo "#define HAVE_STRCASECMP_IN_STRING_H 1" >>confdefs.h
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strcasecmp() in strings.h" >&5
19846 $as_echo_n "checking for strcasecmp() in strings.h... " >&6; }
19847 if ${ac_cv_strings_strcasecmp+:} false; then :
19848 $as_echo_n "(cached) " >&6
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19854 #include <strings.h>
19860 strcasecmp("foo", "bar");
19866 if ac_fn_c_try_link "$LINENO"; then :
19867 ac_cv_strings_strcasecmp=yes
19869 ac_cv_strings_strcasecmp=no
19872 rm -f core conftest.err conftest.$ac_objext \
19873 conftest$ac_exeext conftest.$ac_ext
19876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strings_strcasecmp" >&5
19877 $as_echo "$ac_cv_strings_strcasecmp" >&6; }
19879 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19880 $as_echo "#define HAVE_STRCASECMP_IN_STRINGS_H 1" >>confdefs.h
19883 as_fn_error $? "No case-insensitive string comparison function found." "$LINENO" 5
19891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19892 $as_echo_n "checking for ANSI C header files... " >&6; }
19893 if ${ac_cv_header_stdc+:} false; then :
19894 $as_echo_n "(cached) " >&6
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #include <stdlib.h>
19899 #include <stdarg.h>
19900 #include <string.h>
19911 if ac_fn_c_try_compile "$LINENO"; then :
19912 ac_cv_header_stdc=yes
19914 ac_cv_header_stdc=no
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19918 if test $ac_cv_header_stdc = yes; then
19919 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19922 #include <string.h>
19925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19926 $EGREP "memchr" >/dev/null 2>&1; then :
19929 ac_cv_header_stdc=no
19935 if test $ac_cv_header_stdc = yes; then
19936 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h. */
19939 #include <stdlib.h>
19942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19943 $EGREP "free" >/dev/null 2>&1; then :
19946 ac_cv_header_stdc=no
19952 if test $ac_cv_header_stdc = yes; then
19953 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19954 if test "$cross_compiling" = yes; then :
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19960 #include <stdlib.h>
19961 #if ((' ' & 0x0FF) == 0x020)
19962 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19963 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19965 # define ISLOWER(c) \
19966 (('a' <= (c) && (c) <= 'i') \
19967 || ('j' <= (c) && (c) <= 'r') \
19968 || ('s' <= (c) && (c) <= 'z'))
19969 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19972 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19977 for (i = 0; i < 256; i++)
19978 if (XOR (islower (i), ISLOWER (i))
19979 || toupper (i) != TOUPPER (i))
19984 if ac_fn_c_try_run "$LINENO"; then :
19987 ac_cv_header_stdc=no
19989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19990 conftest.$ac_objext conftest.beam conftest.$ac_ext
19995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19996 $as_echo "$ac_cv_header_stdc" >&6; }
19997 if test $ac_cv_header_stdc = yes; then
19999 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20003 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20004 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20005 inttypes.h stdint.h unistd.h
20007 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20008 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20010 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20011 cat >>confdefs.h <<_ACEOF
20012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20020 for ac_header in langinfo.h wchar.h
20022 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20023 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
20025 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20026 cat >>confdefs.h <<_ACEOF
20027 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20035 if test "$ac_cv_header_wchar_h" != "yes"; then
20036 for ac_header in wcstr.h
20038 ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
20040 if test "x$ac_cv_header_wcstr_h" = xyes; then :
20041 cat >>confdefs.h <<_ACEOF
20042 #define HAVE_WCSTR_H 1
20052 *-pc-os2_emx | *-pc-os2-emx )
20053 if test $ac_cv_header_langinfo_h = "yes" \
20054 -a \( "$wx_cv_gccversion" = "EMX2" \
20055 -o "$wx_cv_gccversion" = "EMX3" \
20056 -o "$wx_cv_gccversion" = "Innotek5" \); then
20057 LIBS="$LIBS -lintl"
20062 if test "$USE_UNIX" = 1 ; then
20063 for ac_header in sys/select.h
20065 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
20067 if test "x$ac_cv_header_sys_select_h" = xyes; then :
20068 cat >>confdefs.h <<_ACEOF
20069 #define HAVE_SYS_SELECT_H 1
20078 ac_cpp='$CXXCPP $CPPFLAGS'
20079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20083 for ac_header in cxxabi.h
20085 ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
20087 if test "x$ac_cv_header_cxxabi_h" = xyes; then :
20088 cat >>confdefs.h <<_ACEOF
20089 #define HAVE_CXXABI_H 1
20097 ac_cpp='$CPP $CPPFLAGS'
20098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20106 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20107 if ${ac_cv_c_const+:} false; then :
20108 $as_echo_n "(cached) " >&6
20110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h. */
20117 #ifndef __cplusplus
20118 /* Ultrix mips cc rejects this sort of thing. */
20119 typedef int charset[2];
20120 const charset cs = { 0, 0 };
20121 /* SunOS 4.1.1 cc rejects this. */
20122 char const *const *pcpcc;
20124 /* NEC SVR4.0.2 mips cc rejects this. */
20125 struct point {int x, y;};
20126 static struct point const zero = {0,0};
20127 /* AIX XL C 1.02.0.0 rejects this.
20128 It does not let you subtract one const X* pointer from another in
20129 an arm of an if-expression whose if-part is not a constant
20131 const char *g = "string";
20132 pcpcc = &g + (g ? g-g : 0);
20133 /* HPUX 7.0 cc rejects these. */
20135 ppc = (char**) pcpcc;
20136 pcpcc = (char const *const *) ppc;
20137 { /* SCO 3.2v4 cc rejects this sort of thing. */
20140 char const *s = 0 ? (char *) 0 : (char const *) 0;
20145 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20146 int x[] = {25, 17};
20147 const int *foo = &x[0];
20150 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20151 typedef const int *iptr;
20155 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20156 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20157 struct s { int j; const int *ap[3]; } bx;
20158 struct s *b = &bx; b->j = 5;
20160 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20161 const int foo = 10;
20162 if (!foo) return 0;
20164 return !cs[0] && !zero.x;
20171 if ac_fn_c_try_compile "$LINENO"; then :
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20179 $as_echo "$ac_cv_c_const" >&6; }
20180 if test $ac_cv_c_const = no; then
20182 $as_echo "#define const /**/" >>confdefs.h
20186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20187 $as_echo_n "checking for inline... " >&6; }
20188 if ${ac_cv_c_inline+:} false; then :
20189 $as_echo_n "(cached) " >&6
20192 for ac_kw in inline __inline__ __inline; do
20193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20194 /* end confdefs.h. */
20195 #ifndef __cplusplus
20197 static $ac_kw foo_t static_foo () {return 0; }
20198 $ac_kw foo_t foo () {return 0; }
20202 if ac_fn_c_try_compile "$LINENO"; then :
20203 ac_cv_c_inline=$ac_kw
20205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 test "$ac_cv_c_inline" != no && break
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20211 $as_echo "$ac_cv_c_inline" >&6; }
20213 case $ac_cv_c_inline in
20216 case $ac_cv_c_inline in
20218 *) ac_val=$ac_cv_c_inline;;
20220 cat >>confdefs.h <<_ACEOF
20221 #ifndef __cplusplus
20222 #define inline $ac_val
20229 # The cast to long int works around a bug in the HP C Compiler
20230 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20231 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
20232 # This bug is HP SR number 8606223364.
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
20234 $as_echo_n "checking size of short... " >&6; }
20235 if ${ac_cv_sizeof_short+:} false; then :
20236 $as_echo_n "(cached) " >&6
20238 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
20241 if test "$ac_cv_type_short" = yes; then
20242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20243 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
20244 as_fn_error 77 "cannot compute sizeof (short)
20245 See \`config.log
' for more details" "$LINENO" 5; }
20247 ac_cv_sizeof_short=0
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
20253 $as_echo "$ac_cv_sizeof_short" >&6; }
20257 cat >>confdefs.h <<_ACEOF
20258 #define SIZEOF_SHORT $ac_cv_sizeof_short
20262 # The cast to long int works around a bug in the HP C Compiler
20263 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20264 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20265 # This bug is HP SR number 8606223364.
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
20267 $as_echo_n "checking size of void *... " >&6; }
20268 if ${ac_cv_sizeof_void_p+:} false
; then :
20269 $as_echo_n "(cached) " >&6
20271 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
20274 if test "$ac_cv_type_void_p" = yes; then
20275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20277 as_fn_error
77 "cannot compute sizeof (void *)
20278 See \`config.log' for more details" "$LINENO" 5; }
20280 ac_cv_sizeof_void_p
=0
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
20286 $as_echo "$ac_cv_sizeof_void_p" >&6; }
20290 cat >>confdefs.h
<<_ACEOF
20291 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20295 # The cast to long int works around a bug in the HP C Compiler
20296 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20297 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20298 # This bug is HP SR number 8606223364.
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
20300 $as_echo_n "checking size of int... " >&6; }
20301 if ${ac_cv_sizeof_int+:} false
; then :
20302 $as_echo_n "(cached) " >&6
20304 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
20307 if test "$ac_cv_type_int" = yes; then
20308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20310 as_fn_error
77 "cannot compute sizeof (int)
20311 See \`config.log' for more details" "$LINENO" 5; }
20318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
20319 $as_echo "$ac_cv_sizeof_int" >&6; }
20323 cat >>confdefs.h
<<_ACEOF
20324 #define SIZEOF_INT $ac_cv_sizeof_int
20328 # The cast to long int works around a bug in the HP C Compiler
20329 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20330 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20331 # This bug is HP SR number 8606223364.
20332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
20333 $as_echo_n "checking size of long... " >&6; }
20334 if ${ac_cv_sizeof_long+:} false
; then :
20335 $as_echo_n "(cached) " >&6
20337 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
20340 if test "$ac_cv_type_long" = yes; then
20341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20343 as_fn_error
77 "cannot compute sizeof (long)
20344 See \`config.log' for more details" "$LINENO" 5; }
20346 ac_cv_sizeof_long
=0
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
20352 $as_echo "$ac_cv_sizeof_long" >&6; }
20356 cat >>confdefs.h
<<_ACEOF
20357 #define SIZEOF_LONG $ac_cv_sizeof_long
20361 # The cast to long int works around a bug in the HP C Compiler
20362 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20363 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20364 # This bug is HP SR number 8606223364.
20365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
20366 $as_echo_n "checking size of size_t... " >&6; }
20367 if ${ac_cv_sizeof_size_t+:} false
; then :
20368 $as_echo_n "(cached) " >&6
20370 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
20373 if test "$ac_cv_type_size_t" = yes; then
20374 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20375 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20376 as_fn_error
77 "cannot compute sizeof (size_t)
20377 See \`config.log' for more details" "$LINENO" 5; }
20379 ac_cv_sizeof_size_t
=0
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
20385 $as_echo "$ac_cv_sizeof_size_t" >&6; }
20389 cat >>confdefs.h
<<_ACEOF
20390 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20397 # The cast to long int works around a bug in the HP C Compiler
20398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20400 # This bug is HP SR number 8606223364.
20401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20402 $as_echo_n "checking size of long long... " >&6; }
20403 if ${ac_cv_sizeof_long_long+:} false
; then :
20404 $as_echo_n "(cached) " >&6
20406 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20409 if test "$ac_cv_type_long_long" = yes; then
20410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20412 as_fn_error
77 "cannot compute sizeof (long long)
20413 See \`config.log' for more details" "$LINENO" 5; }
20415 ac_cv_sizeof_long_long
=0
20420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20421 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20425 cat >>confdefs.h
<<_ACEOF
20426 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20432 # The cast to long int works around a bug in the HP C Compiler
20433 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20434 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20435 # This bug is HP SR number 8606223364.
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20437 $as_echo_n "checking size of long long... " >&6; }
20438 if ${ac_cv_sizeof_long_long+:} false
; then :
20439 $as_echo_n "(cached) " >&6
20441 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20444 if test "$ac_cv_type_long_long" = yes; then
20445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20447 as_fn_error
77 "cannot compute sizeof (long long)
20448 See \`config.log' for more details" "$LINENO" 5; }
20450 ac_cv_sizeof_long_long
=0
20455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20456 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20460 cat >>confdefs.h
<<_ACEOF
20461 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20465 if test "$ac_cv_sizeof_long_long" != 0; then
20466 CPPFLAGS
="-D_INCLUDE_LONGLONG $CPPFLAGS"
20470 # The cast to long int works around a bug in the HP C Compiler
20471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20473 # This bug is HP SR number 8606223364.
20474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
20475 $as_echo_n "checking size of long long... " >&6; }
20476 if ${ac_cv_sizeof_long_long+:} false
; then :
20477 $as_echo_n "(cached) " >&6
20479 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
20482 if test "$ac_cv_type_long_long" = yes; then
20483 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20484 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20485 as_fn_error
77 "cannot compute sizeof (long long)
20486 See \`config.log' for more details" "$LINENO" 5; }
20488 ac_cv_sizeof_long_long
=0
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
20494 $as_echo "$ac_cv_sizeof_long_long" >&6; }
20498 cat >>confdefs.h
<<_ACEOF
20499 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20505 # The cast to long int works around a bug in the HP C Compiler
20506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20508 # This bug is HP SR number 8606223364.
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
20510 $as_echo_n "checking size of wchar_t... " >&6; }
20511 if ${ac_cv_sizeof_wchar_t+:} false
; then :
20512 $as_echo_n "(cached) " >&6
20514 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
20515 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20516 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20517 # error \"fake wchar_t\"
20519 #ifdef HAVE_WCHAR_H
20521 # include <stddef.h>
20523 # include <wchar.h>
20525 #ifdef HAVE_STDLIB_H
20526 # include <stdlib.h>
20534 if test "$ac_cv_type_wchar_t" = yes; then
20535 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20536 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20537 as_fn_error
77 "cannot compute sizeof (wchar_t)
20538 See \`config.log' for more details" "$LINENO" 5; }
20540 ac_cv_sizeof_wchar_t
=0
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
20546 $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
20550 cat >>confdefs.h
<<_ACEOF
20551 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
20555 if test "$ac_cv_sizeof_wchar_t" = 0; then
20556 as_fn_error $?
"wxWidgets requires wchar_t support." "$LINENO" 5
20558 $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
20562 $as_echo_n "checking for va_copy... " >&6; }
20563 if ${wx_cv_func_va_copy+:} false
; then :
20564 $as_echo_n "(cached) " >&6
20568 ac_cpp
='$CXXCPP $CPPFLAGS'
20569 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20570 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20571 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20577 #include <stdarg.h>
20578 void foo(char *f, ...)
20593 if ac_fn_cxx_try_link
"$LINENO"; then :
20594 wx_cv_func_va_copy
=yes
20596 wx_cv_func_va_copy
=no
20599 rm -f core conftest.err conftest.
$ac_objext \
20600 conftest
$ac_exeext conftest.
$ac_ext
20602 ac_cpp
='$CPP $CPPFLAGS'
20603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
20611 $as_echo "$wx_cv_func_va_copy" >&6; }
20613 if test $wx_cv_func_va_copy = "yes"; then
20614 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
20618 $as_echo_n "checking if va_list can be copied by value... " >&6; }
20619 if ${wx_cv_type_va_list_lvalue+:} false
; then :
20620 $as_echo_n "(cached) " >&6
20623 if test "$cross_compiling" = yes; then :
20624 wx_cv_type_va_list_lvalue
=yes
20627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20628 /* end confdefs.h. */
20631 #include <stdarg.h>
20632 int foo(char *f, ...)
20637 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
20645 return foo("hi", 17);
20649 if ac_fn_c_try_run
"$LINENO"; then :
20650 wx_cv_type_va_list_lvalue
=yes
20652 wx_cv_type_va_list_lvalue
=no
20654 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20655 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
20662 $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
20664 if test $wx_cv_type_va_list_lvalue != "yes"; then
20665 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
20670 if test "$wxUSE_VARARG_MACROS" = "yes"; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
20673 $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
20674 if ${wx_cv_have_variadic_macros+:} false
; then :
20675 $as_echo_n "(cached) " >&6
20679 ac_cpp
='$CXXCPP $CPPFLAGS'
20680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20685 /* end confdefs.h. */
20689 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
20695 test("%s %d %p", "test", 1, 0);
20702 if ac_fn_cxx_try_compile
"$LINENO"; then :
20703 wx_cv_have_variadic_macros
=yes
20705 wx_cv_have_variadic_macros
=no
20708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20710 ac_cpp
='$CPP $CPPFLAGS'
20711 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
20719 $as_echo "$wx_cv_have_variadic_macros" >&6; }
20721 if test $wx_cv_have_variadic_macros = "yes"; then
20722 $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
20728 LARGEFILE_CPPFLAGS
=
20729 # Check whether --enable-largefile was given.
20730 if test "${enable_largefile+set}" = set; then :
20731 enableval
=$enable_largefile;
20734 if test "$enable_largefile" != no
; then
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
20738 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
20739 if ${ac_cv_sys_file_offset_bits+:} false
; then :
20740 $as_echo_n "(cached) " >&6
20743 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20744 /* end confdefs.h. */
20745 #define _FILE_OFFSET_BITS 64
20746 #include <sys/types.h>
20751 unsigned int field: sizeof(off_t) == 8;
20758 if ac_fn_c_try_compile
"$LINENO"; then :
20759 ac_cv_sys_file_offset_bits
=64
20761 ac_cv_sys_file_offset_bits
=no
20763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
20768 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
20770 if test "$ac_cv_sys_file_offset_bits" != no
; then
20772 cat >>confdefs.h
<<_ACEOF
20773 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
20778 if test "x$wx_largefile" != "xyes"; then
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
20781 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
20782 if ${ac_cv_sys_large_files+:} false
; then :
20783 $as_echo_n "(cached) " >&6
20786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20787 /* end confdefs.h. */
20788 #define _LARGE_FILES 1
20789 #include <sys/types.h>
20794 unsigned int field: sizeof(off_t) == 8;
20801 if ac_fn_c_try_compile
"$LINENO"; then :
20802 ac_cv_sys_large_files
=1
20804 ac_cv_sys_large_files
=no
20806 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
20811 $as_echo "$ac_cv_sys_large_files" >&6; }
20813 if test "$ac_cv_sys_large_files" != no
; then
20815 cat >>confdefs.h
<<_ACEOF
20816 #define _LARGE_FILES $ac_cv_sys_large_files
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
20824 $as_echo_n "checking if large file support is available... " >&6; }
20825 if test "x$wx_largefile" = "xyes"; then
20826 $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
20830 $as_echo "$wx_largefile" >&6; }
20833 if test "$ac_cv_sys_file_offset_bits" = "64"; then
20834 LARGEFILE_CPPFLAGS
="-D_FILE_OFFSET_BITS=64"
20835 elif test "$ac_cv_sys_large_files" = 1; then
20836 LARGEFILE_CPPFLAGS
="-D_LARGE_FILES"
20839 if test -n "$LARGEFILE_CPPFLAGS"; then
20840 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
20842 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
20843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
20844 $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
20845 if ${wx_cv_STDC_EXT_required+:} false
; then :
20846 $as_echo_n "(cached) " >&6
20850 ac_cpp
='$CXXCPP $CPPFLAGS'
20851 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20862 #ifndef __STDC_EXT__
20870 if ac_fn_cxx_try_compile
"$LINENO"; then :
20871 wx_cv_STDC_EXT_required
=no
20873 wx_cv_STDC_EXT_required
=yes
20876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20878 ac_cpp
='$CPP $CPPFLAGS'
20879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
20887 $as_echo "$wx_cv_STDC_EXT_required" >&6; }
20888 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
20889 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
20895 ac_cpp
='$CXXCPP $CPPFLAGS'
20896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20900 old_CPPFLAGS
="$CPPFLAGS"
20901 CPPFLAGS
="$CPPFLAGS $LARGEFILE_CPPFLAGS"
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
20903 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
20904 if ${ac_cv_sys_largefile_source+:} false
; then :
20905 $as_echo_n "(cached) " >&6
20908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20909 /* end confdefs.h. */
20910 #include <sys/types.h> /* for off_t */
20915 int (*fp) (FILE *, off_t, int) = fseeko;
20916 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20921 if ac_fn_cxx_try_link
"$LINENO"; then :
20922 ac_cv_sys_largefile_source
=no
; break
20924 rm -f core conftest.err conftest.
$ac_objext \
20925 conftest
$ac_exeext conftest.
$ac_ext
20926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20927 /* end confdefs.h. */
20928 #define _LARGEFILE_SOURCE 1
20929 #include <sys/types.h> /* for off_t */
20934 int (*fp) (FILE *, off_t, int) = fseeko;
20935 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
20940 if ac_fn_cxx_try_link
"$LINENO"; then :
20941 ac_cv_sys_largefile_source
=1; break
20943 rm -f core conftest.err conftest.
$ac_objext \
20944 conftest
$ac_exeext conftest.
$ac_ext
20945 ac_cv_sys_largefile_source
=unknown
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
20950 $as_echo "$ac_cv_sys_largefile_source" >&6; }
20951 case $ac_cv_sys_largefile_source in #(
20954 cat >>confdefs.h
<<_ACEOF
20955 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
20961 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
20962 # in glibc 2.1.3, but that breaks too many other things.
20963 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
20964 if test $ac_cv_sys_largefile_source != unknown
; then
20966 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
20970 CPPFLAGS
="$old_CPPFLAGS"
20972 ac_cpp
='$CPP $CPPFLAGS'
20973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20977 if test "$ac_cv_sys_largefile_source" != no
; then
20978 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
20981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
20982 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
20983 if ${ac_cv_c_bigendian+:} false
; then :
20984 $as_echo_n "(cached) " >&6
20986 ac_cv_c_bigendian
=unknown
20987 # See if sys/param.h defines the BYTE_ORDER macro.
20988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20989 /* end confdefs.h. */
20990 #include <sys/types.h>
20991 #include <sys/param.h>
20996 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20997 bogus endian macros
21003 if ac_fn_c_try_compile
"$LINENO"; then :
21004 # It does; now see whether it defined to BIG_ENDIAN or not.
21005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #include <sys/types.h>
21008 #include <sys/param.h>
21013 #if BYTE_ORDER != BIG_ENDIAN
21020 if ac_fn_c_try_compile
"$LINENO"; then :
21021 ac_cv_c_bigendian
=yes
21023 ac_cv_c_bigendian
=no
21025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21028 if test $ac_cv_c_bigendian = unknown
; then
21029 if test "$cross_compiling" = yes; then :
21030 ac_cv_c_bigendian
=unknown
21032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21035 /* Are we little or big endian? From Harbison&Steele. */
21039 char c[sizeof (long)];
21042 exit (u.c[sizeof (long) - 1] == 1);
21045 if ac_fn_c_try_run
"$LINENO"; then :
21046 ac_cv_c_bigendian
=no
21048 ac_cv_c_bigendian
=yes
21050 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21051 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
21057 $as_echo "$ac_cv_c_bigendian" >&6; }
21058 if test $ac_cv_c_bigendian = unknown
; then
21059 { $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
21060 $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;}
21062 if test $ac_cv_c_bigendian = yes; then
21063 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
21071 ac_cpp
='$CXXCPP $CPPFLAGS'
21072 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21077 for ac_header
in iostream
21079 ac_fn_cxx_check_header_compile
"$LINENO" "iostream" "ac_cv_header_iostream" "
21081 if test "x$ac_cv_header_iostream" = xyes
; then :
21082 cat >>confdefs.h
<<_ACEOF
21083 #define HAVE_IOSTREAM 1
21091 if test "$ac_cv_header_iostream" = "yes" ; then
21094 $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
21099 ac_cpp
='$CPP $CPPFLAGS'
21100 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
21108 $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
21109 if ${wx_cv_explicit+:} false
; then :
21110 $as_echo_n "(cached) " >&6
21115 ac_cpp
='$CXXCPP $CPPFLAGS'
21116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21124 class Foo { public: explicit Foo(int) {} };
21136 if ac_fn_cxx_try_compile
"$LINENO"; then :
21138 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21141 class Foo { public: explicit Foo(int) {} };
21142 static void TakeFoo(const Foo& foo) { }
21155 if ac_fn_cxx_try_compile
"$LINENO"; then :
21161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21170 ac_cpp
='$CPP $CPPFLAGS'
21171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
21178 $as_echo "$wx_cv_explicit" >&6; }
21180 if test "$wx_cv_explicit" = "yes"; then
21181 $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
21186 if test "x$SUNCXX" = xyes
; then
21187 CXXFLAGS
="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
21190 if test "x$SUNCC" = xyes
; then
21191 CFLAGS
="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
21194 if test "x$SGICC" = "xyes"; then
21195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
21196 $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
21197 if ${wx_cv_prog_sgicc744+:} false
; then :
21198 $as_echo_n "(cached) " >&6
21201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21202 /* end confdefs.h. */
21208 #if _SGI_COMPILER_VERSION >= 744
21209 chock me: mipsPro is 7.4.4 or later
21216 if ac_fn_c_try_compile
"$LINENO"; then :
21217 wx_cv_prog_sgicc744
=no
21219 wx_cv_prog_sgicc744
=yes
21222 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
21227 $as_echo "$wx_cv_prog_sgicc744" >&6; }
21229 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
21230 CFLAGS
="-woff 3970 $CFLAGS"
21233 if test "x$SGICXX" = "xyes"; then
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
21235 $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
21236 if ${wx_cv_prog_sgicxx744+:} false
; then :
21237 $as_echo_n "(cached) " >&6
21241 ac_cpp
='$CXXCPP $CPPFLAGS'
21242 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21243 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21244 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21247 /* end confdefs.h. */
21253 #if _SGI_COMPILER_VERSION >= 744
21254 chock me: mipsPro is 7.4.4 or later
21261 if ac_fn_cxx_try_compile
"$LINENO"; then :
21262 wx_cv_prog_sgicxx744
=no
21264 wx_cv_prog_sgicxx744
=yes
21267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21269 ac_cpp
='$CPP $CPPFLAGS'
21270 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21271 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21272 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
21278 $as_echo "$wx_cv_prog_sgicxx744" >&6; }
21280 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
21281 CXXFLAGS
="-woff 3970 $CXXFLAGS"
21285 if test "x$HPCC" = "xyes"; then
21286 CFLAGS
="+W 2011,2450 $CFLAGS"
21288 if test "x$HPCXX" = "xyes"; then
21289 CXXFLAGS
="+W 2340,4232 $CXXFLAGS"
21292 if test "x$COMPAQCXX" = "xyes"; then
21293 CXXFLAGS
="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
21297 ac_cpp
='$CXXCPP $CPPFLAGS'
21298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21303 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
21304 if test "$wxUSE_UNICODE" = "yes"; then
21305 std_string
="std::wstring"
21306 char_type
="wchar_t"
21308 std_string
="std::string"
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
21313 $as_echo_n "checking for $std_string in <string>... " >&6; }
21314 if ${wx_cv_class_stdstring+:} false
; then :
21315 $as_echo_n "(cached) " >&6
21318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21329 if ac_fn_cxx_try_compile
"$LINENO"; then :
21330 wx_cv_class_stdstring
=yes
21332 wx_cv_class_stdstring
=no
21335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
21340 $as_echo "$wx_cv_class_stdstring" >&6; }
21342 if test "$wx_cv_class_stdstring" = yes; then
21343 if test "$wxUSE_UNICODE" = "yes"; then
21344 $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
21348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
21349 $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
21350 if ${wx_cv_class_stdbasicstring+:} false
; then :
21351 $as_echo_n "(cached) " >&6
21354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21355 /* end confdefs.h. */
21357 #ifdef HAVE_WCHAR_H
21359 # include <stddef.h>
21361 # include <wchar.h>
21363 #ifdef HAVE_STDLIB_H
21364 # include <stdlib.h>
21372 std::basic_string<$char_type> foo;
21373 const $char_type* dummy = foo.c_str();
21378 if ac_fn_cxx_try_compile
"$LINENO"; then :
21379 wx_cv_class_stdbasicstring
=yes
21381 wx_cv_class_stdbasicstring
=no
21384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
21389 $as_echo "$wx_cv_class_stdbasicstring" >&6; }
21391 if test "$wx_cv_class_stdbasicstring" != yes; then
21392 if test "$wxUSE_STL" = "yes"; then
21393 as_fn_error $?
"Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21394 elif test "$wxUSE_STD_STRING" = "yes"; then
21395 as_fn_error $?
"Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
21398 $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
21399 wxUSE_STD_STRING
=no
21405 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21406 ac_fn_cxx_check_type
"$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
21408 if test "x$ac_cv_type_std__istream" = xyes
; then :
21410 cat >>confdefs.h
<<_ACEOF
21411 #define HAVE_STD__ISTREAM 1
21416 wxUSE_STD_IOSTREAM
=no
21418 ac_fn_cxx_check_type
"$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
21420 if test "x$ac_cv_type_std__ostream" = xyes
; then :
21422 cat >>confdefs.h
<<_ACEOF
21423 #define HAVE_STD__OSTREAM 1
21428 wxUSE_STD_IOSTREAM
=no
21432 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
21433 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
21434 as_fn_error $?
"Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
21437 $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
21442 if test "$wxUSE_STL" = "yes"; then
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
21444 $as_echo_n "checking for basic STL functionality... " >&6; }
21445 if ${wx_cv_lib_stl+:} false
; then :
21446 $as_echo_n "(cached) " >&6
21448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21449 /* end confdefs.h. */
21451 #include <functional>
21452 #include <algorithm>
21458 std::vector<int> moo;
21459 std::list<int> foo;
21460 std::vector<int>::iterator it =
21461 std::find_if(moo.begin(), moo.end(),
21462 std::bind2nd(std::less<int>(), 3));
21467 if ac_fn_cxx_try_compile
"$LINENO"; then :
21473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
21477 $as_echo "$wx_cv_lib_stl" >&6; }
21479 if test "$wx_cv_lib_stl" != yes; then
21480 as_fn_error $?
"Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
21484 $as_echo_n "checking for compliant std::string::compare... " >&6; }
21485 if ${wx_cv_func_stdstring_compare+:} false
; then :
21486 $as_echo_n "(cached) " >&6
21488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21489 /* end confdefs.h. */
21494 std::string foo, bar;
21496 foo.compare(1, 1, bar);
21497 foo.compare(1, 1, bar, 1, 1);
21499 foo.compare(1, 1, "");
21500 foo.compare(1, 1, "", 2);
21505 if ac_fn_cxx_try_compile
"$LINENO"; then :
21506 wx_cv_func_stdstring_compare
=yes
21508 wx_cv_func_stdstring_compare
=no
21511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
21515 $as_echo "$wx_cv_func_stdstring_compare" >&6; }
21517 if test "$wx_cv_func_stdstring_compare" = yes; then
21518 $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
21522 if test "$wx_cv_class_gnuhashmapset" = yes; then
21523 $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
21525 $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
21529 ac_fn_cxx_check_header_compile
"$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
21532 if test "x$ac_cv_header_unordered_map" = xyes
; then :
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
21534 $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
21535 if ${wx_cv_class_stdunorderedmapset+:} false
; then :
21536 $as_echo_n "(cached) " >&6
21538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21539 /* end confdefs.h. */
21540 #include <unordered_map>
21541 #include <unordered_set>
21545 std::unordered_map<double*, char*> test1;
21546 std::unordered_set<char*> test2;
21551 if ac_fn_cxx_try_compile
"$LINENO"; then :
21552 wx_cv_class_stdunorderedmapset
=yes
21554 wx_cv_class_stdunorderedmapset
=no
21556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
21561 $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
21566 if test "$wx_cv_class_stdunorderedmapset" = yes; then
21567 $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
21569 $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
21572 ac_fn_cxx_check_header_compile
"$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
21575 if test "x$ac_cv_header_tr1_unordered_map" = xyes
; then :
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
21577 $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
21578 if ${wx_cv_class_tr1unorderedmapset+:} false
; then :
21579 $as_echo_n "(cached) " >&6
21581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21583 #include <tr1/unordered_map>
21584 #include <tr1/unordered_set>
21588 std::tr1::unordered_map<double*, char*> test1;
21589 std::tr1::unordered_set<char*> test2;
21590 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
21591 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
21597 if ac_fn_cxx_try_compile
"$LINENO"; then :
21598 wx_cv_class_tr1unorderedmapset
=yes
21600 wx_cv_class_tr1unorderedmapset
=no
21602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
21607 $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
21612 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
21613 $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
21615 $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
21618 ac_fn_cxx_check_header_compile
"$LINENO" "hash_map" "ac_cv_header_hash_map" "
21621 if test "x$ac_cv_header_hash_map" = xyes
; then :
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
21623 $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
21624 if ${wx_cv_class_stdhashmapset+:} false
; then :
21625 $as_echo_n "(cached) " >&6
21627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21628 /* end confdefs.h. */
21629 #include <hash_map>
21630 #include <hash_set>
21634 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
21635 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
21640 if ac_fn_cxx_try_compile
"$LINENO"; then :
21641 wx_cv_class_stdhashmapset
=yes
21643 wx_cv_class_stdhashmapset
=no
21645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
21650 $as_echo "$wx_cv_class_stdhashmapset" >&6; }
21655 if test "$wx_cv_class_stdhashmapset" = yes; then
21656 $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
21658 $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
21662 ac_fn_cxx_check_header_compile
"$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
21665 if test "x$ac_cv_header_ext_hash_map" = xyes
; then :
21666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
21667 $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
21668 if ${wx_cv_class_gnuhashmapset+:} false
; then :
21669 $as_echo_n "(cached) " >&6
21671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21673 #include <ext/hash_map>
21674 #include <ext/hash_set>
21678 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
21679 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
21684 if ac_fn_cxx_try_compile
"$LINENO"; then :
21685 wx_cv_class_gnuhashmapset
=yes
21687 wx_cv_class_gnuhashmapset
=no
21689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
21694 $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
21704 ac_cpp
='$CXXCPP $CPPFLAGS'
21705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21709 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21710 if test -z "$CXXCPP"; then
21711 if ${ac_cv_prog_CXXCPP+:} false
; then :
21712 $as_echo_n "(cached) " >&6
21714 # Double quotes because CXXCPP needs to be expanded
21715 for CXXCPP
in "$CXX -E" "/lib/cpp"
21717 ac_preproc_ok
=false
21718 for ac_cxx_preproc_warn_flag
in '' yes
21720 # Use a header file that comes with gcc, so configuring glibc
21721 # with a fresh cross-compiler works.
21722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21723 # <limits.h> exists even on freestanding compilers.
21724 # On the NeXT, cc -E runs the code through the compiler's parser,
21725 # not just through cpp. "Syntax error" is here to catch this case.
21726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21729 # include <limits.h>
21731 # include <assert.h>
21735 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21738 # Broken: fails on valid input.
21741 rm -f conftest.err conftest.i conftest.
$ac_ext
21743 # OK, works on sane cases. Now check whether nonexistent headers
21744 # can be detected and how.
21745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21746 /* end confdefs.h. */
21747 #include <ac_nonexistent.h>
21749 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21750 # Broken: success on invalid input.
21753 # Passes both tests.
21757 rm -f conftest.err conftest.i conftest.
$ac_ext
21760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21761 rm -f conftest.i conftest.err conftest.
$ac_ext
21762 if $ac_preproc_ok; then :
21767 ac_cv_prog_CXXCPP
=$CXXCPP
21770 CXXCPP
=$ac_cv_prog_CXXCPP
21772 ac_cv_prog_CXXCPP
=$CXXCPP
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21775 $as_echo "$CXXCPP" >&6; }
21776 ac_preproc_ok
=false
21777 for ac_cxx_preproc_warn_flag
in '' yes
21779 # Use a header file that comes with gcc, so configuring glibc
21780 # with a fresh cross-compiler works.
21781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21782 # <limits.h> exists even on freestanding compilers.
21783 # On the NeXT, cc -E runs the code through the compiler's parser,
21784 # not just through cpp. "Syntax error" is here to catch this case.
21785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h. */
21788 # include <limits.h>
21790 # include <assert.h>
21794 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21797 # Broken: fails on valid input.
21800 rm -f conftest.err conftest.i conftest.
$ac_ext
21802 # OK, works on sane cases. Now check whether nonexistent headers
21803 # can be detected and how.
21804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21805 /* end confdefs.h. */
21806 #include <ac_nonexistent.h>
21808 if ac_fn_cxx_try_cpp
"$LINENO"; then :
21809 # Broken: success on invalid input.
21812 # Passes both tests.
21816 rm -f conftest.err conftest.i conftest.
$ac_ext
21819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21820 rm -f conftest.i conftest.err conftest.
$ac_ext
21821 if $ac_preproc_ok; then :
21824 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21826 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
21827 See \`config.log' for more details" "$LINENO" 5; }
21831 ac_cpp
='$CXXCPP $CPPFLAGS'
21832 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21833 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21834 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21837 for ac_header
in type_traits tr
1/type_traits
21839 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21840 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21841 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21842 cat >>confdefs.h
<<_ACEOF
21843 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21853 if test -n "$GCC"; then
21854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
21855 $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
21856 if ${wx_cv_cc_gcc_atomic_builtins+:} false
; then :
21857 $as_echo_n "(cached) " >&6
21860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h. */
21867 unsigned int value=0;
21868 /* wxAtomicInc doesn't use return value here */
21869 __sync_fetch_and_add(&value, 2);
21870 __sync_sub_and_fetch(&value, 1);
21871 /* but wxAtomicDec does, so mimic that: */
21872 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
21878 if ac_fn_cxx_try_link
"$LINENO"; then :
21879 wx_cv_cc_gcc_atomic_builtins
=yes
21881 wx_cv_cc_gcc_atomic_builtins
=no
21883 rm -f core conftest.err conftest.
$ac_objext \
21884 conftest
$ac_exeext conftest.
$ac_ext
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
21889 $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
21890 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
21891 $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
21898 ac_cpp
='$CPP $CPPFLAGS'
21899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21906 /usr/local/include \
21907 /usr/local/X11/include \
21908 /usr/local/include/X11 \
21909 /usr/local/X11R7/include \
21910 /usr/local/X11R6/include \
21911 /usr/local/include/X11R7 \
21912 /usr/local/include/X11R6 \
21914 /usr/Motif-2.1/include \
21915 /usr/Motif-1.2/include \
21916 /usr/include/Motif1.2 \
21919 /usr/openwin/include \
21923 /usr/X11R7/include \
21924 /usr/X11R6/include \
21925 /usr/X11R6.4/include \
21927 /usr/include/X11R7 \
21928 /usr/include/X11R6 \
21933 /usr/XFree86/include/X11 \
21936 /usr/local/X1R5/include \
21937 /usr/local/include/X11R5 \
21938 /usr/X11R5/include \
21939 /usr/include/X11R5 \
21941 /usr/local/X11R4/include \
21942 /usr/local/include/X11R4 \
21943 /usr/X11R4/include \
21944 /usr/include/X11R4 \
21946 /usr/openwin/share/include"
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
21949 $as_echo_n "checking for libraries directories... " >&6; }
21953 if ${wx_cv_std_libpath+:} false
; then :
21954 $as_echo_n "(cached) " >&6
21957 for d
in /usr
/lib
/usr
/lib32
/usr
/lib
/64 /usr
/lib64
; do
21958 for e
in a so sl dylib dll.a
; do
21960 if test -f $libc; then
21963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21964 /* end confdefs.h. */
21966 int main() { return 0; }
21969 if ac_fn_c_try_link
"$LINENO"; then :
21970 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
21972 rm -f core conftest.err conftest.
$ac_objext \
21973 conftest
$ac_exeext conftest.
$ac_ext
21975 if test "x$wx_cv_std_libpath" != "x"; then
21988 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
21989 wx_cv_std_libpath
="lib/64"
21994 if test "$ac_cv_sizeof_void_p" = 8; then
21995 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
21996 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
21997 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
21998 wx_cv_std_libpath
="lib64"
22003 if test -d '/usr/lib/i386-linux-gnu'; then
22004 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
22009 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
22010 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
22015 if test -z "$wx_cv_std_libpath"; then
22016 wx_cv_std_libpath
="lib"
22019 if test -z "$wx_cv_std_libfullpath"; then
22020 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
22025 $as_echo "$wx_cv_std_libfullpath" >&6; }
22027 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
22029 if test "$build" != "$host" -a "$GCC" = yes; then
22030 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
22031 cross_root
=`dirname $cross_root`
22032 cross_root
=`dirname $cross_root`
22034 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22035 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
22036 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
22038 if test -z "$PKG_CONFIG_PATH"; then
22039 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
22040 export PKG_CONFIG_PATH
22043 if test -z "$x_includes" -o "$x_includes" = NONE
; then
22046 for ac_dir
in $SEARCH_INCLUDE /usr
/include
22048 if test -f "$ac_dir/X11/Intrinsic.h"; then
22049 ac_find_includes
=$ac_dir
22054 x_includes
=$ac_find_includes
22056 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
22059 for ac_dir
in $SEARCH_LIB
22061 for ac_extension
in a so sl dylib dll.a
; do
22062 if test -f "$ac_dir/libXt.$ac_extension"; then
22063 ac_find_libraries
=$ac_dir
22069 x_libraries
=$ac_find_libraries
22075 cat >confcache
<<\_ACEOF
22076 # This file is a shell script that caches the results of configure
22077 # tests run on this system so they can be shared between configure
22078 # scripts and configure runs, see configure's option --config-cache.
22079 # It is not useful on other systems. If it contains results you don't
22080 # want to keep, you may remove or edit it.
22082 # config.status only pays attention to the cache file if you give it
22083 # the --recheck option to rerun configure.
22085 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22086 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22087 # following values.
22091 # The following way of writing the cache mishandles newlines in values,
22092 # but we know of no workaround that is simple, portable, and efficient.
22093 # So, we kill variables containing newlines.
22094 # Ultrix sh set writes to stderr and can't be redirected directly,
22095 # and sets the high bit in the cache file unless we assign to the vars.
22097 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22098 eval ac_val
=\$
$ac_var
22102 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22103 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22106 _
| IFS
| as_nl
) ;; #(
22107 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
22108 *) { eval $ac_var=; unset $ac_var;} ;;
22114 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22115 *${as_nl}ac_space
=\
*)
22116 # `set' does not quote correctly, so add quotes: double-quote
22117 # substitution turns \\\\ into \\, and sed turns \\ into \.
22120 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22123 # `set' quotes correctly as required by POSIX, so do not add quotes.
22124 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22133 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22135 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22137 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22138 if test -w "$cache_file"; then
22139 if test "x$cache_file" != "x/dev/null"; then
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22141 $as_echo "$as_me: updating cache $cache_file" >&6;}
22142 if test ! -f "$cache_file" || test -h "$cache_file"; then
22143 cat confcache
>"$cache_file"
22145 case $cache_file in #(
22147 mv -f confcache
"$cache_file"$$
&&
22148 mv -f "$cache_file"$$
"$cache_file" ;; #(
22150 mv -f confcache
"$cache_file" ;;
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22156 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22165 ac_fn_c_check_func
"$LINENO" "cos" "ac_cv_func_cos"
22166 if test "x$ac_cv_func_cos" = xyes
; then :
22167 cat >>confdefs.h
<<_ACEOF
22174 for ac_func
in floor
22176 ac_fn_c_check_func
"$LINENO" "floor" "ac_cv_func_floor"
22177 if test "x$ac_cv_func_floor" = xyes
; then :
22178 cat >>confdefs.h
<<_ACEOF
22179 #define HAVE_FLOOR 1
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
22186 $as_echo_n "checking if floating point functions link without -lm... " >&6; }
22187 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22189 $as_echo "yes" >&6; }
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22192 $as_echo "no" >&6; }
22194 # use different functions to avoid configure caching
22199 ac_fn_c_check_func
"$LINENO" "sin" "ac_cv_func_sin"
22200 if test "x$ac_cv_func_sin" = xyes
; then :
22201 cat >>confdefs.h
<<_ACEOF
22208 for ac_func
in ceil
22210 ac_fn_c_check_func
"$LINENO" "ceil" "ac_cv_func_ceil"
22211 if test "x$ac_cv_func_ceil" = xyes
; then :
22212 cat >>confdefs.h
<<_ACEOF
22213 #define HAVE_CEIL 1
22219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
22220 $as_echo_n "checking if floating point functions link with -lm... " >&6; }
22221 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22223 $as_echo "yes" >&6; }
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22226 $as_echo "no" >&6; }
22227 # not sure we should warn the user, crash, etc.
22232 ac_cpp
='$CXXCPP $CPPFLAGS'
22233 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22234 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22235 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22237 if test "wxUSE_UNICODE" = "yes"; then
22239 for wx_func
in wcstoull
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22242 $as_echo_n "checking for $wx_func... " >&6; }
22243 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22244 $as_echo_n "(cached) " >&6
22247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22248 /* end confdefs.h. */
22252 $ac_includes_default
22268 if ac_fn_cxx_try_link
"$LINENO"; then :
22269 eval wx_cv_func_
$wx_func=yes
22271 eval wx_cv_func_
$wx_func=no
22273 rm -f core conftest.err conftest.
$ac_objext \
22274 conftest
$ac_exeext conftest.
$ac_ext
22277 eval ac_res
=\
$wx_cv_func_$wx_func
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22279 $as_echo "$ac_res" >&6; }
22281 if eval test \
$wx_cv_func_$wx_func = yes
22283 cat >>confdefs.h
<<_ACEOF
22284 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22296 for wx_func
in strtoull
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
22299 $as_echo_n "checking for $wx_func... " >&6; }
22300 if eval \
${wx_cv_func_$wx_func+:} false
; then :
22301 $as_echo_n "(cached) " >&6
22304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22305 /* end confdefs.h. */
22309 $ac_includes_default
22325 if ac_fn_cxx_try_link
"$LINENO"; then :
22326 eval wx_cv_func_
$wx_func=yes
22328 eval wx_cv_func_
$wx_func=no
22330 rm -f core conftest.err conftest.
$ac_objext \
22331 conftest
$ac_exeext conftest.
$ac_ext
22334 eval ac_res
=\
$wx_cv_func_$wx_func
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
22336 $as_echo "$ac_res" >&6; }
22338 if eval test \
$wx_cv_func_$wx_func = yes
22340 cat >>confdefs.h
<<_ACEOF
22341 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
22353 ac_cpp
='$CPP $CPPFLAGS'
22354 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22361 if test "$wxUSE_REGEX" != "no"; then
22362 $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
22365 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
22366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
22367 $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
22368 wxUSE_REGEX
=builtin
22371 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
22372 ac_fn_c_check_header_compile
"$LINENO" "regex.h" "ac_cv_header_regex_h" "
22374 if test "x$ac_cv_header_regex_h" = xyes
; then :
22375 for ac_func
in regcomp re_search
22377 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22378 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
22379 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
22380 cat >>confdefs.h
<<_ACEOF
22381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22391 if test "x$ac_cv_func_regcomp" != "xyes"; then
22392 if test "$wxUSE_REGEX" = "sys" ; then
22393 as_fn_error $?
"system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
22396 $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
22397 wxUSE_REGEX
=builtin
22401 $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
22409 if test "$wxUSE_ZLIB" != "no" ; then
22410 $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
22413 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
22414 if test "$USE_DARWIN" = 1; then
22415 system_zlib_h_ok
="yes"
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
22418 $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
22419 if ${ac_cv_header_zlib_h+:} false
; then :
22420 $as_echo_n "(cached) " >&6
22422 if test "$cross_compiling" = yes; then :
22423 unset ac_cv_header_zlib_h
22426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22427 /* end confdefs.h. */
22434 FILE *f=fopen("conftestval", "w");
22437 ZLIB_VERSION[0] == '1' &&
22438 (ZLIB_VERSION[2] > '1' ||
22439 (ZLIB_VERSION[2] == '1' &&
22440 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
22445 if ac_fn_c_try_run
"$LINENO"; then :
22446 ac_cv_header_zlib_h
=`cat conftestval`
22448 ac_cv_header_zlib_h
=no
22450 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22451 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
22457 $as_echo "$ac_cv_header_zlib_h" >&6; }
22458 ac_fn_c_check_header_compile
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
22460 if test "x$ac_cv_header_zlib_h" = xyes
; then :
22466 system_zlib_h_ok
=$ac_cv_header_zlib_h
22469 if test "$system_zlib_h_ok" = "yes"; then
22470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
22471 $as_echo_n "checking for deflate in -lz... " >&6; }
22472 if ${ac_cv_lib_z_deflate+:} false
; then :
22473 $as_echo_n "(cached) " >&6
22475 ac_check_lib_save_LIBS
=$LIBS
22477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22478 /* end confdefs.h. */
22480 /* Override any GCC internal prototype to avoid an error.
22481 Use char because int might match the return type of a GCC
22482 builtin and then its argument prototype would still apply. */
22495 if ac_fn_c_try_link
"$LINENO"; then :
22496 ac_cv_lib_z_deflate
=yes
22498 ac_cv_lib_z_deflate
=no
22500 rm -f core conftest.err conftest.
$ac_objext \
22501 conftest
$ac_exeext conftest.
$ac_ext
22502 LIBS
=$ac_check_lib_save_LIBS
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
22505 $as_echo "$ac_cv_lib_z_deflate" >&6; }
22506 if test "x$ac_cv_lib_z_deflate" = xyes
; then :
22512 if test "x$ZLIB_LINK" = "x" ; then
22513 if test "$wxUSE_ZLIB" = "sys" ; then
22514 as_fn_error $?
"zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
22517 $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
22528 if test "$wxUSE_LIBPNG" != "no" ; then
22529 $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
22532 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
22534 $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
22535 wxUSE_LIBPNG
=builtin
22538 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
22539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
22540 $as_echo_n "checking for png.h > 0.90... " >&6; }
22541 if ${ac_cv_header_png_h+:} false
; then :
22542 $as_echo_n "(cached) " >&6
22544 if test "$cross_compiling" = yes; then :
22545 unset ac_cv_header_png_h
22548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22549 /* end confdefs.h. */
22556 FILE *f=fopen("conftestval", "w");
22559 PNG_LIBPNG_VER > 90 ? "yes" : "no");
22564 if ac_fn_c_try_run
"$LINENO"; then :
22565 ac_cv_header_png_h
=`cat conftestval`
22567 ac_cv_header_png_h
=no
22569 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
22570 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
22575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
22576 $as_echo "$ac_cv_header_png_h" >&6; }
22577 ac_fn_c_check_header_compile
"$LINENO" "png.h" "ac_cv_header_png_h" "
22579 if test "x$ac_cv_header_png_h" = xyes
; then :
22585 if test "$ac_cv_header_png_h" = "yes"; then
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
22587 $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
22588 if ${ac_cv_lib_png_png_sig_cmp+:} false
; then :
22589 $as_echo_n "(cached) " >&6
22591 ac_check_lib_save_LIBS
=$LIBS
22592 LIBS
="-lpng -lz -lm $LIBS"
22593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22596 /* Override any GCC internal prototype to avoid an error.
22597 Use char because int might match the return type of a GCC
22598 builtin and then its argument prototype would still apply. */
22602 char png_sig_cmp ();
22606 return png_sig_cmp ();
22611 if ac_fn_c_try_link
"$LINENO"; then :
22612 ac_cv_lib_png_png_sig_cmp
=yes
22614 ac_cv_lib_png_png_sig_cmp
=no
22616 rm -f core conftest.err conftest.
$ac_objext \
22617 conftest
$ac_exeext conftest.
$ac_ext
22618 LIBS
=$ac_check_lib_save_LIBS
22620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
22621 $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
22622 if test "x$ac_cv_lib_png_png_sig_cmp" = xyes
; then :
22623 PNG_LINK
=" -lpng -lz"
22628 if test "x$PNG_LINK" = "x" ; then
22629 if test "$wxUSE_LIBPNG" = "sys" ; then
22630 as_fn_error $?
"system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
22633 $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
22634 wxUSE_LIBPNG
=builtin
22644 if test "$wxUSE_LIBJPEG" != "no" ; then
22645 $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
22648 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
22650 $as_echo_n "checking for jpeglib.h... " >&6; }
22651 if ${ac_cv_header_jpeglib_h+:} false
; then :
22652 $as_echo_n "(cached) " >&6
22654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22657 #undef HAVE_STDLIB_H
22659 #include <jpeglib.h>
22670 if ac_fn_c_try_compile
"$LINENO"; then :
22671 ac_cv_header_jpeglib_h
=yes
22673 ac_cv_header_jpeglib_h
=no
22676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
22681 $as_echo "$ac_cv_header_jpeglib_h" >&6; }
22683 if test "$ac_cv_header_jpeglib_h" = "yes"; then
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
22685 $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
22686 if ${ac_cv_lib_jpeg_jpeg_read_header+:} false
; then :
22687 $as_echo_n "(cached) " >&6
22689 ac_check_lib_save_LIBS
=$LIBS
22690 LIBS
="-ljpeg $LIBS"
22691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22692 /* end confdefs.h. */
22694 /* Override any GCC internal prototype to avoid an error.
22695 Use char because int might match the return type of a GCC
22696 builtin and then its argument prototype would still apply. */
22700 char jpeg_read_header ();
22704 return jpeg_read_header ();
22709 if ac_fn_c_try_link
"$LINENO"; then :
22710 ac_cv_lib_jpeg_jpeg_read_header
=yes
22712 ac_cv_lib_jpeg_jpeg_read_header
=no
22714 rm -f core conftest.err conftest.
$ac_objext \
22715 conftest
$ac_exeext conftest.
$ac_ext
22716 LIBS
=$ac_check_lib_save_LIBS
22718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
22719 $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
22720 if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes
; then :
22721 JPEG_LINK
=" -ljpeg"
22726 if test "x$JPEG_LINK" = "x" ; then
22727 if test "$wxUSE_LIBJPEG" = "sys" ; then
22728 as_fn_error $?
"system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
22730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
22731 $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
22732 wxUSE_LIBJPEG
=builtin
22737 if test "$wxUSE_MSW" = 1; then
22738 ac_fn_c_check_type
"$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
22740 if test "x$ac_cv_type_boolean" = xyes
; then :
22742 cat >>confdefs.h
<<_ACEOF
22743 #define HAVE_BOOLEAN 1
22747 # The cast to long int works around a bug in the HP C Compiler
22748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22750 # This bug is HP SR number 8606223364.
22751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
22752 $as_echo_n "checking size of boolean... " >&6; }
22753 if ${ac_cv_sizeof_boolean+:} false
; then :
22754 $as_echo_n "(cached) " >&6
22756 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
22757 #undef HAVE_BOOLEAN
22759 #include <jpeglib.h>
22764 if test "$ac_cv_type_boolean" = yes; then
22765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22767 as_fn_error
77 "cannot compute sizeof (boolean)
22768 See \`config.log' for more details" "$LINENO" 5; }
22770 ac_cv_sizeof_boolean
=0
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
22776 $as_echo "$ac_cv_sizeof_boolean" >&6; }
22780 cat >>confdefs.h
<<_ACEOF
22781 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
22785 cat >>confdefs.h
<<_ACEOF
22786 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
22799 TIFF_PREREQ_LINKS
=-lm
22800 if test "$wxUSE_LIBTIFF" != "no" ; then
22801 $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
22804 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
22805 if test "$wxUSE_LIBJPEG" = "sys"; then
22806 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
22808 if test "$wxUSE_ZLIB" = "sys"; then
22809 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
22811 ac_fn_c_check_header_compile
"$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
22814 if test "x$ac_cv_header_tiffio_h" = xyes
; then :
22816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
22817 $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
22818 if ${ac_cv_lib_tiff_TIFFError+:} false
; then :
22819 $as_echo_n "(cached) " >&6
22821 ac_check_lib_save_LIBS
=$LIBS
22822 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
22823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22824 /* end confdefs.h. */
22826 /* Override any GCC internal prototype to avoid an error.
22827 Use char because int might match the return type of a GCC
22828 builtin and then its argument prototype would still apply. */
22836 return TIFFError ();
22841 if ac_fn_c_try_link
"$LINENO"; then :
22842 ac_cv_lib_tiff_TIFFError
=yes
22844 ac_cv_lib_tiff_TIFFError
=no
22846 rm -f core conftest.err conftest.
$ac_objext \
22847 conftest
$ac_exeext conftest.
$ac_ext
22848 LIBS
=$ac_check_lib_save_LIBS
22850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
22851 $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
22852 if test "x$ac_cv_lib_tiff_TIFFError" = xyes
; then :
22853 TIFF_LINK
=" -ltiff"
22861 if test "x$TIFF_LINK" = "x" ; then
22862 if test "$wxUSE_LIBTIFF" = "sys" ; then
22863 as_fn_error $?
"system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
22866 $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
22867 wxUSE_LIBTIFF
=builtin
22873 if test "$wxUSE_LIBTIFF" = "builtin" ; then
22874 if test "$wxUSE_LIBJPEG" = "no"; then
22875 ac_configure_args
="$ac_configure_args --disable-jpeg"
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
22879 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
22880 if ${ac_cv_lib_lzma_lzma_code+:} false
; then :
22881 $as_echo_n "(cached) " >&6
22883 ac_check_lib_save_LIBS
=$LIBS
22884 LIBS
="-llzma $LIBS"
22885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22886 /* end confdefs.h. */
22888 /* Override any GCC internal prototype to avoid an error.
22889 Use char because int might match the return type of a GCC
22890 builtin and then its argument prototype would still apply. */
22898 return lzma_code ();
22903 if ac_fn_c_try_link
"$LINENO"; then :
22904 ac_cv_lib_lzma_lzma_code
=yes
22906 ac_cv_lib_lzma_lzma_code
=no
22908 rm -f core conftest.err conftest.
$ac_objext \
22909 conftest
$ac_exeext conftest.
$ac_ext
22910 LIBS
=$ac_check_lib_save_LIBS
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
22913 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
22914 if test "x$ac_cv_lib_lzma_lzma_code" = xyes
; then :
22915 LIBS
="$LIBS -llzma"
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
22920 $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
22921 if ${ac_cv_lib_jbig_jbg_dec_init+:} false
; then :
22922 $as_echo_n "(cached) " >&6
22924 ac_check_lib_save_LIBS
=$LIBS
22925 LIBS
="-ljbig $LIBS"
22926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22927 /* end confdefs.h. */
22929 /* Override any GCC internal prototype to avoid an error.
22930 Use char because int might match the return type of a GCC
22931 builtin and then its argument prototype would still apply. */
22935 char jbg_dec_init ();
22939 return jbg_dec_init ();
22944 if ac_fn_c_try_link
"$LINENO"; then :
22945 ac_cv_lib_jbig_jbg_dec_init
=yes
22947 ac_cv_lib_jbig_jbg_dec_init
=no
22949 rm -f core conftest.err conftest.
$ac_objext \
22950 conftest
$ac_exeext conftest.
$ac_ext
22951 LIBS
=$ac_check_lib_save_LIBS
22953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
22954 $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
22955 if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes
; then :
22956 LIBS
="$LIBS -ljbig"
22962 subdirs
="$subdirs src/tiff"
22968 if test "$wxUSE_EXPAT" != "no"; then
22970 $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
22972 $as_echo "#define wxUSE_XML 1" >>confdefs.h
22975 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
22976 ac_fn_c_check_header_compile
"$LINENO" "expat.h" "ac_cv_header_expat_h" "
22978 if test "x$ac_cv_header_expat_h" = xyes
; then :
22983 if test "x$found_expat_h" = "x1"; then
22984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
22985 $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
22986 if ${wx_cv_expat_is_not_broken+:} false
; then :
22987 $as_echo_n "(cached) " >&6
22991 ac_cpp
='$CXXCPP $CPPFLAGS'
22992 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22997 /* end confdefs.h. */
23007 if ac_fn_cxx_try_compile
"$LINENO"; then :
23008 wx_cv_expat_is_not_broken
=yes
23010 wx_cv_expat_is_not_broken
=no
23013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23015 ac_cpp
='$CPP $CPPFLAGS'
23016 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23017 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23018 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
23024 $as_echo "$wx_cv_expat_is_not_broken" >&6; }
23025 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
23026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
23027 $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
23028 if ${ac_cv_lib_expat_XML_ParserCreate+:} false
; then :
23029 $as_echo_n "(cached) " >&6
23031 ac_check_lib_save_LIBS
=$LIBS
23032 LIBS
="-lexpat $LIBS"
23033 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23036 /* Override any GCC internal prototype to avoid an error.
23037 Use char because int might match the return type of a GCC
23038 builtin and then its argument prototype would still apply. */
23042 char XML_ParserCreate ();
23046 return XML_ParserCreate ();
23051 if ac_fn_c_try_link
"$LINENO"; then :
23052 ac_cv_lib_expat_XML_ParserCreate
=yes
23054 ac_cv_lib_expat_XML_ParserCreate
=no
23056 rm -f core conftest.err conftest.
$ac_objext \
23057 conftest
$ac_exeext conftest.
$ac_ext
23058 LIBS
=$ac_check_lib_save_LIBS
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
23061 $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
23062 if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes
; then :
23063 EXPAT_LINK
=" -lexpat"
23068 if test "x$EXPAT_LINK" = "x" ; then
23069 if test "$wxUSE_EXPAT" = "sys" ; then
23070 as_fn_error $?
"system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
23073 $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
23074 wxUSE_EXPAT
=builtin
23080 if test "$wxUSE_EXPAT" = "builtin" ; then
23081 subdirs
="$subdirs src/expat"
23088 if test "$wxUSE_LIBMSPACK" != "no"; then
23089 ac_fn_c_check_header_compile
"$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
23091 if test "x$ac_cv_header_mspack_h" = xyes
; then :
23096 if test "x$found_mspack_h" = "x1"; then
23097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
23098 $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
23099 if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false
; then :
23100 $as_echo_n "(cached) " >&6
23102 ac_check_lib_save_LIBS
=$LIBS
23103 LIBS
="-lmspack $LIBS"
23104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23105 /* end confdefs.h. */
23107 /* Override any GCC internal prototype to avoid an error.
23108 Use char because int might match the return type of a GCC
23109 builtin and then its argument prototype would still apply. */
23113 char mspack_create_chm_decompressor ();
23117 return mspack_create_chm_decompressor ();
23122 if ac_fn_c_try_link
"$LINENO"; then :
23123 ac_cv_lib_mspack_mspack_create_chm_decompressor
=yes
23125 ac_cv_lib_mspack_mspack_create_chm_decompressor
=no
23127 rm -f core conftest.err conftest.
$ac_objext \
23128 conftest
$ac_exeext conftest.
$ac_ext
23129 LIBS
=$ac_check_lib_save_LIBS
23131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
23132 $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
23133 if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes
; then :
23134 MSPACK_LINK
=" -lmspack"
23138 if test "x$MSPACK_LINK" = "x" ; then
23143 if test "$wxUSE_LIBMSPACK" != "no"; then
23144 $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
23157 if test "$USE_WIN32" = 1 ; then
23158 for ac_header
in w32api.h
23160 ac_fn_c_check_header_compile
"$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
23162 if test "x$ac_cv_header_w32api_h" = xyes
; then :
23163 cat >>confdefs.h
<<_ACEOF
23164 #define HAVE_W32API_H 1
23171 ac_fn_c_check_header_compile
"$LINENO" "windows.h" "ac_cv_header_windows_h" "
23173 if test "x$ac_cv_header_windows_h" = xyes
; then :
23177 as_fn_error $?
"please set CFLAGS to contain the location of windows.h" "$LINENO" 5
23183 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
23185 x86_64
-*-mingw32* )
23186 WINDRES_CPU_DEFINE
="--define WX_CPU_AMD64"
23189 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
23190 LIBS
="$LIBS -loleacc"
23195 LIBS
="$LIBS -lkernel32 -luser32"
23198 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23199 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
23201 WXCONFIG_RESFLAGS
="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
23203 WIN32INSTALL
=win32install
23206 if test "$wxUSE_GUI" = "yes"; then
23217 if test "$wxUSE_OLD_COCOA" = 1 ; then
23218 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
23220 $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
23221 wxUSE_PRINTING_ARCHITECTURE
=no
23223 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
23224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
23225 $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
23226 wxUSE_DRAG_AND_DROP
=no
23228 if test "$wxUSE_DRAGIMAGE" = "yes"; then
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
23230 $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
23235 if test "$wxUSE_MSW" = 1 ; then
23241 WXCONFIG_LDFLAGS_GUI
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
23245 if test "$wxUSE_GTK" = 1; then
23246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
23247 $as_echo_n "checking for GTK+ version... " >&6; }
23249 gtk_version_cached
=1
23250 if ${wx_cv_lib_gtk+:} false
; then :
23251 $as_echo_n "(cached) " >&6
23254 gtk_version_cached
=0
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
23259 if test "$wxUSE_THREADS" = "yes"; then
23260 GTK_MODULES
=gthread
23263 if test -z "$wxGTK_VERSION"; then
23268 if test "x$wxGTK_VERSION" != "x1"
23272 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
23277 if test "$wxGTK_VERSION" != 3; then
23278 # Check whether --enable-gtktest was given.
23279 if test "${enable_gtktest+set}" = set; then :
23280 enableval
=$enable_gtktest;
23286 pkg_config_args
=gtk
+-2.0
23287 for module
in .
$GTK_MODULES
23291 pkg_config_args
="$pkg_config_args gthread-2.0"
23298 # Extract the first word of "pkg-config", so it can be a program name with args.
23299 set dummy pkg
-config; ac_word
=$2
23300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23301 $as_echo_n "checking for $ac_word... " >&6; }
23302 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23303 $as_echo_n "(cached) " >&6
23305 case $PKG_CONFIG in
23307 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23311 for as_dir
in $PATH
23314 test -z "$as_dir" && as_dir
=.
23315 for ac_exec_ext
in '' $ac_executable_extensions; do
23316 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23317 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23325 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23329 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23330 if test -n "$PKG_CONFIG"; then
23331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23332 $as_echo "$PKG_CONFIG" >&6; }
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23335 $as_echo "no" >&6; }
23340 if test x
$PKG_CONFIG != xno
; then
23341 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
23344 echo "*** pkg-config too old; version 0.7 or better required."
23352 min_gtk_version
=2.6.0
23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23354 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23356 if test x
$PKG_CONFIG != xno
; then
23357 ## don't try to run the test against uninstalled libtool libs
23358 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23359 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23363 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23370 if test x
"$no_gtk" = x
; then
23371 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23372 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23373 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23375 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23377 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
23378 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23379 if test "x$enable_gtktest" = "xyes" ; then
23380 ac_save_CFLAGS
="$CFLAGS"
23381 ac_save_LIBS
="$LIBS"
23382 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23383 LIBS
="$GTK_LIBS $LIBS"
23385 if test "$cross_compiling" = yes; then :
23386 echo $ac_n "cross compiling; assumed OK... $ac_c"
23388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23389 /* end confdefs.h. */
23391 #include <gtk/gtk.h>
23393 #include <stdlib.h>
23398 int major, minor, micro;
23401 system ("touch conf.gtktest");
23403 /* HP/UX 9 (%@#!) writes to sscanf strings */
23404 tmp_version = g_strdup("$min_gtk_version");
23405 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23406 printf("%s, bad version string\n", "$min_gtk_version");
23410 if ((gtk_major_version != $gtk_config_major_version) ||
23411 (gtk_minor_version != $gtk_config_minor_version) ||
23412 (gtk_micro_version != $gtk_config_micro_version))
23414 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23415 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23416 gtk_major_version, gtk_minor_version, gtk_micro_version);
23417 printf ("*** was found! If pkg-config was correct, then it is best\n");
23418 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23419 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23420 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23421 printf("*** required on your system.\n");
23422 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23423 printf("*** to point to the correct configuration files\n");
23425 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23426 (gtk_minor_version != GTK_MINOR_VERSION) ||
23427 (gtk_micro_version != GTK_MICRO_VERSION))
23429 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23430 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23431 printf("*** library (version %d.%d.%d)\n",
23432 gtk_major_version, gtk_minor_version, gtk_micro_version);
23436 if ((gtk_major_version > major) ||
23437 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23438 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23444 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23445 gtk_major_version, gtk_minor_version, gtk_micro_version);
23446 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23447 major, minor, micro);
23448 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23450 printf("*** If you have already installed a sufficiently new version, this error\n");
23451 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23452 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23453 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23454 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23455 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23456 printf("*** so that the correct libraries are found at run-time))\n");
23463 if ac_fn_c_try_run
"$LINENO"; then :
23468 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23469 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23472 CFLAGS
="$ac_save_CFLAGS"
23473 LIBS
="$ac_save_LIBS"
23476 if test "x$no_gtk" = x
; then
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23478 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23482 $as_echo "no" >&6; }
23483 if test "$PKG_CONFIG" = "no" ; then
23484 echo "*** A new enough version of pkg-config was not found."
23485 echo "*** See http://pkgconfig.sourceforge.net"
23487 if test -f conf.gtktest
; then
23490 echo "*** Could not run GTK+ test program, checking why..."
23491 ac_save_CFLAGS
="$CFLAGS"
23492 ac_save_LIBS
="$LIBS"
23493 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23494 LIBS
="$LIBS $GTK_LIBS"
23495 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23496 /* end confdefs.h. */
23498 #include <gtk/gtk.h>
23504 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23509 if ac_fn_c_try_link
"$LINENO"; then :
23510 echo "*** The test program compiled, but did not run. This usually means"
23511 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23512 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23513 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23514 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23515 echo "*** is required on your system"
23517 echo "*** If you have an old version installed, it is best to remove it, although"
23518 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23520 echo "*** The test program failed to compile or link. See the file config.log for the"
23521 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
23523 rm -f core conftest.err conftest.
$ac_objext \
23524 conftest
$ac_exeext conftest.
$ac_ext
23525 CFLAGS
="$ac_save_CFLAGS"
23526 LIBS
="$ac_save_LIBS"
23538 if test -z "$wx_cv_lib_gtk"; then
23539 if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any
; then
23540 # Check whether --enable-gtktest was given.
23541 if test "${enable_gtktest+set}" = set; then :
23542 enableval
=$enable_gtktest;
23548 pkg_config_args
=gtk
+-3.0
23549 for module
in .
$GTK_MODULES
23553 pkg_config_args
="$pkg_config_args gthread-2.0"
23560 # Extract the first word of "pkg-config", so it can be a program name with args.
23561 set dummy pkg
-config; ac_word
=$2
23562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23563 $as_echo_n "checking for $ac_word... " >&6; }
23564 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
23565 $as_echo_n "(cached) " >&6
23567 case $PKG_CONFIG in
23569 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
23572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23573 for as_dir
in $PATH
23576 test -z "$as_dir" && as_dir
=.
23577 for ac_exec_ext
in '' $ac_executable_extensions; do
23578 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23579 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23587 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
23591 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
23592 if test -n "$PKG_CONFIG"; then
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
23594 $as_echo "$PKG_CONFIG" >&6; }
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23597 $as_echo "no" >&6; }
23602 if test x
$PKG_CONFIG != xno
; then
23603 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
23606 echo "*** pkg-config too old; version 0.7 or better required."
23614 min_gtk_version
=3.0.0
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
23616 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
23618 if test x
$PKG_CONFIG != xno
; then
23619 ## don't try to run the test against uninstalled libtool libs
23620 if $PKG_CONFIG --uninstalled $pkg_config_args; then
23621 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
23625 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
23632 if test x
"$no_gtk" = x
; then
23633 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
23634 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
23635 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23637 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23639 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-3.0 | \
23640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23641 if test "x$enable_gtktest" = "xyes" ; then
23642 ac_save_CFLAGS
="$CFLAGS"
23643 ac_save_LIBS
="$LIBS"
23644 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23645 LIBS
="$GTK_LIBS $LIBS"
23647 if test "$cross_compiling" = yes; then :
23648 echo $ac_n "cross compiling; assumed OK... $ac_c"
23650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23651 /* end confdefs.h. */
23653 #include <gtk/gtk.h>
23655 #include <stdlib.h>
23660 int major, minor, micro;
23663 fclose (fopen ("conf.gtktest", "w"));
23665 /* HP/UX 9 (%@#!) writes to sscanf strings */
23666 tmp_version = g_strdup("$min_gtk_version");
23667 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23668 printf("%s, bad version string\n", "$min_gtk_version");
23672 if ((gtk_major_version != $gtk_config_major_version) ||
23673 (gtk_minor_version != $gtk_config_minor_version) ||
23674 (gtk_micro_version != $gtk_config_micro_version))
23676 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23677 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23678 gtk_major_version, gtk_minor_version, gtk_micro_version);
23679 printf ("*** was found! If pkg-config was correct, then it is best\n");
23680 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23681 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
23682 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23683 printf("*** required on your system.\n");
23684 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
23685 printf("*** to point to the correct configuration files\n");
23687 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23688 (gtk_minor_version != GTK_MINOR_VERSION) ||
23689 (gtk_micro_version != GTK_MICRO_VERSION))
23691 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23692 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23693 printf("*** library (version %d.%d.%d)\n",
23694 gtk_major_version, gtk_minor_version, gtk_micro_version);
23698 if ((gtk_major_version > major) ||
23699 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23700 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23706 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23707 gtk_major_version, gtk_minor_version, gtk_micro_version);
23708 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23709 major, minor, micro);
23710 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23712 printf("*** If you have already installed a sufficiently new version, this error\n");
23713 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
23714 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23715 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
23716 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
23717 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
23718 printf("*** so that the correct libraries are found at run-time))\n");
23725 if ac_fn_c_try_run
"$LINENO"; then :
23730 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
23731 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
23734 CFLAGS
="$ac_save_CFLAGS"
23735 LIBS
="$ac_save_LIBS"
23738 if test "x$no_gtk" = x
; then
23739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
23740 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23744 $as_echo "no" >&6; }
23745 if test "$PKG_CONFIG" = "no" ; then
23746 echo "*** A new enough version of pkg-config was not found."
23747 echo "*** See http://pkgconfig.sourceforge.net"
23749 if test -f conf.gtktest
; then
23752 echo "*** Could not run GTK+ test program, checking why..."
23753 ac_save_CFLAGS
="$CFLAGS"
23754 ac_save_LIBS
="$LIBS"
23755 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23756 LIBS
="$LIBS $GTK_LIBS"
23757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23758 /* end confdefs.h. */
23760 #include <gtk/gtk.h>
23766 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
23771 if ac_fn_c_try_link
"$LINENO"; then :
23772 echo "*** The test program compiled, but did not run. This usually means"
23773 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
23774 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
23775 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
23776 echo "*** to the installed location Also, make sure you have run ldconfig if that"
23777 echo "*** is required on your system"
23779 echo "*** If you have an old version installed, it is best to remove it, although"
23780 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
23782 echo "*** The test program failed to compile or link. See the file config.log for the"
23783 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
23785 rm -f core conftest.err conftest.
$ac_objext \
23786 conftest
$ac_exeext conftest.
$ac_ext
23787 CFLAGS
="$ac_save_CFLAGS"
23788 LIBS
="$ac_save_LIBS"
23803 if test -z "$wx_cv_lib_gtk"; then
23804 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
23806 # Check whether --with-gtk-prefix was given.
23807 if test "${with_gtk_prefix+set}" = set; then :
23808 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
23810 gtk_config_prefix
=""
23814 # Check whether --with-gtk-exec-prefix was given.
23815 if test "${with_gtk_exec_prefix+set}" = set; then :
23816 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
23818 gtk_config_exec_prefix
=""
23821 # Check whether --enable-gtktest was given.
23822 if test "${enable_gtktest+set}" = set; then :
23823 enableval
=$enable_gtktest;
23829 for module
in .
$GTK_MODULES
23833 gtk_config_args
="$gtk_config_args gthread"
23838 if test x
$gtk_config_exec_prefix != x
; then
23839 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
23840 if test x
${GTK_CONFIG+set} != xset
; then
23841 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
23844 if test x
$gtk_config_prefix != x
; then
23845 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
23846 if test x
${GTK_CONFIG+set} != xset
; then
23847 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
23851 # Extract the first word of "gtk-config", so it can be a program name with args.
23852 set dummy gtk
-config; ac_word
=$2
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23854 $as_echo_n "checking for $ac_word... " >&6; }
23855 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
23856 $as_echo_n "(cached) " >&6
23858 case $GTK_CONFIG in
23860 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
23863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23864 for as_dir
in $PATH
23867 test -z "$as_dir" && as_dir
=.
23868 for ac_exec_ext
in '' $ac_executable_extensions; do
23869 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
23870 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
23871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23878 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
23882 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
23883 if test -n "$GTK_CONFIG"; then
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
23885 $as_echo "$GTK_CONFIG" >&6; }
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23888 $as_echo "no" >&6; }
23892 min_gtk_version
=1.2.7
23893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
23894 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
23896 if test "$GTK_CONFIG" = "no" ; then
23899 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
23900 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
23901 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
23902 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
23903 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
23904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
23905 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
23906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
23907 if test "x$enable_gtktest" = "xyes" ; then
23908 ac_save_CFLAGS
="$CFLAGS"
23909 ac_save_LIBS
="$LIBS"
23910 CFLAGS
="$CFLAGS $GTK_CFLAGS"
23911 LIBS
="$GTK_LIBS $LIBS"
23913 if test "$cross_compiling" = yes; then :
23914 echo $ac_n "cross compiling; assumed OK... $ac_c"
23916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23917 /* end confdefs.h. */
23919 #include <gtk/gtk.h>
23921 #include <stdlib.h>
23926 int major, minor, micro;
23929 system ("touch conf.gtktest");
23931 /* HP/UX 9 (%@#!) writes to sscanf strings */
23932 tmp_version = g_strdup("$min_gtk_version");
23933 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
23934 printf("%s, bad version string\n", "$min_gtk_version");
23938 if ((gtk_major_version != $gtk_config_major_version) ||
23939 (gtk_minor_version != $gtk_config_minor_version) ||
23940 (gtk_micro_version != $gtk_config_micro_version))
23942 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
23943 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
23944 gtk_major_version, gtk_minor_version, gtk_micro_version);
23945 printf ("*** was found! If gtk-config was correct, then it is best\n");
23946 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
23947 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
23948 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
23949 printf("*** required on your system.\n");
23950 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
23951 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
23952 printf("*** before re-running configure\n");
23954 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
23955 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
23956 (gtk_minor_version != GTK_MINOR_VERSION) ||
23957 (gtk_micro_version != GTK_MICRO_VERSION))
23959 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
23960 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
23961 printf("*** library (version %d.%d.%d)\n",
23962 gtk_major_version, gtk_minor_version, gtk_micro_version);
23964 #endif /* defined (GTK_MAJOR_VERSION) ... */
23967 if ((gtk_major_version > major) ||
23968 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
23969 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
23975 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
23976 gtk_major_version, gtk_minor_version, gtk_micro_version);
23977 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
23978 major, minor, micro);
23979 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
23981 printf("*** If you have already installed a sufficiently new version, this error\n");
23982 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
23983 printf("*** being found. The easiest way to fix this is to remove the old version\n");
23984 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
23985 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
23986 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
23987 printf("*** so that the correct libraries are found at run-time))\n");
23994 if ac_fn_c_try_run
"$LINENO"; then :
23999 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24000 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24003 CFLAGS
="$ac_save_CFLAGS"
24004 LIBS
="$ac_save_LIBS"
24007 if test "x$no_gtk" = x
; then
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24009 $as_echo "yes" >&6; }
24010 wx_cv_lib_gtk
=1.2.7
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24013 $as_echo "no" >&6; }
24014 if test "$GTK_CONFIG" = "no" ; then
24015 echo "*** The gtk-config script installed by GTK could not be found"
24016 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24017 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24018 echo "*** full path to gtk-config."
24020 if test -f conf.gtktest
; then
24023 echo "*** Could not run GTK test program, checking why..."
24024 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24025 LIBS
="$LIBS $GTK_LIBS"
24026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24027 /* end confdefs.h. */
24029 #include <gtk/gtk.h>
24035 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24040 if ac_fn_c_try_link
"$LINENO"; then :
24041 echo "*** The test program compiled, but did not run. This usually means"
24042 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24043 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24044 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24045 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24046 echo "*** is required on your system"
24048 echo "*** If you have an old version installed, it is best to remove it, although"
24049 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24051 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24052 echo "*** came with the system with the command"
24054 echo "*** rpm --erase --nodeps gtk gtk-devel"
24056 echo "*** The test program failed to compile or link. See the file config.log for the"
24057 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24058 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24059 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24061 rm -f core conftest.err conftest.
$ac_objext \
24062 conftest
$ac_exeext conftest.
$ac_ext
24063 CFLAGS
="$ac_save_CFLAGS"
24064 LIBS
="$ac_save_LIBS"
24076 if test -z "$wx_cv_lib_gtk"; then
24078 # Check whether --with-gtk-prefix was given.
24079 if test "${with_gtk_prefix+set}" = set; then :
24080 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
24082 gtk_config_prefix
=""
24086 # Check whether --with-gtk-exec-prefix was given.
24087 if test "${with_gtk_exec_prefix+set}" = set; then :
24088 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
24090 gtk_config_exec_prefix
=""
24093 # Check whether --enable-gtktest was given.
24094 if test "${enable_gtktest+set}" = set; then :
24095 enableval
=$enable_gtktest;
24101 for module
in .
$GTK_MODULES
24105 gtk_config_args
="$gtk_config_args gthread"
24110 if test x
$gtk_config_exec_prefix != x
; then
24111 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
24112 if test x
${GTK_CONFIG+set} != xset
; then
24113 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
24116 if test x
$gtk_config_prefix != x
; then
24117 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
24118 if test x
${GTK_CONFIG+set} != xset
; then
24119 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
24123 # Extract the first word of "gtk-config", so it can be a program name with args.
24124 set dummy gtk
-config; ac_word
=$2
24125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24126 $as_echo_n "checking for $ac_word... " >&6; }
24127 if ${ac_cv_path_GTK_CONFIG+:} false
; then :
24128 $as_echo_n "(cached) " >&6
24130 case $GTK_CONFIG in
24132 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
24135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24136 for as_dir
in $PATH
24139 test -z "$as_dir" && as_dir
=.
24140 for ac_exec_ext
in '' $ac_executable_extensions; do
24141 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24142 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24150 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
24154 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
24155 if test -n "$GTK_CONFIG"; then
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
24157 $as_echo "$GTK_CONFIG" >&6; }
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24160 $as_echo "no" >&6; }
24164 min_gtk_version
=1.2.3
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
24166 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
24168 if test "$GTK_CONFIG" = "no" ; then
24171 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
24172 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
24173 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
24174 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
24175 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
24176 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
24177 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
24178 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
24179 if test "x$enable_gtktest" = "xyes" ; then
24180 ac_save_CFLAGS
="$CFLAGS"
24181 ac_save_LIBS
="$LIBS"
24182 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24183 LIBS
="$GTK_LIBS $LIBS"
24185 if test "$cross_compiling" = yes; then :
24186 echo $ac_n "cross compiling; assumed OK... $ac_c"
24188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24189 /* end confdefs.h. */
24191 #include <gtk/gtk.h>
24193 #include <stdlib.h>
24198 int major, minor, micro;
24201 system ("touch conf.gtktest");
24203 /* HP/UX 9 (%@#!) writes to sscanf strings */
24204 tmp_version = g_strdup("$min_gtk_version");
24205 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
24206 printf("%s, bad version string\n", "$min_gtk_version");
24210 if ((gtk_major_version != $gtk_config_major_version) ||
24211 (gtk_minor_version != $gtk_config_minor_version) ||
24212 (gtk_micro_version != $gtk_config_micro_version))
24214 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
24215 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
24216 gtk_major_version, gtk_minor_version, gtk_micro_version);
24217 printf ("*** was found! If gtk-config was correct, then it is best\n");
24218 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
24219 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
24220 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
24221 printf("*** required on your system.\n");
24222 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
24223 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
24224 printf("*** before re-running configure\n");
24226 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
24227 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
24228 (gtk_minor_version != GTK_MINOR_VERSION) ||
24229 (gtk_micro_version != GTK_MICRO_VERSION))
24231 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
24232 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
24233 printf("*** library (version %d.%d.%d)\n",
24234 gtk_major_version, gtk_minor_version, gtk_micro_version);
24236 #endif /* defined (GTK_MAJOR_VERSION) ... */
24239 if ((gtk_major_version > major) ||
24240 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
24241 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
24247 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
24248 gtk_major_version, gtk_minor_version, gtk_micro_version);
24249 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
24250 major, minor, micro);
24251 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
24253 printf("*** If you have already installed a sufficiently new version, this error\n");
24254 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
24255 printf("*** being found. The easiest way to fix this is to remove the old version\n");
24256 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
24257 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
24258 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
24259 printf("*** so that the correct libraries are found at run-time))\n");
24266 if ac_fn_c_try_run
"$LINENO"; then :
24271 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
24272 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
24275 CFLAGS
="$ac_save_CFLAGS"
24276 LIBS
="$ac_save_LIBS"
24279 if test "x$no_gtk" = x
; then
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24281 $as_echo "yes" >&6; }
24282 wx_cv_lib_gtk
=1.2.3
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24285 $as_echo "no" >&6; }
24286 if test "$GTK_CONFIG" = "no" ; then
24287 echo "*** The gtk-config script installed by GTK could not be found"
24288 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
24289 echo "*** your path, or set the GTK_CONFIG environment variable to the"
24290 echo "*** full path to gtk-config."
24292 if test -f conf.gtktest
; then
24295 echo "*** Could not run GTK test program, checking why..."
24296 CFLAGS
="$CFLAGS $GTK_CFLAGS"
24297 LIBS
="$LIBS $GTK_LIBS"
24298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24299 /* end confdefs.h. */
24301 #include <gtk/gtk.h>
24307 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
24312 if ac_fn_c_try_link
"$LINENO"; then :
24313 echo "*** The test program compiled, but did not run. This usually means"
24314 echo "*** that the run-time linker is not finding GTK or finding the wrong"
24315 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
24316 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
24317 echo "*** to the installed location Also, make sure you have run ldconfig if that"
24318 echo "*** is required on your system"
24320 echo "*** If you have an old version installed, it is best to remove it, although"
24321 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
24323 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
24324 echo "*** came with the system with the command"
24326 echo "*** rpm --erase --nodeps gtk gtk-devel"
24328 echo "*** The test program failed to compile or link. See the file config.log for the"
24329 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
24330 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
24331 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
24333 rm -f core conftest.err conftest.
$ac_objext \
24334 conftest
$ac_exeext conftest.
$ac_ext
24335 CFLAGS
="$ac_save_CFLAGS"
24336 LIBS
="$ac_save_LIBS"
24351 if test -z "$wx_cv_lib_gtk"; then
24354 GTK_LIBS
="$GTK_LIBS -lX11"
24356 wx_cv_cflags_gtk
=$GTK_CFLAGS
24357 wx_cv_libs_gtk
=$GTK_LIBS
24364 if test "$gtk_version_cached" = 1; then
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
24366 $as_echo "$wx_cv_lib_gtk" >&6; }
24369 case "$wx_cv_lib_gtk" in
24380 *) as_fn_error $?
"
24381 The development files for GTK+ were not found. For GTK+ 2, please
24382 ensure that pkg-config is in the path and that gtk+-2.0.pc is
24383 installed. For GTK+ 1.2 please check that gtk-config is in the path,
24384 and that the version is 1.2.3 or above. Also check that the
24385 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
24386 --libs' are in the LD_LIBRARY_PATH or equivalent.
24391 if test "$WXGTK3" = 1; then
24392 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24394 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24396 elif test "$WXGTK2" = 1; then
24397 save_CFLAGS
="$CFLAGS"
24399 CFLAGS
="$wx_cv_cflags_gtk $CFLAGS"
24400 LIBS
="$LIBS $wx_cv_libs_gtk"
24402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
24403 $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
24404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24405 /* end confdefs.h. */
24407 #include <gtk/gtk.h>
24413 #if !GTK_CHECK_VERSION(2,18,0)
24421 if ac_fn_c_try_compile
"$LINENO"; then :
24423 $as_echo "#define __WXGTK218__ 1" >>confdefs.h
24425 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24428 $as_echo "yes" >&6; }
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24434 $as_echo "no" >&6; }
24438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24440 if test "$ac_wxgtk218" = 0; then
24441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
24442 $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
24443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24444 /* end confdefs.h. */
24446 #include <gtk/gtk.h>
24452 #if !GTK_CHECK_VERSION(2,10,0)
24460 if ac_fn_c_try_compile
"$LINENO"; then :
24462 $as_echo "#define __WXGTK210__ 1" >>confdefs.h
24464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24465 $as_echo "yes" >&6; }
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24471 $as_echo "no" >&6; }
24475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24478 CFLAGS
="$save_CFLAGS"
24481 if test "$wxUSE_UNICODE" = "yes"; then
24482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
24483 $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
24488 $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
24489 if ${ac_cv_lib_gdk_gdk_im_open+:} false
; then :
24490 $as_echo_n "(cached) " >&6
24492 ac_check_lib_save_LIBS
=$LIBS
24494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24495 /* end confdefs.h. */
24497 /* Override any GCC internal prototype to avoid an error.
24498 Use char because int might match the return type of a GCC
24499 builtin and then its argument prototype would still apply. */
24503 char gdk_im_open ();
24507 return gdk_im_open ();
24512 if ac_fn_c_try_link
"$LINENO"; then :
24513 ac_cv_lib_gdk_gdk_im_open
=yes
24515 ac_cv_lib_gdk_gdk_im_open
=no
24517 rm -f core conftest.err conftest.
$ac_objext \
24518 conftest
$ac_exeext conftest.
$ac_ext
24519 LIBS
=$ac_check_lib_save_LIBS
24521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
24522 $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
24523 if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes
; then :
24524 $as_echo "#define HAVE_XIM 1" >>confdefs.h
24529 if test "$USE_DARWIN" != 1; then
24530 for ac_func
in poll
24532 ac_fn_c_check_func
"$LINENO" "poll" "ac_cv_func_poll"
24533 if test "x$ac_cv_func_poll" = xyes
; then :
24534 cat >>confdefs.h
<<_ACEOF
24535 #define HAVE_POLL 1
24544 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
24545 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
24546 AFMINSTALL
=afminstall
24550 if test "$wxUSE_GPE" = "yes"; then
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
24552 $as_echo_n "checking for gpewidget library... " >&6; }
24555 for ac_dir
in $SEARCH_LIB
24557 for ac_extension
in a so sl dylib dll.a
; do
24558 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
24559 ac_find_libraries
=$ac_dir
24565 if test "$ac_find_libraries" != "" ; then
24567 if test "$ac_find_libraries" = "default location"; then
24570 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
24572 if test $result = 0; then
24575 ac_path_to_link
=" -L$ac_find_libraries"
24579 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
24582 $as_echo "found in $ac_find_libraries" >&6; }
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24585 $as_echo "not found" >&6; }
24591 if test "$wxUSE_DFB" = 1; then
24594 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
24595 if test -n "$ac_tool_prefix"; then
24596 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
24597 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24599 $as_echo_n "checking for $ac_word... " >&6; }
24600 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
24601 $as_echo_n "(cached) " >&6
24603 case $PKG_CONFIG in
24605 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
24608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24609 for as_dir
in $PATH
24612 test -z "$as_dir" && as_dir
=.
24613 for ac_exec_ext
in '' $ac_executable_extensions; do
24614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24615 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24626 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
24627 if test -n "$PKG_CONFIG"; then
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
24629 $as_echo "$PKG_CONFIG" >&6; }
24631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24632 $as_echo "no" >&6; }
24637 if test -z "$ac_cv_path_PKG_CONFIG"; then
24638 ac_pt_PKG_CONFIG
=$PKG_CONFIG
24639 # Extract the first word of "pkg-config", so it can be a program name with args.
24640 set dummy pkg
-config; ac_word
=$2
24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24642 $as_echo_n "checking for $ac_word... " >&6; }
24643 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
24644 $as_echo_n "(cached) " >&6
24646 case $ac_pt_PKG_CONFIG in
24648 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
24651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
24652 for as_dir
in $PATH
24655 test -z "$as_dir" && as_dir
=.
24656 for ac_exec_ext
in '' $ac_executable_extensions; do
24657 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
24658 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
24659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24669 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
24670 if test -n "$ac_pt_PKG_CONFIG"; then
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
24672 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24675 $as_echo "no" >&6; }
24678 if test "x$ac_pt_PKG_CONFIG" = x
; then
24681 case $cross_compiling:$ac_tool_warned in
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
24684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
24685 ac_tool_warned
=yes ;;
24687 PKG_CONFIG
=$ac_pt_PKG_CONFIG
24690 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
24694 if test -n "$PKG_CONFIG"; then
24695 _pkg_min_version
=0.9.0
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
24697 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
24698 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
24699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24700 $as_echo "yes" >&6; }
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24703 $as_echo "no" >&6; }
24711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
24712 $as_echo_n "checking for DIRECTFB... " >&6; }
24714 if test -n "$PKG_CONFIG"; then
24715 if test -n "$DIRECTFB_CFLAGS"; then
24716 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
24718 if test -n "$PKG_CONFIG" && \
24719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24720 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24723 test $ac_status = 0; }; then
24724 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
24732 if test -n "$PKG_CONFIG"; then
24733 if test -n "$DIRECTFB_LIBS"; then
24734 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
24736 if test -n "$PKG_CONFIG" && \
24737 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
24738 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
24740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24741 test $ac_status = 0; }; then
24742 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
24753 if test $pkg_failed = yes; then
24755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24756 _pkg_short_errors_supported
=yes
24758 _pkg_short_errors_supported
=no
24760 if test $_pkg_short_errors_supported = yes; then
24761 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24763 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
24765 # Put the nasty error message in config.log where it belongs
24766 echo "$DIRECTFB_PKG_ERRORS" >&5
24769 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24772 elif test $pkg_failed = untried
; then
24774 as_fn_error $?
"DirectFB not found." "$LINENO" 5
24778 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
24779 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24781 $as_echo "yes" >&6; }
24783 wxUSE_UNIVERSAL
="yes"
24784 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
24785 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
24792 if test "$wxUSE_MICROWIN" = 1; then
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
24794 $as_echo_n "checking for MicroWindows... " >&6; }
24795 if test "x$MICROWINDOWS" = x
; then
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
24797 $as_echo "not found" >&6; }
24798 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
24800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
24801 $as_echo "$MICROWINDOWS" >&6; }
24804 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
24806 $as_echo "MicroWindows' libraries found." >&6; }
24808 as_fn_error $?
"Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
24811 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
24812 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
24814 wxUSE_UNIVERSAL
="yes"
24816 AFMINSTALL
=afminstall
24818 GUIDIST
=MICROWIN_DIST
24820 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
24823 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24825 $as_echo_n "checking for X... " >&6; }
24828 # Check whether --with-x was given.
24829 if test "${with_x+set}" = set; then :
24833 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24834 if test "x$with_x" = xno
; then
24835 # The user explicitly disabled X.
24838 case $x_includes,$x_libraries in #(
24839 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
24840 *,NONE
| NONE
,*) if ${ac_cv_have_x+:} false
; then :
24841 $as_echo_n "(cached) " >&6
24843 # One or both of the vars are not set, and there is no cached value.
24844 ac_x_includes
=no ac_x_libraries
=no
24845 rm -f -r conftest.dir
24846 if mkdir conftest.dir
; then
24848 cat >Imakefile
<<'_ACEOF'
24850 @echo incroot='${INCROOT}'
24852 @echo usrlibdir='${USRLIBDIR}'
24854 @echo libdir='${LIBDIR}'
24856 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
24857 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24858 for ac_var
in incroot usrlibdir libdir
; do
24859 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24861 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24862 for ac_extension
in a so sl dylib la dll
; do
24863 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24864 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24865 ac_im_usrlibdir
=$ac_im_libdir; break
24868 # Screen out bogus values from the imake configuration. They are
24869 # bogus both because they are the default anyway, and because
24870 # using them would break gcc on systems where it needs fixed includes.
24871 case $ac_im_incroot in
24872 /usr
/include
) ac_x_includes
= ;;
24873 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
24875 case $ac_im_usrlibdir in
24876 /usr
/lib
| /usr
/lib64
| /lib
| /lib64
) ;;
24877 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
24881 rm -f -r conftest.dir
24884 # Standard set of common directories for X headers.
24885 # Check X11 before X11Rn because it is often a symlink to the current release.
24899 /usr/local/X11/include
24900 /usr/local/X11R7/include
24901 /usr/local/X11R6/include
24902 /usr/local/X11R5/include
24903 /usr/local/X11R4/include
24905 /usr/local/include/X11
24906 /usr/local/include/X11R7
24907 /usr/local/include/X11R6
24908 /usr/local/include/X11R5
24909 /usr/local/include/X11R4
24913 /usr/XFree86/include/X11
24917 /usr/unsupported/include
24918 /usr/athena/include
24919 /usr/local/x11r5/include
24920 /usr/lpp/Xamples/include
24922 /usr/openwin/include
24923 /usr/openwin/share/include'
24925 if test "$ac_x_includes" = no
; then
24926 # Guess where to find include files, by looking for Xlib.h.
24927 # First, try using that file with no special directory specified.
24928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24929 /* end confdefs.h. */
24930 #include <X11/Xlib.h>
24932 if ac_fn_c_try_cpp
"$LINENO"; then :
24933 # We can compile using X headers with no special include directory.
24936 for ac_dir
in $ac_x_header_dirs; do
24937 if test -r "$ac_dir/X11/Xlib.h"; then
24938 ac_x_includes
=$ac_dir
24943 rm -f conftest.err conftest.i conftest.
$ac_ext
24944 fi # $ac_x_includes = no
24946 if test "$ac_x_libraries" = no
; then
24947 # Check for the libraries.
24948 # See if we find them without any special options.
24949 # Don't add to $LIBS permanently.
24952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24953 /* end confdefs.h. */
24954 #include <X11/Xlib.h>
24963 if ac_fn_c_try_link
"$LINENO"; then :
24965 # We can link X programs with no special library path.
24969 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24971 # Don't even attempt the hair of trying to link an X program!
24972 for ac_extension
in a so sl dylib la dll
; do
24973 if test -r "$ac_dir/libX11.$ac_extension"; then
24974 ac_x_libraries
=$ac_dir
24980 rm -f core conftest.err conftest.
$ac_objext \
24981 conftest
$ac_exeext conftest.
$ac_ext
24982 fi # $ac_x_libraries = no
24984 case $ac_x_includes,$ac_x_libraries in #(
24985 no
,* | *,no
| *\'*)
24986 # Didn't find X, or a directory has "'" in its name.
24987 ac_cv_have_x
="have_x=no";; #(
24989 # Record where we found X for the cache.
24990 ac_cv_have_x
="have_x=yes\
24991 ac_x_includes='$ac_x_includes'\
24992 ac_x_libraries='$ac_x_libraries'"
24998 eval "$ac_cv_have_x"
25001 if test "$have_x" != yes; then
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25003 $as_echo "$have_x" >&6; }
25006 # If each of the values was on the command line, it overrides each guess.
25007 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
25008 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
25009 # Update the cache value to reflect the command line values.
25010 ac_cv_have_x
="have_x=yes\
25011 ac_x_includes='$x_includes'\
25012 ac_x_libraries='$x_libraries'"
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25014 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25017 if test "$no_x" = yes; then
25018 # Not all programs may use this symbol, but it does not hurt to define it.
25020 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25022 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
25024 if test -n "$x_includes"; then
25025 X_CFLAGS
="$X_CFLAGS -I$x_includes"
25028 # It would also be nice to do this for all -L options, not just this one.
25029 if test -n "$x_libraries"; then
25030 X_LIBS
="$X_LIBS -L$x_libraries"
25031 # For Solaris; some versions of Sun CC require a space after -R and
25032 # others require no space. Words are not sufficient . . . .
25033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25034 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25035 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
25036 ac_xsave_c_werror_flag
=$ac_c_werror_flag
25037 ac_c_werror_flag
=yes
25038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25039 /* end confdefs.h. */
25049 if ac_fn_c_try_link
"$LINENO"; then :
25050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25051 $as_echo "no" >&6; }
25052 X_LIBS
="$X_LIBS -R$x_libraries"
25054 LIBS
="$ac_xsave_LIBS -R $x_libraries"
25055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25056 /* end confdefs.h. */
25066 if ac_fn_c_try_link
"$LINENO"; then :
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25068 $as_echo "yes" >&6; }
25069 X_LIBS
="$X_LIBS -R $x_libraries"
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25072 $as_echo "neither works" >&6; }
25074 rm -f core conftest.err conftest.
$ac_objext \
25075 conftest
$ac_exeext conftest.
$ac_ext
25077 rm -f core conftest.err conftest.
$ac_objext \
25078 conftest
$ac_exeext conftest.
$ac_ext
25079 ac_c_werror_flag
=$ac_xsave_c_werror_flag
25080 LIBS
=$ac_xsave_LIBS
25083 # Check for system-dependent libraries X programs must link with.
25084 # Do this before checking for the system-independent R6 libraries
25085 # (-lICE), since we may need -lsocket or whatever for X linking.
25087 if test "$ISC" = yes; then
25088 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
25090 # Martyn Johnson says this is needed for Ultrix, if the X
25091 # libraries were built with DECnet support. And Karl Berry says
25092 # the Alpha needs dnet_stub (dnet does not exist).
25093 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
25094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25095 /* end confdefs.h. */
25097 /* Override any GCC internal prototype to avoid an error.
25098 Use char because int might match the return type of a GCC
25099 builtin and then its argument prototype would still apply. */
25103 char XOpenDisplay ();
25107 return XOpenDisplay ();
25112 if ac_fn_c_try_link
"$LINENO"; then :
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25116 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25117 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
25118 $as_echo_n "(cached) " >&6
25120 ac_check_lib_save_LIBS
=$LIBS
25121 LIBS
="-ldnet $LIBS"
25122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25123 /* end confdefs.h. */
25125 /* Override any GCC internal prototype to avoid an error.
25126 Use char because int might match the return type of a GCC
25127 builtin and then its argument prototype would still apply. */
25135 return dnet_ntoa ();
25140 if ac_fn_c_try_link
"$LINENO"; then :
25141 ac_cv_lib_dnet_dnet_ntoa
=yes
25143 ac_cv_lib_dnet_dnet_ntoa
=no
25145 rm -f core conftest.err conftest.
$ac_objext \
25146 conftest
$ac_exeext conftest.
$ac_ext
25147 LIBS
=$ac_check_lib_save_LIBS
25149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25150 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25151 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
25152 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
25155 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25157 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25158 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
25159 $as_echo_n "(cached) " >&6
25161 ac_check_lib_save_LIBS
=$LIBS
25162 LIBS
="-ldnet_stub $LIBS"
25163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25164 /* end confdefs.h. */
25166 /* Override any GCC internal prototype to avoid an error.
25167 Use char because int might match the return type of a GCC
25168 builtin and then its argument prototype would still apply. */
25176 return dnet_ntoa ();
25181 if ac_fn_c_try_link
"$LINENO"; then :
25182 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
25184 ac_cv_lib_dnet_stub_dnet_ntoa
=no
25186 rm -f core conftest.err conftest.
$ac_objext \
25187 conftest
$ac_exeext conftest.
$ac_ext
25188 LIBS
=$ac_check_lib_save_LIBS
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25191 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25192 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
25193 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
25198 rm -f core conftest.err conftest.
$ac_objext \
25199 conftest
$ac_exeext conftest.
$ac_ext
25200 LIBS
="$ac_xsave_LIBS"
25202 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25203 # to get the SysV transport functions.
25204 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25206 # The nsl library prevents programs from opening the X display
25207 # on Irix 5.2, according to T.E. Dickey.
25208 # The functions gethostbyname, getservbyname, and inet_addr are
25209 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25210 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25211 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
25215 if test $ac_cv_func_gethostbyname = no
; then
25216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25217 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25218 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
25219 $as_echo_n "(cached) " >&6
25221 ac_check_lib_save_LIBS
=$LIBS
25223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25226 /* Override any GCC internal prototype to avoid an error.
25227 Use char because int might match the return type of a GCC
25228 builtin and then its argument prototype would still apply. */
25232 char gethostbyname ();
25236 return gethostbyname ();
25241 if ac_fn_c_try_link
"$LINENO"; then :
25242 ac_cv_lib_nsl_gethostbyname
=yes
25244 ac_cv_lib_nsl_gethostbyname
=no
25246 rm -f core conftest.err conftest.
$ac_objext \
25247 conftest
$ac_exeext conftest.
$ac_ext
25248 LIBS
=$ac_check_lib_save_LIBS
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25251 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25252 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
25253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
25256 if test $ac_cv_lib_nsl_gethostbyname = no
; then
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25258 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25259 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
25260 $as_echo_n "(cached) " >&6
25262 ac_check_lib_save_LIBS
=$LIBS
25264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25265 /* end confdefs.h. */
25267 /* Override any GCC internal prototype to avoid an error.
25268 Use char because int might match the return type of a GCC
25269 builtin and then its argument prototype would still apply. */
25273 char gethostbyname ();
25277 return gethostbyname ();
25282 if ac_fn_c_try_link
"$LINENO"; then :
25283 ac_cv_lib_bsd_gethostbyname
=yes
25285 ac_cv_lib_bsd_gethostbyname
=no
25287 rm -f core conftest.err conftest.
$ac_objext \
25288 conftest
$ac_exeext conftest.
$ac_ext
25289 LIBS
=$ac_check_lib_save_LIBS
25291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25292 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25293 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
25294 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
25300 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25301 # socket/setsockopt and other routines are undefined under SCO ODT
25302 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25303 # on later versions), says Simon Leinen: it contains gethostby*
25304 # variants that don't use the name server (or something). -lsocket
25305 # must be given before -lnsl if both are needed. We assume that
25306 # if connect needs -lnsl, so does gethostbyname.
25307 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
25308 if test "x$ac_cv_func_connect" = xyes
; then :
25312 if test $ac_cv_func_connect = no
; then
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25314 $as_echo_n "checking for connect in -lsocket... " >&6; }
25315 if ${ac_cv_lib_socket_connect+:} false
; then :
25316 $as_echo_n "(cached) " >&6
25318 ac_check_lib_save_LIBS
=$LIBS
25319 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
25320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25321 /* end confdefs.h. */
25323 /* Override any GCC internal prototype to avoid an error.
25324 Use char because int might match the return type of a GCC
25325 builtin and then its argument prototype would still apply. */
25338 if ac_fn_c_try_link
"$LINENO"; then :
25339 ac_cv_lib_socket_connect
=yes
25341 ac_cv_lib_socket_connect
=no
25343 rm -f core conftest.err conftest.
$ac_objext \
25344 conftest
$ac_exeext conftest.
$ac_ext
25345 LIBS
=$ac_check_lib_save_LIBS
25347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25348 $as_echo "$ac_cv_lib_socket_connect" >&6; }
25349 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
25350 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
25355 # Guillermo Gomez says -lposix is necessary on A/UX.
25356 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
25357 if test "x$ac_cv_func_remove" = xyes
; then :
25361 if test $ac_cv_func_remove = no
; then
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25363 $as_echo_n "checking for remove in -lposix... " >&6; }
25364 if ${ac_cv_lib_posix_remove+:} false
; then :
25365 $as_echo_n "(cached) " >&6
25367 ac_check_lib_save_LIBS
=$LIBS
25368 LIBS
="-lposix $LIBS"
25369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25370 /* end confdefs.h. */
25372 /* Override any GCC internal prototype to avoid an error.
25373 Use char because int might match the return type of a GCC
25374 builtin and then its argument prototype would still apply. */
25387 if ac_fn_c_try_link
"$LINENO"; then :
25388 ac_cv_lib_posix_remove
=yes
25390 ac_cv_lib_posix_remove
=no
25392 rm -f core conftest.err conftest.
$ac_objext \
25393 conftest
$ac_exeext conftest.
$ac_ext
25394 LIBS
=$ac_check_lib_save_LIBS
25396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25397 $as_echo "$ac_cv_lib_posix_remove" >&6; }
25398 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
25399 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
25404 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25405 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
25406 if test "x$ac_cv_func_shmat" = xyes
; then :
25410 if test $ac_cv_func_shmat = no
; then
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25412 $as_echo_n "checking for shmat in -lipc... " >&6; }
25413 if ${ac_cv_lib_ipc_shmat+:} false
; then :
25414 $as_echo_n "(cached) " >&6
25416 ac_check_lib_save_LIBS
=$LIBS
25418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25419 /* end confdefs.h. */
25421 /* Override any GCC internal prototype to avoid an error.
25422 Use char because int might match the return type of a GCC
25423 builtin and then its argument prototype would still apply. */
25436 if ac_fn_c_try_link
"$LINENO"; then :
25437 ac_cv_lib_ipc_shmat
=yes
25439 ac_cv_lib_ipc_shmat
=no
25441 rm -f core conftest.err conftest.
$ac_objext \
25442 conftest
$ac_exeext conftest.
$ac_ext
25443 LIBS
=$ac_check_lib_save_LIBS
25445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25446 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25447 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
25448 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
25454 # Check for libraries that X11R6 Xt/Xaw programs need.
25455 ac_save_LDFLAGS
=$LDFLAGS
25456 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
25457 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25458 # check for ICE first), but we must link in the order -lSM -lICE or
25459 # we get undefined symbols. So assume we have SM if we have ICE.
25460 # These have to be linked with before -lX11, unlike the other
25461 # libraries we check for below, so use a different variable.
25462 # John Interrante, Karl Berry
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25464 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25465 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
25466 $as_echo_n "(cached) " >&6
25468 ac_check_lib_save_LIBS
=$LIBS
25469 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
25470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25471 /* end confdefs.h. */
25473 /* Override any GCC internal prototype to avoid an error.
25474 Use char because int might match the return type of a GCC
25475 builtin and then its argument prototype would still apply. */
25479 char IceConnectionNumber ();
25483 return IceConnectionNumber ();
25488 if ac_fn_c_try_link
"$LINENO"; then :
25489 ac_cv_lib_ICE_IceConnectionNumber
=yes
25491 ac_cv_lib_ICE_IceConnectionNumber
=no
25493 rm -f core conftest.err conftest.
$ac_objext \
25494 conftest
$ac_exeext conftest.
$ac_ext
25495 LIBS
=$ac_check_lib_save_LIBS
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25498 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25499 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
25500 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
25503 LDFLAGS
=$ac_save_LDFLAGS
25508 if test "$no_x" = "yes"; then
25509 as_fn_error $?
"X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
25512 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
25513 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
25514 AFMINSTALL
=afminstall
25515 COMPILED_X_PROGRAM
=0
25519 if test "$wxUSE_X11" = 1; then
25520 if test "$wxUSE_NANOX" = "yes"; then
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
25522 $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
25523 if test "x$MICROWIN" = x
; then
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
25525 $as_echo "not found" >&6; }
25526 as_fn_error $?
"Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
25528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
25529 $as_echo "$MICROWIN" >&6; }
25530 $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
25535 if test "$wxUSE_UNICODE" = "yes"; then
25538 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
25539 if test -n "$ac_tool_prefix"; then
25540 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
25541 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
25542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25543 $as_echo_n "checking for $ac_word... " >&6; }
25544 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
25545 $as_echo_n "(cached) " >&6
25547 case $PKG_CONFIG in
25549 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
25552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25553 for as_dir
in $PATH
25556 test -z "$as_dir" && as_dir
=.
25557 for ac_exec_ext
in '' $ac_executable_extensions; do
25558 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25559 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25570 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
25571 if test -n "$PKG_CONFIG"; then
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
25573 $as_echo "$PKG_CONFIG" >&6; }
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25576 $as_echo "no" >&6; }
25581 if test -z "$ac_cv_path_PKG_CONFIG"; then
25582 ac_pt_PKG_CONFIG
=$PKG_CONFIG
25583 # Extract the first word of "pkg-config", so it can be a program name with args.
25584 set dummy pkg
-config; ac_word
=$2
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25586 $as_echo_n "checking for $ac_word... " >&6; }
25587 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
25588 $as_echo_n "(cached) " >&6
25590 case $ac_pt_PKG_CONFIG in
25592 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
25595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
25596 for as_dir
in $PATH
25599 test -z "$as_dir" && as_dir
=.
25600 for ac_exec_ext
in '' $ac_executable_extensions; do
25601 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
25602 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
25603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25613 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
25614 if test -n "$ac_pt_PKG_CONFIG"; then
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
25616 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25619 $as_echo "no" >&6; }
25622 if test "x$ac_pt_PKG_CONFIG" = x
; then
25625 case $cross_compiling:$ac_tool_warned in
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
25628 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
25629 ac_tool_warned
=yes ;;
25631 PKG_CONFIG
=$ac_pt_PKG_CONFIG
25634 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
25638 if test -n "$PKG_CONFIG"; then
25639 _pkg_min_version
=0.9.0
25640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
25641 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
25642 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
25643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25644 $as_echo "yes" >&6; }
25646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25647 $as_echo "no" >&6; }
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOX" >&5
25656 $as_echo_n "checking for PANGOX... " >&6; }
25658 if test -n "$PKG_CONFIG"; then
25659 if test -n "$PANGOX_CFLAGS"; then
25660 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
25662 if test -n "$PKG_CONFIG" && \
25663 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25664 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25667 test $ac_status = 0; }; then
25668 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
25676 if test -n "$PKG_CONFIG"; then
25677 if test -n "$PANGOX_LIBS"; then
25678 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
25680 if test -n "$PKG_CONFIG" && \
25681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangox\""; } >&5
25682 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
25684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25685 test $ac_status = 0; }; then
25686 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
25697 if test $pkg_failed = yes; then
25699 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25700 _pkg_short_errors_supported
=yes
25702 _pkg_short_errors_supported
=no
25704 if test $_pkg_short_errors_supported = yes; then
25705 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
25707 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
25709 # Put the nasty error message in config.log where it belongs
25710 echo "$PANGOX_PKG_ERRORS" >&5
25713 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25716 elif test $pkg_failed = untried
; then
25718 as_fn_error $?
"pangox library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
25722 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
25723 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25725 $as_echo "yes" >&6; }
25727 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
25728 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
25729 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
25735 $as_echo_n "checking for PANGOFT2... " >&6; }
25737 if test -n "$PKG_CONFIG"; then
25738 if test -n "$PANGOFT2_CFLAGS"; then
25739 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
25741 if test -n "$PKG_CONFIG" && \
25742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25743 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25746 test $ac_status = 0; }; then
25747 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
25755 if test -n "$PKG_CONFIG"; then
25756 if test -n "$PANGOFT2_LIBS"; then
25757 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
25759 if test -n "$PKG_CONFIG" && \
25760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
25761 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
25763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25764 test $ac_status = 0; }; then
25765 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
25776 if test $pkg_failed = yes; then
25778 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25779 _pkg_short_errors_supported
=yes
25781 _pkg_short_errors_supported
=no
25783 if test $_pkg_short_errors_supported = yes; then
25784 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
25786 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
25788 # Put the nasty error message in config.log where it belongs
25789 echo "$PANGOFT2_PKG_ERRORS" >&5
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25793 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25794 wxUSE_PRINTING_ARCHITECTURE
="no"
25797 elif test $pkg_failed = untried
; then
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
25800 $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
25801 wxUSE_PRINTING_ARCHITECTURE
="no"
25805 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
25806 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
25807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25808 $as_echo "yes" >&6; }
25810 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
25811 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
25812 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
25818 $as_echo_n "checking for PANGOXFT... " >&6; }
25820 if test -n "$PKG_CONFIG"; then
25821 if test -n "$PANGOXFT_CFLAGS"; then
25822 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
25824 if test -n "$PKG_CONFIG" && \
25825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25826 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25829 test $ac_status = 0; }; then
25830 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
25838 if test -n "$PKG_CONFIG"; then
25839 if test -n "$PANGOXFT_LIBS"; then
25840 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
25842 if test -n "$PKG_CONFIG" && \
25843 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
25844 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
25846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25847 test $ac_status = 0; }; then
25848 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
25859 if test $pkg_failed = yes; then
25861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25862 _pkg_short_errors_supported
=yes
25864 _pkg_short_errors_supported
=no
25866 if test $_pkg_short_errors_supported = yes; then
25867 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
25869 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
25871 # Put the nasty error message in config.log where it belongs
25872 echo "$PANGOXFT_PKG_ERRORS" >&5
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25876 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25879 elif test $pkg_failed = untried
; then
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
25882 $as_echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
25886 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
25887 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
25888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25889 $as_echo "yes" >&6; }
25891 $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
25893 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
25894 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
25895 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
25899 LIBS
="$LIBS $PANGOX_LIBS"
25900 for ac_func
in pango_font_family_is_monospace
25902 ac_fn_c_check_func
"$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
25903 if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes
; then :
25904 cat >>confdefs.h
<<_ACEOF
25905 #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
25914 wxUSE_UNIVERSAL
="yes"
25916 if test "$wxUSE_NANOX" = "yes"; then
25917 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
25918 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"
25919 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
25921 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
25928 if test "$wxUSE_MOTIF" = 1; then
25929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
25930 $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
25933 for ac_dir
in $SEARCH_INCLUDE /usr
/include
25935 if test -f "$ac_dir/Xm/Xm.h"; then
25936 ac_find_includes
=$ac_dir
25941 if test "$ac_find_includes" != "" ; then
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
25943 $as_echo "found in $ac_find_includes" >&6; }
25945 if test "x$ac_find_includes" = "x/usr/include"; then
25946 ac_path_to_include
=""
25948 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
25950 if test $result = 0; then
25951 ac_path_to_include
=""
25953 ac_path_to_include
=" -I$ac_find_includes"
25957 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
25959 save_CFLAGS
=$CFLAGS
25960 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
25962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25963 /* end confdefs.h. */
25972 version = xmUseVersion;
25978 if ac_fn_c_try_compile
"$LINENO"; then :
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
25981 $as_echo "found in default search path" >&6; }
25982 COMPILED_X_PROGRAM
=1
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25987 $as_echo "no" >&6; }
25988 as_fn_error $?
"please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
25992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25994 CFLAGS
=$save_CFLAGS
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
25999 $as_echo_n "checking for Motif/Lesstif library... " >&6; }
26002 for ac_dir
in $SEARCH_LIB
26004 for ac_extension
in a so sl dylib dll.a
; do
26005 if test -f "$ac_dir/libXm.$ac_extension"; then
26006 ac_find_libraries
=$ac_dir
26013 if test "x$ac_find_libraries" != "x" ; then
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26015 $as_echo "found in $ac_find_libraries" >&6; }
26018 if test "$ac_find_libraries" = "default location"; then
26021 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26023 if test $result = 0; then
26026 ac_path_to_link
=" -L$ac_find_libraries"
26030 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26032 save_CFLAGS
=$CFLAGS
26033 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26035 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
26037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26038 /* end confdefs.h. */
26047 version = xmUseVersion;
26053 if ac_fn_c_try_link
"$LINENO"; then :
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
26056 $as_echo "found in default search path" >&6; }
26057 COMPILED_X_PROGRAM
=1
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26062 $as_echo "no" >&6; }
26063 as_fn_error $?
"please set LDFLAGS to contain the location of libXm" "$LINENO" 5
26067 rm -f core conftest.err conftest.
$ac_objext \
26068 conftest
$ac_exeext conftest.
$ac_ext
26070 CFLAGS
=$save_CFLAGS
26074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
26075 $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
26079 for libp
in "" " -lXp"; do
26080 if test "$libs_found" = 0; then
26081 for libsm_ice
in "" " -lSM -lICE"; do
26082 if test "$libs_found" = 0; then
26084 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
26085 save_CFLAGS
=$CFLAGS
26086 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26089 /* end confdefs.h. */
26092 #include <Xm/List.h>
26098 XmString string = NULL;
26101 XmListAddItem(w, string, position);
26107 if ac_fn_c_try_link
"$LINENO"; then :
26110 libsm_ice_link
="$libsm_ice"
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
26112 $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
26116 rm -f core conftest.err conftest.
$ac_objext \
26117 conftest
$ac_exeext conftest.
$ac_ext
26120 CFLAGS
=$save_CFLAGS
26126 if test "$libs_found" = 0; then
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
26128 $as_echo "can't find the right libraries" >&6; }
26129 as_fn_error $?
"can't link a simple motif program" "$LINENO" 5
26132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
26133 $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
26134 if ${ac_cv_lib_Sgm_SgCreateList+:} false
; then :
26135 $as_echo_n "(cached) " >&6
26137 ac_check_lib_save_LIBS
=$LIBS
26139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26140 /* end confdefs.h. */
26142 /* Override any GCC internal prototype to avoid an error.
26143 Use char because int might match the return type of a GCC
26144 builtin and then its argument prototype would still apply. */
26148 char SgCreateList ();
26152 return SgCreateList ();
26157 if ac_fn_c_try_link
"$LINENO"; then :
26158 ac_cv_lib_Sgm_SgCreateList
=yes
26160 ac_cv_lib_Sgm_SgCreateList
=no
26162 rm -f core conftest.err conftest.
$ac_objext \
26163 conftest
$ac_exeext conftest.
$ac_ext
26164 LIBS
=$ac_check_lib_save_LIBS
26166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
26167 $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
26168 if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes
; then :
26169 libsgm_link
=" -lSgm"
26173 save_CFLAGS
=$CFLAGS
26174 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
26177 $as_echo_n "checking for Motif 2... " >&6; }
26178 if ${wx_cv_lib_motif2+:} false
; then :
26179 $as_echo_n "(cached) " >&6
26181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26182 /* end confdefs.h. */
26190 #if XmVersion < 2000
26198 if ac_fn_c_try_compile
"$LINENO"; then :
26199 wx_cv_lib_motif2
="yes"
26201 wx_cv_lib_motif2
="no"
26203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
26206 $as_echo "$wx_cv_lib_motif2" >&6; }
26207 if test "$wx_cv_lib_motif2" = "yes"; then
26208 $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
26211 $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
26216 $as_echo_n "checking whether Motif is Lesstif... " >&6; }
26217 if ${wx_cv_lib_lesstif+:} false
; then :
26218 $as_echo_n "(cached) " >&6
26220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26221 /* end confdefs.h. */
26229 #if !defined(LesstifVersion) || LesstifVersion <= 0
26237 if ac_fn_c_try_compile
"$LINENO"; then :
26238 wx_cv_lib_lesstif
="yes"
26240 wx_cv_lib_lesstif
="no"
26242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
26246 $as_echo "$wx_cv_lib_lesstif" >&6; }
26247 if test "$wx_cv_lib_lesstif" = "yes"; then
26248 $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
26251 $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
26255 CFLAGS
=$save_CFLAGS
26257 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
26262 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
26263 if test "$wxUSE_LIBXPM" = "sys"; then
26264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
26265 $as_echo_n "checking for Xpm library... " >&6; }
26268 for ac_dir
in $SEARCH_LIB
26270 for ac_extension
in a so sl dylib dll.a
; do
26271 if test -f "$ac_dir/libXpm.$ac_extension"; then
26272 ac_find_libraries
=$ac_dir
26278 if test "$ac_find_libraries" != "" ; then
26280 if test "$ac_find_libraries" = "default location"; then
26283 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
26285 if test $result = 0; then
26288 ac_path_to_link
=" -L$ac_find_libraries"
26292 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
26294 $as_echo "found in $ac_find_libraries" >&6; }
26296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
26297 $as_echo_n "checking for X11/xpm.h... " >&6; }
26298 if ${wx_cv_x11_xpm_h+:} false
; then :
26299 $as_echo_n "(cached) " >&6
26302 save_CFLAGS
=$CFLAGS
26303 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26306 /* end confdefs.h. */
26308 #include <X11/xpm.h>
26315 version = XpmLibraryVersion();
26321 if ac_fn_c_try_compile
"$LINENO"; then :
26322 wx_cv_x11_xpm_h
=yes
26327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26329 CFLAGS
=$save_CFLAGS
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
26334 $as_echo "$wx_cv_x11_xpm_h" >&6; }
26336 if test $wx_cv_x11_xpm_h = "yes"; then
26337 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
26338 $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
26341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
26342 $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
26349 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
26350 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
26351 $as_echo_n "(cached) " >&6
26353 ac_check_lib_save_LIBS
=$LIBS
26354 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
26355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26356 /* end confdefs.h. */
26358 /* Override any GCC internal prototype to avoid an error.
26359 Use char because int might match the return type of a GCC
26360 builtin and then its argument prototype would still apply. */
26364 char XShapeQueryExtension ();
26368 return XShapeQueryExtension ();
26373 if ac_fn_c_try_link
"$LINENO"; then :
26374 ac_cv_lib_Xext_XShapeQueryExtension
=yes
26376 ac_cv_lib_Xext_XShapeQueryExtension
=no
26378 rm -f core conftest.err conftest.
$ac_objext \
26379 conftest
$ac_exeext conftest.
$ac_ext
26380 LIBS
=$ac_check_lib_save_LIBS
26382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
26383 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
26384 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
26386 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
26392 if test "$wxHAVE_XEXT_LIB" = 1; then
26393 save_CFLAGS
="$CFLAGS"
26394 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
26397 $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
26398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26399 /* end confdefs.h. */
26401 #include <X11/Xlib.h>
26402 #include <X11/extensions/shape.h>
26408 int dummy1, dummy2;
26409 XShapeQueryExtension((Display*)NULL,
26410 (int*)NULL, (int*)NULL);
26416 if ac_fn_c_try_compile
"$LINENO"; then :
26418 $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
26420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
26421 $as_echo "found" >&6; }
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
26426 $as_echo "not found" >&6; }
26429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26430 CFLAGS
="$save_CFLAGS"
26435 if test "$wxUSE_OSX_CARBON" = 1; then
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
26437 $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
26438 if test "$GCC" = yes; then
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
26440 $as_echo "gcc" >&6; }
26441 CPPFLAGS_PASCAL
="-fpascal-strings"
26442 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
26444 $as_echo "xlc" >&6; }
26445 CPPFLAGS_PASCAL
="-qmacpstr"
26447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
26448 $as_echo "none" >&6; }
26451 if test "x$wxUSE_UNIX" = "xyes"; then
26452 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
26454 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
26458 GUIDIST
=OSX_CARBON_DIST
26459 WXBASEPORT
="_carbon"
26461 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26464 if test "$wxUSE_OSX_COCOA" = 1; then
26466 GUIDIST
=OSX_COCOA_DIST
26468 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
26471 if test "$wxUSE_OSX_IPHONE" = 1; then
26475 if test "$wxUSE_OLD_COCOA" = 1; then
26480 if test "$wxUSE_PM" = 1; then
26483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
26484 $as_echo_n "checking for type SPBCDATA... " >&6; }
26485 if ${wx_cv_spbcdata+:} false
; then :
26486 $as_echo_n "(cached) " >&6
26489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26490 /* end confdefs.h. */
26505 if ac_fn_c_try_compile
"$LINENO"; then :
26511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
26516 $as_echo "$wx_cv_spbcdata" >&6; }
26518 if test $wx_cv_spbcdata = "yes"; then
26519 $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
26524 if test "$TOOLKIT" = "PM" ; then
26527 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
26530 if test "$wxUSE_UNIVERSAL" = "yes"; then
26531 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
26535 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
26536 DISTDIR
="wx\$(TOOLKIT)"
26542 if test "$USE_WIN32" = 1 ; then
26546 GUIDIST
="BASE_DIST"
26552 if test "$wxUSE_GUI" = "yes"; then
26553 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
26554 for ac_header
in X
11/Xlib.h
26556 ac_fn_c_check_header_compile
"$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
26558 if test "x$ac_cv_header_X11_Xlib_h" = xyes
; then :
26559 cat >>confdefs.h
<<_ACEOF
26560 #define HAVE_X11_XLIB_H 1
26567 for ac_header
in X
11/XKBlib.h
26569 ac_fn_c_check_header_compile
"$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
26570 #if HAVE_X11_XLIB_H
26571 #include <X11/Xlib.h>
26575 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
; then :
26576 cat >>confdefs.h
<<_ACEOF
26577 #define HAVE_X11_XKBLIB_H 1
26590 if test "$wxUSE_DISPLAY" = "yes"; then
26591 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
26595 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
26598 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26599 if test -n "$ac_tool_prefix"; then
26600 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26601 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26603 $as_echo_n "checking for $ac_word... " >&6; }
26604 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26605 $as_echo_n "(cached) " >&6
26607 case $PKG_CONFIG in
26609 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26613 for as_dir
in $PATH
26616 test -z "$as_dir" && as_dir
=.
26617 for ac_exec_ext
in '' $ac_executable_extensions; do
26618 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26619 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26630 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
26631 if test -n "$PKG_CONFIG"; then
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
26633 $as_echo "$PKG_CONFIG" >&6; }
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26636 $as_echo "no" >&6; }
26641 if test -z "$ac_cv_path_PKG_CONFIG"; then
26642 ac_pt_PKG_CONFIG
=$PKG_CONFIG
26643 # Extract the first word of "pkg-config", so it can be a program name with args.
26644 set dummy pkg
-config; ac_word
=$2
26645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26646 $as_echo_n "checking for $ac_word... " >&6; }
26647 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
26648 $as_echo_n "(cached) " >&6
26650 case $ac_pt_PKG_CONFIG in
26652 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
26655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26656 for as_dir
in $PATH
26659 test -z "$as_dir" && as_dir
=.
26660 for ac_exec_ext
in '' $ac_executable_extensions; do
26661 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26662 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26673 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
26674 if test -n "$ac_pt_PKG_CONFIG"; then
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
26676 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
26678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26679 $as_echo "no" >&6; }
26682 if test "x$ac_pt_PKG_CONFIG" = x
; then
26685 case $cross_compiling:$ac_tool_warned in
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
26688 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
26689 ac_tool_warned
=yes ;;
26691 PKG_CONFIG
=$ac_pt_PKG_CONFIG
26694 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
26698 if test -n "$PKG_CONFIG"; then
26699 _pkg_min_version
=0.9.0
26700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
26701 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
26702 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26704 $as_echo "yes" >&6; }
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26707 $as_echo "no" >&6; }
26714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
26715 $as_echo_n "checking for Xinerama... " >&6; }
26717 if test -n "$PKG_CONFIG"; then
26718 if test -n "$Xinerama_CFLAGS"; then
26719 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
26721 if test -n "$PKG_CONFIG" && \
26722 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26723 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26726 test $ac_status = 0; }; then
26727 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
26735 if test -n "$PKG_CONFIG"; then
26736 if test -n "$Xinerama_LIBS"; then
26737 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
26739 if test -n "$PKG_CONFIG" && \
26740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
26741 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
26743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26744 test $ac_status = 0; }; then
26745 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
26756 if test $pkg_failed = yes; then
26758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26759 _pkg_short_errors_supported
=yes
26761 _pkg_short_errors_supported
=no
26763 if test $_pkg_short_errors_supported = yes; then
26764 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
26766 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
26768 # Put the nasty error message in config.log where it belongs
26769 echo "$Xinerama_PKG_ERRORS" >&5
26772 if test "x$ac_find_libraries" = "x"; then
26773 if test "xXineramaQueryScreens" != "x"; then
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26775 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26776 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26777 $as_echo_n "(cached) " >&6
26779 ac_check_lib_save_LIBS
=$LIBS
26780 LIBS
="-lXinerama $LIBS"
26781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26782 /* end confdefs.h. */
26784 /* Override any GCC internal prototype to avoid an error.
26785 Use char because int might match the return type of a GCC
26786 builtin and then its argument prototype would still apply. */
26790 char XineramaQueryScreens ();
26794 return XineramaQueryScreens ();
26799 if ac_fn_c_try_link
"$LINENO"; then :
26800 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26802 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26804 rm -f core conftest.err conftest.
$ac_objext \
26805 conftest
$ac_exeext conftest.
$ac_ext
26806 LIBS
=$ac_check_lib_save_LIBS
26808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26809 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26810 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26811 ac_find_libraries
="std"
26817 if test "x$ac_find_libraries" = "x"; then
26818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26819 $as_echo_n "checking elsewhere... " >&6; }
26822 for ac_dir
in $SEARCH_LIB
26824 for ac_extension
in a so sl dylib dll.a
; do
26825 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26826 ac_find_libraries
=$ac_dir
26832 if test "x$ac_find_libraries" != "x"; then
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26834 $as_echo "yes" >&6; }
26836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26837 $as_echo "no" >&6; }
26841 elif test $pkg_failed = untried
; then
26843 if test "x$ac_find_libraries" = "x"; then
26844 if test "xXineramaQueryScreens" != "x"; then
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
26846 $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
26847 if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false
; then :
26848 $as_echo_n "(cached) " >&6
26850 ac_check_lib_save_LIBS
=$LIBS
26851 LIBS
="-lXinerama $LIBS"
26852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26853 /* end confdefs.h. */
26855 /* Override any GCC internal prototype to avoid an error.
26856 Use char because int might match the return type of a GCC
26857 builtin and then its argument prototype would still apply. */
26861 char XineramaQueryScreens ();
26865 return XineramaQueryScreens ();
26870 if ac_fn_c_try_link
"$LINENO"; then :
26871 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
26873 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
26875 rm -f core conftest.err conftest.
$ac_objext \
26876 conftest
$ac_exeext conftest.
$ac_ext
26877 LIBS
=$ac_check_lib_save_LIBS
26879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
26880 $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
26881 if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes
; then :
26882 ac_find_libraries
="std"
26888 if test "x$ac_find_libraries" = "x"; then
26889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
26890 $as_echo_n "checking elsewhere... " >&6; }
26893 for ac_dir
in $SEARCH_LIB
26895 for ac_extension
in a so sl dylib dll.a
; do
26896 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26897 ac_find_libraries
=$ac_dir
26903 if test "x$ac_find_libraries" != "x"; then
26904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26905 $as_echo "yes" >&6; }
26907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26908 $as_echo "no" >&6; }
26913 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
26914 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
26915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26916 $as_echo "yes" >&6; }
26918 ac_find_libraries
="std"
26920 eval ac_find_cflags
=\
$Xinerama_CFLAGS
26921 eval fl_libs
=\
$Xinerama_LIBS
26923 for fl_path
in $fl_libs
26925 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
26926 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
26932 if test "$ac_find_libraries" != "" ; then
26933 if test "$ac_find_libraries" != "std" ; then
26935 if test "$ac_find_libraries" = "default location"; then
26938 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
26940 if test $result = 0; then
26943 ac_path_to_link
=" -L$ac_find_libraries"
26947 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26948 LDFLAGS
="$LDFLAGS $ac_path_to_link"
26952 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
26954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
26955 $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26958 elif test "$wxUSE_MSW" = 1; then
26959 ac_fn_c_check_header_compile
"$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
26961 if test "x$ac_cv_header_ddraw_h" = xyes
; then :
26969 if test "$wxUSE_DISPLAY" = "yes"; then
26970 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
26974 fl_pkgname
=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
26977 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
26978 if test -n "$ac_tool_prefix"; then
26979 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
26980 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26982 $as_echo_n "checking for $ac_word... " >&6; }
26983 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
26984 $as_echo_n "(cached) " >&6
26986 case $PKG_CONFIG in
26988 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
26991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
26992 for as_dir
in $PATH
26995 test -z "$as_dir" && as_dir
=.
26996 for ac_exec_ext
in '' $ac_executable_extensions; do
26997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
26998 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
26999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27009 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27010 if test -n "$PKG_CONFIG"; then
27011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27012 $as_echo "$PKG_CONFIG" >&6; }
27014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27015 $as_echo "no" >&6; }
27020 if test -z "$ac_cv_path_PKG_CONFIG"; then
27021 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27022 # Extract the first word of "pkg-config", so it can be a program name with args.
27023 set dummy pkg
-config; ac_word
=$2
27024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27025 $as_echo_n "checking for $ac_word... " >&6; }
27026 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27027 $as_echo_n "(cached) " >&6
27029 case $ac_pt_PKG_CONFIG in
27031 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27035 for as_dir
in $PATH
27038 test -z "$as_dir" && as_dir
=.
27039 for ac_exec_ext
in '' $ac_executable_extensions; do
27040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27041 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27052 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27053 if test -n "$ac_pt_PKG_CONFIG"; then
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27055 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27058 $as_echo "no" >&6; }
27061 if test "x$ac_pt_PKG_CONFIG" = x
; then
27064 case $cross_compiling:$ac_tool_warned in
27066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27068 ac_tool_warned
=yes ;;
27070 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27073 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27077 if test -n "$PKG_CONFIG"; then
27078 _pkg_min_version
=0.9.0
27079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27080 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27081 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27083 $as_echo "yes" >&6; }
27085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27086 $as_echo "no" >&6; }
27093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
27094 $as_echo_n "checking for Xxf86vm... " >&6; }
27096 if test -n "$PKG_CONFIG"; then
27097 if test -n "$Xxf86vm_CFLAGS"; then
27098 pkg_cv_Xxf86vm_CFLAGS
="$Xxf86vm_CFLAGS"
27100 if test -n "$PKG_CONFIG" && \
27101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27102 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27105 test $ac_status = 0; }; then
27106 pkg_cv_Xxf86vm_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27114 if test -n "$PKG_CONFIG"; then
27115 if test -n "$Xxf86vm_LIBS"; then
27116 pkg_cv_Xxf86vm_LIBS
="$Xxf86vm_LIBS"
27118 if test -n "$PKG_CONFIG" && \
27119 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27120 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27123 test $ac_status = 0; }; then
27124 pkg_cv_Xxf86vm_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27135 if test $pkg_failed = yes; then
27137 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27138 _pkg_short_errors_supported
=yes
27140 _pkg_short_errors_supported
=no
27142 if test $_pkg_short_errors_supported = yes; then
27143 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27145 Xxf86vm_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27147 # Put the nasty error message in config.log where it belongs
27148 echo "$Xxf86vm_PKG_ERRORS" >&5
27151 if test "x$ac_find_libraries" = "x"; then
27152 if test "xXF86VidModeQueryExtension" != "x"; then
27153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27154 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27155 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27156 $as_echo_n "(cached) " >&6
27158 ac_check_lib_save_LIBS
=$LIBS
27159 LIBS
="-lXxf86vm $LIBS"
27160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27161 /* end confdefs.h. */
27163 /* Override any GCC internal prototype to avoid an error.
27164 Use char because int might match the return type of a GCC
27165 builtin and then its argument prototype would still apply. */
27169 char XF86VidModeQueryExtension ();
27173 return XF86VidModeQueryExtension ();
27178 if ac_fn_c_try_link
"$LINENO"; then :
27179 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27181 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27183 rm -f core conftest.err conftest.
$ac_objext \
27184 conftest
$ac_exeext conftest.
$ac_ext
27185 LIBS
=$ac_check_lib_save_LIBS
27187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27188 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27189 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27190 ac_find_libraries
="std"
27196 if test "x$ac_find_libraries" = "x"; then
27197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27198 $as_echo_n "checking elsewhere... " >&6; }
27201 for ac_dir
in $SEARCH_LIB
27203 for ac_extension
in a so sl dylib dll.a
; do
27204 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27205 ac_find_libraries
=$ac_dir
27211 if test "x$ac_find_libraries" != "x"; then
27212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27213 $as_echo "yes" >&6; }
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27216 $as_echo "no" >&6; }
27220 elif test $pkg_failed = untried
; then
27222 if test "x$ac_find_libraries" = "x"; then
27223 if test "xXF86VidModeQueryExtension" != "x"; then
27224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
27225 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
27226 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
27227 $as_echo_n "(cached) " >&6
27229 ac_check_lib_save_LIBS
=$LIBS
27230 LIBS
="-lXxf86vm $LIBS"
27231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27232 /* end confdefs.h. */
27234 /* Override any GCC internal prototype to avoid an error.
27235 Use char because int might match the return type of a GCC
27236 builtin and then its argument prototype would still apply. */
27240 char XF86VidModeQueryExtension ();
27244 return XF86VidModeQueryExtension ();
27249 if ac_fn_c_try_link
"$LINENO"; then :
27250 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
27252 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
27254 rm -f core conftest.err conftest.
$ac_objext \
27255 conftest
$ac_exeext conftest.
$ac_ext
27256 LIBS
=$ac_check_lib_save_LIBS
27258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
27259 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
27260 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
27261 ac_find_libraries
="std"
27267 if test "x$ac_find_libraries" = "x"; then
27268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27269 $as_echo_n "checking elsewhere... " >&6; }
27272 for ac_dir
in $SEARCH_LIB
27274 for ac_extension
in a so sl dylib dll.a
; do
27275 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
27276 ac_find_libraries
=$ac_dir
27282 if test "x$ac_find_libraries" != "x"; then
27283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27284 $as_echo "yes" >&6; }
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27287 $as_echo "no" >&6; }
27292 Xxf86vm_CFLAGS
=$pkg_cv_Xxf86vm_CFLAGS
27293 Xxf86vm_LIBS
=$pkg_cv_Xxf86vm_LIBS
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27295 $as_echo "yes" >&6; }
27297 ac_find_libraries
="std"
27299 eval ac_find_cflags
=\
$Xxf86vm_CFLAGS
27300 eval fl_libs
=\
$Xxf86vm_LIBS
27302 for fl_path
in $fl_libs
27304 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27305 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27311 if test "$ac_find_libraries" != "" ; then
27312 for ac_header
in X
11/extensions
/xf86vmode.h
27314 ac_fn_c_check_header_compile
"$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
27315 #if HAVE_X11_XLIB_H
27316 #include <X11/Xlib.h>
27320 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
; then :
27321 cat >>confdefs.h
<<_ACEOF
27322 #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
27325 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
27335 if test "$wxUSE_DETECT_SM" = "yes"; then
27336 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
27340 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
27343 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27344 if test -n "$ac_tool_prefix"; then
27345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27346 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27348 $as_echo_n "checking for $ac_word... " >&6; }
27349 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27350 $as_echo_n "(cached) " >&6
27352 case $PKG_CONFIG in
27354 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27358 for as_dir
in $PATH
27361 test -z "$as_dir" && as_dir
=.
27362 for ac_exec_ext
in '' $ac_executable_extensions; do
27363 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27364 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27375 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27376 if test -n "$PKG_CONFIG"; then
27377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27378 $as_echo "$PKG_CONFIG" >&6; }
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27381 $as_echo "no" >&6; }
27386 if test -z "$ac_cv_path_PKG_CONFIG"; then
27387 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27388 # Extract the first word of "pkg-config", so it can be a program name with args.
27389 set dummy 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 ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27393 $as_echo_n "(cached) " >&6
27395 case $ac_pt_PKG_CONFIG in
27397 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27401 for as_dir
in $PATH
27404 test -z "$as_dir" && as_dir
=.
27405 for ac_exec_ext
in '' $ac_executable_extensions; do
27406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27407 ac_cv_path_ac_pt_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
27418 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27419 if test -n "$ac_pt_PKG_CONFIG"; then
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27421 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27424 $as_echo "no" >&6; }
27427 if test "x$ac_pt_PKG_CONFIG" = x
; then
27430 case $cross_compiling:$ac_tool_warned in
27432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27434 ac_tool_warned
=yes ;;
27436 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27439 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27443 if test -n "$PKG_CONFIG"; then
27444 _pkg_min_version
=0.9.0
27445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27446 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27447 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27449 $as_echo "yes" >&6; }
27451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27452 $as_echo "no" >&6; }
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
27460 $as_echo_n "checking for SM... " >&6; }
27462 if test -n "$PKG_CONFIG"; then
27463 if test -n "$SM_CFLAGS"; then
27464 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
27466 if test -n "$PKG_CONFIG" && \
27467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27468 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27471 test $ac_status = 0; }; then
27472 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27480 if test -n "$PKG_CONFIG"; then
27481 if test -n "$SM_LIBS"; then
27482 pkg_cv_SM_LIBS
="$SM_LIBS"
27484 if test -n "$PKG_CONFIG" && \
27485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27486 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27489 test $ac_status = 0; }; then
27490 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27501 if test $pkg_failed = yes; then
27503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27504 _pkg_short_errors_supported
=yes
27506 _pkg_short_errors_supported
=no
27508 if test $_pkg_short_errors_supported = yes; then
27509 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27511 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27513 # Put the nasty error message in config.log where it belongs
27514 echo "$SM_PKG_ERRORS" >&5
27517 if test "x$ac_find_libraries" = "x"; then
27518 if test "xSmcOpenConnection" != "x"; then
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27520 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27521 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27522 $as_echo_n "(cached) " >&6
27524 ac_check_lib_save_LIBS
=$LIBS
27526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27527 /* end confdefs.h. */
27529 /* Override any GCC internal prototype to avoid an error.
27530 Use char because int might match the return type of a GCC
27531 builtin and then its argument prototype would still apply. */
27535 char SmcOpenConnection ();
27539 return SmcOpenConnection ();
27544 if ac_fn_c_try_link
"$LINENO"; then :
27545 ac_cv_lib_SM_SmcOpenConnection
=yes
27547 ac_cv_lib_SM_SmcOpenConnection
=no
27549 rm -f core conftest.err conftest.
$ac_objext \
27550 conftest
$ac_exeext conftest.
$ac_ext
27551 LIBS
=$ac_check_lib_save_LIBS
27553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27554 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27555 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27556 ac_find_libraries
="std"
27562 if test "x$ac_find_libraries" = "x"; then
27563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27564 $as_echo_n "checking elsewhere... " >&6; }
27567 for ac_dir
in $SEARCH_LIB
27569 for ac_extension
in a so sl dylib dll.a
; do
27570 if test -f "$ac_dir/libSM.$ac_extension"; then
27571 ac_find_libraries
=$ac_dir
27577 if test "x$ac_find_libraries" != "x"; then
27578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27579 $as_echo "yes" >&6; }
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27582 $as_echo "no" >&6; }
27586 elif test $pkg_failed = untried
; then
27588 if test "x$ac_find_libraries" = "x"; then
27589 if test "xSmcOpenConnection" != "x"; then
27590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
27591 $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
27592 if ${ac_cv_lib_SM_SmcOpenConnection+:} false
; then :
27593 $as_echo_n "(cached) " >&6
27595 ac_check_lib_save_LIBS
=$LIBS
27597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27598 /* end confdefs.h. */
27600 /* Override any GCC internal prototype to avoid an error.
27601 Use char because int might match the return type of a GCC
27602 builtin and then its argument prototype would still apply. */
27606 char SmcOpenConnection ();
27610 return SmcOpenConnection ();
27615 if ac_fn_c_try_link
"$LINENO"; then :
27616 ac_cv_lib_SM_SmcOpenConnection
=yes
27618 ac_cv_lib_SM_SmcOpenConnection
=no
27620 rm -f core conftest.err conftest.
$ac_objext \
27621 conftest
$ac_exeext conftest.
$ac_ext
27622 LIBS
=$ac_check_lib_save_LIBS
27624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
27625 $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
27626 if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes
; then :
27627 ac_find_libraries
="std"
27633 if test "x$ac_find_libraries" = "x"; then
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27635 $as_echo_n "checking elsewhere... " >&6; }
27638 for ac_dir
in $SEARCH_LIB
27640 for ac_extension
in a so sl dylib dll.a
; do
27641 if test -f "$ac_dir/libSM.$ac_extension"; then
27642 ac_find_libraries
=$ac_dir
27648 if test "x$ac_find_libraries" != "x"; then
27649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27650 $as_echo "yes" >&6; }
27652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27653 $as_echo "no" >&6; }
27658 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
27659 SM_LIBS
=$pkg_cv_SM_LIBS
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27661 $as_echo "yes" >&6; }
27663 ac_find_libraries
="std"
27665 eval ac_find_cflags
=\
$SM_CFLAGS
27666 eval fl_libs
=\
$SM_LIBS
27668 for fl_path
in $fl_libs
27670 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
27671 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
27677 if test "$ac_find_libraries" != "" ; then
27678 if test "$ac_find_libraries" != "std" ; then
27680 if test "$ac_find_libraries" = "default location"; then
27683 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
27685 if test $result = 0; then
27688 ac_path_to_link
=" -L$ac_find_libraries"
27692 if test "$ac_path_to_link" != " -L/usr/lib" ; then
27693 LDFLAGS
="$LDFLAGS $ac_path_to_link"
27696 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
27699 $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
27700 wxUSE_DETECT_SM
="no"
27703 wxUSE_DETECT_SM
="no"
27710 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
27713 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
27714 OPENGL_LIBS
="-framework OpenGL -framework AGL"
27715 elif test "$wxUSE_MSW" = 1; then
27716 OPENGL_LIBS
="-lopengl32 -lglu32"
27717 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
27719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
27720 $as_echo_n "checking for OpenGL headers... " >&6; }
27723 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
27725 if test -f "$ac_dir/GL/gl.h"; then
27726 ac_find_includes
=$ac_dir
27731 if test "$ac_find_includes" != "" ; then
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
27733 $as_echo "found in $ac_find_includes" >&6; }
27735 if test "x$ac_find_includes" = "x/usr/include"; then
27736 ac_path_to_include
=""
27738 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
27740 if test $result = 0; then
27741 ac_path_to_include
=""
27743 ac_path_to_include
=" -I$ac_find_includes"
27747 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
27750 $as_echo "not found" >&6; }
27753 ac_fn_c_check_header_compile
"$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
27755 if test "x$ac_cv_header_GL_gl_h" = xyes
; then :
27757 ac_fn_c_check_header_compile
"$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
27759 if test "x$ac_cv_header_GL_glu_h" = xyes
; then :
27766 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
27769 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
27770 if test -n "$ac_tool_prefix"; then
27771 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
27772 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
27773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27774 $as_echo_n "checking for $ac_word... " >&6; }
27775 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
27776 $as_echo_n "(cached) " >&6
27778 case $PKG_CONFIG in
27780 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
27783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27784 for as_dir
in $PATH
27787 test -z "$as_dir" && as_dir
=.
27788 for ac_exec_ext
in '' $ac_executable_extensions; do
27789 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27790 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27801 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
27802 if test -n "$PKG_CONFIG"; then
27803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
27804 $as_echo "$PKG_CONFIG" >&6; }
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27807 $as_echo "no" >&6; }
27812 if test -z "$ac_cv_path_PKG_CONFIG"; then
27813 ac_pt_PKG_CONFIG
=$PKG_CONFIG
27814 # Extract the first word of "pkg-config", so it can be a program name with args.
27815 set dummy pkg
-config; ac_word
=$2
27816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27817 $as_echo_n "checking for $ac_word... " >&6; }
27818 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
27819 $as_echo_n "(cached) " >&6
27821 case $ac_pt_PKG_CONFIG in
27823 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
27826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
27827 for as_dir
in $PATH
27830 test -z "$as_dir" && as_dir
=.
27831 for ac_exec_ext
in '' $ac_executable_extensions; do
27832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
27833 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
27834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27844 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
27845 if test -n "$ac_pt_PKG_CONFIG"; then
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
27847 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
27849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27850 $as_echo "no" >&6; }
27853 if test "x$ac_pt_PKG_CONFIG" = x
; then
27856 case $cross_compiling:$ac_tool_warned in
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
27859 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
27860 ac_tool_warned
=yes ;;
27862 PKG_CONFIG
=$ac_pt_PKG_CONFIG
27865 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
27869 if test -n "$PKG_CONFIG"; then
27870 _pkg_min_version
=0.9.0
27871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
27872 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
27873 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
27874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27875 $as_echo "yes" >&6; }
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27878 $as_echo "no" >&6; }
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
27886 $as_echo_n "checking for GL... " >&6; }
27888 if test -n "$PKG_CONFIG"; then
27889 if test -n "$GL_CFLAGS"; then
27890 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
27892 if test -n "$PKG_CONFIG" && \
27893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27894 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27897 test $ac_status = 0; }; then
27898 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
27906 if test -n "$PKG_CONFIG"; then
27907 if test -n "$GL_LIBS"; then
27908 pkg_cv_GL_LIBS
="$GL_LIBS"
27910 if test -n "$PKG_CONFIG" && \
27911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
27912 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
27914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27915 test $ac_status = 0; }; then
27916 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
27927 if test $pkg_failed = yes; then
27929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27930 _pkg_short_errors_supported
=yes
27932 _pkg_short_errors_supported
=no
27934 if test $_pkg_short_errors_supported = yes; then
27935 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
27937 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
27939 # Put the nasty error message in config.log where it belongs
27940 echo "$GL_PKG_ERRORS" >&5
27943 if test "x$ac_find_libraries" = "x"; then
27944 if test "xglBegin" != "x"; then
27945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
27946 $as_echo_n "checking for glBegin in -lGL... " >&6; }
27947 if ${ac_cv_lib_GL_glBegin+:} false
; then :
27948 $as_echo_n "(cached) " >&6
27950 ac_check_lib_save_LIBS
=$LIBS
27952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27953 /* end confdefs.h. */
27955 /* Override any GCC internal prototype to avoid an error.
27956 Use char because int might match the return type of a GCC
27957 builtin and then its argument prototype would still apply. */
27970 if ac_fn_c_try_link
"$LINENO"; then :
27971 ac_cv_lib_GL_glBegin
=yes
27973 ac_cv_lib_GL_glBegin
=no
27975 rm -f core conftest.err conftest.
$ac_objext \
27976 conftest
$ac_exeext conftest.
$ac_ext
27977 LIBS
=$ac_check_lib_save_LIBS
27979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
27980 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
27981 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
27982 ac_find_libraries
="std"
27988 if test "x$ac_find_libraries" = "x"; then
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
27990 $as_echo_n "checking elsewhere... " >&6; }
27993 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
27995 for ac_extension
in a so sl dylib dll.a
; do
27996 if test -f "$ac_dir/libGL.$ac_extension"; then
27997 ac_find_libraries
=$ac_dir
28003 if test "x$ac_find_libraries" != "x"; then
28004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28005 $as_echo "yes" >&6; }
28007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28008 $as_echo "no" >&6; }
28012 elif test $pkg_failed = untried
; then
28014 if test "x$ac_find_libraries" = "x"; then
28015 if test "xglBegin" != "x"; then
28016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
28017 $as_echo_n "checking for glBegin in -lGL... " >&6; }
28018 if ${ac_cv_lib_GL_glBegin+:} false
; then :
28019 $as_echo_n "(cached) " >&6
28021 ac_check_lib_save_LIBS
=$LIBS
28023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h. */
28026 /* Override any GCC internal prototype to avoid an error.
28027 Use char because int might match the return type of a GCC
28028 builtin and then its argument prototype would still apply. */
28041 if ac_fn_c_try_link
"$LINENO"; then :
28042 ac_cv_lib_GL_glBegin
=yes
28044 ac_cv_lib_GL_glBegin
=no
28046 rm -f core conftest.err conftest.
$ac_objext \
28047 conftest
$ac_exeext conftest.
$ac_ext
28048 LIBS
=$ac_check_lib_save_LIBS
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
28051 $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
28052 if test "x$ac_cv_lib_GL_glBegin" = xyes
; then :
28053 ac_find_libraries
="std"
28059 if test "x$ac_find_libraries" = "x"; then
28060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28061 $as_echo_n "checking elsewhere... " >&6; }
28064 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28066 for ac_extension
in a so sl dylib dll.a
; do
28067 if test -f "$ac_dir/libGL.$ac_extension"; then
28068 ac_find_libraries
=$ac_dir
28074 if test "x$ac_find_libraries" != "x"; then
28075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28076 $as_echo "yes" >&6; }
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28079 $as_echo "no" >&6; }
28084 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
28085 GL_LIBS
=$pkg_cv_GL_LIBS
28086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28087 $as_echo "yes" >&6; }
28089 ac_find_libraries
="std"
28091 eval ac_find_cflags
=\
$GL_CFLAGS
28092 eval fl_libs
=\
$GL_LIBS
28094 for fl_path
in $fl_libs
28096 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28097 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28103 if test "$ac_find_libraries" != "" ; then
28104 if test "$ac_find_libraries" != "std" ; then
28106 if test "$ac_find_libraries" = "default location"; then
28109 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28111 if test $result = 0; then
28114 ac_path_to_link
=" -L$ac_find_libraries"
28118 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28119 LDFLAGS_GL
="$ac_path_to_link"
28126 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
28129 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28130 if test -n "$ac_tool_prefix"; then
28131 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28132 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28134 $as_echo_n "checking for $ac_word... " >&6; }
28135 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28136 $as_echo_n "(cached) " >&6
28138 case $PKG_CONFIG in
28140 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28144 for as_dir
in $PATH
28147 test -z "$as_dir" && as_dir
=.
28148 for ac_exec_ext
in '' $ac_executable_extensions; do
28149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28150 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28161 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28162 if test -n "$PKG_CONFIG"; then
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28164 $as_echo "$PKG_CONFIG" >&6; }
28166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28167 $as_echo "no" >&6; }
28172 if test -z "$ac_cv_path_PKG_CONFIG"; then
28173 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28174 # Extract the first word of "pkg-config", so it can be a program name with args.
28175 set dummy pkg
-config; ac_word
=$2
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28177 $as_echo_n "checking for $ac_word... " >&6; }
28178 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28179 $as_echo_n "(cached) " >&6
28181 case $ac_pt_PKG_CONFIG in
28183 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28187 for as_dir
in $PATH
28190 test -z "$as_dir" && as_dir
=.
28191 for ac_exec_ext
in '' $ac_executable_extensions; do
28192 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28193 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28204 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28205 if test -n "$ac_pt_PKG_CONFIG"; then
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28207 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28210 $as_echo "no" >&6; }
28213 if test "x$ac_pt_PKG_CONFIG" = x
; then
28216 case $cross_compiling:$ac_tool_warned in
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28220 ac_tool_warned
=yes ;;
28222 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28225 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28229 if test -n "$PKG_CONFIG"; then
28230 _pkg_min_version
=0.9.0
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28232 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28233 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28235 $as_echo "yes" >&6; }
28237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28238 $as_echo "no" >&6; }
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
28246 $as_echo_n "checking for GLU... " >&6; }
28248 if test -n "$PKG_CONFIG"; then
28249 if test -n "$GLU_CFLAGS"; then
28250 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
28252 if test -n "$PKG_CONFIG" && \
28253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28254 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28257 test $ac_status = 0; }; then
28258 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28266 if test -n "$PKG_CONFIG"; then
28267 if test -n "$GLU_LIBS"; then
28268 pkg_cv_GLU_LIBS
="$GLU_LIBS"
28270 if test -n "$PKG_CONFIG" && \
28271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28272 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28275 test $ac_status = 0; }; then
28276 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28287 if test $pkg_failed = yes; then
28289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28290 _pkg_short_errors_supported
=yes
28292 _pkg_short_errors_supported
=no
28294 if test $_pkg_short_errors_supported = yes; then
28295 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28297 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28299 # Put the nasty error message in config.log where it belongs
28300 echo "$GLU_PKG_ERRORS" >&5
28303 if test "x$ac_find_libraries" = "x"; then
28304 if test "xgluBeginCurve" != "x"; then
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28306 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28307 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28308 $as_echo_n "(cached) " >&6
28310 ac_check_lib_save_LIBS
=$LIBS
28312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28315 /* Override any GCC internal prototype to avoid an error.
28316 Use char because int might match the return type of a GCC
28317 builtin and then its argument prototype would still apply. */
28321 char gluBeginCurve ();
28325 return gluBeginCurve ();
28330 if ac_fn_c_try_link
"$LINENO"; then :
28331 ac_cv_lib_GLU_gluBeginCurve
=yes
28333 ac_cv_lib_GLU_gluBeginCurve
=no
28335 rm -f core conftest.err conftest.
$ac_objext \
28336 conftest
$ac_exeext conftest.
$ac_ext
28337 LIBS
=$ac_check_lib_save_LIBS
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28340 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28341 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28342 ac_find_libraries
="std"
28348 if test "x$ac_find_libraries" = "x"; then
28349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28350 $as_echo_n "checking elsewhere... " >&6; }
28353 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28355 for ac_extension
in a so sl dylib dll.a
; do
28356 if test -f "$ac_dir/libGLU.$ac_extension"; then
28357 ac_find_libraries
=$ac_dir
28363 if test "x$ac_find_libraries" != "x"; then
28364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28365 $as_echo "yes" >&6; }
28367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28368 $as_echo "no" >&6; }
28372 elif test $pkg_failed = untried
; then
28374 if test "x$ac_find_libraries" = "x"; then
28375 if test "xgluBeginCurve" != "x"; then
28376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
28377 $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
28378 if ${ac_cv_lib_GLU_gluBeginCurve+:} false
; then :
28379 $as_echo_n "(cached) " >&6
28381 ac_check_lib_save_LIBS
=$LIBS
28383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28384 /* end confdefs.h. */
28386 /* Override any GCC internal prototype to avoid an error.
28387 Use char because int might match the return type of a GCC
28388 builtin and then its argument prototype would still apply. */
28392 char gluBeginCurve ();
28396 return gluBeginCurve ();
28401 if ac_fn_c_try_link
"$LINENO"; then :
28402 ac_cv_lib_GLU_gluBeginCurve
=yes
28404 ac_cv_lib_GLU_gluBeginCurve
=no
28406 rm -f core conftest.err conftest.
$ac_objext \
28407 conftest
$ac_exeext conftest.
$ac_ext
28408 LIBS
=$ac_check_lib_save_LIBS
28410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
28411 $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
28412 if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes
; then :
28413 ac_find_libraries
="std"
28419 if test "x$ac_find_libraries" = "x"; then
28420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28421 $as_echo_n "checking elsewhere... " >&6; }
28424 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28426 for ac_extension
in a so sl dylib dll.a
; do
28427 if test -f "$ac_dir/libGLU.$ac_extension"; then
28428 ac_find_libraries
=$ac_dir
28434 if test "x$ac_find_libraries" != "x"; then
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28436 $as_echo "yes" >&6; }
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28439 $as_echo "no" >&6; }
28444 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
28445 GLU_LIBS
=$pkg_cv_GLU_LIBS
28446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28447 $as_echo "yes" >&6; }
28449 ac_find_libraries
="std"
28451 eval ac_find_cflags
=\
$GLU_CFLAGS
28452 eval fl_libs
=\
$GLU_LIBS
28454 for fl_path
in $fl_libs
28456 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28457 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28463 if test "$ac_find_libraries" != "" ; then
28464 if test "$ac_find_libraries" != "std" ; then
28466 if test "$ac_find_libraries" = "default location"; then
28469 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28471 if test $result = 0; then
28474 ac_path_to_link
=" -L$ac_find_libraries"
28478 if test "$ac_path_to_link" != " -L/usr/lib" -a \
28479 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
28480 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28485 OPENGL_LIBS
="-lGL -lGLU"
28489 if test "$found_gl" != 1; then
28493 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
28496 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28497 if test -n "$ac_tool_prefix"; then
28498 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28499 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28501 $as_echo_n "checking for $ac_word... " >&6; }
28502 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
28503 $as_echo_n "(cached) " >&6
28505 case $PKG_CONFIG in
28507 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
28510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28511 for as_dir
in $PATH
28514 test -z "$as_dir" && as_dir
=.
28515 for ac_exec_ext
in '' $ac_executable_extensions; do
28516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28517 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28528 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
28529 if test -n "$PKG_CONFIG"; then
28530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
28531 $as_echo "$PKG_CONFIG" >&6; }
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28534 $as_echo "no" >&6; }
28539 if test -z "$ac_cv_path_PKG_CONFIG"; then
28540 ac_pt_PKG_CONFIG
=$PKG_CONFIG
28541 # Extract the first word of "pkg-config", so it can be a program name with args.
28542 set dummy pkg
-config; ac_word
=$2
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28544 $as_echo_n "checking for $ac_word... " >&6; }
28545 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
28546 $as_echo_n "(cached) " >&6
28548 case $ac_pt_PKG_CONFIG in
28550 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
28554 for as_dir
in $PATH
28557 test -z "$as_dir" && as_dir
=.
28558 for ac_exec_ext
in '' $ac_executable_extensions; do
28559 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
28560 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
28561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28571 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
28572 if test -n "$ac_pt_PKG_CONFIG"; then
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
28574 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
28576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28577 $as_echo "no" >&6; }
28580 if test "x$ac_pt_PKG_CONFIG" = x
; then
28583 case $cross_compiling:$ac_tool_warned in
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28587 ac_tool_warned
=yes ;;
28589 PKG_CONFIG
=$ac_pt_PKG_CONFIG
28592 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
28596 if test -n "$PKG_CONFIG"; then
28597 _pkg_min_version
=0.9.0
28598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
28599 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
28600 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28602 $as_echo "yes" >&6; }
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28605 $as_echo "no" >&6; }
28612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
28613 $as_echo_n "checking for MesaGL... " >&6; }
28615 if test -n "$PKG_CONFIG"; then
28616 if test -n "$MesaGL_CFLAGS"; then
28617 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
28619 if test -n "$PKG_CONFIG" && \
28620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28621 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28624 test $ac_status = 0; }; then
28625 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
28633 if test -n "$PKG_CONFIG"; then
28634 if test -n "$MesaGL_LIBS"; then
28635 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
28637 if test -n "$PKG_CONFIG" && \
28638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
28639 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
28641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28642 test $ac_status = 0; }; then
28643 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
28654 if test $pkg_failed = yes; then
28656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28657 _pkg_short_errors_supported
=yes
28659 _pkg_short_errors_supported
=no
28661 if test $_pkg_short_errors_supported = yes; then
28662 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
28664 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
28666 # Put the nasty error message in config.log where it belongs
28667 echo "$MesaGL_PKG_ERRORS" >&5
28670 if test "x$ac_find_libraries" = "x"; then
28671 if test "xglEnable" != "x"; then
28672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28673 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28674 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28675 $as_echo_n "(cached) " >&6
28677 ac_check_lib_save_LIBS
=$LIBS
28678 LIBS
="-lMesaGL $LIBS"
28679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28682 /* Override any GCC internal prototype to avoid an error.
28683 Use char because int might match the return type of a GCC
28684 builtin and then its argument prototype would still apply. */
28692 return glEnable ();
28697 if ac_fn_c_try_link
"$LINENO"; then :
28698 ac_cv_lib_MesaGL_glEnable
=yes
28700 ac_cv_lib_MesaGL_glEnable
=no
28702 rm -f core conftest.err conftest.
$ac_objext \
28703 conftest
$ac_exeext conftest.
$ac_ext
28704 LIBS
=$ac_check_lib_save_LIBS
28706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28707 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28708 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28709 ac_find_libraries
="std"
28715 if test "x$ac_find_libraries" = "x"; then
28716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28717 $as_echo_n "checking elsewhere... " >&6; }
28720 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28722 for ac_extension
in a so sl dylib dll.a
; do
28723 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28724 ac_find_libraries
=$ac_dir
28730 if test "x$ac_find_libraries" != "x"; then
28731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28732 $as_echo "yes" >&6; }
28734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28735 $as_echo "no" >&6; }
28739 elif test $pkg_failed = untried
; then
28741 if test "x$ac_find_libraries" = "x"; then
28742 if test "xglEnable" != "x"; then
28743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
28744 $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
28745 if ${ac_cv_lib_MesaGL_glEnable+:} false
; then :
28746 $as_echo_n "(cached) " >&6
28748 ac_check_lib_save_LIBS
=$LIBS
28749 LIBS
="-lMesaGL $LIBS"
28750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28751 /* end confdefs.h. */
28753 /* Override any GCC internal prototype to avoid an error.
28754 Use char because int might match the return type of a GCC
28755 builtin and then its argument prototype would still apply. */
28763 return glEnable ();
28768 if ac_fn_c_try_link
"$LINENO"; then :
28769 ac_cv_lib_MesaGL_glEnable
=yes
28771 ac_cv_lib_MesaGL_glEnable
=no
28773 rm -f core conftest.err conftest.
$ac_objext \
28774 conftest
$ac_exeext conftest.
$ac_ext
28775 LIBS
=$ac_check_lib_save_LIBS
28777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
28778 $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
28779 if test "x$ac_cv_lib_MesaGL_glEnable" = xyes
; then :
28780 ac_find_libraries
="std"
28786 if test "x$ac_find_libraries" = "x"; then
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
28788 $as_echo_n "checking elsewhere... " >&6; }
28791 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
28793 for ac_extension
in a so sl dylib dll.a
; do
28794 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
28795 ac_find_libraries
=$ac_dir
28801 if test "x$ac_find_libraries" != "x"; then
28802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28803 $as_echo "yes" >&6; }
28805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28806 $as_echo "no" >&6; }
28811 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
28812 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
28813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28814 $as_echo "yes" >&6; }
28816 ac_find_libraries
="std"
28818 eval ac_find_cflags
=\
$MesaGL_CFLAGS
28819 eval fl_libs
=\
$MesaGL_LIBS
28821 for fl_path
in $fl_libs
28823 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
28824 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
28830 if test "$ac_find_libraries" != "" ; then
28831 if test "$ac_find_libraries" != "std" ; then
28833 if test "$ac_find_libraries" = "default location"; then
28836 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
28838 if test $result = 0; then
28841 ac_path_to_link
=" -L$ac_find_libraries"
28845 if test "$ac_path_to_link" != " -L/usr/lib" ; then
28846 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
28849 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
28861 if test "x$OPENGL_LIBS" = "x"; then
28862 if test "$wxUSE_OPENGL" = "yes"; then
28863 as_fn_error $?
"OpenGL libraries not available" "$LINENO" 5
28865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
28866 $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
28873 $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
28877 if test "$wxUSE_OPENGL" = "auto"; then
28881 if test "$wxUSE_OPENGL" = "yes"; then
28883 $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
28885 $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
28887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
28892 if test -n "$TOOLKIT" ; then
28893 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
28898 if test "$wxUSE_SHARED" = "yes"; then
28902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
28903 $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
28908 if test "$wxUSE_SHARED" = "yes"; then
28912 *-*-cygwin* | *-*-mingw* )
28913 wx_cv_version_script
=no
28917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
28918 $as_echo_n "checking if the linker accepts --version-script... " >&6; }
28919 if ${wx_cv_version_script+:} false
; then :
28920 $as_echo_n "(cached) " >&6
28923 echo "VER_1 { *; };" >conftest.sym
28924 echo "int main() { return 0; }" >conftest.cpp
28927 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28928 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
28929 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28930 (eval $ac_try) 2>&5
28932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28933 test $ac_status = 0; }; } ; then
28934 if test -s conftest.stderr
; then
28935 wx_cv_version_script
=no
28937 wx_cv_version_script
=yes
28940 wx_cv_version_script
=no
28943 if test $wx_cv_version_script = yes
28945 echo "struct B { virtual ~B() { } }; \
28946 struct D : public B { }; \
28947 void F() { D d; }" > conftest.cpp
28950 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28951 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
28952 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28953 (eval $ac_try) 2>&5
28955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28956 test $ac_status = 0; }; } &&
28958 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28959 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
28960 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28961 (eval $ac_try) 2>&5
28963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28964 test $ac_status = 0; }; }
28967 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
28968 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
28969 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
28970 (eval $ac_try) 2>&5
28972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28973 test $ac_status = 0; }; }
28975 wx_cv_version_script
=yes
28977 wx_cv_version_script
=no
28982 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
28983 rm -f conftest1.output conftest2.output conftest3.output
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
28987 $as_echo "$wx_cv_version_script" >&6; }
28989 if test $wx_cv_version_script = yes ; then
28990 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
28996 if test "$wxUSE_VISIBILITY" != "no"; then
28999 if test -n "$GCC"; then
29000 CFLAGS_VISIBILITY
="-fvisibility=hidden"
29001 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
29003 $as_echo_n "checking for symbols visibility support... " >&6; }
29004 if ${wx_cv_cc_visibility+:} false
; then :
29005 $as_echo_n "(cached) " >&6
29008 wx_save_CXXFLAGS
="$CXXFLAGS"
29009 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29011 ac_cpp
='$CXXCPP $CPPFLAGS'
29012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29017 /* end confdefs.h. */
29019 /* we need gcc >= 4.0, older versions with visibility support
29020 didn't have class visibility: */
29021 #if defined(__GNUC__) && __GNUC__ < 4
29022 error this gcc is too old;
29025 /* visibility only makes sense for ELF shared libs: */
29026 #if !defined(__ELF__) && !defined(__APPLE__)
29027 error this platform has no visibility;
29030 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
29031 #if defined(__clang__)
29032 clang compiler is still broken w.r.t. visibility;
29035 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
29036 extern __attribute__((__visibility__("default"))) int exportedvar;
29037 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
29038 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
29039 class __attribute__((__visibility__("default"))) Foo {
29051 if ac_fn_cxx_try_compile
"$LINENO"; then :
29052 wx_cv_cc_visibility
=yes
29054 wx_cv_cc_visibility
=no
29056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29058 ac_cpp
='$CPP $CPPFLAGS'
29059 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29060 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29061 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29063 CXXFLAGS
="$wx_save_CXXFLAGS"
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
29067 $as_echo "$wx_cv_cc_visibility" >&6; }
29068 if test $wx_cv_cc_visibility = yes; then
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
29070 $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
29071 if ${wx_cv_cc_broken_libstdcxx_visibility+:} false
; then :
29072 $as_echo_n "(cached) " >&6
29075 wx_save_CXXFLAGS
="$CXXFLAGS"
29076 wx_save_LDFLAGS
="$LDFLAGS"
29077 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
29078 LDFLAGS
="$LDFLAGS -shared -fPIC"
29080 ac_cpp
='$CXXCPP $CPPFLAGS'
29081 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29082 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29083 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29086 /* end confdefs.h. */
29094 std::string s("hello");
29101 if ac_fn_cxx_try_link
"$LINENO"; then :
29102 wx_cv_cc_broken_libstdcxx_visibility
=no
29104 wx_cv_cc_broken_libstdcxx_visibility
=yes
29106 rm -f core conftest.err conftest.
$ac_objext \
29107 conftest
$ac_exeext conftest.
$ac_ext
29109 ac_cpp
='$CPP $CPPFLAGS'
29110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29114 CXXFLAGS
="$wx_save_CXXFLAGS"
29115 LDFLAGS
="$wx_save_LDFLAGS"
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
29119 $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
29121 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
29123 $as_echo_n "checking whether we can work around it... " >&6; }
29124 if ${wx_cv_cc_visibility_workaround+:} false
; then :
29125 $as_echo_n "(cached) " >&6
29129 ac_cpp
='$CXXCPP $CPPFLAGS'
29130 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29131 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29132 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29135 /* end confdefs.h. */
29137 #pragma GCC visibility push(default)
29139 #pragma GCC visibility pop
29145 std::string s("hello");
29152 if ac_fn_cxx_try_link
"$LINENO"; then :
29153 wx_cv_cc_visibility_workaround
=no
29155 wx_cv_cc_visibility_workaround
=yes
29157 rm -f core conftest.err conftest.
$ac_objext \
29158 conftest
$ac_exeext conftest.
$ac_ext
29160 ac_cpp
='$CPP $CPPFLAGS'
29161 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29162 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29163 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
29169 $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
29171 if test $wx_cv_cc_visibility_workaround = no
; then
29172 wx_cv_cc_visibility
=no
29177 if test $wx_cv_cc_visibility = yes; then
29178 $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
29180 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
29181 $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
29185 CFLAGS_VISIBILITY
=""
29186 CXXFLAGS_VISIBILITY
=""
29194 if test "x$SUNCXX" = xyes
; then
29195 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
29196 WXCONFIG_RPATH
="-R\$libdir"
29199 *-*-linux* | *-*-gnu* )
29200 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29201 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29206 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
29208 saveLdflags
="$LDFLAGS"
29209 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
29210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
29211 $as_echo_n "checking if the linker accepts -rpath... " >&6; }
29212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29213 /* end confdefs.h. */
29223 if ac_fn_c_try_link
"$LINENO"; then :
29225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29226 $as_echo "yes" >&6; }
29227 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
29228 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29233 $as_echo "no" >&6; }
29234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
29235 $as_echo_n "checking if the linker accepts -R... " >&6; }
29236 LDFLAGS
="$saveLdflags -Wl,-R,/"
29237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29238 /* end confdefs.h. */
29248 if ac_fn_c_try_link
"$LINENO"; then :
29250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29251 $as_echo "yes" >&6; }
29252 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
29253 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
29257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29258 $as_echo "no" >&6; }
29261 rm -f core conftest.err conftest.
$ac_objext \
29262 conftest
$ac_exeext conftest.
$ac_ext
29265 rm -f core conftest.err conftest.
$ac_objext \
29266 conftest
$ac_exeext conftest.
$ac_ext
29267 LDFLAGS
="$saveLdflags"
29271 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
29272 if test "$install_name_tool" -a -x "$install_name_tool"; then
29273 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
29274 cat <<EOF >change-install-names
29276 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
29277 for i in \${libnames} ; do
29278 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
29279 for dep in \${libnames} ; do
29280 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
29284 chmod +x change
-install-names
29285 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
29288 HEADER_PAD_OPTION
="-headerpad_max_install_names"
29291 *-*-cygwin* | *-*-mingw32* )
29295 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
29296 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
29302 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
29304 if test $wxUSE_RPATH = "no"; then
29305 SAMPLES_RPATH_FLAG
=''
29306 DYLIB_PATH_POSTLINK
=''
29314 config_linkage_component
="-static"
29321 lib_unicode_suffix
=
29323 if test "$wxUSE_UNICODE" = "yes"; then
29324 lib_unicode_suffix
=u
29325 WX_CHARTYPE
="unicode"
29329 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
29330 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
29333 if test "$wxUSE_DEBUG_INFO" = "yes"; then
29337 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
29339 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
29341 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
29344 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
29345 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29347 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29349 if test "${TOOLKIT_DIR}" = "os2"; then
29350 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29352 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
29357 if test "$wxUSE_OLD_COCOA" = 1; then
29360 ac_cpp
='$CPP $CPPFLAGS'
29361 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29362 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29363 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
29368 $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
29369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29370 /* end confdefs.h. */
29371 #include <AppKit/NSEvent.h>
29372 #include <CoreFoundation/CoreFoundation.h>
29382 if ac_fn_c_try_compile
"$LINENO"; then :
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29384 $as_echo "no" >&6; }
29386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29387 $as_echo "yes" >&6; }
29388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
29389 $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
29390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29391 /* end confdefs.h. */
29392 #define __Point__ 1
29393 #include <AppKit/NSEvent.h>
29394 #include <CoreFoundation/CoreFoundation.h>
29404 if ac_fn_c_try_compile
"$LINENO"; then :
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29406 $as_echo "yes" >&6; }
29407 $as_echo "#define __Point__ 1" >>confdefs.h
29411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
29412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
29414 See \`config.log' for more details" "$LINENO" 5; }
29417 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29422 ac_cpp
='$CPP $CPPFLAGS'
29423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29430 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
29431 if test "x$ac_cv_type_mode_t" = xyes
; then :
29435 cat >>confdefs.h
<<_ACEOF
29441 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
29442 if test "x$ac_cv_type_off_t" = xyes
; then :
29446 cat >>confdefs.h
<<_ACEOF
29447 #define off_t long int
29452 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
29453 if test "x$ac_cv_type_pid_t" = xyes
; then :
29457 cat >>confdefs.h
<<_ACEOF
29463 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
29464 if test "x$ac_cv_type_size_t" = xyes
; then :
29468 cat >>confdefs.h
<<_ACEOF
29469 #define size_t unsigned int
29475 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
29476 if test "x$ac_cv_type_ssize_t" = xyes
; then :
29478 cat >>confdefs.h
<<_ACEOF
29479 #define HAVE_SSIZE_T 1
29487 ac_cpp
='$CXXCPP $CPPFLAGS'
29488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
29492 $as_echo_n "checking if size_t is unsigned int... " >&6; }
29493 if ${wx_cv_size_t_is_uint+:} false
; then :
29494 $as_echo_n "(cached) " >&6
29497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29498 /* end confdefs.h. */
29499 #include <stddef.h>
29506 struct Foo { void foo(size_t); void foo(unsigned int); };
29514 if ac_fn_cxx_try_compile
"$LINENO"; then :
29515 wx_cv_size_t_is_uint
=no
29517 wx_cv_size_t_is_uint
=yes
29520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
29525 $as_echo "$wx_cv_size_t_is_uint" >&6; }
29527 if test "$wx_cv_size_t_is_uint" = "yes"; then
29528 $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
29531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
29532 $as_echo_n "checking if size_t is unsigned long... " >&6; }
29533 if ${wx_cv_size_t_is_ulong+:} false
; then :
29534 $as_echo_n "(cached) " >&6
29536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29537 /* end confdefs.h. */
29538 #include <stddef.h>
29545 struct Foo { void foo(size_t); void foo(unsigned long); };
29553 if ac_fn_cxx_try_compile
"$LINENO"; then :
29554 wx_cv_size_t_is_ulong
=no
29556 wx_cv_size_t_is_ulong
=yes
29559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
29563 $as_echo "$wx_cv_size_t_is_ulong" >&6; }
29565 if test "$wx_cv_size_t_is_ulong" = "yes"; then
29566 $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
29571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
29572 $as_echo_n "checking if wchar_t is separate type... " >&6; }
29573 if ${wx_cv_wchar_t_is_separate_type+:} false
; then :
29574 $as_echo_n "(cached) " >&6
29576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29577 /* end confdefs.h. */
29585 struct Foo { void foo(wchar_t);
29586 void foo(unsigned short);
29587 void foo(unsigned int);
29588 void foo(unsigned long); };
29596 if ac_fn_cxx_try_compile
"$LINENO"; then :
29597 wx_cv_wchar_t_is_separate_type
=yes
29599 wx_cv_wchar_t_is_separate_type
=no
29602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
29606 $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
29608 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
29609 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
29612 $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
29617 ac_cpp
='$CPP $CPPFLAGS'
29618 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
29624 $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
29625 if ${wx_cv_struct_pw_gecos+:} false
; then :
29626 $as_echo_n "(cached) " >&6
29629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29630 /* end confdefs.h. */
29644 if ac_fn_c_try_compile
"$LINENO"; then :
29646 wx_cv_struct_pw_gecos
=yes
29650 wx_cv_struct_pw_gecos
=no
29654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
29659 $as_echo "$wx_cv_struct_pw_gecos" >&6; }
29661 if test "$wx_cv_struct_pw_gecos" = "yes"; then
29662 $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
29669 for ac_func
in wcslen
29671 ac_fn_c_check_func
"$LINENO" "wcslen" "ac_cv_func_wcslen"
29672 if test "x$ac_cv_func_wcslen" = xyes
; then :
29673 cat >>confdefs.h
<<_ACEOF
29674 #define HAVE_WCSLEN 1
29681 if test "$WCSLEN_FOUND" = 0; then
29682 if test "$TOOLKIT" = "MSW"; then
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
29684 $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
29685 if ${ac_cv_lib_msvcrt_wcslen+:} false
; then :
29686 $as_echo_n "(cached) " >&6
29688 ac_check_lib_save_LIBS
=$LIBS
29689 LIBS
="-lmsvcrt $LIBS"
29690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29691 /* end confdefs.h. */
29693 /* Override any GCC internal prototype to avoid an error.
29694 Use char because int might match the return type of a GCC
29695 builtin and then its argument prototype would still apply. */
29708 if ac_fn_c_try_link
"$LINENO"; then :
29709 ac_cv_lib_msvcrt_wcslen
=yes
29711 ac_cv_lib_msvcrt_wcslen
=no
29713 rm -f core conftest.err conftest.
$ac_objext \
29714 conftest
$ac_exeext conftest.
$ac_ext
29715 LIBS
=$ac_check_lib_save_LIBS
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
29718 $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
29719 if test "x$ac_cv_lib_msvcrt_wcslen" = xyes
; then :
29724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
29725 $as_echo_n "checking for wcslen in -lw... " >&6; }
29726 if ${ac_cv_lib_w_wcslen+:} false
; then :
29727 $as_echo_n "(cached) " >&6
29729 ac_check_lib_save_LIBS
=$LIBS
29731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29732 /* end confdefs.h. */
29734 /* Override any GCC internal prototype to avoid an error.
29735 Use char because int might match the return type of a GCC
29736 builtin and then its argument prototype would still apply. */
29749 if ac_fn_c_try_link
"$LINENO"; then :
29750 ac_cv_lib_w_wcslen
=yes
29752 ac_cv_lib_w_wcslen
=no
29754 rm -f core conftest.err conftest.
$ac_objext \
29755 conftest
$ac_exeext conftest.
$ac_ext
29756 LIBS
=$ac_check_lib_save_LIBS
29758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
29759 $as_echo "$ac_cv_lib_w_wcslen" >&6; }
29760 if test "x$ac_cv_lib_w_wcslen" = xyes
; then :
29770 if test "$WCSLEN_FOUND" = 1; then
29771 $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
29775 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
29777 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29778 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29779 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29780 cat >>confdefs.h
<<_ACEOF
29781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29788 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
29789 CPPFLAGS
="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
29792 ac_fn_c_check_type
"$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
29794 if test "x$ac_cv_type_mbstate_t" = xyes
; then :
29796 cat >>confdefs.h
<<_ACEOF
29797 #define HAVE_MBSTATE_T 1
29800 for ac_func
in wcsrtombs
29802 ac_fn_c_check_func
"$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
29803 if test "x$ac_cv_func_wcsrtombs" = xyes
; then :
29804 cat >>confdefs.h
<<_ACEOF
29805 #define HAVE_WCSRTOMBS 1
29814 for ac_func
in snprintf vsnprintf vsscanf
29816 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29817 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29818 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29819 cat >>confdefs.h
<<_ACEOF
29820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29828 ac_cpp
='$CXXCPP $CPPFLAGS'
29829 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29830 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29831 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29833 if test "$ac_cv_func_vsnprintf" = "yes"; then
29834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
29835 $as_echo_n "checking for vsnprintf declaration... " >&6; }
29836 if ${wx_cv_func_vsnprintf_decl+:} false
; then :
29837 $as_echo_n "(cached) " >&6
29840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29841 /* end confdefs.h. */
29844 #include <stdarg.h>
29852 vsnprintf(buf, 10u, "%s", ap);
29858 if ac_fn_cxx_try_compile
"$LINENO"; then :
29859 wx_cv_func_vsnprintf_decl
=yes
29861 wx_cv_func_vsnprintf_decl
=no
29864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
29869 $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
29871 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
29872 $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
29875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
29876 $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
29877 if ${wx_cv_func_broken_vsnprintf_decl+:} false
; then :
29878 $as_echo_n "(cached) " >&6
29881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29882 /* end confdefs.h. */
29885 #include <stdarg.h>
29887 #if __MSL__ >= 0x6000
29889 using namespace std;
29899 const char *fmt = "%s";
29900 vsnprintf(buf, 10u, fmt, ap);
29906 if ac_fn_cxx_try_compile
"$LINENO"; then :
29907 wx_cv_func_broken_vsnprintf_decl
=no
29909 wx_cv_func_broken_vsnprintf_decl
=yes
29912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
29917 $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
29919 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
29920 $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
29926 if test "$ac_cv_func_snprintf" = "yes"; then
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
29928 $as_echo_n "checking for snprintf declaration... " >&6; }
29929 if ${wx_cv_func_snprintf_decl+:} false
; then :
29930 $as_echo_n "(cached) " >&6
29933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29934 /* end confdefs.h. */
29937 #include <stdarg.h>
29939 #if __MSL__ >= 0x6000
29941 using namespace std;
29950 snprintf(buf, 10u, "%s", "wx");
29956 if ac_fn_cxx_try_compile
"$LINENO"; then :
29957 wx_cv_func_snprintf_decl
=yes
29959 wx_cv_func_snprintf_decl
=no
29962 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
29967 $as_echo "$wx_cv_func_snprintf_decl" >&6; }
29969 if test "$wx_cv_func_snprintf_decl" = "yes"; then
29970 $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
29974 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
29976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
29977 $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
29978 if ${wx_cv_func_snprintf_pos_params+:} false
; then :
29979 $as_echo_n "(cached) " >&6
29982 if test "$cross_compiling" = yes; then :
29984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
29985 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
29986 $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
29987 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
29988 wx_cv_func_snprintf_pos_params
=no
29992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29993 /* end confdefs.h. */
30000 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
30001 if (strcmp ("2 3 1", buffer) == 0)
30007 if ac_fn_cxx_try_run
"$LINENO"; then :
30008 wx_cv_func_snprintf_pos_params
=no
30010 wx_cv_func_snprintf_pos_params
=yes
30012 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30013 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
30020 $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
30022 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
30023 $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
30029 if test "$ac_cv_func_vsscanf" = "yes"; then
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
30031 $as_echo_n "checking for vsscanf declaration... " >&6; }
30032 if ${wx_cv_func_vsscanf_decl+:} false
; then :
30033 $as_echo_n "(cached) " >&6
30036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30037 /* end confdefs.h. */
30040 #include <stdarg.h>
30042 #if __MSL__ >= 0x6000
30044 using namespace std;
30054 vsscanf(buf, "%s", args);
30060 if ac_fn_cxx_try_compile
"$LINENO"; then :
30061 wx_cv_func_vsscanf_decl
=yes
30063 wx_cv_func_vsscanf_decl
=no
30066 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
30071 $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
30073 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
30074 $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
30079 ac_cpp
='$CPP $CPPFLAGS'
30080 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30081 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30082 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30085 if test "$wxUSE_UNICODE" = yes; then
30087 wchar_headers
="#include <stdio.h>
30088 #include <wchar.h>"
30091 for ac_header
in widec.h
30093 ac_fn_c_check_header_compile
"$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
30095 if test "x$ac_cv_header_widec_h" = xyes
; then :
30096 cat >>confdefs.h
<<_ACEOF
30097 #define HAVE_WIDEC_H 1
30104 if test "$ac_cv_header_widec_h" = "yes"; then
30105 wchar_headers
="$wchar_headers
30106 #include <widec.h>"
30111 for wx_func
in putws fputws wprintf vswprintf vswscanf
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30114 $as_echo_n "checking for $wx_func... " >&6; }
30115 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30116 $as_echo_n "(cached) " >&6
30119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30120 /* end confdefs.h. */
30124 $ac_includes_default
30140 if ac_fn_c_try_link
"$LINENO"; then :
30141 eval wx_cv_func_
$wx_func=yes
30143 eval wx_cv_func_
$wx_func=no
30145 rm -f core conftest.err conftest.
$ac_objext \
30146 conftest
$ac_exeext conftest.
$ac_ext
30149 eval ac_res
=\
$wx_cv_func_$wx_func
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30151 $as_echo "$ac_res" >&6; }
30153 if eval test \
$wx_cv_func_$wx_func = yes
30155 cat >>confdefs.h
<<_ACEOF
30156 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
30168 $as_echo_n "checking for _vsnwprintf... " >&6; }
30169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30170 /* end confdefs.h. */
30180 if ac_fn_c_try_compile
"$LINENO"; then :
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30182 $as_echo "yes" >&6; }
30183 $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
30186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30187 $as_echo "no" >&6; }
30189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext;
30192 if test "$wxUSE_FILE" = "yes"; then
30194 for wx_func
in fsync
30196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30197 $as_echo_n "checking for $wx_func... " >&6; }
30198 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30199 $as_echo_n "(cached) " >&6
30202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30203 /* end confdefs.h. */
30207 $ac_includes_default
30223 if ac_fn_c_try_link
"$LINENO"; then :
30224 eval wx_cv_func_
$wx_func=yes
30226 eval wx_cv_func_
$wx_func=no
30228 rm -f core conftest.err conftest.
$ac_objext \
30229 conftest
$ac_exeext conftest.
$ac_ext
30232 eval ac_res
=\
$wx_cv_func_$wx_func
30233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30234 $as_echo "$ac_res" >&6; }
30236 if eval test \
$wx_cv_func_$wx_func = yes
30238 cat >>confdefs.h
<<_ACEOF
30239 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30252 ac_cpp
='$CXXCPP $CPPFLAGS'
30253 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30258 for wx_func
in round
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
30261 $as_echo_n "checking for $wx_func... " >&6; }
30262 if eval \
${wx_cv_func_$wx_func+:} false
; then :
30263 $as_echo_n "(cached) " >&6
30266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30267 /* end confdefs.h. */
30271 $ac_includes_default
30287 if ac_fn_cxx_try_link
"$LINENO"; then :
30288 eval wx_cv_func_
$wx_func=yes
30290 eval wx_cv_func_
$wx_func=no
30292 rm -f core conftest.err conftest.
$ac_objext \
30293 conftest
$ac_exeext conftest.
$ac_ext
30296 eval ac_res
=\
$wx_cv_func_$wx_func
30297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30298 $as_echo "$ac_res" >&6; }
30300 if eval test \
$wx_cv_func_$wx_func = yes
30302 cat >>confdefs.h
<<_ACEOF
30303 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
30314 ac_cpp
='$CPP $CPPFLAGS'
30315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30320 if test "$TOOLKIT" != "MSW"; then
30322 if test "$wxUSE_LIBICONV" != "no" ; then
30326 # Check whether --with-libiconv-prefix was given.
30327 if test "${with_libiconv_prefix+set}" = set; then :
30328 withval
=$with_libiconv_prefix;
30329 for dir
in `echo "$withval" | tr : ' '`; do
30330 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
30331 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
30337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
30338 $as_echo_n "checking for iconv... " >&6; }
30339 if ${am_cv_func_iconv+:} false
; then :
30340 $as_echo_n "(cached) " >&6
30343 am_cv_func_iconv
="no, consider installing GNU libiconv"
30345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30346 /* end confdefs.h. */
30347 #include <stdlib.h>
30352 iconv_t cd = iconv_open("","");
30353 iconv(cd,NULL,NULL,NULL,NULL);
30359 if ac_fn_c_try_link
"$LINENO"; then :
30360 am_cv_func_iconv
=yes
30362 rm -f core conftest.err conftest.
$ac_objext \
30363 conftest
$ac_exeext conftest.
$ac_ext
30364 if test "$am_cv_func_iconv" != yes; then
30365 am_save_LIBS
="$LIBS"
30366 LIBS
="$LIBS -liconv"
30367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30368 /* end confdefs.h. */
30369 #include <stdlib.h>
30374 iconv_t cd = iconv_open("","");
30375 iconv(cd,NULL,NULL,NULL,NULL);
30381 if ac_fn_c_try_link
"$LINENO"; then :
30382 am_cv_lib_iconv
=yes
30383 am_cv_func_iconv
=yes
30385 rm -f core conftest.err conftest.
$ac_objext \
30386 conftest
$ac_exeext conftest.
$ac_ext
30387 LIBS
="$am_save_LIBS"
30391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
30392 $as_echo "$am_cv_func_iconv" >&6; }
30393 if test "$am_cv_func_iconv" = yes; then
30395 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
30398 $as_echo_n "checking if iconv needs const... " >&6; }
30399 if ${wx_cv_func_iconv_const+:} false
; then :
30400 $as_echo_n "(cached) " >&6
30402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30403 /* end confdefs.h. */
30405 #include <stdlib.h>
30411 #if defined(__STDC__) || defined(__cplusplus)
30412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
30425 if ac_fn_c_try_compile
"$LINENO"; then :
30426 wx_cv_func_iconv_const
="no"
30428 wx_cv_func_iconv_const
="yes"
30431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
30435 $as_echo "$wx_cv_func_iconv_const" >&6; }
30438 if test "x$wx_cv_func_iconv_const" = "xyes"; then
30439 iconv_const
="const"
30443 cat >>confdefs.h
<<_ACEOF
30444 #define ICONV_CONST $iconv_const
30449 if test "$am_cv_lib_iconv" = yes; then
30454 LIBS
="$LIBICONV $LIBS"
30457 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30458 for ac_func
in sigaction
30460 ac_fn_c_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
30461 if test "x$ac_cv_func_sigaction" = xyes
; then :
30462 cat >>confdefs.h
<<_ACEOF
30463 #define HAVE_SIGACTION 1
30470 if test "$ac_cv_func_sigaction" = "no"; then
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
30472 $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
30473 wxUSE_ON_FATAL_EXCEPTION
=no
30476 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
30478 $as_echo_n "checking for sa_handler type... " >&6; }
30479 if ${wx_cv_type_sa_handler+:} false
; then :
30480 $as_echo_n "(cached) " >&6
30484 ac_cpp
='$CXXCPP $CPPFLAGS'
30485 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30490 /* end confdefs.h. */
30491 #include <signal.h>
30496 extern void testSigHandler(int);
30498 struct sigaction sa;
30499 sa.sa_handler = testSigHandler;
30505 if ac_fn_cxx_try_compile
"$LINENO"; then :
30507 wx_cv_type_sa_handler
=int
30511 wx_cv_type_sa_handler
=void
30514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30516 ac_cpp
='$CPP $CPPFLAGS'
30517 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
30524 $as_echo "$wx_cv_type_sa_handler" >&6; }
30526 cat >>confdefs.h
<<_ACEOF
30527 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
30533 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
30534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
30535 $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
30536 if ${wx_cv_func_backtrace+:} false
; then :
30537 $as_echo_n "(cached) " >&6
30540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
30541 $as_echo_n "checking for library containing backtrace... " >&6; }
30542 if ${ac_cv_search_backtrace+:} false
; then :
30543 $as_echo_n "(cached) " >&6
30545 ac_func_search_save_LIBS
=$LIBS
30546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30547 /* end confdefs.h. */
30549 /* Override any GCC internal prototype to avoid an error.
30550 Use char because int might match the return type of a GCC
30551 builtin and then its argument prototype would still apply. */
30559 return backtrace ();
30564 for ac_lib
in '' execinfo
; do
30565 if test -z "$ac_lib"; then
30566 ac_res
="none required"
30569 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
30571 if ac_fn_c_try_link
"$LINENO"; then :
30572 ac_cv_search_backtrace
=$ac_res
30574 rm -f core conftest.err conftest.
$ac_objext \
30576 if ${ac_cv_search_backtrace+:} false
; then :
30580 if ${ac_cv_search_backtrace+:} false
; then :
30583 ac_cv_search_backtrace
=no
30585 rm conftest.
$ac_ext
30586 LIBS
=$ac_func_search_save_LIBS
30588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
30589 $as_echo "$ac_cv_search_backtrace" >&6; }
30590 ac_res
=$ac_cv_search_backtrace
30591 if test "$ac_res" != no
; then :
30592 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
30595 ac_cpp
='$CXXCPP $CPPFLAGS'
30596 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <execinfo.h>
30609 backtrace(trace, 1);
30610 messages = backtrace_symbols(trace, 1);
30616 if ac_fn_cxx_try_link
"$LINENO"; then :
30617 wx_cv_func_backtrace
=yes
30619 wx_cv_func_backtrace
=no
30622 rm -f core conftest.err conftest.
$ac_objext \
30623 conftest
$ac_exeext conftest.
$ac_ext
30625 ac_cpp
='$CPP $CPPFLAGS'
30626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30632 wx_cv_func_backtrace
=no
30639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
30640 $as_echo "$wx_cv_func_backtrace" >&6; }
30642 if test "$wx_cv_func_backtrace" = "no"; then
30643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
30644 $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
30645 wxUSE_STACKWALKER
=no
30647 if test "$ac_cv_header_cxxabi_h" = "yes"; then
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
30649 $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
30650 if ${wx_cv_func_cxa_demangle+:} false
; then :
30651 $as_echo_n "(cached) " >&6
30655 ac_cpp
='$CXXCPP $CPPFLAGS'
30656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30661 /* end confdefs.h. */
30662 #include <cxxabi.h>
30668 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
30674 if ac_fn_cxx_try_link
"$LINENO"; then :
30675 wx_cv_func_cxa_demangle
=yes
30677 wx_cv_func_cxa_demangle
=no
30680 rm -f core conftest.err conftest.
$ac_objext \
30681 conftest
$ac_exeext conftest.
$ac_ext
30683 ac_cpp
='$CPP $CPPFLAGS'
30684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
30692 $as_echo "$wx_cv_func_cxa_demangle" >&6; }
30694 wx_cv_func_cxa_demangle
=no
30697 if test "$wx_cv_func_cxa_demangle" = "yes"; then
30698 $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
30704 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
30705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
30706 $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
30707 wxUSE_STACKWALKER
=no
30711 for ac_func
in mkstemp mktemp
30713 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30714 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30715 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30716 cat >>confdefs.h
<<_ACEOF
30717 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
30725 $as_echo_n "checking for statfs... " >&6; }
30726 if ${wx_cv_func_statfs+:} false
; then :
30727 $as_echo_n "(cached) " >&6
30729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30730 /* end confdefs.h. */
30732 #if defined(__BSD__)
30733 #include <sys/param.h>
30734 #include <sys/mount.h>
30736 #include <sys/vfs.h>
30754 if ac_fn_c_try_compile
"$LINENO"; then :
30755 wx_cv_func_statfs
=yes
30757 wx_cv_func_statfs
=no
30760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
30764 $as_echo "$wx_cv_func_statfs" >&6; }
30766 if test "$wx_cv_func_statfs" = "yes"; then
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
30768 $as_echo_n "checking for statfs declaration... " >&6; }
30769 if ${wx_cv_func_statfs_decl+:} false
; then :
30770 $as_echo_n "(cached) " >&6
30773 ac_cpp
='$CXXCPP $CPPFLAGS'
30774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30779 /* end confdefs.h. */
30781 #if defined(__BSD__)
30782 #include <sys/param.h>
30783 #include <sys/mount.h>
30785 #include <sys/vfs.h>
30799 if ac_fn_cxx_try_compile
"$LINENO"; then :
30800 wx_cv_func_statfs_decl
=yes
30802 wx_cv_func_statfs_decl
=no
30805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30807 ac_cpp
='$CPP $CPPFLAGS'
30808 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30809 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30810 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
30815 $as_echo "$wx_cv_func_statfs_decl" >&6; }
30817 if test "$wx_cv_func_statfs_decl" = "yes"; then
30818 $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
30822 wx_cv_type_statvfs_t
="struct statfs"
30823 $as_echo "#define HAVE_STATFS 1" >>confdefs.h
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
30827 $as_echo_n "checking for statvfs... " >&6; }
30828 if ${wx_cv_func_statvfs+:} false
; then :
30829 $as_echo_n "(cached) " >&6
30831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30832 /* end confdefs.h. */
30834 #include <stddef.h>
30835 #include <sys/statvfs.h>
30841 statvfs("/", NULL);
30847 if ac_fn_c_try_compile
"$LINENO"; then :
30848 wx_cv_func_statvfs
=yes
30850 wx_cv_func_statvfs
=no
30853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
30857 $as_echo "$wx_cv_func_statvfs" >&6; }
30859 if test "$wx_cv_func_statvfs" = "yes"; then
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
30861 $as_echo_n "checking for statvfs argument type... " >&6; }
30862 if ${wx_cv_type_statvfs_t+:} false
; then :
30863 $as_echo_n "(cached) " >&6
30866 ac_cpp
='$CXXCPP $CPPFLAGS'
30867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30872 /* end confdefs.h. */
30874 #include <sys/statvfs.h>
30891 if ac_fn_cxx_try_compile
"$LINENO"; then :
30892 wx_cv_type_statvfs_t
=statvfs_t
30895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30896 /* end confdefs.h. */
30898 #include <sys/statvfs.h>
30915 if ac_fn_cxx_try_compile
"$LINENO"; then :
30916 wx_cv_type_statvfs_t
="struct statvfs"
30918 wx_cv_type_statvfs_t
="unknown"
30921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30927 ac_cpp
='$CPP $CPPFLAGS'
30928 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30929 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30930 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
30935 $as_echo "$wx_cv_type_statvfs_t" >&6; }
30937 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30938 $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
30942 wx_cv_type_statvfs_t
="unknown"
30946 if test "$wx_cv_type_statvfs_t" != "unknown"; then
30947 cat >>confdefs.h
<<_ACEOF
30948 #define WX_STATFS_T $wx_cv_type_statvfs_t
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
30953 $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
30956 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30957 for ac_func
in fcntl flock
30959 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30960 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30961 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30962 cat >>confdefs.h
<<_ACEOF
30963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30970 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
30972 $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
30973 wxUSE_SNGLINST_CHECKER
=no
30977 for ac_func
in setenv putenv
30979 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30980 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30981 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30982 cat >>confdefs.h
<<_ACEOF
30983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30989 if test "$ac_cv_func_setenv" = "yes"; then
30990 for ac_func
in unsetenv
30992 ac_fn_c_check_func
"$LINENO" "unsetenv" "ac_cv_func_unsetenv"
30993 if test "x$ac_cv_func_unsetenv" = xyes
; then :
30994 cat >>confdefs.h
<<_ACEOF
30995 #define HAVE_UNSETENV 1
31003 HAVE_SOME_SLEEP_FUNC
=0
31004 if test "$USE_BEOS" = 1; then
31005 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
31007 HAVE_SOME_SLEEP_FUNC
=1
31010 if test "$USE_DARWIN" = 1; then
31011 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
31013 HAVE_SOME_SLEEP_FUNC
=1
31016 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
31018 for ac_func
in nanosleep
31020 ac_fn_c_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
31021 if test "x$ac_cv_func_nanosleep" = xyes
; then :
31022 cat >>confdefs.h
<<_ACEOF
31023 #define HAVE_NANOSLEEP 1
31025 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
31030 $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
31031 if ${ac_cv_lib_posix4_nanosleep+:} false
; then :
31032 $as_echo_n "(cached) " >&6
31034 ac_check_lib_save_LIBS
=$LIBS
31035 LIBS
="-lposix4 $LIBS"
31036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31037 /* end confdefs.h. */
31039 /* Override any GCC internal prototype to avoid an error.
31040 Use char because int might match the return type of a GCC
31041 builtin and then its argument prototype would still apply. */
31049 return nanosleep ();
31054 if ac_fn_c_try_link
"$LINENO"; then :
31055 ac_cv_lib_posix4_nanosleep
=yes
31057 ac_cv_lib_posix4_nanosleep
=no
31059 rm -f core conftest.err conftest.
$ac_objext \
31060 conftest
$ac_exeext conftest.
$ac_ext
31061 LIBS
=$ac_check_lib_save_LIBS
31063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
31064 $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
31065 if test "x$ac_cv_lib_posix4_nanosleep" = xyes
; then :
31067 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
31069 POSIX4_LINK
=" -lposix4"
31074 for wx_func
in usleep
31076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31077 $as_echo_n "checking for $wx_func... " >&6; }
31078 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31079 $as_echo_n "(cached) " >&6
31082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31083 /* end confdefs.h. */
31087 $ac_includes_default
31103 if ac_fn_c_try_link
"$LINENO"; then :
31104 eval wx_cv_func_
$wx_func=yes
31106 eval wx_cv_func_
$wx_func=no
31108 rm -f core conftest.err conftest.
$ac_objext \
31109 conftest
$ac_exeext conftest.
$ac_ext
31112 eval ac_res
=\
$wx_cv_func_$wx_func
31113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31114 $as_echo "$ac_res" >&6; }
31116 if eval test \
$wx_cv_func_$wx_func = yes
31118 cat >>confdefs.h
<<_ACEOF
31119 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
31126 $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
31143 for wx_func
in uname
31145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31146 $as_echo_n "checking for $wx_func... " >&6; }
31147 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31148 $as_echo_n "(cached) " >&6
31151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31152 /* end confdefs.h. */
31155 #include <sys/utsname.h>
31156 $ac_includes_default
31172 if ac_fn_c_try_link
"$LINENO"; then :
31173 eval wx_cv_func_
$wx_func=yes
31175 eval wx_cv_func_
$wx_func=no
31177 rm -f core conftest.err conftest.
$ac_objext \
31178 conftest
$ac_exeext conftest.
$ac_ext
31181 eval ac_res
=\
$wx_cv_func_$wx_func
31182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31183 $as_echo "$ac_res" >&6; }
31185 if eval test \
$wx_cv_func_$wx_func = yes
31187 cat >>confdefs.h
<<_ACEOF
31188 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31198 if test "$wx_cv_func_uname" != yes; then
31200 for wx_func
in gethostname
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31203 $as_echo_n "checking for $wx_func... " >&6; }
31204 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31205 $as_echo_n "(cached) " >&6
31208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31209 /* end confdefs.h. */
31213 $ac_includes_default
31229 if ac_fn_c_try_link
"$LINENO"; then :
31230 eval wx_cv_func_
$wx_func=yes
31232 eval wx_cv_func_
$wx_func=no
31234 rm -f core conftest.err conftest.
$ac_objext \
31235 conftest
$ac_exeext conftest.
$ac_ext
31238 eval ac_res
=\
$wx_cv_func_$wx_func
31239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31240 $as_echo "$ac_res" >&6; }
31242 if eval test \
$wx_cv_func_$wx_func = yes
31244 cat >>confdefs.h
<<_ACEOF
31245 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31258 for wx_func
in strtok_r
31260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31261 $as_echo_n "checking for $wx_func... " >&6; }
31262 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31263 $as_echo_n "(cached) " >&6
31266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31267 /* end confdefs.h. */
31271 $ac_includes_default
31287 if ac_fn_c_try_link
"$LINENO"; then :
31288 eval wx_cv_func_
$wx_func=yes
31290 eval wx_cv_func_
$wx_func=no
31292 rm -f core conftest.err conftest.
$ac_objext \
31293 conftest
$ac_exeext conftest.
$ac_ext
31296 eval ac_res
=\
$wx_cv_func_$wx_func
31297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31298 $as_echo "$ac_res" >&6; }
31300 if eval test \
$wx_cv_func_$wx_func = yes
31302 cat >>confdefs.h
<<_ACEOF
31303 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31315 for ac_func
in inet_addr
31317 ac_fn_c_check_func
"$LINENO" "inet_addr" "ac_cv_func_inet_addr"
31318 if test "x$ac_cv_func_inet_addr" = xyes
; then :
31319 cat >>confdefs.h
<<_ACEOF
31320 #define HAVE_INET_ADDR 1
31322 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
31327 $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
31328 if ${ac_cv_lib_nsl_inet_addr+:} false
; then :
31329 $as_echo_n "(cached) " >&6
31331 ac_check_lib_save_LIBS
=$LIBS
31333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31334 /* end confdefs.h. */
31336 /* Override any GCC internal prototype to avoid an error.
31337 Use char because int might match the return type of a GCC
31338 builtin and then its argument prototype would still apply. */
31346 return inet_addr ();
31351 if ac_fn_c_try_link
"$LINENO"; then :
31352 ac_cv_lib_nsl_inet_addr
=yes
31354 ac_cv_lib_nsl_inet_addr
=no
31356 rm -f core conftest.err conftest.
$ac_objext \
31357 conftest
$ac_exeext conftest.
$ac_ext
31358 LIBS
=$ac_check_lib_save_LIBS
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
31361 $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
31362 if test "x$ac_cv_lib_nsl_inet_addr" = xyes
; then :
31366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
31367 $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
31368 if ${ac_cv_lib_resolv_inet_addr+:} false
; then :
31369 $as_echo_n "(cached) " >&6
31371 ac_check_lib_save_LIBS
=$LIBS
31372 LIBS
="-lresolv $LIBS"
31373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31374 /* end confdefs.h. */
31376 /* Override any GCC internal prototype to avoid an error.
31377 Use char because int might match the return type of a GCC
31378 builtin and then its argument prototype would still apply. */
31386 return inet_addr ();
31391 if ac_fn_c_try_link
"$LINENO"; then :
31392 ac_cv_lib_resolv_inet_addr
=yes
31394 ac_cv_lib_resolv_inet_addr
=no
31396 rm -f core conftest.err conftest.
$ac_objext \
31397 conftest
$ac_exeext conftest.
$ac_ext
31398 LIBS
=$ac_check_lib_save_LIBS
31400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
31401 $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
31402 if test "x$ac_cv_lib_resolv_inet_addr" = xyes
; then :
31406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
31407 $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
31408 if ${ac_cv_lib_socket_inet_addr+:} false
; then :
31409 $as_echo_n "(cached) " >&6
31411 ac_check_lib_save_LIBS
=$LIBS
31412 LIBS
="-lsocket $LIBS"
31413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31414 /* end confdefs.h. */
31416 /* Override any GCC internal prototype to avoid an error.
31417 Use char because int might match the return type of a GCC
31418 builtin and then its argument prototype would still apply. */
31426 return inet_addr ();
31431 if ac_fn_c_try_link
"$LINENO"; then :
31432 ac_cv_lib_socket_inet_addr
=yes
31434 ac_cv_lib_socket_inet_addr
=no
31436 rm -f core conftest.err conftest.
$ac_objext \
31437 conftest
$ac_exeext conftest.
$ac_ext
31438 LIBS
=$ac_check_lib_save_LIBS
31440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
31441 $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
31442 if test "x$ac_cv_lib_socket_inet_addr" = xyes
; then :
31461 for ac_func
in inet_aton
31463 ac_fn_c_check_func
"$LINENO" "inet_aton" "ac_cv_func_inet_aton"
31464 if test "x$ac_cv_func_inet_aton" = xyes
; then :
31465 cat >>confdefs.h
<<_ACEOF
31466 #define HAVE_INET_ATON 1
31468 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31472 as_ac_Lib
=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
31473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
31474 $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
31475 if eval \
${$as_ac_Lib+:} false
; then :
31476 $as_echo_n "(cached) " >&6
31478 ac_check_lib_save_LIBS
=$LIBS
31479 LIBS
="-l$INET_LINK $LIBS"
31480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31483 /* Override any GCC internal prototype to avoid an error.
31484 Use char because int might match the return type of a GCC
31485 builtin and then its argument prototype would still apply. */
31493 return inet_aton ();
31498 if ac_fn_c_try_link
"$LINENO"; then :
31499 eval "$as_ac_Lib=yes"
31501 eval "$as_ac_Lib=no"
31503 rm -f core conftest.err conftest.
$ac_objext \
31504 conftest
$ac_exeext conftest.
$ac_ext
31505 LIBS
=$ac_check_lib_save_LIBS
31507 eval ac_res
=\$
$as_ac_Lib
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31509 $as_echo "$ac_res" >&6; }
31510 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
31511 $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
31520 if test "x$INET_LINK" != "x"; then
31521 $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
31523 INET_LINK
=" -l$INET_LINK"
31527 for wx_func
in fdopen
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31530 $as_echo_n "checking for $wx_func... " >&6; }
31531 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31532 $as_echo_n "(cached) " >&6
31535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31536 /* end confdefs.h. */
31540 $ac_includes_default
31556 if ac_fn_c_try_link
"$LINENO"; then :
31557 eval wx_cv_func_
$wx_func=yes
31559 eval wx_cv_func_
$wx_func=no
31561 rm -f core conftest.err conftest.
$ac_objext \
31562 conftest
$ac_exeext conftest.
$ac_ext
31565 eval ac_res
=\
$wx_cv_func_$wx_func
31566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31567 $as_echo "$ac_res" >&6; }
31569 if eval test \
$wx_cv_func_$wx_func = yes
31571 cat >>confdefs.h
<<_ACEOF
31572 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31583 if test "$wxUSE_TARSTREAM" = "yes"; then
31585 for wx_func
in sysconf
31587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31588 $as_echo_n "checking for $wx_func... " >&6; }
31589 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31590 $as_echo_n "(cached) " >&6
31593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31594 /* end confdefs.h. */
31598 $ac_includes_default
31614 if ac_fn_c_try_link
"$LINENO"; then :
31615 eval wx_cv_func_
$wx_func=yes
31617 eval wx_cv_func_
$wx_func=no
31619 rm -f core conftest.err conftest.
$ac_objext \
31620 conftest
$ac_exeext conftest.
$ac_ext
31623 eval ac_res
=\
$wx_cv_func_$wx_func
31624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31625 $as_echo "$ac_res" >&6; }
31627 if eval test \
$wx_cv_func_$wx_func = yes
31629 cat >>confdefs.h
<<_ACEOF
31630 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31642 for wx_func
in getpwuid_r
31644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31645 $as_echo_n "checking for $wx_func... " >&6; }
31646 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31647 $as_echo_n "(cached) " >&6
31650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31651 /* end confdefs.h. */
31658 $ac_includes_default
31668 struct passwd pw, *ppw;
31670 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
31678 if ac_fn_c_try_link
"$LINENO"; then :
31679 eval wx_cv_func_
$wx_func=yes
31681 eval wx_cv_func_
$wx_func=no
31683 rm -f core conftest.err conftest.
$ac_objext \
31684 conftest
$ac_exeext conftest.
$ac_ext
31687 eval ac_res
=\
$wx_cv_func_$wx_func
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31689 $as_echo "$ac_res" >&6; }
31691 if eval test \
$wx_cv_func_$wx_func = yes
31693 cat >>confdefs.h
<<_ACEOF
31694 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31706 for wx_func
in getgrgid_r
31708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
31709 $as_echo_n "checking for $wx_func... " >&6; }
31710 if eval \
${wx_cv_func_$wx_func+:} false
; then :
31711 $as_echo_n "(cached) " >&6
31714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31715 /* end confdefs.h. */
31722 $ac_includes_default
31732 struct group grp, *pgrp;
31734 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
31742 if ac_fn_c_try_link
"$LINENO"; then :
31743 eval wx_cv_func_
$wx_func=yes
31745 eval wx_cv_func_
$wx_func=no
31747 rm -f core conftest.err conftest.
$ac_objext \
31748 conftest
$ac_exeext conftest.
$ac_ext
31751 eval ac_res
=\
$wx_cv_func_$wx_func
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31753 $as_echo "$ac_res" >&6; }
31755 if eval test \
$wx_cv_func_$wx_func = yes
31757 cat >>confdefs.h
<<_ACEOF
31758 #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
31774 cat >confcache
<<\_ACEOF
31775 # This file is a shell script that caches the results of configure
31776 # tests run on this system so they can be shared between configure
31777 # scripts and configure runs, see configure's option --config-cache.
31778 # It is not useful on other systems. If it contains results you don't
31779 # want to keep, you may remove or edit it.
31781 # config.status only pays attention to the cache file if you give it
31782 # the --recheck option to rerun configure.
31784 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31785 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31786 # following values.
31790 # The following way of writing the cache mishandles newlines in values,
31791 # but we know of no workaround that is simple, portable, and efficient.
31792 # So, we kill variables containing newlines.
31793 # Ultrix sh set writes to stderr and can't be redirected directly,
31794 # and sets the high bit in the cache file unless we assign to the vars.
31796 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31797 eval ac_val
=\$
$ac_var
31801 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31805 _
| IFS
| as_nl
) ;; #(
31806 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
31807 *) { eval $ac_var=; unset $ac_var;} ;;
31813 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31814 *${as_nl}ac_space
=\
*)
31815 # `set' does not quote correctly, so add quotes: double-quote
31816 # substitution turns \\\\ into \\, and sed turns \\ into \.
31819 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31822 # `set' quotes correctly as required by POSIX, so do not add quotes.
31823 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31832 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31834 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31836 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31837 if test -w "$cache_file"; then
31838 if test "x$cache_file" != "x/dev/null"; then
31839 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31840 $as_echo "$as_me: updating cache $cache_file" >&6;}
31841 if test ! -f "$cache_file" || test -h "$cache_file"; then
31842 cat confcache
>"$cache_file"
31844 case $cache_file in #(
31846 mv -f confcache
"$cache_file"$$
&&
31847 mv -f "$cache_file"$$
"$cache_file" ;; #(
31849 mv -f confcache
"$cache_file" ;;
31854 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31855 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31861 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31867 if test "$wxUSE_THREADS" = "yes" ; then
31868 if test "$USE_BEOS" = 1; then
31869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
31870 $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
31875 if test "$wxUSE_THREADS" = "yes" ; then
31878 THREAD_OPTS
="-pthread"
31879 if test "x$SUNCXX" = xyes
; then
31880 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
31884 *-*-solaris2* | *-*-sunos4* )
31885 if test "x$GCC" = "xyes"; then
31886 THREAD_OPTS
="-pthreads $THREAD_OPTS"
31890 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
31892 *-*-darwin* | *-*-cygwin* )
31896 THREAD_OPTS
="pthreads"
31899 if test "x$GCC" = "xyes"; then
31900 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
31908 if test "x$GCC" = "xyes"; then
31918 if test "x$GCC" != "xyes"; then
31919 THREAD_OPTS
="-Ethread"
31926 THREAD_OPTS
="none pthread"
31930 THREAD_OPTS
="$THREAD_OPTS pthread none"
31935 for flag
in $THREAD_OPTS; do
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
31939 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
31944 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
31945 THREADS_CFLAGS
="$flag"
31949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
31950 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
31951 THREADS_LINK
="-l$flag"
31956 save_CFLAGS
="$CFLAGS"
31957 LIBS
="$THREADS_LINK $LIBS"
31958 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
31960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31961 /* end confdefs.h. */
31962 #include <pthread.h>
31966 pthread_create(0,0,0,0);
31971 if ac_fn_c_try_link
"$LINENO"; then :
31974 rm -f core conftest.err conftest.
$ac_objext \
31975 conftest
$ac_exeext conftest.
$ac_ext
31978 CFLAGS
="$save_CFLAGS"
31980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
31981 $as_echo "$THREADS_OK" >&6; }
31982 if test "x$THREADS_OK" = "xyes"; then
31990 if test "x$THREADS_OK" != "xyes"; then
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
31993 $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
31995 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
31996 WXCONFIG_LDFLAGS
="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
31997 LIBS
="$THREADS_LINK $LIBS"
31999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
32000 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
32004 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
32005 WXCONFIG_LDFLAGS
="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
32006 flag
="-D_THREAD_SAFE"
32009 flag
="-D_THREAD_SAFE"
32012 flag
="-D_REENTRANT"
32013 if test "x$GCC" != "xyes"; then
32014 flag
="$flag -D_RWSTD_MULTI_THREAD"
32017 *solaris
* | alpha
*-osf*)
32018 flag
="-D_REENTRANT"
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
32022 $as_echo "${flag}" >&6; }
32023 if test "x$flag" != xno
; then
32024 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
32027 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
32031 if test "$wxUSE_THREADS" = "yes" ; then
32032 for ac_func
in pthread_setconcurrency
32034 ac_fn_c_check_func
"$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
32035 if test "x$ac_cv_func_pthread_setconcurrency" = xyes
; then :
32036 cat >>confdefs.h
<<_ACEOF
32037 #define HAVE_PTHREAD_SETCONCURRENCY 1
32039 $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
32043 for ac_func
in thr_setconcurrency
32045 ac_fn_c_check_func
"$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
32046 if test "x$ac_cv_func_thr_setconcurrency" = xyes
; then :
32047 cat >>confdefs.h
<<_ACEOF
32048 #define HAVE_THR_SETCONCURRENCY 1
32050 $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
32053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
32054 $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
32063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
32064 $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
32065 if ${wx_cv_func_pthread_cleanup+:} false
; then :
32066 $as_echo_n "(cached) " >&6
32070 ac_cpp
='$CXXCPP $CPPFLAGS'
32071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32076 /* end confdefs.h. */
32077 #include <pthread.h>
32078 void ThreadCleanupFunc(void *p);
32085 pthread_cleanup_push(ThreadCleanupFunc, p);
32086 pthread_cleanup_pop(0);
32092 if ac_fn_cxx_try_compile
"$LINENO"; then :
32094 wx_cv_func_pthread_cleanup
=yes
32098 wx_cv_func_pthread_cleanup
=no
32102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32104 ac_cpp
='$CPP $CPPFLAGS'
32105 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
32112 $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
32113 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
32114 $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
32118 for ac_header
in sched.h
32120 ac_fn_c_check_header_compile
"$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
32122 if test "x$ac_cv_header_sched_h" = xyes
; then :
32123 cat >>confdefs.h
<<_ACEOF
32124 #define HAVE_SCHED_H 1
32131 if test "$ac_cv_header_sched_h" = "yes"; then
32132 ac_fn_c_check_func
"$LINENO" "sched_yield" "ac_cv_func_sched_yield"
32133 if test "x$ac_cv_func_sched_yield" = xyes
; then :
32134 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
32139 $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
32140 if ${ac_cv_lib_posix4_sched_yield+:} false
; then :
32141 $as_echo_n "(cached) " >&6
32143 ac_check_lib_save_LIBS
=$LIBS
32144 LIBS
="-lposix4 $LIBS"
32145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32146 /* end confdefs.h. */
32148 /* Override any GCC internal prototype to avoid an error.
32149 Use char because int might match the return type of a GCC
32150 builtin and then its argument prototype would still apply. */
32154 char sched_yield ();
32158 return sched_yield ();
32163 if ac_fn_c_try_link
"$LINENO"; then :
32164 ac_cv_lib_posix4_sched_yield
=yes
32166 ac_cv_lib_posix4_sched_yield
=no
32168 rm -f core conftest.err conftest.
$ac_objext \
32169 conftest
$ac_exeext conftest.
$ac_ext
32170 LIBS
=$ac_check_lib_save_LIBS
32172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
32173 $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
32174 if test "x$ac_cv_lib_posix4_sched_yield" = xyes
; then :
32175 $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
32176 POSIX4_LINK
=" -lposix4"
32178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
32179 $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
32190 ac_fn_c_check_func
"$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
32191 if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes
; then :
32192 ac_fn_c_check_func
"$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
32193 if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes
; then :
32194 ac_fn_c_check_func
"$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
32195 if test "x$ac_cv_func_sched_get_priority_max" = xyes
; then :
32198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
32199 $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
32200 if ${ac_cv_lib_posix4_sched_get_priority_max+:} false
; then :
32201 $as_echo_n "(cached) " >&6
32203 ac_check_lib_save_LIBS
=$LIBS
32204 LIBS
="-lposix4 $LIBS"
32205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32206 /* end confdefs.h. */
32208 /* Override any GCC internal prototype to avoid an error.
32209 Use char because int might match the return type of a GCC
32210 builtin and then its argument prototype would still apply. */
32214 char sched_get_priority_max ();
32218 return sched_get_priority_max ();
32223 if ac_fn_c_try_link
"$LINENO"; then :
32224 ac_cv_lib_posix4_sched_get_priority_max
=yes
32226 ac_cv_lib_posix4_sched_get_priority_max
=no
32228 rm -f core conftest.err conftest.
$ac_objext \
32229 conftest
$ac_exeext conftest.
$ac_ext
32230 LIBS
=$ac_check_lib_save_LIBS
32232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
32233 $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
32234 if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes
; then :
32237 POSIX4_LINK
=" -lposix4"
32251 if test "$HAVE_PRIOR_FUNCS" = 1; then
32252 $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
32255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
32256 $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
32259 ac_fn_c_check_func
"$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
32260 if test "x$ac_cv_func_pthread_cancel" = xyes
; then :
32261 $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
32265 $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
32269 ac_fn_c_check_func
"$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
32270 if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes
; then :
32271 $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
32274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
32275 $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
32279 ac_fn_c_check_func
"$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
32280 if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes
; then :
32281 $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
32287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
32288 $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
32289 if ${wx_cv_type_pthread_mutexattr_t+:} false
; then :
32290 $as_echo_n "(cached) " >&6
32293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <pthread.h>
32300 pthread_mutexattr_t attr;
32301 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32307 if ac_fn_c_try_compile
"$LINENO"; then :
32308 wx_cv_type_pthread_mutexattr_t
=yes
32310 wx_cv_type_pthread_mutexattr_t
=no
32313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
32317 $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
32319 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
32320 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
32323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
32324 $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
32325 if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false
; then :
32326 $as_echo_n "(cached) " >&6
32329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32330 /* end confdefs.h. */
32331 #include <pthread.h>
32336 pthread_mutexattr_t attr;
32337 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
32343 if ac_fn_c_try_compile
"$LINENO"; then :
32344 wx_cv_func_pthread_mutexattr_settype_decl
=yes
32346 wx_cv_func_pthread_mutexattr_settype_decl
=no
32349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
32353 $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
32354 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
32355 $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
32359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
32360 $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
32361 if ${wx_cv_type_pthread_rec_mutex_init+:} false
; then :
32362 $as_echo_n "(cached) " >&6
32365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32366 /* end confdefs.h. */
32367 #include <pthread.h>
32372 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
32378 if ac_fn_c_try_compile
"$LINENO"; then :
32380 wx_cv_type_pthread_rec_mutex_init
=yes
32384 wx_cv_type_pthread_rec_mutex_init
=no
32388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
32392 $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
32393 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
32394 $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
32398 $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
32402 if test "$wxUSE_COMPILER_TLS" = "auto"; then
32403 if test "$USE_NETBSD" = 1; then
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
32405 $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
32406 wxUSE_COMPILER_TLS
=no
32408 wxUSE_COMPILER_TLS
=yes
32412 if test "$wxUSE_COMPILER_TLS" = "yes"; then
32413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
32414 $as_echo_n "checking for __thread keyword... " >&6; }
32415 if ${wx_cv_cc___thread+:} false
; then :
32416 $as_echo_n "(cached) " >&6
32419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32420 /* end confdefs.h. */
32421 #include <pthread.h>
32426 static __thread int n = 0;
32427 static __thread int *p = 0;
32433 if ac_fn_c_try_compile
"$LINENO"; then :
32434 wx_cv_cc___thread
=yes
32436 wx_cv_cc___thread
=no
32439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
32444 $as_echo "$wx_cv_cc___thread" >&6; }
32446 if test "$wx_cv_cc___thread" = "yes"; then
32452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
32453 $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
32455 if test "x$GCC" = "xyes" ; then :
32457 if test -z "" ; then :
32459 ax_gcc_option_test
="int main()
32466 ax_gcc_option_test
=""
32470 # Dump the test program to file
32471 cat <<EOF > conftest.c
32472 $ax_gcc_option_test
32475 # Dump back the file to the log, useful for debugging purposes
32476 { ac_try
='cat conftest.c 1>&5'
32477 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32478 (eval $ac_try) 2>&5
32480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32481 test $ac_status = 0; }; }
32483 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
32484 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
32485 (eval $ac_try) 2>&5
32487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32488 test $ac_status = 0; }; } ; then :
32490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32491 $as_echo "yes" >&6; }
32493 ax_gcc_version_option
=yes
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32499 $as_echo "no" >&6; }
32501 ax_gcc_version_option
=no
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
32509 $as_echo "no gcc available" >&6; }
32513 if test "x$GXX" = "xyes"; then :
32515 if test "x$ax_gxx_version_option" != "no"; then :
32517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
32518 $as_echo_n "checking gxx version... " >&6; }
32519 if ${ax_cv_gxx_version+:} false
; then :
32520 $as_echo_n "(cached) " >&6
32523 ax_cv_gxx_version
="`$CXX -dumpversion`"
32524 if test "x$ax_cv_gxx_version" = "x"; then :
32526 ax_cv_gxx_version
=""
32531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
32532 $as_echo "$ax_cv_gxx_version" >&6; }
32533 GXX_VERSION
=$ax_cv_gxx_version
32540 if test -n "$ax_cv_gxx_version"; then
32541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
32542 $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
32543 case "$ax_cv_gxx_version" in
32545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
32546 $as_echo "no, it's broken" >&6; }
32547 wx_cv_cc___thread
=no
32550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
32551 $as_echo "yes, it works" >&6; }
32557 if test "$wx_cv_cc___thread" = "yes"; then
32558 $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
32563 if test "$ac_cv_header_cxxabi_h" = "yes"; then
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
32565 $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
32566 if ${wx_cv_type_abi_forced_unwind+:} false
; then :
32567 $as_echo_n "(cached) " >&6
32571 ac_cpp
='$CXXCPP $CPPFLAGS'
32572 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32573 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32574 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32577 /* end confdefs.h. */
32578 #include <cxxabi.h>
32583 void foo(abi::__forced_unwind&);
32589 if ac_fn_cxx_try_compile
"$LINENO"; then :
32590 wx_cv_type_abi_forced_unwind
=yes
32592 wx_cv_type_abi_forced_unwind
=no
32595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32597 ac_cpp
='$CPP $CPPFLAGS'
32598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
32606 $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
32608 wx_cv_type_abi_forced_unwind
=no
32611 if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
32612 $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
32618 if test "$wxUSE_THREADS" = "yes" ; then
32620 x86_64
-*-mingw32* )
32623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
32624 $as_echo_n "checking if compiler supports -mthreads... " >&6; }
32625 if ${wx_cv_cflags_mthread+:} false
; then :
32626 $as_echo_n "(cached) " >&6
32629 CFLAGS_OLD
="$CFLAGS"
32630 CFLAGS
="-mthreads $CFLAGS"
32631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32632 /* end confdefs.h. */
32642 if ac_fn_c_try_compile
"$LINENO"; then :
32643 wx_cv_cflags_mthread
=yes
32645 wx_cv_cflags_mthread
=no
32648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
32653 $as_echo "$wx_cv_cflags_mthread" >&6; }
32655 if test "$wx_cv_cflags_mthread" = "yes"; then
32656 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
32657 LDFLAGS
="$LDFLAGS -mthreads"
32659 CFLAGS
="$CFLAGS_OLD"
32663 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
32664 LDFLAGS
="$LDFLAGS -Zmt"
32670 ac_fn_c_check_func
"$LINENO" "localtime_r" "ac_cv_func_localtime_r"
32671 if test "x$ac_cv_func_localtime_r" = xyes
; then :
32672 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
32676 ac_fn_c_check_func
"$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
32677 if test "x$ac_cv_func_gmtime_r" = xyes
; then :
32678 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
32686 ac_cpp
='$CPP $CPPFLAGS'
32687 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
32692 $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
32694 if ${ac_cv_func_which_gethostbyname_r+:} false
; then :
32695 $as_echo_n "(cached) " >&6
32699 ################################################################
32701 ac_cv_func_which_gethostbyname_r
=unknown
32704 # ONE ARGUMENT (sanity check)
32707 # This should fail, as there is no variant of gethostbyname_r() that takes
32708 # a single argument. If it actually compiles, then we can assume that
32709 # netdb.h is not declaring the function, and the compiler is thereby
32710 # assuming an implicit prototype. In which case, we're out of luck.
32712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32713 /* end confdefs.h. */
32719 char *name = "www.gnu.org";
32720 (void)gethostbyname_r(name) /* ; */
32727 if ac_fn_c_try_compile
"$LINENO"; then :
32728 ac_cv_func_which_gethostbyname_r
=no
32731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32738 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32741 /* end confdefs.h. */
32747 char *name = "www.gnu.org";
32748 struct hostent ret, *retp;
32752 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
32759 if ac_fn_c_try_compile
"$LINENO"; then :
32760 ac_cv_func_which_gethostbyname_r
=six
32763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32772 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32781 char *name = "www.gnu.org";
32782 struct hostent ret;
32786 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
32793 if ac_fn_c_try_compile
"$LINENO"; then :
32794 ac_cv_func_which_gethostbyname_r
=five
32797 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32803 # (e.g. AIX, HP-UX, Tru64)
32806 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
32808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32809 /* end confdefs.h. */
32815 char *name = "www.gnu.org";
32816 struct hostent ret;
32817 struct hostent_data data;
32818 (void)gethostbyname_r(name, &ret, &data) /* ; */
32825 if ac_fn_c_try_compile
"$LINENO"; then :
32826 ac_cv_func_which_gethostbyname_r
=three
32829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32833 ################################################################
32838 case "$ac_cv_func_which_gethostbyname_r" in
32840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
32841 $as_echo "three" >&6; }
32842 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
32847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
32848 $as_echo "five" >&6; }
32849 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
32855 $as_echo "six" >&6; }
32856 $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
32861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
32862 $as_echo "cannot find function declaration in netdb.h" >&6; }
32866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
32867 $as_echo "can't tell" >&6; }
32871 as_fn_error $?
"internal error" "$LINENO" 5
32876 ac_cpp
='$CPP $CPPFLAGS'
32877 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32878 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32879 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32883 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
32884 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
32885 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
32886 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
32887 $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
32893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
32894 $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
32895 if ${ac_cv_func_which_getservbyname_r+:} false
; then :
32896 $as_echo_n "(cached) " >&6
32900 ac_cpp
='$CXXCPP $CPPFLAGS'
32901 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32907 /* end confdefs.h. */
32915 struct servent *se, *res;
32918 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
32924 if ac_fn_cxx_try_compile
"$LINENO"; then :
32925 ac_cv_func_which_getservbyname_r
=six
32928 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32929 /* end confdefs.h. */
32937 struct servent *se;
32940 (void) getservbyname_r(name, proto, se, buffer, buflen)
32946 if ac_fn_cxx_try_compile
"$LINENO"; then :
32947 ac_cv_func_which_getservbyname_r
=five
32950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32951 /* end confdefs.h. */
32959 struct servent *se;
32960 struct servent_data data;
32961 (void) getservbyname_r(name, proto, se, &data);
32967 if ac_fn_cxx_try_compile
"$LINENO"; then :
32968 ac_cv_func_which_getservbyname_r
=four
32970 ac_cv_func_which_getservbyname_r
=no
32973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32983 ac_cpp
='$CPP $CPPFLAGS'
32984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
32992 $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
32994 if test $ac_cv_func_which_getservbyname_r = six
; then
32995 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
32997 elif test $ac_cv_func_which_getservbyname_r = five
; then
32998 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
33000 elif test $ac_cv_func_which_getservbyname_r = four
; then
33001 $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
33006 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
33007 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
33008 for ac_func
in getservbyname
33010 ac_fn_c_check_func
"$LINENO" "getservbyname" "ac_cv_func_getservbyname"
33011 if test "x$ac_cv_func_getservbyname" = xyes
; then :
33012 cat >>confdefs.h
<<_ACEOF
33013 #define HAVE_GETSERVBYNAME 1
33015 $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
33022 $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
33025 if test "$wxUSE_THREADS" = "yes"; then
33026 $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
33029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
33031 if test "$wx_cv_func_strtok_r" = "yes"; then
33032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
33033 $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
33034 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
33035 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
33036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33037 $as_echo "yes" >&6; }
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33040 $as_echo "no" >&6; }
33045 if test "$WXGTK3" = 1 ; then
33046 cat >>confdefs.h
<<_ACEOF
33047 #define __WXGTK3__ 1
33052 if test "$WXGTK2" = 1 ; then
33053 cat >>confdefs.h
<<_ACEOF
33054 #define __WXGTK20__ $WXGTK2
33059 if test "$WXGTK127" = 1 ; then
33060 cat >>confdefs.h
<<_ACEOF
33061 #define __WXGTK127__ $WXGTK127
33066 if test "$WXGPE" = 1 ; then
33067 cat >>confdefs.h
<<_ACEOF
33068 #define __WXGPE__ $WXGPE
33074 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
33075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
33076 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
33077 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
33081 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
33082 wxUSE_DEBUG_INFO
=yes
33083 if test "$GCC" = yes; then
33084 DEBUG_CFLAGS
="-ggdb"
33088 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
33089 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
33091 if test "$wxUSE_GTK" = 1 ; then
33092 if test "$WXGTK2" = 1 ; then
33093 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
33095 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
33100 if test "$wxUSE_MEM_TRACING" = "yes" ; then
33101 $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
33103 $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
33105 $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
33107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
33110 if test "$wxUSE_DMALLOC" = "yes" ; then
33111 DMALLOC_LIBS
="-ldmallocthcxx"
33115 if test "$wxUSE_PROFILE" = "yes" ; then
33116 PROFILE_FLAGS
=" -pg"
33119 if test "$GCC" = "yes" ; then
33120 if test "$wxUSE_NO_RTTI" = "yes" ; then
33121 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
33123 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
33124 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
33126 if test "$wxUSE_PERMISSIVE" = "yes" ; then
33127 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
33132 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
33135 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
33141 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
33143 $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
33145 if test "$wxUSE_OPTIMISE" = "no" ; then
33146 if test "$GCC" = yes ; then
33147 OPTIMISE_CFLAGS
="-O0"
33150 if test "$GCC" = yes ; then
33152 *-pc-os2_emx | *-pc-os2-emx )
33153 OPTIMISE_CFLAGS
="-O2"
33156 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
33160 OPTIMISE_CFLAGS
="-O"
33166 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
33167 $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
33170 WXWIN_COMPATIBILITY_2_8
="yes"
33173 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
33174 $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
33179 if test "$wxUSE_GUI" = "yes"; then
33180 $as_echo "#define wxUSE_GUI 1" >>confdefs.h
33186 if test "$wxUSE_UNIX" = "yes"; then
33187 $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
33192 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
33196 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33197 if test "$USE_DOS" = 1; then
33200 for ac_func
in dlopen
33202 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
33203 if test "x$ac_cv_func_dlopen" = xyes
; then :
33204 cat >>confdefs.h
<<_ACEOF
33205 #define HAVE_DLOPEN 1
33208 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
33215 $as_echo_n "checking for dlopen in -ldl... " >&6; }
33216 if ${ac_cv_lib_dl_dlopen+:} false
; then :
33217 $as_echo_n "(cached) " >&6
33219 ac_check_lib_save_LIBS
=$LIBS
33221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33222 /* end confdefs.h. */
33224 /* Override any GCC internal prototype to avoid an error.
33225 Use char because int might match the return type of a GCC
33226 builtin and then its argument prototype would still apply. */
33239 if ac_fn_c_try_link
"$LINENO"; then :
33240 ac_cv_lib_dl_dlopen
=yes
33242 ac_cv_lib_dl_dlopen
=no
33244 rm -f core conftest.err conftest.
$ac_objext \
33245 conftest
$ac_exeext conftest.
$ac_ext
33246 LIBS
=$ac_check_lib_save_LIBS
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
33249 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
33250 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
33252 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
33255 DL_LINK
=" -ldl$DL_LINK"
33259 for ac_func
in shl_load
33261 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
33262 if test "x$ac_cv_func_shl_load" = xyes
; then :
33263 cat >>confdefs.h
<<_ACEOF
33264 #define HAVE_SHL_LOAD 1
33267 $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
33273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
33274 $as_echo_n "checking for dld in -lshl_load... " >&6; }
33275 if ${ac_cv_lib_shl_load_dld+:} false
; then :
33276 $as_echo_n "(cached) " >&6
33278 ac_check_lib_save_LIBS
=$LIBS
33279 LIBS
="-lshl_load $LIBS"
33280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33281 /* end confdefs.h. */
33283 /* Override any GCC internal prototype to avoid an error.
33284 Use char because int might match the return type of a GCC
33285 builtin and then its argument prototype would still apply. */
33298 if ac_fn_c_try_link
"$LINENO"; then :
33299 ac_cv_lib_shl_load_dld
=yes
33301 ac_cv_lib_shl_load_dld
=no
33303 rm -f core conftest.err conftest.
$ac_objext \
33304 conftest
$ac_exeext conftest.
$ac_ext
33305 LIBS
=$ac_check_lib_save_LIBS
33307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
33308 $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
33309 if test "x$ac_cv_lib_shl_load_dld" = xyes
; then :
33312 DL_LINK
=" -ldld$DL_LINK"
33328 if test "$HAVE_DL_FUNCS" = 1; then
33329 for ac_func
in dlerror
33331 ac_fn_c_check_func
"$LINENO" "dlerror" "ac_cv_func_dlerror"
33332 if test "x$ac_cv_func_dlerror" = xyes
; then :
33333 cat >>confdefs.h
<<_ACEOF
33334 #define HAVE_DLERROR 1
33336 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
33341 $as_echo_n "checking for dlerror in -ldl... " >&6; }
33342 if ${ac_cv_lib_dl_dlerror+:} false
; then :
33343 $as_echo_n "(cached) " >&6
33345 ac_check_lib_save_LIBS
=$LIBS
33347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33348 /* end confdefs.h. */
33350 /* Override any GCC internal prototype to avoid an error.
33351 Use char because int might match the return type of a GCC
33352 builtin and then its argument prototype would still apply. */
33365 if ac_fn_c_try_link
"$LINENO"; then :
33366 ac_cv_lib_dl_dlerror
=yes
33368 ac_cv_lib_dl_dlerror
=no
33370 rm -f core conftest.err conftest.
$ac_objext \
33371 conftest
$ac_exeext conftest.
$ac_ext
33372 LIBS
=$ac_check_lib_save_LIBS
33374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
33375 $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
33376 if test "x$ac_cv_lib_dl_dlerror" = xyes
; then :
33377 $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
33389 if test "$USE_DARWIN" = 1; then
33393 if test "$HAVE_DL_FUNCS" = 0; then
33394 if test "$HAVE_SHL_FUNCS" = 0; then
33395 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
33397 $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
33398 wxUSE_DYNAMIC_LOADER
=no
33399 wxUSE_DYNLIB_CLASS
=no
33401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
33402 $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
33409 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
33410 $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
33413 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
33414 $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
33420 if test "$wxUSE_PLUGINS" = "yes" ; then
33421 if test "$wxUSE_SHARED" = "no" ; then
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
33423 $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
33426 if test "$wxUSE_MONOLITHIC" = "yes" ; then
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
33428 $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
33431 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
33432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
33433 $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
33436 if test "$wxUSE_PLUGINS" = "yes" ; then
33437 $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
33443 if test "$wxUSE_FSWATCHER" = "yes"; then
33444 if test "$wxUSE_MSW" != "1"; then
33445 if test "$wxUSE_UNIX" = "yes"; then
33446 for ac_header
in sys
/inotify.h
33448 ac_fn_c_check_header_compile
"$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
33450 if test "x$ac_cv_header_sys_inotify_h" = xyes
; then :
33451 cat >>confdefs.h
<<_ACEOF
33452 #define HAVE_SYS_INOTIFY_H 1
33459 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
33460 $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
33463 for ac_header
in sys
/event.h
33465 ac_fn_c_check_header_compile
"$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
33467 if test "x$ac_cv_header_sys_event_h" = xyes
; then :
33468 cat >>confdefs.h
<<_ACEOF
33469 #define HAVE_SYS_EVENT_H 1
33476 if test "$ac_cv_header_sys_event_h" = "yes"; then
33477 $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
33487 if test "$wxUSE_THREADS" != "yes"; then
33488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
33489 $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
33494 if test "$wxUSE_FSWATCHER" = "yes"; then
33495 $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
33497 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
33499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
33500 $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
33505 if test "$wxUSE_STL" = "yes"; then
33506 $as_echo "#define wxUSE_STL 1" >>confdefs.h
33510 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
33511 $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
33515 if test "$wxUSE_ANY" = "yes"; then
33516 $as_echo "#define wxUSE_ANY 1" >>confdefs.h
33520 if test "$wxUSE_APPLE_IEEE" = "yes"; then
33521 $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
33525 if test "$wxUSE_TIMER" = "yes"; then
33526 $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
33530 if test "$USE_UNIX" = 1 ; then
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
33532 $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
33533 if ${ac_cv_header_sys_soundcard+:} false
; then :
33534 $as_echo_n "(cached) " >&6
33537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33538 /* end confdefs.h. */
33540 #include <sys/ioctl.h>
33541 #include <sys/soundcard.h>
33547 ioctl(0, SNDCTL_DSP_SPEED, 0);
33553 if ac_fn_c_try_link
"$LINENO"; then :
33554 ac_cv_header_sys_soundcard
=yes
33558 LIBS
="$saveLibs -lossaudio"
33559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33560 /* end confdefs.h. */
33562 #include <sys/ioctl.h>
33563 #include <sys/soundcard.h>
33569 ioctl(0, SNDCTL_DSP_SPEED, 0);
33575 if ac_fn_c_try_link
"$LINENO"; then :
33576 ac_cv_header_sys_soundcard
=yes
33580 ac_cv_header_sys_soundcard
=no
33584 rm -f core conftest.err conftest.
$ac_objext \
33585 conftest
$ac_exeext conftest.
$ac_ext
33589 rm -f core conftest.err conftest.
$ac_objext \
33590 conftest
$ac_exeext conftest.
$ac_ext
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
33594 $as_echo "$ac_cv_header_sys_soundcard" >&6; }
33596 if test "$ac_cv_header_sys_soundcard" = "yes"; then
33597 $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
33603 if test "$wxUSE_SOUND" = "yes"; then
33604 if test "$USE_UNIX" = 1 ; then
33605 if test "$wxUSE_LIBSDL" != "no"; then
33607 # Check whether --with-sdl-prefix was given.
33608 if test "${with_sdl_prefix+set}" = set; then :
33609 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
33615 # Check whether --with-sdl-exec-prefix was given.
33616 if test "${with_sdl_exec_prefix+set}" = set; then :
33617 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
33622 # Check whether --enable-sdltest was given.
33623 if test "${enable_sdltest+set}" = set; then :
33624 enableval
=$enable_sdltest;
33630 if test x
$sdl_exec_prefix != x
; then
33631 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
33632 if test x
${SDL_CONFIG+set} != xset
; then
33633 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
33636 if test x
$sdl_prefix != x
; then
33637 sdl_args
="$sdl_args --prefix=$sdl_prefix"
33638 if test x
${SDL_CONFIG+set} != xset
; then
33639 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
33643 if test "x$prefix" != xNONE
; then
33644 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
33646 # Extract the first word of "sdl-config", so it can be a program name with args.
33647 set dummy sdl
-config; ac_word
=$2
33648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33649 $as_echo_n "checking for $ac_word... " >&6; }
33650 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
33651 $as_echo_n "(cached) " >&6
33653 case $SDL_CONFIG in
33655 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
33658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33659 for as_dir
in $PATH
33662 test -z "$as_dir" && as_dir
=.
33663 for ac_exec_ext
in '' $ac_executable_extensions; do
33664 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33665 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33673 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
33677 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
33678 if test -n "$SDL_CONFIG"; then
33679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
33680 $as_echo "$SDL_CONFIG" >&6; }
33682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33683 $as_echo "no" >&6; }
33687 min_sdl_version
=1.2.0
33688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
33689 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
33691 if test "$SDL_CONFIG" = "no" ; then
33694 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
33695 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
33697 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
33698 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
33699 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
33700 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
33701 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
33702 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
33703 if test "x$enable_sdltest" = "xyes" ; then
33704 ac_save_CFLAGS
="$CFLAGS"
33705 ac_save_CXXFLAGS
="$CXXFLAGS"
33706 ac_save_LIBS
="$LIBS"
33707 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33708 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33709 LIBS
="$LIBS $SDL_LIBS"
33711 if test "$cross_compiling" = yes; then :
33712 echo $ac_n "cross compiling; assumed OK... $ac_c"
33714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33715 /* end confdefs.h. */
33718 #include <stdlib.h>
33719 #include <string.h>
33723 my_strdup (char *str)
33729 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
33730 strcpy (new_str, str);
33738 int main (int argc, char *argv[])
33740 int major, minor, micro;
33743 /* This hangs on some systems (?)
33744 system ("touch conf.sdltest");
33746 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
33748 /* HP/UX 9 (%@#!) writes to sscanf strings */
33749 tmp_version = my_strdup("$min_sdl_version");
33750 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
33751 printf("%s, bad version string\n", "$min_sdl_version");
33755 if (($sdl_major_version > major) ||
33756 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
33757 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
33763 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
33764 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
33765 printf("*** best to upgrade to the required version.\n");
33766 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
33767 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
33768 printf("*** config.cache before re-running configure\n");
33775 if ac_fn_c_try_run
"$LINENO"; then :
33780 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
33781 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
33784 CFLAGS
="$ac_save_CFLAGS"
33785 CXXFLAGS
="$ac_save_CXXFLAGS"
33786 LIBS
="$ac_save_LIBS"
33789 if test "x$no_sdl" = x
; then
33790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33791 $as_echo "yes" >&6; }
33793 EXTRALIBS_SDL
="$SDL_LIBS"
33794 CFLAGS
="$SDL_CFLAGS $CFLAGS"
33795 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
33796 $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
33800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33801 $as_echo "no" >&6; }
33802 if test "$SDL_CONFIG" = "no" ; then
33803 echo "*** The sdl-config script installed by SDL could not be found"
33804 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
33805 echo "*** your path, or set the SDL_CONFIG environment variable to the"
33806 echo "*** full path to sdl-config."
33808 if test -f conf.sdltest
; then
33811 echo "*** Could not run SDL test program, checking why..."
33812 CFLAGS
="$CFLAGS $SDL_CFLAGS"
33813 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
33814 LIBS
="$LIBS $SDL_LIBS"
33815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33821 int main(int argc, char *argv[])
33824 #define main K_and_R_C_main
33834 if ac_fn_c_try_link
"$LINENO"; then :
33835 echo "*** The test program compiled, but did not run. This usually means"
33836 echo "*** that the run-time linker is not finding SDL or finding the wrong"
33837 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
33838 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
33839 echo "*** to the installed location Also, make sure you have run ldconfig if that"
33840 echo "*** is required on your system"
33842 echo "*** If you have an old version installed, it is best to remove it, although"
33843 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
33845 echo "*** The test program failed to compile or link. See the file config.log for the"
33846 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
33847 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
33848 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
33850 rm -f core conftest.err conftest.
$ac_objext \
33851 conftest
$ac_exeext conftest.
$ac_ext
33852 CFLAGS
="$ac_save_CFLAGS"
33853 CXXFLAGS
="$ac_save_CXXFLAGS"
33854 LIBS
="$ac_save_LIBS"
33865 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
33872 if test "$wxUSE_SOUND" = "yes"; then
33873 $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
33875 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
33878 if test "$WXGTK2" = 1; then
33881 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33882 if test -n "$ac_tool_prefix"; then
33883 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33884 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33886 $as_echo_n "checking for $ac_word... " >&6; }
33887 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
33888 $as_echo_n "(cached) " >&6
33890 case $PKG_CONFIG in
33892 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33896 for as_dir
in $PATH
33899 test -z "$as_dir" && as_dir
=.
33900 for ac_exec_ext
in '' $ac_executable_extensions; do
33901 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33902 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33913 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33914 if test -n "$PKG_CONFIG"; then
33915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
33916 $as_echo "$PKG_CONFIG" >&6; }
33918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33919 $as_echo "no" >&6; }
33924 if test -z "$ac_cv_path_PKG_CONFIG"; then
33925 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33926 # Extract the first word of "pkg-config", so it can be a program name with args.
33927 set dummy pkg
-config; ac_word
=$2
33928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
33929 $as_echo_n "checking for $ac_word... " >&6; }
33930 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
33931 $as_echo_n "(cached) " >&6
33933 case $ac_pt_PKG_CONFIG in
33935 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33939 for as_dir
in $PATH
33942 test -z "$as_dir" && as_dir
=.
33943 for ac_exec_ext
in '' $ac_executable_extensions; do
33944 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
33945 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
33956 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33957 if test -n "$ac_pt_PKG_CONFIG"; then
33958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
33959 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
33961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33962 $as_echo "no" >&6; }
33965 if test "x$ac_pt_PKG_CONFIG" = x
; then
33968 case $cross_compiling:$ac_tool_warned in
33970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
33971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
33972 ac_tool_warned
=yes ;;
33974 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33977 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33981 if test -n "$PKG_CONFIG"; then
33982 _pkg_min_version
=0.9.0
33983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
33984 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
33985 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33987 $as_echo "yes" >&6; }
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33990 $as_echo "no" >&6; }
33996 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
33998 if test "$wxUSE_GTKPRINT" = "yes" ; then
33999 if test "$WXGTK3" = 1; then
34000 gtk_unix_print
="gtk+-unix-print-3.0"
34002 gtk_unix_print
="gtk+-unix-print-2.0 >= 2.10"
34006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
34007 $as_echo_n "checking for GTKPRINT... " >&6; }
34009 if test -n "$PKG_CONFIG"; then
34010 if test -n "$GTKPRINT_CFLAGS"; then
34011 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
34013 if test -n "$PKG_CONFIG" && \
34014 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34015 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34018 test $ac_status = 0; }; then
34019 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
34027 if test -n "$PKG_CONFIG"; then
34028 if test -n "$GTKPRINT_LIBS"; then
34029 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
34031 if test -n "$PKG_CONFIG" && \
34032 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
34033 ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
34035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34036 test $ac_status = 0; }; then
34037 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
34048 if test $pkg_failed = yes; then
34050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34051 _pkg_short_errors_supported
=yes
34053 _pkg_short_errors_supported
=no
34055 if test $_pkg_short_errors_supported = yes; then
34056 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
34058 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
34060 # Put the nasty error message in config.log where it belongs
34061 echo "$GTKPRINT_PKG_ERRORS" >&5
34064 { $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
34065 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34066 wxUSE_GTKPRINT
="no"
34069 elif test $pkg_failed = untried
; then
34071 { $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
34072 $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
34073 wxUSE_GTKPRINT
="no"
34077 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
34078 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
34079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34080 $as_echo "yes" >&6; }
34082 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
34083 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
34084 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
34085 $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
34091 if test "$WXGTK3" = 1; then
34092 wxUSE_LIBGNOMEPRINT
=no
34095 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
34099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGNOMEPRINTUI" >&5
34100 $as_echo_n "checking for LIBGNOMEPRINTUI... " >&6; }
34102 if test -n "$PKG_CONFIG"; then
34103 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
34104 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
34106 if test -n "$PKG_CONFIG" && \
34107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34108 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34111 test $ac_status = 0; }; then
34112 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34120 if test -n "$PKG_CONFIG"; then
34121 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
34122 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
34124 if test -n "$PKG_CONFIG" && \
34125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\""; } >&5
34126 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
34128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34129 test $ac_status = 0; }; then
34130 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
34141 if test $pkg_failed = yes; then
34143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34144 _pkg_short_errors_supported
=yes
34146 _pkg_short_errors_supported
=no
34148 if test $_pkg_short_errors_supported = yes; then
34149 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34151 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
34153 # Put the nasty error message in config.log where it belongs
34154 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
34157 if test "$wxUSE_GTKPRINT" = yes; then
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34159 $as_echo "no" >&6; }
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34162 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34164 wxUSE_LIBGNOMEPRINT
="no"
34167 elif test $pkg_failed = untried
; then
34169 if test "$wxUSE_GTKPRINT" = yes; then
34170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34171 $as_echo "no" >&6; }
34173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
34174 $as_echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
34176 wxUSE_LIBGNOMEPRINT
="no"
34180 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
34181 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34183 $as_echo "yes" >&6; }
34185 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBGNOMEPRINTUI_LIBS"
34186 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
34187 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
34188 $as_echo "#define wxUSE_LIBGNOMEPRINT 1" >>confdefs.h
34195 if test "$wxUSE_MIMETYPE" = "yes" ; then
34196 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
34200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
34201 $as_echo_n "checking for GNOMEVFS... " >&6; }
34203 if test -n "$PKG_CONFIG"; then
34204 if test -n "$GNOMEVFS_CFLAGS"; then
34205 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
34207 if test -n "$PKG_CONFIG" && \
34208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34209 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34212 test $ac_status = 0; }; then
34213 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34221 if test -n "$PKG_CONFIG"; then
34222 if test -n "$GNOMEVFS_LIBS"; then
34223 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
34225 if test -n "$PKG_CONFIG" && \
34226 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
34227 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
34229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34230 test $ac_status = 0; }; then
34231 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
34242 if test $pkg_failed = yes; then
34244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34245 _pkg_short_errors_supported
=yes
34247 _pkg_short_errors_supported
=no
34249 if test $_pkg_short_errors_supported = yes; then
34250 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34252 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
34254 # Put the nasty error message in config.log where it belongs
34255 echo "$GNOMEVFS_PKG_ERRORS" >&5
34258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34259 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34260 wxUSE_LIBGNOMEVFS
="no"
34263 elif test $pkg_failed = untried
; then
34265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
34266 $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
34267 wxUSE_LIBGNOMEVFS
="no"
34271 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
34272 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
34273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34274 $as_echo "yes" >&6; }
34276 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
34277 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
34278 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
34279 $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
34286 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
34287 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
34291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34292 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34294 if test -n "$PKG_CONFIG"; then
34295 if test -n "$LIBNOTIFY_CFLAGS"; then
34296 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34298 if test -n "$PKG_CONFIG" && \
34299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34300 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34303 test $ac_status = 0; }; then
34304 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
34312 if test -n "$PKG_CONFIG"; then
34313 if test -n "$LIBNOTIFY_LIBS"; then
34314 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34316 if test -n "$PKG_CONFIG" && \
34317 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
34318 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
34320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34321 test $ac_status = 0; }; then
34322 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
34333 if test $pkg_failed = yes; then
34335 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34336 _pkg_short_errors_supported
=yes
34338 _pkg_short_errors_supported
=no
34340 if test $_pkg_short_errors_supported = yes; then
34341 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
34343 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
34345 # Put the nasty error message in config.log where it belongs
34346 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34352 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34354 if test -n "$PKG_CONFIG"; then
34355 if test -n "$LIBNOTIFY_CFLAGS"; then
34356 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34358 if test -n "$PKG_CONFIG" && \
34359 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34360 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34363 test $ac_status = 0; }; then
34364 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34372 if test -n "$PKG_CONFIG"; then
34373 if test -n "$LIBNOTIFY_LIBS"; then
34374 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34376 if test -n "$PKG_CONFIG" && \
34377 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34378 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34381 test $ac_status = 0; }; then
34382 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34393 if test $pkg_failed = yes; then
34395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34396 _pkg_short_errors_supported
=yes
34398 _pkg_short_errors_supported
=no
34400 if test $_pkg_short_errors_supported = yes; then
34401 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34403 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34405 # Put the nasty error message in config.log where it belongs
34406 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34409 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34411 elif test $pkg_failed = untried
; then
34412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34413 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34416 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34417 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34419 $as_echo "yes" >&6; }
34424 elif test $pkg_failed = untried
; then
34428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
34429 $as_echo_n "checking for LIBNOTIFY... " >&6; }
34431 if test -n "$PKG_CONFIG"; then
34432 if test -n "$LIBNOTIFY_CFLAGS"; then
34433 pkg_cv_LIBNOTIFY_CFLAGS
="$LIBNOTIFY_CFLAGS"
34435 if test -n "$PKG_CONFIG" && \
34436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34437 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34440 test $ac_status = 0; }; then
34441 pkg_cv_LIBNOTIFY_CFLAGS
=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
34449 if test -n "$PKG_CONFIG"; then
34450 if test -n "$LIBNOTIFY_LIBS"; then
34451 pkg_cv_LIBNOTIFY_LIBS
="$LIBNOTIFY_LIBS"
34453 if test -n "$PKG_CONFIG" && \
34454 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
34455 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
34457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34458 test $ac_status = 0; }; then
34459 pkg_cv_LIBNOTIFY_LIBS
=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
34470 if test $pkg_failed = yes; then
34472 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34473 _pkg_short_errors_supported
=yes
34475 _pkg_short_errors_supported
=no
34477 if test $_pkg_short_errors_supported = yes; then
34478 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
34480 LIBNOTIFY_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
34482 # Put the nasty error message in config.log where it belongs
34483 echo "$LIBNOTIFY_PKG_ERRORS" >&5
34485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34486 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34488 elif test $pkg_failed = untried
; then
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
34490 $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
34493 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34494 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34496 $as_echo "yes" >&6; }
34502 LIBNOTIFY_CFLAGS
=$pkg_cv_LIBNOTIFY_CFLAGS
34503 LIBNOTIFY_LIBS
=$pkg_cv_LIBNOTIFY_LIBS
34504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34505 $as_echo "yes" >&6; }
34508 $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
34513 if test "$HAVE_LIBNOTIFY" = "1" ; then
34514 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
34515 CFLAGS
="$LIBNOTIFY_CFLAGS $CFLAGS"
34516 CXXFLAGS
="$LIBNOTIFY_CFLAGS $CXXFLAGS"
34517 $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
34523 if test "$wxUSE_LIBHILDON" = "yes" ; then
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
34527 $as_echo_n "checking for HILDON... " >&6; }
34529 if test -n "$PKG_CONFIG"; then
34530 if test -n "$HILDON_CFLAGS"; then
34531 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
34533 if test -n "$PKG_CONFIG" && \
34534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34535 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34538 test $ac_status = 0; }; then
34539 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
34547 if test -n "$PKG_CONFIG"; then
34548 if test -n "$HILDON_LIBS"; then
34549 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
34551 if test -n "$PKG_CONFIG" && \
34552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
34553 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
34555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34556 test $ac_status = 0; }; then
34557 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
34568 if test $pkg_failed = yes; then
34570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34571 _pkg_short_errors_supported
=yes
34573 _pkg_short_errors_supported
=no
34575 if test $_pkg_short_errors_supported = yes; then
34576 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34578 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
34580 # Put the nasty error message in config.log where it belongs
34581 echo "$HILDON_PKG_ERRORS" >&5
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34585 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34586 wxUSE_LIBHILDON
="no"
34590 elif test $pkg_failed = untried
; then
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
34593 $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
34594 wxUSE_LIBHILDON
="no"
34599 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
34600 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
34601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34602 $as_echo "yes" >&6; }
34604 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON_LIBS"
34605 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
34606 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
34607 $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
34613 if test "$ac_hildon_lgpl" = 0 ; then
34616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
34617 $as_echo_n "checking for HILDON2... " >&6; }
34619 if test -n "$PKG_CONFIG"; then
34620 if test -n "$HILDON2_CFLAGS"; then
34621 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
34623 if test -n "$PKG_CONFIG" && \
34624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34625 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34628 test $ac_status = 0; }; then
34629 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
34637 if test -n "$PKG_CONFIG"; then
34638 if test -n "$HILDON2_LIBS"; then
34639 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
34641 if test -n "$PKG_CONFIG" && \
34642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
34643 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
34645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34646 test $ac_status = 0; }; then
34647 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
34658 if test $pkg_failed = yes; then
34660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34661 _pkg_short_errors_supported
=yes
34663 _pkg_short_errors_supported
=no
34665 if test $_pkg_short_errors_supported = yes; then
34666 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34668 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
34670 # Put the nasty error message in config.log where it belongs
34671 echo "$HILDON2_PKG_ERRORS" >&5
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34675 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34676 wxUSE_LIBHILDON2
="no"
34679 elif test $pkg_failed = untried
; then
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
34682 $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
34683 wxUSE_LIBHILDON2
="no"
34687 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
34688 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34690 $as_echo "yes" >&6; }
34692 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $HILDON2_LIBS"
34693 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
34694 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
34695 $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
34703 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
34704 $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
34708 if test "$wxUSE_STOPWATCH" = "yes"; then
34709 $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
34713 if test "$wxUSE_DATETIME" = "yes"; then
34714 $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
34718 if test "$wxUSE_FILE" = "yes"; then
34719 $as_echo "#define wxUSE_FILE 1" >>confdefs.h
34723 if test "$wxUSE_FFILE" = "yes"; then
34724 $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
34728 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
34729 if test "$wxUSE_STREAMS" != yes; then
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
34731 $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
34732 wxUSE_ARCHIVE_STREAMS
=no
34734 $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
34739 if test "$wxUSE_ZIPSTREAM" = "yes"; then
34740 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
34742 $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
34743 elif test "$wxUSE_ZLIB" = "no"; then
34744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
34745 $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
34747 $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
34752 if test "$wxUSE_TARSTREAM" = "yes"; then
34753 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
34755 $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
34757 $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
34762 if test "$wxUSE_FILE_HISTORY" = "yes"; then
34763 $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
34767 if test "$wxUSE_FILESYSTEM" = "yes"; then
34768 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
34769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
34770 $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
34771 wxUSE_FILESYSTEM
=no
34773 $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
34778 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
34779 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
34781 $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
34783 $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
34788 if test "$wxUSE_FS_ZIP" = "yes"; then
34789 if test "$wxUSE_FS_ARCHIVE" != yes; then
34790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
34791 $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
34793 $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
34798 if test "$wxUSE_FSVOLUME" = "yes"; then
34799 $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
34803 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34804 if test "$USE_UNIX" != 1; then
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
34806 $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
34807 wxUSE_ON_FATAL_EXCEPTION
=no
34809 $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
34814 if test "$wxUSE_STACKWALKER" = "yes"; then
34815 $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
34819 if test "$wxUSE_DEBUGREPORT" = "yes"; then
34820 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
34821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
34822 $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
34823 wxUSE_DEBUGREPORT
=no
34825 $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
34827 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
34833 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
34834 $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
34838 if test "$wxUSE_BUSYINFO" = "yes"; then
34839 $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
34843 if test "$wxUSE_HOTKEY" = "yes"; then
34844 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
34845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
34846 $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
34849 elif test "$wxUSE_HOTKEY" = "auto"; then
34850 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
34854 if test "$wxUSE_HOTKEY" = "yes"; then
34855 $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
34859 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
34860 $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
34864 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
34865 $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
34869 if test "$wxUSE_STD_STRING" = "yes"; then
34870 $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
34874 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
34875 $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
34879 if test "$wxUSE_STDPATHS" = "yes"; then
34880 $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
34884 if test "$wxUSE_TEXTBUFFER" = "yes"; then
34885 $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
34889 if test "$wxUSE_TEXTFILE" = "yes"; then
34890 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
34891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
34892 $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
34894 $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
34899 if test "$wxUSE_CONFIG" = "yes" ; then
34900 if test "$wxUSE_TEXTFILE" != "yes"; then
34901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
34902 $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
34904 $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
34906 $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
34908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
34912 if test "$wxUSE_INTL" = "yes" ; then
34913 if test "$wxUSE_FILE" != "yes"; then
34914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
34915 $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
34917 $as_echo "#define wxUSE_INTL 1" >>confdefs.h
34919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
34920 GUIDIST
="$GUIDIST INTL_DIST"
34924 if test "$wxUSE_XLOCALE" = "yes" ; then
34925 $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
34927 ac_fn_c_check_type
"$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
34928 #include <locale.h>
34930 if test "x$ac_cv_type_locale_t" = xyes
; then :
34932 cat >>confdefs.h
<<_ACEOF
34933 #define HAVE_LOCALE_T 1
34941 if test "$wxUSE_LOG" = "yes"; then
34942 $as_echo "#define wxUSE_LOG 1" >>confdefs.h
34945 if test "$wxUSE_LOGGUI" = "yes"; then
34946 $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
34950 if test "$wxUSE_LOGWINDOW" = "yes"; then
34951 $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
34955 if test "$wxUSE_LOGDIALOG" = "yes"; then
34956 $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
34960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
34963 if test "$wxUSE_LONGLONG" = "yes"; then
34964 $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
34968 if test "$wxUSE_GEOMETRY" = "yes"; then
34969 $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
34973 if test "$wxUSE_BASE64" = "yes"; then
34974 $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
34978 if test "$wxUSE_STREAMS" = "yes" ; then
34979 $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
34983 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34984 $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
34988 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
34989 $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
34994 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
34995 $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
34998 if test "$wxUSE_UNIX" = "yes"; then
34999 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
35000 $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
35004 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
35005 for ac_header
in sys
/epoll.h
35007 ac_fn_c_check_header_compile
"$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
35009 if test "x$ac_cv_header_sys_epoll_h" = xyes
; then :
35010 cat >>confdefs.h
<<_ACEOF
35011 #define HAVE_SYS_EPOLL_H 1
35018 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
35019 $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
35022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
35023 $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
35030 for ac_func
in gettimeofday ftime
35032 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35033 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35034 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35035 cat >>confdefs.h
<<_ACEOF
35036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35043 if test "$ac_cv_func_gettimeofday" = "yes"; then
35044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
35045 $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
35046 if ${wx_cv_func_gettimeofday_has_2_args+:} false
; then :
35047 $as_echo_n "(cached) " >&6
35050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35051 /* end confdefs.h. */
35053 #include <sys/time.h>
35054 #include <unistd.h>
35061 gettimeofday(&tv, NULL);
35067 if ac_fn_c_try_compile
"$LINENO"; then :
35068 wx_cv_func_gettimeofday_has_2_args
=yes
35070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35071 /* end confdefs.h. */
35073 #include <sys/time.h>
35074 #include <unistd.h>
35087 if ac_fn_c_try_compile
"$LINENO"; then :
35088 wx_cv_func_gettimeofday_has_2_args
=no
35091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
35092 $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
35093 wx_cv_func_gettimeofday_has_2_args
=unknown
35097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
35104 $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
35106 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
35107 $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
35112 if test "$wxUSE_DATETIME" = "yes"; then
35113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
35114 $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
35115 if ${wx_cv_var_timezone+:} false
; then :
35116 $as_echo_n "(cached) " >&6
35120 ac_cpp
='$CXXCPP $CPPFLAGS'
35121 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35126 /* end confdefs.h. */
35141 if ac_fn_cxx_try_compile
"$LINENO"; then :
35143 wx_cv_var_timezone
=timezone
35147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35148 /* end confdefs.h. */
35163 if ac_fn_cxx_try_compile
"$LINENO"; then :
35165 wx_cv_var_timezone
=_timezone
35169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35170 /* end confdefs.h. */
35185 if ac_fn_cxx_try_compile
"$LINENO"; then :
35187 wx_cv_var_timezone
=__timezone
35191 if test "$USE_DOS" = 0 ; then
35192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
35193 $as_echo "$as_me: WARNING: no timezone variable" >&2;}
35198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35202 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35208 ac_cpp
='$CPP $CPPFLAGS'
35209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
35217 $as_echo "$wx_cv_var_timezone" >&6; }
35219 if test "x$wx_cv_var_timezone" != x
; then
35220 cat >>confdefs.h
<<_ACEOF
35221 #define WX_TIMEZONE $wx_cv_var_timezone
35226 for ac_func
in localtime
35228 ac_fn_c_check_func
"$LINENO" "localtime" "ac_cv_func_localtime"
35229 if test "x$ac_cv_func_localtime" = xyes
; then :
35230 cat >>confdefs.h
<<_ACEOF
35231 #define HAVE_LOCALTIME 1
35238 if test "$ac_cv_func_localtime" = "yes"; then
35239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
35240 $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
35241 if ${wx_cv_struct_tm_has_gmtoff+:} false
; then :
35242 $as_echo_n "(cached) " >&6
35245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35246 /* end confdefs.h. */
35261 if ac_fn_c_try_compile
"$LINENO"; then :
35263 wx_cv_struct_tm_has_gmtoff
=yes
35266 wx_cv_struct_tm_has_gmtoff
=no
35269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
35273 $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
35276 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
35277 $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
35281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
35285 for ac_func
in setpriority
35287 ac_fn_c_check_func
"$LINENO" "setpriority" "ac_cv_func_setpriority"
35288 if test "x$ac_cv_func_setpriority" = xyes
; then :
35289 cat >>confdefs.h
<<_ACEOF
35290 #define HAVE_SETPRIORITY 1
35298 if test "$wxUSE_SOCKETS" = "yes"; then
35299 if test "$TOOLKIT" != "MSW"; then
35300 ac_fn_c_check_func
"$LINENO" "socket" "ac_cv_func_socket"
35301 if test "x$ac_cv_func_socket" = xyes
; then :
35305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
35306 $as_echo_n "checking for socket in -lsocket... " >&6; }
35307 if ${ac_cv_lib_socket_socket+:} false
; then :
35308 $as_echo_n "(cached) " >&6
35310 ac_check_lib_save_LIBS
=$LIBS
35311 LIBS
="-lsocket $LIBS"
35312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35313 /* end confdefs.h. */
35315 /* Override any GCC internal prototype to avoid an error.
35316 Use char because int might match the return type of a GCC
35317 builtin and then its argument prototype would still apply. */
35330 if ac_fn_c_try_link
"$LINENO"; then :
35331 ac_cv_lib_socket_socket
=yes
35333 ac_cv_lib_socket_socket
=no
35335 rm -f core conftest.err conftest.
$ac_objext \
35336 conftest
$ac_exeext conftest.
$ac_ext
35337 LIBS
=$ac_check_lib_save_LIBS
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
35340 $as_echo "$ac_cv_lib_socket_socket" >&6; }
35341 if test "x$ac_cv_lib_socket_socket" = xyes
; then :
35342 if test "$INET_LINK" != " -lsocket"; then
35343 INET_LINK
="$INET_LINK -lsocket"
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
35348 $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
35361 if test "$wxUSE_SOCKETS" = "yes" ; then
35362 if test "$TOOLKIT" != "MSW"; then
35363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
35364 $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
35365 if ${wx_cv_type_getsockname3+:} false
; then :
35366 $as_echo_n "(cached) " >&6
35370 ac_cpp
='$CXXCPP $CPPFLAGS'
35371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35376 /* end confdefs.h. */
35378 #include <sys/types.h>
35379 #include <sys/socket.h>
35386 getsockname(0, 0, &len);
35392 if ac_fn_cxx_try_compile
"$LINENO"; then :
35393 wx_cv_type_getsockname3
=socklen_t
35396 CFLAGS_OLD
="$CFLAGS"
35397 if test "$GCC" = yes ; then
35398 CFLAGS
="-Werror $CFLAGS"
35401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35402 /* end confdefs.h. */
35404 #include <sys/types.h>
35405 #include <sys/socket.h>
35412 getsockname(0, 0, &len);
35418 if ac_fn_cxx_try_compile
"$LINENO"; then :
35419 wx_cv_type_getsockname3
=size_t
35421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35422 /* end confdefs.h. */
35424 #include <sys/types.h>
35425 #include <sys/socket.h>
35432 getsockname(0, 0, &len);
35438 if ac_fn_cxx_try_compile
"$LINENO"; then :
35439 wx_cv_type_getsockname3
=int
35441 wx_cv_type_getsockname3
=unknown
35444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35449 CFLAGS
="$CFLAGS_OLD"
35453 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35455 ac_cpp
='$CPP $CPPFLAGS'
35456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
35463 $as_echo "$wx_cv_type_getsockname3" >&6; }
35465 if test "$wx_cv_type_getsockname3" = "unknown"; then
35467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35468 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35470 cat >>confdefs.h
<<_ACEOF
35471 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
35475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
35476 $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
35477 if ${wx_cv_type_getsockopt5+:} false
; then :
35478 $as_echo_n "(cached) " >&6
35482 ac_cpp
='$CXXCPP $CPPFLAGS'
35483 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35484 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35485 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35488 /* end confdefs.h. */
35490 #include <sys/types.h>
35491 #include <sys/socket.h>
35498 getsockopt(0, 0, 0, 0, &len);
35504 if ac_fn_cxx_try_compile
"$LINENO"; then :
35505 wx_cv_type_getsockopt5
=socklen_t
35508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35509 /* end confdefs.h. */
35511 #include <sys/types.h>
35512 #include <sys/socket.h>
35519 getsockopt(0, 0, 0, 0, &len);
35525 if ac_fn_cxx_try_compile
"$LINENO"; then :
35526 wx_cv_type_getsockopt5
=size_t
35528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35529 /* end confdefs.h. */
35531 #include <sys/types.h>
35532 #include <sys/socket.h>
35539 getsockopt(0, 0, 0, 0, &len);
35545 if ac_fn_cxx_try_compile
"$LINENO"; then :
35546 wx_cv_type_getsockopt5
=int
35548 wx_cv_type_getsockopt5
=unknown
35551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35560 ac_cpp
='$CPP $CPPFLAGS'
35561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
35568 $as_echo "$wx_cv_type_getsockopt5" >&6; }
35570 if test "$wx_cv_type_getsockopt5" = "unknown"; then
35572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
35573 $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
35575 cat >>confdefs.h
<<_ACEOF
35576 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
35583 if test "$wxUSE_SOCKETS" = "yes" ; then
35584 if test "$wxUSE_IPV6" = "yes"; then
35585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
35586 $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
35587 if ${wx_cv_type_sockaddr_in6+:} false
; then :
35588 $as_echo_n "(cached) " >&6
35591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35592 /* end confdefs.h. */
35594 #include <sys/types.h>
35595 #include <sys/socket.h>
35596 #include <netinet/in.h>
35602 struct sockaddr_in6 sa6;
35608 if ac_fn_c_try_compile
"$LINENO"; then :
35609 wx_cv_type_sockaddr_in6
=yes
35611 wx_cv_type_sockaddr_in6
=no
35614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
35619 $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
35621 if test "$wx_cv_type_sockaddr_in6"="yes"; then
35622 $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
35626 $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
35630 $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
35632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
35635 if test "$wxUSE_PROTOCOL" = "yes"; then
35636 if test "$wxUSE_SOCKETS" != "yes"; then
35637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
35638 $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
35643 if test "$wxUSE_PROTOCOL" = "yes"; then
35644 $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
35647 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
35648 $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
35651 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
35652 $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
35655 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
35656 $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
35660 if test "$wxUSE_FS_INET" = "yes"; then
35661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
35662 $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
35667 if test "$wxUSE_URL" = "yes"; then
35668 if test "$wxUSE_PROTOCOL" != "yes"; then
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
35670 $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
35673 if test "$wxUSE_URL" = "yes"; then
35674 $as_echo "#define wxUSE_URL 1" >>confdefs.h
35679 if test "$wxUSE_VARIANT" = "yes"; then
35680 $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
35684 if test "$wxUSE_FS_INET" = "yes"; then
35685 $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
35690 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
35693 if test "$TOOLKIT" = "MSW"; then
35696 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
35697 if test "$USE_DARWIN" = 1; then
35698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
35699 $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
35701 ac_cpp
='$CXXCPP $CPPFLAGS'
35702 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35707 /* end confdefs.h. */
35708 #include <IOKit/hid/IOHIDLib.h>
35712 IOHIDQueueInterface *qi = NULL;
35713 IOHIDCallbackFunction cb = NULL;
35714 qi->setEventCallout(NULL, cb, NULL, NULL);
35719 if ac_fn_cxx_try_compile
"$LINENO"; then :
35723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35725 ac_cpp
='$CPP $CPPFLAGS'
35726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
35731 $as_echo "$wxUSE_JOYSTICK" >&6; }
35735 for ac_header
in linux
/joystick.h
35737 ac_fn_c_check_header_compile
"$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
35739 if test "x$ac_cv_header_linux_joystick_h" = xyes
; then :
35740 cat >>confdefs.h
<<_ACEOF
35741 #define HAVE_LINUX_JOYSTICK_H 1
35750 if test "$wxUSE_JOYSTICK" = "yes"; then
35751 $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
35753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
35755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
35756 $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
35762 if test "$wxUSE_FONTENUM" = "yes" ; then
35763 $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
35767 if test "$wxUSE_FONTMAP" = "yes" ; then
35768 $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
35772 if test "$wxUSE_UNICODE" = "yes" ; then
35773 $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
35776 if test "$USE_WIN32" != 1; then
35777 wxUSE_UNICODE_MSLU
=no
35780 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
35781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
35782 $as_echo_n "checking for main in -lunicows... " >&6; }
35783 if ${ac_cv_lib_unicows_main+:} false
; then :
35784 $as_echo_n "(cached) " >&6
35786 ac_check_lib_save_LIBS
=$LIBS
35787 LIBS
="-lunicows $LIBS"
35788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35789 /* end confdefs.h. */
35800 if ac_fn_c_try_link
"$LINENO"; then :
35801 ac_cv_lib_unicows_main
=yes
35803 ac_cv_lib_unicows_main
=no
35805 rm -f core conftest.err conftest.
$ac_objext \
35806 conftest
$ac_exeext conftest.
$ac_ext
35807 LIBS
=$ac_check_lib_save_LIBS
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
35810 $as_echo "$ac_cv_lib_unicows_main" >&6; }
35811 if test "x$ac_cv_lib_unicows_main" = xyes
; then :
35813 $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35819 Applications will only run on Windows NT/2000/XP!" >&5
35820 $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
35821 Applications will only run on Windows NT/2000/XP!" >&2;}
35822 wxUSE_UNICODE_MSLU
=no
35829 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
35830 $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
35833 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
35834 $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
35840 if test "$wxUSE_CONSTRAINTS" = "yes"; then
35841 $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
35843 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
35846 if test "$wxUSE_MDI" = "yes"; then
35847 $as_echo "#define wxUSE_MDI 1" >>confdefs.h
35850 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
35851 $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
35853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
35857 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
35858 $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
35860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
35863 if test "$wxUSE_HELP" = "yes"; then
35864 $as_echo "#define wxUSE_HELP 1" >>confdefs.h
35866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
35868 if test "$wxUSE_MSW" = 1; then
35869 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
35870 $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
35875 if test "$wxUSE_WXHTML_HELP" = "yes"; then
35876 if test "$wxUSE_HTML" = "yes"; then
35877 $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
35880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
35881 $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
35882 wxUSE_WXHTML_HELP
=no
35887 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
35888 $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
35890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
35893 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
35894 $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
35898 $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
35901 if test "$wxUSE_SVG" = "yes"; then
35902 $as_echo "#define wxUSE_SVG 1" >>confdefs.h
35907 if test "$wxUSE_METAFILE" = "yes"; then
35908 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
35910 $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
35913 elif test "$wxUSE_METAFILE" = "auto"; then
35914 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
35919 if test "$wxUSE_METAFILE" = "yes"; then
35920 $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
35922 if test "$wxUSE_MSW" = 1; then
35923 $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
35929 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
35930 -o "$wxUSE_CLIPBOARD" = "yes" \
35931 -o "$wxUSE_OLE" = "yes" \
35932 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
35933 ac_fn_c_check_header_compile
"$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
35935 if test "x$ac_cv_header_ole2_h" = xyes
; then :
35941 if test "$ac_cv_header_ole2_h" = "yes" ; then
35942 if test "$GCC" = yes ; then
35943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
35944 $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
35945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35946 /* end confdefs.h. */
35947 #include <windows.h>
35957 if ac_fn_c_try_compile
"$LINENO"; then :
35958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35959 $as_echo "no" >&6; }
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35962 $as_echo "yes" >&6; }
35963 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
35965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35966 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
35967 if test "$wxUSE_OLE" = "yes" ; then
35968 $as_echo "#define wxUSE_OLE 1" >>confdefs.h
35970 $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
35972 $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
35974 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
35978 if test "$wxUSE_DATAOBJ" = "yes" ; then
35979 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
35984 $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
35987 wxUSE_DRAG_AND_DROP
=no
35993 if test "$wxUSE_IPC" = "yes"; then
35994 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
35995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
35996 $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
36000 if test "$wxUSE_IPC" = "yes"; then
36001 $as_echo "#define wxUSE_IPC 1" >>confdefs.h
36003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
36007 if test "$wxUSE_DATAOBJ" = "yes"; then
36008 $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
36011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
36012 $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
36014 wxUSE_DRAG_AND_DROP
=no
36017 if test "$wxUSE_CLIPBOARD" = "yes"; then
36018 if test "$wxUSE_DFB" = 1; then
36019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
36020 $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
36024 if test "$wxUSE_CLIPBOARD" = "yes"; then
36025 $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
36030 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
36031 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
36032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
36033 $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
36034 wxUSE_DRAG_AND_DROP
=no
36037 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
36038 $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
36044 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
36045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
36048 if test "$wxUSE_CLIPBOARD" = "yes"; then
36049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
36052 if test "$wxUSE_SPLINES" = "yes" ; then
36053 $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
36057 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
36058 $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
36062 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
36063 $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
36065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
36068 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
36069 $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
36075 if test "$wxUSE_CONTROLS" = "yes"; then
36079 if test "$wxUSE_MARKUP" = "yes"; then
36080 $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
36084 if test "$wxUSE_ACCEL" = "yes"; then
36085 $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
36090 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
36091 $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
36094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
36097 if test "$wxUSE_BANNERWINDOW" = "yes"; then
36098 $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
36102 if test "$wxUSE_BUTTON" = "yes"; then
36103 $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
36108 if test "$wxUSE_BMPBUTTON" = "yes"; then
36109 $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
36114 if test "$wxUSE_CALCTRL" = "yes"; then
36115 $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
36118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
36121 if test "$wxUSE_CARET" = "yes"; then
36122 $as_echo "#define wxUSE_CARET 1" >>confdefs.h
36125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
36128 if test "$wxUSE_COLLPANE" = "yes"; then
36129 $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
36132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
36135 if test "$wxUSE_COMBOBOX" = "yes"; then
36136 $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
36141 if test "$wxUSE_COMBOCTRL" = "yes"; then
36142 $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
36147 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
36148 $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
36153 if test "$wxUSE_CHOICE" = "yes"; then
36154 $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
36159 if test "$wxUSE_CHOICEBOOK" = "yes"; then
36160 $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
36165 if test "$wxUSE_CHECKBOX" = "yes"; then
36166 $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
36171 if test "$wxUSE_CHECKLST" = "yes"; then
36172 $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
36177 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
36178 $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
36183 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
36184 $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
36189 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
36190 $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
36195 if test "$wxUSE_FILECTRL" = "yes"; then
36196 $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
36201 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
36202 $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
36207 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
36208 $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
36213 if test "$wxUSE_DISPLAY" = "yes"; then
36214 if test "$wxUSE_DFB" = 1; then
36215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
36216 $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
36219 $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
36221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
36225 if test "$wxUSE_DETECT_SM" = "yes"; then
36226 $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
36230 if test "$wxUSE_GAUGE" = "yes"; then
36231 $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
36236 if test "$wxUSE_GRID" = "yes"; then
36237 $as_echo "#define wxUSE_GRID 1" >>confdefs.h
36240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
36243 if test "$wxUSE_HEADERCTRL" = "yes"; then
36244 $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
36249 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
36250 $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
36255 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
36256 $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
36261 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
36262 $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
36265 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
36268 if test "$wxUSE_IMAGLIST" = "yes"; then
36269 $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
36273 if test "$wxUSE_INFOBAR" = "yes"; then
36274 $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
36278 if test "$wxUSE_LISTBOOK" = "yes"; then
36279 $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
36284 if test "$wxUSE_LISTBOX" = "yes"; then
36285 $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
36290 if test "$wxUSE_LISTCTRL" = "yes"; then
36291 if test "$wxUSE_IMAGLIST" = "yes"; then
36292 $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
36295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
36297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
36298 $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
36302 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
36303 $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
36308 if test "$wxUSE_NOTEBOOK" = "yes"; then
36309 $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
36312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
36315 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
36316 $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
36320 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
36321 $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
36324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
36327 if test "$wxUSE_RADIOBOX" = "yes"; then
36328 $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
36333 if test "$wxUSE_RADIOBTN" = "yes"; then
36334 $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
36339 if test "$wxUSE_REARRANGECTRL" = "yes"; then
36340 $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
36344 if test "$wxUSE_RICHMSGDLG" = "yes"; then
36345 $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
36349 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
36350 $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
36354 if test "$wxUSE_SASH" = "yes"; then
36355 $as_echo "#define wxUSE_SASH 1" >>confdefs.h
36357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
36360 if test "$wxUSE_SCROLLBAR" = "yes"; then
36361 $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
36364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
36367 if test "$wxUSE_SEARCHCTRL" = "yes"; then
36368 $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
36373 if test "$wxUSE_SLIDER" = "yes"; then
36374 $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
36379 if test "$wxUSE_SPINBTN" = "yes"; then
36380 $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
36385 if test "$wxUSE_SPINCTRL" = "yes"; then
36386 $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
36391 if test "$wxUSE_SPLITTER" = "yes"; then
36392 $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
36394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
36397 if test "$wxUSE_STATBMP" = "yes"; then
36398 $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
36403 if test "$wxUSE_STATBOX" = "yes"; then
36404 $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
36409 if test "$wxUSE_STATTEXT" = "yes"; then
36410 $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
36415 if test "$wxUSE_STATLINE" = "yes"; then
36416 $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
36421 if test "$wxUSE_STATUSBAR" = "yes"; then
36422 $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
36424 $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
36428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
36431 if test "$wxUSE_TEXTCTRL" = "yes"; then
36432 $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
36435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
36437 $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
36439 $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
36443 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
36444 $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
36449 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36450 if test "$wxUSE_OLD_COCOA" = 1 ; then
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
36452 $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
36456 if test "$wxUSE_TOGGLEBTN" = "yes"; then
36457 $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
36463 if test "$wxUSE_TOOLBAR" = "yes"; then
36464 $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
36468 if test "$wxUSE_UNIVERSAL" = "yes"; then
36469 wxUSE_TOOLBAR_NATIVE
="no"
36471 wxUSE_TOOLBAR_NATIVE
="yes"
36472 $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
36476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
36479 if test "$wxUSE_TOOLTIPS" = "yes"; then
36480 if test "$wxUSE_MOTIF" = 1; then
36481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
36482 $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
36484 if test "$wxUSE_UNIVERSAL" = "yes"; then
36485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
36486 $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
36488 $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
36494 if test "$wxUSE_TREEBOOK" = "yes"; then
36495 $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
36500 if test "$wxUSE_TOOLBOOK" = "yes"; then
36501 $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
36506 if test "$wxUSE_TREECTRL" = "yes"; then
36507 if test "$wxUSE_IMAGLIST" = "yes"; then
36508 $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
36511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
36514 $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
36518 if test "$wxUSE_TREELISTCTRL" = "yes"; then
36519 $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
36522 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
36525 if test "$wxUSE_POPUPWIN" = "yes"; then
36526 if test "$wxUSE_OLD_COCOA" = 1 ; then
36527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
36528 $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
36530 if test "$wxUSE_PM" = 1; then
36531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
36532 $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
36534 $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
36536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
36543 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
36544 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
36546 $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
36548 $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
36550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
36554 if test "$wxUSE_TIPWINDOW" = "yes"; then
36555 if test "$wxUSE_PM" = 1; then
36556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
36557 $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
36559 $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
36564 if test "$USES_CONTROLS" = 1; then
36565 $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
36570 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
36571 $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
36573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
36576 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
36577 $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
36581 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
36582 if test "$wxUSE_GTK" != 1; then
36583 if test "$wxUSE_LIBPNG" != no
-a \
36584 "$wxUSE_IMAGE" = yes -a \
36585 "$wxUSE_STREAMS" = yes; then
36586 wxUSE_ARTPROVIDER_TANGO
="yes"
36591 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
36592 $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
36596 if test "$wxUSE_DRAGIMAGE" = "yes"; then
36597 $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
36599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
36602 if test "$wxUSE_EXCEPTIONS" = "yes"; then
36603 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
36604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
36605 $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
36607 $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
36609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
36614 if test "$wxUSE_HTML" = "yes"; then
36615 $as_echo "#define wxUSE_HTML 1" >>confdefs.h
36618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
36620 if test "$wxUSE_WEBKIT" = "yes"; then
36621 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36622 old_CPPFLAGS
="$CPPFLAGS"
36623 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36624 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36625 #include <Carbon/Carbon.h>
36626 #include <WebKit/WebKit.h>
36629 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36631 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36633 WEBKIT_LINK
="-framework WebKit"
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
36638 $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
36644 CPPFLAGS
="$old_CPPFLAGS"
36645 elif test "$wxUSE_OLD_COCOA" = 1; then
36646 $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
36651 if test "$wxUSE_WEBKIT" = "yes"; then
36652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
36657 if test "$wxUSE_XRC" = "yes"; then
36658 if test "$wxUSE_XML" != "yes"; then
36659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
36660 $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
36663 $as_echo "#define wxUSE_XRC 1" >>confdefs.h
36666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
36671 if test "$wxUSE_AUI" = "yes"; then
36672 $as_echo "#define wxUSE_AUI 1" >>confdefs.h
36675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
36679 if test "$wxUSE_PROPGRID" = "yes"; then
36680 $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
36683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
36687 if test "$wxUSE_RIBBON" = "yes"; then
36688 $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
36691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
36695 if test "$wxUSE_STC" = "yes"; then
36696 $as_echo "#define wxUSE_STC 1" >>confdefs.h
36699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
36701 # Extract the first word of "python", so it can be a program name with args.
36702 set dummy python
; ac_word
=$2
36703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
36704 $as_echo_n "checking for $ac_word... " >&6; }
36705 if ${ac_cv_path_PYTHON+:} false
; then :
36706 $as_echo_n "(cached) " >&6
36710 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
36713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36714 for as_dir
in $PATH
36717 test -z "$as_dir" && as_dir
=.
36718 for ac_exec_ext
in '' $ac_executable_extensions; do
36719 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
36720 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
36721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
36731 PYTHON
=$ac_cv_path_PYTHON
36732 if test -n "$PYTHON"; then
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
36734 $as_echo "$PYTHON" >&6; }
36736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36737 $as_echo "no" >&6; }
36741 if test "x$PYTHON" = "x"; then
36747 if test "$wxUSE_MENUS" = "yes"; then
36748 $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
36750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
36753 if test "$wxUSE_MIMETYPE" = "yes"; then
36754 $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
36758 if test "$wxUSE_MINIFRAME" = "yes"; then
36759 $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
36763 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
36764 $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
36768 if test "$wxUSE_TASKBARICON" = "yes"; then
36769 $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
36771 $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
36773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
36777 if test "$wxUSE_VALIDATORS" = "yes"; then
36778 $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
36780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
36783 if test "$wxUSE_PALETTE" = "yes" ; then
36784 if test "$wxUSE_DFB" = 1; then
36785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
36786 $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
36789 $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
36794 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
36795 LIBS
=" -lunicows $LIBS"
36799 if test "$wxUSE_RICHTEXT" = "yes"; then
36800 $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
36803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
36806 if test "$wxUSE_WEBVIEW" = "yes"; then
36807 USE_WEBVIEW_WEBKIT
=0
36808 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
36809 if test "$wxUSE_GTK" = 1; then
36810 webkitgtk
=webkit
-1.0
36811 if test "$WXGTK3" = 1; then
36812 webkitgtk
=webkitgtk
-3.0
36816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
36817 $as_echo_n "checking for WEBKIT... " >&6; }
36819 if test -n "$PKG_CONFIG"; then
36820 if test -n "$WEBKIT_CFLAGS"; then
36821 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
36823 if test -n "$PKG_CONFIG" && \
36824 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36825 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36828 test $ac_status = 0; }; then
36829 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
36837 if test -n "$PKG_CONFIG"; then
36838 if test -n "$WEBKIT_LIBS"; then
36839 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
36841 if test -n "$PKG_CONFIG" && \
36842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
36843 ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
36845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36846 test $ac_status = 0; }; then
36847 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
36858 if test $pkg_failed = yes; then
36860 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36861 _pkg_short_errors_supported
=yes
36863 _pkg_short_errors_supported
=no
36865 if test $_pkg_short_errors_supported = yes; then
36866 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36868 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
36870 # Put the nasty error message in config.log where it belongs
36871 echo "$WEBKIT_PKG_ERRORS" >&5
36874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36875 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36877 elif test $pkg_failed = untried
; then
36879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
36880 $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
36883 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
36884 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
36885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36886 $as_echo "yes" >&6; }
36888 USE_WEBVIEW_WEBKIT
=1
36889 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
36890 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
36893 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
36894 old_CPPFLAGS
="$CPPFLAGS"
36895 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
36896 ac_fn_c_check_header_compile
"$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
36897 #include <Carbon/Carbon.h>
36898 #include <WebKit/WebKit.h>
36901 if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes
; then :
36903 USE_WEBVIEW_WEBKIT
=1
36904 WEBKIT_LINK
="-framework WebKit"
36908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
36909 $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
36914 CPPFLAGS
="$old_CPPFLAGS"
36919 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
36920 if test "$USE_WEBVIEW_WEBKIT" = 1; then
36921 wxUSE_WEBVIEW
="yes"
36922 $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
36925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
36926 $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
36928 elif test "$wxUSE_MSW" = 1; then
36929 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
36930 wxUSE_WEBVIEW
="yes"
36931 $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
36937 if test "$wxUSE_WEBVIEW" = "yes"; then
36939 $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
36941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
36947 if test "$wxUSE_IMAGE" = "yes" ; then
36948 $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
36951 if test "$wxUSE_GIF" = "yes" ; then
36952 $as_echo "#define wxUSE_GIF 1" >>confdefs.h
36956 if test "$wxUSE_PCX" = "yes" ; then
36957 $as_echo "#define wxUSE_PCX 1" >>confdefs.h
36961 if test "$wxUSE_TGA" = "yes" ; then
36962 $as_echo "#define wxUSE_TGA 1" >>confdefs.h
36966 if test "$wxUSE_IFF" = "yes" ; then
36967 $as_echo "#define wxUSE_IFF 1" >>confdefs.h
36971 if test "$wxUSE_PNM" = "yes" ; then
36972 $as_echo "#define wxUSE_PNM 1" >>confdefs.h
36976 if test "$wxUSE_XPM" = "yes" ; then
36977 $as_echo "#define wxUSE_XPM 1" >>confdefs.h
36981 if test "$wxUSE_ICO_CUR" = "yes" ; then
36982 $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
36988 if test "$wxUSE_ABOUTDLG" = "yes"; then
36989 $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
36993 if test "$wxUSE_CHOICEDLG" = "yes"; then
36994 $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
36998 if test "$wxUSE_COLOURDLG" = "yes"; then
36999 $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
37003 if test "$wxUSE_FILEDLG" = "yes"; then
37004 $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
37008 if test "$wxUSE_FINDREPLDLG" = "yes"; then
37009 $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
37013 if test "$wxUSE_FONTDLG" = "yes"; then
37014 $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
37018 if test "$wxUSE_DIRDLG" = "yes"; then
37019 if test "$wxUSE_TREECTRL" != "yes"; then
37020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
37021 $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
37023 $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
37028 if test "$wxUSE_MSGDLG" = "yes"; then
37029 $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
37033 if test "$wxUSE_NUMBERDLG" = "yes"; then
37034 $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
37038 if test "$wxUSE_PROGRESSDLG" = "yes"; then
37039 $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
37043 if test "$wxUSE_SPLASH" = "yes"; then
37044 $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
37046 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
37049 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
37050 $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
37054 if test "$wxUSE_TEXTDLG" = "yes"; then
37055 $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
37059 if test "$wxUSE_WIZARDDLG" = "yes"; then
37060 $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
37062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
37066 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
37067 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
37068 $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
37074 if test "$wxUSE_MSW" = 1 ; then
37076 if test "$wxUSE_DC_CACHEING" = "yes"; then
37077 $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
37081 if test "$wxUSE_DIB" = "yes"; then
37082 $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
37086 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
37087 $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
37091 if test "$wxUSE_UXTHEME" = "yes"; then
37092 $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
37098 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
37099 $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
37103 if test "$USE_WIN32" = 1 ; then
37104 if test "$wxUSE_INICONF" = "yes"; then
37105 $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
37109 if test "$wxUSE_REGKEY" = "yes"; then
37110 $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
37116 if test "$wxUSE_MAC" = 1; then
37117 wxUSE_GRAPHICS_CONTEXT
="yes"
37120 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
37122 if test "$wxUSE_MSW" = 1; then
37123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
37124 $as_echo_n "checking if GDI+ is available... " >&6; }
37125 if ${wx_cv_lib_gdiplus+:} false
; then :
37126 $as_echo_n "(cached) " >&6
37130 ac_cpp
='$CXXCPP $CPPFLAGS'
37131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37136 /* end confdefs.h. */
37137 #include <windows.h>
37138 #include <gdiplus.h>
37143 using namespace Gdiplus;
37149 if ac_fn_cxx_try_compile
"$LINENO"; then :
37150 wx_cv_lib_gdiplus
=yes
37152 wx_cv_lib_gdiplus
=no
37155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37157 ac_cpp
='$CPP $CPPFLAGS'
37158 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37159 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37160 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
37166 $as_echo "$wx_cv_lib_gdiplus" >&6; }
37167 if test "$wx_cv_lib_gdiplus" = "yes"; then
37170 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
37173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
37174 $as_echo_n "checking for CAIRO... " >&6; }
37176 if test -n "$PKG_CONFIG"; then
37177 if test -n "$CAIRO_CFLAGS"; then
37178 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
37180 if test -n "$PKG_CONFIG" && \
37181 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37182 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37185 test $ac_status = 0; }; then
37186 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
37194 if test -n "$PKG_CONFIG"; then
37195 if test -n "$CAIRO_LIBS"; then
37196 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
37198 if test -n "$PKG_CONFIG" && \
37199 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
37200 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
37202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37203 test $ac_status = 0; }; then
37204 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
37215 if test $pkg_failed = yes; then
37217 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37218 _pkg_short_errors_supported
=yes
37220 _pkg_short_errors_supported
=no
37222 if test $_pkg_short_errors_supported = yes; then
37223 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
37225 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
37227 # Put the nasty error message in config.log where it belongs
37228 echo "$CAIRO_PKG_ERRORS" >&5
37230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37231 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37233 elif test $pkg_failed = untried
; then
37234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
37235 $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
37238 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
37239 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
37240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37241 $as_echo "yes" >&6; }
37244 if test "$wx_has_graphics" = 1; then
37246 LIBS
="$LIBS $CAIRO_LIBS"
37247 for ac_func
in cairo_push_group
37249 ac_fn_c_check_func
"$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
37250 if test "x$ac_cv_func_cairo_push_group" = xyes
; then :
37251 cat >>confdefs.h
<<_ACEOF
37252 #define HAVE_CAIRO_PUSH_GROUP 1
37259 if test "$ac_cv_func_cairo_push_group" = "no"; then
37261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
37262 $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
37264 $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
37267 if test "$wxUSE_GTK" != 1; then
37268 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
37269 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
37277 if test "$wx_has_graphics" = 1; then
37278 $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
37282 $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
37289 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
37292 if test "$wxUSE_GTK" = 1; then
37293 wxUSE_GSTREAMER
="no"
37295 GST_VERSION_MAJOR
=0
37296 GST_VERSION_MINOR
=10
37297 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37299 if test "$wxUSE_GSTREAMER8" = "no"; then
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37303 $as_echo_n "checking for GST... " >&6; }
37305 if test -n "$PKG_CONFIG"; then
37306 if test -n "$GST_CFLAGS"; then
37307 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37309 if test -n "$PKG_CONFIG" && \
37310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37311 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37314 test $ac_status = 0; }; then
37315 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37323 if test -n "$PKG_CONFIG"; then
37324 if test -n "$GST_LIBS"; then
37325 pkg_cv_GST_LIBS
="$GST_LIBS"
37327 if test -n "$PKG_CONFIG" && \
37328 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
37329 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
37331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37332 test $ac_status = 0; }; then
37333 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
37344 if test $pkg_failed = yes; then
37346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37347 _pkg_short_errors_supported
=yes
37349 _pkg_short_errors_supported
=no
37351 if test $_pkg_short_errors_supported = yes; then
37352 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37354 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
37356 # Put the nasty error message in config.log where it belongs
37357 echo "$GST_PKG_ERRORS" >&5
37360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37361 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37362 GST_VERSION_MINOR
=8
37365 elif test $pkg_failed = untried
; then
37367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
37368 $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
37369 GST_VERSION_MINOR
=8
37373 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37374 GST_LIBS
=$pkg_cv_GST_LIBS
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37376 $as_echo "yes" >&6; }
37378 wxUSE_GSTREAMER
="yes"
37379 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
37383 GST_VERSION_MINOR
=8
37386 if test $GST_VERSION_MINOR = "8"; then
37387 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
37390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
37391 $as_echo_n "checking for GST... " >&6; }
37393 if test -n "$PKG_CONFIG"; then
37394 if test -n "$GST_CFLAGS"; then
37395 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
37397 if test -n "$PKG_CONFIG" && \
37398 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37399 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37401 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37402 test $ac_status = 0; }; then
37403 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37411 if test -n "$PKG_CONFIG"; then
37412 if test -n "$GST_LIBS"; then
37413 pkg_cv_GST_LIBS
="$GST_LIBS"
37415 if test -n "$PKG_CONFIG" && \
37416 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
37417 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
37419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37420 test $ac_status = 0; }; then
37421 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
37432 if test $pkg_failed = yes; then
37434 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37435 _pkg_short_errors_supported
=yes
37437 _pkg_short_errors_supported
=no
37439 if test $_pkg_short_errors_supported = yes; then
37440 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37442 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
37444 # Put the nasty error message in config.log where it belongs
37445 echo "$GST_PKG_ERRORS" >&5
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37449 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37451 elif test $pkg_failed = untried
; then
37453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
37454 $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
37457 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
37458 GST_LIBS
=$pkg_cv_GST_LIBS
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37460 $as_echo "yes" >&6; }
37461 wxUSE_GSTREAMER
="yes"
37466 if test "$wxUSE_GSTREAMER" = "yes"; then
37467 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
37468 EXTRALIBS_MEDIA
="$GST_LIBS"
37470 $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
37476 elif test "$wxUSE_MAC" = 1; then
37477 GST_LIBS
="-framework QTKit"
37480 if test $USE_MEDIA = 1; then
37481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
37482 $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
37485 if test "$wxUSE_MEDIACTRL" = "yes"; then
37486 as_fn_error $?
"GStreamer not available" "$LINENO" 5
37488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
37489 $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
37495 if test "$cross_compiling" != "no"; then
37498 OSINFO
=`uname -s -r -m`
37499 OSINFO
="\"$OSINFO\""
37502 cat >>confdefs.h
<<_ACEOF
37503 #define WXWIN_OS_DESCRIPTION $OSINFO
37508 if test "x$prefix" != "xNONE"; then
37511 wxPREFIX
=$ac_default_prefix
37514 cat >>confdefs.h
<<_ACEOF
37515 #define wxINSTALL_PREFIX "$wxPREFIX"
37521 STD_BASE_LIBS
="base"
37523 BUILT_WX_LIBS
="base"
37524 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
37526 if test "$wxUSE_SOCKETS" = "yes" ; then
37527 STD_BASE_LIBS
="net $STD_BASE_LIBS"
37528 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
37530 if test "$wxUSE_XML" = "yes" ; then
37531 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
37532 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
37535 if test "$wxUSE_GUI" = "yes"; then
37536 STD_GUI_LIBS
="adv core"
37537 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
37539 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37540 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
37541 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
37543 if test "$wxUSE_HTML" = "yes" ; then
37544 STD_GUI_LIBS
="html $STD_GUI_LIBS"
37545 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
37547 if test "$wxUSE_MEDIACTRL" = "yes" ; then
37548 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
37550 if test "$wxUSE_OPENGL" = "yes" ; then
37551 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
37553 if test "$wxUSE_AUI" = "yes" ; then
37554 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
37556 if test "$wxUSE_PROPGRID" = "yes" ; then
37557 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
37559 if test "$wxUSE_RIBBON" = "yes" ; then
37560 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
37562 if test "$wxUSE_RICHTEXT" = "yes" ; then
37563 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
37565 if test "$wxUSE_STC" = "yes" ; then
37566 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
37568 if test "$wxUSE_WEBVIEW" = "yes" ; then
37569 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
37570 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
37572 if test "$wxUSE_XRC" = "yes" ; then
37573 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
37574 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
37585 if test "$wxUSE_MAC" = 1 ; then
37586 if test "$USE_DARWIN" = 1; then
37587 if test "$wxUSE_OSX_IPHONE" = 1; then
37588 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
37590 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
37593 if test "$cross_compiling" != "no"; then
37594 wx_cv_target_x86_64
=no
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
37597 $as_echo_n "checking if we target only x86_64... " >&6; }
37598 if ${wx_cv_target_x86_64+:} false
; then :
37599 $as_echo_n "(cached) " >&6
37601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37602 /* end confdefs.h. */
37603 int main() { return 0; }
37605 if ac_fn_c_try_link
"$LINENO"; then :
37606 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
37607 wx_cv_target_x86_64
=no
37609 wx_cv_target_x86_64
=yes
37613 rm -f core conftest.err conftest.
$ac_objext \
37614 conftest
$ac_exeext conftest.
$ac_ext
37617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
37618 $as_echo "$wx_cv_target_x86_64" >&6; }
37621 if test "$wx_cv_target_x86_64" != "yes"; then
37622 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37627 if test "$wxUSE_OLD_COCOA" = 1 ; then
37628 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
37629 if test "$wxUSE_MEDIACTRL" = "yes"; then
37630 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
37633 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
37634 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
37637 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
37638 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
37640 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
37642 if test "$wxUSE_GUI" = "yes"; then
37645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
37646 erase event exec font image minimal preferences render \
37647 shaped svg taborder vscroll widgets wrapsizer"
37649 if test "$wxUSE_MONOLITHIC" != "yes"; then
37650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
37652 if test "$TOOLKIT" = "MSW"; then
37653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
37654 if test "$wxUSE_UNIVERSAL" != "yes"; then
37655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
37658 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
37659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
37662 SAMPLES_SUBDIRS
="console"
37663 if test "$wxUSE_SOCKETS" = "yes" ; then
37664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
37666 if test "$wxUSE_IPC" = "yes" ; then
37667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
37672 if test "x$INTELCC" = "xyes" ; then
37673 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
37674 elif test "$GCC" = yes ; then
37675 CWARNINGS
="-Wall -Wundef"
37678 if test "x$INTELCXX" = "xyes" ; then
37679 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
37680 elif test "$GXX" = yes ; then
37681 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
37682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
37683 $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
37684 if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false
; then :
37685 $as_echo_n "(cached) " >&6
37687 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
37690 ac_cpp
='$CXXCPP $CPPFLAGS'
37691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37695 ac_save_CXXFLAGS
="$CXXFLAGS"
37696 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
37697 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
37698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37699 /* end confdefs.h. */
37709 if ac_fn_cxx_try_compile
"$LINENO"; then :
37710 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
37712 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37714 CXXFLAGS
="$ac_save_CXXFLAGS"
37716 ac_cpp
='$CPP $CPPFLAGS'
37717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
37724 $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
37725 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
37729 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev
/null
37730 then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
37731 (: CXXWARNINGS does contain
$ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
37733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37734 test $ac_status = 0; }
37735 else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
37736 (: CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
37738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37739 test $ac_status = 0; }
37740 CXXWARNINGS
="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
37746 if test "$wxUSE_MAC" = 1 ; then
37747 CXXWARNINGS
="$CXXWARNINGS -Wno-deprecated-declarations"
37752 WXCONFIG_CFLAGS
=`echo $WXCONFIG_CFLAGS`
37753 WXCONFIG_CXXFLAGS
=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
37756 CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS \
37757 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
37758 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
37761 C_AND_CXX_FLAGS
="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
37762 CFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
37763 CXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
37764 OBJCFLAGS
=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
37765 OBJCXXFLAGS
=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
37767 WXCONFIG_CPPFLAGS
=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
37770 if test "x$MWCC" = "xyes"; then
37772 CC
="$CC -cwd source -I-"
37773 CXX
="$CXX -cwd source -I-"
37778 EXTRALIBS
="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
37779 EXTRALIBS_XML
="$EXPAT_LINK"
37780 EXTRALIBS_HTML
="$MSPACK_LINK"
37781 EXTRALIBS_MEDIA
="$GST_LIBS"
37782 EXTRALIBS_STC
="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37783 if test "$wxUSE_GUI" = "yes"; then
37784 EXTRALIBS_GUI
=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
37786 if test "$wxUSE_OPENGL" = "yes"; then
37787 EXTRALIBS_OPENGL
="$LDFLAGS_GL $OPENGL_LIBS"
37790 LDFLAGS
="$LDFLAGS $PROFILE_FLAGS"
37792 WXCONFIG_LIBS
="$LIBS"
37794 if test "$wxUSE_REGEX" = "builtin" ; then
37795 wxconfig_3rdparty
="regex${lib_unicode_suffix} $wxconfig_3rdparty"
37797 if test "$wxUSE_EXPAT" = "builtin" ; then
37798 wxconfig_3rdparty
="expat $wxconfig_3rdparty"
37800 if test "$wxUSE_LIBTIFF" = "builtin" ; then
37801 wxconfig_3rdparty
="tiff $wxconfig_3rdparty"
37803 if test "$wxUSE_LIBJPEG" = "builtin" ; then
37804 wxconfig_3rdparty
="jpeg $wxconfig_3rdparty"
37806 if test "$wxUSE_LIBPNG" = "builtin" ; then
37807 wxconfig_3rdparty
="png $wxconfig_3rdparty"
37809 if test "$wxUSE_ZLIB" = "builtin" ; then
37810 wxconfig_3rdparty
="zlib $wxconfig_3rdparty"
37813 for i
in $wxconfig_3rdparty ; do
37814 WXCONFIG_LIBS
="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
37818 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
37821 case "$wxUNIV_THEMES" in
37823 $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
37828 for t
in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
37829 cat >>confdefs.h
<<_ACEOF
37830 #define wxUSE_THEME_$t 1
37846 if test $wxUSE_MONOLITHIC = "yes" ; then
37852 if test $wxUSE_PLUGINS = "yes" ; then
37858 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
37864 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
37892 TOOLKIT_LOWERCASE
=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
37905 TOOLKIT_DESC
="GTK+"
37906 if test "$WXGTK2" = 1; then
37907 if test "$WXGTK3" = 1; then
37908 TOOLKIT_DESC
="$TOOLKIT_DESC 3"
37910 TOOLKIT_DESC
="$TOOLKIT_DESC 2"
37912 if test "$wxUSE_GTKPRINT" = "yes" ; then
37913 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA GTK+ printing";
37915 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
37916 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomeprint";
37918 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
37919 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA gnomevfs"
37921 if test "$wxUSE_LIBNOTIFY" = "yes" ; then
37922 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA libnotify"
37924 if test "$wxUSE_LIBHILDON" = "yes"; then
37925 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37927 if test "$wxUSE_LIBHILDON2" = "yes"; then
37928 TOOLKIT_EXTRA
="$TOOLKIT_EXTRA hildon"
37931 if test "$TOOLKIT_EXTRA" != ""; then
37932 TOOLKIT_DESC
="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
37938 TOOLKIT_DESC
=$TOOLKIT_LOWERCASE
37942 TOOLKIT_DESC
="base only"
37946 if test "$wxUSE_WINE" = "yes"; then
37947 BAKEFILE_FORCE_PLATFORM
=win32
37950 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
37953 $as_echo_n "checking for gcc precompiled header bug... " >&6; }
37954 if ${wx_cv_gcc_pch_bug+:} false
; then :
37955 $as_echo_n "(cached) " >&6
37958 echo '#include <stdio.h>
37959 const wchar_t test_var[] = L"awidetest";' > conftest.h
37961 echo '#include "conftest.h"
37964 printf("%ls", test_var);
37968 wx_cv_gcc_pch_bug
="pch not supported"
37970 if $CXX conftest.h
>/dev
/null
2>&1
37974 if $CXX -o conftest
$PROGRAM_EXT conftest.cpp
>/dev
/null
2>&1
37976 if tr -dc '[a-z]' < conftest
$PROGRAM_EXT |
37977 grep awidetest
>/dev
/null
37979 wx_cv_gcc_pch_bug
=no
37981 wx_cv_gcc_pch_bug
=yes
37986 rm -f conftest.h conftest.gch conftest.cpp conftest
$PROGRAM_EXT
37989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
37990 $as_echo "$wx_cv_gcc_pch_bug" >&6; }
37992 if test "$wx_cv_gcc_pch_bug" = yes; then
37997 # Find a good install program. We prefer a C program (faster),
37998 # so one script is as good as another. But avoid the broken or
37999 # incompatible versions:
38000 # SysV /etc/install, /usr/sbin/install
38001 # SunOS /usr/etc/install
38002 # IRIX /sbin/install
38004 # AmigaOS /C/install, which installs bootblocks on floppy discs
38005 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
38006 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
38007 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
38008 # OS/2's system install, which has a completely different semantic
38009 # ./install, which can be erroneously created by make from ./install.sh.
38010 # Reject install programs that cannot install multiple files.
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
38012 $as_echo_n "checking for a BSD-compatible install... " >&6; }
38013 if test -z "$INSTALL"; then
38014 if ${ac_cv_path_install+:} false
; then :
38015 $as_echo_n "(cached) " >&6
38017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38018 for as_dir
in $PATH
38021 test -z "$as_dir" && as_dir
=.
38022 # Account for people who put trailing slashes in PATH elements.
38023 case $as_dir/ in #((
38024 .
/ | .
// | /[cC
]/* | \
38025 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
38026 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
38029 # OSF1 and SCO ODT 3.0 have their own names for install.
38030 # Don't use installbsd from OSF since it installs stuff as root
38032 for ac_prog
in ginstall scoinst
install; do
38033 for ac_exec_ext
in '' $ac_executable_extensions; do
38034 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
38035 if test $ac_prog = install &&
38036 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38037 # AIX install. It has an incompatible calling convention.
38039 elif test $ac_prog = install &&
38040 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
38041 # program-specific install script used by HP pwplus--don't use.
38044 rm -rf conftest.one conftest.two conftest.dir
38045 echo one
> conftest.one
38046 echo two
> conftest.two
38048 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
38049 test -s conftest.one
&& test -s conftest.two
&&
38050 test -s conftest.dir
/conftest.one
&&
38051 test -s conftest.dir
/conftest.two
38053 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
38066 rm -rf conftest.one conftest.two conftest.dir
38069 if test "${ac_cv_path_install+set}" = set; then
38070 INSTALL
=$ac_cv_path_install
38072 # As a last resort, use the slow shell script. Don't cache a
38073 # value for INSTALL within a source directory, because that will
38074 # break other packages using the cache if that directory is
38075 # removed, or if the value is a relative name.
38076 INSTALL
=$ac_install_sh
38079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
38080 $as_echo "$INSTALL" >&6; }
38082 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
38083 # It thinks the first close brace ends the variable substitution.
38084 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
38086 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
38088 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
38096 if test "x$BAKEFILE_HOST" = "x"; then
38097 if test "x${host}" = "x" ; then
38098 as_fn_error $?
"You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
38101 BAKEFILE_HOST
="${host}"
38104 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
38106 if test -n "$ac_tool_prefix"; then
38107 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
38108 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
38109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38110 $as_echo_n "checking for $ac_word... " >&6; }
38111 if ${ac_cv_prog_RANLIB+:} false
; then :
38112 $as_echo_n "(cached) " >&6
38114 if test -n "$RANLIB"; then
38115 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
38117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38118 for as_dir
in $PATH
38121 test -z "$as_dir" && as_dir
=.
38122 for ac_exec_ext
in '' $ac_executable_extensions; do
38123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38124 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
38125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38134 RANLIB
=$ac_cv_prog_RANLIB
38135 if test -n "$RANLIB"; then
38136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
38137 $as_echo "$RANLIB" >&6; }
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38140 $as_echo "no" >&6; }
38145 if test -z "$ac_cv_prog_RANLIB"; then
38146 ac_ct_RANLIB
=$RANLIB
38147 # Extract the first word of "ranlib", so it can be a program name with args.
38148 set dummy ranlib
; ac_word
=$2
38149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38150 $as_echo_n "checking for $ac_word... " >&6; }
38151 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
38152 $as_echo_n "(cached) " >&6
38154 if test -n "$ac_ct_RANLIB"; then
38155 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
38157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38158 for as_dir
in $PATH
38161 test -z "$as_dir" && as_dir
=.
38162 for ac_exec_ext
in '' $ac_executable_extensions; do
38163 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38164 ac_cv_prog_ac_ct_RANLIB
="ranlib"
38165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38174 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
38175 if test -n "$ac_ct_RANLIB"; then
38176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
38177 $as_echo "$ac_ct_RANLIB" >&6; }
38179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38180 $as_echo "no" >&6; }
38183 if test "x$ac_ct_RANLIB" = x
; then
38186 case $cross_compiling:$ac_tool_warned in
38188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38190 ac_tool_warned
=yes ;;
38192 RANLIB
=$ac_ct_RANLIB
38195 RANLIB
="$ac_cv_prog_RANLIB"
38199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
38200 $as_echo_n "checking whether ln -s works... " >&6; }
38202 if test "$LN_S" = "ln -s"; then
38203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38204 $as_echo "yes" >&6; }
38206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
38207 $as_echo "no, using $LN_S" >&6; }
38211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
38212 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
38214 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
38215 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
38216 $as_echo_n "(cached) " >&6
38218 cat >conftest.
make <<\_ACEOF
38221 @
echo '@@@%%%=$(MAKE)=@@@%%%'
38223 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
38224 case `${MAKE-make} -f conftest.make 2>/dev/null` in
38225 *@@@
%%%=?
*=@@@
%%%*)
38226 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
38228 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
38230 rm -f conftest.
make
38232 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38234 $as_echo "yes" >&6; }
38237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38238 $as_echo "no" >&6; }
38239 SET_MAKE
="MAKE=${MAKE-make}"
38244 if test "x$SUNCXX" = "xyes"; then
38246 AROPTIONS
="-xar -o"
38248 elif test "x$SGICC" = "xyes"; then
38253 if test -n "$ac_tool_prefix"; then
38254 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
38255 set dummy
${ac_tool_prefix}ar; ac_word
=$2
38256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38257 $as_echo_n "checking for $ac_word... " >&6; }
38258 if ${ac_cv_prog_AR+:} false
; then :
38259 $as_echo_n "(cached) " >&6
38261 if test -n "$AR"; then
38262 ac_cv_prog_AR
="$AR" # Let the user override the test.
38264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38265 for as_dir
in $PATH
38268 test -z "$as_dir" && as_dir
=.
38269 for ac_exec_ext
in '' $ac_executable_extensions; do
38270 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38271 ac_cv_prog_AR
="${ac_tool_prefix}ar"
38272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38282 if test -n "$AR"; then
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
38284 $as_echo "$AR" >&6; }
38286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38287 $as_echo "no" >&6; }
38292 if test -z "$ac_cv_prog_AR"; then
38294 # Extract the first word of "ar", so it can be a program name with args.
38295 set dummy
ar; ac_word
=$2
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38297 $as_echo_n "checking for $ac_word... " >&6; }
38298 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
38299 $as_echo_n "(cached) " >&6
38301 if test -n "$ac_ct_AR"; then
38302 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
38304 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38305 for as_dir
in $PATH
38308 test -z "$as_dir" && as_dir
=.
38309 for ac_exec_ext
in '' $ac_executable_extensions; do
38310 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38311 ac_cv_prog_ac_ct_AR
="ar"
38312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38321 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
38322 if test -n "$ac_ct_AR"; then
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
38324 $as_echo "$ac_ct_AR" >&6; }
38326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38327 $as_echo "no" >&6; }
38330 if test "x$ac_ct_AR" = x
; then
38333 case $cross_compiling:$ac_tool_warned in
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38337 ac_tool_warned
=yes ;;
38342 AR
="$ac_cv_prog_AR"
38349 if test -n "$ac_tool_prefix"; then
38350 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
38351 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
38352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38353 $as_echo_n "checking for $ac_word... " >&6; }
38354 if ${ac_cv_prog_STRIP+:} false
; then :
38355 $as_echo_n "(cached) " >&6
38357 if test -n "$STRIP"; then
38358 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
38360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38361 for as_dir
in $PATH
38364 test -z "$as_dir" && as_dir
=.
38365 for ac_exec_ext
in '' $ac_executable_extensions; do
38366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38367 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
38368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38377 STRIP
=$ac_cv_prog_STRIP
38378 if test -n "$STRIP"; then
38379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
38380 $as_echo "$STRIP" >&6; }
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38383 $as_echo "no" >&6; }
38388 if test -z "$ac_cv_prog_STRIP"; then
38390 # Extract the first word of "strip", so it can be a program name with args.
38391 set dummy strip
; ac_word
=$2
38392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38393 $as_echo_n "checking for $ac_word... " >&6; }
38394 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
38395 $as_echo_n "(cached) " >&6
38397 if test -n "$ac_ct_STRIP"; then
38398 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
38400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38401 for as_dir
in $PATH
38404 test -z "$as_dir" && as_dir
=.
38405 for ac_exec_ext
in '' $ac_executable_extensions; do
38406 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38407 ac_cv_prog_ac_ct_STRIP
="strip"
38408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38417 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
38418 if test -n "$ac_ct_STRIP"; then
38419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
38420 $as_echo "$ac_ct_STRIP" >&6; }
38422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38423 $as_echo "no" >&6; }
38426 if test "x$ac_ct_STRIP" = x
; then
38429 case $cross_compiling:$ac_tool_warned in
38431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38433 ac_tool_warned
=yes ;;
38438 STRIP
="$ac_cv_prog_STRIP"
38441 if test -n "$ac_tool_prefix"; then
38442 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
38443 set dummy
${ac_tool_prefix}nm
; ac_word
=$2
38444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38445 $as_echo_n "checking for $ac_word... " >&6; }
38446 if ${ac_cv_prog_NM+:} false
; then :
38447 $as_echo_n "(cached) " >&6
38449 if test -n "$NM"; then
38450 ac_cv_prog_NM
="$NM" # Let the user override the test.
38452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38453 for as_dir
in $PATH
38456 test -z "$as_dir" && as_dir
=.
38457 for ac_exec_ext
in '' $ac_executable_extensions; do
38458 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38459 ac_cv_prog_NM
="${ac_tool_prefix}nm"
38460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38470 if test -n "$NM"; then
38471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
38472 $as_echo "$NM" >&6; }
38474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38475 $as_echo "no" >&6; }
38480 if test -z "$ac_cv_prog_NM"; then
38482 # Extract the first word of "nm", so it can be a program name with args.
38483 set dummy nm
; ac_word
=$2
38484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38485 $as_echo_n "checking for $ac_word... " >&6; }
38486 if ${ac_cv_prog_ac_ct_NM+:} false
; then :
38487 $as_echo_n "(cached) " >&6
38489 if test -n "$ac_ct_NM"; then
38490 ac_cv_prog_ac_ct_NM
="$ac_ct_NM" # Let the user override the test.
38492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38493 for as_dir
in $PATH
38496 test -z "$as_dir" && as_dir
=.
38497 for ac_exec_ext
in '' $ac_executable_extensions; do
38498 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38499 ac_cv_prog_ac_ct_NM
="nm"
38500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38509 ac_ct_NM
=$ac_cv_prog_ac_ct_NM
38510 if test -n "$ac_ct_NM"; then
38511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
38512 $as_echo "$ac_ct_NM" >&6; }
38514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38515 $as_echo "no" >&6; }
38518 if test "x$ac_ct_NM" = x
; then
38521 case $cross_compiling:$ac_tool_warned in
38523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38525 ac_tool_warned
=yes ;;
38530 NM
="$ac_cv_prog_NM"
38534 INSTALL_DIR
="mkdir -p"
38538 case ${BAKEFILE_HOST} in
38539 *-*-cygwin* | *-*-mingw32* )
38540 LDFLAGS_GUI
="-mwindows"
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
38547 $as_echo_n "checking if make is GNU make... " >&6; }
38548 if ${bakefile_cv_prog_makeisgnu+:} false
; then :
38549 $as_echo_n "(cached) " >&6
38552 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
38553 egrep -s GNU
> /dev
/null
); then
38554 bakefile_cv_prog_makeisgnu
="yes"
38556 bakefile_cv_prog_makeisgnu
="no"
38560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
38561 $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
38563 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
38580 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
38581 case "${BAKEFILE_HOST}" in
38588 *-pc-os2_emx | *-pc-os2-emx )
38598 powerpc
-apple-macos* )
38607 case "$BAKEFILE_FORCE_PLATFORM" in
38628 as_fn_error $?
"Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
38643 # Check whether --enable-omf was given.
38644 if test "${enable_omf+set}" = set; then :
38645 enableval
=$enable_omf; bk_os2_use_omf
="$enableval"
38649 case "${BAKEFILE_HOST}" in
38651 if test "x$GCC" = "xyes"; then
38652 CFLAGS
="$CFLAGS -fno-common"
38653 CXXFLAGS
="$CXXFLAGS -fno-common"
38655 if test "x$XLCC" = "xyes"; then
38656 CFLAGS
="$CFLAGS -qnocommon"
38657 CXXFLAGS
="$CXXFLAGS -qnocommon"
38661 *-pc-os2_emx | *-pc-os2-emx )
38662 if test "x$bk_os2_use_omf" = "xyes" ; then
38665 LDFLAGS
="-Zomf $LDFLAGS"
38666 CFLAGS
="-Zomf $CFLAGS"
38667 CXXFLAGS
="-Zomf $CXXFLAGS"
38675 LDFLAGS
="-L/boot/develop/lib/x86 $LDFLAGS"
38681 SO_SUFFIX_MODULE
="so"
38686 DLLPREFIX_MODULE
=""
38690 case "${BAKEFILE_HOST}" in
38695 SO_SUFFIX_MODULE
="sl"
38699 SO_SUFFIX_MODULE
="a"
38703 SO_SUFFIX_MODULE
="dll"
38704 DLLIMP_SUFFIX
="dll.a"
38711 SO_SUFFIX_MODULE
="dll"
38712 DLLIMP_SUFFIX
="dll.a"
38722 *-pc-os2_emx | *-pc-os2-emx )
38724 SO_SUFFIX_MODULE
="dll"
38725 DLLIMP_SUFFIX
=$OS2_LIBEXT
38729 LIBEXT
=".$OS2_LIBEXT"
38734 SO_SUFFIX_MODULE
="bundle"
38738 if test "x$DLLIMP_SUFFIX" = "x" ; then
38739 DLLIMP_SUFFIX
="$SO_SUFFIX"
38754 if test "x$GCC" = "xyes"; then
38758 SHARED_LD_CC
="\$(CC) -shared ${PIC_FLAG} -o"
38759 SHARED_LD_CXX
="\$(CXX) -shared ${PIC_FLAG} -o"
38762 case "${BAKEFILE_HOST}" in
38764 if test "x$GCC" != "xyes"; then
38765 LDFLAGS
="$LDFLAGS -L/usr/lib"
38767 SHARED_LD_CC
="${CC} -b -o"
38768 SHARED_LD_CXX
="${CXX} -b -o"
38774 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
38776 elif test "x$SUNCXX" = "xyes"; then
38777 SHARED_LD_CC
="${CC} -G -o"
38778 SHARED_LD_CXX
="${CXX} -G -o"
38784 if test "x$SUNCXX" = xyes
; then
38785 SHARED_LD_CC
="${CC} -G -o"
38786 SHARED_LD_CXX
="${CXX} -G -o"
38794 cat <<EOF >shared-ld-sh
38796 #-----------------------------------------------------------------------------
38797 #-- Name: distrib/mac/shared-ld-sh
38798 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
38799 #-- Author: Gilles Depeyrot
38800 #-- Copyright: (c) 2002 Gilles Depeyrot
38801 #-- Licence: any use permitted
38802 #-----------------------------------------------------------------------------
38807 linking_flag="-dynamiclib"
38808 ldargs="-r -keep_private_externs -nostdlib"
38810 if test "x${D}CXX" = "x"; then
38814 while test ${D}# -gt 0; do
38821 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
38822 # collect these options and values
38823 args="${D}{args} ${D}1 ${D}2"
38828 # collect these options and values
38829 ldargs="${D}{ldargs} ${D}1 ${D}2"
38834 # collect these load args
38835 ldargs="${D}{ldargs} ${D}1"
38838 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
38839 # collect these options
38840 args="${D}{args} ${D}1"
38843 -dynamiclib|-bundle)
38844 linking_flag="${D}1"
38848 echo "shared-ld: unhandled option '${D}1'"
38852 *.o | *.a | *.dylib)
38853 # collect object files
38854 objects="${D}{objects} ${D}1"
38858 echo "shared-ld: unhandled argument '${D}1'"
38869 # Link one module containing all the others
38871 if test ${D}{verbose} = 1; then
38872 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
38874 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
38878 # Link the shared library from the single module created, but only if the
38879 # previous command didn't fail:
38881 if test ${D}{status} = 0; then
38882 if test ${D}{verbose} = 1; then
38883 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
38885 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
38890 # Remove intermediate module
38892 rm -f master.${D}${D}.o
38897 chmod +x shared
-ld-sh
38899 SHARED_LD_MODULE_CC
="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
38900 SHARED_LD_MODULE_CXX
="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
38903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
38904 $as_echo_n "checking for gcc 3.1 or later... " >&6; }
38905 if ${bakefile_cv_gcc31+:} false
; then :
38906 $as_echo_n "(cached) " >&6
38909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38910 /* end confdefs.h. */
38916 #if (__GNUC__ < 3) || \
38917 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
38925 if ac_fn_c_try_compile
"$LINENO"; then :
38927 bakefile_cv_gcc31
=yes
38931 bakefile_cv_gcc31
=no
38935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
38939 $as_echo "$bakefile_cv_gcc31" >&6; }
38940 if test "$bakefile_cv_gcc31" = "no"; then
38941 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
38942 SHARED_LD_CXX
="$SHARED_LD_CC"
38944 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
38945 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
38948 if test "x$GCC" == "xyes"; then
38949 PIC_FLAG
="-dynamic -fPIC"
38951 if test "x$XLCC" = "xyes"; then
38952 PIC_FLAG
="-dynamic -DPIC"
38957 if test "x$GCC" = "xyes"; then
38960 case "${BAKEFILE_HOST}" in
38962 LD_EXPFULL
="-Wl,-bexpfull"
38966 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
38967 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
38969 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
38970 set dummy makeC
++SharedLib
; ac_word
=$2
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38972 $as_echo_n "checking for $ac_word... " >&6; }
38973 if ${ac_cv_prog_AIX_CXX_LD+:} false
; then :
38974 $as_echo_n "(cached) " >&6
38976 if test -n "$AIX_CXX_LD"; then
38977 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
38979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
38980 for as_dir
in $PATH
38983 test -z "$as_dir" && as_dir
=.
38984 for ac_exec_ext
in '' $ac_executable_extensions; do
38985 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
38986 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
38987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38994 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
38997 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
38998 if test -n "$AIX_CXX_LD"; then
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
39000 $as_echo "$AIX_CXX_LD" >&6; }
39002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39003 $as_echo "no" >&6; }
39007 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
39008 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
39013 SHARED_LD_CC
="${LD} -nostart -o"
39014 SHARED_LD_CXX
="${LD} -nostart -o"
39018 if test "x$GCC" != "xyes"; then
39023 *-*-cygwin* | *-*-mingw32* )
39025 SHARED_LD_CC
="\$(CC) -shared -o"
39026 SHARED_LD_CXX
="\$(CXX) -shared -o"
39030 *-pc-os2_emx | *-pc-os2-emx )
39031 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39032 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
39036 cat <<EOF >dllar.sh
39039 # dllar - a tool to build both a .dll and an .a file
39040 # from a set of object (.o) files for EMX/OS2.
39042 # Written by Andrew Zabolotny, bit@freya.etu.ru
39043 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
39045 # This script will accept a set of files on the command line.
39046 # All the public symbols from the .o files will be exported into
39047 # a .DEF file, then linker will be run (through gcc) against them to
39048 # build a shared library consisting of all given .o files. All libraries
39049 # (.a) will be first decompressed into component .o files then act as
39050 # described above. You can optionally give a description (-d "description")
39051 # which will be put into .DLL. To see the list of accepted options (as well
39052 # as command-line format) simply run this program without options. The .DLL
39053 # is built to be imported by name (there is no guarantee that new versions
39054 # of the library you build will have same ordinals for same symbols).
39056 # dllar is free software; you can redistribute it and/or modify
39057 # it under the terms of the GNU General Public License as published by
39058 # the Free Software Foundation; either version 2, or (at your option)
39059 # any later version.
39061 # dllar is distributed in the hope that it will be useful,
39062 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39063 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39064 # GNU General Public License for more details.
39066 # You should have received a copy of the GNU General Public License
39067 # along with dllar; see the file COPYING. If not, write to the Free
39068 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
39071 # To successfuly run this program you will need:
39072 # - Current drive should have LFN support (HPFS, ext2, network, etc)
39073 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
39075 # (used to build the .dll)
39077 # (used to create .def file from .o files)
39079 # (used to create .a file from .def file)
39080 # - GNU text utilites (cat, sort, uniq)
39081 # used to process emxexp output
39082 # - GNU file utilities (mv, rm)
39084 # - lxlite (optional, see flag below)
39085 # (used for general .dll cleanup)
39092 # basnam, variant of basename, which does _not_ remove the path, _iff_
39093 # second argument (suffix to remove) is given
39097 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
39100 echo ${D}1 | sed 's/'${D}2'${D}//'
39103 echo "error in basnam ${D}*"
39109 # Cleanup temporary files and output
39112 for i in ${D}inputFiles ; do
39115 rm -rf \`basnam ${D}i !\`
39122 # Kill result in case of failure as there is just to many stupid make/nmake
39123 # things out there which doesn't do this.
39124 if [ ${D}# -eq 0 ]; then
39125 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
39129 # Print usage and exit script with rc=1.
39131 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
39132 echo ' [-name-mangler-script script.sh]'
39133 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
39134 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
39135 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
39136 echo ' [*.o] [*.a]'
39137 echo '*> "output_file" should have no extension.'
39138 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
39139 echo ' The import library name is derived from this and is set to "name".a,'
39140 echo ' unless overridden by -import'
39141 echo '*> "importlib_name" should have no extension.'
39142 echo ' If it has the .o, or .a extension, it is automatically removed.'
39143 echo ' This name is used as the import library name and may be longer and'
39144 echo ' more descriptive than the DLL name which has to follow the old '
39145 echo ' 8.3 convention of FAT.'
39146 echo '*> "script.sh may be given to override the output_file name by a'
39147 echo ' different name. It is mainly useful if the regular make process'
39148 echo ' of some package does not take into account OS/2 restriction of'
39149 echo ' DLL name lengths. It takes the importlib name as input and is'
39150 echo ' supposed to procude a shorter name as output. The script should'
39151 echo ' expect to get importlib_name without extension and should produce'
39152 echo ' a (max.) 8 letter name without extension.'
39153 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
39154 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
39155 echo ' These flags will be put at the start of GCC command line.'
39156 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
39157 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
39158 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
39159 echo ' If the last character of a symbol is "*", all symbols beginning'
39160 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
39161 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
39162 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
39163 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
39164 echo ' C runtime DLLs.'
39165 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
39166 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
39167 echo ' unchanged to GCC at the end of command line.'
39168 echo '*> If you create a DLL from a library and you do not specify -o,'
39169 echo ' the basename for DLL and import library will be set to library name,'
39170 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
39171 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
39172 echo ' library will be renamed into gcc_s.a.'
39175 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
39176 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
39181 # Execute a command.
39182 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
39183 # @Uses Whatever CleanUp() uses.
39189 if [ ${D}rcCmd -ne 0 ]; then
39190 echo "command failed, exit code="${D}rcCmd
39205 CFLAGS="-s -Zcrtdll"
39207 EXPORT_BY_ORDINALS=0
39212 case ${D}curDirS in
39216 curDirS=${D}{curDirS}"/"
39219 # Parse commandline
39222 while [ ${D}1 ]; do
39225 EXPORT_BY_ORDINALS=1;
39235 -name-mangler-script)
39256 exclude_symbols=${D}{exclude_symbols}${D}1" "
39260 library_flags=${D}{library_flags}${D}1" "
39279 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39282 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
39283 if [ ${D}omfLinking -eq 1 ]; then
39284 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
39286 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
39291 if [ ${D}libsToLink -ne 0 ]; then
39292 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
39294 for file in ${D}1 ; do
39295 if [ -f ${D}file ]; then
39296 inputFiles="${D}{inputFiles} ${D}file"
39300 if [ ${D}found -eq 0 ]; then
39301 echo "ERROR: No file(s) found: "${D}1
39308 done # iterate cmdline words
39311 if [ -z "${D}inputFiles" ]; then
39312 echo "dllar: no input files"
39316 # Now extract all .o files from .a files
39318 for file in ${D}inputFiles ; do
39329 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
39334 dirname=\`basnam ${D}file ${D}suffix\`"_%"
39336 if [ ${D}? -ne 0 ]; then
39337 echo "Failed to create subdirectory ./${D}dirname"
39341 # Append '!' to indicate archive
39342 newInputFiles="${D}newInputFiles ${D}{dirname}!"
39343 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
39346 for subfile in ${D}dirname/*.o* ; do
39347 if [ -f ${D}subfile ]; then
39349 if [ -s ${D}subfile ]; then
39350 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
39351 newInputFiles="${D}newInputFiles ${D}subfile"
39355 if [ ${D}found -eq 0 ]; then
39356 echo "WARNING: there are no files in archive \\'${D}file\\'"
39360 newInputFiles="${D}{newInputFiles} ${D}file"
39364 inputFiles="${D}newInputFiles"
39366 # Output filename(s).
39368 if [ -z ${D}outFile ]; then
39370 set outFile ${D}inputFiles; outFile=${D}2
39373 # If it is an archive, remove the '!' and the '_%' suffixes
39374 case ${D}outFile in
39376 outFile=\`basnam ${D}outFile _%!\`
39381 case ${D}outFile in
39383 outFile=\`basnam ${D}outFile .dll\`
39386 outFile=\`basnam ${D}outFile .DLL\`
39389 outFile=\`basnam ${D}outFile .o\`
39392 outFile=\`basnam ${D}outFile .obj\`
39395 outFile=\`basnam ${D}outFile .a\`
39398 outFile=\`basnam ${D}outFile .lib\`
39403 case ${D}outimpFile in
39405 outimpFile=\`basnam ${D}outimpFile .a\`
39408 outimpFile=\`basnam ${D}outimpFile .lib\`
39413 if [ -z ${D}outimpFile ]; then
39414 outimpFile=${D}outFile
39416 defFile="${D}{outFile}.def"
39417 arcFile="${D}{outimpFile}.a"
39418 arcFile2="${D}{outimpFile}.lib"
39420 #create ${D}dllFile as something matching 8.3 restrictions,
39421 if [ -z ${D}renameScript ] ; then
39422 dllFile="${D}outFile"
39424 dllFile=\`${D}renameScript ${D}outimpFile\`
39427 if [ ${D}do_backup -ne 0 ] ; then
39428 if [ -f ${D}arcFile ] ; then
39429 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
39431 if [ -f ${D}arcFile2 ] ; then
39432 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
39436 # Extract public symbols from all the object files.
39437 tmpdefFile=${D}{defFile}_%
39438 rm -f ${D}tmpdefFile
39439 for file in ${D}inputFiles ; do
39444 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
39449 # Create the def file.
39451 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
39452 dllFile="${D}{dllFile}.dll"
39453 if [ ! -z ${D}description ]; then
39454 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
39456 echo "EXPORTS" >> ${D}defFile
39458 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
39459 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
39461 # Checks if the export is ok or not.
39462 for word in ${D}exclude_symbols; do
39463 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
39464 mv ${D}{tmpdefFile}% ${D}tmpdefFile
39468 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39469 sed "=" < ${D}tmpdefFile | \\
39473 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
39475 ' > ${D}{tmpdefFile}%
39476 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
39478 rm -f ${D}{tmpdefFile}%
39480 cat ${D}tmpdefFile >> ${D}defFile
39481 rm -f ${D}tmpdefFile
39483 # Do linking, create implib, and apply lxlite.
39485 for file in ${D}inputFiles ; do
39490 gccCmdl="${D}gccCmdl ${D}file"
39494 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
39495 touch "${D}{outFile}.dll"
39497 doCommand "emximp -o ${D}arcFile ${D}defFile"
39498 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
39500 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
39503 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
39505 doCommand "emxomf -s -l ${D}arcFile"
39515 powerpc
-apple-macos* | \
39516 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
39526 as_fn_error $?
"unknown system type $BAKEFILE_HOST." "$LINENO" 5
39529 if test "x$PIC_FLAG" != "x" ; then
39530 PIC_FLAG
="$PIC_FLAG -DPIC"
39533 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
39534 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
39536 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
39537 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
39552 USE_SOTWOSYMLINKS
=0
39556 case "${BAKEFILE_HOST}" in
39557 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
39558 *-*-k*bsd
*-gnu | *-*-mirbsd* )
39559 if test "x$SUNCXX" = "xyes"; then
39562 SONAME_FLAG
="-Wl,-soname,"
39566 USE_SOTWOSYMLINKS
=1
39578 USE_SOTWOSYMLINKS
=1
39596 # Check whether --enable-dependency-tracking was given.
39597 if test "${enable_dependency_tracking+set}" = set; then :
39598 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
39602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
39603 $as_echo_n "checking for dependency tracking method... " >&6; }
39606 if test "x$bk_use_trackdeps" = "xno" ; then
39608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
39609 $as_echo "disabled" >&6; }
39613 if test "x$GCC" = "xyes"; then
39616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
39617 $as_echo "gcc" >&6; }
39618 elif test "x$MWCC" = "xyes"; then
39621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
39622 $as_echo "mwcc" >&6; }
39623 elif test "x$SUNCC" = "xyes"; then
39626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
39627 $as_echo "Sun cc" >&6; }
39628 elif test "x$SGICC" = "xyes"; then
39631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
39632 $as_echo "SGI cc" >&6; }
39633 elif test "x$HPCC" = "xyes"; then
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
39637 $as_echo "HP cc" >&6; }
39638 elif test "x$COMPAQCC" = "xyes"; then
39641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
39642 $as_echo "Compaq cc" >&6; }
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
39646 $as_echo "none" >&6; }
39649 if test $DEPS_TRACKING = 1 ; then
39655 # This script is part of Bakefile (http://www.bakefile.org) autoconf
39656 # script. It is used to track C/C++ files dependencies in portable way.
39658 # Permission is given to use this file in any way.
39660 DEPSMODE=${DEPSMODE}
39661 DEPSFLAG="${DEPSFLAG}"
39664 if test ${D}DEPSMODE = gcc ; then
39665 ${D}* ${D}{DEPSFLAG}
39668 # determine location of created files:
39669 while test ${D}# -gt 0; do
39683 objfilebase=\`basename ${D}objfile\`
39684 builddir=\`dirname ${D}objfile\`
39685 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
39686 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
39687 depsdir=${D}builddir/${D}DEPSDIRBASE
39688 mkdir -p ${D}depsdir
39690 # if the compiler failed, we're done:
39691 if test ${D}{status} != 0 ; then
39696 # move created file to the location we want it in:
39697 if test -f ${D}depfile ; then
39698 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39701 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
39702 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
39703 if test ! -f ${D}depfile ; then
39704 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
39705 depfile="${D}objfile.d"
39707 if test -f ${D}depfile ; then
39708 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
39714 elif test ${D}DEPSMODE = mwcc ; then
39715 ${D}* || exit ${D}?
39716 # Run mwcc again with -MM and redirect into the dep file we want
39717 # NOTE: We can't use shift here because we need ${D}* to be valid
39719 for arg in ${D}* ; do
39720 if test "${D}prevarg" = "-o"; then
39734 objfilebase=\`basename ${D}objfile\`
39735 builddir=\`dirname ${D}objfile\`
39736 depsdir=${D}builddir/${D}DEPSDIRBASE
39737 mkdir -p ${D}depsdir
39739 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
39742 elif test ${D}DEPSMODE = unixcc; then
39743 ${D}* || exit ${D}?
39744 # Run compiler again with deps flag and redirect into the dep file.
39745 # It doesn't work if the '-o FILE' option is used, but without it the
39746 # dependency file will contain the wrong name for the object. So it is
39747 # removed from the command line, and the dep file is fixed with sed.
39749 while test ${D}# -gt 0; do
39756 eval arg${D}#=\\${D}1
39757 cmd="${D}cmd \\${D}arg${D}#"
39763 objfilebase=\`basename ${D}objfile\`
39764 builddir=\`dirname ${D}objfile\`
39765 depsdir=${D}builddir/${D}DEPSDIRBASE
39766 mkdir -p ${D}depsdir
39768 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
39778 BK_DEPS
="`pwd`/bk-deps"
39786 case ${BAKEFILE_HOST} in
39787 *-*-cygwin* | *-*-mingw32* )
39788 if test -n "$ac_tool_prefix"; then
39789 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
39790 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
39791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39792 $as_echo_n "checking for $ac_word... " >&6; }
39793 if ${ac_cv_prog_WINDRES+:} false
; then :
39794 $as_echo_n "(cached) " >&6
39796 if test -n "$WINDRES"; then
39797 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
39799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39800 for as_dir
in $PATH
39803 test -z "$as_dir" && as_dir
=.
39804 for ac_exec_ext
in '' $ac_executable_extensions; do
39805 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39806 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
39807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39816 WINDRES
=$ac_cv_prog_WINDRES
39817 if test -n "$WINDRES"; then
39818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
39819 $as_echo "$WINDRES" >&6; }
39821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39822 $as_echo "no" >&6; }
39827 if test -z "$ac_cv_prog_WINDRES"; then
39828 ac_ct_WINDRES
=$WINDRES
39829 # Extract the first word of "windres", so it can be a program name with args.
39830 set dummy windres
; ac_word
=$2
39831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39832 $as_echo_n "checking for $ac_word... " >&6; }
39833 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
39834 $as_echo_n "(cached) " >&6
39836 if test -n "$ac_ct_WINDRES"; then
39837 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
39839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39840 for as_dir
in $PATH
39843 test -z "$as_dir" && as_dir
=.
39844 for ac_exec_ext
in '' $ac_executable_extensions; do
39845 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39846 ac_cv_prog_ac_ct_WINDRES
="windres"
39847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39856 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
39857 if test -n "$ac_ct_WINDRES"; then
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
39859 $as_echo "$ac_ct_WINDRES" >&6; }
39861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39862 $as_echo "no" >&6; }
39865 if test "x$ac_ct_WINDRES" = x
; then
39868 case $cross_compiling:$ac_tool_warned in
39870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
39871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
39872 ac_tool_warned
=yes ;;
39874 WINDRES
=$ac_ct_WINDRES
39877 WINDRES
="$ac_cv_prog_WINDRES"
39882 *-*-darwin* | powerpc
-apple-macos* )
39883 # Extract the first word of "Rez", so it can be a program name with args.
39884 set dummy Rez
; ac_word
=$2
39885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39886 $as_echo_n "checking for $ac_word... " >&6; }
39887 if ${ac_cv_prog_REZ+:} false
; then :
39888 $as_echo_n "(cached) " >&6
39890 if test -n "$REZ"; then
39891 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
39893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39894 for as_dir
in $PATH
39897 test -z "$as_dir" && as_dir
=.
39898 for ac_exec_ext
in '' $ac_executable_extensions; do
39899 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39900 ac_cv_prog_REZ
="Rez"
39901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39908 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
39911 REZ
=$ac_cv_prog_REZ
39912 if test -n "$REZ"; then
39913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
39914 $as_echo "$REZ" >&6; }
39916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39917 $as_echo "no" >&6; }
39921 # Extract the first word of "SetFile", so it can be a program name with args.
39922 set dummy SetFile
; ac_word
=$2
39923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
39924 $as_echo_n "checking for $ac_word... " >&6; }
39925 if ${ac_cv_prog_SETFILE+:} false
; then :
39926 $as_echo_n "(cached) " >&6
39928 if test -n "$SETFILE"; then
39929 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
39931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
39932 for as_dir
in $PATH
39935 test -z "$as_dir" && as_dir
=.
39936 for ac_exec_ext
in '' $ac_executable_extensions; do
39937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
39938 ac_cv_prog_SETFILE
="SetFile"
39939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
39946 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
39949 SETFILE
=$ac_cv_prog_SETFILE
39950 if test -n "$SETFILE"; then
39951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
39952 $as_echo "$SETFILE" >&6; }
39954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39955 $as_echo "no" >&6; }
39970 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
39973 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
39977 # Check whether --enable-precomp-headers was given.
39978 if test "${enable_precomp_headers+set}" = set; then :
39979 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
39988 case ${BAKEFILE_HOST} in
39994 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
39995 if test "x$GCC" = "xyes"; then
39996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
39997 $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
39998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39999 /* end confdefs.h. */
40005 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
40006 There is no PCH support
40009 There is no PCH support
40011 #if (__GNUC__ == 3) && \
40012 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
40013 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
40014 ( defined(__INTEL_COMPILER) )
40015 There is no PCH support
40022 if ac_fn_c_try_compile
"$LINENO"; then :
40024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40025 $as_echo "yes" >&6; }
40030 if test "$INTELCXX8" = "yes"; then
40031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40032 $as_echo "yes" >&6; }
40034 if test "$INTELCXX10" = "yes"; then
40035 ICC_PCH_CREATE_SWITCH
="-pch-create"
40036 ICC_PCH_USE_SWITCH
="-pch-use"
40038 ICC_PCH_CREATE_SWITCH
="-create-pch"
40039 ICC_PCH_USE_SWITCH
="-use-pch"
40042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40043 $as_echo "no" >&6; }
40047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40048 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
40052 cat <<EOF >bk-make-pch
40055 # This script is part of Bakefile (http://www.bakefile.org) autoconf
40056 # script. It is used to generated precompiled headers.
40058 # Permission is given to use this file in any way.
40065 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
40070 while test ${D}{#} -gt 0; do
40074 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
40075 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
40076 headerfile="${D}{incdir}/${D}{header}"
40079 -use-pch|-use_pch|-pch-use )
40084 if test ${D}add_to_cmdline = 1 ; then
40085 compiler="${D}{compiler} ${D}{1}"
40090 if test "x${D}{headerfile}" = "x" ; then
40091 echo "error: can't find header ${D}{header} in include paths" >&2
40093 if test -f ${D}{outfile} ; then
40094 rm -f ${D}{outfile}
40096 mkdir -p \`dirname ${D}{outfile}\`
40098 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
40099 mkdir -p ${D}{builddir}/.deps
40100 if test "x${GCC_PCH}" = "x1" ; then
40101 # can do this because gcc is >= 3.4:
40102 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
40103 elif test "x${ICC_PCH}" = "x1" ; then
40104 filename=pch_gen-${D}${D}
40105 file=${D}{filename}.c
40106 dfile=${D}{filename}.d
40107 cat > ${D}file <<EOT
40108 #include "${D}header"
40110 # using -MF icc complains about differing command lines in creation/use
40111 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
40112 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
40113 rm -f ${D}file ${D}dfile ${D}{filename}.o
40119 chmod +x bk
-make-pch
40120 BK_MAKE_PCH
="`pwd`/bk-make-pch"
40131 COND_BUILD_debug
="#"
40132 if test "x$BUILD" = "xdebug" ; then
40133 COND_BUILD_debug
=""
40136 COND_BUILD_debug_DEBUG_INFO_default
="#"
40137 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
40138 COND_BUILD_debug_DEBUG_INFO_default
=""
40141 COND_BUILD_release
="#"
40142 if test "x$BUILD" = "xrelease" ; then
40143 COND_BUILD_release
=""
40146 COND_BUILD_release_DEBUG_INFO_default
="#"
40147 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
40148 COND_BUILD_release_DEBUG_INFO_default
=""
40151 COND_DEBUG_FLAG_0
="#"
40152 if test "x$DEBUG_FLAG" = "x0" ; then
40153 COND_DEBUG_FLAG_0
=""
40156 COND_DEBUG_INFO_0
="#"
40157 if test "x$DEBUG_INFO" = "x0" ; then
40158 COND_DEBUG_INFO_0
=""
40161 COND_DEBUG_INFO_1
="#"
40162 if test "x$DEBUG_INFO" = "x1" ; then
40163 COND_DEBUG_INFO_1
=""
40166 COND_DEPS_TRACKING_0
="#"
40167 if test "x$DEPS_TRACKING" = "x0" ; then
40168 COND_DEPS_TRACKING_0
=""
40171 COND_DEPS_TRACKING_1
="#"
40172 if test "x$DEPS_TRACKING" = "x1" ; then
40173 COND_DEPS_TRACKING_1
=""
40177 if test "x$GCC_PCH" = "x1" ; then
40182 if test "x$ICC_PCH" = "x1" ; then
40186 COND_MONOLITHIC_0
="#"
40187 if test "x$MONOLITHIC" = "x0" ; then
40188 COND_MONOLITHIC_0
=""
40191 COND_MONOLITHIC_0_SHARED_0
="#"
40192 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
40193 COND_MONOLITHIC_0_SHARED_0
=""
40196 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
="#"
40197 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
40198 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
=""
40201 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
="#"
40202 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
40203 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
=""
40206 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
="#"
40207 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40208 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
=""
40211 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
="#"
40212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40213 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
=""
40216 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
="#"
40217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40218 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
=""
40221 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
="#"
40222 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40223 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
=""
40226 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
="#"
40227 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40228 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
=""
40231 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
="#"
40232 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40233 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
=""
40236 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
="#"
40237 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40238 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
=""
40241 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
="#"
40242 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40243 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
=""
40246 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
="#"
40247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
40248 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
=""
40251 COND_MONOLITHIC_0_SHARED_1
="#"
40252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
40253 COND_MONOLITHIC_0_SHARED_1
=""
40256 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
="#"
40257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
40258 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
=""
40261 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
="#"
40262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
40263 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
=""
40266 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
="#"
40267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
40268 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
=""
40271 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
="#"
40272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40273 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
=""
40276 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
="#"
40277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
40278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
=""
40281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
="#"
40282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
40283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
=""
40286 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
="#"
40287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
40288 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
=""
40291 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
="#"
40292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
40293 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
=""
40296 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
="#"
40297 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
40298 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
=""
40301 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
="#"
40302 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
40303 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
=""
40306 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
="#"
40307 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
40308 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
=""
40311 COND_MONOLITHIC_0_USE_AUI_1
="#"
40312 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
40313 COND_MONOLITHIC_0_USE_AUI_1
=""
40316 COND_MONOLITHIC_0_USE_GUI_1
="#"
40317 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
40318 COND_MONOLITHIC_0_USE_GUI_1
=""
40321 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
="#"
40322 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
40323 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
=""
40326 COND_MONOLITHIC_0_USE_HTML_1
="#"
40327 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
40328 COND_MONOLITHIC_0_USE_HTML_1
=""
40331 COND_MONOLITHIC_0_USE_MEDIA_1
="#"
40332 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
40333 COND_MONOLITHIC_0_USE_MEDIA_1
=""
40336 COND_MONOLITHIC_0_USE_PROPGRID_1
="#"
40337 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
40338 COND_MONOLITHIC_0_USE_PROPGRID_1
=""
40341 COND_MONOLITHIC_0_USE_QA_1
="#"
40342 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
40343 COND_MONOLITHIC_0_USE_QA_1
=""
40346 COND_MONOLITHIC_0_USE_RIBBON_1
="#"
40347 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
40348 COND_MONOLITHIC_0_USE_RIBBON_1
=""
40351 COND_MONOLITHIC_0_USE_RICHTEXT_1
="#"
40352 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
40353 COND_MONOLITHIC_0_USE_RICHTEXT_1
=""
40356 COND_MONOLITHIC_0_USE_STC_1
="#"
40357 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
40358 COND_MONOLITHIC_0_USE_STC_1
=""
40361 COND_MONOLITHIC_0_USE_WEBVIEW_1
="#"
40362 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
40363 COND_MONOLITHIC_0_USE_WEBVIEW_1
=""
40366 COND_MONOLITHIC_0_USE_XRC_1
="#"
40367 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
40368 COND_MONOLITHIC_0_USE_XRC_1
=""
40371 COND_MONOLITHIC_1
="#"
40372 if test "x$MONOLITHIC" = "x1" ; then
40373 COND_MONOLITHIC_1
=""
40376 COND_MONOLITHIC_1_SHARED_0
="#"
40377 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
40378 COND_MONOLITHIC_1_SHARED_0
=""
40381 COND_MONOLITHIC_1_SHARED_1
="#"
40382 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
40383 COND_MONOLITHIC_1_SHARED_1
=""
40386 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
="#"
40387 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
40388 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
=""
40391 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
="#"
40392 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
40393 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
=""
40396 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
="#"
40397 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40398 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
=""
40401 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
="#"
40402 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
40403 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
=""
40406 COND_PLATFORM_MACOSX_1
="#"
40407 if test "x$PLATFORM_MACOSX" = "x1" ; then
40408 COND_PLATFORM_MACOSX_1
=""
40411 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
="#"
40412 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
40413 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
=""
40416 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
="#"
40417 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40418 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
=""
40421 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40422 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40423 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40426 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40427 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40428 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40431 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40432 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40433 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40436 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40437 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40438 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40441 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40442 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40443 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40446 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
="#"
40447 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40448 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
=""
40451 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40452 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40453 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40456 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
="#"
40457 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40458 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
=""
40461 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40462 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40463 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40466 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40467 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40468 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40471 COND_PLATFORM_MACOSX_1_USE_GUI_1
="#"
40472 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
40473 COND_PLATFORM_MACOSX_1_USE_GUI_1
=""
40476 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
="#"
40477 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40478 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
=""
40481 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
="#"
40482 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40483 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
=""
40486 COND_PLATFORM_MAC_0
="#"
40487 if test "x$PLATFORM_MAC" = "x0" ; then
40488 COND_PLATFORM_MAC_0
=""
40491 COND_PLATFORM_MAC_1
="#"
40492 if test "x$PLATFORM_MAC" = "x1" ; then
40493 COND_PLATFORM_MAC_1
=""
40496 COND_PLATFORM_MSDOS_0
="#"
40497 if test "x$PLATFORM_MSDOS" = "x0" ; then
40498 COND_PLATFORM_MSDOS_0
=""
40501 COND_PLATFORM_MSDOS_1
="#"
40502 if test "x$PLATFORM_MSDOS" = "x1" ; then
40503 COND_PLATFORM_MSDOS_1
=""
40506 COND_PLATFORM_OS2_1
="#"
40507 if test "x$PLATFORM_OS2" = "x1" ; then
40508 COND_PLATFORM_OS2_1
=""
40511 COND_PLATFORM_UNIX_0
="#"
40512 if test "x$PLATFORM_UNIX" = "x0" ; then
40513 COND_PLATFORM_UNIX_0
=""
40516 COND_PLATFORM_UNIX_1
="#"
40517 if test "x$PLATFORM_UNIX" = "x1" ; then
40518 COND_PLATFORM_UNIX_1
=""
40521 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40522 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40523 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40526 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40527 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40528 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40531 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40532 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40533 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40536 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40537 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40538 COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40541 COND_PLATFORM_UNIX_1_USE_GUI_1
="#"
40542 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
40543 COND_PLATFORM_UNIX_1_USE_GUI_1
=""
40546 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
="#"
40547 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
40548 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
=""
40551 COND_PLATFORM_WIN32_0
="#"
40552 if test "x$PLATFORM_WIN32" = "x0" ; then
40553 COND_PLATFORM_WIN32_0
=""
40556 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40557 if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40558 COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40561 COND_PLATFORM_WIN32_1
="#"
40562 if test "x$PLATFORM_WIN32" = "x1" ; then
40563 COND_PLATFORM_WIN32_1
=""
40566 COND_PLATFORM_WIN32_1_SHARED_0
="#"
40567 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
40568 COND_PLATFORM_WIN32_1_SHARED_0
=""
40571 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40572 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40573 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40576 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40577 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40578 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40581 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40582 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40583 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40586 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40587 if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40588 COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40592 if test "x$SHARED" = "x0" ; then
40596 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
="#"
40597 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
40598 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
=""
40601 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
="#"
40602 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40603 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
=""
40606 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
="#"
40607 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
40608 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
=""
40611 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
="#"
40612 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40613 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
=""
40616 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40617 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40618 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40621 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40622 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40623 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40626 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40627 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40628 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40631 COND_SHARED_0_USE_STC_1
="#"
40632 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
40633 COND_SHARED_0_USE_STC_1
=""
40636 COND_SHARED_0_wxUSE_EXPAT_builtin
="#"
40637 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
40638 COND_SHARED_0_wxUSE_EXPAT_builtin
=""
40641 COND_SHARED_0_wxUSE_REGEX_builtin
="#"
40642 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
40643 COND_SHARED_0_wxUSE_REGEX_builtin
=""
40646 COND_SHARED_0_wxUSE_ZLIB_builtin
="#"
40647 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
40648 COND_SHARED_0_wxUSE_ZLIB_builtin
=""
40652 if test "x$SHARED" = "x1" ; then
40656 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
="#"
40657 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40658 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
=""
40662 if test "x$TOOLKIT" = "x" ; then
40666 COND_TOOLKIT_COCOA
="#"
40667 if test "x$TOOLKIT" = "xCOCOA" ; then
40668 COND_TOOLKIT_COCOA
=""
40671 COND_TOOLKIT_COCOA_USE_GUI_1
="#"
40672 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
40673 COND_TOOLKIT_COCOA_USE_GUI_1
=""
40676 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
="#"
40677 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40678 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
=""
40681 COND_TOOLKIT_DFB
="#"
40682 if test "x$TOOLKIT" = "xDFB" ; then
40683 COND_TOOLKIT_DFB
=""
40686 COND_TOOLKIT_DFB_USE_GUI_1
="#"
40687 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
40688 COND_TOOLKIT_DFB_USE_GUI_1
=""
40691 COND_TOOLKIT_GTK
="#"
40692 if test "x$TOOLKIT" = "xGTK" ; then
40693 COND_TOOLKIT_GTK
=""
40696 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
="#"
40697 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
40698 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
=""
40701 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
="#"
40702 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
40703 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
=""
40706 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
="#"
40707 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
40708 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
=""
40711 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
="#"
40712 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40713 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
=""
40716 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
="#"
40717 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40718 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
=""
40721 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
="#"
40722 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
40723 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
=""
40726 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
="#"
40727 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
40728 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
=""
40731 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
="#"
40732 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
40733 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
=""
40736 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
="#"
40737 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
40738 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
=""
40741 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
="#"
40742 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40743 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
=""
40746 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
="#"
40747 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
40748 COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
=""
40751 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
="#"
40752 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
40753 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
=""
40756 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
="#"
40757 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40758 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
=""
40761 COND_TOOLKIT_GTK_USE_GUI_1
="#"
40762 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
40763 COND_TOOLKIT_GTK_USE_GUI_1
=""
40766 COND_TOOLKIT_MAC
="#"
40767 if test "x$TOOLKIT" = "xMAC" ; then
40768 COND_TOOLKIT_MAC
=""
40771 COND_TOOLKIT_MOTIF
="#"
40772 if test "x$TOOLKIT" = "xMOTIF" ; then
40773 COND_TOOLKIT_MOTIF
=""
40776 COND_TOOLKIT_MOTIF_USE_GUI_1
="#"
40777 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
40778 COND_TOOLKIT_MOTIF_USE_GUI_1
=""
40781 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
="#"
40782 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40783 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
=""
40786 COND_TOOLKIT_MSW
="#"
40787 if test "x$TOOLKIT" = "xMSW" ; then
40788 COND_TOOLKIT_MSW
=""
40791 COND_TOOLKIT_MSW_USE_GUI_1
="#"
40792 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
40793 COND_TOOLKIT_MSW_USE_GUI_1
=""
40796 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
="#"
40797 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40798 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
=""
40801 COND_TOOLKIT_MSW_WXUNIV_0
="#"
40802 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
40803 COND_TOOLKIT_MSW_WXUNIV_0
=""
40806 COND_TOOLKIT_OSX_CARBON
="#"
40807 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
40808 COND_TOOLKIT_OSX_CARBON
=""
40811 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
="#"
40812 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
40813 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
=""
40816 COND_TOOLKIT_OSX_COCOA
="#"
40817 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
40818 COND_TOOLKIT_OSX_COCOA
=""
40821 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
="#"
40822 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
40823 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
=""
40826 COND_TOOLKIT_OSX_IPHONE
="#"
40827 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
40828 COND_TOOLKIT_OSX_IPHONE
=""
40831 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
="#"
40832 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
40833 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
=""
40836 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
="#"
40837 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40838 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
=""
40841 COND_TOOLKIT_PM
="#"
40842 if test "x$TOOLKIT" = "xPM" ; then
40846 COND_TOOLKIT_PM_USE_GUI_1
="#"
40847 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
40848 COND_TOOLKIT_PM_USE_GUI_1
=""
40851 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
="#"
40852 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40853 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
=""
40856 COND_TOOLKIT_WINCE
="#"
40857 if test "x$TOOLKIT" = "xWINCE" ; then
40858 COND_TOOLKIT_WINCE
=""
40861 COND_TOOLKIT_WINCE_USE_GUI_1
="#"
40862 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
40863 COND_TOOLKIT_WINCE_USE_GUI_1
=""
40866 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
="#"
40867 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40868 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
=""
40871 COND_TOOLKIT_WINCE_WXUNIV_0
="#"
40872 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
40873 COND_TOOLKIT_WINCE_WXUNIV_0
=""
40876 COND_TOOLKIT_X11
="#"
40877 if test "x$TOOLKIT" = "xX11" ; then
40878 COND_TOOLKIT_X11
=""
40881 COND_TOOLKIT_X11_USE_GUI_1
="#"
40882 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
40883 COND_TOOLKIT_X11_USE_GUI_1
=""
40887 if test "x$UNICODE" = "x1" ; then
40891 COND_USE_CAIRO_1
="#"
40892 if test "x$USE_CAIRO" = "x1" ; then
40893 COND_USE_CAIRO_1
=""
40896 COND_USE_EXCEPTIONS_0
="#"
40897 if test "x$USE_EXCEPTIONS" = "x0" ; then
40898 COND_USE_EXCEPTIONS_0
=""
40901 COND_USE_EXCEPTIONS_1
="#"
40902 if test "x$USE_EXCEPTIONS" = "x1" ; then
40903 COND_USE_EXCEPTIONS_1
=""
40907 if test "x$USE_GUI" = "x0" ; then
40912 if test "x$USE_GUI" = "x1" ; then
40916 COND_USE_GUI_1_USE_OPENGL_1
="#"
40917 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
40918 COND_USE_GUI_1_USE_OPENGL_1
=""
40921 COND_USE_GUI_1_WXUNIV_0
="#"
40922 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
40923 COND_USE_GUI_1_WXUNIV_0
=""
40926 COND_USE_GUI_1_WXUNIV_1
="#"
40927 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
40928 COND_USE_GUI_1_WXUNIV_1
=""
40931 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
="#"
40932 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
40933 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
=""
40936 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
="#"
40937 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
40938 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
=""
40941 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
="#"
40942 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
40943 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
=""
40946 COND_USE_OPENGL_1
="#"
40947 if test "x$USE_OPENGL" = "x1" ; then
40948 COND_USE_OPENGL_1
=""
40952 if test "x$USE_PCH" = "x1" ; then
40956 COND_USE_PLUGINS_0
="#"
40957 if test "x$USE_PLUGINS" = "x0" ; then
40958 COND_USE_PLUGINS_0
=""
40961 COND_USE_RTTI_0
="#"
40962 if test "x$USE_RTTI" = "x0" ; then
40966 COND_USE_RTTI_1
="#"
40967 if test "x$USE_RTTI" = "x1" ; then
40971 COND_USE_SOTWOSYMLINKS_1
="#"
40972 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
40973 COND_USE_SOTWOSYMLINKS_1
=""
40976 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
="#"
40977 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
40978 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
=""
40981 COND_USE_SOVERLINUX_1
="#"
40982 if test "x$USE_SOVERLINUX" = "x1" ; then
40983 COND_USE_SOVERLINUX_1
=""
40986 COND_USE_SOVERSION_0
="#"
40987 if test "x$USE_SOVERSION" = "x0" ; then
40988 COND_USE_SOVERSION_0
=""
40991 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
="#"
40992 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
40993 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
=""
40996 COND_USE_SOVERSOLARIS_1
="#"
40997 if test "x$USE_SOVERSOLARIS" = "x1" ; then
40998 COND_USE_SOVERSOLARIS_1
=""
41002 if test "x$USE_STC" = "x1" ; then
41006 COND_USE_THREADS_0
="#"
41007 if test "x$USE_THREADS" = "x0" ; then
41008 COND_USE_THREADS_0
=""
41011 COND_USE_THREADS_1
="#"
41012 if test "x$USE_THREADS" = "x1" ; then
41013 COND_USE_THREADS_1
=""
41017 if test "x$USE_XRC" = "x1" ; then
41021 COND_WINDOWS_IMPLIB_1
="#"
41022 if test "x$WINDOWS_IMPLIB" = "x1" ; then
41023 COND_WINDOWS_IMPLIB_1
=""
41026 COND_WITH_PLUGIN_SDL_1
="#"
41027 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
41028 COND_WITH_PLUGIN_SDL_1
=""
41032 if test "x$WXUNIV" = "x0" ; then
41037 if test "x$WXUNIV" = "x1" ; then
41041 COND_wxUSE_EXPAT_builtin
="#"
41042 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
41043 COND_wxUSE_EXPAT_builtin
=""
41046 COND_wxUSE_LIBJPEG_builtin
="#"
41047 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
41048 COND_wxUSE_LIBJPEG_builtin
=""
41051 COND_wxUSE_LIBPNG_builtin
="#"
41052 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
41053 COND_wxUSE_LIBPNG_builtin
=""
41056 COND_wxUSE_LIBTIFF_builtin
="#"
41057 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
41058 COND_wxUSE_LIBTIFF_builtin
=""
41061 COND_wxUSE_REGEX_builtin
="#"
41062 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
41063 COND_wxUSE_REGEX_builtin
=""
41066 COND_wxUSE_ZLIB_builtin
="#"
41067 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
41068 COND_wxUSE_ZLIB_builtin
=""
41073 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
41074 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
41077 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
41078 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
41085 ?
:* ) # Drive letter, considered as absolute.
41088 INSTALL
=`pwd`/${INSTALL} ;;
41091 if test "$wxUSE_GUI" = "yes"; then
41093 if test "$wxUSE_MSW" = 1 ; then
41094 if test "x$WINDRES" = "x"; then
41095 as_fn_error $?
"Required windres program not found" "$LINENO" 5
41101 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
41102 WX_RESOURCES_MACOSX_ASCII
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
41103 WX_RESOURCES_MACOSX_DATA
="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
41105 LIBWXMACRES
="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
41107 # Extract the first word of "DeRez", so it can be a program name with args.
41108 set dummy DeRez
; ac_word
=$2
41109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41110 $as_echo_n "checking for $ac_word... " >&6; }
41111 if ${ac_cv_prog_DEREZ+:} false
; then :
41112 $as_echo_n "(cached) " >&6
41114 if test -n "$DEREZ"; then
41115 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
41117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41118 for as_dir
in $PATH
41121 test -z "$as_dir" && as_dir
=.
41122 for ac_exec_ext
in '' $ac_executable_extensions; do
41123 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41124 ac_cv_prog_DEREZ
="DeRez"
41125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41132 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
41135 DEREZ
=$ac_cv_prog_DEREZ
41136 if test -n "$DEREZ"; then
41137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
41138 $as_echo "$DEREZ" >&6; }
41140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41141 $as_echo "no" >&6; }
41146 MACSETFILE
="\$(SETFILE)"
41148 if test "$wxUSE_OSX_CARBON" = 1; then
41149 POSTLINK_COMMAND
="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
41151 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL Carbon.r -o"
41153 POSTLINK_COMMAND
="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
41154 RESCOMP
="cat /dev/null \| $REZ"
41155 WXCONFIG_RESFLAGS
="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
41161 if test "$wxUSE_PM" = 1; then
41163 WXCONFIG_RESFLAGS
="-ep"
41165 POSTLINK_COMMAND
="$RESCOMP $WXCONFIG_RESFLAGS"
41167 POSTLINK_COMMAND
="@true"
41174 if test $GCC_PCH = 1
41176 if test "$wx_cv_gcc_pch_bug" = yes; then
41177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
41178 $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
41179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
41180 $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
41182 $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
41185 # Our WX_PRECOMP flag does not make sense for any language except C++ because
41186 # the headers that benefit from precompilation are mostly C++ headers.
41187 CXXFLAGS
="-DWX_PRECOMP $CXXFLAGS"
41188 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
41189 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
41193 if test "$wxUSE_MAC" = 1 ; then
41194 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
41195 if test "x$disable_macosx_deps" = "xyes"; then
41196 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk
-deps > temp
41203 if test "$wxUSE_SHARED" = "yes"; then
41205 *-pc-os2_emx | *-pc-os2-emx )
41206 SHARED_LD_CC
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41207 SHARED_LD_CXX
="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
41208 cp -p ${srcdir}/src
/os
2/dllnames.sh .
41209 cp -p ${srcdir}/src
/os
2/dllar.sh .
41213 if test "$wxUSE_OMF" = "yes"; then
41215 *-pc-os2_emx | *-pc-os2-emx )
41216 LDFLAGS
="$LDFLAGS -Zlinker /EXEPACK"
41217 LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41218 WXCONFIG_LDFLAGS_GUI
="-Zlinker /PMTYPE:PM"
41223 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
41228 if test "$GCC" = yes; then
41229 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-mt//g'`
41230 LIBS
=`echo $LIBS | sed 's/-mt//g'`
41231 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
41236 if test "x$SUNCXX" = xyes
; then
41237 CPPFLAGS
=`echo $CPPFLAGS | sed 's/-pthread//g'`
41238 LIBS
=`echo $LIBS | sed 's/-pthread//g'`
41239 EXTRALIBS_GUI
=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
41244 CFLAGS
="$CFLAGS $CFLAGS_VISIBILITY"
41245 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
41246 OBJCFLAGS
="$OBJCFLAGS $CFLAGS_VISIBILITY"
41247 OBJCXXFLAGS
="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
41249 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
41310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
41311 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
41313 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
41314 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
41315 $as_echo_n "(cached) " >&6
41317 cat >conftest.
make <<\_ACEOF
41320 @
echo '@@@%%%=$(MAKE)=@@@%%%'
41322 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
41323 case `${MAKE-make} -f conftest.make 2>/dev/null` in
41324 *@@@
%%%=?
*=@@@
%%%*)
41325 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
41327 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
41329 rm -f conftest.
make
41331 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
41332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41333 $as_echo "yes" >&6; }
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41337 $as_echo "no" >&6; }
41338 SET_MAKE
="MAKE=${MAKE-make}"
41343 ac_config_headers
="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
41346 if test "$USE_WIN32" = 1; then
41347 ac_config_commands
="$ac_config_commands rcdefs.h"
41351 ac_config_files
="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
41354 ac_config_files
="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
41357 ac_config_files
="$ac_config_files utils/ifacecheck/rungccxml.sh"
41360 if test "$wx_cv_version_script" = "yes"; then
41361 ac_config_files
="$ac_config_files version-script"
41364 ac_config_files
="$ac_config_files Makefile"
41367 ac_config_commands
="$ac_config_commands wx-config"
41371 if test "$wxWITH_SUBDIRS" != "no"; then
41372 if test "$wxUSE_GUI" = "yes"; then
41373 SUBDIRS
="samples demos utils"
41375 SUBDIRS
="samples utils"
41380 # Check whether --with-cppunit-prefix was given.
41381 if test "${with_cppunit_prefix+set}" = set; then :
41382 withval
=$with_cppunit_prefix; cppunit_config_prefix
="$withval"
41384 cppunit_config_prefix
=""
41388 # Check whether --with-cppunit-exec-prefix was given.
41389 if test "${with_cppunit_exec_prefix+set}" = set; then :
41390 withval
=$with_cppunit_exec_prefix; cppunit_config_exec_prefix
="$withval"
41392 cppunit_config_exec_prefix
=""
41396 if test x
$cppunit_config_exec_prefix != x
; then
41397 cppunit_config_args
="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
41398 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41399 CPPUNIT_CONFIG
=$cppunit_config_exec_prefix/bin
/cppunit
-config
41402 if test x
$cppunit_config_prefix != x
; then
41403 cppunit_config_args
="$cppunit_config_args --prefix=$cppunit_config_prefix"
41404 if test x
${CPPUNIT_CONFIG+set} != xset
; then
41405 CPPUNIT_CONFIG
=$cppunit_config_prefix/bin
/cppunit
-config
41409 # Extract the first word of "cppunit-config", so it can be a program name with args.
41410 set dummy cppunit
-config; ac_word
=$2
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
41412 $as_echo_n "checking for $ac_word... " >&6; }
41413 if ${ac_cv_path_CPPUNIT_CONFIG+:} false
; then :
41414 $as_echo_n "(cached) " >&6
41416 case $CPPUNIT_CONFIG in
41418 ac_cv_path_CPPUNIT_CONFIG
="$CPPUNIT_CONFIG" # Let the user override the test with a path.
41421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
41422 for as_dir
in $PATH
41425 test -z "$as_dir" && as_dir
=.
41426 for ac_exec_ext
in '' $ac_executable_extensions; do
41427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
41428 ac_cv_path_CPPUNIT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
41429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
41436 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG
="no"
41440 CPPUNIT_CONFIG
=$ac_cv_path_CPPUNIT_CONFIG
41441 if test -n "$CPPUNIT_CONFIG"; then
41442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
41443 $as_echo "$CPPUNIT_CONFIG" >&6; }
41445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41446 $as_echo "no" >&6; }
41450 cppunit_version_min
=1.8.0
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
41453 $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
41455 if test "$CPPUNIT_CONFIG" = "no" ; then
41456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41457 $as_echo "no" >&6; }
41460 CPPUNIT_CFLAGS
=`$CPPUNIT_CONFIG --cflags`
41461 CPPUNIT_LIBS
=`$CPPUNIT_CONFIG --libs`
41462 cppunit_version
=`$CPPUNIT_CONFIG --version`
41464 cppunit_major_version
=`echo $cppunit_version | \
41465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41466 cppunit_minor_version
=`echo $cppunit_version | \
41467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41468 cppunit_micro_version
=`echo $cppunit_version | \
41469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41471 cppunit_major_min
=`echo $cppunit_version_min | \
41472 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41473 cppunit_minor_min
=`echo $cppunit_version_min | \
41474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41475 cppunit_micro_min
=`echo $cppunit_version_min | \
41476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41478 cppunit_version_proper
=`expr \
41479 $cppunit_major_version \> $cppunit_major_min \| \
41480 $cppunit_major_version \= $cppunit_major_min \& \
41481 $cppunit_minor_version \> $cppunit_minor_min \| \
41482 $cppunit_major_version \= $cppunit_major_min \& \
41483 $cppunit_minor_version \= $cppunit_minor_min \& \
41484 $cppunit_micro_version \>= $cppunit_micro_min `
41486 if test "$cppunit_version_proper" = "1" ; then
41487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
41488 $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
41490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41491 $as_echo "no" >&6; }
41496 if test "x$no_cppunit" = x
; then
41497 SUBDIRS
="$SUBDIRS tests"
41508 for subdir
in $SUBDIRS; do
41509 if test -d ${srcdir}/${subdir} ; then
41510 if test "$wxUSE_GUI" = "yes"; then
41511 if test ${subdir} = "samples"; then
41512 makefiles
="samples/Makefile.in $makefiles"
41513 for sample
in $SAMPLES_SUBDIRS; do
41514 if test -d $srcdir/samples
/$sample; then
41515 makefiles
="samples/$sample/Makefile.in $makefiles"
41519 disabled_var
=DISABLED_
`echo $subdir | tr '[a-z]' '[A-Z]'`
41520 eval "disabled=\$$disabled_var"
41521 disabled
=/`echo X $disabled | sed 's@ @/|/@g'`/
41522 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
41525 if test ${subdir} = "samples"; then
41526 makefiles
="samples/Makefile.in $makefiles"
41527 for sample
in `echo $SAMPLES_SUBDIRS`; do
41528 if test -d $srcdir/samples
/$sample; then
41529 makefiles
="samples/$sample/Makefile.in $makefiles"
41532 elif test ${subdir} = "utils"; then
41534 for util
in ifacecheck
; do
41535 if test -d $srcdir/utils
/$util ; then
41536 makefiles
="utils/$util/src/Makefile.in \
41541 makefiles
=`(cd $srcdir ; find $subdir -name Makefile.in)`
41545 for mkin
in $makefiles ; do
41546 mk
=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
41547 ac_config_files
="$ac_config_files $mk"
41553 cat >confcache
<<\_ACEOF
41554 # This file is a shell script that caches the results of configure
41555 # tests run on this system so they can be shared between configure
41556 # scripts and configure runs, see configure's option --config-cache.
41557 # It is not useful on other systems. If it contains results you don't
41558 # want to keep, you may remove or edit it.
41560 # config.status only pays attention to the cache file if you give it
41561 # the --recheck option to rerun configure.
41563 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41564 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41565 # following values.
41569 # The following way of writing the cache mishandles newlines in values,
41570 # but we know of no workaround that is simple, portable, and efficient.
41571 # So, we kill variables containing newlines.
41572 # Ultrix sh set writes to stderr and can't be redirected directly,
41573 # and sets the high bit in the cache file unless we assign to the vars.
41575 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41576 eval ac_val
=\$
$ac_var
41580 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
41581 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
41584 _
| IFS
| as_nl
) ;; #(
41585 BASH_ARGV
| BASH_SOURCE
) eval $ac_var= ;; #(
41586 *) { eval $ac_var=; unset $ac_var;} ;;
41592 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41593 *${as_nl}ac_space
=\
*)
41594 # `set' does not quote correctly, so add quotes: double-quote
41595 # substitution turns \\\\ into \\, and sed turns \\ into \.
41598 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41601 # `set' quotes correctly as required by POSIX, so do not add quotes.
41602 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41613 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41615 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
41616 if test -w "$cache_file"; then
41617 if test "x$cache_file" != "x/dev/null"; then
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
41619 $as_echo "$as_me: updating cache $cache_file" >&6;}
41620 if test ! -f "$cache_file" || test -h "$cache_file"; then
41621 cat confcache
>"$cache_file"
41623 case $cache_file in #(
41625 mv -f confcache
"$cache_file"$$
&&
41626 mv -f "$cache_file"$$
"$cache_file" ;; #(
41628 mv -f confcache
"$cache_file" ;;
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
41634 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41639 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
41640 # Let make expand exec_prefix.
41641 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
41643 DEFS
=-DHAVE_CONFIG_H
41648 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
41649 # 1. Remove the extension, and $U if already installed.
41650 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
41651 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
41652 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41653 # will be set to the directory where LIBOBJS objects are built.
41654 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41655 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
41657 LIBOBJS
=$ac_libobjs
41659 LTLIBOBJS
=$ac_ltlibobjs
41663 : "${CONFIG_STATUS=./config.status}"
41665 ac_clean_files_save
=$ac_clean_files
41666 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
41667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
41668 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
41670 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
41672 # Generated by $as_me.
41673 # Run this file to recreate the current configuration.
41674 # Compiler output produced by configure, useful for debugging
41675 # configure, is in config.log if it exists.
41678 ac_cs_recheck=false
41681 SHELL=\${CONFIG_SHELL-$SHELL}
41684 cat >>$CONFIG_STATUS <<\_ASEOF
|| as_write_fail
=1
41685 ## -------------------- ##
41686 ## M4sh Initialization. ##
41687 ## -------------------- ##
41689 # Be more Bourne compatible
41690 DUALCASE
=1; export DUALCASE
# for MKS sh
41691 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
41694 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
41695 # is contrary to our usage. Disable this feature.
41696 alias -g '${1+"$@"}'='"$@"'
41697 setopt NO_GLOB_SUBST
41699 case `(set -o) 2>/dev/null` in #(
41711 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41712 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41713 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41714 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41715 # Prefer a ksh shell builtin over an external printf program on Solaris,
41716 # but without wasting forks for bash or zsh.
41717 if test -z "$BASH_VERSION$ZSH_VERSION" \
41718 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
41719 as_echo='print
-r --'
41720 as_echo_n='print
-rn --'
41721 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
41722 as_echo='printf %s
\n'
41723 as_echo_n='printf %s
'
41725 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
41726 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
41727 as_echo_n='/usr
/ucb
/echo -n'
41729 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
41730 as_echo_n_body='eval
41734 expr "X$arg" : "X\\(.*\\)$as_nl";
41735 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
41737 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
41739 export as_echo_n_body
41740 as_echo_n='sh
-c $as_echo_n_body as_echo
'
41742 export as_echo_body
41743 as_echo='sh
-c $as_echo_body as_echo
'
41746 # The user is always right.
41747 if test "${PATH_SEPARATOR+set}" != set; then
41749 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
41750 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
41757 # We need space, tab and new line, in precisely that order. Quoting is
41758 # there to prevent editors from complaining about space-tab.
41759 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
41760 # splitting by setting IFS to empty value.)
41763 # Find who we are. Look in the path if we contain no directory separator.
41766 *[\\/]* ) as_myself=$0 ;;
41767 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41768 for as_dir in $PATH
41771 test -z "$as_dir" && as_dir=.
41772 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41778 # We did not find ourselves, most probably we were run as `sh COMMAND'
41779 # in which case we are not to be found in the path.
41780 if test "x$as_myself" = x
; then
41783 if test ! -f "$as_myself"; then
41784 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41788 # Unset variables that we do not need and which cause bugs (e.g. in
41789 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
41790 # suppresses any "Segmentation fault" message there. '((' could
41791 # trigger a bug in pdksh 5.2.14.
41792 for as_var
in BASH_ENV ENV MAIL MAILPATH
41793 do eval test x\
${$as_var+set} = xset \
41794 && ( (unset $as_var) || exit 1) >/dev
/null
2>&1 && unset $as_var || :
41807 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
41810 # as_fn_error STATUS ERROR [LINENO LOG_FD]
41811 # ----------------------------------------
41812 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
41813 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
41814 # script with STATUS, using 1 if that was 0.
41817 as_status
=$1; test $as_status -eq 0 && as_status
=1
41819 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
41820 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
41822 $as_echo "$as_me: error: $2" >&2
41823 as_fn_exit
$as_status
41827 # as_fn_set_status STATUS
41828 # -----------------------
41829 # Set $? to STATUS, without forking.
41830 as_fn_set_status
()
41833 } # as_fn_set_status
41835 # as_fn_exit STATUS
41836 # -----------------
41837 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
41841 as_fn_set_status
$1
41847 # Portably unset VAR.
41850 { eval $1=; unset $1;}
41852 as_unset
=as_fn_unset
41853 # as_fn_append VAR VALUE
41854 # ----------------------
41855 # Append the text in VALUE to the end of the definition contained in VAR. Take
41856 # advantage of any shell optimizations that allow amortized linear growth over
41857 # repeated appends, instead of the typical quadratic growth present in naive
41859 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
41860 eval 'as_fn_append ()
41871 # as_fn_arith ARG...
41872 # ------------------
41873 # Perform arithmetic evaluation on the ARGs, and store the result in the
41874 # global $as_val. Take advantage of shells that can avoid forks. The arguments
41875 # must be portable across $(()) and expr.
41876 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
41877 eval 'as_fn_arith ()
41884 as_val
=`expr "$@" || test $? -eq 1`
41889 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
41890 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
41896 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
41897 as_basename
=basename
41902 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
41908 as_me
=`$as_basename -- "$0" ||
41909 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41910 X"$0" : 'X\(//\)$' \| \
41911 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
41913 sed '/^.*\/\([^/][^/]*\)\/*$/{
41927 # Avoid depending upon Character Ranges.
41928 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
41929 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41930 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
41931 as_cr_digits
='0123456789'
41932 as_cr_alnum
=$as_cr_Letters$as_cr_digits
41934 ECHO_C
= ECHO_N
= ECHO_T
=
41935 case `echo -n x` in #(((((
41937 case `echo 'xy\c'` in
41938 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
41940 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
41947 rm -f conf$$ conf$$.exe conf$$.
file
41948 if test -d conf$$.dir
; then
41949 rm -f conf$$.dir
/conf$$.
file
41952 mkdir conf$$.dir
2>/dev
/null
41954 if (echo >conf$$.
file) 2>/dev
/null
; then
41955 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
41957 # ... but there are two gotchas:
41958 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
41959 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
41960 # In both cases, we have to default to `cp -pR'.
41961 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
41963 elif ln conf$$.
file conf$$
2>/dev
/null
; then
41971 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
41972 rmdir conf$$.dir
2>/dev
/null
41977 # Create "$as_dir" as a directory, including parents if necessary.
41982 -*) as_dir
=.
/$as_dir;;
41984 test -d "$as_dir" || eval $as_mkdir_p || {
41988 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
41989 *) as_qdir
=$as_dir;;
41991 as_dirs
="'$as_qdir' $as_dirs"
41992 as_dir
=`$as_dirname -- "$as_dir" ||
41993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
41994 X"$as_dir" : 'X\(//\)[^/]' \| \
41995 X"$as_dir" : 'X\(//\)$' \| \
41996 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
41997 $as_echo X"$as_dir" |
41998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42002 /^X\(\/\/\)[^/].*/{
42015 test -d "$as_dir" && break
42017 test -z "$as_dirs" || eval "mkdir $as_dirs"
42018 } || test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
42022 if mkdir -p .
2>/dev
/null
; then
42023 as_mkdir_p
='mkdir -p "$as_dir"'
42025 test -d .
/-p && rmdir .
/-p
42030 # as_fn_executable_p FILE
42031 # -----------------------
42032 # Test if FILE is an executable regular file.
42033 as_fn_executable_p
()
42035 test -f "$1" && test -x "$1"
42036 } # as_fn_executable_p
42037 as_test_x
='test -x'
42038 as_executable_p
=as_fn_executable_p
42040 # Sed expression to map a string onto a valid CPP name.
42041 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42043 # Sed expression to map a string onto a valid variable name.
42044 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42048 ## ----------------------------------- ##
42049 ## Main body of $CONFIG_STATUS script. ##
42050 ## ----------------------------------- ##
42052 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
42054 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42055 # Save the log message, to keep $0 and so on meaningful, and to
42056 # report actual input values of CONFIG_FILES etc. instead of their
42057 # values after options handling.
42059 This file was extended by wxWidgets $as_me 2.9.5, which was
42060 generated by GNU Autoconf 2.69. Invocation command line was
42062 CONFIG_FILES = $CONFIG_FILES
42063 CONFIG_HEADERS = $CONFIG_HEADERS
42064 CONFIG_LINKS = $CONFIG_LINKS
42065 CONFIG_COMMANDS = $CONFIG_COMMANDS
42068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
42073 case $ac_config_files in *"
42074 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
42077 case $ac_config_headers in *"
42078 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
42082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42083 # Files that config.status was made for.
42084 config_files="$ac_config_files"
42085 config_headers="$ac_config_headers"
42086 config_commands="$ac_config_commands"
42090 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42092 \`$as_me' instantiates files and other configuration actions
42093 from templates according to the current configuration. Unless the files
42094 and actions are specified as TAGs, all are instantiated by default.
42096 Usage: $0 [OPTION]... [TAG]...
42098 -h, --help print this help, then exit
42099 -V, --version print version number and configuration settings, then exit
42100 --config print configuration, then exit
42101 -q, --quiet, --silent
42102 do not print progress messages
42103 -d, --debug don't remove temporary files
42104 --recheck update $as_me by reconfiguring in the same conditions
42105 --file=FILE[:TEMPLATE]
42106 instantiate the configuration file FILE
42107 --header=FILE[:TEMPLATE]
42108 instantiate the configuration header FILE
42110 Configuration files:
42113 Configuration headers:
42116 Configuration commands:
42119 Report bugs to <wx-dev@lists.wxwidgets.org>."
42122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42123 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
42125 wxWidgets config.status 2.9.5
42126 configured by $0, generated by GNU Autoconf 2.69,
42127 with options \\"\$ac_cs_config\\"
42129 Copyright (C) 2012 Free Software Foundation, Inc.
42130 This config.status script is free software; the Free Software Foundation
42131 gives unlimited permission to copy, distribute and modify it."
42136 test -n "\$AWK" || AWK=awk
42139 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42140 # The default lists apply if the user does not specify any file.
42146 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42147 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
42151 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
42163 # Handling of the options.
42164 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42166 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42167 $as_echo "$ac_cs_version"; exit ;;
42168 --config | --confi | --conf | --con | --co | --c )
42169 $as_echo "$ac_cs_config"; exit ;;
42170 --debug | --debu | --deb | --de | --d | -d )
42172 --file | --fil | --fi | --f )
42175 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42176 '') as_fn_error $?
"missing file argument" ;;
42178 as_fn_append CONFIG_FILES
" '$ac_optarg'"
42179 ac_need_defaults
=false
;;
42180 --header | --heade | --head | --hea )
42183 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
42185 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
42186 ac_need_defaults
=false
;;
42188 # Conflict between --help and --header
42189 as_fn_error $?
"ambiguous option: \`$1'
42190 Try \`$0 --help' for more information.";;
42191 --help | --hel | -h )
42192 $as_echo "$ac_cs_usage"; exit ;;
42193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42194 | -silent | --silent | --silen | --sile | --sil | --si | --s)
42197 # This is an error.
42198 -*) as_fn_error $?
"unrecognized option: \`$1'
42199 Try \`$0 --help' for more information." ;;
42201 *) as_fn_append ac_config_targets
" $1"
42202 ac_need_defaults
=false
;;
42208 ac_configure_extra_args
=
42210 if $ac_cs_silent; then
42212 ac_configure_extra_args
="$ac_configure_extra_args --silent"
42216 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42217 if \$ac_cs_recheck; then
42218 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42220 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
42221 CONFIG_SHELL='$SHELL'
42222 export CONFIG_SHELL
42227 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42231 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42232 ## Running $as_me. ##
42238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42244 infile="$srcdir/include/wx/msw/genrcdefs.h"
42245 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
42248 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42249 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42250 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
42256 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42258 # Handling of arguments.
42259 for ac_config_target
in $ac_config_targets
42261 case $ac_config_target in
42262 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
42263 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
42264 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
42265 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
42266 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
42267 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
42268 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
42269 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
42270 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
42272 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
42277 # If the user did not use the arguments to specify the items to instantiate,
42278 # then the envvar interface is used. Set only those that are not.
42279 # We use the long form for the default assignment because of an extremely
42280 # bizarre bug on SunOS 4.1.3.
42281 if $ac_need_defaults; then
42282 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
42283 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
42284 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
42287 # Have a temporary directory for convenience. Make it in the build tree
42288 # simply because there is no reason against having it here, and in addition,
42289 # creating and moving files from /tmp can sometimes cause problems.
42290 # Hook for its removal unless debugging.
42291 # Note that there is a small window in which the directory will not be cleaned:
42292 # after its creation but before its name has been assigned to `$tmp'.
42296 trap 'exit_status=$?
42297 : "${ac_tmp:=$tmp}"
42298 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
42300 trap 'as_fn_exit 1' 1 2 13 15
42302 # Create a (secure) tmp directory for tmp files.
42305 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42309 tmp
=.
/conf$$
-$RANDOM
42310 (umask 077 && mkdir "$tmp")
42311 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
42314 # Set up the scripts for CONFIG_FILES section.
42315 # No need to generate them if there are no CONFIG_FILES.
42316 # This happens for instance with `./config.status config.h'.
42317 if test -n "$CONFIG_FILES"; then
42320 ac_cr
=`echo X | tr X '\015'`
42321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
42322 # But we know of no other shell where ac_cr would be empty at this
42323 # point, so we can use a bashism as a fallback.
42324 if test "x$ac_cr" = x
; then
42325 eval ac_cr
=\$
\'\\r
\'
42327 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
42328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
42331 ac_cs_awk_cr
=$ac_cr
42334 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
42339 echo "cat >conf$$subs.awk <<_ACEOF" &&
42340 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
42342 } >conf$$subs.sh ||
42343 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
42346 for ac_last_try in false false false false false :; do
42347 . ./conf$$subs.sh ||
42348 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42350 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
42351 if test $ac_delim_n = $ac_delim_num; then
42353 elif $ac_last_try; then
42354 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
42356 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42359 rm -f conf$$subs.sh
42361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42362 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
42366 s/^/S["/; s
/!.
*/"]=/
42376 s/\(.\{148\}\)..*/\1/
42378 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
42383 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42390 s/\(.\{148\}\)..*/\1/
42392 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
42396 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
42401 ' <conf$$subs.awk | sed '
42406 ' >>$CONFIG_STATUS || ac_write_fail=1
42407 rm -f conf$$subs.awk
42408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42410 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
42411 for (key in S) S_is_set[key] = 1
42417 nfields = split(line, field, "@
")
42419 len = length(field[1])
42420 for (i = 2; i < nfields; i++) {
42422 keylen = length(key)
42423 if (S_is_set[key]) {
42425 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
42426 len += length(value) + length(field[++i])
42437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42438 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
42439 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
42442 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
42443 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
42446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
42447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
42448 # trailing colons and then remove the whole line if VPATH becomes empty
42449 # (actually we leave an empty line to preserve line numbers).
42450 if test "x
$srcdir" = x.; then
42451 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
42469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
42470 fi # test -n "$CONFIG_FILES"
42472 # Set up the scripts for CONFIG_HEADERS section.
42473 # No need to generate them if there are no CONFIG_HEADERS.
42474 # This happens for instance with `./config.status Makefile'.
42475 if test -n "$CONFIG_HEADERS"; then
42476 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
42480 # Transform confdefs.h into an awk script `defines.awk', embedded as
42481 # here-document in config.status, that substitutes the proper values into
42482 # config.h.in to produce config.h.
42484 # Create a delimiter string that does not exist in confdefs.h, to ease
42485 # handling of long lines.
42487 for ac_last_try in false false :; do
42488 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
42489 if test -z "$ac_tt"; then
42491 elif $ac_last_try; then
42492 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
42494 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
42498 # For the awk script, D is an array of macro values keyed by name,
42499 # likewise P contains macro parameters if any. Preserve backslash
42500 # newline sequences.
42502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
42504 s/.\{148\}/&'"$ac_delim"'/g
42507 s/^[ ]*#[ ]*define[ ][ ]*/ /
42514 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
42516 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
42520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
42521 D["\
1"]=" \
3\\\\\\n
"\\/p
42523 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
42528 s/.\{148\}/&'"$ac_delim"'/g
42533 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
42536 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
42538 ' <confdefs.h | sed '
42539 s/'"$ac_delim"'/"\\\
42540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
42542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42543 for (key in D) D_is_set[key] = 1
42546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
42548 split(line, arg, " ")
42549 if (arg[1] == "#") {
42553 defundef
= substr
(arg
[1], 2)
42556 split(mac1
, mac2
, "(") #)
42558 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
42559 if (D_is_set
[macro
]) {
42560 # Preserve the white space surrounding the "#".
42561 print prefix
"define", macro P
[macro
] D
[macro
]
42564 # Replace #undef with comments. This is necessary, for example,
42565 # in the case of _POSIX_SOURCE, which is predefined and required
42566 # on some systems where configure will not decide to define it.
42567 if (defundef
== "undef") {
42568 print
"/*", prefix defundef
, macro
, "*/"
42576 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42577 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
42578 fi # test -n "$CONFIG_HEADERS"
42581 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
42586 :[FHLC
]) ac_mode
=$ac_tag; continue;;
42588 case $ac_mode$ac_tag in
42590 :L
* | :C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
42591 :[FH
]-) ac_tag
=-:-;;
42592 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
42609 -) ac_f
="$ac_tmp/stdin";;
42610 *) # Look for the file first in the build tree, then in the source tree
42611 # (if the path is not absolute). The absolute path cannot be DOS-style,
42612 # because $ac_f cannot contain `:'.
42616 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
42618 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
42620 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
42621 as_fn_append ac_file_inputs
" '$ac_f'"
42624 # Let's still pretend it is `configure' which instantiates (i.e., don't
42625 # use $as_me), people would be surprised to read:
42626 # /* config.h. Generated by config.status. */
42627 configure_input
='Generated from '`
42628 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
42630 if test x
"$ac_file" != x
-; then
42631 configure_input
="$ac_file. $configure_input"
42632 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
42633 $as_echo "$as_me: creating $ac_file" >&6;}
42635 # Neutralize special characters interpreted by sed in replacement strings.
42636 case $configure_input in #(
42637 *\
&* | *\
|* | *\\* )
42638 ac_sed_conf_input
=`$as_echo "$configure_input" |
42639 sed 's/[\\\\&|]/\\\\&/g'`;; #(
42640 *) ac_sed_conf_input
=$configure_input;;
42644 *:-:* | *:-) cat >"$ac_tmp/stdin" \
42645 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
42650 ac_dir
=`$as_dirname -- "$ac_file" ||
42651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
42652 X"$ac_file" : 'X\(//\)[^/]' \| \
42653 X"$ac_file" : 'X\(//\)$' \| \
42654 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
42655 $as_echo X"$ac_file" |
42656 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
42660 /^X\(\/\/\)[^/].*/{
42673 as_dir
="$ac_dir"; as_fn_mkdir_p
42677 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42679 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42680 # A ".." for each directory in $ac_dir_suffix.
42681 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42682 case $ac_top_builddir_sub in
42683 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42684 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42687 ac_abs_top_builddir
=$ac_pwd
42688 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42689 # for backward compatibility:
42690 ac_top_builddir
=$ac_top_build_prefix
42693 .
) # We are building in place.
42695 ac_top_srcdir
=$ac_top_builddir_sub
42696 ac_abs_top_srcdir
=$ac_pwd ;;
42697 [\\/]* | ?
:[\\/]* ) # Absolute name.
42698 ac_srcdir
=$srcdir$ac_dir_suffix;
42699 ac_top_srcdir
=$srcdir
42700 ac_abs_top_srcdir
=$srcdir ;;
42701 *) # Relative name.
42702 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42703 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42704 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42706 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42716 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
42717 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
42721 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42722 # If the template does not know about datarootdir, expand it.
42723 # FIXME: This hack should be removed a few years after 2.60.
42724 ac_datarootdir_hack
=; ac_datarootdir_seen
=
42735 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
42736 *datarootdir
*) ac_datarootdir_seen
=yes;;
42737 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
42738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
42739 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
42741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42742 ac_datarootdir_hack='
42743 s&@datadir@&$datadir&g
42744 s&@docdir@&$docdir&g
42745 s&@infodir@&$infodir&g
42746 s&@localedir@&$localedir&g
42747 s&@mandir@&$mandir&g
42748 s&\\\${datarootdir}&$datarootdir&g' ;;
42752 # Neutralize VPATH when `$srcdir' = `.'.
42753 # Shell code in configure.ac might set extrasub.
42754 # FIXME: do we really want to maintain this feature?
42755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
42756 ac_sed_extra="$ac_vpsub
42759 cat >>$CONFIG_STATUS <<\_ACEOF
|| ac_write_fail
=1
42761 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
42762 s
|@configure_input@
|$ac_sed_conf_input|;t t
42763 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
42764 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
42765 s
&@srcdir@
&$ac_srcdir&;t t
42766 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
42767 s
&@top_srcdir@
&$ac_top_srcdir&;t t
42768 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
42769 s
&@builddir@
&$ac_builddir&;t t
42770 s
&@abs_builddir@
&$ac_abs_builddir&;t t
42771 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
42772 s
&@INSTALL@
&$ac_INSTALL&;t t
42773 $ac_datarootdir_hack
42775 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
42776 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
42778 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
42779 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
42780 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
42781 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
42782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
42783 which seems to be undefined. Please make sure it is defined" >&5
42784 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
42785 which seems to be undefined. Please make sure it is defined" >&2;}
42787 rm -f "$ac_tmp/stdin"
42789 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
42790 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
42792 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42798 if test x"$ac_file" != x-; then
42800 $as_echo "/* $configure_input */" \
42801 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
42802 } >"$ac_tmp/config.h" \
42803 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42804 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
42806 $as_echo "$as_me: $ac_file is unchanged" >&6;}
42809 mv "$ac_tmp/config.h" "$ac_file" \
42810 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
42813 $as_echo "/* $configure_input */" \
42814 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
42815 || as_fn_error $? "could not create -" "$LINENO" 5
42819 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
42820 $as_echo "$as_me: executing $ac_file commands" >&6;}
42825 case $ac_file$ac_mode in
42827 mkdir -p $outdir &&
42828 $CPP $infile | sed 's
/^
# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
42830 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
42831 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
42832 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
42833 "wx-config":C
) rm -f wx
-config
42834 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
42843 ac_clean_files
=$ac_clean_files_save
42845 test $ac_write_fail = 0 ||
42846 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
42849 # configure is writing to config.log, and then calls config.status.
42850 # config.status does its own redirection, appending to config.log.
42851 # Unfortunately, on DOS this fails, as config.log is still kept open
42852 # by configure, so config.status won't be able to write to it; its
42853 # output is simply discarded. So we exec the FD to /dev/null,
42854 # effectively closing config.log, so it can be properly (re)opened and
42855 # appended to by config.status. When coming back to configure, we
42856 # need to make the FD available again.
42857 if test "$no_create" != yes; then
42859 ac_config_status_args
=
42860 test "$silent" = yes &&
42861 ac_config_status_args
="$ac_config_status_args --quiet"
42863 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
42865 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
42866 # would make configure fail if this is the last instruction.
42867 $ac_cs_success || as_fn_exit
1
42871 # CONFIG_SUBDIRS section.
42873 if test "$no_recursion" != yes; then
42875 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
42876 # so they do not pile up.
42877 ac_sub_configure_args
=
42879 eval "set x $ac_configure_args"
42883 if test -n "$ac_prev"; then
42888 -cache-file | --cache-file | --cache-fil | --cache-fi \
42889 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
42890 ac_prev
=cache_file
;;
42891 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
42892 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
42895 --config-cache | -C)
42897 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
42899 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
42901 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
42903 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
42905 --disable-option-checking)
42909 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42911 as_fn_append ac_sub_configure_args
" '$ac_arg'" ;;
42915 # Always prepend --prefix to ensure using the same prefix
42916 # in subdir configurations.
42917 ac_arg
="--prefix=$prefix"
42919 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
42921 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
42924 if test "$silent" = yes; then
42925 ac_sub_configure_args
="--silent $ac_sub_configure_args"
42928 # Always prepend --disable-option-checking to silence warnings, since
42929 # different subdirs can have different --enable and --with options.
42930 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
42933 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
42935 # Do not complain, so a configure script can configure whichever
42936 # parts of a large source tree are present.
42937 test -d "$srcdir/$ac_dir" || continue
42939 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
42940 $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
42941 $as_echo "$ac_msg" >&6
42942 as_dir
="$ac_dir"; as_fn_mkdir_p
42946 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42948 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
42949 # A ".." for each directory in $ac_dir_suffix.
42950 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
42951 case $ac_top_builddir_sub in
42952 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
42953 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
42956 ac_abs_top_builddir
=$ac_pwd
42957 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
42958 # for backward compatibility:
42959 ac_top_builddir
=$ac_top_build_prefix
42962 .
) # We are building in place.
42964 ac_top_srcdir
=$ac_top_builddir_sub
42965 ac_abs_top_srcdir
=$ac_pwd ;;
42966 [\\/]* | ?
:[\\/]* ) # Absolute name.
42967 ac_srcdir
=$srcdir$ac_dir_suffix;
42968 ac_top_srcdir
=$srcdir
42969 ac_abs_top_srcdir
=$srcdir ;;
42970 *) # Relative name.
42971 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
42972 ac_top_srcdir
=$ac_top_build_prefix$srcdir
42973 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
42975 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
42980 # Check for guested configure; otherwise get Cygnus style configure.
42981 if test -f "$ac_srcdir/configure.gnu"; then
42982 ac_sub_configure
=$ac_srcdir/configure.gnu
42983 elif test -f "$ac_srcdir/configure"; then
42984 ac_sub_configure
=$ac_srcdir/configure
42985 elif test -f "$ac_srcdir/configure.in"; then
42986 # This should be Cygnus configure.
42987 ac_sub_configure
=$ac_aux_dir/configure
42989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
42990 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
42994 # The recursion is here.
42995 if test -n "$ac_sub_configure"; then
42996 # Make the cache file name correct relative to the subdirectory.
42997 case $cache_file in
42998 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
42999 *) # Relative name.
43000 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
43003 { $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
43004 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
43005 # The eval makes quoting arguments work.
43006 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
43007 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
43008 as_fn_error $?
"$ac_sub_configure failed for $ac_dir" "$LINENO" 5
43014 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
43015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
43016 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
43021 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
43023 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
43024 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
43025 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
43026 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
43027 if test "$wxUSE_UNICODE" = "yes"; then
43028 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
43029 echo " (using UTF-8)"
43031 echo " (using wchar_t)"
43037 echo " What level of wxWidgets compatibility should be enabled?"
43038 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
43039 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
43041 echo " Which libraries should wxWidgets use?"
43042 echo " STL ${wxUSE_STL}"
43043 echo " jpeg ${wxUSE_LIBJPEG-none}"
43044 echo " png ${wxUSE_LIBPNG-none}"
43045 echo " regex ${wxUSE_REGEX}"
43046 echo " tiff ${wxUSE_LIBTIFF-none}"
43047 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
43048 echo " xpm ${wxUSE_LIBXPM-none}"
43050 echo " zlib ${wxUSE_ZLIB}"
43051 echo " expat ${wxUSE_EXPAT}"
43052 echo " libmspack ${wxUSE_LIBMSPACK}"
43053 echo " sdl ${wxUSE_LIBSDL}"